commandbar 1.10.1 → 1.10.2-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/commandbar/src/shared/services/analytics/EventHandler.d.ts +7 -2
- package/build/commandbar/src/shared/services/analytics/event-queue.d.ts +13 -0
- package/build/commandbar/src/shared/services/analytics/types.d.ts +1 -1
- package/build/commandbar/src/shared/services/analytics/v2/client.d.ts +54 -0
- package/build/commandbar/src/shared/services/analytics/v2/helpers.d.ts +6 -0
- package/build/commandbar/src/shared/services/analytics/v2/schema.d.ts +152 -0
- package/build/commandbar/src/shared/services/analytics/v2/types.d.ts +4 -0
- package/build/commandbar-js/src/index.d.ts +0 -1
- package/build/commandbar-js/src/index.js +1 -1
- package/build/commandbar-js/src/snippet.d.ts +7 -1
- package/build/internal/src/client/CommandBarClientSDK.d.ts +12 -0
- package/build/internal/src/client/CommandBarProxySDK.d.ts +1 -4
- package/build/internal/src/client/CommandBarSDK.d.ts +5 -3
- package/build/internal/src/client/SDKConfig.d.ts +3 -1
- package/build/internal/src/client/globals.d.ts +1 -0
- package/build/internal/src/client/symbols.d.ts +3 -1
- package/build/internal/src/middleware/CommandFromClientV.d.ts +16 -2
- package/build/internal/src/middleware/OrganizationV.d.ts +34 -8
- package/build/internal/src/middleware/additionalResource.d.ts +9 -9
- package/build/internal/src/middleware/api.d.ts +173 -0
- package/build/internal/src/middleware/billing.d.ts +10 -0
- package/build/internal/src/middleware/chat.d.ts +3662 -172
- package/build/internal/src/middleware/checklist.d.ts +18 -10
- package/build/internal/src/middleware/command.d.ts +540 -140
- package/build/internal/src/middleware/endUser.d.ts +2 -0
- package/build/internal/src/middleware/experienceTemplate.d.ts +2874 -8
- package/build/internal/src/middleware/experiencesSearch.d.ts +233 -28
- package/build/internal/src/middleware/flags.d.ts +14 -1
- package/build/internal/src/middleware/generics.d.ts +1 -0
- package/build/internal/src/middleware/helpDocsIntegration.d.ts +98 -0
- package/build/internal/src/middleware/helpDocsSearch.d.ts +165 -20
- package/build/internal/src/middleware/helpDocsSync.d.ts +4 -0
- package/build/internal/src/middleware/helpers/actions.d.ts +6 -6
- package/build/internal/src/middleware/helpers/commandTemplate.d.ts +2 -2
- package/build/internal/src/middleware/helpers/rules.d.ts +7 -7
- package/build/internal/src/middleware/localizedMessage.d.ts +50 -0
- package/build/internal/src/middleware/network.d.ts +1 -0
- package/build/internal/src/middleware/nudge.d.ts +96 -24
- package/build/internal/src/middleware/organization.d.ts +180 -62
- package/build/internal/src/middleware/organizationSettings.d.ts +8 -8
- package/build/internal/src/middleware/profile.d.ts +8 -0
- package/build/internal/src/middleware/recommendationSet.d.ts +18 -9
- package/build/internal/src/middleware/theme.d.ts +7 -0
- package/build/internal/src/middleware/types.d.ts +23 -5
- package/build/internal/src/middleware/user.d.ts +9 -1
- package/build/internal/src/middleware/workflow.d.ts +69 -0
- package/package.json +5 -2
- package/src/index.ts +0 -1
- package/src/init.ts +27 -13
- package/src/snippet.ts +79 -74
- package/build/internal/src/client/OrgConfig.d.ts +0 -5
- package/build/internal/src/middleware/guide.d.ts +0 -37
@@ -10,9 +10,6 @@ export declare const OrganizationStatusV: t.TypeC<{
|
|
10
10
|
users_total: t.NumberC;
|
11
11
|
}>;
|
12
12
|
export declare const KeyEventV: t.UnionC<[t.LiteralC<"Client-Error">, t.LiteralC<"Command execution">, t.LiteralC<"Command suggestion">, t.LiteralC<"Abandoned search">, t.LiteralC<"Search miss">]>;
|
13
|
-
export declare const UserPropertiesV: t.TypeC<{
|
14
|
-
keys: t.ArrayC<t.StringC>;
|
15
|
-
}>;
|
16
13
|
export declare const InternalSettingsV: t.TypeC<{
|
17
14
|
id: t.StringC;
|
18
15
|
integrations: t.RecordC<t.StringC, t.RecordC<t.StringC, t.AnyC>>;
|
@@ -68,6 +65,7 @@ export declare const read: (arg0: string, params?: Record<string, string> | unde
|
|
68
65
|
icon_suggest: string;
|
69
66
|
icon_tutorial: string;
|
70
67
|
icon_go_forward: string;
|
68
|
+
logo_spotlight: string | null;
|
71
69
|
chat_system_prompt_modifier: string;
|
72
70
|
helphub_chat_welcome_message: string;
|
73
71
|
helphub_chat_avatar: string;
|
@@ -191,7 +189,7 @@ export declare const read: (arg0: string, params?: Record<string, string> | unde
|
|
191
189
|
}) | {
|
192
190
|
type: "open_chat";
|
193
191
|
meta: {
|
194
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift";
|
192
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
195
193
|
};
|
196
194
|
} | {
|
197
195
|
type: "dismiss";
|
@@ -246,7 +244,7 @@ export declare const read: (arg0: string, params?: Record<string, string> | unde
|
|
246
244
|
}) | {
|
247
245
|
type: "open_chat";
|
248
246
|
meta: {
|
249
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift";
|
247
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
250
248
|
};
|
251
249
|
} | {
|
252
250
|
type: "dismiss";
|
@@ -308,9 +306,14 @@ export declare const read: (arg0: string, params?: Record<string, string> | unde
|
|
308
306
|
};
|
309
307
|
send_events_to_heap: boolean;
|
310
308
|
} | undefined;
|
311
|
-
amplitude?: {
|
309
|
+
amplitude?: ({
|
312
310
|
enabled: boolean;
|
313
|
-
}
|
311
|
+
} & {
|
312
|
+
cohorts?: {
|
313
|
+
[x: string]: string;
|
314
|
+
} | undefined;
|
315
|
+
api_key?: string | undefined;
|
316
|
+
}) | undefined;
|
314
317
|
logrocket?: {
|
315
318
|
enabled: boolean;
|
316
319
|
} | undefined;
|
@@ -335,6 +338,15 @@ export declare const read: (arg0: string, params?: Record<string, string> | unde
|
|
335
338
|
[x: string]: string;
|
336
339
|
} | undefined;
|
337
340
|
} | undefined;
|
341
|
+
sunshine?: {
|
342
|
+
enabled?: boolean | undefined;
|
343
|
+
app_id?: string | undefined;
|
344
|
+
key_id?: string | undefined;
|
345
|
+
secret_key?: string | undefined;
|
346
|
+
integration_id?: string | undefined;
|
347
|
+
webhook_shared_secret?: string | undefined;
|
348
|
+
switchboard_id?: string | undefined;
|
349
|
+
} | undefined;
|
338
350
|
};
|
339
351
|
copilot_enabled: boolean;
|
340
352
|
user_property_targeting: boolean;
|
@@ -404,6 +416,7 @@ export declare const update: (object: {
|
|
404
416
|
icon_suggest: string;
|
405
417
|
icon_tutorial: string;
|
406
418
|
icon_go_forward: string;
|
419
|
+
logo_spotlight: string | null;
|
407
420
|
chat_system_prompt_modifier: string;
|
408
421
|
helphub_chat_welcome_message: string;
|
409
422
|
helphub_chat_avatar: string;
|
@@ -527,7 +540,7 @@ export declare const update: (object: {
|
|
527
540
|
}) | {
|
528
541
|
type: "open_chat";
|
529
542
|
meta: {
|
530
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift";
|
543
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
531
544
|
};
|
532
545
|
} | {
|
533
546
|
type: "dismiss";
|
@@ -582,7 +595,7 @@ export declare const update: (object: {
|
|
582
595
|
}) | {
|
583
596
|
type: "open_chat";
|
584
597
|
meta: {
|
585
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift";
|
598
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
586
599
|
};
|
587
600
|
} | {
|
588
601
|
type: "dismiss";
|
@@ -644,9 +657,14 @@ export declare const update: (object: {
|
|
644
657
|
};
|
645
658
|
send_events_to_heap: boolean;
|
646
659
|
} | undefined;
|
647
|
-
amplitude?: {
|
660
|
+
amplitude?: ({
|
648
661
|
enabled: boolean;
|
649
|
-
}
|
662
|
+
} & {
|
663
|
+
cohorts?: {
|
664
|
+
[x: string]: string;
|
665
|
+
} | undefined;
|
666
|
+
api_key?: string | undefined;
|
667
|
+
}) | undefined;
|
650
668
|
logrocket?: {
|
651
669
|
enabled: boolean;
|
652
670
|
} | undefined;
|
@@ -671,6 +689,15 @@ export declare const update: (object: {
|
|
671
689
|
[x: string]: string;
|
672
690
|
} | undefined;
|
673
691
|
} | undefined;
|
692
|
+
sunshine?: {
|
693
|
+
enabled?: boolean | undefined;
|
694
|
+
app_id?: string | undefined;
|
695
|
+
key_id?: string | undefined;
|
696
|
+
secret_key?: string | undefined;
|
697
|
+
integration_id?: string | undefined;
|
698
|
+
webhook_shared_secret?: string | undefined;
|
699
|
+
switchboard_id?: string | undefined;
|
700
|
+
} | undefined;
|
674
701
|
};
|
675
702
|
copilot_enabled: boolean;
|
676
703
|
user_property_targeting: boolean;
|
@@ -739,6 +766,7 @@ export declare const update: (object: {
|
|
739
766
|
icon_suggest: string;
|
740
767
|
icon_tutorial: string;
|
741
768
|
icon_go_forward: string;
|
769
|
+
logo_spotlight: string | null;
|
742
770
|
chat_system_prompt_modifier: string;
|
743
771
|
helphub_chat_welcome_message: string;
|
744
772
|
helphub_chat_avatar: string;
|
@@ -862,7 +890,7 @@ export declare const update: (object: {
|
|
862
890
|
}) | {
|
863
891
|
type: "open_chat";
|
864
892
|
meta: {
|
865
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift";
|
893
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
866
894
|
};
|
867
895
|
} | {
|
868
896
|
type: "dismiss";
|
@@ -917,7 +945,7 @@ export declare const update: (object: {
|
|
917
945
|
}) | {
|
918
946
|
type: "open_chat";
|
919
947
|
meta: {
|
920
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift";
|
948
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
921
949
|
};
|
922
950
|
} | {
|
923
951
|
type: "dismiss";
|
@@ -979,9 +1007,14 @@ export declare const update: (object: {
|
|
979
1007
|
};
|
980
1008
|
send_events_to_heap: boolean;
|
981
1009
|
} | undefined;
|
982
|
-
amplitude?: {
|
1010
|
+
amplitude?: ({
|
983
1011
|
enabled: boolean;
|
984
|
-
}
|
1012
|
+
} & {
|
1013
|
+
cohorts?: {
|
1014
|
+
[x: string]: string;
|
1015
|
+
} | undefined;
|
1016
|
+
api_key?: string | undefined;
|
1017
|
+
}) | undefined;
|
985
1018
|
logrocket?: {
|
986
1019
|
enabled: boolean;
|
987
1020
|
} | undefined;
|
@@ -1006,6 +1039,15 @@ export declare const update: (object: {
|
|
1006
1039
|
[x: string]: string;
|
1007
1040
|
} | undefined;
|
1008
1041
|
} | undefined;
|
1042
|
+
sunshine?: {
|
1043
|
+
enabled?: boolean | undefined;
|
1044
|
+
app_id?: string | undefined;
|
1045
|
+
key_id?: string | undefined;
|
1046
|
+
secret_key?: string | undefined;
|
1047
|
+
integration_id?: string | undefined;
|
1048
|
+
webhook_shared_secret?: string | undefined;
|
1049
|
+
switchboard_id?: string | undefined;
|
1050
|
+
} | undefined;
|
1009
1051
|
};
|
1010
1052
|
copilot_enabled: boolean;
|
1011
1053
|
user_property_targeting: boolean;
|
@@ -1208,7 +1250,7 @@ export declare const listCommands: (orgUID: string) => Promise<({
|
|
1208
1250
|
}) | {
|
1209
1251
|
type: "open_chat";
|
1210
1252
|
meta: {
|
1211
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift";
|
1253
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
1212
1254
|
};
|
1213
1255
|
} | {
|
1214
1256
|
type: "dismiss";
|
@@ -1346,6 +1388,14 @@ export declare const listCommands: (orgUID: string) => Promise<({
|
|
1346
1388
|
});
|
1347
1389
|
};
|
1348
1390
|
shortcut: string[];
|
1391
|
+
icon_color: string | null;
|
1392
|
+
image_color: string | null;
|
1393
|
+
show_preview: boolean;
|
1394
|
+
shortcut_mac: string[];
|
1395
|
+
shortcut_win: string[];
|
1396
|
+
hotkey_mac: string;
|
1397
|
+
hotkey_win: string;
|
1398
|
+
category: number | null;
|
1349
1399
|
celebrate: boolean | {
|
1350
1400
|
angle?: number | undefined;
|
1351
1401
|
spread?: number | undefined;
|
@@ -1360,11 +1410,8 @@ export declare const listCommands: (orgUID: string) => Promise<({
|
|
1360
1410
|
colors?: string[] | undefined;
|
1361
1411
|
random?: any;
|
1362
1412
|
} | null;
|
1363
|
-
icon_color: string | null;
|
1364
|
-
image_color: string | null;
|
1365
|
-
show_preview: boolean;
|
1366
1413
|
availability_rules: (({
|
1367
|
-
type: "url" | "element" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
|
1414
|
+
type: "url" | "element" | "amplitude" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
|
1368
1415
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
1369
1416
|
} & {
|
1370
1417
|
field?: string | undefined;
|
@@ -1397,7 +1444,7 @@ export declare const listCommands: (orgUID: string) => Promise<({
|
|
1397
1444
|
} & {
|
1398
1445
|
reason?: string | undefined;
|
1399
1446
|
}) | ({
|
1400
|
-
type: "url" | "element" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
|
1447
|
+
type: "url" | "element" | "amplitude" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
|
1401
1448
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
1402
1449
|
} & {
|
1403
1450
|
field?: string | undefined;
|
@@ -1426,7 +1473,7 @@ export declare const listCommands: (orgUID: string) => Promise<({
|
|
1426
1473
|
reason?: string | undefined;
|
1427
1474
|
}))[];
|
1428
1475
|
recommend_rules: (({
|
1429
|
-
type: "url" | "element" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
|
1476
|
+
type: "url" | "element" | "amplitude" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
|
1430
1477
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
1431
1478
|
} & {
|
1432
1479
|
field?: string | undefined;
|
@@ -1467,7 +1514,7 @@ export declare const listCommands: (orgUID: string) => Promise<({
|
|
1467
1514
|
} & {
|
1468
1515
|
reason?: string | undefined;
|
1469
1516
|
}) | ({
|
1470
|
-
type: "url" | "element" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
|
1517
|
+
type: "url" | "element" | "amplitude" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
|
1471
1518
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
1472
1519
|
} & {
|
1473
1520
|
field?: string | undefined;
|
@@ -1506,12 +1553,7 @@ export declare const listCommands: (orgUID: string) => Promise<({
|
|
1506
1553
|
availability_expression: import("./helpers/rules").RuleExpression;
|
1507
1554
|
recommend_expression: import("./helpers/rules").RuleExpression;
|
1508
1555
|
always_recommend: boolean;
|
1509
|
-
category: number | null;
|
1510
1556
|
recommend_sort_key: number | null;
|
1511
|
-
shortcut_mac: string[];
|
1512
|
-
shortcut_win: string[];
|
1513
|
-
hotkey_mac: string;
|
1514
|
-
hotkey_win: string;
|
1515
1557
|
next_steps: (string | number | {
|
1516
1558
|
cta: string;
|
1517
1559
|
action: {
|
@@ -1535,7 +1577,7 @@ export declare const listCommands: (orgUID: string) => Promise<({
|
|
1535
1577
|
}) | {
|
1536
1578
|
type: "open_chat";
|
1537
1579
|
meta: {
|
1538
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift";
|
1580
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
1539
1581
|
};
|
1540
1582
|
} | {
|
1541
1583
|
type: "dismiss";
|
@@ -1570,6 +1612,7 @@ export declare const listCommands: (orgUID: string) => Promise<({
|
|
1570
1612
|
file_name: string;
|
1571
1613
|
size: string;
|
1572
1614
|
} | null;
|
1615
|
+
copilot_use_verbatim: boolean;
|
1573
1616
|
generated_tags: {
|
1574
1617
|
automated?: string[] | null | undefined;
|
1575
1618
|
manual?: string[] | null | undefined;
|
@@ -1582,6 +1625,20 @@ export declare const listCommands: (orgUID: string) => Promise<({
|
|
1582
1625
|
integration?: {
|
1583
1626
|
id: number;
|
1584
1627
|
helphub_view_article_button_hidden: boolean | undefined;
|
1628
|
+
audience: {
|
1629
|
+
type: "all_users";
|
1630
|
+
} | {
|
1631
|
+
type: "rule_expression";
|
1632
|
+
expression: import("./helpers/rules").RuleExpression;
|
1633
|
+
} | {
|
1634
|
+
type: "named_rule_reference";
|
1635
|
+
rule_reference: {
|
1636
|
+
type: "named_rule";
|
1637
|
+
rule_id: string | number;
|
1638
|
+
} & {
|
1639
|
+
reason?: string | undefined;
|
1640
|
+
};
|
1641
|
+
} | undefined;
|
1585
1642
|
} | null | undefined;
|
1586
1643
|
})[]>;
|
1587
1644
|
export declare const getCommandByUrl: (orgUID: string, url: string) => Promise<{
|
@@ -1765,7 +1822,7 @@ export declare const getCommandByUrl: (orgUID: string, url: string) => Promise<{
|
|
1765
1822
|
}) | {
|
1766
1823
|
type: "open_chat";
|
1767
1824
|
meta: {
|
1768
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift";
|
1825
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
1769
1826
|
};
|
1770
1827
|
} | {
|
1771
1828
|
type: "dismiss";
|
@@ -1891,7 +1948,7 @@ export declare const getCommandByUrl: (orgUID: string, url: string) => Promise<{
|
|
1891
1948
|
};
|
1892
1949
|
tags: string[];
|
1893
1950
|
availability_rules: (({
|
1894
|
-
type: "url" | "element" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
|
1951
|
+
type: "url" | "element" | "amplitude" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
|
1895
1952
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
1896
1953
|
} & {
|
1897
1954
|
field?: string | undefined;
|
@@ -1920,7 +1977,7 @@ export declare const getCommandByUrl: (orgUID: string, url: string) => Promise<{
|
|
1920
1977
|
reason?: string | undefined;
|
1921
1978
|
}))[];
|
1922
1979
|
recommend_rules: (({
|
1923
|
-
type: "url" | "element" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
|
1980
|
+
type: "url" | "element" | "amplitude" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
|
1924
1981
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
1925
1982
|
} & {
|
1926
1983
|
field?: string | undefined;
|
@@ -1959,6 +2016,20 @@ export declare const getCommandByUrl: (orgUID: string, url: string) => Promise<{
|
|
1959
2016
|
availability_expression: import("./helpers/rules").RuleExpression | null;
|
1960
2017
|
recommend_expression: import("./helpers/rules").RuleExpression | null;
|
1961
2018
|
always_recommend: boolean;
|
2019
|
+
audience: {
|
2020
|
+
type: "all_users";
|
2021
|
+
} | {
|
2022
|
+
type: "rule_expression";
|
2023
|
+
expression: import("./helpers/rules").RuleExpression;
|
2024
|
+
} | {
|
2025
|
+
type: "named_rule_reference";
|
2026
|
+
rule_reference: {
|
2027
|
+
type: "named_rule";
|
2028
|
+
rule_id: string | number;
|
2029
|
+
} & {
|
2030
|
+
reason?: string | undefined;
|
2031
|
+
};
|
2032
|
+
} | null;
|
1962
2033
|
confirm: string;
|
1963
2034
|
shortcut: string[];
|
1964
2035
|
explanation: string;
|
@@ -2035,7 +2106,7 @@ export declare const getCommandByUrl: (orgUID: string, url: string) => Promise<{
|
|
2035
2106
|
}) | {
|
2036
2107
|
type: "open_chat";
|
2037
2108
|
meta: {
|
2038
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift";
|
2109
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
2039
2110
|
};
|
2040
2111
|
} | {
|
2041
2112
|
type: "dismiss";
|
@@ -2076,6 +2147,7 @@ export declare const getCommandByUrl: (orgUID: string, url: string) => Promise<{
|
|
2076
2147
|
show_in_helphub_search: boolean;
|
2077
2148
|
copilot_cta_label: string;
|
2078
2149
|
copilot_description: string;
|
2150
|
+
copilot_use_verbatim: boolean;
|
2079
2151
|
} & {
|
2080
2152
|
third_party_source?: string | null | undefined;
|
2081
2153
|
third_party_id?: string | null | undefined;
|
@@ -2083,6 +2155,20 @@ export declare const getCommandByUrl: (orgUID: string, url: string) => Promise<{
|
|
2083
2155
|
integration?: {
|
2084
2156
|
id: number;
|
2085
2157
|
helphub_view_article_button_hidden: boolean | undefined;
|
2158
|
+
audience: {
|
2159
|
+
type: "all_users";
|
2160
|
+
} | {
|
2161
|
+
type: "rule_expression";
|
2162
|
+
expression: import("./helpers/rules").RuleExpression;
|
2163
|
+
} | {
|
2164
|
+
type: "named_rule_reference";
|
2165
|
+
rule_reference: {
|
2166
|
+
type: "named_rule";
|
2167
|
+
rule_id: string | number;
|
2168
|
+
} & {
|
2169
|
+
reason?: string | undefined;
|
2170
|
+
};
|
2171
|
+
} | undefined;
|
2086
2172
|
} | null | undefined;
|
2087
2173
|
}>;
|
2088
2174
|
export declare const getCommandById: (orgUID: string, commandID: string) => Promise<{
|
@@ -2266,7 +2352,7 @@ export declare const getCommandById: (orgUID: string, commandID: string) => Prom
|
|
2266
2352
|
}) | {
|
2267
2353
|
type: "open_chat";
|
2268
2354
|
meta: {
|
2269
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift";
|
2355
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
2270
2356
|
};
|
2271
2357
|
} | {
|
2272
2358
|
type: "dismiss";
|
@@ -2392,7 +2478,7 @@ export declare const getCommandById: (orgUID: string, commandID: string) => Prom
|
|
2392
2478
|
};
|
2393
2479
|
tags: string[];
|
2394
2480
|
availability_rules: (({
|
2395
|
-
type: "url" | "element" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
|
2481
|
+
type: "url" | "element" | "amplitude" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
|
2396
2482
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
2397
2483
|
} & {
|
2398
2484
|
field?: string | undefined;
|
@@ -2425,7 +2511,7 @@ export declare const getCommandById: (orgUID: string, commandID: string) => Prom
|
|
2425
2511
|
} & {
|
2426
2512
|
reason?: string | undefined;
|
2427
2513
|
}) | ({
|
2428
|
-
type: "url" | "element" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
|
2514
|
+
type: "url" | "element" | "amplitude" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
|
2429
2515
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
2430
2516
|
} & {
|
2431
2517
|
field?: string | undefined;
|
@@ -2454,7 +2540,7 @@ export declare const getCommandById: (orgUID: string, commandID: string) => Prom
|
|
2454
2540
|
reason?: string | undefined;
|
2455
2541
|
}))[];
|
2456
2542
|
recommend_rules: (({
|
2457
|
-
type: "url" | "element" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
|
2543
|
+
type: "url" | "element" | "amplitude" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
|
2458
2544
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
2459
2545
|
} & {
|
2460
2546
|
field?: string | undefined;
|
@@ -2495,7 +2581,7 @@ export declare const getCommandById: (orgUID: string, commandID: string) => Prom
|
|
2495
2581
|
} & {
|
2496
2582
|
reason?: string | undefined;
|
2497
2583
|
}) | ({
|
2498
|
-
type: "url" | "element" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
|
2584
|
+
type: "url" | "element" | "amplitude" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
|
2499
2585
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
2500
2586
|
} & {
|
2501
2587
|
field?: string | undefined;
|
@@ -2615,7 +2701,7 @@ export declare const getCommandById: (orgUID: string, commandID: string) => Prom
|
|
2615
2701
|
}) | {
|
2616
2702
|
type: "open_chat";
|
2617
2703
|
meta: {
|
2618
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift";
|
2704
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
2619
2705
|
};
|
2620
2706
|
} | {
|
2621
2707
|
type: "dismiss";
|
@@ -2655,6 +2741,7 @@ export declare const getCommandById: (orgUID: string, commandID: string) => Prom
|
|
2655
2741
|
show_in_helphub_search: boolean;
|
2656
2742
|
copilot_cta_label: string;
|
2657
2743
|
copilot_description: string;
|
2744
|
+
copilot_use_verbatim: boolean;
|
2658
2745
|
editor_tags: string[];
|
2659
2746
|
} & {
|
2660
2747
|
third_party_source?: string | null | undefined;
|
@@ -2663,6 +2750,20 @@ export declare const getCommandById: (orgUID: string, commandID: string) => Prom
|
|
2663
2750
|
integration?: {
|
2664
2751
|
id: number;
|
2665
2752
|
helphub_view_article_button_hidden: boolean | undefined;
|
2753
|
+
audience: {
|
2754
|
+
type: "all_users";
|
2755
|
+
} | {
|
2756
|
+
type: "rule_expression";
|
2757
|
+
expression: import("./helpers/rules").RuleExpression;
|
2758
|
+
} | {
|
2759
|
+
type: "named_rule_reference";
|
2760
|
+
rule_reference: {
|
2761
|
+
type: "named_rule";
|
2762
|
+
rule_id: string | number;
|
2763
|
+
} & {
|
2764
|
+
reason?: string | undefined;
|
2765
|
+
};
|
2766
|
+
} | undefined;
|
2666
2767
|
} | null | undefined;
|
2667
2768
|
}>;
|
2668
2769
|
export declare const listAnswers: (orgUID: string) => Promise<({
|
@@ -2846,7 +2947,7 @@ export declare const listAnswers: (orgUID: string) => Promise<({
|
|
2846
2947
|
}) | {
|
2847
2948
|
type: "open_chat";
|
2848
2949
|
meta: {
|
2849
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift";
|
2950
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
2850
2951
|
};
|
2851
2952
|
} | {
|
2852
2953
|
type: "dismiss";
|
@@ -2972,7 +3073,7 @@ export declare const listAnswers: (orgUID: string) => Promise<({
|
|
2972
3073
|
};
|
2973
3074
|
tags: string[];
|
2974
3075
|
availability_rules: (({
|
2975
|
-
type: "url" | "element" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
|
3076
|
+
type: "url" | "element" | "amplitude" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
|
2976
3077
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
2977
3078
|
} & {
|
2978
3079
|
field?: string | undefined;
|
@@ -3005,7 +3106,7 @@ export declare const listAnswers: (orgUID: string) => Promise<({
|
|
3005
3106
|
} & {
|
3006
3107
|
reason?: string | undefined;
|
3007
3108
|
}) | ({
|
3008
|
-
type: "url" | "element" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
|
3109
|
+
type: "url" | "element" | "amplitude" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
|
3009
3110
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
3010
3111
|
} & {
|
3011
3112
|
field?: string | undefined;
|
@@ -3034,7 +3135,7 @@ export declare const listAnswers: (orgUID: string) => Promise<({
|
|
3034
3135
|
reason?: string | undefined;
|
3035
3136
|
}))[];
|
3036
3137
|
recommend_rules: (({
|
3037
|
-
type: "url" | "element" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
|
3138
|
+
type: "url" | "element" | "amplitude" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
|
3038
3139
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
3039
3140
|
} & {
|
3040
3141
|
field?: string | undefined;
|
@@ -3075,7 +3176,7 @@ export declare const listAnswers: (orgUID: string) => Promise<({
|
|
3075
3176
|
} & {
|
3076
3177
|
reason?: string | undefined;
|
3077
3178
|
}) | ({
|
3078
|
-
type: "url" | "element" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
|
3179
|
+
type: "url" | "element" | "amplitude" | "context" | "hubspot" | "device_type" | "sessions" | "survey_response" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "opens" | "deadends" | "heap" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction";
|
3079
3180
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
|
3080
3181
|
} & {
|
3081
3182
|
field?: string | undefined;
|
@@ -3195,7 +3296,7 @@ export declare const listAnswers: (orgUID: string) => Promise<({
|
|
3195
3296
|
}) | {
|
3196
3297
|
type: "open_chat";
|
3197
3298
|
meta: {
|
3198
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift";
|
3299
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
3199
3300
|
};
|
3200
3301
|
} | {
|
3201
3302
|
type: "dismiss";
|
@@ -3235,6 +3336,7 @@ export declare const listAnswers: (orgUID: string) => Promise<({
|
|
3235
3336
|
show_in_helphub_search: boolean;
|
3236
3337
|
copilot_cta_label: string;
|
3237
3338
|
copilot_description: string;
|
3339
|
+
copilot_use_verbatim: boolean;
|
3238
3340
|
editor_tags: string[];
|
3239
3341
|
} & {
|
3240
3342
|
third_party_source?: string | null | undefined;
|
@@ -3243,6 +3345,20 @@ export declare const listAnswers: (orgUID: string) => Promise<({
|
|
3243
3345
|
integration?: {
|
3244
3346
|
id: number;
|
3245
3347
|
helphub_view_article_button_hidden: boolean | undefined;
|
3348
|
+
audience: {
|
3349
|
+
type: "all_users";
|
3350
|
+
} | {
|
3351
|
+
type: "rule_expression";
|
3352
|
+
expression: import("./helpers/rules").RuleExpression;
|
3353
|
+
} | {
|
3354
|
+
type: "named_rule_reference";
|
3355
|
+
rule_reference: {
|
3356
|
+
type: "named_rule";
|
3357
|
+
rule_id: string | number;
|
3358
|
+
} & {
|
3359
|
+
reason?: string | undefined;
|
3360
|
+
};
|
3361
|
+
} | undefined;
|
3246
3362
|
} | null | undefined;
|
3247
3363
|
})[]>;
|
3248
3364
|
export declare const listCommandCategories: (orgUID: string) => Promise<({
|
@@ -3268,13 +3384,6 @@ export declare const listCommandCategories: (orgUID: string) => Promise<({
|
|
3268
3384
|
} & {
|
3269
3385
|
contains_hotloaded_commands?: boolean | undefined;
|
3270
3386
|
})[]>;
|
3271
|
-
export declare const listGuides: (orgUID: string) => Promise<({
|
3272
|
-
id: number;
|
3273
|
-
organization: string;
|
3274
|
-
event: string;
|
3275
|
-
nudge: string;
|
3276
|
-
guidance: string;
|
3277
|
-
} & {})[]>;
|
3278
3387
|
export declare const listContexts: (orgUID: string) => Promise<({
|
3279
3388
|
id: number;
|
3280
3389
|
name: string;
|
@@ -3296,12 +3405,6 @@ export declare const listRules: (orgUID: string) => Promise<({
|
|
3296
3405
|
} & {
|
3297
3406
|
is_audience: boolean;
|
3298
3407
|
})[]>;
|
3299
|
-
export declare const listUserProperties: (orgUID: string) => (params?: Record<string, string> | undefined, callbacks?: {
|
3300
|
-
onSuccess?: (() => void) | undefined;
|
3301
|
-
onError?: ((err: string) => void) | undefined;
|
3302
|
-
} | undefined) => Promise<{
|
3303
|
-
keys: string[];
|
3304
|
-
}>;
|
3305
3408
|
export declare const readHealth: (arg0: string, urlArgs?: {
|
3306
3409
|
[arg: string]: string;
|
3307
3410
|
} | undefined, onSuccess?: (() => void) | undefined, onError?: ((err: string) => void) | undefined) => Promise<{
|
@@ -3387,6 +3490,7 @@ export declare const decode: (data: any) => {
|
|
3387
3490
|
icon_suggest: string;
|
3388
3491
|
icon_tutorial: string;
|
3389
3492
|
icon_go_forward: string;
|
3493
|
+
logo_spotlight: string | null;
|
3390
3494
|
chat_system_prompt_modifier: string;
|
3391
3495
|
helphub_chat_welcome_message: string;
|
3392
3496
|
helphub_chat_avatar: string;
|
@@ -3510,7 +3614,7 @@ export declare const decode: (data: any) => {
|
|
3510
3614
|
}) | {
|
3511
3615
|
type: "open_chat";
|
3512
3616
|
meta: {
|
3513
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift";
|
3617
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
3514
3618
|
};
|
3515
3619
|
} | {
|
3516
3620
|
type: "dismiss";
|
@@ -3565,7 +3669,7 @@ export declare const decode: (data: any) => {
|
|
3565
3669
|
}) | {
|
3566
3670
|
type: "open_chat";
|
3567
3671
|
meta: {
|
3568
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift";
|
3672
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
3569
3673
|
};
|
3570
3674
|
} | {
|
3571
3675
|
type: "dismiss";
|
@@ -3627,9 +3731,14 @@ export declare const decode: (data: any) => {
|
|
3627
3731
|
};
|
3628
3732
|
send_events_to_heap: boolean;
|
3629
3733
|
} | undefined;
|
3630
|
-
amplitude?: {
|
3734
|
+
amplitude?: ({
|
3631
3735
|
enabled: boolean;
|
3632
|
-
}
|
3736
|
+
} & {
|
3737
|
+
cohorts?: {
|
3738
|
+
[x: string]: string;
|
3739
|
+
} | undefined;
|
3740
|
+
api_key?: string | undefined;
|
3741
|
+
}) | undefined;
|
3633
3742
|
logrocket?: {
|
3634
3743
|
enabled: boolean;
|
3635
3744
|
} | undefined;
|
@@ -3654,6 +3763,15 @@ export declare const decode: (data: any) => {
|
|
3654
3763
|
[x: string]: string;
|
3655
3764
|
} | undefined;
|
3656
3765
|
} | undefined;
|
3766
|
+
sunshine?: {
|
3767
|
+
enabled?: boolean | undefined;
|
3768
|
+
app_id?: string | undefined;
|
3769
|
+
key_id?: string | undefined;
|
3770
|
+
secret_key?: string | undefined;
|
3771
|
+
integration_id?: string | undefined;
|
3772
|
+
webhook_shared_secret?: string | undefined;
|
3773
|
+
switchboard_id?: string | undefined;
|
3774
|
+
} | undefined;
|
3657
3775
|
};
|
3658
3776
|
copilot_enabled: boolean;
|
3659
3777
|
user_property_targeting: boolean;
|