commandbar 1.10.2 → 1.12.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/EventHandler.d.ts +9 -4
- package/build/commandbar/src/shared/services/analytics/event-queue.d.ts +13 -0
- package/build/commandbar/src/shared/services/analytics/types.d.ts +3 -3
- 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 +2 -3
- 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 +13 -1
- package/build/internal/src/client/CommandBarProxySDK.d.ts +1 -4
- package/build/internal/src/client/CommandBarSDK.d.ts +7 -5
- 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 +44 -8
- package/build/internal/src/middleware/additionalResource.d.ts +9 -9
- package/build/internal/src/middleware/api.d.ts +181 -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 +26 -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 +2882 -8
- package/build/internal/src/middleware/experiencesSearch.d.ts +233 -28
- package/build/internal/src/middleware/flags.d.ts +15 -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/helpHub.d.ts +1 -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 +9 -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 +104 -24
- package/build/internal/src/middleware/organization.d.ts +201 -62
- package/build/internal/src/middleware/organizationSettings.d.ts +12 -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 +81 -0
- package/build/internal/src/middleware/types.d.ts +27 -6
- package/build/internal/src/middleware/user.d.ts +9 -1
- package/build/internal/src/middleware/workflow.d.ts +85 -0
- package/build/internal/src/util/sentry.d.ts +2 -2
- package/package.json +8 -3
- package/src/index.ts +2 -3
- package/src/init.ts +32 -14
- package/src/snippet.ts +84 -74
- package/build/internal/src/client/OrgConfig.d.ts +0 -5
- package/build/internal/src/middleware/guide.d.ts +0 -37
@@ -49,7 +49,7 @@ export declare const ChecklistItemV: t.IntersectionC<[t.TypeC<{
|
|
49
49
|
}>]>, t.TypeC<{
|
50
50
|
type: t.LiteralC<"open_chat">;
|
51
51
|
meta: t.TypeC<{
|
52
|
-
type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"helpscout">, t.LiteralC<"freshdesk">, t.LiteralC<"crisp">, t.LiteralC<"zendesk">, t.LiteralC<"liveChat">, t.LiteralC<"gist">, t.LiteralC<"olark">, t.LiteralC<"hubspot">, t.LiteralC<"drift">, t.LiteralC<"">]>;
|
52
|
+
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<"">]>;
|
53
53
|
}>;
|
54
54
|
}>, t.TypeC<{
|
55
55
|
type: t.LiteralC<"dismiss">;
|
@@ -180,7 +180,7 @@ export declare const ChecklistBaseV: t.IntersectionC<[t.TypeC<{
|
|
180
180
|
}>]>, t.TypeC<{
|
181
181
|
type: t.LiteralC<"open_chat">;
|
182
182
|
meta: t.TypeC<{
|
183
|
-
type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"helpscout">, t.LiteralC<"freshdesk">, t.LiteralC<"crisp">, t.LiteralC<"zendesk">, t.LiteralC<"liveChat">, t.LiteralC<"gist">, t.LiteralC<"olark">, t.LiteralC<"hubspot">, t.LiteralC<"drift">, t.LiteralC<"">]>;
|
183
|
+
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<"">]>;
|
184
184
|
}>;
|
185
185
|
}>, t.TypeC<{
|
186
186
|
type: t.LiteralC<"dismiss">;
|
@@ -329,7 +329,7 @@ export declare const ChecklistV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
329
329
|
}>]>, t.TypeC<{
|
330
330
|
type: t.LiteralC<"open_chat">;
|
331
331
|
meta: t.TypeC<{
|
332
|
-
type: t.UnionC<[t.LiteralC<"intercom">, t.LiteralC<"helpscout">, t.LiteralC<"freshdesk">, t.LiteralC<"crisp">, t.LiteralC<"zendesk">, t.LiteralC<"liveChat">, t.LiteralC<"gist">, t.LiteralC<"olark">, t.LiteralC<"hubspot">, t.LiteralC<"drift">, t.LiteralC<"">]>;
|
332
|
+
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<"">]>;
|
333
333
|
}>;
|
334
334
|
}>, t.TypeC<{
|
335
335
|
type: t.LiteralC<"dismiss">;
|
@@ -384,6 +384,7 @@ export declare const ChecklistV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
384
384
|
template_source: t.StringC;
|
385
385
|
position: t.UnionC<[t.LiteralC<"bottomRight">, t.LiteralC<"bottomLeft">]>;
|
386
386
|
skippable: t.BooleanC;
|
387
|
+
dismissible: t.BooleanC;
|
387
388
|
open_by_default: t.BooleanC;
|
388
389
|
share_page_url_or_path: t.StringC;
|
389
390
|
show_in_spotlight_search: t.BooleanC;
|
@@ -392,6 +393,7 @@ export declare const ChecklistV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
392
393
|
copilot_cta_label: t.StringC;
|
393
394
|
copilot_description: t.StringC;
|
394
395
|
editor_tags: t.ArrayC<t.StringC>;
|
396
|
+
custom_theme: t.UnionC<[t.StringC, t.NullC, t.UndefinedC]>;
|
395
397
|
}>]>;
|
396
398
|
export declare class Checklist {
|
397
399
|
static decode: (data: any) => {
|
@@ -490,7 +492,7 @@ export declare class Checklist {
|
|
490
492
|
}) | {
|
491
493
|
type: "open_chat";
|
492
494
|
meta: {
|
493
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift";
|
495
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
494
496
|
};
|
495
497
|
} | {
|
496
498
|
type: "dismiss";
|
@@ -547,6 +549,7 @@ export declare class Checklist {
|
|
547
549
|
template_source: string;
|
548
550
|
position: "bottomRight" | "bottomLeft";
|
549
551
|
skippable: boolean;
|
552
|
+
dismissible: boolean;
|
550
553
|
open_by_default: boolean;
|
551
554
|
share_page_url_or_path: string;
|
552
555
|
show_in_spotlight_search: boolean;
|
@@ -555,6 +558,7 @@ export declare class Checklist {
|
|
555
558
|
copilot_cta_label: string;
|
556
559
|
copilot_description: string;
|
557
560
|
editor_tags: string[];
|
561
|
+
custom_theme: string | null | undefined;
|
558
562
|
};
|
559
563
|
static create: (object: {
|
560
564
|
id: number;
|
@@ -652,7 +656,7 @@ export declare class Checklist {
|
|
652
656
|
}) | {
|
653
657
|
type: "open_chat";
|
654
658
|
meta: {
|
655
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift";
|
659
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
656
660
|
};
|
657
661
|
} | {
|
658
662
|
type: "dismiss";
|
@@ -709,6 +713,7 @@ export declare class Checklist {
|
|
709
713
|
template_source: string;
|
710
714
|
position: "bottomRight" | "bottomLeft";
|
711
715
|
skippable: boolean;
|
716
|
+
dismissible: boolean;
|
712
717
|
open_by_default: boolean;
|
713
718
|
share_page_url_or_path: string;
|
714
719
|
show_in_spotlight_search: boolean;
|
@@ -717,6 +722,7 @@ export declare class Checklist {
|
|
717
722
|
copilot_cta_label: string;
|
718
723
|
copilot_description: string;
|
719
724
|
editor_tags: string[];
|
725
|
+
custom_theme: string | null | undefined;
|
720
726
|
}, onSuccess?: (() => void) | undefined, onError?: ((err: string) => void) | undefined) => Promise<{
|
721
727
|
id: number;
|
722
728
|
title: string;
|
@@ -813,7 +819,7 @@ export declare class Checklist {
|
|
813
819
|
}) | {
|
814
820
|
type: "open_chat";
|
815
821
|
meta: {
|
816
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift";
|
822
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
817
823
|
};
|
818
824
|
} | {
|
819
825
|
type: "dismiss";
|
@@ -870,6 +876,7 @@ export declare class Checklist {
|
|
870
876
|
template_source: string;
|
871
877
|
position: "bottomRight" | "bottomLeft";
|
872
878
|
skippable: boolean;
|
879
|
+
dismissible: boolean;
|
873
880
|
open_by_default: boolean;
|
874
881
|
share_page_url_or_path: string;
|
875
882
|
show_in_spotlight_search: boolean;
|
@@ -878,6 +885,7 @@ export declare class Checklist {
|
|
878
885
|
copilot_cta_label: string;
|
879
886
|
copilot_description: string;
|
880
887
|
editor_tags: string[];
|
888
|
+
custom_theme: string | null | undefined;
|
881
889
|
}>;
|
882
890
|
static update: (object: {
|
883
891
|
id: number;
|
@@ -975,7 +983,7 @@ export declare class Checklist {
|
|
975
983
|
}) | {
|
976
984
|
type: "open_chat";
|
977
985
|
meta: {
|
978
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift";
|
986
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
979
987
|
};
|
980
988
|
} | {
|
981
989
|
type: "dismiss";
|
@@ -1032,6 +1040,7 @@ export declare class Checklist {
|
|
1032
1040
|
template_source: string;
|
1033
1041
|
position: "bottomRight" | "bottomLeft";
|
1034
1042
|
skippable: boolean;
|
1043
|
+
dismissible: boolean;
|
1035
1044
|
open_by_default: boolean;
|
1036
1045
|
share_page_url_or_path: string;
|
1037
1046
|
show_in_spotlight_search: boolean;
|
@@ -1040,6 +1049,7 @@ export declare class Checklist {
|
|
1040
1049
|
copilot_cta_label: string;
|
1041
1050
|
copilot_description: string;
|
1042
1051
|
editor_tags: string[];
|
1052
|
+
custom_theme: string | null | undefined;
|
1043
1053
|
}, onSuccess?: (() => void) | undefined, onError?: ((err: string) => void) | undefined) => Promise<{
|
1044
1054
|
id: number;
|
1045
1055
|
title: string;
|
@@ -1136,7 +1146,7 @@ export declare class Checklist {
|
|
1136
1146
|
}) | {
|
1137
1147
|
type: "open_chat";
|
1138
1148
|
meta: {
|
1139
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift";
|
1149
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
1140
1150
|
};
|
1141
1151
|
} | {
|
1142
1152
|
type: "dismiss";
|
@@ -1193,6 +1203,7 @@ export declare class Checklist {
|
|
1193
1203
|
template_source: string;
|
1194
1204
|
position: "bottomRight" | "bottomLeft";
|
1195
1205
|
skippable: boolean;
|
1206
|
+
dismissible: boolean;
|
1196
1207
|
open_by_default: boolean;
|
1197
1208
|
share_page_url_or_path: string;
|
1198
1209
|
show_in_spotlight_search: boolean;
|
@@ -1201,6 +1212,7 @@ export declare class Checklist {
|
|
1201
1212
|
copilot_cta_label: string;
|
1202
1213
|
copilot_description: string;
|
1203
1214
|
editor_tags: string[];
|
1215
|
+
custom_theme: string | null | undefined;
|
1204
1216
|
}>;
|
1205
1217
|
static delete: (id: string | number, params?: Record<string, string> | undefined, onSuccess?: (() => void) | undefined, onError?: ((err: string) => void) | undefined) => Promise<void>;
|
1206
1218
|
static list: (onSuccess?: (() => void) | undefined, onError?: ((err: string) => void) | undefined) => Promise<({
|
@@ -1299,7 +1311,7 @@ export declare class Checklist {
|
|
1299
1311
|
}) | {
|
1300
1312
|
type: "open_chat";
|
1301
1313
|
meta: {
|
1302
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift";
|
1314
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
1303
1315
|
};
|
1304
1316
|
} | {
|
1305
1317
|
type: "dismiss";
|
@@ -1356,6 +1368,7 @@ export declare class Checklist {
|
|
1356
1368
|
template_source: string;
|
1357
1369
|
position: "bottomRight" | "bottomLeft";
|
1358
1370
|
skippable: boolean;
|
1371
|
+
dismissible: boolean;
|
1359
1372
|
open_by_default: boolean;
|
1360
1373
|
share_page_url_or_path: string;
|
1361
1374
|
show_in_spotlight_search: boolean;
|
@@ -1364,6 +1377,7 @@ export declare class Checklist {
|
|
1364
1377
|
copilot_cta_label: string;
|
1365
1378
|
copilot_description: string;
|
1366
1379
|
editor_tags: string[];
|
1380
|
+
custom_theme: string | null | undefined;
|
1367
1381
|
})[]>;
|
1368
1382
|
static read: (arg0: string, params?: Record<string, string> | undefined, callbacks?: {
|
1369
1383
|
onSuccess?: (() => void) | undefined;
|
@@ -1464,7 +1478,7 @@ export declare class Checklist {
|
|
1464
1478
|
}) | {
|
1465
1479
|
type: "open_chat";
|
1466
1480
|
meta: {
|
1467
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift";
|
1481
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
1468
1482
|
};
|
1469
1483
|
} | {
|
1470
1484
|
type: "dismiss";
|
@@ -1521,6 +1535,7 @@ export declare class Checklist {
|
|
1521
1535
|
template_source: string;
|
1522
1536
|
position: "bottomRight" | "bottomLeft";
|
1523
1537
|
skippable: boolean;
|
1538
|
+
dismissible: boolean;
|
1524
1539
|
open_by_default: boolean;
|
1525
1540
|
share_page_url_or_path: string;
|
1526
1541
|
show_in_spotlight_search: boolean;
|
@@ -1529,5 +1544,6 @@ export declare class Checklist {
|
|
1529
1544
|
copilot_cta_label: string;
|
1530
1545
|
copilot_description: string;
|
1531
1546
|
editor_tags: string[];
|
1547
|
+
custom_theme: string | null | undefined;
|
1532
1548
|
}>;
|
1533
1549
|
}
|