commandbar 1.13.1 → 1.14.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -557,7 +557,7 @@ export type ABTestCondition = ExpressionCondition & {
557
557
  value: string;
558
558
  };
559
559
  export declare const isABTestCondition: (condition: ExpressionCondition) => condition is {
560
- type: "url" | "element" | "amplitude" | "context" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "sessions" | "opens" | "deadends" | "heap" | "hubspot" | "device_type" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction" | "survey_response";
560
+ type: "url" | "element" | "context" | "user_property" | "event_property" | "hostname" | "executions" | "shortcuts" | "last_seen" | "first_seen" | "sessions" | "opens" | "deadends" | "heap" | "hubspot" | "amplitude" | "device_type" | "ab_test" | "intent" | "help_doc_interaction" | "video_interaction" | "survey_response";
561
561
  operator: "includes" | "endsWith" | "startsWith" | "is" | "isInList" | "isNotInList" | "isTrue" | "isFalse" | "isTruthy" | "isFalsy" | "matchesRegex" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage" | "selectorOnPage" | "classnameNotOnPage" | "idNotOnPage" | "selectorNotOnPage" | "doesNotInclude" | "isNot" | "isGreaterThan" | "isLessThan";
562
562
  } & {
563
563
  field?: string | undefined;
@@ -878,12 +878,16 @@ export declare const NudgeStepV: t.IntersectionC<[t.TypeC<{
878
878
  is_live: t.BooleanC;
879
879
  preview_url: t.UnionC<[t.StringC, t.NullC, t.UndefinedC]>;
880
880
  }>, t.IntersectionC<[t.TypeC<{
881
- form_factor: t.UnionC<[t.TypeC<{
881
+ form_factor: t.UnionC<[t.IntersectionC<[t.TypeC<{
882
882
  type: t.LiteralC<"modal">;
883
- }>, t.TypeC<{
883
+ }>, t.PartialC<{
884
+ layout: t.UnionC<[t.LiteralC<"classic">, t.LiteralC<"horizontal">, t.LiteralC<"vertical">]>;
885
+ }>]>, t.IntersectionC<[t.TypeC<{
884
886
  type: t.LiteralC<"popover">;
885
887
  position: t.UnionC<[t.LiteralC<"top-left">, t.LiteralC<"top-right">, t.LiteralC<"bottom-right">, t.LiteralC<"bottom-left">, t.LiteralC<"center">]>;
886
- }>, t.IntersectionC<[t.TypeC<{
888
+ }>, t.PartialC<{
889
+ layout: t.UnionC<[t.LiteralC<"classic">, t.LiteralC<"horizontal">, t.LiteralC<"vertical">]>;
890
+ }>]>, t.IntersectionC<[t.TypeC<{
887
891
  type: t.LiteralC<"pin">;
888
892
  anchor: t.StringC;
889
893
  }>, t.PartialC<{
@@ -897,7 +901,8 @@ export declare const NudgeStepV: t.IntersectionC<[t.TypeC<{
897
901
  position: t.UnionC<[t.LiteralC<"auto">, t.LiteralC<"top">, t.LiteralC<"bottom">, t.LiteralC<"left">, t.LiteralC<"right">]>;
898
902
  alignment: t.UnionC<[t.LiteralC<"center">, t.LiteralC<"top">, t.LiteralC<"bottom">, t.LiteralC<"left">, t.LiteralC<"right">]>;
899
903
  copilot_intro: t.BooleanC;
900
- }>]>, t.TypeC<{
904
+ layout: t.UnionC<[t.LiteralC<"classic">, t.LiteralC<"horizontal">, t.LiteralC<"vertical">]>;
905
+ }>]>, t.IntersectionC<[t.TypeC<{
901
906
  type: t.LiteralC<"tooltip">;
902
907
  anchor: t.StringC;
903
908
  show_on: t.UnionC<[t.LiteralC<"hover">, t.LiteralC<"click">]>;
@@ -918,7 +923,9 @@ export declare const NudgeStepV: t.IntersectionC<[t.TypeC<{
918
923
  }>;
919
924
  }>;
920
925
  }>]>;
921
- }>]>;
926
+ }>, t.PartialC<{
927
+ layout: t.UnionC<[t.LiteralC<"classic">, t.LiteralC<"horizontal">, t.LiteralC<"vertical">]>;
928
+ }>]>]>;
922
929
  }>, t.PartialC<{
923
930
  has_survey_response: t.BooleanC;
924
931
  }>]>]>;
@@ -1225,12 +1232,16 @@ export declare const NudgeV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
1225
1232
  is_live: t.BooleanC;
1226
1233
  preview_url: t.UnionC<[t.StringC, t.NullC, t.UndefinedC]>;
1227
1234
  }>, t.IntersectionC<[t.TypeC<{
1228
- form_factor: t.UnionC<[t.TypeC<{
1235
+ form_factor: t.UnionC<[t.IntersectionC<[t.TypeC<{
1229
1236
  type: t.LiteralC<"modal">;
1230
- }>, t.TypeC<{
1237
+ }>, t.PartialC<{
1238
+ layout: t.UnionC<[t.LiteralC<"classic">, t.LiteralC<"horizontal">, t.LiteralC<"vertical">]>;
1239
+ }>]>, t.IntersectionC<[t.TypeC<{
1231
1240
  type: t.LiteralC<"popover">;
1232
1241
  position: t.UnionC<[t.LiteralC<"top-left">, t.LiteralC<"top-right">, t.LiteralC<"bottom-right">, t.LiteralC<"bottom-left">, t.LiteralC<"center">]>;
1233
- }>, t.IntersectionC<[t.TypeC<{
1242
+ }>, t.PartialC<{
1243
+ layout: t.UnionC<[t.LiteralC<"classic">, t.LiteralC<"horizontal">, t.LiteralC<"vertical">]>;
1244
+ }>]>, t.IntersectionC<[t.TypeC<{
1234
1245
  type: t.LiteralC<"pin">;
1235
1246
  anchor: t.StringC;
1236
1247
  }>, t.PartialC<{
@@ -1244,7 +1255,8 @@ export declare const NudgeV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
1244
1255
  position: t.UnionC<[t.LiteralC<"auto">, t.LiteralC<"top">, t.LiteralC<"bottom">, t.LiteralC<"left">, t.LiteralC<"right">]>;
1245
1256
  alignment: t.UnionC<[t.LiteralC<"center">, t.LiteralC<"top">, t.LiteralC<"bottom">, t.LiteralC<"left">, t.LiteralC<"right">]>;
1246
1257
  copilot_intro: t.BooleanC;
1247
- }>]>, t.TypeC<{
1258
+ layout: t.UnionC<[t.LiteralC<"classic">, t.LiteralC<"horizontal">, t.LiteralC<"vertical">]>;
1259
+ }>]>, t.IntersectionC<[t.TypeC<{
1248
1260
  type: t.LiteralC<"tooltip">;
1249
1261
  anchor: t.StringC;
1250
1262
  show_on: t.UnionC<[t.LiteralC<"hover">, t.LiteralC<"click">]>;
@@ -1265,7 +1277,9 @@ export declare const NudgeV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
1265
1277
  }>;
1266
1278
  }>;
1267
1279
  }>]>;
1268
- }>]>;
1280
+ }>, t.PartialC<{
1281
+ layout: t.UnionC<[t.LiteralC<"classic">, t.LiteralC<"horizontal">, t.LiteralC<"vertical">]>;
1282
+ }>]>]>;
1269
1283
  }>, t.PartialC<{
1270
1284
  has_survey_response: t.BooleanC;
1271
1285
  }>]>]>>;
