commandbar 1.11.0 → 1.13.0
Sign up to get free protection for your applications and to get access to all the features.
- package/build/commandbar/src/shared/services/analytics/EventHandler.d.ts +2 -2
- package/build/commandbar/src/shared/services/analytics/types.d.ts +2 -2
- package/build/commandbar/src/shared/services/analytics/v2/client.d.ts +2 -3
- package/build/commandbar/src/shared/services/analytics/v2/schema.d.ts +1 -1
- package/build/commandbar-js/src/index.d.ts +2 -2
- package/build/commandbar-js/src/index.js +1 -1
- package/build/commandbar-js/src/snippet.d.ts +1 -2
- package/build/internal/src/client/CommandBarClientSDK.d.ts +2 -1
- package/build/internal/src/client/CommandBarSDK.d.ts +3 -3
- package/build/internal/src/middleware/CommandFromClientV.d.ts +3 -0
- package/build/internal/src/middleware/OrganizationV.d.ts +58 -4
- package/build/internal/src/middleware/additionalResource.d.ts +36 -9
- package/build/internal/src/middleware/api.d.ts +8 -0
- package/build/internal/src/middleware/chat.d.ts +439 -76
- package/build/internal/src/middleware/checklist.d.ts +48 -10
- package/build/internal/src/middleware/command.d.ts +259 -46
- package/build/internal/src/middleware/endUser.d.ts +1 -1
- package/build/internal/src/middleware/experienceTemplate.d.ts +72 -16
- package/build/internal/src/middleware/experiencesSearch.d.ts +77 -14
- package/build/internal/src/middleware/flags.d.ts +4 -5
- package/build/internal/src/middleware/helpDocsSearch.d.ts +55 -10
- package/build/internal/src/middleware/helpHub.d.ts +1 -0
- 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/helpers/rules.d.ts +2 -0
- 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 +104 -24
- package/build/internal/src/middleware/organization.d.ts +161 -16
- package/build/internal/src/middleware/organizationSettings.d.ts +100 -8
- package/build/internal/src/middleware/recommendationSet.d.ts +36 -9
- package/build/internal/src/middleware/theme.d.ts +74 -0
- package/build/internal/src/middleware/types.d.ts +10 -2
- package/build/internal/src/middleware/workflow.d.ts +16 -0
- package/build/internal/src/util/sentry.d.ts +2 -2
- package/package.json +4 -2
- package/src/index.ts +2 -2
- package/src/init.ts +5 -1
- package/src/snippet.ts +2 -10
@@ -102,7 +102,7 @@ export declare const DecideResponseV: t.UnionC<[t.TypeC<{
|
|
102
102
|
recommendation_sets: t.UnionC<[t.RecordC<t.UnionC<[t.StringC, t.NumberC]>, t.UnionC<[t.BooleanC, t.RecordC<t.StringC, t.AnyC>, t.UndefinedC, t.NullC]>>, t.UndefinedC, t.NullC]>;
|
103
103
|
commands: t.UnionC<[t.RecordC<t.UnionC<[t.StringC, t.NumberC]>, t.UnionC<[t.BooleanC, t.RecordC<t.StringC, t.AnyC>, t.UndefinedC, t.NullC]>>, t.UndefinedC, t.NullC]>;
|
104
104
|
}>, t.UndefinedC, t.NullC]>;
|
105
|
-
export declare const
|
105
|
+
export declare const addDeviceProperties: (properties: UserProperties) => UserProperties;
|
106
106
|
export declare const EndUser: {
|
107
107
|
preferences: (_identifier: string | null | undefined, _hmac: string) => Promise<never>;
|
108
108
|
decide: (orgId: string | number, distinctId: string | null | undefined, options: {
|
@@ -110,10 +110,13 @@ export declare const ExperienceTemplateV: t.TypeC<{
|
|
110
110
|
value: t.StringC;
|
111
111
|
}>, t.PartialC<{
|
112
112
|
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
113
|
+
meta: t.TypeC<{
|
114
|
+
command: t.StringC;
|
115
|
+
}>;
|
113
116
|
}>]>, t.TypeC<{
|
114
117
|
type: t.LiteralC<"open_chat">;
|
115
118
|
meta: t.TypeC<{
|
116
|
-
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<"">]>;
|
119
|
+
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<"">]>;
|
117
120
|
}>;
|
118
121
|
}>, t.TypeC<{
|
119
122
|
type: t.LiteralC<"dismiss">;
|
@@ -164,10 +167,13 @@ export declare const ExperienceTemplateV: t.TypeC<{
|
|
164
167
|
value: t.StringC;
|
165
168
|
}>, t.PartialC<{
|
166
169
|
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
170
|
+
meta: t.TypeC<{
|
171
|
+
command: t.StringC;
|
172
|
+
}>;
|
167
173
|
}>]>, t.TypeC<{
|
168
174
|
type: t.LiteralC<"open_chat">;
|
169
175
|
meta: t.TypeC<{
|
170
|
-
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<"">]>;
|
176
|
+
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<"">]>;
|
171
177
|
}>;
|
172
178
|
}>, t.TypeC<{
|
173
179
|
type: t.LiteralC<"dismiss">;
|
@@ -362,6 +368,7 @@ export declare const ExperienceTemplateV: t.TypeC<{
|
|
362
368
|
type: t.UnionC<[t.LiteralC<"announcement">, t.LiteralC<"product_tour">, t.LiteralC<"survey">, t.NullC]>;
|
363
369
|
editor_tags: t.ArrayC<t.StringC>;
|
364
370
|
preview_url: t.UnionC<[t.StringC, t.NullC, t.UndefinedC]>;
|
371
|
+
custom_theme: t.UnionC<[t.StringC, t.NullC, t.UndefinedC]>;
|
365
372
|
}>]>;
|
366
373
|
}>;
|
367
374
|
export declare class ExperienceTemplate {
|
@@ -476,10 +483,13 @@ export declare class ExperienceTemplate {
|
|
476
483
|
value: string;
|
477
484
|
} & {
|
478
485
|
operation?: "self" | "router" | "blank" | undefined;
|
486
|
+
meta?: {
|
487
|
+
command: string;
|
488
|
+
} | undefined;
|
479
489
|
}) | {
|
480
490
|
type: "open_chat";
|
481
491
|
meta: {
|
482
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
492
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
483
493
|
};
|
484
494
|
} | {
|
485
495
|
type: "dismiss";
|
@@ -530,10 +540,13 @@ export declare class ExperienceTemplate {
|
|
530
540
|
value: string;
|
531
541
|
} & {
|
532
542
|
operation?: "self" | "router" | "blank" | undefined;
|
543
|
+
meta?: {
|
544
|
+
command: string;
|
545
|
+
} | undefined;
|
533
546
|
}) | {
|
534
547
|
type: "open_chat";
|
535
548
|
meta: {
|
536
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
549
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
537
550
|
};
|
538
551
|
} | {
|
539
552
|
type: "dismiss";
|
@@ -728,6 +741,7 @@ export declare class ExperienceTemplate {
|
|
728
741
|
type: "announcement" | "product_tour" | "survey" | null;
|
729
742
|
editor_tags: string[];
|
730
743
|
preview_url: string | null | undefined;
|
744
|
+
custom_theme: string | null | undefined;
|
731
745
|
};
|
732
746
|
};
|
733
747
|
static create: (object: {
|
@@ -841,10 +855,13 @@ export declare class ExperienceTemplate {
|
|
841
855
|
value: string;
|
842
856
|
} & {
|
843
857
|
operation?: "self" | "router" | "blank" | undefined;
|
858
|
+
meta?: {
|
859
|
+
command: string;
|
860
|
+
} | undefined;
|
844
861
|
}) | {
|
845
862
|
type: "open_chat";
|
846
863
|
meta: {
|
847
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
864
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
848
865
|
};
|
849
866
|
} | {
|
850
867
|
type: "dismiss";
|
@@ -895,10 +912,13 @@ export declare class ExperienceTemplate {
|
|
895
912
|
value: string;
|
896
913
|
} & {
|
897
914
|
operation?: "self" | "router" | "blank" | undefined;
|
915
|
+
meta?: {
|
916
|
+
command: string;
|
917
|
+
} | undefined;
|
898
918
|
}) | {
|
899
919
|
type: "open_chat";
|
900
920
|
meta: {
|
901
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
921
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
902
922
|
};
|
903
923
|
} | {
|
904
924
|
type: "dismiss";
|
@@ -1093,6 +1113,7 @@ export declare class ExperienceTemplate {
|
|
1093
1113
|
type: "announcement" | "product_tour" | "survey" | null;
|
1094
1114
|
editor_tags: string[];
|
1095
1115
|
preview_url: string | null | undefined;
|
1116
|
+
custom_theme: string | null | undefined;
|
1096
1117
|
};
|
1097
1118
|
}, onSuccess?: (() => void) | undefined, onError?: ((err: string) => void) | undefined) => Promise<{
|
1098
1119
|
id: number;
|
@@ -1205,10 +1226,13 @@ export declare class ExperienceTemplate {
|
|
1205
1226
|
value: string;
|
1206
1227
|
} & {
|
1207
1228
|
operation?: "self" | "router" | "blank" | undefined;
|
1229
|
+
meta?: {
|
1230
|
+
command: string;
|
1231
|
+
} | undefined;
|
1208
1232
|
}) | {
|
1209
1233
|
type: "open_chat";
|
1210
1234
|
meta: {
|
1211
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
1235
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
1212
1236
|
};
|
1213
1237
|
} | {
|
1214
1238
|
type: "dismiss";
|
@@ -1259,10 +1283,13 @@ export declare class ExperienceTemplate {
|
|
1259
1283
|
value: string;
|
1260
1284
|
} & {
|
1261
1285
|
operation?: "self" | "router" | "blank" | undefined;
|
1286
|
+
meta?: {
|
1287
|
+
command: string;
|
1288
|
+
} | undefined;
|
1262
1289
|
}) | {
|
1263
1290
|
type: "open_chat";
|
1264
1291
|
meta: {
|
1265
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
1292
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
1266
1293
|
};
|
1267
1294
|
} | {
|
1268
1295
|
type: "dismiss";
|
@@ -1457,6 +1484,7 @@ export declare class ExperienceTemplate {
|
|
1457
1484
|
type: "announcement" | "product_tour" | "survey" | null;
|
1458
1485
|
editor_tags: string[];
|
1459
1486
|
preview_url: string | null | undefined;
|
1487
|
+
custom_theme: string | null | undefined;
|
1460
1488
|
};
|
1461
1489
|
}>;
|
1462
1490
|
static update: (object: {
|
@@ -1570,10 +1598,13 @@ export declare class ExperienceTemplate {
|
|
1570
1598
|
value: string;
|
1571
1599
|
} & {
|
1572
1600
|
operation?: "self" | "router" | "blank" | undefined;
|
1601
|
+
meta?: {
|
1602
|
+
command: string;
|
1603
|
+
} | undefined;
|
1573
1604
|
}) | {
|
1574
1605
|
type: "open_chat";
|
1575
1606
|
meta: {
|
1576
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
1607
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
1577
1608
|
};
|
1578
1609
|
} | {
|
1579
1610
|
type: "dismiss";
|
@@ -1624,10 +1655,13 @@ export declare class ExperienceTemplate {
|
|
1624
1655
|
value: string;
|
1625
1656
|
} & {
|
1626
1657
|
operation?: "self" | "router" | "blank" | undefined;
|
1658
|
+
meta?: {
|
1659
|
+
command: string;
|
1660
|
+
} | undefined;
|
1627
1661
|
}) | {
|
1628
1662
|
type: "open_chat";
|
1629
1663
|
meta: {
|
1630
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
1664
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
1631
1665
|
};
|
1632
1666
|
} | {
|
1633
1667
|
type: "dismiss";
|
@@ -1822,6 +1856,7 @@ export declare class ExperienceTemplate {
|
|
1822
1856
|
type: "announcement" | "product_tour" | "survey" | null;
|
1823
1857
|
editor_tags: string[];
|
1824
1858
|
preview_url: string | null | undefined;
|
1859
|
+
custom_theme: string | null | undefined;
|
1825
1860
|
};
|
1826
1861
|
}, onSuccess?: (() => void) | undefined, onError?: ((err: string) => void) | undefined) => Promise<{
|
1827
1862
|
id: number;
|
@@ -1934,10 +1969,13 @@ export declare class ExperienceTemplate {
|
|
1934
1969
|
value: string;
|
1935
1970
|
} & {
|
1936
1971
|
operation?: "self" | "router" | "blank" | undefined;
|
1972
|
+
meta?: {
|
1973
|
+
command: string;
|
1974
|
+
} | undefined;
|
1937
1975
|
}) | {
|
1938
1976
|
type: "open_chat";
|
1939
1977
|
meta: {
|
1940
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
1978
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
1941
1979
|
};
|
1942
1980
|
} | {
|
1943
1981
|
type: "dismiss";
|
@@ -1988,10 +2026,13 @@ export declare class ExperienceTemplate {
|
|
1988
2026
|
value: string;
|
1989
2027
|
} & {
|
1990
2028
|
operation?: "self" | "router" | "blank" | undefined;
|
2029
|
+
meta?: {
|
2030
|
+
command: string;
|
2031
|
+
} | undefined;
|
1991
2032
|
}) | {
|
1992
2033
|
type: "open_chat";
|
1993
2034
|
meta: {
|
1994
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
2035
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
1995
2036
|
};
|
1996
2037
|
} | {
|
1997
2038
|
type: "dismiss";
|
@@ -2186,6 +2227,7 @@ export declare class ExperienceTemplate {
|
|
2186
2227
|
type: "announcement" | "product_tour" | "survey" | null;
|
2187
2228
|
editor_tags: string[];
|
2188
2229
|
preview_url: string | null | undefined;
|
2230
|
+
custom_theme: string | null | undefined;
|
2189
2231
|
};
|
2190
2232
|
}>;
|
2191
2233
|
static delete: (id: string | number, params?: Record<string, string> | undefined, onSuccess?: (() => void) | undefined, onError?: ((err: string) => void) | undefined) => Promise<void>;
|
@@ -2300,10 +2342,13 @@ export declare class ExperienceTemplate {
|
|
2300
2342
|
value: string;
|
2301
2343
|
} & {
|
2302
2344
|
operation?: "self" | "router" | "blank" | undefined;
|
2345
|
+
meta?: {
|
2346
|
+
command: string;
|
2347
|
+
} | undefined;
|
2303
2348
|
}) | {
|
2304
2349
|
type: "open_chat";
|
2305
2350
|
meta: {
|
2306
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
2351
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
2307
2352
|
};
|
2308
2353
|
} | {
|
2309
2354
|
type: "dismiss";
|
@@ -2354,10 +2399,13 @@ export declare class ExperienceTemplate {
|
|
2354
2399
|
value: string;
|
2355
2400
|
} & {
|
2356
2401
|
operation?: "self" | "router" | "blank" | undefined;
|
2402
|
+
meta?: {
|
2403
|
+
command: string;
|
2404
|
+
} | undefined;
|
2357
2405
|
}) | {
|
2358
2406
|
type: "open_chat";
|
2359
2407
|
meta: {
|
2360
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
2408
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
2361
2409
|
};
|
2362
2410
|
} | {
|
2363
2411
|
type: "dismiss";
|
@@ -2552,6 +2600,7 @@ export declare class ExperienceTemplate {
|
|
2552
2600
|
type: "announcement" | "product_tour" | "survey" | null;
|
2553
2601
|
editor_tags: string[];
|
2554
2602
|
preview_url: string | null | undefined;
|
2603
|
+
custom_theme: string | null | undefined;
|
2555
2604
|
};
|
2556
2605
|
}[]>;
|
2557
2606
|
static read: (arg0: string, params?: Record<string, string> | undefined, callbacks?: {
|
@@ -2668,10 +2717,13 @@ export declare class ExperienceTemplate {
|
|
2668
2717
|
value: string;
|
2669
2718
|
} & {
|
2670
2719
|
operation?: "self" | "router" | "blank" | undefined;
|
2720
|
+
meta?: {
|
2721
|
+
command: string;
|
2722
|
+
} | undefined;
|
2671
2723
|
}) | {
|
2672
2724
|
type: "open_chat";
|
2673
2725
|
meta: {
|
2674
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
2726
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
2675
2727
|
};
|
2676
2728
|
} | {
|
2677
2729
|
type: "dismiss";
|
@@ -2722,10 +2774,13 @@ export declare class ExperienceTemplate {
|
|
2722
2774
|
value: string;
|
2723
2775
|
} & {
|
2724
2776
|
operation?: "self" | "router" | "blank" | undefined;
|
2777
|
+
meta?: {
|
2778
|
+
command: string;
|
2779
|
+
} | undefined;
|
2725
2780
|
}) | {
|
2726
2781
|
type: "open_chat";
|
2727
2782
|
meta: {
|
2728
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
2783
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
2729
2784
|
};
|
2730
2785
|
} | {
|
2731
2786
|
type: "dismiss";
|
@@ -2920,6 +2975,7 @@ export declare class ExperienceTemplate {
|
|
2920
2975
|
type: "announcement" | "product_tour" | "survey" | null;
|
2921
2976
|
editor_tags: string[];
|
2922
2977
|
preview_url: string | null | undefined;
|
2978
|
+
custom_theme: string | null | undefined;
|
2923
2979
|
};
|
2924
2980
|
}>;
|
2925
2981
|
}
|
@@ -38,6 +38,9 @@ export declare const CommandExperience: t.TypeC<{
|
|
38
38
|
value: string;
|
39
39
|
} & {
|
40
40
|
operation?: "self" | "router" | "blank" | undefined;
|
41
|
+
meta?: {
|
42
|
+
command: string;
|
43
|
+
} | undefined;
|
41
44
|
} & {} & {
|
42
45
|
commandType?: "object" | "help" | "independent" | undefined;
|
43
46
|
object?: string | undefined;
|
@@ -186,10 +189,13 @@ export declare const CommandExperience: t.TypeC<{
|
|
186
189
|
value: string;
|
187
190
|
} & {
|
188
191
|
operation?: "self" | "router" | "blank" | undefined;
|
192
|
+
meta?: {
|
193
|
+
command: string;
|
194
|
+
} | undefined;
|
189
195
|
}) | {
|
190
196
|
type: "open_chat";
|
191
197
|
meta: {
|
192
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
198
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
193
199
|
};
|
194
200
|
} | {
|
195
201
|
type: "dismiss";
|
@@ -470,10 +476,13 @@ export declare const CommandExperience: t.TypeC<{
|
|
470
476
|
value: string;
|
471
477
|
} & {
|
472
478
|
operation?: "self" | "router" | "blank" | undefined;
|
479
|
+
meta?: {
|
480
|
+
command: string;
|
481
|
+
} | undefined;
|
473
482
|
}) | {
|
474
483
|
type: "open_chat";
|
475
484
|
meta: {
|
476
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
485
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
477
486
|
};
|
478
487
|
} | {
|
479
488
|
type: "dismiss";
|
@@ -567,6 +576,9 @@ export declare const CommandExperience: t.TypeC<{
|
|
567
576
|
value: string;
|
568
577
|
} & {
|
569
578
|
operation?: "self" | "router" | "blank" | undefined;
|
579
|
+
meta?: {
|
580
|
+
command: string;
|
581
|
+
} | undefined;
|
570
582
|
} & {} & {
|
571
583
|
commandType?: "object" | "help" | "independent" | undefined;
|
572
584
|
object?: string | undefined;
|
@@ -715,10 +727,13 @@ export declare const CommandExperience: t.TypeC<{
|
|
715
727
|
value: string;
|
716
728
|
} & {
|
717
729
|
operation?: "self" | "router" | "blank" | undefined;
|
730
|
+
meta?: {
|
731
|
+
command: string;
|
732
|
+
} | undefined;
|
718
733
|
}) | {
|
719
734
|
type: "open_chat";
|
720
735
|
meta: {
|
721
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
736
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
722
737
|
};
|
723
738
|
} | {
|
724
739
|
type: "dismiss";
|
@@ -999,10 +1014,13 @@ export declare const CommandExperience: t.TypeC<{
|
|
999
1014
|
value: string;
|
1000
1015
|
} & {
|
1001
1016
|
operation?: "self" | "router" | "blank" | undefined;
|
1017
|
+
meta?: {
|
1018
|
+
command: string;
|
1019
|
+
} | undefined;
|
1002
1020
|
}) | {
|
1003
1021
|
type: "open_chat";
|
1004
1022
|
meta: {
|
1005
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
1023
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
1006
1024
|
};
|
1007
1025
|
} | {
|
1008
1026
|
type: "dismiss";
|
@@ -1110,6 +1128,9 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
|
|
1110
1128
|
value: string;
|
1111
1129
|
} & {
|
1112
1130
|
operation?: "self" | "router" | "blank" | undefined;
|
1131
|
+
meta?: {
|
1132
|
+
command: string;
|
1133
|
+
} | undefined;
|
1113
1134
|
} & {} & {
|
1114
1135
|
commandType?: "object" | "help" | "independent" | undefined;
|
1115
1136
|
object?: string | undefined;
|
@@ -1258,10 +1279,13 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
|
|
1258
1279
|
value: string;
|
1259
1280
|
} & {
|
1260
1281
|
operation?: "self" | "router" | "blank" | undefined;
|
1282
|
+
meta?: {
|
1283
|
+
command: string;
|
1284
|
+
} | undefined;
|
1261
1285
|
}) | {
|
1262
1286
|
type: "open_chat";
|
1263
1287
|
meta: {
|
1264
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
1288
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
1265
1289
|
};
|
1266
1290
|
} | {
|
1267
1291
|
type: "dismiss";
|
@@ -1542,10 +1566,13 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
|
|
1542
1566
|
value: string;
|
1543
1567
|
} & {
|
1544
1568
|
operation?: "self" | "router" | "blank" | undefined;
|
1569
|
+
meta?: {
|
1570
|
+
command: string;
|
1571
|
+
} | undefined;
|
1545
1572
|
}) | {
|
1546
1573
|
type: "open_chat";
|
1547
1574
|
meta: {
|
1548
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
1575
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
1549
1576
|
};
|
1550
1577
|
} | {
|
1551
1578
|
type: "dismiss";
|
@@ -1639,6 +1666,9 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
|
|
1639
1666
|
value: string;
|
1640
1667
|
} & {
|
1641
1668
|
operation?: "self" | "router" | "blank" | undefined;
|
1669
|
+
meta?: {
|
1670
|
+
command: string;
|
1671
|
+
} | undefined;
|
1642
1672
|
} & {} & {
|
1643
1673
|
commandType?: "object" | "help" | "independent" | undefined;
|
1644
1674
|
object?: string | undefined;
|
@@ -1787,10 +1817,13 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
|
|
1787
1817
|
value: string;
|
1788
1818
|
} & {
|
1789
1819
|
operation?: "self" | "router" | "blank" | undefined;
|
1820
|
+
meta?: {
|
1821
|
+
command: string;
|
1822
|
+
} | undefined;
|
1790
1823
|
}) | {
|
1791
1824
|
type: "open_chat";
|
1792
1825
|
meta: {
|
1793
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
1826
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
1794
1827
|
};
|
1795
1828
|
} | {
|
1796
1829
|
type: "dismiss";
|
@@ -2071,10 +2104,13 @@ export declare const ExperienceHitV: t.UnionC<[t.TypeC<{
|
|
2071
2104
|
value: string;
|
2072
2105
|
} & {
|
2073
2106
|
operation?: "self" | "router" | "blank" | undefined;
|
2107
|
+
meta?: {
|
2108
|
+
command: string;
|
2109
|
+
} | undefined;
|
2074
2110
|
}) | {
|
2075
2111
|
type: "open_chat";
|
2076
2112
|
meta: {
|
2077
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
2113
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
2078
2114
|
};
|
2079
2115
|
} | {
|
2080
2116
|
type: "dismiss";
|
@@ -2183,6 +2219,9 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
|
|
2183
2219
|
value: string;
|
2184
2220
|
} & {
|
2185
2221
|
operation?: "self" | "router" | "blank" | undefined;
|
2222
|
+
meta?: {
|
2223
|
+
command: string;
|
2224
|
+
} | undefined;
|
2186
2225
|
} & {} & {
|
2187
2226
|
commandType?: "object" | "help" | "independent" | undefined;
|
2188
2227
|
object?: string | undefined;
|
@@ -2331,10 +2370,13 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
|
|
2331
2370
|
value: string;
|
2332
2371
|
} & {
|
2333
2372
|
operation?: "self" | "router" | "blank" | undefined;
|
2373
|
+
meta?: {
|
2374
|
+
command: string;
|
2375
|
+
} | undefined;
|
2334
2376
|
}) | {
|
2335
2377
|
type: "open_chat";
|
2336
2378
|
meta: {
|
2337
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
2379
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
2338
2380
|
};
|
2339
2381
|
} | {
|
2340
2382
|
type: "dismiss";
|
@@ -2615,10 +2657,13 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
|
|
2615
2657
|
value: string;
|
2616
2658
|
} & {
|
2617
2659
|
operation?: "self" | "router" | "blank" | undefined;
|
2660
|
+
meta?: {
|
2661
|
+
command: string;
|
2662
|
+
} | undefined;
|
2618
2663
|
}) | {
|
2619
2664
|
type: "open_chat";
|
2620
2665
|
meta: {
|
2621
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
2666
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
2622
2667
|
};
|
2623
2668
|
} | {
|
2624
2669
|
type: "dismiss";
|
@@ -2712,6 +2757,9 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
|
|
2712
2757
|
value: string;
|
2713
2758
|
} & {
|
2714
2759
|
operation?: "self" | "router" | "blank" | undefined;
|
2760
|
+
meta?: {
|
2761
|
+
command: string;
|
2762
|
+
} | undefined;
|
2715
2763
|
} & {} & {
|
2716
2764
|
commandType?: "object" | "help" | "independent" | undefined;
|
2717
2765
|
object?: string | undefined;
|
@@ -2860,10 +2908,13 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
|
|
2860
2908
|
value: string;
|
2861
2909
|
} & {
|
2862
2910
|
operation?: "self" | "router" | "blank" | undefined;
|
2911
|
+
meta?: {
|
2912
|
+
command: string;
|
2913
|
+
} | undefined;
|
2863
2914
|
}) | {
|
2864
2915
|
type: "open_chat";
|
2865
2916
|
meta: {
|
2866
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
2917
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
2867
2918
|
};
|
2868
2919
|
} | {
|
2869
2920
|
type: "dismiss";
|
@@ -3144,10 +3195,13 @@ export declare const SearchExperiencesResponseV: t.TypeC<{
|
|
3144
3195
|
value: string;
|
3145
3196
|
} & {
|
3146
3197
|
operation?: "self" | "router" | "blank" | undefined;
|
3198
|
+
meta?: {
|
3199
|
+
command: string;
|
3200
|
+
} | undefined;
|
3147
3201
|
}) | {
|
3148
3202
|
type: "open_chat";
|
3149
3203
|
meta: {
|
3150
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
3204
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
3151
3205
|
};
|
3152
3206
|
} | {
|
3153
3207
|
type: "dismiss";
|
@@ -3270,6 +3324,9 @@ export declare class ExperiencesSearch {
|
|
3270
3324
|
value: string;
|
3271
3325
|
} & {
|
3272
3326
|
operation?: "self" | "router" | "blank" | undefined;
|
3327
|
+
meta?: {
|
3328
|
+
command: string;
|
3329
|
+
} | undefined;
|
3273
3330
|
} & {} & {
|
3274
3331
|
commandType?: "object" | "help" | "independent" | undefined;
|
3275
3332
|
object?: string | undefined;
|
@@ -3418,10 +3475,13 @@ export declare class ExperiencesSearch {
|
|
3418
3475
|
value: string;
|
3419
3476
|
} & {
|
3420
3477
|
operation?: "self" | "router" | "blank" | undefined;
|
3478
|
+
meta?: {
|
3479
|
+
command: string;
|
3480
|
+
} | undefined;
|
3421
3481
|
}) | {
|
3422
3482
|
type: "open_chat";
|
3423
3483
|
meta: {
|
3424
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
3484
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
3425
3485
|
};
|
3426
3486
|
} | {
|
3427
3487
|
type: "dismiss";
|
@@ -3702,10 +3762,13 @@ export declare class ExperiencesSearch {
|
|
3702
3762
|
value: string;
|
3703
3763
|
} & {
|
3704
3764
|
operation?: "self" | "router" | "blank" | undefined;
|
3765
|
+
meta?: {
|
3766
|
+
command: string;
|
3767
|
+
} | undefined;
|
3705
3768
|
}) | {
|
3706
3769
|
type: "open_chat";
|
3707
3770
|
meta: {
|
3708
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
3771
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
3709
3772
|
};
|
3710
3773
|
} | {
|
3711
3774
|
type: "dismiss";
|
@@ -8,9 +8,7 @@ export type Flags = {
|
|
8
8
|
'release-disable-history-events': boolean;
|
9
9
|
'show-history-events-missing-banner': '' | string;
|
10
10
|
'release-themes-v2': boolean;
|
11
|
-
'release-strikes-dashboard': boolean;
|
12
11
|
'release-authed-zendesk-image-loading': boolean;
|
13
|
-
'release-copilot-personalities': boolean;
|
14
12
|
'release-analytics-v2': boolean;
|
15
13
|
'enable-pendo-open-guide-action': boolean;
|
16
14
|
'show-incident-banner': '' | string;
|
@@ -21,13 +19,14 @@ export type Flags = {
|
|
21
19
|
'hackweek-live-events-table': boolean;
|
22
20
|
'release-analytics-v2-qa': boolean;
|
23
21
|
'release-preview-v-2': boolean;
|
24
|
-
'show-chat-debug-panel': boolean;
|
25
22
|
'segment-webhook-destination': boolean;
|
26
|
-
'role-based-acces-control': boolean;
|
27
23
|
'show-zendesk-integration-v-2-modal': boolean;
|
28
24
|
'amplitude-audience-integration': boolean;
|
29
25
|
'zendesk-inline-handoff': boolean;
|
30
|
-
'release-
|
26
|
+
'release-audiences-ui-v-2': boolean;
|
27
|
+
'release-copilot-attachments': boolean;
|
28
|
+
'release-copilot-action-audience': boolean;
|
29
|
+
'enable-when-element-appears-trigger': boolean;
|
31
30
|
};
|
32
31
|
export declare const defaultFlags: Flags;
|
33
32
|
export declare const fetchFlags: (orgID: string) => Promise<Flags>;
|