commandbar 1.13.0 → 1.13.1
Sign up to get free protection for your applications and to get access to all the features.
- package/build/commandbar/src/shared/services/analytics/EventHandler.d.ts +2 -0
- package/build/commandbar-js/src/index.js +1 -1
- package/build/commandbar-js/src/init.d.ts +10 -1
- package/build/internal/src/client/CommandBarClientSDK.d.ts +4 -0
- package/build/internal/src/client/CommandBarProxySDK.d.ts +2 -3
- package/build/internal/src/client/SDKConfig.d.ts +1 -0
- package/build/internal/src/client/symbols.d.ts +2 -0
- package/build/internal/src/middleware/CommandFromClientV.d.ts +4 -0
- package/build/internal/src/middleware/OrganizationV.d.ts +56 -8
- package/build/internal/src/middleware/additionalResource.d.ts +200 -137
- package/build/internal/src/middleware/api.d.ts +7 -7
- package/build/internal/src/middleware/chat.d.ts +22868 -11601
- package/build/internal/src/middleware/checklist.d.ts +209 -139
- package/build/internal/src/middleware/command.d.ts +2547 -2170
- package/build/internal/src/middleware/endUser.d.ts +0 -32
- package/build/internal/src/middleware/experienceTemplate.d.ts +399 -263
- package/build/internal/src/middleware/experiencesSearch.d.ts +816 -718
- package/build/internal/src/middleware/flags.d.ts +6 -3
- package/build/internal/src/middleware/helpDocsSearch.d.ts +584 -514
- package/build/internal/src/middleware/helpers/actions.d.ts +66 -28
- package/build/internal/src/middleware/helpers/commandTemplate.d.ts +18 -4
- package/build/internal/src/middleware/helpers/rules.d.ts +19 -4
- package/build/internal/src/middleware/nudge.d.ts +482 -281
- package/build/internal/src/middleware/organization.d.ts +825 -670
- package/build/internal/src/middleware/organizationSettings.d.ts +210 -130
- package/build/internal/src/middleware/profile.d.ts +1 -1
- package/build/internal/src/middleware/recommendationSet.d.ts +200 -137
- package/build/internal/src/middleware/theme.d.ts +7 -0
- package/build/internal/src/middleware/types.d.ts +16 -20
- package/package.json +1 -1
- package/src/init.ts +13 -2
- package/build/commandbar/src/shared/services/analytics/event-queue.d.ts +0 -13
- package/build/commandbar/src/shared/services/analytics/v2/client.d.ts +0 -53
- package/build/commandbar/src/shared/services/analytics/v2/helpers.d.ts +0 -6
- package/build/commandbar/src/shared/services/analytics/v2/schema.d.ts +0 -152
- package/build/commandbar/src/shared/services/analytics/v2/types.d.ts +0 -4
- package/build/internal/src/client/CommandBarSDK.d.ts +0 -99
- package/build/internal/src/client/globals.d.ts +0 -27
- package/build/internal/src/util/dispatchCustomEvent.d.ts +0 -14
- package/build/internal/src/util/sentry.d.ts +0 -23
@@ -12,40 +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
|
-
meta?: {
|
42
|
-
command: string;
|
43
|
-
} | undefined;
|
44
44
|
} & {} & {
|
45
45
|
commandType?: "object" | "help" | "independent" | undefined;
|
46
46
|
object?: string | undefined;
|
47
47
|
hoverTooltip?: boolean | undefined;
|
48
|
-
operation?: "self" | "router" | "
|
48
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
49
49
|
metadata?: {
|
50
50
|
[key: string]: unknown;
|
51
51
|
} | undefined;
|
@@ -56,146 +56,153 @@ export declare const CommandExperience: t.TypeC<{
|
|
56
56
|
commandType?: "object" | "help" | "independent" | undefined;
|
57
57
|
object?: string | undefined;
|
58
58
|
hoverTooltip?: boolean | undefined;
|
59
|
-
operation?: "self" | "router" | "
|
59
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
60
60
|
metadata?: {
|
61
61
|
[key: string]: unknown;
|
62
62
|
} | undefined;
|
63
63
|
}) | ({
|
64
|
-
type: "
|
65
|
-
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
|
+
};
|
66
79
|
} & {} & {
|
67
80
|
commandType?: "object" | "help" | "independent" | undefined;
|
68
81
|
object?: string | undefined;
|
69
82
|
hoverTooltip?: boolean | undefined;
|
70
|
-
operation?: "self" | "router" | "
|
83
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
71
84
|
metadata?: {
|
72
85
|
[key: string]: unknown;
|
73
86
|
} | undefined;
|
74
87
|
}) | ({
|
75
|
-
type: "
|
88
|
+
type: "appcues";
|
76
89
|
value: string;
|
77
90
|
} & {} & {
|
78
91
|
commandType?: "object" | "help" | "independent" | undefined;
|
79
92
|
object?: string | undefined;
|
80
93
|
hoverTooltip?: boolean | undefined;
|
81
|
-
operation?: "self" | "router" | "
|
94
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
82
95
|
metadata?: {
|
83
96
|
[key: string]: unknown;
|
84
97
|
} | undefined;
|
85
98
|
}) | ({
|
86
|
-
type: "
|
99
|
+
type: "pendo_guide";
|
87
100
|
value: string;
|
88
101
|
} & {} & {
|
89
102
|
commandType?: "object" | "help" | "independent" | undefined;
|
90
103
|
object?: string | undefined;
|
91
104
|
hoverTooltip?: boolean | undefined;
|
92
|
-
operation?: "self" | "router" | "
|
105
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
93
106
|
metadata?: {
|
94
107
|
[key: string]: unknown;
|
95
108
|
} | undefined;
|
96
109
|
}) | ({
|
97
|
-
type: "
|
98
|
-
value:
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
} | undefined;
|
108
|
-
onSend?: string | undefined;
|
109
|
-
onSuccess?: string | undefined;
|
110
|
-
onError?: string | undefined;
|
111
|
-
};
|
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;
|
112
120
|
} & {} & {
|
113
121
|
commandType?: "object" | "help" | "independent" | undefined;
|
114
122
|
object?: string | undefined;
|
115
123
|
hoverTooltip?: boolean | undefined;
|
116
|
-
operation?: "self" | "router" | "
|
124
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
117
125
|
metadata?: {
|
118
126
|
[key: string]: unknown;
|
119
127
|
} | undefined;
|
120
128
|
}) | ({
|
121
|
-
type: "
|
129
|
+
type: "admin";
|
122
130
|
value: string;
|
123
131
|
} & {} & {
|
124
132
|
commandType?: "object" | "help" | "independent" | undefined;
|
125
133
|
object?: string | undefined;
|
126
134
|
hoverTooltip?: boolean | undefined;
|
127
|
-
operation?: "self" | "router" | "
|
135
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
128
136
|
metadata?: {
|
129
137
|
[key: string]: unknown;
|
130
138
|
} | undefined;
|
131
139
|
}) | ({
|
132
|
-
type: "
|
140
|
+
type: "builtin";
|
133
141
|
value: string;
|
134
142
|
} & {} & {
|
135
143
|
commandType?: "object" | "help" | "independent" | undefined;
|
136
144
|
object?: string | undefined;
|
137
145
|
hoverTooltip?: boolean | undefined;
|
138
|
-
operation?: "self" | "router" | "
|
146
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
139
147
|
metadata?: {
|
140
148
|
[key: string]: unknown;
|
141
149
|
} | undefined;
|
142
150
|
}) | ({
|
143
|
-
type: "
|
151
|
+
type: "script";
|
144
152
|
value: string;
|
145
153
|
} & {} & {
|
146
154
|
commandType?: "object" | "help" | "independent" | undefined;
|
147
155
|
object?: string | undefined;
|
148
156
|
hoverTooltip?: boolean | undefined;
|
149
|
-
operation?: "self" | "router" | "
|
157
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
150
158
|
metadata?: {
|
151
159
|
[key: string]: unknown;
|
152
160
|
} | undefined;
|
153
161
|
}) | ({
|
154
|
-
type: "
|
162
|
+
type: "video";
|
155
163
|
value: string;
|
156
|
-
} & {
|
157
|
-
operation?: "self" | "router" | "blank" | "help_hub" | undefined;
|
158
|
-
doc_metadata?: {
|
159
|
-
content_type?: string | undefined;
|
160
|
-
date?: string | undefined;
|
161
|
-
} | undefined;
|
162
|
-
} & {
|
163
|
-
doc_type?: "answer" | "doc" | undefined;
|
164
164
|
} & {} & {
|
165
165
|
commandType?: "object" | "help" | "independent" | undefined;
|
166
166
|
object?: string | undefined;
|
167
167
|
hoverTooltip?: boolean | undefined;
|
168
|
-
operation?: "self" | "router" | "
|
168
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
169
169
|
metadata?: {
|
170
170
|
[key: string]: unknown;
|
171
171
|
} | undefined;
|
172
172
|
}) | ({
|
173
173
|
type: "trigger";
|
174
|
-
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
|
+
} | {
|
175
186
|
type: "execute_command";
|
176
187
|
meta: {
|
177
188
|
command: string;
|
178
189
|
} & {
|
179
190
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
180
191
|
};
|
192
|
+
} | {
|
193
|
+
type: "no_action";
|
181
194
|
} | {
|
182
195
|
type: "click";
|
183
196
|
value: string;
|
184
197
|
} | {
|
185
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
186
|
-
value: string[];
|
187
|
-
} | ({
|
188
|
-
type: "link";
|
189
|
-
value: string;
|
190
|
-
} & {
|
191
|
-
operation?: "self" | "router" | "blank" | undefined;
|
192
|
-
meta?: {
|
193
|
-
command: string;
|
194
|
-
} | undefined;
|
195
|
-
}) | {
|
196
198
|
type: "open_chat";
|
197
199
|
meta: {
|
198
|
-
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";
|
199
206
|
};
|
200
207
|
} | {
|
201
208
|
type: "dismiss";
|
@@ -204,14 +211,14 @@ export declare const CommandExperience: t.TypeC<{
|
|
204
211
|
} | {
|
205
212
|
type: "questlist";
|
206
213
|
value: number;
|
207
|
-
} | {
|
208
|
-
type: "step_back";
|
209
214
|
} | {
|
210
215
|
type: "nudge";
|
211
216
|
value: number;
|
212
217
|
} | {
|
213
218
|
type: "go_to_step";
|
214
219
|
value: number;
|
220
|
+
} | {
|
221
|
+
type: "step_back";
|
215
222
|
} | ({
|
216
223
|
type: "open_bar";
|
217
224
|
} & {
|
@@ -219,16 +226,16 @@ export declare const CommandExperience: t.TypeC<{
|
|
219
226
|
categoryFilter?: number | undefined;
|
220
227
|
}) | {
|
221
228
|
type: "open_helphub";
|
222
|
-
} | {
|
229
|
+
} | ({
|
223
230
|
type: "open_copilot";
|
224
|
-
}
|
225
|
-
|
226
|
-
};
|
231
|
+
} & {
|
232
|
+
query?: string | undefined;
|
233
|
+
});
|
227
234
|
} & {} & {
|
228
235
|
commandType?: "object" | "help" | "independent" | undefined;
|
229
236
|
object?: string | undefined;
|
230
237
|
hoverTooltip?: boolean | undefined;
|
231
|
-
operation?: "self" | "router" | "
|
238
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
232
239
|
metadata?: {
|
233
240
|
[key: string]: unknown;
|
234
241
|
} | undefined;
|
@@ -321,8 +328,8 @@ export declare const CommandExperience: t.TypeC<{
|
|
321
328
|
};
|
322
329
|
tags: string[];
|
323
330
|
availability_rules: (({
|
324
|
-
type: "url" | "element" | "amplitude" | "context" | "
|
325
|
-
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";
|
326
333
|
} & {
|
327
334
|
field?: string | undefined;
|
328
335
|
value?: string | undefined;
|
@@ -331,14 +338,14 @@ export declare const CommandExperience: t.TypeC<{
|
|
331
338
|
}) | ({
|
332
339
|
type: "nudge_interaction";
|
333
340
|
operator: "is" | "isNot";
|
334
|
-
value: "completed" | "
|
341
|
+
value: "completed" | "viewed" | "dismissed";
|
335
342
|
nudge_id: number;
|
336
343
|
} & {
|
337
344
|
reason?: string | undefined;
|
338
345
|
}) | ({
|
339
346
|
type: "questlist_interaction";
|
340
347
|
operator: "is" | "isNot";
|
341
|
-
value: "completed" | "
|
348
|
+
value: "completed" | "viewed" | "dismissed";
|
342
349
|
questlist_id: number;
|
343
350
|
} & {
|
344
351
|
reason?: string | undefined;
|
@@ -350,8 +357,8 @@ export declare const CommandExperience: t.TypeC<{
|
|
350
357
|
reason?: string | undefined;
|
351
358
|
}))[];
|
352
359
|
recommend_rules: (({
|
353
|
-
type: "url" | "element" | "amplitude" | "context" | "
|
354
|
-
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";
|
355
362
|
} & {
|
356
363
|
field?: string | undefined;
|
357
364
|
value?: string | undefined;
|
@@ -360,14 +367,14 @@ export declare const CommandExperience: t.TypeC<{
|
|
360
367
|
}) | ({
|
361
368
|
type: "nudge_interaction";
|
362
369
|
operator: "is" | "isNot";
|
363
|
-
value: "completed" | "
|
370
|
+
value: "completed" | "viewed" | "dismissed";
|
364
371
|
nudge_id: number;
|
365
372
|
} & {
|
366
373
|
reason?: string | undefined;
|
367
374
|
}) | ({
|
368
375
|
type: "questlist_interaction";
|
369
376
|
operator: "is" | "isNot";
|
370
|
-
value: "completed" | "
|
377
|
+
value: "completed" | "viewed" | "dismissed";
|
371
378
|
questlist_id: number;
|
372
379
|
} & {
|
373
380
|
reason?: string | undefined;
|
@@ -434,23 +441,23 @@ export declare const CommandExperience: t.TypeC<{
|
|
434
441
|
hotkey_mac: string;
|
435
442
|
hotkey_win: string;
|
436
443
|
detail: string | ({
|
437
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
444
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
438
445
|
value: string;
|
439
446
|
} & {
|
440
447
|
position?: "inline" | "popover" | undefined;
|
441
448
|
}) | (string | ({
|
442
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
449
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
443
450
|
value: string;
|
444
451
|
} & {
|
445
452
|
position?: "inline" | "popover" | undefined;
|
446
453
|
}))[] | null;
|
447
454
|
content: string | ({
|
448
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
455
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
449
456
|
value: string;
|
450
457
|
} & {
|
451
458
|
position?: "inline" | "popover" | undefined;
|
452
459
|
}) | (string | ({
|
453
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
460
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
454
461
|
value: string;
|
455
462
|
} & {
|
456
463
|
position?: "inline" | "popover" | undefined;
|
@@ -458,31 +465,38 @@ export declare const CommandExperience: t.TypeC<{
|
|
458
465
|
show_preview: boolean;
|
459
466
|
next_steps: (string | number | {
|
460
467
|
cta: string;
|
461
|
-
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
|
+
} | {
|
462
480
|
type: "execute_command";
|
463
481
|
meta: {
|
464
482
|
command: string;
|
465
483
|
} & {
|
466
484
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
467
485
|
};
|
486
|
+
} | {
|
487
|
+
type: "no_action";
|
468
488
|
} | {
|
469
489
|
type: "click";
|
470
490
|
value: string;
|
471
491
|
} | {
|
472
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
473
|
-
value: string[];
|
474
|
-
} | ({
|
475
|
-
type: "link";
|
476
|
-
value: string;
|
477
|
-
} & {
|
478
|
-
operation?: "self" | "router" | "blank" | undefined;
|
479
|
-
meta?: {
|
480
|
-
command: string;
|
481
|
-
} | undefined;
|
482
|
-
}) | {
|
483
492
|
type: "open_chat";
|
484
493
|
meta: {
|
485
|
-
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";
|
486
500
|
};
|
487
501
|
} | {
|
488
502
|
type: "dismiss";
|
@@ -491,14 +505,14 @@ export declare const CommandExperience: t.TypeC<{
|
|
491
505
|
} | {
|
492
506
|
type: "questlist";
|
493
507
|
value: number;
|
494
|
-
} | {
|
495
|
-
type: "step_back";
|
496
508
|
} | {
|
497
509
|
type: "nudge";
|
498
510
|
value: number;
|
499
511
|
} | {
|
500
512
|
type: "go_to_step";
|
501
513
|
value: number;
|
514
|
+
} | {
|
515
|
+
type: "step_back";
|
502
516
|
} | ({
|
503
517
|
type: "open_bar";
|
504
518
|
} & {
|
@@ -506,11 +520,11 @@ export declare const CommandExperience: t.TypeC<{
|
|
506
520
|
categoryFilter?: number | undefined;
|
507
521
|
}) | {
|
508
522
|
type: "open_helphub";
|
509
|
-
} | {
|
523
|
+
} | ({
|
510
524
|
type: "open_copilot";
|
511
|
-
}
|
512
|
-
|
513
|
-
};
|
525
|
+
} & {
|
526
|
+
query?: string | undefined;
|
527
|
+
});
|
514
528
|
})[];
|
515
529
|
extra: string | null;
|
516
530
|
thumbnail: {
|
@@ -550,40 +564,40 @@ export declare const CommandExperience: t.TypeC<{
|
|
550
564
|
id: number;
|
551
565
|
text: string;
|
552
566
|
template: ({
|
553
|
-
type: "
|
567
|
+
type: "callback";
|
554
568
|
value: string;
|
555
569
|
} & {} & {
|
556
570
|
commandType?: "object" | "help" | "independent" | undefined;
|
557
571
|
object?: string | undefined;
|
558
572
|
hoverTooltip?: boolean | undefined;
|
559
|
-
operation?: "self" | "router" | "
|
573
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
560
574
|
metadata?: {
|
561
575
|
[key: string]: unknown;
|
562
576
|
} | undefined;
|
563
577
|
}) | ({
|
564
|
-
type: "
|
578
|
+
type: "link";
|
565
579
|
value: string;
|
580
|
+
} & {
|
581
|
+
operation?: "self" | "router" | "blank" | undefined;
|
582
|
+
meta?: {
|
583
|
+
command: string;
|
584
|
+
} | undefined;
|
566
585
|
} & {} & {
|
567
586
|
commandType?: "object" | "help" | "independent" | undefined;
|
568
587
|
object?: string | undefined;
|
569
588
|
hoverTooltip?: boolean | undefined;
|
570
|
-
operation?: "self" | "router" | "
|
589
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
571
590
|
metadata?: {
|
572
591
|
[key: string]: unknown;
|
573
592
|
} | undefined;
|
574
593
|
}) | ({
|
575
|
-
type: "
|
594
|
+
type: "webhook";
|
576
595
|
value: string;
|
577
|
-
} & {
|
578
|
-
operation?: "self" | "router" | "blank" | undefined;
|
579
|
-
meta?: {
|
580
|
-
command: string;
|
581
|
-
} | undefined;
|
582
596
|
} & {} & {
|
583
597
|
commandType?: "object" | "help" | "independent" | undefined;
|
584
598
|
object?: string | undefined;
|
585
599
|
hoverTooltip?: boolean | undefined;
|
586
|
-
operation?: "self" | "router" | "
|
600
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
587
601
|
metadata?: {
|
588
602
|
[key: string]: unknown;
|
589
603
|
} | undefined;
|
@@ -594,146 +608,153 @@ export declare const CommandExperience: t.TypeC<{
|
|
594
608
|
commandType?: "object" | "help" | "independent" | undefined;
|
595
609
|
object?: string | undefined;
|
596
610
|
hoverTooltip?: boolean | undefined;
|
597
|
-
operation?: "self" | "router" | "
|
611
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
598
612
|
metadata?: {
|
599
613
|
[key: string]: unknown;
|
600
614
|
} | undefined;
|
601
615
|
}) | ({
|
602
|
-
type: "
|
603
|
-
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
|
+
};
|
604
631
|
} & {} & {
|
605
632
|
commandType?: "object" | "help" | "independent" | undefined;
|
606
633
|
object?: string | undefined;
|
607
634
|
hoverTooltip?: boolean | undefined;
|
608
|
-
operation?: "self" | "router" | "
|
635
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
609
636
|
metadata?: {
|
610
637
|
[key: string]: unknown;
|
611
638
|
} | undefined;
|
612
639
|
}) | ({
|
613
|
-
type: "
|
640
|
+
type: "appcues";
|
614
641
|
value: string;
|
615
642
|
} & {} & {
|
616
643
|
commandType?: "object" | "help" | "independent" | undefined;
|
617
644
|
object?: string | undefined;
|
618
645
|
hoverTooltip?: boolean | undefined;
|
619
|
-
operation?: "self" | "router" | "
|
646
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
620
647
|
metadata?: {
|
621
648
|
[key: string]: unknown;
|
622
649
|
} | undefined;
|
623
650
|
}) | ({
|
624
|
-
type: "
|
651
|
+
type: "pendo_guide";
|
625
652
|
value: string;
|
626
653
|
} & {} & {
|
627
654
|
commandType?: "object" | "help" | "independent" | undefined;
|
628
655
|
object?: string | undefined;
|
629
656
|
hoverTooltip?: boolean | undefined;
|
630
|
-
operation?: "self" | "router" | "
|
657
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
631
658
|
metadata?: {
|
632
659
|
[key: string]: unknown;
|
633
660
|
} | undefined;
|
634
661
|
}) | ({
|
635
|
-
type: "
|
636
|
-
value:
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
|
645
|
-
} | undefined;
|
646
|
-
onSend?: string | undefined;
|
647
|
-
onSuccess?: string | undefined;
|
648
|
-
onError?: string | undefined;
|
649
|
-
};
|
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;
|
650
672
|
} & {} & {
|
651
673
|
commandType?: "object" | "help" | "independent" | undefined;
|
652
674
|
object?: string | undefined;
|
653
675
|
hoverTooltip?: boolean | undefined;
|
654
|
-
operation?: "self" | "router" | "
|
676
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
655
677
|
metadata?: {
|
656
678
|
[key: string]: unknown;
|
657
679
|
} | undefined;
|
658
680
|
}) | ({
|
659
|
-
type: "
|
681
|
+
type: "admin";
|
660
682
|
value: string;
|
661
683
|
} & {} & {
|
662
684
|
commandType?: "object" | "help" | "independent" | undefined;
|
663
685
|
object?: string | undefined;
|
664
686
|
hoverTooltip?: boolean | undefined;
|
665
|
-
operation?: "self" | "router" | "
|
687
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
666
688
|
metadata?: {
|
667
689
|
[key: string]: unknown;
|
668
690
|
} | undefined;
|
669
691
|
}) | ({
|
670
|
-
type: "
|
692
|
+
type: "builtin";
|
671
693
|
value: string;
|
672
694
|
} & {} & {
|
673
695
|
commandType?: "object" | "help" | "independent" | undefined;
|
674
696
|
object?: string | undefined;
|
675
697
|
hoverTooltip?: boolean | undefined;
|
676
|
-
operation?: "self" | "router" | "
|
698
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
677
699
|
metadata?: {
|
678
700
|
[key: string]: unknown;
|
679
701
|
} | undefined;
|
680
702
|
}) | ({
|
681
|
-
type: "
|
703
|
+
type: "script";
|
682
704
|
value: string;
|
683
705
|
} & {} & {
|
684
706
|
commandType?: "object" | "help" | "independent" | undefined;
|
685
707
|
object?: string | undefined;
|
686
708
|
hoverTooltip?: boolean | undefined;
|
687
|
-
operation?: "self" | "router" | "
|
709
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
688
710
|
metadata?: {
|
689
711
|
[key: string]: unknown;
|
690
712
|
} | undefined;
|
691
713
|
}) | ({
|
692
|
-
type: "
|
714
|
+
type: "video";
|
693
715
|
value: string;
|
694
|
-
} & {
|
695
|
-
operation?: "self" | "router" | "blank" | "help_hub" | undefined;
|
696
|
-
doc_metadata?: {
|
697
|
-
content_type?: string | undefined;
|
698
|
-
date?: string | undefined;
|
699
|
-
} | undefined;
|
700
|
-
} & {
|
701
|
-
doc_type?: "answer" | "doc" | undefined;
|
702
716
|
} & {} & {
|
703
717
|
commandType?: "object" | "help" | "independent" | undefined;
|
704
718
|
object?: string | undefined;
|
705
719
|
hoverTooltip?: boolean | undefined;
|
706
|
-
operation?: "self" | "router" | "
|
720
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
707
721
|
metadata?: {
|
708
722
|
[key: string]: unknown;
|
709
723
|
} | undefined;
|
710
724
|
}) | ({
|
711
725
|
type: "trigger";
|
712
|
-
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
|
+
} | {
|
713
738
|
type: "execute_command";
|
714
739
|
meta: {
|
715
740
|
command: string;
|
716
741
|
} & {
|
717
742
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
718
743
|
};
|
744
|
+
} | {
|
745
|
+
type: "no_action";
|
719
746
|
} | {
|
720
747
|
type: "click";
|
721
748
|
value: string;
|
722
749
|
} | {
|
723
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
724
|
-
value: string[];
|
725
|
-
} | ({
|
726
|
-
type: "link";
|
727
|
-
value: string;
|
728
|
-
} & {
|
729
|
-
operation?: "self" | "router" | "blank" | undefined;
|
730
|
-
meta?: {
|
731
|
-
command: string;
|
732
|
-
} | undefined;
|
733
|
-
}) | {
|
734
750
|
type: "open_chat";
|
735
751
|
meta: {
|
736
|
-
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";
|
737
758
|
};
|
738
759
|
} | {
|
739
760
|
type: "dismiss";
|
@@ -742,14 +763,14 @@ export declare const CommandExperience: t.TypeC<{
|
|
742
763
|
} | {
|
743
764
|
type: "questlist";
|
744
765
|
value: number;
|
745
|
-
} | {
|
746
|
-
type: "step_back";
|
747
766
|
} | {
|
748
767
|
type: "nudge";
|
749
768
|
value: number;
|
750
769
|
} | {
|
751
770
|
type: "go_to_step";
|
752
771
|
value: number;
|
772
|
+
} | {
|
773
|
+
type: "step_back";
|
753
774
|
} | ({
|
754
775
|
type: "open_bar";
|
755
776
|
} & {
|
@@ -757,16 +778,16 @@ export declare const CommandExperience: t.TypeC<{
|
|
757
778
|
categoryFilter?: number | undefined;
|
758
779
|
}) | {
|
759
780
|
type: "open_helphub";
|
760
|
-
} | {
|
781
|
+
} | ({
|
761
782
|
type: "open_copilot";
|
762
|
-
}
|
763
|
-
|
764
|
-
};
|
783
|
+
} & {
|
784
|
+
query?: string | undefined;
|
785
|
+
});
|
765
786
|
} & {} & {
|
766
787
|
commandType?: "object" | "help" | "independent" | undefined;
|
767
788
|
object?: string | undefined;
|
768
789
|
hoverTooltip?: boolean | undefined;
|
769
|
-
operation?: "self" | "router" | "
|
790
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
770
791
|
metadata?: {
|
771
792
|
[key: string]: unknown;
|
772
793
|
} | undefined;
|
@@ -859,8 +880,8 @@ export declare const CommandExperience: t.TypeC<{
|
|
859
880
|
};
|
860
881
|
tags: string[];
|
861
882
|
availability_rules: (({
|
862
|
-
type: "url" | "element" | "amplitude" | "context" | "
|
863
|
-
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";
|
864
885
|
} & {
|
865
886
|
field?: string | undefined;
|
866
887
|
value?: string | undefined;
|
@@ -869,14 +890,14 @@ export declare const CommandExperience: t.TypeC<{
|
|
869
890
|
}) | ({
|
870
891
|
type: "nudge_interaction";
|
871
892
|
operator: "is" | "isNot";
|
872
|
-
value: "completed" | "
|
893
|
+
value: "completed" | "viewed" | "dismissed";
|
873
894
|
nudge_id: number;
|
874
895
|
} & {
|
875
896
|
reason?: string | undefined;
|
876
897
|
}) | ({
|
877
898
|
type: "questlist_interaction";
|
878
899
|
operator: "is" | "isNot";
|
879
|
-
value: "completed" | "
|
900
|
+
value: "completed" | "viewed" | "dismissed";
|
880
901
|
questlist_id: number;
|
881
902
|
} & {
|
882
903
|
reason?: string | undefined;
|
@@ -888,8 +909,8 @@ export declare const CommandExperience: t.TypeC<{
|
|
888
909
|
reason?: string | undefined;
|
889
910
|
}))[];
|
890
911
|
recommend_rules: (({
|
891
|
-
type: "url" | "element" | "amplitude" | "context" | "
|
892
|
-
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";
|
893
914
|
} & {
|
894
915
|
field?: string | undefined;
|
895
916
|
value?: string | undefined;
|
@@ -898,14 +919,14 @@ export declare const CommandExperience: t.TypeC<{
|
|
898
919
|
}) | ({
|
899
920
|
type: "nudge_interaction";
|
900
921
|
operator: "is" | "isNot";
|
901
|
-
value: "completed" | "
|
922
|
+
value: "completed" | "viewed" | "dismissed";
|
902
923
|
nudge_id: number;
|
903
924
|
} & {
|
904
925
|
reason?: string | undefined;
|
905
926
|
}) | ({
|
906
927
|
type: "questlist_interaction";
|
907
928
|
operator: "is" | "isNot";
|
908
|
-
value: "completed" | "
|
929
|
+
value: "completed" | "viewed" | "dismissed";
|
909
930
|
questlist_id: number;
|
910
931
|
} & {
|
911
932
|
reason?: string | undefined;
|
@@ -972,23 +993,23 @@ export declare const CommandExperience: t.TypeC<{
|
|
972
993
|
hotkey_mac: string;
|
973
994
|
hotkey_win: string;
|
974
995
|
detail: string | ({
|
975
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
996
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
976
997
|
value: string;
|
977
998
|
} & {
|
978
999
|
position?: "inline" | "popover" | undefined;
|
979
1000
|
}) | (string | ({
|
980
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
1001
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
981
1002
|
value: string;
|
982
1003
|
} & {
|
983
1004
|
position?: "inline" | "popover" | undefined;
|
984
1005
|
}))[] | null;
|
985
1006
|
content: string | ({
|
986
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
1007
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
987
1008
|
value: string;
|
988
1009
|
} & {
|
989
1010
|
position?: "inline" | "popover" | undefined;
|
990
1011
|
}) | (string | ({
|
991
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
1012
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
992
1013
|
value: string;
|
993
1014
|
} & {
|
994
1015
|
position?: "inline" | "popover" | undefined;
|
@@ -996,31 +1017,38 @@ export declare const CommandExperience: t.TypeC<{
|
|
996
1017
|
show_preview: boolean;
|
997
1018
|
next_steps: (string | number | {
|
998
1019
|
cta: string;
|
999
|
-
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
|
+
} | {
|
1000
1032
|
type: "execute_command";
|
1001
1033
|
meta: {
|
1002
1034
|
command: string;
|
1003
1035
|
} & {
|
1004
1036
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
1005
1037
|
};
|
1038
|
+
} | {
|
1039
|
+
type: "no_action";
|
1006
1040
|
} | {
|
1007
1041
|
type: "click";
|
1008
1042
|
value: string;
|
1009
1043
|
} | {
|
1010
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
1011
|
-
value: string[];
|
1012
|
-
} | ({
|
1013
|
-
type: "link";
|
1014
|
-
value: string;
|
1015
|
-
} & {
|
1016
|
-
operation?: "self" | "router" | "blank" | undefined;
|
1017
|
-
meta?: {
|
1018
|
-
command: string;
|
1019
|
-
} | undefined;
|
1020
|
-
}) | {
|
1021
1044
|
type: "open_chat";
|
1022
1045
|
meta: {
|
1023
|
-
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";
|
1024
1052
|
};
|
1025
1053
|
} | {
|
1026
1054
|
type: "dismiss";
|
@@ -1029,14 +1057,14 @@ export declare const CommandExperience: t.TypeC<{
|
|
1029
1057
|
} | {
|
1030
1058
|
type: "questlist";
|
1031
1059
|
value: number;
|
1032
|
-
} | {
|
1033
|
-
type: "step_back";
|
1034
1060
|
} | {
|
1035
1061
|
type: "nudge";
|
1036
1062
|
value: number;
|
1037
1063
|
} | {
|
1038
1064
|
type: "go_to_step";
|
1039
1065
|
value: number;
|
1066
|
+
} | {
|
1067
|
+
type: "step_back";
|
1040
1068
|
} | ({
|
1041
1069
|
type: "open_bar";
|
1042
1070
|
} & {
|
@@ -1044,11 +1072,11 @@ export declare const CommandExperience: t.TypeC<{
|
|
1044
1072
|
categoryFilter?: number | undefined;
|
1045
1073
|
}) | {
|
1046
1074
|
type: "open_helphub";
|
1047
|
-
} | {
|
1075
|
+
} | ({
|
1048
1076
|
type: "open_copilot";
|
1049
|
-
}
|
1050
|
-
|
1051
|
-
};
|
1077
|
+
} & {
|
1078
|
+
query?: string | undefined;
|
1079
|
+
});
|
1052
1080
|
})[];
|
1053
1081
|
extra: string | null;
|
1054
1082
|
thumbnail: {
|
@@ -1102,40 +1130,40 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
|
|
1102
1130
|
id: number;
|
1103
1131
|
text: string;
|
1104
1132
|
template: ({
|
1105
|
-
type: "
|
1133
|
+
type: "callback";
|
1106
1134
|
value: string;
|
1107
1135
|
} & {} & {
|
1108
1136
|
commandType?: "object" | "help" | "independent" | undefined;
|
1109
1137
|
object?: string | undefined;
|
1110
1138
|
hoverTooltip?: boolean | undefined;
|
1111
|
-
operation?: "self" | "router" | "
|
1139
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1112
1140
|
metadata?: {
|
1113
1141
|
[key: string]: unknown;
|
1114
1142
|
} | undefined;
|
1115
1143
|
}) | ({
|
1116
|
-
type: "
|
1144
|
+
type: "link";
|
1117
1145
|
value: string;
|
1146
|
+
} & {
|
1147
|
+
operation?: "self" | "router" | "blank" | undefined;
|
1148
|
+
meta?: {
|
1149
|
+
command: string;
|
1150
|
+
} | undefined;
|
1118
1151
|
} & {} & {
|
1119
1152
|
commandType?: "object" | "help" | "independent" | undefined;
|
1120
1153
|
object?: string | undefined;
|
1121
1154
|
hoverTooltip?: boolean | undefined;
|
1122
|
-
operation?: "self" | "router" | "
|
1155
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1123
1156
|
metadata?: {
|
1124
1157
|
[key: string]: unknown;
|
1125
1158
|
} | undefined;
|
1126
1159
|
}) | ({
|
1127
|
-
type: "
|
1160
|
+
type: "webhook";
|
1128
1161
|
value: string;
|
1129
|
-
} & {
|
1130
|
-
operation?: "self" | "router" | "blank" | undefined;
|
1131
|
-
meta?: {
|
1132
|
-
command: string;
|
1133
|
-
} | undefined;
|
1134
1162
|
} & {} & {
|
1135
1163
|
commandType?: "object" | "help" | "independent" | undefined;
|
1136
1164
|
object?: string | undefined;
|
1137
1165
|
hoverTooltip?: boolean | undefined;
|
1138
|
-
operation?: "self" | "router" | "
|
1166
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1139
1167
|
metadata?: {
|
1140
1168
|
[key: string]: unknown;
|
1141
1169
|
} | undefined;
|
@@ -1146,146 +1174,153 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
|
|
1146
1174
|
commandType?: "object" | "help" | "independent" | undefined;
|
1147
1175
|
object?: string | undefined;
|
1148
1176
|
hoverTooltip?: boolean | undefined;
|
1149
|
-
operation?: "self" | "router" | "
|
1177
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1150
1178
|
metadata?: {
|
1151
1179
|
[key: string]: unknown;
|
1152
1180
|
} | undefined;
|
1153
1181
|
}) | ({
|
1154
|
-
type: "
|
1155
|
-
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
|
+
};
|
1156
1197
|
} & {} & {
|
1157
1198
|
commandType?: "object" | "help" | "independent" | undefined;
|
1158
1199
|
object?: string | undefined;
|
1159
1200
|
hoverTooltip?: boolean | undefined;
|
1160
|
-
operation?: "self" | "router" | "
|
1201
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1161
1202
|
metadata?: {
|
1162
1203
|
[key: string]: unknown;
|
1163
1204
|
} | undefined;
|
1164
1205
|
}) | ({
|
1165
|
-
type: "
|
1206
|
+
type: "appcues";
|
1166
1207
|
value: string;
|
1167
1208
|
} & {} & {
|
1168
1209
|
commandType?: "object" | "help" | "independent" | undefined;
|
1169
1210
|
object?: string | undefined;
|
1170
1211
|
hoverTooltip?: boolean | undefined;
|
1171
|
-
operation?: "self" | "router" | "
|
1212
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1172
1213
|
metadata?: {
|
1173
1214
|
[key: string]: unknown;
|
1174
1215
|
} | undefined;
|
1175
1216
|
}) | ({
|
1176
|
-
type: "
|
1217
|
+
type: "pendo_guide";
|
1177
1218
|
value: string;
|
1178
1219
|
} & {} & {
|
1179
1220
|
commandType?: "object" | "help" | "independent" | undefined;
|
1180
1221
|
object?: string | undefined;
|
1181
1222
|
hoverTooltip?: boolean | undefined;
|
1182
|
-
operation?: "self" | "router" | "
|
1223
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1183
1224
|
metadata?: {
|
1184
1225
|
[key: string]: unknown;
|
1185
1226
|
} | undefined;
|
1186
1227
|
}) | ({
|
1187
|
-
type: "
|
1188
|
-
value:
|
1189
|
-
|
1190
|
-
|
1191
|
-
|
1192
|
-
|
1193
|
-
|
1194
|
-
|
1195
|
-
|
1196
|
-
|
1197
|
-
} | undefined;
|
1198
|
-
onSend?: string | undefined;
|
1199
|
-
onSuccess?: string | undefined;
|
1200
|
-
onError?: string | undefined;
|
1201
|
-
};
|
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;
|
1202
1238
|
} & {} & {
|
1203
1239
|
commandType?: "object" | "help" | "independent" | undefined;
|
1204
1240
|
object?: string | undefined;
|
1205
1241
|
hoverTooltip?: boolean | undefined;
|
1206
|
-
operation?: "self" | "router" | "
|
1242
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1207
1243
|
metadata?: {
|
1208
1244
|
[key: string]: unknown;
|
1209
1245
|
} | undefined;
|
1210
1246
|
}) | ({
|
1211
|
-
type: "
|
1247
|
+
type: "admin";
|
1212
1248
|
value: string;
|
1213
1249
|
} & {} & {
|
1214
1250
|
commandType?: "object" | "help" | "independent" | undefined;
|
1215
1251
|
object?: string | undefined;
|
1216
1252
|
hoverTooltip?: boolean | undefined;
|
1217
|
-
operation?: "self" | "router" | "
|
1253
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1218
1254
|
metadata?: {
|
1219
1255
|
[key: string]: unknown;
|
1220
1256
|
} | undefined;
|
1221
1257
|
}) | ({
|
1222
|
-
type: "
|
1258
|
+
type: "builtin";
|
1223
1259
|
value: string;
|
1224
1260
|
} & {} & {
|
1225
1261
|
commandType?: "object" | "help" | "independent" | undefined;
|
1226
1262
|
object?: string | undefined;
|
1227
1263
|
hoverTooltip?: boolean | undefined;
|
1228
|
-
operation?: "self" | "router" | "
|
1264
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1229
1265
|
metadata?: {
|
1230
1266
|
[key: string]: unknown;
|
1231
1267
|
} | undefined;
|
1232
1268
|
}) | ({
|
1233
|
-
type: "
|
1269
|
+
type: "script";
|
1234
1270
|
value: string;
|
1235
1271
|
} & {} & {
|
1236
1272
|
commandType?: "object" | "help" | "independent" | undefined;
|
1237
1273
|
object?: string | undefined;
|
1238
1274
|
hoverTooltip?: boolean | undefined;
|
1239
|
-
operation?: "self" | "router" | "
|
1275
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1240
1276
|
metadata?: {
|
1241
1277
|
[key: string]: unknown;
|
1242
1278
|
} | undefined;
|
1243
1279
|
}) | ({
|
1244
|
-
type: "
|
1280
|
+
type: "video";
|
1245
1281
|
value: string;
|
1246
|
-
} & {
|
1247
|
-
operation?: "self" | "router" | "blank" | "help_hub" | undefined;
|
1248
|
-
doc_metadata?: {
|
1249
|
-
content_type?: string | undefined;
|
1250
|
-
date?: string | undefined;
|
1251
|
-
} | undefined;
|
1252
|
-
} & {
|
1253
|
-
doc_type?: "answer" | "doc" | undefined;
|
1254
1282
|
} & {} & {
|
1255
1283
|
commandType?: "object" | "help" | "independent" | undefined;
|
1256
1284
|
object?: string | undefined;
|
1257
1285
|
hoverTooltip?: boolean | undefined;
|
1258
|
-
operation?: "self" | "router" | "
|
1286
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1259
1287
|
metadata?: {
|
1260
1288
|
[key: string]: unknown;
|
1261
1289
|
} | undefined;
|
1262
1290
|
}) | ({
|
1263
1291
|
type: "trigger";
|
1264
|
-
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
|
+
} | {
|
1265
1304
|
type: "execute_command";
|
1266
1305
|
meta: {
|
1267
1306
|
command: string;
|
1268
1307
|
} & {
|
1269
1308
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
1270
1309
|
};
|
1310
|
+
} | {
|
1311
|
+
type: "no_action";
|
1271
1312
|
} | {
|
1272
1313
|
type: "click";
|
1273
1314
|
value: string;
|
1274
1315
|
} | {
|
1275
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
1276
|
-
value: string[];
|
1277
|
-
} | ({
|
1278
|
-
type: "link";
|
1279
|
-
value: string;
|
1280
|
-
} & {
|
1281
|
-
operation?: "self" | "router" | "blank" | undefined;
|
1282
|
-
meta?: {
|
1283
|
-
command: string;
|
1284
|
-
} | undefined;
|
1285
|
-
}) | {
|
1286
1316
|
type: "open_chat";
|
1287
1317
|
meta: {
|
1288
|
-
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";
|
1289
1324
|
};
|
1290
1325
|
} | {
|
1291
1326
|
type: "dismiss";
|
@@ -1294,14 +1329,14 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
|
|
1294
1329
|
} | {
|
1295
1330
|
type: "questlist";
|
1296
1331
|
value: number;
|
1297
|
-
} | {
|
1298
|
-
type: "step_back";
|
1299
1332
|
} | {
|
1300
1333
|
type: "nudge";
|
1301
1334
|
value: number;
|
1302
1335
|
} | {
|
1303
1336
|
type: "go_to_step";
|
1304
1337
|
value: number;
|
1338
|
+
} | {
|
1339
|
+
type: "step_back";
|
1305
1340
|
} | ({
|
1306
1341
|
type: "open_bar";
|
1307
1342
|
} & {
|
@@ -1309,16 +1344,16 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
|
|
1309
1344
|
categoryFilter?: number | undefined;
|
1310
1345
|
}) | {
|
1311
1346
|
type: "open_helphub";
|
1312
|
-
} | {
|
1347
|
+
} | ({
|
1313
1348
|
type: "open_copilot";
|
1314
|
-
}
|
1315
|
-
|
1316
|
-
};
|
1349
|
+
} & {
|
1350
|
+
query?: string | undefined;
|
1351
|
+
});
|
1317
1352
|
} & {} & {
|
1318
1353
|
commandType?: "object" | "help" | "independent" | undefined;
|
1319
1354
|
object?: string | undefined;
|
1320
1355
|
hoverTooltip?: boolean | undefined;
|
1321
|
-
operation?: "self" | "router" | "
|
1356
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1322
1357
|
metadata?: {
|
1323
1358
|
[key: string]: unknown;
|
1324
1359
|
} | undefined;
|
@@ -1411,8 +1446,8 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
|
|
1411
1446
|
};
|
1412
1447
|
tags: string[];
|
1413
1448
|
availability_rules: (({
|
1414
|
-
type: "url" | "element" | "amplitude" | "context" | "
|
1415
|
-
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";
|
1416
1451
|
} & {
|
1417
1452
|
field?: string | undefined;
|
1418
1453
|
value?: string | undefined;
|
@@ -1421,14 +1456,14 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
|
|
1421
1456
|
}) | ({
|
1422
1457
|
type: "nudge_interaction";
|
1423
1458
|
operator: "is" | "isNot";
|
1424
|
-
value: "completed" | "
|
1459
|
+
value: "completed" | "viewed" | "dismissed";
|
1425
1460
|
nudge_id: number;
|
1426
1461
|
} & {
|
1427
1462
|
reason?: string | undefined;
|
1428
1463
|
}) | ({
|
1429
1464
|
type: "questlist_interaction";
|
1430
1465
|
operator: "is" | "isNot";
|
1431
|
-
value: "completed" | "
|
1466
|
+
value: "completed" | "viewed" | "dismissed";
|
1432
1467
|
questlist_id: number;
|
1433
1468
|
} & {
|
1434
1469
|
reason?: string | undefined;
|
@@ -1440,8 +1475,8 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
|
|
1440
1475
|
reason?: string | undefined;
|
1441
1476
|
}))[];
|
1442
1477
|
recommend_rules: (({
|
1443
|
-
type: "url" | "element" | "amplitude" | "context" | "
|
1444
|
-
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";
|
1445
1480
|
} & {
|
1446
1481
|
field?: string | undefined;
|
1447
1482
|
value?: string | undefined;
|
@@ -1450,14 +1485,14 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
|
|
1450
1485
|
}) | ({
|
1451
1486
|
type: "nudge_interaction";
|
1452
1487
|
operator: "is" | "isNot";
|
1453
|
-
value: "completed" | "
|
1488
|
+
value: "completed" | "viewed" | "dismissed";
|
1454
1489
|
nudge_id: number;
|
1455
1490
|
} & {
|
1456
1491
|
reason?: string | undefined;
|
1457
1492
|
}) | ({
|
1458
1493
|
type: "questlist_interaction";
|
1459
1494
|
operator: "is" | "isNot";
|
1460
|
-
value: "completed" | "
|
1495
|
+
value: "completed" | "viewed" | "dismissed";
|
1461
1496
|
questlist_id: number;
|
1462
1497
|
} & {
|
1463
1498
|
reason?: string | undefined;
|
@@ -1524,23 +1559,23 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
|
|
1524
1559
|
hotkey_mac: string;
|
1525
1560
|
hotkey_win: string;
|
1526
1561
|
detail: string | ({
|
1527
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
1562
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
1528
1563
|
value: string;
|
1529
1564
|
} & {
|
1530
1565
|
position?: "inline" | "popover" | undefined;
|
1531
1566
|
}) | (string | ({
|
1532
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
1567
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
1533
1568
|
value: string;
|
1534
1569
|
} & {
|
1535
1570
|
position?: "inline" | "popover" | undefined;
|
1536
1571
|
}))[] | null;
|
1537
1572
|
content: string | ({
|
1538
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
1573
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
1539
1574
|
value: string;
|
1540
1575
|
} & {
|
1541
1576
|
position?: "inline" | "popover" | undefined;
|
1542
1577
|
}) | (string | ({
|
1543
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
1578
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
1544
1579
|
value: string;
|
1545
1580
|
} & {
|
1546
1581
|
position?: "inline" | "popover" | undefined;
|
@@ -1548,31 +1583,38 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
|
|
1548
1583
|
show_preview: boolean;
|
1549
1584
|
next_steps: (string | number | {
|
1550
1585
|
cta: string;
|
1551
|
-
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
|
+
} | {
|
1552
1598
|
type: "execute_command";
|
1553
1599
|
meta: {
|
1554
1600
|
command: string;
|
1555
1601
|
} & {
|
1556
1602
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
1557
1603
|
};
|
1604
|
+
} | {
|
1605
|
+
type: "no_action";
|
1558
1606
|
} | {
|
1559
1607
|
type: "click";
|
1560
1608
|
value: string;
|
1561
1609
|
} | {
|
1562
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
1563
|
-
value: string[];
|
1564
|
-
} | ({
|
1565
|
-
type: "link";
|
1566
|
-
value: string;
|
1567
|
-
} & {
|
1568
|
-
operation?: "self" | "router" | "blank" | undefined;
|
1569
|
-
meta?: {
|
1570
|
-
command: string;
|
1571
|
-
} | undefined;
|
1572
|
-
}) | {
|
1573
1610
|
type: "open_chat";
|
1574
1611
|
meta: {
|
1575
|
-
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";
|
1576
1618
|
};
|
1577
1619
|
} | {
|
1578
1620
|
type: "dismiss";
|
@@ -1581,14 +1623,14 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
|
|
1581
1623
|
} | {
|
1582
1624
|
type: "questlist";
|
1583
1625
|
value: number;
|
1584
|
-
} | {
|
1585
|
-
type: "step_back";
|
1586
1626
|
} | {
|
1587
1627
|
type: "nudge";
|
1588
1628
|
value: number;
|
1589
1629
|
} | {
|
1590
1630
|
type: "go_to_step";
|
1591
1631
|
value: number;
|
1632
|
+
} | {
|
1633
|
+
type: "step_back";
|
1592
1634
|
} | ({
|
1593
1635
|
type: "open_bar";
|
1594
1636
|
} & {
|
@@ -1596,11 +1638,11 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
|
|
1596
1638
|
categoryFilter?: number | undefined;
|
1597
1639
|
}) | {
|
1598
1640
|
type: "open_helphub";
|
1599
|
-
} | {
|
1641
|
+
} | ({
|
1600
1642
|
type: "open_copilot";
|
1601
|
-
}
|
1602
|
-
|
1603
|
-
};
|
1643
|
+
} & {
|
1644
|
+
query?: string | undefined;
|
1645
|
+
});
|
1604
1646
|
})[];
|
1605
1647
|
extra: string | null;
|
1606
1648
|
thumbnail: {
|
@@ -1640,40 +1682,40 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
|
|
1640
1682
|
id: number;
|
1641
1683
|
text: string;
|
1642
1684
|
template: ({
|
1643
|
-
type: "
|
1685
|
+
type: "callback";
|
1644
1686
|
value: string;
|
1645
1687
|
} & {} & {
|
1646
1688
|
commandType?: "object" | "help" | "independent" | undefined;
|
1647
1689
|
object?: string | undefined;
|
1648
1690
|
hoverTooltip?: boolean | undefined;
|
1649
|
-
operation?: "self" | "router" | "
|
1691
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1650
1692
|
metadata?: {
|
1651
1693
|
[key: string]: unknown;
|
1652
1694
|
} | undefined;
|
1653
1695
|
}) | ({
|
1654
|
-
type: "
|
1696
|
+
type: "link";
|
1655
1697
|
value: string;
|
1698
|
+
} & {
|
1699
|
+
operation?: "self" | "router" | "blank" | undefined;
|
1700
|
+
meta?: {
|
1701
|
+
command: string;
|
1702
|
+
} | undefined;
|
1656
1703
|
} & {} & {
|
1657
1704
|
commandType?: "object" | "help" | "independent" | undefined;
|
1658
1705
|
object?: string | undefined;
|
1659
1706
|
hoverTooltip?: boolean | undefined;
|
1660
|
-
operation?: "self" | "router" | "
|
1707
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1661
1708
|
metadata?: {
|
1662
1709
|
[key: string]: unknown;
|
1663
1710
|
} | undefined;
|
1664
1711
|
}) | ({
|
1665
|
-
type: "
|
1712
|
+
type: "webhook";
|
1666
1713
|
value: string;
|
1667
|
-
} & {
|
1668
|
-
operation?: "self" | "router" | "blank" | undefined;
|
1669
|
-
meta?: {
|
1670
|
-
command: string;
|
1671
|
-
} | undefined;
|
1672
1714
|
} & {} & {
|
1673
1715
|
commandType?: "object" | "help" | "independent" | undefined;
|
1674
1716
|
object?: string | undefined;
|
1675
1717
|
hoverTooltip?: boolean | undefined;
|
1676
|
-
operation?: "self" | "router" | "
|
1718
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1677
1719
|
metadata?: {
|
1678
1720
|
[key: string]: unknown;
|
1679
1721
|
} | undefined;
|
@@ -1684,146 +1726,153 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
|
|
1684
1726
|
commandType?: "object" | "help" | "independent" | undefined;
|
1685
1727
|
object?: string | undefined;
|
1686
1728
|
hoverTooltip?: boolean | undefined;
|
1687
|
-
operation?: "self" | "router" | "
|
1729
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1688
1730
|
metadata?: {
|
1689
1731
|
[key: string]: unknown;
|
1690
1732
|
} | undefined;
|
1691
1733
|
}) | ({
|
1692
|
-
type: "
|
1693
|
-
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
|
+
};
|
1694
1749
|
} & {} & {
|
1695
1750
|
commandType?: "object" | "help" | "independent" | undefined;
|
1696
1751
|
object?: string | undefined;
|
1697
1752
|
hoverTooltip?: boolean | undefined;
|
1698
|
-
operation?: "self" | "router" | "
|
1753
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1699
1754
|
metadata?: {
|
1700
1755
|
[key: string]: unknown;
|
1701
1756
|
} | undefined;
|
1702
1757
|
}) | ({
|
1703
|
-
type: "
|
1758
|
+
type: "appcues";
|
1704
1759
|
value: string;
|
1705
1760
|
} & {} & {
|
1706
1761
|
commandType?: "object" | "help" | "independent" | undefined;
|
1707
1762
|
object?: string | undefined;
|
1708
1763
|
hoverTooltip?: boolean | undefined;
|
1709
|
-
operation?: "self" | "router" | "
|
1764
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1710
1765
|
metadata?: {
|
1711
1766
|
[key: string]: unknown;
|
1712
1767
|
} | undefined;
|
1713
1768
|
}) | ({
|
1714
|
-
type: "
|
1769
|
+
type: "pendo_guide";
|
1715
1770
|
value: string;
|
1716
1771
|
} & {} & {
|
1717
1772
|
commandType?: "object" | "help" | "independent" | undefined;
|
1718
1773
|
object?: string | undefined;
|
1719
1774
|
hoverTooltip?: boolean | undefined;
|
1720
|
-
operation?: "self" | "router" | "
|
1775
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1721
1776
|
metadata?: {
|
1722
1777
|
[key: string]: unknown;
|
1723
1778
|
} | undefined;
|
1724
1779
|
}) | ({
|
1725
|
-
type: "
|
1726
|
-
value:
|
1727
|
-
|
1728
|
-
|
1729
|
-
|
1730
|
-
|
1731
|
-
|
1732
|
-
|
1733
|
-
|
1734
|
-
|
1735
|
-
} | undefined;
|
1736
|
-
onSend?: string | undefined;
|
1737
|
-
onSuccess?: string | undefined;
|
1738
|
-
onError?: string | undefined;
|
1739
|
-
};
|
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;
|
1740
1790
|
} & {} & {
|
1741
1791
|
commandType?: "object" | "help" | "independent" | undefined;
|
1742
1792
|
object?: string | undefined;
|
1743
1793
|
hoverTooltip?: boolean | undefined;
|
1744
|
-
operation?: "self" | "router" | "
|
1794
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1745
1795
|
metadata?: {
|
1746
1796
|
[key: string]: unknown;
|
1747
1797
|
} | undefined;
|
1748
1798
|
}) | ({
|
1749
|
-
type: "
|
1799
|
+
type: "admin";
|
1750
1800
|
value: string;
|
1751
1801
|
} & {} & {
|
1752
1802
|
commandType?: "object" | "help" | "independent" | undefined;
|
1753
1803
|
object?: string | undefined;
|
1754
1804
|
hoverTooltip?: boolean | undefined;
|
1755
|
-
operation?: "self" | "router" | "
|
1805
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1756
1806
|
metadata?: {
|
1757
1807
|
[key: string]: unknown;
|
1758
1808
|
} | undefined;
|
1759
1809
|
}) | ({
|
1760
|
-
type: "
|
1810
|
+
type: "builtin";
|
1761
1811
|
value: string;
|
1762
1812
|
} & {} & {
|
1763
1813
|
commandType?: "object" | "help" | "independent" | undefined;
|
1764
1814
|
object?: string | undefined;
|
1765
1815
|
hoverTooltip?: boolean | undefined;
|
1766
|
-
operation?: "self" | "router" | "
|
1816
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1767
1817
|
metadata?: {
|
1768
1818
|
[key: string]: unknown;
|
1769
1819
|
} | undefined;
|
1770
1820
|
}) | ({
|
1771
|
-
type: "
|
1821
|
+
type: "script";
|
1772
1822
|
value: string;
|
1773
1823
|
} & {} & {
|
1774
1824
|
commandType?: "object" | "help" | "independent" | undefined;
|
1775
1825
|
object?: string | undefined;
|
1776
1826
|
hoverTooltip?: boolean | undefined;
|
1777
|
-
operation?: "self" | "router" | "
|
1827
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1778
1828
|
metadata?: {
|
1779
1829
|
[key: string]: unknown;
|
1780
1830
|
} | undefined;
|
1781
1831
|
}) | ({
|
1782
|
-
type: "
|
1832
|
+
type: "video";
|
1783
1833
|
value: string;
|
1784
|
-
} & {
|
1785
|
-
operation?: "self" | "router" | "blank" | "help_hub" | undefined;
|
1786
|
-
doc_metadata?: {
|
1787
|
-
content_type?: string | undefined;
|
1788
|
-
date?: string | undefined;
|
1789
|
-
} | undefined;
|
1790
|
-
} & {
|
1791
|
-
doc_type?: "answer" | "doc" | undefined;
|
1792
1834
|
} & {} & {
|
1793
1835
|
commandType?: "object" | "help" | "independent" | undefined;
|
1794
1836
|
object?: string | undefined;
|
1795
1837
|
hoverTooltip?: boolean | undefined;
|
1796
|
-
operation?: "self" | "router" | "
|
1838
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1797
1839
|
metadata?: {
|
1798
1840
|
[key: string]: unknown;
|
1799
1841
|
} | undefined;
|
1800
1842
|
}) | ({
|
1801
1843
|
type: "trigger";
|
1802
|
-
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
|
+
} | {
|
1803
1856
|
type: "execute_command";
|
1804
1857
|
meta: {
|
1805
1858
|
command: string;
|
1806
1859
|
} & {
|
1807
1860
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
1808
1861
|
};
|
1862
|
+
} | {
|
1863
|
+
type: "no_action";
|
1809
1864
|
} | {
|
1810
1865
|
type: "click";
|
1811
1866
|
value: string;
|
1812
1867
|
} | {
|
1813
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
1814
|
-
value: string[];
|
1815
|
-
} | ({
|
1816
|
-
type: "link";
|
1817
|
-
value: string;
|
1818
|
-
} & {
|
1819
|
-
operation?: "self" | "router" | "blank" | undefined;
|
1820
|
-
meta?: {
|
1821
|
-
command: string;
|
1822
|
-
} | undefined;
|
1823
|
-
}) | {
|
1824
1868
|
type: "open_chat";
|
1825
1869
|
meta: {
|
1826
|
-
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";
|
1827
1876
|
};
|
1828
1877
|
} | {
|
1829
1878
|
type: "dismiss";
|
@@ -1832,14 +1881,14 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
|
|
1832
1881
|
} | {
|
1833
1882
|
type: "questlist";
|
1834
1883
|
value: number;
|
1835
|
-
} | {
|
1836
|
-
type: "step_back";
|
1837
1884
|
} | {
|
1838
1885
|
type: "nudge";
|
1839
1886
|
value: number;
|
1840
1887
|
} | {
|
1841
1888
|
type: "go_to_step";
|
1842
1889
|
value: number;
|
1890
|
+
} | {
|
1891
|
+
type: "step_back";
|
1843
1892
|
} | ({
|
1844
1893
|
type: "open_bar";
|
1845
1894
|
} & {
|
@@ -1847,16 +1896,16 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
|
|
1847
1896
|
categoryFilter?: number | undefined;
|
1848
1897
|
}) | {
|
1849
1898
|
type: "open_helphub";
|
1850
|
-
} | {
|
1899
|
+
} | ({
|
1851
1900
|
type: "open_copilot";
|
1852
|
-
}
|
1853
|
-
|
1854
|
-
};
|
1901
|
+
} & {
|
1902
|
+
query?: string | undefined;
|
1903
|
+
});
|
1855
1904
|
} & {} & {
|
1856
1905
|
commandType?: "object" | "help" | "independent" | undefined;
|
1857
1906
|
object?: string | undefined;
|
1858
1907
|
hoverTooltip?: boolean | undefined;
|
1859
|
-
operation?: "self" | "router" | "
|
1908
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
1860
1909
|
metadata?: {
|
1861
1910
|
[key: string]: unknown;
|
1862
1911
|
} | undefined;
|
@@ -1949,8 +1998,8 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
|
|
1949
1998
|
};
|
1950
1999
|
tags: string[];
|
1951
2000
|
availability_rules: (({
|
1952
|
-
type: "url" | "element" | "amplitude" | "context" | "
|
1953
|
-
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";
|
1954
2003
|
} & {
|
1955
2004
|
field?: string | undefined;
|
1956
2005
|
value?: string | undefined;
|
@@ -1959,14 +2008,14 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
|
|
1959
2008
|
}) | ({
|
1960
2009
|
type: "nudge_interaction";
|
1961
2010
|
operator: "is" | "isNot";
|
1962
|
-
value: "completed" | "
|
2011
|
+
value: "completed" | "viewed" | "dismissed";
|
1963
2012
|
nudge_id: number;
|
1964
2013
|
} & {
|
1965
2014
|
reason?: string | undefined;
|
1966
2015
|
}) | ({
|
1967
2016
|
type: "questlist_interaction";
|
1968
2017
|
operator: "is" | "isNot";
|
1969
|
-
value: "completed" | "
|
2018
|
+
value: "completed" | "viewed" | "dismissed";
|
1970
2019
|
questlist_id: number;
|
1971
2020
|
} & {
|
1972
2021
|
reason?: string | undefined;
|
@@ -1978,8 +2027,8 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
|
|
1978
2027
|
reason?: string | undefined;
|
1979
2028
|
}))[];
|
1980
2029
|
recommend_rules: (({
|
1981
|
-
type: "url" | "element" | "amplitude" | "context" | "
|
1982
|
-
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";
|
1983
2032
|
} & {
|
1984
2033
|
field?: string | undefined;
|
1985
2034
|
value?: string | undefined;
|
@@ -1988,14 +2037,14 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
|
|
1988
2037
|
}) | ({
|
1989
2038
|
type: "nudge_interaction";
|
1990
2039
|
operator: "is" | "isNot";
|
1991
|
-
value: "completed" | "
|
2040
|
+
value: "completed" | "viewed" | "dismissed";
|
1992
2041
|
nudge_id: number;
|
1993
2042
|
} & {
|
1994
2043
|
reason?: string | undefined;
|
1995
2044
|
}) | ({
|
1996
2045
|
type: "questlist_interaction";
|
1997
2046
|
operator: "is" | "isNot";
|
1998
|
-
value: "completed" | "
|
2047
|
+
value: "completed" | "viewed" | "dismissed";
|
1999
2048
|
questlist_id: number;
|
2000
2049
|
} & {
|
2001
2050
|
reason?: string | undefined;
|
@@ -2062,23 +2111,23 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
|
|
2062
2111
|
hotkey_mac: string;
|
2063
2112
|
hotkey_win: string;
|
2064
2113
|
detail: string | ({
|
2065
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
2114
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
2066
2115
|
value: string;
|
2067
2116
|
} & {
|
2068
2117
|
position?: "inline" | "popover" | undefined;
|
2069
2118
|
}) | (string | ({
|
2070
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
2119
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
2071
2120
|
value: string;
|
2072
2121
|
} & {
|
2073
2122
|
position?: "inline" | "popover" | undefined;
|
2074
2123
|
}))[] | null;
|
2075
2124
|
content: string | ({
|
2076
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
2125
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
2077
2126
|
value: string;
|
2078
2127
|
} & {
|
2079
2128
|
position?: "inline" | "popover" | undefined;
|
2080
2129
|
}) | (string | ({
|
2081
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
2130
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
2082
2131
|
value: string;
|
2083
2132
|
} & {
|
2084
2133
|
position?: "inline" | "popover" | undefined;
|
@@ -2086,31 +2135,38 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
|
|
2086
2135
|
show_preview: boolean;
|
2087
2136
|
next_steps: (string | number | {
|
2088
2137
|
cta: string;
|
2089
|
-
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
|
+
} | {
|
2090
2150
|
type: "execute_command";
|
2091
2151
|
meta: {
|
2092
2152
|
command: string;
|
2093
2153
|
} & {
|
2094
2154
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
2095
2155
|
};
|
2156
|
+
} | {
|
2157
|
+
type: "no_action";
|
2096
2158
|
} | {
|
2097
2159
|
type: "click";
|
2098
2160
|
value: string;
|
2099
2161
|
} | {
|
2100
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
2101
|
-
value: string[];
|
2102
|
-
} | ({
|
2103
|
-
type: "link";
|
2104
|
-
value: string;
|
2105
|
-
} & {
|
2106
|
-
operation?: "self" | "router" | "blank" | undefined;
|
2107
|
-
meta?: {
|
2108
|
-
command: string;
|
2109
|
-
} | undefined;
|
2110
|
-
}) | {
|
2111
2162
|
type: "open_chat";
|
2112
2163
|
meta: {
|
2113
|
-
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";
|
2114
2170
|
};
|
2115
2171
|
} | {
|
2116
2172
|
type: "dismiss";
|
@@ -2119,14 +2175,14 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
|
|
2119
2175
|
} | {
|
2120
2176
|
type: "questlist";
|
2121
2177
|
value: number;
|
2122
|
-
} | {
|
2123
|
-
type: "step_back";
|
2124
2178
|
} | {
|
2125
2179
|
type: "nudge";
|
2126
2180
|
value: number;
|
2127
2181
|
} | {
|
2128
2182
|
type: "go_to_step";
|
2129
2183
|
value: number;
|
2184
|
+
} | {
|
2185
|
+
type: "step_back";
|
2130
2186
|
} | ({
|
2131
2187
|
type: "open_bar";
|
2132
2188
|
} & {
|
@@ -2134,11 +2190,11 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
|
|
2134
2190
|
categoryFilter?: number | undefined;
|
2135
2191
|
}) | {
|
2136
2192
|
type: "open_helphub";
|
2137
|
-
} | {
|
2193
|
+
} | ({
|
2138
2194
|
type: "open_copilot";
|
2139
|
-
}
|
2140
|
-
|
2141
|
-
};
|
2195
|
+
} & {
|
2196
|
+
query?: string | undefined;
|
2197
|
+
});
|
2142
2198
|
})[];
|
2143
2199
|
extra: string | null;
|
2144
2200
|
thumbnail: {
|
@@ -2193,40 +2249,40 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
|
|
2193
2249
|
id: number;
|
2194
2250
|
text: string;
|
2195
2251
|
template: ({
|
2196
|
-
type: "
|
2252
|
+
type: "callback";
|
2197
2253
|
value: string;
|
2198
2254
|
} & {} & {
|
2199
2255
|
commandType?: "object" | "help" | "independent" | undefined;
|
2200
2256
|
object?: string | undefined;
|
2201
2257
|
hoverTooltip?: boolean | undefined;
|
2202
|
-
operation?: "self" | "router" | "
|
2258
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2203
2259
|
metadata?: {
|
2204
2260
|
[key: string]: unknown;
|
2205
2261
|
} | undefined;
|
2206
2262
|
}) | ({
|
2207
|
-
type: "
|
2263
|
+
type: "link";
|
2208
2264
|
value: string;
|
2265
|
+
} & {
|
2266
|
+
operation?: "self" | "router" | "blank" | undefined;
|
2267
|
+
meta?: {
|
2268
|
+
command: string;
|
2269
|
+
} | undefined;
|
2209
2270
|
} & {} & {
|
2210
2271
|
commandType?: "object" | "help" | "independent" | undefined;
|
2211
2272
|
object?: string | undefined;
|
2212
2273
|
hoverTooltip?: boolean | undefined;
|
2213
|
-
operation?: "self" | "router" | "
|
2274
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2214
2275
|
metadata?: {
|
2215
2276
|
[key: string]: unknown;
|
2216
2277
|
} | undefined;
|
2217
2278
|
}) | ({
|
2218
|
-
type: "
|
2279
|
+
type: "webhook";
|
2219
2280
|
value: string;
|
2220
|
-
} & {
|
2221
|
-
operation?: "self" | "router" | "blank" | undefined;
|
2222
|
-
meta?: {
|
2223
|
-
command: string;
|
2224
|
-
} | undefined;
|
2225
2281
|
} & {} & {
|
2226
2282
|
commandType?: "object" | "help" | "independent" | undefined;
|
2227
2283
|
object?: string | undefined;
|
2228
2284
|
hoverTooltip?: boolean | undefined;
|
2229
|
-
operation?: "self" | "router" | "
|
2285
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2230
2286
|
metadata?: {
|
2231
2287
|
[key: string]: unknown;
|
2232
2288
|
} | undefined;
|
@@ -2237,146 +2293,153 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
|
|
2237
2293
|
commandType?: "object" | "help" | "independent" | undefined;
|
2238
2294
|
object?: string | undefined;
|
2239
2295
|
hoverTooltip?: boolean | undefined;
|
2240
|
-
operation?: "self" | "router" | "
|
2296
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2241
2297
|
metadata?: {
|
2242
2298
|
[key: string]: unknown;
|
2243
2299
|
} | undefined;
|
2244
2300
|
}) | ({
|
2245
|
-
type: "
|
2246
|
-
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
|
+
};
|
2247
2316
|
} & {} & {
|
2248
2317
|
commandType?: "object" | "help" | "independent" | undefined;
|
2249
2318
|
object?: string | undefined;
|
2250
2319
|
hoverTooltip?: boolean | undefined;
|
2251
|
-
operation?: "self" | "router" | "
|
2320
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2252
2321
|
metadata?: {
|
2253
2322
|
[key: string]: unknown;
|
2254
2323
|
} | undefined;
|
2255
2324
|
}) | ({
|
2256
|
-
type: "
|
2325
|
+
type: "appcues";
|
2257
2326
|
value: string;
|
2258
2327
|
} & {} & {
|
2259
2328
|
commandType?: "object" | "help" | "independent" | undefined;
|
2260
2329
|
object?: string | undefined;
|
2261
2330
|
hoverTooltip?: boolean | undefined;
|
2262
|
-
operation?: "self" | "router" | "
|
2331
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2263
2332
|
metadata?: {
|
2264
2333
|
[key: string]: unknown;
|
2265
2334
|
} | undefined;
|
2266
2335
|
}) | ({
|
2267
|
-
type: "
|
2336
|
+
type: "pendo_guide";
|
2268
2337
|
value: string;
|
2269
2338
|
} & {} & {
|
2270
2339
|
commandType?: "object" | "help" | "independent" | undefined;
|
2271
2340
|
object?: string | undefined;
|
2272
2341
|
hoverTooltip?: boolean | undefined;
|
2273
|
-
operation?: "self" | "router" | "
|
2342
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2274
2343
|
metadata?: {
|
2275
2344
|
[key: string]: unknown;
|
2276
2345
|
} | undefined;
|
2277
2346
|
}) | ({
|
2278
|
-
type: "
|
2279
|
-
value:
|
2280
|
-
|
2281
|
-
|
2282
|
-
|
2283
|
-
|
2284
|
-
|
2285
|
-
|
2286
|
-
|
2287
|
-
|
2288
|
-
} | undefined;
|
2289
|
-
onSend?: string | undefined;
|
2290
|
-
onSuccess?: string | undefined;
|
2291
|
-
onError?: string | undefined;
|
2292
|
-
};
|
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;
|
2293
2357
|
} & {} & {
|
2294
2358
|
commandType?: "object" | "help" | "independent" | undefined;
|
2295
2359
|
object?: string | undefined;
|
2296
2360
|
hoverTooltip?: boolean | undefined;
|
2297
|
-
operation?: "self" | "router" | "
|
2361
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2298
2362
|
metadata?: {
|
2299
2363
|
[key: string]: unknown;
|
2300
2364
|
} | undefined;
|
2301
2365
|
}) | ({
|
2302
|
-
type: "
|
2366
|
+
type: "admin";
|
2303
2367
|
value: string;
|
2304
2368
|
} & {} & {
|
2305
2369
|
commandType?: "object" | "help" | "independent" | undefined;
|
2306
2370
|
object?: string | undefined;
|
2307
2371
|
hoverTooltip?: boolean | undefined;
|
2308
|
-
operation?: "self" | "router" | "
|
2372
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2309
2373
|
metadata?: {
|
2310
2374
|
[key: string]: unknown;
|
2311
2375
|
} | undefined;
|
2312
2376
|
}) | ({
|
2313
|
-
type: "
|
2377
|
+
type: "builtin";
|
2314
2378
|
value: string;
|
2315
2379
|
} & {} & {
|
2316
2380
|
commandType?: "object" | "help" | "independent" | undefined;
|
2317
2381
|
object?: string | undefined;
|
2318
2382
|
hoverTooltip?: boolean | undefined;
|
2319
|
-
operation?: "self" | "router" | "
|
2383
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2320
2384
|
metadata?: {
|
2321
2385
|
[key: string]: unknown;
|
2322
2386
|
} | undefined;
|
2323
2387
|
}) | ({
|
2324
|
-
type: "
|
2388
|
+
type: "script";
|
2325
2389
|
value: string;
|
2326
2390
|
} & {} & {
|
2327
2391
|
commandType?: "object" | "help" | "independent" | undefined;
|
2328
2392
|
object?: string | undefined;
|
2329
2393
|
hoverTooltip?: boolean | undefined;
|
2330
|
-
operation?: "self" | "router" | "
|
2394
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2331
2395
|
metadata?: {
|
2332
2396
|
[key: string]: unknown;
|
2333
2397
|
} | undefined;
|
2334
2398
|
}) | ({
|
2335
|
-
type: "
|
2399
|
+
type: "video";
|
2336
2400
|
value: string;
|
2337
|
-
} & {
|
2338
|
-
operation?: "self" | "router" | "blank" | "help_hub" | undefined;
|
2339
|
-
doc_metadata?: {
|
2340
|
-
content_type?: string | undefined;
|
2341
|
-
date?: string | undefined;
|
2342
|
-
} | undefined;
|
2343
|
-
} & {
|
2344
|
-
doc_type?: "answer" | "doc" | undefined;
|
2345
2401
|
} & {} & {
|
2346
2402
|
commandType?: "object" | "help" | "independent" | undefined;
|
2347
2403
|
object?: string | undefined;
|
2348
2404
|
hoverTooltip?: boolean | undefined;
|
2349
|
-
operation?: "self" | "router" | "
|
2405
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2350
2406
|
metadata?: {
|
2351
2407
|
[key: string]: unknown;
|
2352
2408
|
} | undefined;
|
2353
2409
|
}) | ({
|
2354
2410
|
type: "trigger";
|
2355
|
-
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
|
+
} | {
|
2356
2423
|
type: "execute_command";
|
2357
2424
|
meta: {
|
2358
2425
|
command: string;
|
2359
2426
|
} & {
|
2360
2427
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
2361
2428
|
};
|
2429
|
+
} | {
|
2430
|
+
type: "no_action";
|
2362
2431
|
} | {
|
2363
2432
|
type: "click";
|
2364
2433
|
value: string;
|
2365
2434
|
} | {
|
2366
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
2367
|
-
value: string[];
|
2368
|
-
} | ({
|
2369
|
-
type: "link";
|
2370
|
-
value: string;
|
2371
|
-
} & {
|
2372
|
-
operation?: "self" | "router" | "blank" | undefined;
|
2373
|
-
meta?: {
|
2374
|
-
command: string;
|
2375
|
-
} | undefined;
|
2376
|
-
}) | {
|
2377
2435
|
type: "open_chat";
|
2378
2436
|
meta: {
|
2379
|
-
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";
|
2380
2443
|
};
|
2381
2444
|
} | {
|
2382
2445
|
type: "dismiss";
|
@@ -2385,14 +2448,14 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
|
|
2385
2448
|
} | {
|
2386
2449
|
type: "questlist";
|
2387
2450
|
value: number;
|
2388
|
-
} | {
|
2389
|
-
type: "step_back";
|
2390
2451
|
} | {
|
2391
2452
|
type: "nudge";
|
2392
2453
|
value: number;
|
2393
2454
|
} | {
|
2394
2455
|
type: "go_to_step";
|
2395
2456
|
value: number;
|
2457
|
+
} | {
|
2458
|
+
type: "step_back";
|
2396
2459
|
} | ({
|
2397
2460
|
type: "open_bar";
|
2398
2461
|
} & {
|
@@ -2400,16 +2463,16 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
|
|
2400
2463
|
categoryFilter?: number | undefined;
|
2401
2464
|
}) | {
|
2402
2465
|
type: "open_helphub";
|
2403
|
-
} | {
|
2466
|
+
} | ({
|
2404
2467
|
type: "open_copilot";
|
2405
|
-
}
|
2406
|
-
|
2407
|
-
};
|
2468
|
+
} & {
|
2469
|
+
query?: string | undefined;
|
2470
|
+
});
|
2408
2471
|
} & {} & {
|
2409
2472
|
commandType?: "object" | "help" | "independent" | undefined;
|
2410
2473
|
object?: string | undefined;
|
2411
2474
|
hoverTooltip?: boolean | undefined;
|
2412
|
-
operation?: "self" | "router" | "
|
2475
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2413
2476
|
metadata?: {
|
2414
2477
|
[key: string]: unknown;
|
2415
2478
|
} | undefined;
|
@@ -2502,8 +2565,8 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
|
|
2502
2565
|
};
|
2503
2566
|
tags: string[];
|
2504
2567
|
availability_rules: (({
|
2505
|
-
type: "url" | "element" | "amplitude" | "context" | "
|
2506
|
-
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";
|
2507
2570
|
} & {
|
2508
2571
|
field?: string | undefined;
|
2509
2572
|
value?: string | undefined;
|
@@ -2512,14 +2575,14 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
|
|
2512
2575
|
}) | ({
|
2513
2576
|
type: "nudge_interaction";
|
2514
2577
|
operator: "is" | "isNot";
|
2515
|
-
value: "completed" | "
|
2578
|
+
value: "completed" | "viewed" | "dismissed";
|
2516
2579
|
nudge_id: number;
|
2517
2580
|
} & {
|
2518
2581
|
reason?: string | undefined;
|
2519
2582
|
}) | ({
|
2520
2583
|
type: "questlist_interaction";
|
2521
2584
|
operator: "is" | "isNot";
|
2522
|
-
value: "completed" | "
|
2585
|
+
value: "completed" | "viewed" | "dismissed";
|
2523
2586
|
questlist_id: number;
|
2524
2587
|
} & {
|
2525
2588
|
reason?: string | undefined;
|
@@ -2531,8 +2594,8 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
|
|
2531
2594
|
reason?: string | undefined;
|
2532
2595
|
}))[];
|
2533
2596
|
recommend_rules: (({
|
2534
|
-
type: "url" | "element" | "amplitude" | "context" | "
|
2535
|
-
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";
|
2536
2599
|
} & {
|
2537
2600
|
field?: string | undefined;
|
2538
2601
|
value?: string | undefined;
|
@@ -2541,14 +2604,14 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
|
|
2541
2604
|
}) | ({
|
2542
2605
|
type: "nudge_interaction";
|
2543
2606
|
operator: "is" | "isNot";
|
2544
|
-
value: "completed" | "
|
2607
|
+
value: "completed" | "viewed" | "dismissed";
|
2545
2608
|
nudge_id: number;
|
2546
2609
|
} & {
|
2547
2610
|
reason?: string | undefined;
|
2548
2611
|
}) | ({
|
2549
2612
|
type: "questlist_interaction";
|
2550
2613
|
operator: "is" | "isNot";
|
2551
|
-
value: "completed" | "
|
2614
|
+
value: "completed" | "viewed" | "dismissed";
|
2552
2615
|
questlist_id: number;
|
2553
2616
|
} & {
|
2554
2617
|
reason?: string | undefined;
|
@@ -2615,23 +2678,23 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
|
|
2615
2678
|
hotkey_mac: string;
|
2616
2679
|
hotkey_win: string;
|
2617
2680
|
detail: string | ({
|
2618
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
2681
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
2619
2682
|
value: string;
|
2620
2683
|
} & {
|
2621
2684
|
position?: "inline" | "popover" | undefined;
|
2622
2685
|
}) | (string | ({
|
2623
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
2686
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
2624
2687
|
value: string;
|
2625
2688
|
} & {
|
2626
2689
|
position?: "inline" | "popover" | undefined;
|
2627
2690
|
}))[] | null;
|
2628
2691
|
content: string | ({
|
2629
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
2692
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
2630
2693
|
value: string;
|
2631
2694
|
} & {
|
2632
2695
|
position?: "inline" | "popover" | undefined;
|
2633
2696
|
}) | (string | ({
|
2634
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
2697
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
2635
2698
|
value: string;
|
2636
2699
|
} & {
|
2637
2700
|
position?: "inline" | "popover" | undefined;
|
@@ -2639,31 +2702,38 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
|
|
2639
2702
|
show_preview: boolean;
|
2640
2703
|
next_steps: (string | number | {
|
2641
2704
|
cta: string;
|
2642
|
-
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
|
+
} | {
|
2643
2717
|
type: "execute_command";
|
2644
2718
|
meta: {
|
2645
2719
|
command: string;
|
2646
2720
|
} & {
|
2647
2721
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
2648
2722
|
};
|
2723
|
+
} | {
|
2724
|
+
type: "no_action";
|
2649
2725
|
} | {
|
2650
2726
|
type: "click";
|
2651
2727
|
value: string;
|
2652
2728
|
} | {
|
2653
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
2654
|
-
value: string[];
|
2655
|
-
} | ({
|
2656
|
-
type: "link";
|
2657
|
-
value: string;
|
2658
|
-
} & {
|
2659
|
-
operation?: "self" | "router" | "blank" | undefined;
|
2660
|
-
meta?: {
|
2661
|
-
command: string;
|
2662
|
-
} | undefined;
|
2663
|
-
}) | {
|
2664
2729
|
type: "open_chat";
|
2665
2730
|
meta: {
|
2666
|
-
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";
|
2667
2737
|
};
|
2668
2738
|
} | {
|
2669
2739
|
type: "dismiss";
|
@@ -2672,14 +2742,14 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
|
|
2672
2742
|
} | {
|
2673
2743
|
type: "questlist";
|
2674
2744
|
value: number;
|
2675
|
-
} | {
|
2676
|
-
type: "step_back";
|
2677
2745
|
} | {
|
2678
2746
|
type: "nudge";
|
2679
2747
|
value: number;
|
2680
2748
|
} | {
|
2681
2749
|
type: "go_to_step";
|
2682
2750
|
value: number;
|
2751
|
+
} | {
|
2752
|
+
type: "step_back";
|
2683
2753
|
} | ({
|
2684
2754
|
type: "open_bar";
|
2685
2755
|
} & {
|
@@ -2687,11 +2757,11 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
|
|
2687
2757
|
categoryFilter?: number | undefined;
|
2688
2758
|
}) | {
|
2689
2759
|
type: "open_helphub";
|
2690
|
-
} | {
|
2760
|
+
} | ({
|
2691
2761
|
type: "open_copilot";
|
2692
|
-
}
|
2693
|
-
|
2694
|
-
};
|
2762
|
+
} & {
|
2763
|
+
query?: string | undefined;
|
2764
|
+
});
|
2695
2765
|
})[];
|
2696
2766
|
extra: string | null;
|
2697
2767
|
thumbnail: {
|
@@ -2731,40 +2801,40 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
|
|
2731
2801
|
id: number;
|
2732
2802
|
text: string;
|
2733
2803
|
template: ({
|
2734
|
-
type: "
|
2804
|
+
type: "callback";
|
2735
2805
|
value: string;
|
2736
2806
|
} & {} & {
|
2737
2807
|
commandType?: "object" | "help" | "independent" | undefined;
|
2738
2808
|
object?: string | undefined;
|
2739
2809
|
hoverTooltip?: boolean | undefined;
|
2740
|
-
operation?: "self" | "router" | "
|
2810
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2741
2811
|
metadata?: {
|
2742
2812
|
[key: string]: unknown;
|
2743
2813
|
} | undefined;
|
2744
2814
|
}) | ({
|
2745
|
-
type: "
|
2815
|
+
type: "link";
|
2746
2816
|
value: string;
|
2817
|
+
} & {
|
2818
|
+
operation?: "self" | "router" | "blank" | undefined;
|
2819
|
+
meta?: {
|
2820
|
+
command: string;
|
2821
|
+
} | undefined;
|
2747
2822
|
} & {} & {
|
2748
2823
|
commandType?: "object" | "help" | "independent" | undefined;
|
2749
2824
|
object?: string | undefined;
|
2750
2825
|
hoverTooltip?: boolean | undefined;
|
2751
|
-
operation?: "self" | "router" | "
|
2826
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2752
2827
|
metadata?: {
|
2753
2828
|
[key: string]: unknown;
|
2754
2829
|
} | undefined;
|
2755
2830
|
}) | ({
|
2756
|
-
type: "
|
2831
|
+
type: "webhook";
|
2757
2832
|
value: string;
|
2758
|
-
} & {
|
2759
|
-
operation?: "self" | "router" | "blank" | undefined;
|
2760
|
-
meta?: {
|
2761
|
-
command: string;
|
2762
|
-
} | undefined;
|
2763
2833
|
} & {} & {
|
2764
2834
|
commandType?: "object" | "help" | "independent" | undefined;
|
2765
2835
|
object?: string | undefined;
|
2766
2836
|
hoverTooltip?: boolean | undefined;
|
2767
|
-
operation?: "self" | "router" | "
|
2837
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2768
2838
|
metadata?: {
|
2769
2839
|
[key: string]: unknown;
|
2770
2840
|
} | undefined;
|
@@ -2775,146 +2845,153 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
|
|
2775
2845
|
commandType?: "object" | "help" | "independent" | undefined;
|
2776
2846
|
object?: string | undefined;
|
2777
2847
|
hoverTooltip?: boolean | undefined;
|
2778
|
-
operation?: "self" | "router" | "
|
2848
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2779
2849
|
metadata?: {
|
2780
2850
|
[key: string]: unknown;
|
2781
2851
|
} | undefined;
|
2782
2852
|
}) | ({
|
2783
|
-
type: "
|
2784
|
-
value:
|
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
|
+
};
|
2785
2868
|
} & {} & {
|
2786
2869
|
commandType?: "object" | "help" | "independent" | undefined;
|
2787
2870
|
object?: string | undefined;
|
2788
2871
|
hoverTooltip?: boolean | undefined;
|
2789
|
-
operation?: "self" | "router" | "
|
2872
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2790
2873
|
metadata?: {
|
2791
2874
|
[key: string]: unknown;
|
2792
2875
|
} | undefined;
|
2793
2876
|
}) | ({
|
2794
|
-
type: "
|
2877
|
+
type: "appcues";
|
2795
2878
|
value: string;
|
2796
2879
|
} & {} & {
|
2797
2880
|
commandType?: "object" | "help" | "independent" | undefined;
|
2798
2881
|
object?: string | undefined;
|
2799
2882
|
hoverTooltip?: boolean | undefined;
|
2800
|
-
operation?: "self" | "router" | "
|
2883
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2801
2884
|
metadata?: {
|
2802
2885
|
[key: string]: unknown;
|
2803
2886
|
} | undefined;
|
2804
2887
|
}) | ({
|
2805
|
-
type: "
|
2888
|
+
type: "pendo_guide";
|
2806
2889
|
value: string;
|
2807
2890
|
} & {} & {
|
2808
2891
|
commandType?: "object" | "help" | "independent" | undefined;
|
2809
2892
|
object?: string | undefined;
|
2810
2893
|
hoverTooltip?: boolean | undefined;
|
2811
|
-
operation?: "self" | "router" | "
|
2812
|
-
metadata?: {
|
2813
|
-
[key: string]: unknown;
|
2814
|
-
} | undefined;
|
2815
|
-
}) | ({
|
2816
|
-
type: "
|
2817
|
-
value:
|
2818
|
-
|
2819
|
-
|
2820
|
-
|
2821
|
-
|
2822
|
-
|
2823
|
-
|
2824
|
-
|
2825
|
-
|
2826
|
-
} | undefined;
|
2827
|
-
onSend?: string | undefined;
|
2828
|
-
onSuccess?: string | undefined;
|
2829
|
-
onError?: string | undefined;
|
2830
|
-
};
|
2894
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2895
|
+
metadata?: {
|
2896
|
+
[key: string]: unknown;
|
2897
|
+
} | undefined;
|
2898
|
+
}) | ({
|
2899
|
+
type: "helpdoc";
|
2900
|
+
value: string;
|
2901
|
+
} & {
|
2902
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2903
|
+
doc_metadata?: {
|
2904
|
+
content_type?: string | undefined;
|
2905
|
+
date?: string | undefined;
|
2906
|
+
} | undefined;
|
2907
|
+
} & {
|
2908
|
+
doc_type?: "answer" | "doc" | undefined;
|
2831
2909
|
} & {} & {
|
2832
2910
|
commandType?: "object" | "help" | "independent" | undefined;
|
2833
2911
|
object?: string | undefined;
|
2834
2912
|
hoverTooltip?: boolean | undefined;
|
2835
|
-
operation?: "self" | "router" | "
|
2913
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2836
2914
|
metadata?: {
|
2837
2915
|
[key: string]: unknown;
|
2838
2916
|
} | undefined;
|
2839
2917
|
}) | ({
|
2840
|
-
type: "
|
2918
|
+
type: "admin";
|
2841
2919
|
value: string;
|
2842
2920
|
} & {} & {
|
2843
2921
|
commandType?: "object" | "help" | "independent" | undefined;
|
2844
2922
|
object?: string | undefined;
|
2845
2923
|
hoverTooltip?: boolean | undefined;
|
2846
|
-
operation?: "self" | "router" | "
|
2924
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2847
2925
|
metadata?: {
|
2848
2926
|
[key: string]: unknown;
|
2849
2927
|
} | undefined;
|
2850
2928
|
}) | ({
|
2851
|
-
type: "
|
2929
|
+
type: "builtin";
|
2852
2930
|
value: string;
|
2853
2931
|
} & {} & {
|
2854
2932
|
commandType?: "object" | "help" | "independent" | undefined;
|
2855
2933
|
object?: string | undefined;
|
2856
2934
|
hoverTooltip?: boolean | undefined;
|
2857
|
-
operation?: "self" | "router" | "
|
2935
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2858
2936
|
metadata?: {
|
2859
2937
|
[key: string]: unknown;
|
2860
2938
|
} | undefined;
|
2861
2939
|
}) | ({
|
2862
|
-
type: "
|
2940
|
+
type: "script";
|
2863
2941
|
value: string;
|
2864
2942
|
} & {} & {
|
2865
2943
|
commandType?: "object" | "help" | "independent" | undefined;
|
2866
2944
|
object?: string | undefined;
|
2867
2945
|
hoverTooltip?: boolean | undefined;
|
2868
|
-
operation?: "self" | "router" | "
|
2946
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2869
2947
|
metadata?: {
|
2870
2948
|
[key: string]: unknown;
|
2871
2949
|
} | undefined;
|
2872
2950
|
}) | ({
|
2873
|
-
type: "
|
2951
|
+
type: "video";
|
2874
2952
|
value: string;
|
2875
|
-
} & {
|
2876
|
-
operation?: "self" | "router" | "blank" | "help_hub" | undefined;
|
2877
|
-
doc_metadata?: {
|
2878
|
-
content_type?: string | undefined;
|
2879
|
-
date?: string | undefined;
|
2880
|
-
} | undefined;
|
2881
|
-
} & {
|
2882
|
-
doc_type?: "answer" | "doc" | undefined;
|
2883
2953
|
} & {} & {
|
2884
2954
|
commandType?: "object" | "help" | "independent" | undefined;
|
2885
2955
|
object?: string | undefined;
|
2886
2956
|
hoverTooltip?: boolean | undefined;
|
2887
|
-
operation?: "self" | "router" | "
|
2957
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2888
2958
|
metadata?: {
|
2889
2959
|
[key: string]: unknown;
|
2890
2960
|
} | undefined;
|
2891
2961
|
}) | ({
|
2892
2962
|
type: "trigger";
|
2893
|
-
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
|
+
} | {
|
2894
2975
|
type: "execute_command";
|
2895
2976
|
meta: {
|
2896
2977
|
command: string;
|
2897
2978
|
} & {
|
2898
2979
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
2899
2980
|
};
|
2981
|
+
} | {
|
2982
|
+
type: "no_action";
|
2900
2983
|
} | {
|
2901
2984
|
type: "click";
|
2902
2985
|
value: string;
|
2903
2986
|
} | {
|
2904
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
2905
|
-
value: string[];
|
2906
|
-
} | ({
|
2907
|
-
type: "link";
|
2908
|
-
value: string;
|
2909
|
-
} & {
|
2910
|
-
operation?: "self" | "router" | "blank" | undefined;
|
2911
|
-
meta?: {
|
2912
|
-
command: string;
|
2913
|
-
} | undefined;
|
2914
|
-
}) | {
|
2915
2987
|
type: "open_chat";
|
2916
2988
|
meta: {
|
2917
|
-
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";
|
2918
2995
|
};
|
2919
2996
|
} | {
|
2920
2997
|
type: "dismiss";
|
@@ -2923,14 +3000,14 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
|
|
2923
3000
|
} | {
|
2924
3001
|
type: "questlist";
|
2925
3002
|
value: number;
|
2926
|
-
} | {
|
2927
|
-
type: "step_back";
|
2928
3003
|
} | {
|
2929
3004
|
type: "nudge";
|
2930
3005
|
value: number;
|
2931
3006
|
} | {
|
2932
3007
|
type: "go_to_step";
|
2933
3008
|
value: number;
|
3009
|
+
} | {
|
3010
|
+
type: "step_back";
|
2934
3011
|
} | ({
|
2935
3012
|
type: "open_bar";
|
2936
3013
|
} & {
|
@@ -2938,16 +3015,16 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
|
|
2938
3015
|
categoryFilter?: number | undefined;
|
2939
3016
|
}) | {
|
2940
3017
|
type: "open_helphub";
|
2941
|
-
} | {
|
3018
|
+
} | ({
|
2942
3019
|
type: "open_copilot";
|
2943
|
-
}
|
2944
|
-
|
2945
|
-
};
|
3020
|
+
} & {
|
3021
|
+
query?: string | undefined;
|
3022
|
+
});
|
2946
3023
|
} & {} & {
|
2947
3024
|
commandType?: "object" | "help" | "independent" | undefined;
|
2948
3025
|
object?: string | undefined;
|
2949
3026
|
hoverTooltip?: boolean | undefined;
|
2950
|
-
operation?: "self" | "router" | "
|
3027
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
2951
3028
|
metadata?: {
|
2952
3029
|
[key: string]: unknown;
|
2953
3030
|
} | undefined;
|
@@ -3040,8 +3117,8 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
|
|
3040
3117
|
};
|
3041
3118
|
tags: string[];
|
3042
3119
|
availability_rules: (({
|
3043
|
-
type: "url" | "element" | "amplitude" | "context" | "
|
3044
|
-
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";
|
3045
3122
|
} & {
|
3046
3123
|
field?: string | undefined;
|
3047
3124
|
value?: string | undefined;
|
@@ -3050,14 +3127,14 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
|
|
3050
3127
|
}) | ({
|
3051
3128
|
type: "nudge_interaction";
|
3052
3129
|
operator: "is" | "isNot";
|
3053
|
-
value: "completed" | "
|
3130
|
+
value: "completed" | "viewed" | "dismissed";
|
3054
3131
|
nudge_id: number;
|
3055
3132
|
} & {
|
3056
3133
|
reason?: string | undefined;
|
3057
3134
|
}) | ({
|
3058
3135
|
type: "questlist_interaction";
|
3059
3136
|
operator: "is" | "isNot";
|
3060
|
-
value: "completed" | "
|
3137
|
+
value: "completed" | "viewed" | "dismissed";
|
3061
3138
|
questlist_id: number;
|
3062
3139
|
} & {
|
3063
3140
|
reason?: string | undefined;
|
@@ -3069,8 +3146,8 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
|
|
3069
3146
|
reason?: string | undefined;
|
3070
3147
|
}))[];
|
3071
3148
|
recommend_rules: (({
|
3072
|
-
type: "url" | "element" | "amplitude" | "context" | "
|
3073
|
-
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";
|
3074
3151
|
} & {
|
3075
3152
|
field?: string | undefined;
|
3076
3153
|
value?: string | undefined;
|
@@ -3079,14 +3156,14 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
|
|
3079
3156
|
}) | ({
|
3080
3157
|
type: "nudge_interaction";
|
3081
3158
|
operator: "is" | "isNot";
|
3082
|
-
value: "completed" | "
|
3159
|
+
value: "completed" | "viewed" | "dismissed";
|
3083
3160
|
nudge_id: number;
|
3084
3161
|
} & {
|
3085
3162
|
reason?: string | undefined;
|
3086
3163
|
}) | ({
|
3087
3164
|
type: "questlist_interaction";
|
3088
3165
|
operator: "is" | "isNot";
|
3089
|
-
value: "completed" | "
|
3166
|
+
value: "completed" | "viewed" | "dismissed";
|
3090
3167
|
questlist_id: number;
|
3091
3168
|
} & {
|
3092
3169
|
reason?: string | undefined;
|
@@ -3153,23 +3230,23 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
|
|
3153
3230
|
hotkey_mac: string;
|
3154
3231
|
hotkey_win: string;
|
3155
3232
|
detail: string | ({
|
3156
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
3233
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
3157
3234
|
value: string;
|
3158
3235
|
} & {
|
3159
3236
|
position?: "inline" | "popover" | undefined;
|
3160
3237
|
}) | (string | ({
|
3161
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
3238
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
3162
3239
|
value: string;
|
3163
3240
|
} & {
|
3164
3241
|
position?: "inline" | "popover" | undefined;
|
3165
3242
|
}))[] | null;
|
3166
3243
|
content: string | ({
|
3167
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
3244
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
3168
3245
|
value: string;
|
3169
3246
|
} & {
|
3170
3247
|
position?: "inline" | "popover" | undefined;
|
3171
3248
|
}) | (string | ({
|
3172
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
3249
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
3173
3250
|
value: string;
|
3174
3251
|
} & {
|
3175
3252
|
position?: "inline" | "popover" | undefined;
|
@@ -3177,31 +3254,38 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
|
|
3177
3254
|
show_preview: boolean;
|
3178
3255
|
next_steps: (string | number | {
|
3179
3256
|
cta: string;
|
3180
|
-
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
|
+
} | {
|
3181
3269
|
type: "execute_command";
|
3182
3270
|
meta: {
|
3183
3271
|
command: string;
|
3184
3272
|
} & {
|
3185
3273
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
3186
3274
|
};
|
3275
|
+
} | {
|
3276
|
+
type: "no_action";
|
3187
3277
|
} | {
|
3188
3278
|
type: "click";
|
3189
3279
|
value: string;
|
3190
3280
|
} | {
|
3191
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
3192
|
-
value: string[];
|
3193
|
-
} | ({
|
3194
|
-
type: "link";
|
3195
|
-
value: string;
|
3196
|
-
} & {
|
3197
|
-
operation?: "self" | "router" | "blank" | undefined;
|
3198
|
-
meta?: {
|
3199
|
-
command: string;
|
3200
|
-
} | undefined;
|
3201
|
-
}) | {
|
3202
3281
|
type: "open_chat";
|
3203
3282
|
meta: {
|
3204
|
-
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";
|
3205
3289
|
};
|
3206
3290
|
} | {
|
3207
3291
|
type: "dismiss";
|
@@ -3210,14 +3294,14 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
|
|
3210
3294
|
} | {
|
3211
3295
|
type: "questlist";
|
3212
3296
|
value: number;
|
3213
|
-
} | {
|
3214
|
-
type: "step_back";
|
3215
3297
|
} | {
|
3216
3298
|
type: "nudge";
|
3217
3299
|
value: number;
|
3218
3300
|
} | {
|
3219
3301
|
type: "go_to_step";
|
3220
3302
|
value: number;
|
3303
|
+
} | {
|
3304
|
+
type: "step_back";
|
3221
3305
|
} | ({
|
3222
3306
|
type: "open_bar";
|
3223
3307
|
} & {
|
@@ -3225,11 +3309,11 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
|
|
3225
3309
|
categoryFilter?: number | undefined;
|
3226
3310
|
}) | {
|
3227
3311
|
type: "open_helphub";
|
3228
|
-
} | {
|
3312
|
+
} | ({
|
3229
3313
|
type: "open_copilot";
|
3230
|
-
}
|
3231
|
-
|
3232
|
-
};
|
3314
|
+
} & {
|
3315
|
+
query?: string | undefined;
|
3316
|
+
});
|
3233
3317
|
})[];
|
3234
3318
|
extra: string | null;
|
3235
3319
|
thumbnail: {
|
@@ -3298,40 +3382,40 @@ export declare class ExperiencesSearch {
|
|
3298
3382
|
id: number;
|
3299
3383
|
text: string;
|
3300
3384
|
template: ({
|
3301
|
-
type: "
|
3385
|
+
type: "callback";
|
3302
3386
|
value: string;
|
3303
3387
|
} & {} & {
|
3304
3388
|
commandType?: "object" | "help" | "independent" | undefined;
|
3305
3389
|
object?: string | undefined;
|
3306
3390
|
hoverTooltip?: boolean | undefined;
|
3307
|
-
operation?: "self" | "router" | "
|
3391
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
3308
3392
|
metadata?: {
|
3309
3393
|
[key: string]: unknown;
|
3310
3394
|
} | undefined;
|
3311
3395
|
}) | ({
|
3312
|
-
type: "
|
3396
|
+
type: "link";
|
3313
3397
|
value: string;
|
3398
|
+
} & {
|
3399
|
+
operation?: "self" | "router" | "blank" | undefined;
|
3400
|
+
meta?: {
|
3401
|
+
command: string;
|
3402
|
+
} | undefined;
|
3314
3403
|
} & {} & {
|
3315
3404
|
commandType?: "object" | "help" | "independent" | undefined;
|
3316
3405
|
object?: string | undefined;
|
3317
3406
|
hoverTooltip?: boolean | undefined;
|
3318
|
-
operation?: "self" | "router" | "
|
3407
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
3319
3408
|
metadata?: {
|
3320
3409
|
[key: string]: unknown;
|
3321
3410
|
} | undefined;
|
3322
3411
|
}) | ({
|
3323
|
-
type: "
|
3412
|
+
type: "webhook";
|
3324
3413
|
value: string;
|
3325
|
-
} & {
|
3326
|
-
operation?: "self" | "router" | "blank" | undefined;
|
3327
|
-
meta?: {
|
3328
|
-
command: string;
|
3329
|
-
} | undefined;
|
3330
3414
|
} & {} & {
|
3331
3415
|
commandType?: "object" | "help" | "independent" | undefined;
|
3332
3416
|
object?: string | undefined;
|
3333
3417
|
hoverTooltip?: boolean | undefined;
|
3334
|
-
operation?: "self" | "router" | "
|
3418
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
3335
3419
|
metadata?: {
|
3336
3420
|
[key: string]: unknown;
|
3337
3421
|
} | undefined;
|
@@ -3342,146 +3426,153 @@ export declare class ExperiencesSearch {
|
|
3342
3426
|
commandType?: "object" | "help" | "independent" | undefined;
|
3343
3427
|
object?: string | undefined;
|
3344
3428
|
hoverTooltip?: boolean | undefined;
|
3345
|
-
operation?: "self" | "router" | "
|
3429
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
3346
3430
|
metadata?: {
|
3347
3431
|
[key: string]: unknown;
|
3348
3432
|
} | undefined;
|
3349
3433
|
}) | ({
|
3350
|
-
type: "
|
3351
|
-
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
|
+
};
|
3352
3449
|
} & {} & {
|
3353
3450
|
commandType?: "object" | "help" | "independent" | undefined;
|
3354
3451
|
object?: string | undefined;
|
3355
3452
|
hoverTooltip?: boolean | undefined;
|
3356
|
-
operation?: "self" | "router" | "
|
3453
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
3357
3454
|
metadata?: {
|
3358
3455
|
[key: string]: unknown;
|
3359
3456
|
} | undefined;
|
3360
3457
|
}) | ({
|
3361
|
-
type: "
|
3458
|
+
type: "appcues";
|
3362
3459
|
value: string;
|
3363
3460
|
} & {} & {
|
3364
3461
|
commandType?: "object" | "help" | "independent" | undefined;
|
3365
3462
|
object?: string | undefined;
|
3366
3463
|
hoverTooltip?: boolean | undefined;
|
3367
|
-
operation?: "self" | "router" | "
|
3464
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
3368
3465
|
metadata?: {
|
3369
3466
|
[key: string]: unknown;
|
3370
3467
|
} | undefined;
|
3371
3468
|
}) | ({
|
3372
|
-
type: "
|
3469
|
+
type: "pendo_guide";
|
3373
3470
|
value: string;
|
3374
3471
|
} & {} & {
|
3375
3472
|
commandType?: "object" | "help" | "independent" | undefined;
|
3376
3473
|
object?: string | undefined;
|
3377
3474
|
hoverTooltip?: boolean | undefined;
|
3378
|
-
operation?: "self" | "router" | "
|
3475
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
3379
3476
|
metadata?: {
|
3380
3477
|
[key: string]: unknown;
|
3381
3478
|
} | undefined;
|
3382
3479
|
}) | ({
|
3383
|
-
type: "
|
3384
|
-
value:
|
3385
|
-
|
3386
|
-
|
3387
|
-
|
3388
|
-
|
3389
|
-
|
3390
|
-
|
3391
|
-
|
3392
|
-
|
3393
|
-
} | undefined;
|
3394
|
-
onSend?: string | undefined;
|
3395
|
-
onSuccess?: string | undefined;
|
3396
|
-
onError?: string | undefined;
|
3397
|
-
};
|
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;
|
3398
3490
|
} & {} & {
|
3399
3491
|
commandType?: "object" | "help" | "independent" | undefined;
|
3400
3492
|
object?: string | undefined;
|
3401
3493
|
hoverTooltip?: boolean | undefined;
|
3402
|
-
operation?: "self" | "router" | "
|
3494
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
3403
3495
|
metadata?: {
|
3404
3496
|
[key: string]: unknown;
|
3405
3497
|
} | undefined;
|
3406
3498
|
}) | ({
|
3407
|
-
type: "
|
3499
|
+
type: "admin";
|
3408
3500
|
value: string;
|
3409
3501
|
} & {} & {
|
3410
3502
|
commandType?: "object" | "help" | "independent" | undefined;
|
3411
3503
|
object?: string | undefined;
|
3412
3504
|
hoverTooltip?: boolean | undefined;
|
3413
|
-
operation?: "self" | "router" | "
|
3505
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
3414
3506
|
metadata?: {
|
3415
3507
|
[key: string]: unknown;
|
3416
3508
|
} | undefined;
|
3417
3509
|
}) | ({
|
3418
|
-
type: "
|
3510
|
+
type: "builtin";
|
3419
3511
|
value: string;
|
3420
3512
|
} & {} & {
|
3421
3513
|
commandType?: "object" | "help" | "independent" | undefined;
|
3422
3514
|
object?: string | undefined;
|
3423
3515
|
hoverTooltip?: boolean | undefined;
|
3424
|
-
operation?: "self" | "router" | "
|
3516
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
3425
3517
|
metadata?: {
|
3426
3518
|
[key: string]: unknown;
|
3427
3519
|
} | undefined;
|
3428
3520
|
}) | ({
|
3429
|
-
type: "
|
3521
|
+
type: "script";
|
3430
3522
|
value: string;
|
3431
3523
|
} & {} & {
|
3432
3524
|
commandType?: "object" | "help" | "independent" | undefined;
|
3433
3525
|
object?: string | undefined;
|
3434
3526
|
hoverTooltip?: boolean | undefined;
|
3435
|
-
operation?: "self" | "router" | "
|
3527
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
3436
3528
|
metadata?: {
|
3437
3529
|
[key: string]: unknown;
|
3438
3530
|
} | undefined;
|
3439
3531
|
}) | ({
|
3440
|
-
type: "
|
3532
|
+
type: "video";
|
3441
3533
|
value: string;
|
3442
|
-
} & {
|
3443
|
-
operation?: "self" | "router" | "blank" | "help_hub" | undefined;
|
3444
|
-
doc_metadata?: {
|
3445
|
-
content_type?: string | undefined;
|
3446
|
-
date?: string | undefined;
|
3447
|
-
} | undefined;
|
3448
|
-
} & {
|
3449
|
-
doc_type?: "answer" | "doc" | undefined;
|
3450
3534
|
} & {} & {
|
3451
3535
|
commandType?: "object" | "help" | "independent" | undefined;
|
3452
3536
|
object?: string | undefined;
|
3453
3537
|
hoverTooltip?: boolean | undefined;
|
3454
|
-
operation?: "self" | "router" | "
|
3538
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
3455
3539
|
metadata?: {
|
3456
3540
|
[key: string]: unknown;
|
3457
3541
|
} | undefined;
|
3458
3542
|
}) | ({
|
3459
3543
|
type: "trigger";
|
3460
|
-
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
|
+
} | {
|
3461
3556
|
type: "execute_command";
|
3462
3557
|
meta: {
|
3463
3558
|
command: string;
|
3464
3559
|
} & {
|
3465
3560
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
3466
3561
|
};
|
3562
|
+
} | {
|
3563
|
+
type: "no_action";
|
3467
3564
|
} | {
|
3468
3565
|
type: "click";
|
3469
3566
|
value: string;
|
3470
3567
|
} | {
|
3471
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
3472
|
-
value: string[];
|
3473
|
-
} | ({
|
3474
|
-
type: "link";
|
3475
|
-
value: string;
|
3476
|
-
} & {
|
3477
|
-
operation?: "self" | "router" | "blank" | undefined;
|
3478
|
-
meta?: {
|
3479
|
-
command: string;
|
3480
|
-
} | undefined;
|
3481
|
-
}) | {
|
3482
3568
|
type: "open_chat";
|
3483
3569
|
meta: {
|
3484
|
-
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";
|
3485
3576
|
};
|
3486
3577
|
} | {
|
3487
3578
|
type: "dismiss";
|
@@ -3490,14 +3581,14 @@ export declare class ExperiencesSearch {
|
|
3490
3581
|
} | {
|
3491
3582
|
type: "questlist";
|
3492
3583
|
value: number;
|
3493
|
-
} | {
|
3494
|
-
type: "step_back";
|
3495
3584
|
} | {
|
3496
3585
|
type: "nudge";
|
3497
3586
|
value: number;
|
3498
3587
|
} | {
|
3499
3588
|
type: "go_to_step";
|
3500
3589
|
value: number;
|
3590
|
+
} | {
|
3591
|
+
type: "step_back";
|
3501
3592
|
} | ({
|
3502
3593
|
type: "open_bar";
|
3503
3594
|
} & {
|
@@ -3505,16 +3596,16 @@ export declare class ExperiencesSearch {
|
|
3505
3596
|
categoryFilter?: number | undefined;
|
3506
3597
|
}) | {
|
3507
3598
|
type: "open_helphub";
|
3508
|
-
} | {
|
3599
|
+
} | ({
|
3509
3600
|
type: "open_copilot";
|
3510
|
-
}
|
3511
|
-
|
3512
|
-
};
|
3601
|
+
} & {
|
3602
|
+
query?: string | undefined;
|
3603
|
+
});
|
3513
3604
|
} & {} & {
|
3514
3605
|
commandType?: "object" | "help" | "independent" | undefined;
|
3515
3606
|
object?: string | undefined;
|
3516
3607
|
hoverTooltip?: boolean | undefined;
|
3517
|
-
operation?: "self" | "router" | "
|
3608
|
+
operation?: "self" | "router" | "help_hub" | "blank" | undefined;
|
3518
3609
|
metadata?: {
|
3519
3610
|
[key: string]: unknown;
|
3520
3611
|
} | undefined;
|
@@ -3607,8 +3698,8 @@ export declare class ExperiencesSearch {
|
|
3607
3698
|
};
|
3608
3699
|
tags: string[];
|
3609
3700
|
availability_rules: (({
|
3610
|
-
type: "url" | "element" | "amplitude" | "context" | "
|
3611
|
-
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";
|
3612
3703
|
} & {
|
3613
3704
|
field?: string | undefined;
|
3614
3705
|
value?: string | undefined;
|
@@ -3617,14 +3708,14 @@ export declare class ExperiencesSearch {
|
|
3617
3708
|
}) | ({
|
3618
3709
|
type: "nudge_interaction";
|
3619
3710
|
operator: "is" | "isNot";
|
3620
|
-
value: "completed" | "
|
3711
|
+
value: "completed" | "viewed" | "dismissed";
|
3621
3712
|
nudge_id: number;
|
3622
3713
|
} & {
|
3623
3714
|
reason?: string | undefined;
|
3624
3715
|
}) | ({
|
3625
3716
|
type: "questlist_interaction";
|
3626
3717
|
operator: "is" | "isNot";
|
3627
|
-
value: "completed" | "
|
3718
|
+
value: "completed" | "viewed" | "dismissed";
|
3628
3719
|
questlist_id: number;
|
3629
3720
|
} & {
|
3630
3721
|
reason?: string | undefined;
|
@@ -3636,8 +3727,8 @@ export declare class ExperiencesSearch {
|
|
3636
3727
|
reason?: string | undefined;
|
3637
3728
|
}))[];
|
3638
3729
|
recommend_rules: (({
|
3639
|
-
type: "url" | "element" | "amplitude" | "context" | "
|
3640
|
-
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";
|
3641
3732
|
} & {
|
3642
3733
|
field?: string | undefined;
|
3643
3734
|
value?: string | undefined;
|
@@ -3646,14 +3737,14 @@ export declare class ExperiencesSearch {
|
|
3646
3737
|
}) | ({
|
3647
3738
|
type: "nudge_interaction";
|
3648
3739
|
operator: "is" | "isNot";
|
3649
|
-
value: "completed" | "
|
3740
|
+
value: "completed" | "viewed" | "dismissed";
|
3650
3741
|
nudge_id: number;
|
3651
3742
|
} & {
|
3652
3743
|
reason?: string | undefined;
|
3653
3744
|
}) | ({
|
3654
3745
|
type: "questlist_interaction";
|
3655
3746
|
operator: "is" | "isNot";
|
3656
|
-
value: "completed" | "
|
3747
|
+
value: "completed" | "viewed" | "dismissed";
|
3657
3748
|
questlist_id: number;
|
3658
3749
|
} & {
|
3659
3750
|
reason?: string | undefined;
|
@@ -3720,23 +3811,23 @@ export declare class ExperiencesSearch {
|
|
3720
3811
|
hotkey_mac: string;
|
3721
3812
|
hotkey_win: string;
|
3722
3813
|
detail: string | ({
|
3723
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
3814
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
3724
3815
|
value: string;
|
3725
3816
|
} & {
|
3726
3817
|
position?: "inline" | "popover" | undefined;
|
3727
3818
|
}) | (string | ({
|
3728
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
3819
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
3729
3820
|
value: string;
|
3730
3821
|
} & {
|
3731
3822
|
position?: "inline" | "popover" | undefined;
|
3732
3823
|
}))[] | null;
|
3733
3824
|
content: string | ({
|
3734
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
3825
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
3735
3826
|
value: string;
|
3736
3827
|
} & {
|
3737
3828
|
position?: "inline" | "popover" | undefined;
|
3738
3829
|
}) | (string | ({
|
3739
|
-
type: "html" | "video" | "plaintext" | "markdown" | "
|
3830
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
3740
3831
|
value: string;
|
3741
3832
|
} & {
|
3742
3833
|
position?: "inline" | "popover" | undefined;
|
@@ -3744,31 +3835,38 @@ export declare class ExperiencesSearch {
|
|
3744
3835
|
show_preview: boolean;
|
3745
3836
|
next_steps: (string | number | {
|
3746
3837
|
cta: string;
|
3747
|
-
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
|
+
} | {
|
3748
3850
|
type: "execute_command";
|
3749
3851
|
meta: {
|
3750
3852
|
command: string;
|
3751
3853
|
} & {
|
3752
3854
|
type?: "link" | "video" | "action" | "helpdoc" | undefined;
|
3753
3855
|
};
|
3856
|
+
} | {
|
3857
|
+
type: "no_action";
|
3754
3858
|
} | {
|
3755
3859
|
type: "click";
|
3756
3860
|
value: string;
|
3757
3861
|
} | {
|
3758
|
-
type: "click" | "clickBySelector" | "clickByXpath";
|
3759
|
-
value: string[];
|
3760
|
-
} | ({
|
3761
|
-
type: "link";
|
3762
|
-
value: string;
|
3763
|
-
} & {
|
3764
|
-
operation?: "self" | "router" | "blank" | undefined;
|
3765
|
-
meta?: {
|
3766
|
-
command: string;
|
3767
|
-
} | undefined;
|
3768
|
-
}) | {
|
3769
3862
|
type: "open_chat";
|
3770
3863
|
meta: {
|
3771
|
-
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";
|
3772
3870
|
};
|
3773
3871
|
} | {
|
3774
3872
|
type: "dismiss";
|
@@ -3777,14 +3875,14 @@ export declare class ExperiencesSearch {
|
|
3777
3875
|
} | {
|
3778
3876
|
type: "questlist";
|
3779
3877
|
value: number;
|
3780
|
-
} | {
|
3781
|
-
type: "step_back";
|
3782
3878
|
} | {
|
3783
3879
|
type: "nudge";
|
3784
3880
|
value: number;
|
3785
3881
|
} | {
|
3786
3882
|
type: "go_to_step";
|
3787
3883
|
value: number;
|
3884
|
+
} | {
|
3885
|
+
type: "step_back";
|
3788
3886
|
} | ({
|
3789
3887
|
type: "open_bar";
|
3790
3888
|
} & {
|
@@ -3792,11 +3890,11 @@ export declare class ExperiencesSearch {
|
|
3792
3890
|
categoryFilter?: number | undefined;
|
3793
3891
|
}) | {
|
3794
3892
|
type: "open_helphub";
|
3795
|
-
} | {
|
3893
|
+
} | ({
|
3796
3894
|
type: "open_copilot";
|
3797
|
-
}
|
3798
|
-
|
3799
|
-
};
|
3895
|
+
} & {
|
3896
|
+
query?: string | undefined;
|
3897
|
+
});
|
3800
3898
|
})[];
|
3801
3899
|
extra: string | null;
|
3802
3900
|
thumbnail: {
|