@@ -1292,6 +1306,7 @@ export declare const NudgeV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
1292
1306
  show_step_counter: t.BooleanC;
1293
1307
  dismissible: t.BooleanC;
1294
1308
  snoozable: t.BooleanC;
1309
+ snoozable_on_all_steps: t.BooleanC;
1295
1310
  share_page_url_or_path: t.StringC;
1296
1311
  copilot_suggest: t.BooleanC;
1297
1312
  show_in_spotlight_search: t.BooleanC;
@@ -1747,12 +1762,16 @@ export declare class Nudge {
1747
1762
  is_live: boolean;
1748
1763
  preview_url: string | null | undefined;
1749
1764
  } & {
1750
- form_factor: {
1765
+ form_factor: ({
1751
1766
  type: "modal";
1752
- } | {
1767
+ } & {
1768
+ layout?: "classic" | "horizontal" | "vertical" | undefined;
1769
+ }) | ({
1753
1770
  type: "popover";
1754
1771
  position: "center" | "top-left" | "top-right" | "bottom-right" | "bottom-left";
1755
- } | ({
1772
+ } & {
1773
+ layout?: "classic" | "horizontal" | "vertical" | undefined;
1774
+ }) | ({
1756
1775
  type: "pin";
1757
1776
  anchor: string;
1758
1777
  } & {
@@ -1766,7 +1785,8 @@ export declare class Nudge {
1766
1785
  position?: "auto" | "left" | "top" | "bottom" | "right" | undefined;
1767
1786
  alignment?: "center" | "left" | "top" | "bottom" | "right" | undefined;
1768
1787
  copilot_intro?: boolean | undefined;
1769
- }) | {
1788
+ layout?: "classic" | "horizontal" | "vertical" | undefined;
1789
+ }) | ({
1770
1790
  type: "tooltip";
1771
1791
  anchor: string;
1772
1792
  show_on: "click" | "hover";
@@ -1787,7 +1807,9 @@ export declare class Nudge {
1787
1807
  };
1788
1808
  };
1789
1809
  };
1790
- };
1810
+ } & {
1811
+ layout?: "classic" | "horizontal" | "vertical" | undefined;
1812
+ });
1791
1813
  } & {
1792
1814
  has_survey_response?: boolean | undefined;
1793
1815
  })[];
