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
@@ -72,10 +72,13 @@ export declare const NudgeButtonActionV: t.UnionC<[t.TypeC<{
|
|
72
72
|
value: t.StringC;
|
73
73
|
}>, t.PartialC<{
|
74
74
|
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
75
|
+
meta: t.TypeC<{
|
76
|
+
command: t.StringC;
|
77
|
+
}>;
|
75
78
|
}>]>, t.TypeC<{
|
76
79
|
type: t.LiteralC<"open_chat">;
|
77
80
|
meta: t.TypeC<{
|
78
|
-
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<"">]>;
|
81
|
+
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<"">]>;
|
79
82
|
}>;
|
80
83
|
}>, t.TypeC<{
|
81
84
|
type: t.LiteralC<"dismiss">;
|
@@ -125,10 +128,13 @@ export declare const NudgeConditionalActionV: t.TypeC<{
|
|
125
128
|
value: t.StringC;
|
126
129
|
}>, t.PartialC<{
|
127
130
|
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
131
|
+
meta: t.TypeC<{
|
132
|
+
command: t.StringC;
|
133
|
+
}>;
|
128
134
|
}>]>, t.TypeC<{
|
129
135
|
type: t.LiteralC<"open_chat">;
|
130
136
|
meta: t.TypeC<{
|
131
|
-
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<"">]>;
|
137
|
+
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<"">]>;
|
132
138
|
}>;
|
133
139
|
}>, t.TypeC<{
|
134
140
|
type: t.LiteralC<"dismiss">;
|
@@ -181,10 +187,13 @@ export declare const NudgeContentButtonBlockV: t.TypeC<{
|
|
181
187
|
value: t.StringC;
|
182
188
|
}>, t.PartialC<{
|
183
189
|
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
190
|
+
meta: t.TypeC<{
|
191
|
+
command: t.StringC;
|
192
|
+
}>;
|
184
193
|
}>]>, t.TypeC<{
|
185
194
|
type: t.LiteralC<"open_chat">;
|
186
195
|
meta: t.TypeC<{
|
187
|
-
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<"">]>;
|
196
|
+
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<"">]>;
|
188
197
|
}>;
|
189
198
|
}>, t.TypeC<{
|
190
199
|
type: t.LiteralC<"dismiss">;
|
@@ -235,10 +244,13 @@ export declare const NudgeContentButtonBlockV: t.TypeC<{
|
|
235
244
|
value: t.StringC;
|
236
245
|
}>, t.PartialC<{
|
237
246
|
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
247
|
+
meta: t.TypeC<{
|
248
|
+
command: t.StringC;
|
249
|
+
}>;
|
238
250
|
}>]>, t.TypeC<{
|
239
251
|
type: t.LiteralC<"open_chat">;
|
240
252
|
meta: t.TypeC<{
|
241
|
-
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<"">]>;
|
253
|
+
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<"">]>;
|
242
254
|
}>;
|
243
255
|
}>, t.TypeC<{
|
244
256
|
type: t.LiteralC<"dismiss">;
|
@@ -393,10 +405,13 @@ export declare const NudgeContentBlockV: t.UnionC<[t.TypeC<{
|
|
393
405
|
value: t.StringC;
|
394
406
|
}>, t.PartialC<{
|
395
407
|
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
408
|
+
meta: t.TypeC<{
|
409
|
+
command: t.StringC;
|
410
|
+
}>;
|
396
411
|
}>]>, t.TypeC<{
|
397
412
|
type: t.LiteralC<"open_chat">;
|
398
413
|
meta: t.TypeC<{
|
399
|
-
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<"">]>;
|
414
|
+
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<"">]>;
|
400
415
|
}>;
|
401
416
|
}>, t.TypeC<{
|
402
417
|
type: t.LiteralC<"dismiss">;
|
@@ -447,10 +462,13 @@ export declare const NudgeContentBlockV: t.UnionC<[t.TypeC<{
|
|
447
462
|
value: t.StringC;
|
448
463
|
}>, t.PartialC<{
|
449
464
|
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
465
|
+
meta: t.TypeC<{
|
466
|
+
command: t.StringC;
|
467
|
+
}>;
|
450
468
|
}>]>, t.TypeC<{
|
451
469
|
type: t.LiteralC<"open_chat">;
|
452
470
|
meta: t.TypeC<{
|
453
|
-
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<"">]>;
|
471
|
+
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<"">]>;
|
454
472
|
}>;
|
455
473
|
}>, t.TypeC<{
|
456
474
|
type: t.LiteralC<"dismiss">;
|
@@ -623,10 +641,13 @@ export declare const NudgeStepV: t.IntersectionC<[t.TypeC<{
|
|
623
641
|
value: t.StringC;
|
624
642
|
}>, t.PartialC<{
|
625
643
|
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
644
|
+
meta: t.TypeC<{
|
645
|
+
command: t.StringC;
|
646
|
+
}>;
|
626
647
|
}>]>, t.TypeC<{
|
627
648
|
type: t.LiteralC<"open_chat">;
|
628
649
|
meta: t.TypeC<{
|
629
|
-
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<"">]>;
|
650
|
+
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<"">]>;
|
630
651
|
}>;
|
631
652
|
}>, t.TypeC<{
|
632
653
|
type: t.LiteralC<"dismiss">;
|
@@ -677,10 +698,13 @@ export declare const NudgeStepV: t.IntersectionC<[t.TypeC<{
|
|
677
698
|
value: t.StringC;
|
678
699
|
}>, t.PartialC<{
|
679
700
|
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
701
|
+
meta: t.TypeC<{
|
702
|
+
command: t.StringC;
|
703
|
+
}>;
|
680
704
|
}>]>, t.TypeC<{
|
681
705
|
type: t.LiteralC<"open_chat">;
|
682
706
|
meta: t.TypeC<{
|
683
|
-
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<"">]>;
|
707
|
+
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<"">]>;
|
684
708
|
}>;
|
685
709
|
}>, t.TypeC<{
|
686
710
|
type: t.LiteralC<"dismiss">;
|
@@ -947,10 +971,13 @@ export declare const NudgeV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
947
971
|
value: t.StringC;
|
948
972
|
}>, t.PartialC<{
|
949
973
|
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
974
|
+
meta: t.TypeC<{
|
975
|
+
command: t.StringC;
|
976
|
+
}>;
|
950
977
|
}>]>, t.TypeC<{
|
951
978
|
type: t.LiteralC<"open_chat">;
|
952
979
|
meta: t.TypeC<{
|
953
|
-
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<"">]>;
|
980
|
+
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<"">]>;
|
954
981
|
}>;
|
955
982
|
}>, t.TypeC<{
|
956
983
|
type: t.LiteralC<"dismiss">;
|
@@ -1001,10 +1028,13 @@ export declare const NudgeV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
1001
1028
|
value: t.StringC;
|
1002
1029
|
}>, t.PartialC<{
|
1003
1030
|
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
1031
|
+
meta: t.TypeC<{
|
1032
|
+
command: t.StringC;
|
1033
|
+
}>;
|
1004
1034
|
}>]>, t.TypeC<{
|
1005
1035
|
type: t.LiteralC<"open_chat">;
|
1006
1036
|
meta: t.TypeC<{
|
1007
|
-
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<"">]>;
|
1037
|
+
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<"">]>;
|
1008
1038
|
}>;
|
1009
1039
|
}>, t.TypeC<{
|
1010
1040
|
type: t.LiteralC<"dismiss">;
|
@@ -1199,6 +1229,7 @@ export declare const NudgeV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
1199
1229
|
type: t.UnionC<[t.LiteralC<"announcement">, t.LiteralC<"product_tour">, t.LiteralC<"survey">, t.NullC]>;
|
1200
1230
|
editor_tags: t.ArrayC<t.StringC>;
|
1201
1231
|
preview_url: t.UnionC<[t.StringC, t.NullC, t.UndefinedC]>;
|
1232
|
+
custom_theme: t.UnionC<[t.StringC, t.NullC, t.UndefinedC]>;
|
1202
1233
|
}>]>;
|
1203
1234
|
export declare const OldNudgeBaseV: t.IntersectionC<[t.TypeC<{
|
1204
1235
|
id: t.NumberC;
|
@@ -1442,10 +1473,13 @@ export declare class Nudge {
|
|
1442
1473
|
value: string;
|
1443
1474
|
} & {
|
1444
1475
|
operation?: "self" | "router" | "blank" | undefined;
|
1476
|
+
meta?: {
|
1477
|
+
command: string;
|
1478
|
+
} | undefined;
|
1445
1479
|
}) | {
|
1446
1480
|
type: "open_chat";
|
1447
1481
|
meta: {
|
1448
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
1482
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
1449
1483
|
};
|
1450
1484
|
} | {
|
1451
1485
|
type: "dismiss";
|
@@ -1496,10 +1530,13 @@ export declare class Nudge {
|
|
1496
1530
|
value: string;
|
1497
1531
|
} & {
|
1498
1532
|
operation?: "self" | "router" | "blank" | undefined;
|
1533
|
+
meta?: {
|
1534
|
+
command: string;
|
1535
|
+
} | undefined;
|
1499
1536
|
}) | {
|
1500
1537
|
type: "open_chat";
|
1501
1538
|
meta: {
|
1502
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
1539
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
1503
1540
|
};
|
1504
1541
|
} | {
|
1505
1542
|
type: "dismiss";
|
@@ -1694,6 +1731,7 @@ export declare class Nudge {
|
|
1694
1731
|
type: "announcement" | "product_tour" | "survey" | null;
|
1695
1732
|
editor_tags: string[];
|
1696
1733
|
preview_url: string | null | undefined;
|
1734
|
+
custom_theme: string | null | undefined;
|
1697
1735
|
};
|
1698
1736
|
static create: (object: {
|
1699
1737
|
slug: string;
|
@@ -1803,10 +1841,13 @@ export declare class Nudge {
|
|
1803
1841
|
value: string;
|
1804
1842
|
} & {
|
1805
1843
|
operation?: "self" | "router" | "blank" | undefined;
|
1844
|
+
meta?: {
|
1845
|
+
command: string;
|
1846
|
+
} | undefined;
|
1806
1847
|
}) | {
|
1807
1848
|
type: "open_chat";
|
1808
1849
|
meta: {
|
1809
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
1850
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
1810
1851
|
};
|
1811
1852
|
} | {
|
1812
1853
|
type: "dismiss";
|
@@ -1857,10 +1898,13 @@ export declare class Nudge {
|
|
1857
1898
|
value: string;
|
1858
1899
|
} & {
|
1859
1900
|
operation?: "self" | "router" | "blank" | undefined;
|
1901
|
+
meta?: {
|
1902
|
+
command: string;
|
1903
|
+
} | undefined;
|
1860
1904
|
}) | {
|
1861
1905
|
type: "open_chat";
|
1862
1906
|
meta: {
|
1863
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
1907
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
1864
1908
|
};
|
1865
1909
|
} | {
|
1866
1910
|
type: "dismiss";
|
@@ -2055,6 +2099,7 @@ export declare class Nudge {
|
|
2055
2099
|
type: "announcement" | "product_tour" | "survey" | null;
|
2056
2100
|
editor_tags: string[];
|
2057
2101
|
preview_url: string | null | undefined;
|
2102
|
+
custom_theme: string | null | undefined;
|
2058
2103
|
}, onSuccess?: (() => void) | undefined, onError?: ((err: string) => void) | undefined) => Promise<{
|
2059
2104
|
slug: string;
|
2060
2105
|
id: string | number;
|
@@ -2163,10 +2208,13 @@ export declare class Nudge {
|
|
2163
2208
|
value: string;
|
2164
2209
|
} & {
|
2165
2210
|
operation?: "self" | "router" | "blank" | undefined;
|
2211
|
+
meta?: {
|
2212
|
+
command: string;
|
2213
|
+
} | undefined;
|
2166
2214
|
}) | {
|
2167
2215
|
type: "open_chat";
|
2168
2216
|
meta: {
|
2169
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
2217
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
2170
2218
|
};
|
2171
2219
|
} | {
|
2172
2220
|
type: "dismiss";
|
@@ -2217,10 +2265,13 @@ export declare class Nudge {
|
|
2217
2265
|
value: string;
|
2218
2266
|
} & {
|
2219
2267
|
operation?: "self" | "router" | "blank" | undefined;
|
2268
|
+
meta?: {
|
2269
|
+
command: string;
|
2270
|
+
} | undefined;
|
2220
2271
|
}) | {
|
2221
2272
|
type: "open_chat";
|
2222
2273
|
meta: {
|
2223
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
2274
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
2224
2275
|
};
|
2225
2276
|
} | {
|
2226
2277
|
type: "dismiss";
|
@@ -2415,6 +2466,7 @@ export declare class Nudge {
|
|
2415
2466
|
type: "announcement" | "product_tour" | "survey" | null;
|
2416
2467
|
editor_tags: string[];
|
2417
2468
|
preview_url: string | null | undefined;
|
2469
|
+
custom_theme: string | null | undefined;
|
2418
2470
|
}>;
|
2419
2471
|
static update: (object: {
|
2420
2472
|
slug: string;
|
@@ -2524,10 +2576,13 @@ export declare class Nudge {
|
|
2524
2576
|
value: string;
|
2525
2577
|
} & {
|
2526
2578
|
operation?: "self" | "router" | "blank" | undefined;
|
2579
|
+
meta?: {
|
2580
|
+
command: string;
|
2581
|
+
} | undefined;
|
2527
2582
|
}) | {
|
2528
2583
|
type: "open_chat";
|
2529
2584
|
meta: {
|
2530
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
2585
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
2531
2586
|
};
|
2532
2587
|
} | {
|
2533
2588
|
type: "dismiss";
|
@@ -2578,10 +2633,13 @@ export declare class Nudge {
|
|
2578
2633
|
value: string;
|
2579
2634
|
} & {
|
2580
2635
|
operation?: "self" | "router" | "blank" | undefined;
|
2636
|
+
meta?: {
|
2637
|
+
command: string;
|
2638
|
+
} | undefined;
|
2581
2639
|
}) | {
|
2582
2640
|
type: "open_chat";
|
2583
2641
|
meta: {
|
2584
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
2642
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
2585
2643
|
};
|
2586
2644
|
} | {
|
2587
2645
|
type: "dismiss";
|
@@ -2776,6 +2834,7 @@ export declare class Nudge {
|
|
2776
2834
|
type: "announcement" | "product_tour" | "survey" | null;
|
2777
2835
|
editor_tags: string[];
|
2778
2836
|
preview_url: string | null | undefined;
|
2837
|
+
custom_theme: string | null | undefined;
|
2779
2838
|
}, onSuccess?: (() => void) | undefined, onError?: ((err: string) => void) | undefined) => Promise<{
|
2780
2839
|
slug: string;
|
2781
2840
|
id: string | number;
|
@@ -2884,10 +2943,13 @@ export declare class Nudge {
|
|
2884
2943
|
value: string;
|
2885
2944
|
} & {
|
2886
2945
|
operation?: "self" | "router" | "blank" | undefined;
|
2946
|
+
meta?: {
|
2947
|
+
command: string;
|
2948
|
+
} | undefined;
|
2887
2949
|
}) | {
|
2888
2950
|
type: "open_chat";
|
2889
2951
|
meta: {
|
2890
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
2952
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
2891
2953
|
};
|
2892
2954
|
} | {
|
2893
2955
|
type: "dismiss";
|
@@ -2938,10 +3000,13 @@ export declare class Nudge {
|
|
2938
3000
|
value: string;
|
2939
3001
|
} & {
|
2940
3002
|
operation?: "self" | "router" | "blank" | undefined;
|
3003
|
+
meta?: {
|
3004
|
+
command: string;
|
3005
|
+
} | undefined;
|
2941
3006
|
}) | {
|
2942
3007
|
type: "open_chat";
|
2943
3008
|
meta: {
|
2944
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
3009
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
2945
3010
|
};
|
2946
3011
|
} | {
|
2947
3012
|
type: "dismiss";
|
@@ -3136,6 +3201,7 @@ export declare class Nudge {
|
|
3136
3201
|
type: "announcement" | "product_tour" | "survey" | null;
|
3137
3202
|
editor_tags: string[];
|
3138
3203
|
preview_url: string | null | undefined;
|
3204
|
+
custom_theme: string | null | undefined;
|
3139
3205
|
}>;
|
3140
3206
|
static delete: (id: string | number, params?: Record<string, string> | undefined, onSuccess?: (() => void) | undefined, onError?: ((err: string) => void) | undefined) => Promise<void>;
|
3141
3207
|
static list: (onSuccess?: (() => void) | undefined, onError?: ((err: string) => void) | undefined) => Promise<({
|
@@ -3246,10 +3312,13 @@ export declare class Nudge {
|
|
3246
3312
|
value: string;
|
3247
3313
|
} & {
|
3248
3314
|
operation?: "self" | "router" | "blank" | undefined;
|
3315
|
+
meta?: {
|
3316
|
+
command: string;
|
3317
|
+
} | undefined;
|
3249
3318
|
}) | {
|
3250
3319
|
type: "open_chat";
|
3251
3320
|
meta: {
|
3252
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
3321
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
3253
3322
|
};
|
3254
3323
|
} | {
|
3255
3324
|
type: "dismiss";
|
@@ -3300,10 +3369,13 @@ export declare class Nudge {
|
|
3300
3369
|
value: string;
|
3301
3370
|
} & {
|
3302
3371
|
operation?: "self" | "router" | "blank" | undefined;
|
3372
|
+
meta?: {
|
3373
|
+
command: string;
|
3374
|
+
} | undefined;
|
3303
3375
|
}) | {
|
3304
3376
|
type: "open_chat";
|
3305
3377
|
meta: {
|
3306
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
3378
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
3307
3379
|
};
|
3308
3380
|
} | {
|
3309
3381
|
type: "dismiss";
|
@@ -3498,6 +3570,7 @@ export declare class Nudge {
|
|
3498
3570
|
type: "announcement" | "product_tour" | "survey" | null;
|
3499
3571
|
editor_tags: string[];
|
3500
3572
|
preview_url: string | null | undefined;
|
3573
|
+
custom_theme: string | null | undefined;
|
3501
3574
|
})[]>;
|
3502
3575
|
static read: (arg0: string, params?: Record<string, string> | undefined, callbacks?: {
|
3503
3576
|
onSuccess?: (() => void) | undefined;
|
@@ -3610,10 +3683,13 @@ export declare class Nudge {
|
|
3610
3683
|
value: string;
|
3611
3684
|
} & {
|
3612
3685
|
operation?: "self" | "router" | "blank" | undefined;
|
3686
|
+
meta?: {
|
3687
|
+
command: string;
|
3688
|
+
} | undefined;
|
3613
3689
|
}) | {
|
3614
3690
|
type: "open_chat";
|
3615
3691
|
meta: {
|
3616
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
3692
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
3617
3693
|
};
|
3618
3694
|
} | {
|
3619
3695
|
type: "dismiss";
|
@@ -3664,10 +3740,13 @@ export declare class Nudge {
|
|
3664
3740
|
value: string;
|
3665
3741
|
} & {
|
3666
3742
|
operation?: "self" | "router" | "blank" | undefined;
|
3743
|
+
meta?: {
|
3744
|
+
command: string;
|
3745
|
+
} | undefined;
|
3667
3746
|
}) | {
|
3668
3747
|
type: "open_chat";
|
3669
3748
|
meta: {
|
3670
|
-
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "zendesk_handoff";
|
3749
|
+
type: "" | "intercom" | "helpscout" | "freshdesk" | "freshchat" | "crisp" | "zendesk" | "liveChat" | "gist" | "olark" | "hubspot" | "drift" | "pylon" | "zendesk_handoff";
|
3671
3750
|
};
|
3672
3751
|
} | {
|
3673
3752
|
type: "dismiss";
|
@@ -3862,6 +3941,7 @@ export declare class Nudge {
|
|
3862
3941
|
type: "announcement" | "product_tour" | "survey" | null;
|
3863
3942
|
editor_tags: string[];
|
3864
3943
|
preview_url: string | null | undefined;
|
3944
|
+
custom_theme: string | null | undefined;
|
3865
3945
|
}>;
|
3866
3946
|
/**
|
3867
3947
|
* Returns true if the nudge is new (not yet saved to the backend)
|