commandbar 1.13.1 → 1.14.0
Sign up to get free protection for your applications and to get access to all the features.
- package/build/commandbar-js/src/index.d.ts +0 -2
- package/build/commandbar-js/src/index.js +1 -2
- package/build/internal/src/middleware/OrganizationV.d.ts +8 -0
- package/build/internal/src/middleware/chat.d.ts +705 -705
- package/build/internal/src/middleware/command.d.ts +311 -311
- package/build/internal/src/middleware/experienceTemplate.d.ts +104 -40
- package/build/internal/src/middleware/experiencesSearch.d.ts +105 -105
- package/build/internal/src/middleware/flags.d.ts +2 -0
- package/build/internal/src/middleware/helpDocsSearch.d.ts +75 -75
- package/build/internal/src/middleware/helpers/rules.d.ts +1 -1
- package/build/internal/src/middleware/nudge.d.ts +116 -45
- package/build/internal/src/middleware/organization.d.ts +91 -75
- package/build/internal/src/middleware/organizationSettings.d.ts +22 -6
- package/build/internal/src/middleware/types.d.ts +10 -0
- package/build/internal/src/util/operatingSystem.d.ts +1 -0
- package/package.json +1 -2
- package/src/index.ts +0 -2
- package/build/commandbar-js/src/index.js.LICENSE.txt +0 -14
@@ -305,12 +305,16 @@ export declare const ExperienceTemplateV: t.TypeC<{
|
|
305
305
|
is_live: t.BooleanC;
|
306
306
|
preview_url: t.UnionC<[t.StringC, t.NullC, t.UndefinedC]>;
|
307
307
|
}>, t.IntersectionC<[t.TypeC<{
|
308
|
-
form_factor: t.UnionC<[t.TypeC<{
|
308
|
+
form_factor: t.UnionC<[t.IntersectionC<[t.TypeC<{
|
309
309
|
type: t.LiteralC<"modal">;
|
310
|
-
}>, t.
|
310
|
+
}>, t.PartialC<{
|
311
|
+
layout: t.UnionC<[t.LiteralC<"classic">, t.LiteralC<"horizontal">, t.LiteralC<"vertical">]>;
|
312
|
+
}>]>, t.IntersectionC<[t.TypeC<{
|
311
313
|
type: t.LiteralC<"popover">;
|
312
314
|
position: t.UnionC<[t.LiteralC<"top-left">, t.LiteralC<"top-right">, t.LiteralC<"bottom-right">, t.LiteralC<"bottom-left">, t.LiteralC<"center">]>;
|
313
|
-
}>, t.
|
315
|
+
}>, t.PartialC<{
|
316
|
+
layout: t.UnionC<[t.LiteralC<"classic">, t.LiteralC<"horizontal">, t.LiteralC<"vertical">]>;
|
317
|
+
}>]>, t.IntersectionC<[t.TypeC<{
|
314
318
|
type: t.LiteralC<"pin">;
|
315
319
|
anchor: t.StringC;
|
316
320
|
}>, t.PartialC<{
|
@@ -324,7 +328,8 @@ export declare const ExperienceTemplateV: t.TypeC<{
|
|
324
328
|
position: t.UnionC<[t.LiteralC<"auto">, t.LiteralC<"top">, t.LiteralC<"bottom">, t.LiteralC<"left">, t.LiteralC<"right">]>;
|
325
329
|
alignment: t.UnionC<[t.LiteralC<"center">, t.LiteralC<"top">, t.LiteralC<"bottom">, t.LiteralC<"left">, t.LiteralC<"right">]>;
|
326
330
|
copilot_intro: t.BooleanC;
|
327
|
-
|
331
|
+
layout: t.UnionC<[t.LiteralC<"classic">, t.LiteralC<"horizontal">, t.LiteralC<"vertical">]>;
|
332
|
+
}>]>, t.IntersectionC<[t.TypeC<{
|
328
333
|
type: t.LiteralC<"tooltip">;
|
329
334
|
anchor: t.StringC;
|
330
335
|
show_on: t.UnionC<[t.LiteralC<"hover">, t.LiteralC<"click">]>;
|
@@ -345,7 +350,9 @@ export declare const ExperienceTemplateV: t.TypeC<{
|
|
345
350
|
}>;
|
346
351
|
}>;
|
347
352
|
}>]>;
|
348
|
-
}
|
353
|
+
}>, t.PartialC<{
|
354
|
+
layout: t.UnionC<[t.LiteralC<"classic">, t.LiteralC<"horizontal">, t.LiteralC<"vertical">]>;
|
355
|
+
}>]>]>;
|
349
356
|
}>, t.PartialC<{
|
350
357
|
has_survey_response: t.BooleanC;
|
351
358
|
}>]>]>>;
|
@@ -372,6 +379,7 @@ export declare const ExperienceTemplateV: t.TypeC<{
|
|
372
379
|
show_step_counter: t.BooleanC;
|
373
380
|
dismissible: t.BooleanC;
|
374
381
|
snoozable: t.BooleanC;
|
382
|
+
snoozable_on_all_steps: t.BooleanC;
|
375
383
|
share_page_url_or_path: t.StringC;
|
376
384
|
copilot_suggest: t.BooleanC;
|
377
385
|
show_in_spotlight_search: t.BooleanC;
|
@@ -695,12 +703,16 @@ export declare class ExperienceTemplate {
|
|
695
703
|
is_live: boolean;
|
696
704
|
preview_url: string | null | undefined;
|
697
705
|
} & {
|
698
|
-
form_factor: {
|
706
|
+
form_factor: ({
|
699
707
|
type: "modal";
|
700
|
-
}
|
708
|
+
} & {
|
709
|
+
layout?: "classic" | "horizontal" | "vertical" | undefined;
|
710
|
+
}) | ({
|
701
711
|
type: "popover";
|
702
712
|
position: "center" | "top-left" | "top-right" | "bottom-right" | "bottom-left";
|
703
|
-
}
|
713
|
+
} & {
|
714
|
+
layout?: "classic" | "horizontal" | "vertical" | undefined;
|
715
|
+
}) | ({
|
704
716
|
type: "pin";
|
705
717
|
anchor: string;
|
706
718
|
} & {
|
@@ -714,7 +726,8 @@ export declare class ExperienceTemplate {
|
|
714
726
|
position?: "auto" | "left" | "top" | "bottom" | "right" | undefined;
|
715
727
|
alignment?: "center" | "left" | "top" | "bottom" | "right" | undefined;
|
716
728
|
copilot_intro?: boolean | undefined;
|
717
|
-
|
729
|
+
layout?: "classic" | "horizontal" | "vertical" | undefined;
|
730
|
+
}) | ({
|
718
731
|
type: "tooltip";
|
719
732
|
anchor: string;
|
720
733
|
show_on: "click" | "hover";
|
@@ -735,7 +748,9 @@ export declare class ExperienceTemplate {
|
|
735
748
|
};
|
736
749
|
};
|
737
750
|
};
|
738
|
-
}
|
751
|
+
} & {
|
752
|
+
layout?: "classic" | "horizontal" | "vertical" | undefined;
|
753
|
+
});
|
739
754
|
} & {
|
740
755
|
has_survey_response?: boolean | undefined;
|
741
756
|
})[];
|
@@ -762,6 +777,7 @@ export declare class ExperienceTemplate {
|
|
762
777
|
show_step_counter: boolean;
|
763
778
|
dismissible: boolean;
|
764
779
|
snoozable: boolean;
|
780
|
+
snoozable_on_all_steps: boolean;
|
765
781
|
share_page_url_or_path: string;
|
766
782
|
copilot_suggest: boolean;
|
767
783
|
show_in_spotlight_search: boolean;
|
@@ -1084,12 +1100,16 @@ export declare class ExperienceTemplate {
|
|
1084
1100
|
is_live: boolean;
|
1085
1101
|
preview_url: string | null | undefined;
|
1086
1102
|
} & {
|
1087
|
-
form_factor: {
|
1103
|
+
form_factor: ({
|
1088
1104
|
type: "modal";
|
1089
|
-
}
|
1105
|
+
} & {
|
1106
|
+
layout?: "classic" | "horizontal" | "vertical" | undefined;
|
1107
|
+
}) | ({
|
1090
1108
|
type: "popover";
|
1091
1109
|
position: "center" | "top-left" | "top-right" | "bottom-right" | "bottom-left";
|
1092
|
-
}
|
1110
|
+
} & {
|
1111
|
+
layout?: "classic" | "horizontal" | "vertical" | undefined;
|
1112
|
+
}) | ({
|
1093
1113
|
type: "pin";
|
1094
1114
|
anchor: string;
|
1095
1115
|
} & {
|
@@ -1103,7 +1123,8 @@ export declare class ExperienceTemplate {
|
|
1103
1123
|
position?: "auto" | "left" | "top" | "bottom" | "right" | undefined;
|
1104
1124
|
alignment?: "center" | "left" | "top" | "bottom" | "right" | undefined;
|
1105
1125
|
copilot_intro?: boolean | undefined;
|
1106
|
-
|
1126
|
+
layout?: "classic" | "horizontal" | "vertical" | undefined;
|
1127
|
+
}) | ({
|
1107
1128
|
type: "tooltip";
|
1108
1129
|
anchor: string;
|
1109
1130
|
show_on: "click" | "hover";
|
@@ -1124,7 +1145,9 @@ export declare class ExperienceTemplate {
|
|
1124
1145
|
};
|
1125
1146
|
};
|
1126
1147
|
};
|
1127
|
-
}
|
1148
|
+
} & {
|
1149
|
+
layout?: "classic" | "horizontal" | "vertical" | undefined;
|
1150
|
+
});
|
1128
1151
|
} & {
|
1129
1152
|
has_survey_response?: boolean | undefined;
|
1130
1153
|
})[];
|
@@ -1151,6 +1174,7 @@ export declare class ExperienceTemplate {
|
|
1151
1174
|
show_step_counter: boolean;
|
1152
1175
|
dismissible: boolean;
|
1153
1176
|
snoozable: boolean;
|
1177
|
+
snoozable_on_all_steps: boolean;
|
1154
1178
|
share_page_url_or_path: string;
|
1155
1179
|
copilot_suggest: boolean;
|
1156
1180
|
show_in_spotlight_search: boolean;
|
@@ -1472,12 +1496,16 @@ export declare class ExperienceTemplate {
|
|
1472
1496
|
is_live: boolean;
|
1473
1497
|
preview_url: string | null | undefined;
|
1474
1498
|
} & {
|
1475
|
-
form_factor: {
|
1499
|
+
form_factor: ({
|
1476
1500
|
type: "modal";
|
1477
|
-
}
|
1501
|
+
} & {
|
1502
|
+
layout?: "classic" | "horizontal" | "vertical" | undefined;
|
1503
|
+
}) | ({
|
1478
1504
|
type: "popover";
|
1479
1505
|
position: "center" | "top-left" | "top-right" | "bottom-right" | "bottom-left";
|
1480
|
-
}
|
1506
|
+
} & {
|
1507
|
+
layout?: "classic" | "horizontal" | "vertical" | undefined;
|
1508
|
+
}) | ({
|
1481
1509
|
type: "pin";
|
1482
1510
|
anchor: string;
|
1483
1511
|
} & {
|
@@ -1491,7 +1519,8 @@ export declare class ExperienceTemplate {
|
|
1491
1519
|
position?: "auto" | "left" | "top" | "bottom" | "right" | undefined;
|
1492
1520
|
alignment?: "center" | "left" | "top" | "bottom" | "right" | undefined;
|
1493
1521
|
copilot_intro?: boolean | undefined;
|
1494
|
-
|
1522
|
+
layout?: "classic" | "horizontal" | "vertical" | undefined;
|
1523
|
+
}) | ({
|
1495
1524
|
type: "tooltip";
|
1496
1525
|
anchor: string;
|
1497
1526
|
show_on: "click" | "hover";
|
@@ -1512,7 +1541,9 @@ export declare class ExperienceTemplate {
|
|
1512
1541
|
};
|
1513
1542
|
};
|
1514
1543
|
};
|
1515
|
-
}
|
1544
|
+
} & {
|
1545
|
+
layout?: "classic" | "horizontal" | "vertical" | undefined;
|
1546
|
+
});
|
1516
1547
|
} & {
|
1517
1548
|
has_survey_response?: boolean | undefined;
|
1518
1549
|
})[];
|
@@ -1539,6 +1570,7 @@ export declare class ExperienceTemplate {
|
|
1539
1570
|
show_step_counter: boolean;
|
1540
1571
|
dismissible: boolean;
|
1541
1572
|
snoozable: boolean;
|
1573
|
+
snoozable_on_all_steps: boolean;
|
1542
1574
|
share_page_url_or_path: string;
|
1543
1575
|
copilot_suggest: boolean;
|
1544
1576
|
show_in_spotlight_search: boolean;
|
@@ -1861,12 +1893,16 @@ export declare class ExperienceTemplate {
|
|
1861
1893
|
is_live: boolean;
|
1862
1894
|
preview_url: string | null | undefined;
|
1863
1895
|
} & {
|
1864
|
-
form_factor: {
|
1896
|
+
form_factor: ({
|
1865
1897
|
type: "modal";
|
1866
|
-
}
|
1898
|
+
} & {
|
1899
|
+
layout?: "classic" | "horizontal" | "vertical" | undefined;
|
1900
|
+
}) | ({
|
1867
1901
|
type: "popover";
|
1868
1902
|
position: "center" | "top-left" | "top-right" | "bottom-right" | "bottom-left";
|
1869
|
-
}
|
1903
|
+
} & {
|
1904
|
+
layout?: "classic" | "horizontal" | "vertical" | undefined;
|
1905
|
+
}) | ({
|
1870
1906
|
type: "pin";
|
1871
1907
|
anchor: string;
|
1872
1908
|
} & {
|
@@ -1880,7 +1916,8 @@ export declare class ExperienceTemplate {
|
|
1880
1916
|
position?: "auto" | "left" | "top" | "bottom" | "right" | undefined;
|
1881
1917
|
alignment?: "center" | "left" | "top" | "bottom" | "right" | undefined;
|
1882
1918
|
copilot_intro?: boolean | undefined;
|
1883
|
-
|
1919
|
+
layout?: "classic" | "horizontal" | "vertical" | undefined;
|
1920
|
+
}) | ({
|
1884
1921
|
type: "tooltip";
|
1885
1922
|
anchor: string;
|
1886
1923
|
show_on: "click" | "hover";
|
@@ -1901,7 +1938,9 @@ export declare class ExperienceTemplate {
|
|
1901
1938
|
};
|
1902
1939
|
};
|
1903
1940
|
};
|
1904
|
-
}
|
1941
|
+
} & {
|
1942
|
+
layout?: "classic" | "horizontal" | "vertical" | undefined;
|
1943
|
+
});
|
1905
1944
|
} & {
|
1906
1945
|
has_survey_response?: boolean | undefined;
|
1907
1946
|
})[];
|
@@ -1928,6 +1967,7 @@ export declare class ExperienceTemplate {
|
|
1928
1967
|
show_step_counter: boolean;
|
1929
1968
|
dismissible: boolean;
|
1930
1969
|
snoozable: boolean;
|
1970
|
+
snoozable_on_all_steps: boolean;
|
1931
1971
|
share_page_url_or_path: string;
|
1932
1972
|
copilot_suggest: boolean;
|
1933
1973
|
show_in_spotlight_search: boolean;
|
@@ -2249,12 +2289,16 @@ export declare class ExperienceTemplate {
|
|
2249
2289
|
is_live: boolean;
|
2250
2290
|
preview_url: string | null | undefined;
|
2251
2291
|
} & {
|
2252
|
-
form_factor: {
|
2292
|
+
form_factor: ({
|
2253
2293
|
type: "modal";
|
2254
|
-
}
|
2294
|
+
} & {
|
2295
|
+
layout?: "classic" | "horizontal" | "vertical" | undefined;
|
2296
|
+
}) | ({
|
2255
2297
|
type: "popover";
|
2256
2298
|
position: "center" | "top-left" | "top-right" | "bottom-right" | "bottom-left";
|
2257
|
-
}
|
2299
|
+
} & {
|
2300
|
+
layout?: "classic" | "horizontal" | "vertical" | undefined;
|
2301
|
+
}) | ({
|
2258
2302
|
type: "pin";
|
2259
2303
|
anchor: string;
|
2260
2304
|
} & {
|
@@ -2268,7 +2312,8 @@ export declare class ExperienceTemplate {
|
|
2268
2312
|
position?: "auto" | "left" | "top" | "bottom" | "right" | undefined;
|
2269
2313
|
alignment?: "center" | "left" | "top" | "bottom" | "right" | undefined;
|
2270
2314
|
copilot_intro?: boolean | undefined;
|
2271
|
-
|
2315
|
+
layout?: "classic" | "horizontal" | "vertical" | undefined;
|
2316
|
+
}) | ({
|
2272
2317
|
type: "tooltip";
|
2273
2318
|
anchor: string;
|
2274
2319
|
show_on: "click" | "hover";
|
@@ -2289,7 +2334,9 @@ export declare class ExperienceTemplate {
|
|
2289
2334
|
};
|
2290
2335
|
};
|
2291
2336
|
};
|
2292
|
-
}
|
2337
|
+
} & {
|
2338
|
+
layout?: "classic" | "horizontal" | "vertical" | undefined;
|
2339
|
+
});
|
2293
2340
|
} & {
|
2294
2341
|
has_survey_response?: boolean | undefined;
|
2295
2342
|
})[];
|
@@ -2316,6 +2363,7 @@ export declare class ExperienceTemplate {
|
|
2316
2363
|
show_step_counter: boolean;
|
2317
2364
|
dismissible: boolean;
|
2318
2365
|
snoozable: boolean;
|
2366
|
+
snoozable_on_all_steps: boolean;
|
2319
2367
|
share_page_url_or_path: string;
|
2320
2368
|
copilot_suggest: boolean;
|
2321
2369
|
show_in_spotlight_search: boolean;
|
@@ -2639,12 +2687,16 @@ export declare class ExperienceTemplate {
|
|
2639
2687
|
is_live: boolean;
|
2640
2688
|
preview_url: string | null | undefined;
|
2641
2689
|
} & {
|
2642
|
-
form_factor: {
|
2690
|
+
form_factor: ({
|
2643
2691
|
type: "modal";
|
2644
|
-
}
|
2692
|
+
} & {
|
2693
|
+
layout?: "classic" | "horizontal" | "vertical" | undefined;
|
2694
|
+
}) | ({
|
2645
2695
|
type: "popover";
|
2646
2696
|
position: "center" | "top-left" | "top-right" | "bottom-right" | "bottom-left";
|
2647
|
-
}
|
2697
|
+
} & {
|
2698
|
+
layout?: "classic" | "horizontal" | "vertical" | undefined;
|
2699
|
+
}) | ({
|
2648
2700
|
type: "pin";
|
2649
2701
|
anchor: string;
|
2650
2702
|
} & {
|
@@ -2658,7 +2710,8 @@ export declare class ExperienceTemplate {
|
|
2658
2710
|
position?: "auto" | "left" | "top" | "bottom" | "right" | undefined;
|
2659
2711
|
alignment?: "center" | "left" | "top" | "bottom" | "right" | undefined;
|
2660
2712
|
copilot_intro?: boolean | undefined;
|
2661
|
-
|
2713
|
+
layout?: "classic" | "horizontal" | "vertical" | undefined;
|
2714
|
+
}) | ({
|
2662
2715
|
type: "tooltip";
|
2663
2716
|
anchor: string;
|
2664
2717
|
show_on: "click" | "hover";
|
@@ -2679,7 +2732,9 @@ export declare class ExperienceTemplate {
|
|
2679
2732
|
};
|
2680
2733
|
};
|
2681
2734
|
};
|
2682
|
-
}
|
2735
|
+
} & {
|
2736
|
+
layout?: "classic" | "horizontal" | "vertical" | undefined;
|
2737
|
+
});
|
2683
2738
|
} & {
|
2684
2739
|
has_survey_response?: boolean | undefined;
|
2685
2740
|
})[];
|
@@ -2706,6 +2761,7 @@ export declare class ExperienceTemplate {
|
|
2706
2761
|
show_step_counter: boolean;
|
2707
2762
|
dismissible: boolean;
|
2708
2763
|
snoozable: boolean;
|
2764
|
+
snoozable_on_all_steps: boolean;
|
2709
2765
|
share_page_url_or_path: string;
|
2710
2766
|
copilot_suggest: boolean;
|
2711
2767
|
show_in_spotlight_search: boolean;
|
@@ -3031,12 +3087,16 @@ export declare class ExperienceTemplate {
|
|
3031
3087
|
is_live: boolean;
|
3032
3088
|
preview_url: string | null | undefined;
|
3033
3089
|
} & {
|
3034
|
-
form_factor: {
|
3090
|
+
form_factor: ({
|
3035
3091
|
type: "modal";
|
3036
|
-
}
|
3092
|
+
} & {
|
3093
|
+
layout?: "classic" | "horizontal" | "vertical" | undefined;
|
3094
|
+
}) | ({
|
3037
3095
|
type: "popover";
|
3038
3096
|
position: "center" | "top-left" | "top-right" | "bottom-right" | "bottom-left";
|
3039
|
-
}
|
3097
|
+
} & {
|
3098
|
+
layout?: "classic" | "horizontal" | "vertical" | undefined;
|
3099
|
+
}) | ({
|
3040
3100
|
type: "pin";
|
3041
3101
|
anchor: string;
|
3042
3102
|
} & {
|
@@ -3050,7 +3110,8 @@ export declare class ExperienceTemplate {
|
|
3050
3110
|
position?: "auto" | "left" | "top" | "bottom" | "right" | undefined;
|
3051
3111
|
alignment?: "center" | "left" | "top" | "bottom" | "right" | undefined;
|
3052
3112
|
copilot_intro?: boolean | undefined;
|
3053
|
-
|
3113
|
+
layout?: "classic" | "horizontal" | "vertical" | undefined;
|
3114
|
+
}) | ({
|
3054
3115
|
type: "tooltip";
|
3055
3116
|
anchor: string;
|
3056
3117
|
show_on: "click" | "hover";
|
@@ -3071,7 +3132,9 @@ export declare class ExperienceTemplate {
|
|
3071
3132
|
};
|
3072
3133
|
};
|
3073
3134
|
};
|
3074
|
-
}
|
3135
|
+
} & {
|
3136
|
+
layout?: "classic" | "horizontal" | "vertical" | undefined;
|
3137
|
+
});
|
3075
3138
|
} & {
|
3076
3139
|
has_survey_response?: boolean | undefined;
|
3077
3140
|
})[];
|
@@ -3098,6 +3161,7 @@ export declare class ExperienceTemplate {
|
|
3098
3161
|
show_step_counter: boolean;
|
3099
3162
|
dismissible: boolean;
|
3100
3163
|
snoozable: boolean;
|
3164
|
+
snoozable_on_all_steps: boolean;
|
3101
3165
|
share_page_url_or_path: string;
|
3102
3166
|
copilot_suggest: boolean;
|
3103
3167
|
show_in_spotlight_search: boolean;
|