@@ -1814,6 +1836,7 @@ export declare class Nudge {
1814
1836
  show_step_counter: boolean;
1815
1837
  dismissible: boolean;
1816
1838
  snoozable: boolean;
1839
+ snoozable_on_all_steps: boolean;
1817
1840
  share_page_url_or_path: string;
1818
1841
  copilot_suggest: boolean;
1819
1842
  show_in_spotlight_search: boolean;
@@ -2132,12 +2155,16 @@ export declare class Nudge {
2132
2155
  is_live: boolean;
2133
2156
  preview_url: string | null | undefined;
2134
2157
  } & {
2135
- form_factor: {
2158
+ form_factor: ({
2136
2159
  type: "modal";
2137
- } | {
2160
+ } & {
2161
+ layout?: "classic" | "horizontal" | "vertical" | undefined;
2162
+ }) | ({
2138
2163
  type: "popover";
2139
2164
  position: "center" | "top-left" | "top-right" | "bottom-right" | "bottom-left";
2140
- } | ({
2165
+ } & {
2166
+ layout?: "classic" | "horizontal" | "vertical" | undefined;
2167
+ }) | ({
2141
2168
  type: "pin";
2142
2169
  anchor: string;
2143
2170
  } & {
@@ -2151,7 +2178,8 @@ export declare class Nudge {
2151
2178
  position?: "auto" | "left" | "top" | "bottom" | "right" | undefined;
2152
2179
  alignment?: "center" | "left" | "top" | "bottom" | "right" | undefined;
2153
2180
  copilot_intro?: boolean | undefined;
2154
- }) | {
2181
+ layout?: "classic" | "horizontal" | "vertical" | undefined;
2182
+ }) | ({
2155
2183
  type: "tooltip";
2156
2184
  anchor: string;
2157
2185
  show_on: "click" | "hover";
@@ -2172,7 +2200,9 @@ export declare class Nudge {
2172
2200
  };
2173
2201
  };
2174
2202
  };
2175
- };
2203
+ } & {
2204
+ layout?: "classic" | "horizontal" | "vertical" | undefined;
2205
+ });
2176
2206
  } & {
2177
2207
  has_survey_response?: boolean | undefined;
2178
2208
  })[];
