commandbar 1.12.0 → 1.13.0
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/v2/client.d.ts +1 -2
- package/build/commandbar-js/src/snippet.d.ts +0 -1
- package/build/internal/src/client/CommandBarClientSDK.d.ts +1 -0
- package/build/internal/src/middleware/CommandFromClientV.d.ts +3 -0
- package/build/internal/src/middleware/OrganizationV.d.ts +48 -4
- package/build/internal/src/middleware/additionalResource.d.ts +36 -9
- package/build/internal/src/middleware/chat.d.ts +439 -76
- package/build/internal/src/middleware/checklist.d.ts +40 -10
- package/build/internal/src/middleware/command.d.ts +259 -46
- package/build/internal/src/middleware/experienceTemplate.d.ts +64 -16
- package/build/internal/src/middleware/experiencesSearch.d.ts +77 -14
- package/build/internal/src/middleware/flags.d.ts +3 -5
- package/build/internal/src/middleware/helpDocsSearch.d.ts +55 -10
- package/build/internal/src/middleware/helpers/actions.d.ts +21 -6
- package/build/internal/src/middleware/helpers/commandTemplate.d.ts +14 -2
- package/build/internal/src/middleware/keyword.d.ts +82 -0
- package/build/internal/src/middleware/network.d.ts +2 -2
- package/build/internal/src/middleware/nudge.d.ts +96 -24
- package/build/internal/src/middleware/organization.d.ts +140 -16
- package/build/internal/src/middleware/organizationSettings.d.ts +96 -8
- package/build/internal/src/middleware/recommendationSet.d.ts +36 -9
- package/build/internal/src/middleware/types.d.ts +6 -1
- package/package.json +1 -1
- package/src/snippet.ts +1 -14
@@ -186,10 +186,13 @@ export declare const read: (arg0: string, params?: Record<string, string> | unde
|
|
186
186
|
value: string;
|
187
187
|
} & {
|
188
188
|
operation?: "self" | "router" | "blank" | undefined;
|
189
|
+
meta?: {
|
190
|
+
command: string;
|
191
|
+
} | undefined;
|
189
192
|
}) | {
|
190
193
|
type: "open_chat";
|
191
194
|
meta: {
|
192
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
195
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
193
196
|
};
|
194
197
|
} | {
|
195
198
|
type: "dismiss";
|
@@ -220,6 +223,7 @@ export declare const read: (arg0: string, params?: Record<string, string> | unde
|
|
220
223
|
};
|
221
224
|
}[];
|
222
225
|
helphub_search_action: "search" | "ask";
|
226
|
+
helphub_custom_theme: string | null;
|
223
227
|
copilot_negative_feedback_fallback_enabled: boolean;
|
224
228
|
copilot_negative_feedback_fallback_message: string | null;
|
225
229
|
copilot_negative_feedback_fallback_actions: {
|
@@ -242,10 +246,13 @@ export declare const read: (arg0: string, params?: Record<string, string> | unde
|
|
242
246
|
value: string;
|
243
247
|
} & {
|
244
248
|
operation?: "self" | "router" | "blank" | undefined;
|
249
|
+
meta?: {
|
250
|
+
command: string;
|
251
|
+
} | undefined;
|
245
252
|
}) | {
|
246
253
|
type: "open_chat";
|
247
254
|
meta: {
|
248
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
255
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
249
256
|
};
|
250
257
|
} | {
|
251
258
|
type: "dismiss";
|
@@ -358,6 +365,21 @@ export declare const read: (arg0: string, params?: Record<string, string> | unde
|
|
358
365
|
ab_test_conditions: boolean;
|
359
366
|
spotlight_ask_copilot_enabled: boolean;
|
360
367
|
spotlight_ask_copilot_label: string | null;
|
368
|
+
spotlight_custom_theme: string | null;
|
369
|
+
spotlight_ask_copilot_audience: {
|
370
|
+
type: "all_users";
|
371
|
+
} | {
|
372
|
+
type: "rule_expression";
|
373
|
+
expression: import("./helpers/rules").RuleExpression;
|
374
|
+
} | {
|
375
|
+
type: "named_rule_reference";
|
376
|
+
rule_reference: {
|
377
|
+
type: "named_rule";
|
378
|
+
rule_id: string | number;
|
379
|
+
} & {
|
380
|
+
reason?: string | undefined;
|
381
|
+
};
|
382
|
+
} | null;
|
361
383
|
helphub_ai_enabled: boolean;
|
362
384
|
copilot_experiences_enabled: boolean;
|
363
385
|
helphub_chat_only_mode: boolean;
|
@@ -542,10 +564,13 @@ export declare const update: (object: {
|
|
542
564
|
value: string;
|
543
565
|
} & {
|
544
566
|
operation?: "self" | "router" | "blank" | undefined;
|
567
|
+
meta?: {
|
568
|
+
command: string;
|
569
|
+
} | undefined;
|
545
570
|
}) | {
|
546
571
|
type: "open_chat";
|
547
572
|
meta: {
|
548
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
573
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
549
574
|
};
|
550
575
|
} | {
|
551
576
|
type: "dismiss";
|
@@ -576,6 +601,7 @@ export declare const update: (object: {
|
|
576
601
|
};
|
577
602
|
}[];
|
578
603
|
helphub_search_action: "search" | "ask";
|
604
|
+
helphub_custom_theme: string | null;
|
579
605
|
copilot_negative_feedback_fallback_enabled: boolean;
|
580
606
|
copilot_negative_feedback_fallback_message: string | null;
|
581
607
|
copilot_negative_feedback_fallback_actions: {
|
@@ -598,10 +624,13 @@ export declare const update: (object: {
|
|
598
624
|
value: string;
|
599
625
|
} & {
|
600
626
|
operation?: "self" | "router" | "blank" | undefined;
|
627
|
+
meta?: {
|
628
|
+
command: string;
|
629
|
+
} | undefined;
|
601
630
|
}) | {
|
602
631
|
type: "open_chat";
|
603
632
|
meta: {
|
604
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
633
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
605
634
|
};
|
606
635
|
} | {
|
607
636
|
type: "dismiss";
|
@@ -714,6 +743,21 @@ export declare const update: (object: {
|
|
714
743
|
ab_test_conditions: boolean;
|
715
744
|
spotlight_ask_copilot_enabled: boolean;
|
716
745
|
spotlight_ask_copilot_label: string | null;
|
746
|
+
spotlight_custom_theme: string | null;
|
747
|
+
spotlight_ask_copilot_audience: {
|
748
|
+
type: "all_users";
|
749
|
+
} | {
|
750
|
+
type: "rule_expression";
|
751
|
+
expression: import("./helpers/rules").RuleExpression;
|
752
|
+
} | {
|
753
|
+
type: "named_rule_reference";
|
754
|
+
rule_reference: {
|
755
|
+
type: "named_rule";
|
756
|
+
rule_id: string | number;
|
757
|
+
} & {
|
758
|
+
reason?: string | undefined;
|
759
|
+
};
|
760
|
+
} | null;
|
717
761
|
helphub_ai_enabled: boolean;
|
718
762
|
copilot_experiences_enabled: boolean;
|
719
763
|
helphub_chat_only_mode: boolean;
|
@@ -897,10 +941,13 @@ export declare const update: (object: {
|
|
897
941
|
value: string;
|
898
942
|
} & {
|
899
943
|
operation?: "self" | "router" | "blank" | undefined;
|
944
|
+
meta?: {
|
945
|
+
command: string;
|
946
|
+
} | undefined;
|
900
947
|
}) | {
|
901
948
|
type: "open_chat";
|
902
949
|
meta: {
|
903
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
950
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
904
951
|
};
|
905
952
|
} | {
|
906
953
|
type: "dismiss";
|
@@ -931,6 +978,7 @@ export declare const update: (object: {
|
|
931
978
|
};
|
932
979
|
}[];
|
933
980
|
helphub_search_action: "search" | "ask";
|
981
|
+
helphub_custom_theme: string | null;
|
934
982
|
copilot_negative_feedback_fallback_enabled: boolean;
|
935
983
|
copilot_negative_feedback_fallback_message: string | null;
|
936
984
|
copilot_negative_feedback_fallback_actions: {
|
@@ -953,10 +1001,13 @@ export declare const update: (object: {
|
|
953
1001
|
value: string;
|
954
1002
|
} & {
|
955
1003
|
operation?: "self" | "router" | "blank" | undefined;
|
1004
|
+
meta?: {
|
1005
|
+
command: string;
|
1006
|
+
} | undefined;
|
956
1007
|
}) | {
|
957
1008
|
type: "open_chat";
|
958
1009
|
meta: {
|
959
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
1010
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
960
1011
|
};
|
961
1012
|
} | {
|
962
1013
|
type: "dismiss";
|
@@ -1069,6 +1120,21 @@ export declare const update: (object: {
|
|
1069
1120
|
ab_test_conditions: boolean;
|
1070
1121
|
spotlight_ask_copilot_enabled: boolean;
|
1071
1122
|
spotlight_ask_copilot_label: string | null;
|
1123
|
+
spotlight_custom_theme: string | null;
|
1124
|
+
spotlight_ask_copilot_audience: {
|
1125
|
+
type: "all_users";
|
1126
|
+
} | {
|
1127
|
+
type: "rule_expression";
|
1128
|
+
expression: import("./helpers/rules").RuleExpression;
|
1129
|
+
} | {
|
1130
|
+
type: "named_rule_reference";
|
1131
|
+
rule_reference: {
|
1132
|
+
type: "named_rule";
|
1133
|
+
rule_id: string | number;
|
1134
|
+
} & {
|
1135
|
+
reason?: string | undefined;
|
1136
|
+
};
|
1137
|
+
} | null;
|
1072
1138
|
helphub_ai_enabled: boolean;
|
1073
1139
|
copilot_experiences_enabled: boolean;
|
1074
1140
|
helphub_chat_only_mode: boolean;
|
@@ -1114,6 +1180,9 @@ export declare const listCommands: (orgUID: string) => Promise<({
|
|
1114
1180
|
value: string;
|
1115
1181
|
} & {
|
1116
1182
|
operation?: "self" | "router" | "blank" | undefined;
|
1183
|
+
meta?: {
|
1184
|
+
command: string;
|
1185
|
+
} | undefined;
|
1117
1186
|
} & {} & {
|
1118
1187
|
commandType?: "object" | "help" | "independent" | undefined;
|
1119
1188
|
object?: string | undefined;
|
@@ -1262,10 +1331,13 @@ export declare const listCommands: (orgUID: string) => Promise<({
|
|
1262
1331
|
value: string;
|
1263
1332
|
} & {
|
1264
1333
|
operation?: "self" | "router" | "blank" | undefined;
|
1334
|
+
meta?: {
|
1335
|
+
command: string;
|
1336
|
+
} | undefined;
|
1265
1337
|
}) | {
|
1266
1338
|
type: "open_chat";
|
1267
1339
|
meta: {
|
1268
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
1340
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
1269
1341
|
};
|
1270
1342
|
} | {
|
1271
1343
|
type: "dismiss";
|
@@ -1589,10 +1661,13 @@ export declare const listCommands: (orgUID: string) => Promise<({
|
|
1589
1661
|
value: string;
|
1590
1662
|
} & {
|
1591
1663
|
operation?: "self" | "router" | "blank" | undefined;
|
1664
|
+
meta?: {
|
1665
|
+
command: string;
|
1666
|
+
} | undefined;
|
1592
1667
|
}) | {
|
1593
1668
|
type: "open_chat";
|
1594
1669
|
meta: {
|
1595
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
1670
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
1596
1671
|
};
|
1597
1672
|
} | {
|
1598
1673
|
type: "dismiss";
|
@@ -1686,6 +1761,9 @@ export declare const getCommandByUrl: (orgUID: string, url: string) => Promise<{
|
|
1686
1761
|
value: string;
|
1687
1762
|
} & {
|
1688
1763
|
operation?: "self" | "router" | "blank" | undefined;
|
1764
|
+
meta?: {
|
1765
|
+
command: string;
|
1766
|
+
} | undefined;
|
1689
1767
|
} & {} & {
|
1690
1768
|
commandType?: "object" | "help" | "independent" | undefined;
|
1691
1769
|
object?: string | undefined;
|
@@ -1834,10 +1912,13 @@ export declare const getCommandByUrl: (orgUID: string, url: string) => Promise<{
|
|
1834
1912
|
value: string;
|
1835
1913
|
} & {
|
1836
1914
|
operation?: "self" | "router" | "blank" | undefined;
|
1915
|
+
meta?: {
|
1916
|
+
command: string;
|
1917
|
+
} | undefined;
|
1837
1918
|
}) | {
|
1838
1919
|
type: "open_chat";
|
1839
1920
|
meta: {
|
1840
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
1921
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
1841
1922
|
};
|
1842
1923
|
} | {
|
1843
1924
|
type: "dismiss";
|
@@ -2118,10 +2199,13 @@ export declare const getCommandByUrl: (orgUID: string, url: string) => Promise<{
|
|
2118
2199
|
value: string;
|
2119
2200
|
} & {
|
2120
2201
|
operation?: "self" | "router" | "blank" | undefined;
|
2202
|
+
meta?: {
|
2203
|
+
command: string;
|
2204
|
+
} | undefined;
|
2121
2205
|
}) | {
|
2122
2206
|
type: "open_chat";
|
2123
2207
|
meta: {
|
2124
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
2208
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
2125
2209
|
};
|
2126
2210
|
} | {
|
2127
2211
|
type: "dismiss";
|
@@ -2216,6 +2300,9 @@ export declare const getCommandById: (orgUID: string, commandID: string) => Prom
|
|
2216
2300
|
value: string;
|
2217
2301
|
} & {
|
2218
2302
|
operation?: "self" | "router" | "blank" | undefined;
|
2303
|
+
meta?: {
|
2304
|
+
command: string;
|
2305
|
+
} | undefined;
|
2219
2306
|
} & {} & {
|
2220
2307
|
commandType?: "object" | "help" | "independent" | undefined;
|
2221
2308
|
object?: string | undefined;
|
@@ -2364,10 +2451,13 @@ export declare const getCommandById: (orgUID: string, commandID: string) => Prom
|
|
2364
2451
|
value: string;
|
2365
2452
|
} & {
|
2366
2453
|
operation?: "self" | "router" | "blank" | undefined;
|
2454
|
+
meta?: {
|
2455
|
+
command: string;
|
2456
|
+
} | undefined;
|
2367
2457
|
}) | {
|
2368
2458
|
type: "open_chat";
|
2369
2459
|
meta: {
|
2370
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
2460
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
2371
2461
|
};
|
2372
2462
|
} | {
|
2373
2463
|
type: "dismiss";
|
@@ -2713,10 +2803,13 @@ export declare const getCommandById: (orgUID: string, commandID: string) => Prom
|
|
2713
2803
|
value: string;
|
2714
2804
|
} & {
|
2715
2805
|
operation?: "self" | "router" | "blank" | undefined;
|
2806
|
+
meta?: {
|
2807
|
+
command: string;
|
2808
|
+
} | undefined;
|
2716
2809
|
}) | {
|
2717
2810
|
type: "open_chat";
|
2718
2811
|
meta: {
|
2719
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
2812
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
2720
2813
|
};
|
2721
2814
|
} | {
|
2722
2815
|
type: "dismiss";
|
@@ -2811,6 +2904,9 @@ export declare const listAnswers: (orgUID: string) => Promise<({
|
|
2811
2904
|
value: string;
|
2812
2905
|
} & {
|
2813
2906
|
operation?: "self" | "router" | "blank" | undefined;
|
2907
|
+
meta?: {
|
2908
|
+
command: string;
|
2909
|
+
} | undefined;
|
2814
2910
|
} & {} & {
|
2815
2911
|
commandType?: "object" | "help" | "independent" | undefined;
|
2816
2912
|
object?: string | undefined;
|
@@ -2959,10 +3055,13 @@ export declare const listAnswers: (orgUID: string) => Promise<({
|
|
2959
3055
|
value: string;
|
2960
3056
|
} & {
|
2961
3057
|
operation?: "self" | "router" | "blank" | undefined;
|
3058
|
+
meta?: {
|
3059
|
+
command: string;
|
3060
|
+
} | undefined;
|
2962
3061
|
}) | {
|
2963
3062
|
type: "open_chat";
|
2964
3063
|
meta: {
|
2965
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
3064
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
2966
3065
|
};
|
2967
3066
|
} | {
|
2968
3067
|
type: "dismiss";
|
@@ -3308,10 +3407,13 @@ export declare const listAnswers: (orgUID: string) => Promise<({
|
|
3308
3407
|
value: string;
|
3309
3408
|
} & {
|
3310
3409
|
operation?: "self" | "router" | "blank" | undefined;
|
3410
|
+
meta?: {
|
3411
|
+
command: string;
|
3412
|
+
} | undefined;
|
3311
3413
|
}) | {
|
3312
3414
|
type: "open_chat";
|
3313
3415
|
meta: {
|
3314
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
3416
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
3315
3417
|
};
|
3316
3418
|
} | {
|
3317
3419
|
type: "dismiss";
|
@@ -3627,10 +3729,13 @@ export declare const decode: (data: any) => {
|
|
3627
3729
|
value: string;
|
3628
3730
|
} & {
|
3629
3731
|
operation?: "self" | "router" | "blank" | undefined;
|
3732
|
+
meta?: {
|
3733
|
+
command: string;
|
3734
|
+
} | undefined;
|
3630
3735
|
}) | {
|
3631
3736
|
type: "open_chat";
|
3632
3737
|
meta: {
|
3633
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
3738
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
3634
3739
|
};
|
3635
3740
|
} | {
|
3636
3741
|
type: "dismiss";
|
@@ -3661,6 +3766,7 @@ export declare const decode: (data: any) => {
|
|
3661
3766
|
};
|
3662
3767
|
}[];
|
3663
3768
|
helphub_search_action: "search" | "ask";
|
3769
|
+
helphub_custom_theme: string | null;
|
3664
3770
|
copilot_negative_feedback_fallback_enabled: boolean;
|
3665
3771
|
copilot_negative_feedback_fallback_message: string | null;
|
3666
3772
|
copilot_negative_feedback_fallback_actions: {
|
@@ -3683,10 +3789,13 @@ export declare const decode: (data: any) => {
|
|
3683
3789
|
value: string;
|
3684
3790
|
} & {
|
3685
3791
|
operation?: "self" | "router" | "blank" | undefined;
|
3792
|
+
meta?: {
|
3793
|
+
command: string;
|
3794
|
+
} | undefined;
|
3686
3795
|
}) | {
|
3687
3796
|
type: "open_chat";
|
3688
3797
|
meta: {
|
3689
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
3798
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
3690
3799
|
};
|
3691
3800
|
} | {
|
3692
3801
|
type: "dismiss";
|
@@ -3799,6 +3908,21 @@ export declare const decode: (data: any) => {
|
|
3799
3908
|
ab_test_conditions: boolean;
|
3800
3909
|
spotlight_ask_copilot_enabled: boolean;
|
3801
3910
|
spotlight_ask_copilot_label: string | null;
|
3911
|
+
spotlight_custom_theme: string | null;
|
3912
|
+
spotlight_ask_copilot_audience: {
|
3913
|
+
type: "all_users";
|
3914
|
+
} | {
|
3915
|
+
type: "rule_expression";
|
3916
|
+
expression: import("./helpers/rules").RuleExpression;
|
3917
|
+
} | {
|
3918
|
+
type: "named_rule_reference";
|
3919
|
+
rule_reference: {
|
3920
|
+
type: "named_rule";
|
3921
|
+
rule_id: string | number;
|
3922
|
+
} & {
|
3923
|
+
reason?: string | undefined;
|
3924
|
+
};
|
3925
|
+
} | null;
|
3802
3926
|
helphub_ai_enabled: boolean;
|
3803
3927
|
copilot_experiences_enabled: boolean;
|
3804
3928
|
helphub_chat_only_mode: boolean;
|
@@ -42,6 +42,7 @@ export declare const OrganizationSettingsV: t.TypeC<{
|
|
42
42
|
helphub_suggested_queries_enabled: t.BooleanC;
|
43
43
|
helphub_continuations_enabled: t.BooleanC;
|
44
44
|
helphub_manual_suggested_queries: t.ArrayC<t.StringC>;
|
45
|
+
helphub_custom_theme: t.UnionC<[t.StringC, t.NullC]>;
|
45
46
|
copilot_name: t.StringC;
|
46
47
|
copilot_avatar: t.StringC;
|
47
48
|
copilot_personality: t.UnionC<[t.TypeC<{
|
@@ -86,10 +87,13 @@ export declare const OrganizationSettingsV: t.TypeC<{
|
|
86
87
|
value: t.StringC;
|
87
88
|
}>, t.PartialC<{
|
88
89
|
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
90
|
+
meta: t.TypeC<{
|
91
|
+
command: t.StringC;
|
92
|
+
}>;
|
89
93
|
}>]>, t.TypeC<{
|
90
94
|
type: t.LiteralC<"open_chat">;
|
91
95
|
meta: t.TypeC<{
|
92
|
-
type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"helpscout">, t.LiteralC<"freshdesk">, t.LiteralC<"freshchat">, t.LiteralC<"crisp">, t.LiteralC<"zendesk">, t.LiteralC<"liveChat">, t.LiteralC<"gist">, t.LiteralC<"olark">, t.LiteralC<"hubspot">, t.LiteralC<"drift">, t.LiteralC<"zendesk_handoff">, t.LiteralC<"">]>;
|
96
|
+
type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"helpscout">, t.LiteralC<"freshdesk">, t.LiteralC<"freshchat">, t.LiteralC<"crisp">, t.LiteralC<"zendesk">, t.LiteralC<"liveChat">, t.LiteralC<"gist">, t.LiteralC<"olark">, t.LiteralC<"hubspot">, t.LiteralC<"drift">, t.LiteralC<"pylon">, t.LiteralC<"zendesk_handoff">, t.LiteralC<"">]>;
|
93
97
|
}>;
|
94
98
|
}>, t.TypeC<{
|
95
99
|
type: t.LiteralC<"dismiss">;
|
@@ -142,10 +146,13 @@ export declare const OrganizationSettingsV: t.TypeC<{
|
|
142
146
|
value: t.StringC;
|
143
147
|
}>, t.PartialC<{
|
144
148
|
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
149
|
+
meta: t.TypeC<{
|
150
|
+
command: t.StringC;
|
151
|
+
}>;
|
145
152
|
}>]>, t.TypeC<{
|
146
153
|
type: t.LiteralC<"open_chat">;
|
147
154
|
meta: t.TypeC<{
|
148
|
-
type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"helpscout">, t.LiteralC<"freshdesk">, t.LiteralC<"freshchat">, t.LiteralC<"crisp">, t.LiteralC<"zendesk">, t.LiteralC<"liveChat">, t.LiteralC<"gist">, t.LiteralC<"olark">, t.LiteralC<"hubspot">, t.LiteralC<"drift">, t.LiteralC<"zendesk_handoff">, t.LiteralC<"">]>;
|
155
|
+
type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"helpscout">, t.LiteralC<"freshdesk">, t.LiteralC<"freshchat">, t.LiteralC<"crisp">, t.LiteralC<"zendesk">, t.LiteralC<"liveChat">, t.LiteralC<"gist">, t.LiteralC<"olark">, t.LiteralC<"hubspot">, t.LiteralC<"drift">, t.LiteralC<"pylon">, t.LiteralC<"zendesk_handoff">, t.LiteralC<"">]>;
|
149
156
|
}>;
|
150
157
|
}>, t.TypeC<{
|
151
158
|
type: t.LiteralC<"dismiss">;
|
@@ -179,6 +186,21 @@ export declare const OrganizationSettingsV: t.TypeC<{
|
|
179
186
|
share_link_param: t.StringC;
|
180
187
|
spotlight_ask_copilot_enabled: t.BooleanC;
|
181
188
|
spotlight_ask_copilot_label: t.UnionC<[t.StringC, t.NullC]>;
|
189
|
+
spotlight_custom_theme: t.UnionC<[t.StringC, t.NullC]>;
|
190
|
+
spotlight_ask_copilot_audience: t.UnionC<[t.UnionC<[t.TypeC<{
|
191
|
+
type: t.LiteralC<"all_users">;
|
192
|
+
}>, t.TypeC<{
|
193
|
+
type: t.LiteralC<"rule_expression">;
|
194
|
+
expression: t.Type<import("./helpers/rules").RuleExpression, import("./helpers/rules").RuleExpression, unknown>;
|
195
|
+
}>, t.TypeC<{
|
196
|
+
type: t.LiteralC<"named_rule_reference">;
|
197
|
+
rule_reference: t.IntersectionC<[t.TypeC<{
|
198
|
+
type: t.LiteralC<"named_rule">;
|
199
|
+
rule_id: t.UnionC<[t.NumberC, t.StringC]>;
|
200
|
+
}>, t.PartialC<{
|
201
|
+
reason: t.StringC;
|
202
|
+
}>]>;
|
203
|
+
}>]>, t.NullC]>;
|
182
204
|
copilot_enabled: t.BooleanC;
|
183
205
|
/** @deprecated Replaced by the `copilot_enabled` field */
|
184
206
|
helphub_ai_enabled: t.BooleanC;
|
@@ -233,6 +255,7 @@ export declare const read: (params?: Record<string, string> | undefined, callbac
|
|
233
255
|
helphub_suggested_queries_enabled: boolean;
|
234
256
|
helphub_continuations_enabled: boolean;
|
235
257
|
helphub_manual_suggested_queries: string[];
|
258
|
+
helphub_custom_theme: string | null;
|
236
259
|
copilot_name: string;
|
237
260
|
copilot_avatar: string;
|
238
261
|
copilot_personality: {
|
@@ -275,10 +298,13 @@ export declare const read: (params?: Record<string, string> | undefined, callbac
|
|
275
298
|
value: string;
|
276
299
|
} & {
|
277
300
|
operation?: "self" | "router" | "blank" | undefined;
|
301
|
+
meta?: {
|
302
|
+
command: string;
|
303
|
+
} | undefined;
|
278
304
|
}) | {
|
279
305
|
type: "open_chat";
|
280
306
|
meta: {
|
281
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
307
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
282
308
|
};
|
283
309
|
} | {
|
284
310
|
type: "dismiss";
|
@@ -331,10 +357,13 @@ export declare const read: (params?: Record<string, string> | undefined, callbac
|
|
331
357
|
value: string;
|
332
358
|
} & {
|
333
359
|
operation?: "self" | "router" | "blank" | undefined;
|
360
|
+
meta?: {
|
361
|
+
command: string;
|
362
|
+
} | undefined;
|
334
363
|
}) | {
|
335
364
|
type: "open_chat";
|
336
365
|
meta: {
|
337
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
366
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
338
367
|
};
|
339
368
|
} | {
|
340
369
|
type: "dismiss";
|
@@ -370,6 +399,21 @@ export declare const read: (params?: Record<string, string> | undefined, callbac
|
|
370
399
|
share_link_param: string;
|
371
400
|
spotlight_ask_copilot_enabled: boolean;
|
372
401
|
spotlight_ask_copilot_label: string | null;
|
402
|
+
spotlight_custom_theme: string | null;
|
403
|
+
spotlight_ask_copilot_audience: {
|
404
|
+
type: "all_users";
|
405
|
+
} | {
|
406
|
+
type: "rule_expression";
|
407
|
+
expression: import("./helpers/rules").RuleExpression;
|
408
|
+
} | {
|
409
|
+
type: "named_rule_reference";
|
410
|
+
rule_reference: {
|
411
|
+
type: "named_rule";
|
412
|
+
rule_id: string | number;
|
413
|
+
} & {
|
414
|
+
reason?: string | undefined;
|
415
|
+
};
|
416
|
+
} | null;
|
373
417
|
copilot_enabled: boolean;
|
374
418
|
helphub_ai_enabled: boolean;
|
375
419
|
copilot_experiences_enabled: boolean;
|
@@ -418,6 +462,7 @@ export declare const update: (object: {
|
|
418
462
|
helphub_suggested_queries_enabled?: boolean | undefined;
|
419
463
|
helphub_continuations_enabled?: boolean | undefined;
|
420
464
|
helphub_manual_suggested_queries?: string[] | undefined;
|
465
|
+
helphub_custom_theme?: string | null | undefined;
|
421
466
|
copilot_name?: string | undefined;
|
422
467
|
copilot_avatar?: string | undefined;
|
423
468
|
copilot_personality?: {
|
@@ -460,10 +505,13 @@ export declare const update: (object: {
|
|
460
505
|
value: string;
|
461
506
|
} & {
|
462
507
|
operation?: "self" | "router" | "blank" | undefined;
|
508
|
+
meta?: {
|
509
|
+
command: string;
|
510
|
+
} | undefined;
|
463
511
|
}) | {
|
464
512
|
type: "open_chat";
|
465
513
|
meta: {
|
466
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
514
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
467
515
|
};
|
468
516
|
} | {
|
469
517
|
type: "dismiss";
|
@@ -516,10 +564,13 @@ export declare const update: (object: {
|
|
516
564
|
value: string;
|
517
565
|
} & {
|
518
566
|
operation?: "self" | "router" | "blank" | undefined;
|
567
|
+
meta?: {
|
568
|
+
command: string;
|
569
|
+
} | undefined;
|
519
570
|
}) | {
|
520
571
|
type: "open_chat";
|
521
572
|
meta: {
|
522
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
573
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
523
574
|
};
|
524
575
|
} | {
|
525
576
|
type: "dismiss";
|
@@ -555,6 +606,21 @@ export declare const update: (object: {
|
|
555
606
|
share_link_param?: string | undefined;
|
556
607
|
spotlight_ask_copilot_enabled?: boolean | undefined;
|
557
608
|
spotlight_ask_copilot_label?: string | null | undefined;
|
609
|
+
spotlight_custom_theme?: string | null | undefined;
|
610
|
+
spotlight_ask_copilot_audience?: {
|
611
|
+
type: "all_users";
|
612
|
+
} | {
|
613
|
+
type: "rule_expression";
|
614
|
+
expression: import("./helpers/rules").RuleExpression;
|
615
|
+
} | {
|
616
|
+
type: "named_rule_reference";
|
617
|
+
rule_reference: {
|
618
|
+
type: "named_rule";
|
619
|
+
rule_id: string | number;
|
620
|
+
} & {
|
621
|
+
reason?: string | undefined;
|
622
|
+
};
|
623
|
+
} | null | undefined;
|
558
624
|
copilot_enabled?: boolean | undefined;
|
559
625
|
helphub_ai_enabled?: boolean | undefined;
|
560
626
|
copilot_experiences_enabled?: boolean | undefined;
|
@@ -605,6 +671,7 @@ export declare const update: (object: {
|
|
605
671
|
helphub_suggested_queries_enabled: boolean;
|
606
672
|
helphub_continuations_enabled: boolean;
|
607
673
|
helphub_manual_suggested_queries: string[];
|
674
|
+
helphub_custom_theme: string | null;
|
608
675
|
copilot_name: string;
|
609
676
|
copilot_avatar: string;
|
610
677
|
copilot_personality: {
|
@@ -647,10 +714,13 @@ export declare const update: (object: {
|
|
647
714
|
value: string;
|
648
715
|
} & {
|
649
716
|
operation?: "self" | "router" | "blank" | undefined;
|
717
|
+
meta?: {
|
718
|
+
command: string;
|
719
|
+
} | undefined;
|
650
720
|
}) | {
|
651
721
|
type: "open_chat";
|
652
722
|
meta: {
|
653
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
723
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
654
724
|
};
|
655
725
|
} | {
|
656
726
|
type: "dismiss";
|
@@ -703,10 +773,13 @@ export declare const update: (object: {
|
|
703
773
|
value: string;
|
704
774
|
} & {
|
705
775
|
operation?: "self" | "router" | "blank" | undefined;
|
776
|
+
meta?: {
|
777
|
+
command: string;
|
778
|
+
} | undefined;
|
706
779
|
}) | {
|
707
780
|
type: "open_chat";
|
708
781
|
meta: {
|
709
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
782
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
710
783
|
};
|
711
784
|
} | {
|
712
785
|
type: "dismiss";
|
@@ -742,6 +815,21 @@ export declare const update: (object: {
|
|
742
815
|
share_link_param: string;
|
743
816
|
spotlight_ask_copilot_enabled: boolean;
|
744
817
|
spotlight_ask_copilot_label: string | null;
|
818
|
+
spotlight_custom_theme: string | null;
|
819
|
+
spotlight_ask_copilot_audience: {
|
820
|
+
type: "all_users";
|
821
|
+
} | {
|
822
|
+
type: "rule_expression";
|
823
|
+
expression: import("./helpers/rules").RuleExpression;
|
824
|
+
} | {
|
825
|
+
type: "named_rule_reference";
|
826
|
+
rule_reference: {
|
827
|
+
type: "named_rule";
|
828
|
+
rule_id: string | number;
|
829
|
+
} & {
|
830
|
+
reason?: string | undefined;
|
831
|
+
};
|
832
|
+
} | null;
|
745
833
|
copilot_enabled: boolean;
|
746
834
|
helphub_ai_enabled: boolean;
|
747
835
|
copilot_experiences_enabled: boolean;
|