@@ -2199,6 +2229,7 @@ export declare class Nudge {
2199
2229
  show_step_counter: boolean;
2200
2230
  dismissible: boolean;
2201
2231
  snoozable: boolean;
2232
+ snoozable_on_all_steps: boolean;
2202
2233
  share_page_url_or_path: string;
2203
2234
  copilot_suggest: boolean;
2204
2235
  show_in_spotlight_search: boolean;
@@ -2516,12 +2547,16 @@ export declare class Nudge {
2516
2547
  is_live: boolean;
2517
2548
  preview_url: string | null | undefined;
2518
2549
  } & {
2519
- form_factor: {
2550
+ form_factor: ({
2520
2551
  type: "modal";
2521
- } | {
2552
+ } & {
2553
+ layout?: "classic" | "horizontal" | "vertical" | undefined;
2554
+ }) | ({
2522
2555
  type: "popover";
2523
2556
  position: "center" | "top-left" | "top-right" | "bottom-right" | "bottom-left";
2524
- } | ({
2557
+ } & {
2558
+ layout?: "classic" | "horizontal" | "vertical" | undefined;
2559
+ }) | ({
2525
2560
  type: "pin";
2526
2561
  anchor: string;
2527
2562
  } & {
@@ -2535,7 +2570,8 @@ export declare class Nudge {
2535
2570
  position?: "auto" | "left" | "top" | "bottom" | "right" | undefined;
2536
2571
  alignment?: "center" | "left" | "top" | "bottom" | "right" | undefined;
2537
2572
  copilot_intro?: boolean | undefined;
2538
- }) | {
2573
+ layout?: "classic" | "horizontal" | "vertical" | undefined;
2574
+ }) | ({
2539
2575
  type: "tooltip";
2540
2576
  anchor: string;
2541
2577
  show_on: "click" | "hover";
@@ -2556,7 +2592,9 @@ export declare class Nudge {
2556
2592
  };
2557
2593
  };
2558
2594
  };
2559
- };
2595
+ } & {
2596
+ layout?: "classic" | "horizontal" | "vertical" | undefined;
2597
+ });
2560
2598
  } & {
2561
2599
  has_survey_response?: boolean | undefined;
2562
2600
  })[];
@@ -2583,6 +2621,7 @@ export declare class Nudge {
2583
2621
  show_step_counter: boolean;
2584
2622
  dismissible: boolean;
2585
2623
  snoozable: boolean;
2624
+ snoozable_on_all_steps: boolean;
2586
2625
  share_page_url_or_path: string;
2587
2626
  copilot_suggest: boolean;
2588
2627
  show_in_spotlight_search: boolean;
@@ -2901,12 +2940,16 @@ export declare class Nudge {
2901
2940
  is_live: boolean;
2902
2941
  preview_url: string | null | undefined;
2903
2942
  } & {
2904
- form_factor: {
2943
+ form_factor: ({
2905
2944
  type: "modal";
2906
- } | {
2945
+ } & {
2946
+ layout?: "classic" | "horizontal" | "vertical" | undefined;
2947
+ }) | ({
2907
2948
  type: "popover";
2908
2949
  position: "center" | "top-left" | "top-right" | "bottom-right" | "bottom-left";
2909
- } | ({
2950
+ } & {
2951
+ layout?: "classic" | "horizontal" | "vertical" | undefined;
2952
+ }) | ({
2910
2953
  type: "pin";
2911
2954
  anchor: string;
2912
2955
  } & {
@@ -2920,7 +2963,8 @@ export declare class Nudge {
2920
2963
  position?: "auto" | "left" | "top" | "bottom" | "right" | undefined;
2921
2964
  alignment?: "center" | "left" | "top" | "bottom" | "right" | undefined;
2922
2965
  copilot_intro?: boolean | undefined;
2923
- }) | {
2966
+ layout?: "classic" | "horizontal" | "vertical" | undefined;
2967
+ }) | ({
2924
2968
  type: "tooltip";
2925
2969
  anchor: string;
2926
2970
  show_on: "click" | "hover";
@@ -2941,7 +2985,9 @@ export declare class Nudge {
2941
2985
  };
2942
2986
  };
2943
2987
  };
2944
- };
2988
+ } & {
2989
+ layout?: "classic" | "horizontal" | "vertical" | undefined;
2990
+ });
2945
2991
  } & {
2946
2992
  has_survey_response?: boolean | undefined;
2947
2993
  })[];
@@ -2968,6 +3014,7 @@ export declare class Nudge {
2968
3014
  show_step_counter: boolean;
2969
3015
  dismissible: boolean;
2970
3016
  snoozable: boolean;
3017
+ snoozable_on_all_steps: boolean;
2971
3018
  share_page_url_or_path: string;
2972
3019
  copilot_suggest: boolean;
2973
3020
  show_in_spotlight_search: boolean;
@@ -3285,12 +3332,16 @@ export declare class Nudge {
3285
3332
  is_live: boolean;
3286
3333
  preview_url: string | null | undefined;
3287
3334
  } & {
3288
- form_factor: {
3335
+ form_factor: ({
3289
3336
  type: "modal";
3290
- } | {
3337
+ } & {
3338
+ layout?: "classic" | "horizontal" | "vertical" | undefined;
3339
+ }) | ({
3291
3340
  type: "popover";
3292
3341
  position: "center" | "top-left" | "top-right" | "bottom-right" | "bottom-left";
3293
- } | ({
3342
+ } & {
3343
+ layout?: "classic" | "horizontal" | "vertical" | undefined;
3344
+ }) | ({
3294
3345
  type: "pin";
3295
3346
  anchor: string;
3296
3347
  } & {
@@ -3304,7 +3355,8 @@ export declare class Nudge {
3304
3355
  position?: "auto" | "left" | "top" | "bottom" | "right" | undefined;
3305
3356
  alignment?: "center" | "left" | "top" | "bottom" | "right" | undefined;
3306
3357
  copilot_intro?: boolean | undefined;
3307
- }) | {
3358
+ layout?: "classic" | "horizontal" | "vertical" | undefined;
3359
+ }) | ({
3308
3360
  type: "tooltip";
3309
3361
  anchor: string;
3310
3362
  show_on: "click" | "hover";
@@ -3325,7 +3377,9 @@ export declare class Nudge {
3325
3377
  };
3326
3378
  };
3327
3379
  };
3328
- };
3380
+ } & {
3381
+ layout?: "classic" | "horizontal" | "vertical" | undefined;
3382
+ });
3329
3383
  } & {
3330
3384
  has_survey_response?: boolean | undefined;
3331
3385
  })[];
@@ -3352,6 +3406,7 @@ export declare class Nudge {
3352
3406
  show_step_counter: boolean;
3353
3407
  dismissible: boolean;
3354
3408
  snoozable: boolean;
3409
+ snoozable_on_all_steps: boolean;
3355
3410
  share_page_url_or_path: string;
3356
3411
  copilot_suggest: boolean;
3357
3412
  show_in_spotlight_search: boolean;
@@ -3671,12 +3726,16 @@ export declare class Nudge {
3671
3726
  is_live: boolean;
3672
3727
  preview_url: string | null | undefined;
3673
3728
  } & {
3674
- form_factor: {
3729
+ form_factor: ({
3675
3730
  type: "modal";
3676
- } | {
3731
+ } & {
3732
+ layout?: "classic" | "horizontal" | "vertical" | undefined;
3733
+ }) | ({
3677
3734
  type: "popover";
3678
3735
  position: "center" | "top-left" | "top-right" | "bottom-right" | "bottom-left";
3679
- } | ({
3736
+ } & {
3737
+ layout?: "classic" | "horizontal" | "vertical" | undefined;
3738
+ }) | ({
3680
3739
  type: "pin";
3681
3740
  anchor: string;
3682
3741
  } & {
@@ -3690,7 +3749,8 @@ export declare class Nudge {
3690
3749
  position?: "auto" | "left" | "top" | "bottom" | "right" | undefined;
3691
3750
  alignment?: "center" | "left" | "top" | "bottom" | "right" | undefined;
3692
3751
  copilot_intro?: boolean | undefined;
3693
- }) | {
3752
+ layout?: "classic" | "horizontal" | "vertical" | undefined;
3753
+ }) | ({
3694
3754
  type: "tooltip";
3695
3755
  anchor: string;
3696
3756
  show_on: "click" | "hover";
@@ -3711,7 +3771,9 @@ export declare class Nudge {
3711
3771
  };
3712
3772
  };
3713
3773
  };
3714
- };
3774
+ } & {
3775
+ layout?: "classic" | "horizontal" | "vertical" | undefined;
3776
+ });
3715
3777
  } & {
3716
3778
  has_survey_response?: boolean | undefined;
3717
3779
  })[];
@@ -3738,6 +3800,7 @@ export declare class Nudge {
3738
3800
  show_step_counter: boolean;
3739
3801
  dismissible: boolean;
3740
3802
  snoozable: boolean;
3803
+ snoozable_on_all_steps: boolean;
3741
3804
  share_page_url_or_path: string;
3742
3805
  copilot_suggest: boolean;
3743
3806
  show_in_spotlight_search: boolean;
@@ -4059,12 +4122,16 @@ export declare class Nudge {
4059
4122
  is_live: boolean;
4060
4123
  preview_url: string | null | undefined;
4061
4124
  } & {
4062
- form_factor: {
4125
+ form_factor: ({
4063
4126
  type: "modal";
4064
- } | {
4127
+ } & {
4128
+ layout?: "classic" | "horizontal" | "vertical" | undefined;
4129
+ }) | ({
4065
4130
  type: "popover";
4066
4131
  position: "center" | "top-left" | "top-right" | "bottom-right" | "bottom-left";
4067
- } | ({
4132
+ } & {
4133
+ layout?: "classic" | "horizontal" | "vertical" | undefined;
4134
+ }) | ({
4068
4135
  type: "pin";
4069
4136
  anchor: string;
4070
4137
  } & {
@@ -4078,7 +4145,8 @@ export declare class Nudge {
4078
4145
  position?: "auto" | "left" | "top" | "bottom" | "right" | undefined;
4079
4146
  alignment?: "center" | "left" | "top" | "bottom" | "right" | undefined;
4080
4147
  copilot_intro?: boolean | undefined;
4081
- }) | {
4148
+ layout?: "classic" | "horizontal" | "vertical" | undefined;
4149
+ }) | ({
4082
4150
  type: "tooltip";
4083
4151
  anchor: string;
4084
4152
  show_on: "click" | "hover";
@@ -4099,7 +4167,9 @@ export declare class Nudge {
4099
4167
  };
4100
4168
  };
4101
4169
  };
4102
- };
4170
+ } & {
4171
+ layout?: "classic" | "horizontal" | "vertical" | undefined;
4172
+ });
4103
4173
  } & {
4104
4174
  has_survey_response?: boolean | undefined;
4105
4175
  })[];
@@ -4126,6 +4196,7 @@ export declare class Nudge {
4126
4196
  show_step_counter: boolean;
4127
4197
  dismissible: boolean;
4128
4198
  snoozable: boolean;
4199
+ snoozable_on_all_steps: boolean;
4129
4200
  share_page_url_or_path: string;
4130
4201
  copilot_suggest: boolean;
4131
4202
  show_in_spotlight_search: boolean;