commandbar 1.6.13 → 1.6.14

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,6 +2,115 @@
2
2
  import * as t from 'io-ts';
3
3
  import { GenericBatchRequest } from './generics';
4
4
  export { CommandFromClientV } from './CommandFromClientV';
5
+ declare const CommandBaseV: t.IntersectionC<[t.TypeC<{
6
+ id: t.NumberC;
7
+ organization: t.UnionC<[t.NumberC, t.StringC]>;
8
+ text: t.StringC;
9
+ template: t.UnionC<[t.IntersectionC<[t.TypeC<{
10
+ type: t.LiteralC<"admin">;
11
+ value: t.StringC;
12
+ }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
13
+ commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
14
+ object: t.StringC;
15
+ hoverTooltip: t.BooleanC;
16
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
17
+ }>]>]>, t.IntersectionC<[t.TypeC<{
18
+ type: t.LiteralC<"callback">;
19
+ value: t.StringC;
20
+ }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
21
+ commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
22
+ object: t.StringC;
23
+ hoverTooltip: t.BooleanC;
24
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
25
+ }>]>]>, t.IntersectionC<[t.TypeC<{
26
+ type: t.LiteralC<"link">;
27
+ value: t.StringC;
28
+ }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
29
+ commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
30
+ object: t.StringC;
31
+ hoverTooltip: t.BooleanC;
32
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
33
+ }>]>]>, t.IntersectionC<[t.TypeC<{
34
+ type: t.UnionC<[t.LiteralC<"click">, t.LiteralC<"clickBySelector">, t.LiteralC<"clickByXpath">]>;
35
+ value: t.ArrayC<t.StringC>;
36
+ }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
37
+ commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
38
+ object: t.StringC;
39
+ hoverTooltip: t.BooleanC;
40
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
41
+ }>]>]>, t.IntersectionC<[t.TypeC<{
42
+ type: t.LiteralC<"builtin">;
43
+ value: t.StringC;
44
+ }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
45
+ commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
46
+ object: t.StringC;
47
+ hoverTooltip: t.BooleanC;
48
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
49
+ }>]>]>, t.IntersectionC<[t.TypeC<{
50
+ type: t.LiteralC<"webhook">;
51
+ value: t.StringC;
52
+ }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
53
+ commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
54
+ object: t.StringC;
55
+ hoverTooltip: t.BooleanC;
56
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
57
+ }>]>]>, t.IntersectionC<[t.TypeC<{
58
+ type: t.LiteralC<"script">;
59
+ value: t.StringC;
60
+ }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
61
+ commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
62
+ object: t.StringC;
63
+ hoverTooltip: t.BooleanC;
64
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
65
+ }>]>]>, t.IntersectionC<[t.TypeC<{
66
+ type: t.LiteralC<"request">;
67
+ value: t.IntersectionC<[t.TypeC<{
68
+ method: t.UnionC<[t.LiteralC<"get">, t.LiteralC<"delete">, t.LiteralC<"head">, t.LiteralC<"options">, t.LiteralC<"post">, t.LiteralC<"put">, t.LiteralC<"patch">]>;
69
+ url: t.StringC;
70
+ }>, t.PartialC<{
71
+ headers: t.UnknownRecordC;
72
+ body: t.UnknownRecordC;
73
+ onSend: t.StringC;
74
+ onSuccess: t.StringC;
75
+ onError: t.StringC;
76
+ }>]>;
77
+ }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
78
+ commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
79
+ object: t.StringC;
80
+ hoverTooltip: t.BooleanC;
81
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
82
+ }>]>]>, t.IntersectionC<[t.TypeC<{
83
+ type: t.LiteralC<"appcues">;
84
+ value: t.StringC;
85
+ }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
86
+ commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
87
+ object: t.StringC;
88
+ hoverTooltip: t.BooleanC;
89
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
90
+ }>]>]>, t.IntersectionC<[t.TypeC<{
91
+ type: t.LiteralC<"video">;
92
+ value: t.StringC;
93
+ }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
94
+ commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
95
+ object: t.StringC;
96
+ hoverTooltip: t.BooleanC;
97
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
98
+ }>]>]>, t.IntersectionC<[t.TypeC<{
99
+ type: t.LiteralC<"helpdoc">;
100
+ value: t.StringC;
101
+ }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
102
+ commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
103
+ object: t.StringC;
104
+ hoverTooltip: t.BooleanC;
105
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
106
+ }>]>]>]>;
107
+ }>, t.PartialC<{
108
+ disabledReason: t.StringC;
109
+ source: t.StringC;
110
+ name: t.StringC;
111
+ last_available: t.UnionC<[t.StringC, t.NullC]>;
112
+ modified: t.StringC;
113
+ }>]>;
5
114
  declare const HelpSyncCommandAdditionalV: t.PartialC<{
6
115
  third_party_source: t.UnionC<[t.StringC, t.NullC]>;
7
116
  third_party_id: t.UnionC<[t.StringC, t.NullC]>;
@@ -100,6 +209,14 @@ export declare const CommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
100
209
  object: t.StringC;
101
210
  hoverTooltip: t.BooleanC;
102
211
  operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
212
+ }>]>]>, t.IntersectionC<[t.TypeC<{
213
+ type: t.LiteralC<"helpdoc">;
214
+ value: t.StringC;
215
+ }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
216
+ commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
217
+ object: t.StringC;
218
+ hoverTooltip: t.BooleanC;
219
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
103
220
  }>]>]>]>;
104
221
  }>, t.PartialC<{
105
222
  disabledReason: t.StringC;
@@ -217,12 +334,13 @@ export declare const CommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
217
334
  auto_choose: t.BooleanC;
218
335
  is_private: t.BooleanC;
219
336
  }>]>, t.IntersectionC<[t.TypeC<{
220
- type: t.LiteralC<"video">;
337
+ type: t.UnionC<[t.LiteralC<"video">, t.LiteralC<"html">]>;
221
338
  value: t.IntersectionC<[t.TypeC<{
222
339
  source: t.StringC;
223
340
  }>, t.PartialC<{
224
341
  title: t.StringC;
225
342
  description: t.StringC;
343
+ url: t.StringC;
226
344
  }>]>;
227
345
  order_key: t.NumberC;
228
346
  }>, t.PartialC<{
@@ -303,6 +421,9 @@ export declare const CommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
303
421
  value: t.StringC;
304
422
  reason: t.StringC;
305
423
  }>]>]>>;
424
+ availability_expression: t.UnionC<[t.Type<import("./helpers/rules").RuleExpression, import("./helpers/rules").RuleExpression, unknown>, t.NullC]>;
425
+ recommend_expression: t.UnionC<[t.Type<import("./helpers/rules").RuleExpression, import("./helpers/rules").RuleExpression, unknown>, t.NullC]>;
426
+ always_recommend: t.BooleanC;
306
427
  confirm: t.StringC;
307
428
  shortcut: t.ArrayC<t.StringC>;
308
429
  explanation: t.StringC;
@@ -341,6 +462,7 @@ export declare const CommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
341
462
  }>, t.PartialC<{
342
463
  position: t.UnionC<[t.LiteralC<"inline">, t.LiteralC<"popover">]>;
343
464
  }>]>]>>]>;
465
+ next_steps: t.ArrayC<t.UnionC<[t.StringC, t.NumberC]>>;
344
466
  }>]>;
345
467
  export declare const EditorCommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
346
468
  id: t.NumberC;
@@ -435,6 +557,14 @@ export declare const EditorCommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
435
557
  object: t.StringC;
436
558
  hoverTooltip: t.BooleanC;
437
559
  operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
560
+ }>]>]>, t.IntersectionC<[t.TypeC<{
561
+ type: t.LiteralC<"helpdoc">;
562
+ value: t.StringC;
563
+ }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
564
+ commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
565
+ object: t.StringC;
566
+ hoverTooltip: t.BooleanC;
567
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
438
568
  }>]>]>]>;
439
569
  }>, t.PartialC<{
440
570
  disabledReason: t.StringC;
@@ -552,12 +682,13 @@ export declare const EditorCommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
552
682
  auto_choose: t.BooleanC;
553
683
  is_private: t.BooleanC;
554
684
  }>]>, t.IntersectionC<[t.TypeC<{
555
- type: t.LiteralC<"video">;
685
+ type: t.UnionC<[t.LiteralC<"video">, t.LiteralC<"html">]>;
556
686
  value: t.IntersectionC<[t.TypeC<{
557
687
  source: t.StringC;
558
688
  }>, t.PartialC<{
559
689
  title: t.StringC;
560
690
  description: t.StringC;
691
+ url: t.StringC;
561
692
  }>]>;
562
693
  order_key: t.NumberC;
563
694
  }>, t.PartialC<{
@@ -705,6 +836,9 @@ export declare const EditorCommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
705
836
  value: t.StringC;
706
837
  reason: t.StringC;
707
838
  }>]>]>>]>;
839
+ availability_expression: t.Type<import("./helpers/rules").RuleExpression, import("./helpers/rules").RuleExpression, unknown>;
840
+ recommend_expression: t.Type<import("./helpers/rules").RuleExpression, import("./helpers/rules").RuleExpression, unknown>;
841
+ always_recommend: t.BooleanC;
708
842
  confirm: t.StringC;
709
843
  shortcut: t.ArrayC<t.StringC>;
710
844
  explanation: t.StringC;
@@ -743,6 +877,7 @@ export declare const EditorCommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
743
877
  }>, t.PartialC<{
744
878
  position: t.UnionC<[t.LiteralC<"inline">, t.LiteralC<"popover">]>;
745
879
  }>]>]>>]>;
880
+ next_steps: t.ArrayC<t.UnionC<[t.StringC, t.NumberC]>>;
746
881
  }>, t.PartialC<{
747
882
  third_party_source: t.UnionC<[t.StringC, t.NullC]>;
748
883
  third_party_id: t.UnionC<[t.StringC, t.NullC]>;
@@ -852,6 +987,14 @@ export declare const BatchEditorCommandResponseV: t.TypeC<{
852
987
  object: t.StringC;
853
988
  hoverTooltip: t.BooleanC;
854
989
  operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
990
+ }>]>]>, t.IntersectionC<[t.TypeC<{
991
+ type: t.LiteralC<"helpdoc">;
992
+ value: t.StringC;
993
+ }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
994
+ commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
995
+ object: t.StringC;
996
+ hoverTooltip: t.BooleanC;
997
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
855
998
  }>]>]>]>;
856
999
  }>, t.PartialC<{
857
1000
  disabledReason: t.StringC;
@@ -969,12 +1112,13 @@ export declare const BatchEditorCommandResponseV: t.TypeC<{
969
1112
  auto_choose: t.BooleanC;
970
1113
  is_private: t.BooleanC;
971
1114
  }>]>, t.IntersectionC<[t.TypeC<{
972
- type: t.LiteralC<"video">;
1115
+ type: t.UnionC<[t.LiteralC<"video">, t.LiteralC<"html">]>;
973
1116
  value: t.IntersectionC<[t.TypeC<{
974
1117
  source: t.StringC;
975
1118
  }>, t.PartialC<{
976
1119
  title: t.StringC;
977
1120
  description: t.StringC;
1121
+ url: t.StringC;
978
1122
  }>]>;
979
1123
  order_key: t.NumberC;
980
1124
  }>, t.PartialC<{
@@ -1122,6 +1266,9 @@ export declare const BatchEditorCommandResponseV: t.TypeC<{
1122
1266
  value: t.StringC;
1123
1267
  reason: t.StringC;
1124
1268
  }>]>]>>]>;
1269
+ availability_expression: t.Type<import("./helpers/rules").RuleExpression, import("./helpers/rules").RuleExpression, unknown>;
1270
+ recommend_expression: t.Type<import("./helpers/rules").RuleExpression, import("./helpers/rules").RuleExpression, unknown>;
1271
+ always_recommend: t.BooleanC;
1125
1272
  confirm: t.StringC;
1126
1273
  shortcut: t.ArrayC<t.StringC>;
1127
1274
  explanation: t.StringC;
@@ -1160,6 +1307,7 @@ export declare const BatchEditorCommandResponseV: t.TypeC<{
1160
1307
  }>, t.PartialC<{
1161
1308
  position: t.UnionC<[t.LiteralC<"inline">, t.LiteralC<"popover">]>;
1162
1309
  }>]>]>>]>;
1310
+ next_steps: t.ArrayC<t.UnionC<[t.StringC, t.NumberC]>>;
1163
1311
  }>, t.PartialC<{
1164
1312
  third_party_source: t.UnionC<[t.StringC, t.NullC]>;
1165
1313
  third_party_id: t.UnionC<[t.StringC, t.NullC]>;
@@ -1263,6 +1411,14 @@ export declare class Command {
1263
1411
  object?: string | undefined;
1264
1412
  hoverTooltip?: boolean | undefined;
1265
1413
  operation?: "self" | "router" | "blank" | undefined;
1414
+ }) | ({
1415
+ type: "helpdoc";
1416
+ value: string;
1417
+ } & {} & {
1418
+ commandType?: "object" | "independent" | "help" | undefined;
1419
+ object?: string | undefined;
1420
+ hoverTooltip?: boolean | undefined;
1421
+ operation?: "self" | "router" | "blank" | undefined;
1266
1422
  });
1267
1423
  } & {
1268
1424
  disabledReason?: string | undefined;
@@ -1383,12 +1539,13 @@ export declare class Command {
1383
1539
  auto_choose?: boolean | undefined;
1384
1540
  is_private?: boolean | undefined;
1385
1541
  }) | ({
1386
- type: "video";
1542
+ type: "html" | "video";
1387
1543
  value: {
1388
1544
  source: string;
1389
1545
  } & {
1390
1546
  title?: string | undefined;
1391
1547
  description?: string | undefined;
1548
+ url?: string | undefined;
1392
1549
  };
1393
1550
  order_key: number;
1394
1551
  } & {
@@ -1432,27 +1589,20 @@ export declare class Command {
1432
1589
  reason?: string | undefined;
1433
1590
  }))[];
1434
1591
  recommend_rules: (({
1435
- type: "always";
1436
- } & {
1437
- operator?: null | undefined;
1438
- field?: null | undefined;
1439
- value?: null | undefined;
1440
- reason?: null | undefined;
1441
- }) | ({
1442
1592
  type: "url" | "context" | "element";
1443
1593
  operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
1444
1594
  } & {
1445
1595
  field?: string | undefined;
1446
1596
  value?: string | undefined;
1447
1597
  reason?: string | undefined;
1448
- }))[] | (({
1598
+ }) | ({
1449
1599
  type: "always";
1450
1600
  } & {
1451
1601
  operator?: null | undefined;
1452
1602
  field?: null | undefined;
1453
1603
  value?: null | undefined;
1454
1604
  reason?: null | undefined;
1455
- }) | ({
1605
+ }))[] | (({
1456
1606
  type: "url" | "context" | "element";
1457
1607
  operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
1458
1608
  } & {
@@ -1464,7 +1614,17 @@ export declare class Command {
1464
1614
  rule_id: number;
1465
1615
  } & {
1466
1616
  reason?: string | undefined;
1617
+ }) | ({
1618
+ type: "always";
1619
+ } & {
1620
+ operator?: null | undefined;
1621
+ field?: null | undefined;
1622
+ value?: null | undefined;
1623
+ reason?: null | undefined;
1467
1624
  }))[];
1625
+ availability_expression: import("./helpers/rules").RuleExpression;
1626
+ recommend_expression: import("./helpers/rules").RuleExpression;
1627
+ always_recommend: boolean;
1468
1628
  confirm: string;
1469
1629
  shortcut: string[];
1470
1630
  explanation: string;
@@ -1503,6 +1663,7 @@ export declare class Command {
1503
1663
  } & {
1504
1664
  position?: "inline" | "popover" | undefined;
1505
1665
  }))[] | null;
1666
+ next_steps: (string | number)[];
1506
1667
  } & {
1507
1668
  third_party_source?: string | null | undefined;
1508
1669
  third_party_id?: string | null | undefined;
@@ -1603,6 +1764,14 @@ export declare class Command {
1603
1764
  object?: string | undefined;
1604
1765
  hoverTooltip?: boolean | undefined;
1605
1766
  operation?: "self" | "router" | "blank" | undefined;
1767
+ }) | ({
1768
+ type: "helpdoc";
1769
+ value: string;
1770
+ } & {} & {
1771
+ commandType?: "object" | "independent" | "help" | undefined;
1772
+ object?: string | undefined;
1773
+ hoverTooltip?: boolean | undefined;
1774
+ operation?: "self" | "router" | "blank" | undefined;
1606
1775
  });
1607
1776
  } & {
1608
1777
  disabledReason?: string | undefined;
@@ -1723,12 +1892,13 @@ export declare class Command {
1723
1892
  auto_choose?: boolean | undefined;
1724
1893
  is_private?: boolean | undefined;
1725
1894
  }) | ({
1726
- type: "video";
1895
+ type: "html" | "video";
1727
1896
  value: {
1728
1897
  source: string;
1729
1898
  } & {
1730
1899
  title?: string | undefined;
1731
1900
  description?: string | undefined;
1901
+ url?: string | undefined;
1732
1902
  };
1733
1903
  order_key: number;
1734
1904
  } & {
@@ -1772,27 +1942,20 @@ export declare class Command {
1772
1942
  reason?: string | undefined;
1773
1943
  }))[];
1774
1944
  recommend_rules: (({
1775
- type: "always";
1776
- } & {
1777
- operator?: null | undefined;
1778
- field?: null | undefined;
1779
- value?: null | undefined;
1780
- reason?: null | undefined;
1781
- }) | ({
1782
1945
  type: "url" | "context" | "element";
1783
1946
  operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
1784
1947
  } & {
1785
1948
  field?: string | undefined;
1786
1949
  value?: string | undefined;
1787
1950
  reason?: string | undefined;
1788
- }))[] | (({
1951
+ }) | ({
1789
1952
  type: "always";
1790
1953
  } & {
1791
1954
  operator?: null | undefined;
1792
1955
  field?: null | undefined;
1793
1956
  value?: null | undefined;
1794
1957
  reason?: null | undefined;
1795
- }) | ({
1958
+ }))[] | (({
1796
1959
  type: "url" | "context" | "element";
1797
1960
  operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
1798
1961
  } & {
@@ -1804,7 +1967,17 @@ export declare class Command {
1804
1967
  rule_id: number;
1805
1968
  } & {
1806
1969
  reason?: string | undefined;
1970
+ }) | ({
1971
+ type: "always";
1972
+ } & {
1973
+ operator?: null | undefined;
1974
+ field?: null | undefined;
1975
+ value?: null | undefined;
1976
+ reason?: null | undefined;
1807
1977
  }))[];
1978
+ availability_expression: import("./helpers/rules").RuleExpression;
1979
+ recommend_expression: import("./helpers/rules").RuleExpression;
1980
+ always_recommend: boolean;
1808
1981
  confirm: string;
1809
1982
  shortcut: string[];
1810
1983
  explanation: string;
@@ -1843,6 +2016,7 @@ export declare class Command {
1843
2016
  } & {
1844
2017
  position?: "inline" | "popover" | undefined;
1845
2018
  }))[] | null;
2019
+ next_steps: (string | number)[];
1846
2020
  } & {
1847
2021
  third_party_source?: string | null | undefined;
1848
2022
  third_party_id?: string | null | undefined;
@@ -1944,6 +2118,14 @@ export declare class Command {
1944
2118
  object?: string | undefined;
1945
2119
  hoverTooltip?: boolean | undefined;
1946
2120
  operation?: "self" | "router" | "blank" | undefined;
2121
+ }) | ({
2122
+ type: "helpdoc";
2123
+ value: string;
2124
+ } & {} & {
2125
+ commandType?: "object" | "independent" | "help" | undefined;
2126
+ object?: string | undefined;
2127
+ hoverTooltip?: boolean | undefined;
2128
+ operation?: "self" | "router" | "blank" | undefined;
1947
2129
  });
1948
2130
  } & {
1949
2131
  disabledReason?: string | undefined;
@@ -2064,12 +2246,13 @@ export declare class Command {
2064
2246
  auto_choose?: boolean | undefined;
2065
2247
  is_private?: boolean | undefined;
2066
2248
  }) | ({
2067
- type: "video";
2249
+ type: "html" | "video";
2068
2250
  value: {
2069
2251
  source: string;
2070
2252
  } & {
2071
2253
  title?: string | undefined;
2072
2254
  description?: string | undefined;
2255
+ url?: string | undefined;
2073
2256
  };
2074
2257
  order_key: number;
2075
2258
  } & {
@@ -2113,27 +2296,20 @@ export declare class Command {
2113
2296
  reason?: string | undefined;
2114
2297
  }))[];
2115
2298
  recommend_rules: (({
2116
- type: "always";
2117
- } & {
2118
- operator?: null | undefined;
2119
- field?: null | undefined;
2120
- value?: null | undefined;
2121
- reason?: null | undefined;
2122
- }) | ({
2123
2299
  type: "url" | "context" | "element";
2124
2300
  operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
2125
2301
  } & {
2126
2302
  field?: string | undefined;
2127
2303
  value?: string | undefined;
2128
2304
  reason?: string | undefined;
2129
- }))[] | (({
2305
+ }) | ({
2130
2306
  type: "always";
2131
2307
  } & {
2132
2308
  operator?: null | undefined;
2133
2309
  field?: null | undefined;
2134
2310
  value?: null | undefined;
2135
2311
  reason?: null | undefined;
2136
- }) | ({
2312
+ }))[] | (({
2137
2313
  type: "url" | "context" | "element";
2138
2314
  operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
2139
2315
  } & {
@@ -2145,7 +2321,17 @@ export declare class Command {
2145
2321
  rule_id: number;
2146
2322
  } & {
2147
2323
  reason?: string | undefined;
2324
+ }) | ({
2325
+ type: "always";
2326
+ } & {
2327
+ operator?: null | undefined;
2328
+ field?: null | undefined;
2329
+ value?: null | undefined;
2330
+ reason?: null | undefined;
2148
2331
  }))[];
2332
+ availability_expression: import("./helpers/rules").RuleExpression;
2333
+ recommend_expression: import("./helpers/rules").RuleExpression;
2334
+ always_recommend: boolean;
2149
2335
  confirm: string;
2150
2336
  shortcut: string[];
2151
2337
  explanation: string;
@@ -2184,6 +2370,7 @@ export declare class Command {
2184
2370
  } & {
2185
2371
  position?: "inline" | "popover" | undefined;
2186
2372
  }))[] | null;
2373
+ next_steps: (string | number)[];
2187
2374
  } & {
2188
2375
  third_party_source?: string | null | undefined;
2189
2376
  third_party_id?: string | null | undefined;
@@ -2284,6 +2471,14 @@ export declare class Command {
2284
2471
  object?: string | undefined;
2285
2472
  hoverTooltip?: boolean | undefined;
2286
2473
  operation?: "self" | "router" | "blank" | undefined;
2474
+ }) | ({
2475
+ type: "helpdoc";
2476
+ value: string;
2477
+ } & {} & {
2478
+ commandType?: "object" | "independent" | "help" | undefined;
2479
+ object?: string | undefined;
2480
+ hoverTooltip?: boolean | undefined;
2481
+ operation?: "self" | "router" | "blank" | undefined;
2287
2482
  });
2288
2483
  } & {
2289
2484
  disabledReason?: string | undefined;
@@ -2404,12 +2599,13 @@ export declare class Command {
2404
2599
  auto_choose?: boolean | undefined;
2405
2600
  is_private?: boolean | undefined;
2406
2601
  }) | ({
2407
- type: "video";
2602
+ type: "html" | "video";
2408
2603
  value: {
2409
2604
  source: string;
2410
2605
  } & {
2411
2606
  title?: string | undefined;
2412
2607
  description?: string | undefined;
2608
+ url?: string | undefined;
2413
2609
  };
2414
2610
  order_key: number;
2415
2611
  } & {
@@ -2453,27 +2649,20 @@ export declare class Command {
2453
2649
  reason?: string | undefined;
2454
2650
  }))[];
2455
2651
  recommend_rules: (({
2456
- type: "always";
2457
- } & {
2458
- operator?: null | undefined;
2459
- field?: null | undefined;
2460
- value?: null | undefined;
2461
- reason?: null | undefined;
2462
- }) | ({
2463
2652
  type: "url" | "context" | "element";
2464
2653
  operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
2465
2654
  } & {
2466
2655
  field?: string | undefined;
2467
2656
  value?: string | undefined;
2468
2657
  reason?: string | undefined;
2469
- }))[] | (({
2658
+ }) | ({
2470
2659
  type: "always";
2471
2660
  } & {
2472
2661
  operator?: null | undefined;
2473
2662
  field?: null | undefined;
2474
2663
  value?: null | undefined;
2475
2664
  reason?: null | undefined;
2476
- }) | ({
2665
+ }))[] | (({
2477
2666
  type: "url" | "context" | "element";
2478
2667
  operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
2479
2668
  } & {
@@ -2485,7 +2674,17 @@ export declare class Command {
2485
2674
  rule_id: number;
2486
2675
  } & {
2487
2676
  reason?: string | undefined;
2677
+ }) | ({
2678
+ type: "always";
2679
+ } & {
2680
+ operator?: null | undefined;
2681
+ field?: null | undefined;
2682
+ value?: null | undefined;
2683
+ reason?: null | undefined;
2488
2684
  }))[];
2685
+ availability_expression: import("./helpers/rules").RuleExpression;
2686
+ recommend_expression: import("./helpers/rules").RuleExpression;
2687
+ always_recommend: boolean;
2489
2688
  confirm: string;
2490
2689
  shortcut: string[];
2491
2690
  explanation: string;
@@ -2524,6 +2723,7 @@ export declare class Command {
2524
2723
  } & {
2525
2724
  position?: "inline" | "popover" | undefined;
2526
2725
  }))[] | null;
2726
+ next_steps: (string | number)[];
2527
2727
  } & {
2528
2728
  third_party_source?: string | null | undefined;
2529
2729
  third_party_id?: string | null | undefined;
@@ -2627,6 +2827,14 @@ export declare class Command {
2627
2827
  object?: string | undefined;
2628
2828
  hoverTooltip?: boolean | undefined;
2629
2829
  operation?: "self" | "router" | "blank" | undefined;
2830
+ }) | ({
2831
+ type: "helpdoc";
2832
+ value: string;
2833
+ } & {} & {
2834
+ commandType?: "object" | "independent" | "help" | undefined;
2835
+ object?: string | undefined;
2836
+ hoverTooltip?: boolean | undefined;
2837
+ operation?: "self" | "router" | "blank" | undefined;
2630
2838
  });
2631
2839
  } & {
2632
2840
  disabledReason?: string | undefined;
@@ -2747,12 +2955,13 @@ export declare class Command {
2747
2955
  auto_choose?: boolean | undefined;
2748
2956
  is_private?: boolean | undefined;
2749
2957
  }) | ({
2750
- type: "video";
2958
+ type: "html" | "video";
2751
2959
  value: {
2752
2960
  source: string;
2753
2961
  } & {
2754
2962
  title?: string | undefined;
2755
2963
  description?: string | undefined;
2964
+ url?: string | undefined;
2756
2965
  };
2757
2966
  order_key: number;
2758
2967
  } & {
@@ -2796,27 +3005,20 @@ export declare class Command {
2796
3005
  reason?: string | undefined;
2797
3006
  }))[];
2798
3007
  recommend_rules: (({
2799
- type: "always";
2800
- } & {
2801
- operator?: null | undefined;
2802
- field?: null | undefined;
2803
- value?: null | undefined;
2804
- reason?: null | undefined;
2805
- }) | ({
2806
3008
  type: "url" | "context" | "element";
2807
3009
  operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
2808
3010
  } & {
2809
3011
  field?: string | undefined;
2810
3012
  value?: string | undefined;
2811
3013
  reason?: string | undefined;
2812
- }))[] | (({
3014
+ }) | ({
2813
3015
  type: "always";
2814
3016
  } & {
2815
3017
  operator?: null | undefined;
2816
3018
  field?: null | undefined;
2817
3019
  value?: null | undefined;
2818
3020
  reason?: null | undefined;
2819
- }) | ({
3021
+ }))[] | (({
2820
3022
  type: "url" | "context" | "element";
2821
3023
  operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
2822
3024
  } & {
@@ -2828,7 +3030,17 @@ export declare class Command {
2828
3030
  rule_id: number;
2829
3031
  } & {
2830
3032
  reason?: string | undefined;
3033
+ }) | ({
3034
+ type: "always";
3035
+ } & {
3036
+ operator?: null | undefined;
3037
+ field?: null | undefined;
3038
+ value?: null | undefined;
3039
+ reason?: null | undefined;
2831
3040
  }))[];
3041
+ availability_expression: import("./helpers/rules").RuleExpression;
3042
+ recommend_expression: import("./helpers/rules").RuleExpression;
3043
+ always_recommend: boolean;
2832
3044
  confirm: string;
2833
3045
  shortcut: string[];
2834
3046
  explanation: string;
@@ -2867,6 +3079,7 @@ export declare class Command {
2867
3079
  } & {
2868
3080
  position?: "inline" | "popover" | undefined;
2869
3081
  }))[] | null;
3082
+ next_steps: (string | number)[];
2870
3083
  } & {
2871
3084
  third_party_source?: string | null | undefined;
2872
3085
  third_party_id?: string | null | undefined;
@@ -3058,12 +3271,13 @@ export declare class Command {
3058
3271
  auto_choose?: boolean | undefined;
3059
3272
  is_private?: boolean | undefined;
3060
3273
  }) | ({
3061
- type: "video";
3274
+ type: "html" | "video";
3062
3275
  value: {
3063
3276
  source: string;
3064
3277
  } & {
3065
3278
  title?: string | undefined;
3066
3279
  description?: string | undefined;
3280
+ url?: string | undefined;
3067
3281
  };
3068
3282
  order_key: number;
3069
3283
  } & {
@@ -3110,20 +3324,22 @@ export declare class Command {
3110
3324
  reason?: string | undefined;
3111
3325
  })[] | undefined;
3112
3326
  recommend_rules?: (({
3113
- type: "always";
3114
- } & {
3115
- operator?: null | undefined;
3116
- field?: null | undefined;
3117
- value?: null | undefined;
3118
- reason?: null | undefined;
3119
- }) | ({
3120
3327
  type: "url" | "context" | "element";
3121
3328
  operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
3122
3329
  } & {
3123
3330
  field?: string | undefined;
3124
3331
  value?: string | undefined;
3125
3332
  reason?: string | undefined;
3333
+ }) | ({
3334
+ type: "always";
3335
+ } & {
3336
+ operator?: null | undefined;
3337
+ field?: null | undefined;
3338
+ value?: null | undefined;
3339
+ reason?: null | undefined;
3126
3340
  }))[] | undefined;
3341
+ availability_expression?: import("./helpers/rules").RuleExpression[] | undefined;
3342
+ recommend_expression?: import("./helpers/rules").RuleExpression[] | undefined;
3127
3343
  detail?: string | ({
3128
3344
  type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
3129
3345
  value: string;
@@ -3233,6 +3449,14 @@ export declare class Command {
3233
3449
  object?: string | undefined;
3234
3450
  hoverTooltip?: boolean | undefined;
3235
3451
  operation?: "self" | "router" | "blank" | undefined;
3452
+ }) | ({
3453
+ type: "helpdoc";
3454
+ value: string;
3455
+ } & {} & {
3456
+ commandType?: "object" | "independent" | "help" | undefined;
3457
+ object?: string | undefined;
3458
+ hoverTooltip?: boolean | undefined;
3459
+ operation?: "self" | "router" | "blank" | undefined;
3236
3460
  });
3237
3461
  } & {
3238
3462
  disabledReason?: string | undefined;
@@ -3353,12 +3577,13 @@ export declare class Command {
3353
3577
  auto_choose?: boolean | undefined;
3354
3578
  is_private?: boolean | undefined;
3355
3579
  }) | ({
3356
- type: "video";
3580
+ type: "html" | "video";
3357
3581
  value: {
3358
3582
  source: string;
3359
3583
  } & {
3360
3584
  title?: string | undefined;
3361
3585
  description?: string | undefined;
3586
+ url?: string | undefined;
3362
3587
  };
3363
3588
  order_key: number;
3364
3589
  } & {
@@ -3390,20 +3615,23 @@ export declare class Command {
3390
3615
  reason?: string | undefined;
3391
3616
  })[];
3392
3617
  recommend_rules: (({
3393
- type: "always";
3394
- } & {
3395
- operator?: null | undefined;
3396
- field?: null | undefined;
3397
- value?: null | undefined;
3398
- reason?: null | undefined;
3399
- }) | ({
3400
3618
  type: "url" | "context" | "element";
3401
3619
  operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
3402
3620
  } & {
3403
3621
  field?: string | undefined;
3404
3622
  value?: string | undefined;
3405
3623
  reason?: string | undefined;
3624
+ }) | ({
3625
+ type: "always";
3626
+ } & {
3627
+ operator?: null | undefined;
3628
+ field?: null | undefined;
3629
+ value?: null | undefined;
3630
+ reason?: null | undefined;
3406
3631
  }))[];
3632
+ availability_expression: import("./helpers/rules").RuleExpression | null;
3633
+ recommend_expression: import("./helpers/rules").RuleExpression | null;
3634
+ always_recommend: boolean;
3407
3635
  confirm: string;
3408
3636
  shortcut: string[];
3409
3637
  explanation: string;
@@ -3434,16 +3662,131 @@ export declare class Command {
3434
3662
  detail: string | ({
3435
3663
  type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
3436
3664
  value: string;
3437
- } & {
3438
- position?: "inline" | "popover" | undefined;
3439
- }) | (string | ({
3440
- type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
3665
+ } & {
3666
+ position?: "inline" | "popover" | undefined;
3667
+ }) | (string | ({
3668
+ type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
3669
+ value: string;
3670
+ } & {
3671
+ position?: "inline" | "popover" | undefined;
3672
+ }))[] | null;
3673
+ next_steps: (string | number)[];
3674
+ };
3675
+ static decodeEditorCommand: (data: {
3676
+ id: number;
3677
+ organization: string | number;
3678
+ text: string;
3679
+ template: ({
3680
+ type: "admin";
3681
+ value: string;
3682
+ } & {} & {
3683
+ commandType?: "object" | "independent" | "help" | undefined;
3684
+ object?: string | undefined;
3685
+ hoverTooltip?: boolean | undefined;
3686
+ operation?: "self" | "router" | "blank" | undefined;
3687
+ }) | ({
3688
+ type: "callback";
3689
+ value: string;
3690
+ } & {} & {
3691
+ commandType?: "object" | "independent" | "help" | undefined;
3692
+ object?: string | undefined;
3693
+ hoverTooltip?: boolean | undefined;
3694
+ operation?: "self" | "router" | "blank" | undefined;
3695
+ }) | ({
3696
+ type: "link";
3697
+ value: string;
3698
+ } & {} & {
3699
+ commandType?: "object" | "independent" | "help" | undefined;
3700
+ object?: string | undefined;
3701
+ hoverTooltip?: boolean | undefined;
3702
+ operation?: "self" | "router" | "blank" | undefined;
3703
+ }) | ({
3704
+ type: "click" | "clickByXpath" | "clickBySelector";
3705
+ value: string[];
3706
+ } & {} & {
3707
+ commandType?: "object" | "independent" | "help" | undefined;
3708
+ object?: string | undefined;
3709
+ hoverTooltip?: boolean | undefined;
3710
+ operation?: "self" | "router" | "blank" | undefined;
3711
+ }) | ({
3712
+ type: "builtin";
3713
+ value: string;
3714
+ } & {} & {
3715
+ commandType?: "object" | "independent" | "help" | undefined;
3716
+ object?: string | undefined;
3717
+ hoverTooltip?: boolean | undefined;
3718
+ operation?: "self" | "router" | "blank" | undefined;
3719
+ }) | ({
3720
+ type: "webhook";
3721
+ value: string;
3722
+ } & {} & {
3723
+ commandType?: "object" | "independent" | "help" | undefined;
3724
+ object?: string | undefined;
3725
+ hoverTooltip?: boolean | undefined;
3726
+ operation?: "self" | "router" | "blank" | undefined;
3727
+ }) | ({
3728
+ type: "script";
3729
+ value: string;
3730
+ } & {} & {
3731
+ commandType?: "object" | "independent" | "help" | undefined;
3732
+ object?: string | undefined;
3733
+ hoverTooltip?: boolean | undefined;
3734
+ operation?: "self" | "router" | "blank" | undefined;
3735
+ }) | ({
3736
+ type: "request";
3737
+ value: {
3738
+ method: "head" | "options" | "get" | "delete" | "post" | "put" | "patch";
3739
+ url: string;
3740
+ } & {
3741
+ headers?: {
3742
+ [key: string]: unknown;
3743
+ } | undefined;
3744
+ body?: {
3745
+ [key: string]: unknown;
3746
+ } | undefined;
3747
+ onSend?: string | undefined;
3748
+ onSuccess?: string | undefined;
3749
+ onError?: string | undefined;
3750
+ };
3751
+ } & {} & {
3752
+ commandType?: "object" | "independent" | "help" | undefined;
3753
+ object?: string | undefined;
3754
+ hoverTooltip?: boolean | undefined;
3755
+ operation?: "self" | "router" | "blank" | undefined;
3756
+ }) | ({
3757
+ type: "appcues";
3758
+ value: string;
3759
+ } & {} & {
3760
+ commandType?: "object" | "independent" | "help" | undefined;
3761
+ object?: string | undefined;
3762
+ hoverTooltip?: boolean | undefined;
3763
+ operation?: "self" | "router" | "blank" | undefined;
3764
+ }) | ({
3765
+ type: "video";
3441
3766
  value: string;
3442
- } & {
3443
- position?: "inline" | "popover" | undefined;
3444
- }))[] | null;
3445
- };
3446
- static decodeEditorCommand: (data: any) => {
3767
+ } & {} & {
3768
+ commandType?: "object" | "independent" | "help" | undefined;
3769
+ object?: string | undefined;
3770
+ hoverTooltip?: boolean | undefined;
3771
+ operation?: "self" | "router" | "blank" | undefined;
3772
+ }) | ({
3773
+ type: "helpdoc";
3774
+ value: string;
3775
+ } & {} & {
3776
+ commandType?: "object" | "independent" | "help" | undefined;
3777
+ object?: string | undefined;
3778
+ hoverTooltip?: boolean | undefined;
3779
+ operation?: "self" | "router" | "blank" | undefined;
3780
+ });
3781
+ } & {
3782
+ disabledReason?: string | undefined;
3783
+ source?: string | undefined;
3784
+ name?: string | undefined;
3785
+ last_available?: string | null | undefined;
3786
+ modified?: string | undefined;
3787
+ } & {
3788
+ [key: string]: any;
3789
+ }) => {
3447
3790
  id: number;
3448
3791
  organization: string | number;
3449
3792
  text: string;
@@ -3540,6 +3883,14 @@ export declare class Command {
3540
3883
  object?: string | undefined;
3541
3884
  hoverTooltip?: boolean | undefined;
3542
3885
  operation?: "self" | "router" | "blank" | undefined;
3886
+ }) | ({
3887
+ type: "helpdoc";
3888
+ value: string;
3889
+ } & {} & {
3890
+ commandType?: "object" | "independent" | "help" | undefined;
3891
+ object?: string | undefined;
3892
+ hoverTooltip?: boolean | undefined;
3893
+ operation?: "self" | "router" | "blank" | undefined;
3543
3894
  });
3544
3895
  } & {
3545
3896
  disabledReason?: string | undefined;
@@ -3660,12 +4011,13 @@ export declare class Command {
3660
4011
  auto_choose?: boolean | undefined;
3661
4012
  is_private?: boolean | undefined;
3662
4013
  }) | ({
3663
- type: "video";
4014
+ type: "html" | "video";
3664
4015
  value: {
3665
4016
  source: string;
3666
4017
  } & {
3667
4018
  title?: string | undefined;
3668
4019
  description?: string | undefined;
4020
+ url?: string | undefined;
3669
4021
  };
3670
4022
  order_key: number;
3671
4023
  } & {
@@ -3709,27 +4061,20 @@ export declare class Command {
3709
4061
  reason?: string | undefined;
3710
4062
  }))[];
3711
4063
  recommend_rules: (({
3712
- type: "always";
3713
- } & {
3714
- operator?: null | undefined;
3715
- field?: null | undefined;
3716
- value?: null | undefined;
3717
- reason?: null | undefined;
3718
- }) | ({
3719
4064
  type: "url" | "context" | "element";
3720
4065
  operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
3721
4066
  } & {
3722
4067
  field?: string | undefined;
3723
4068
  value?: string | undefined;
3724
4069
  reason?: string | undefined;
3725
- }))[] | (({
4070
+ }) | ({
3726
4071
  type: "always";
3727
4072
  } & {
3728
4073
  operator?: null | undefined;
3729
4074
  field?: null | undefined;
3730
4075
  value?: null | undefined;
3731
4076
  reason?: null | undefined;
3732
- }) | ({
4077
+ }))[] | (({
3733
4078
  type: "url" | "context" | "element";
3734
4079
  operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
3735
4080
  } & {
@@ -3741,7 +4086,17 @@ export declare class Command {
3741
4086
  rule_id: number;
3742
4087
  } & {
3743
4088
  reason?: string | undefined;
4089
+ }) | ({
4090
+ type: "always";
4091
+ } & {
4092
+ operator?: null | undefined;
4093
+ field?: null | undefined;
4094
+ value?: null | undefined;
4095
+ reason?: null | undefined;
3744
4096
  }))[];
4097
+ availability_expression: import("./helpers/rules").RuleExpression;
4098
+ recommend_expression: import("./helpers/rules").RuleExpression;
4099
+ always_recommend: boolean;
3745
4100
  confirm: string;
3746
4101
  shortcut: string[];
3747
4102
  explanation: string;
@@ -3780,6 +4135,7 @@ export declare class Command {
3780
4135
  } & {
3781
4136
  position?: "inline" | "popover" | undefined;
3782
4137
  }))[] | null;
4138
+ next_steps: (string | number)[];
3783
4139
  } & {
3784
4140
  third_party_source?: string | null | undefined;
3785
4141
  third_party_id?: string | null | undefined;
@@ -3881,6 +4237,14 @@ export declare class Command {
3881
4237
  object?: string | undefined;
3882
4238
  hoverTooltip?: boolean | undefined;
3883
4239
  operation?: "self" | "router" | "blank" | undefined;
4240
+ }) | ({
4241
+ type: "helpdoc";
4242
+ value: string;
4243
+ } & {} & {
4244
+ commandType?: "object" | "independent" | "help" | undefined;
4245
+ object?: string | undefined;
4246
+ hoverTooltip?: boolean | undefined;
4247
+ operation?: "self" | "router" | "blank" | undefined;
3884
4248
  });
3885
4249
  } & {
3886
4250
  disabledReason?: string | undefined;
@@ -4001,12 +4365,13 @@ export declare class Command {
4001
4365
  auto_choose?: boolean | undefined;
4002
4366
  is_private?: boolean | undefined;
4003
4367
  }) | ({
4004
- type: "video";
4368
+ type: "html" | "video";
4005
4369
  value: {
4006
4370
  source: string;
4007
4371
  } & {
4008
4372
  title?: string | undefined;
4009
4373
  description?: string | undefined;
4374
+ url?: string | undefined;
4010
4375
  };
4011
4376
  order_key: number;
4012
4377
  } & {
@@ -4050,27 +4415,20 @@ export declare class Command {
4050
4415
  reason?: string | undefined;
4051
4416
  }))[];
4052
4417
  recommend_rules: (({
4053
- type: "always";
4054
- } & {
4055
- operator?: null | undefined;
4056
- field?: null | undefined;
4057
- value?: null | undefined;
4058
- reason?: null | undefined;
4059
- }) | ({
4060
4418
  type: "url" | "context" | "element";
4061
4419
  operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
4062
4420
  } & {
4063
4421
  field?: string | undefined;
4064
4422
  value?: string | undefined;
4065
4423
  reason?: string | undefined;
4066
- }))[] | (({
4424
+ }) | ({
4067
4425
  type: "always";
4068
4426
  } & {
4069
4427
  operator?: null | undefined;
4070
4428
  field?: null | undefined;
4071
4429
  value?: null | undefined;
4072
4430
  reason?: null | undefined;
4073
- }) | ({
4431
+ }))[] | (({
4074
4432
  type: "url" | "context" | "element";
4075
4433
  operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
4076
4434
  } & {
@@ -4082,7 +4440,17 @@ export declare class Command {
4082
4440
  rule_id: number;
4083
4441
  } & {
4084
4442
  reason?: string | undefined;
4443
+ }) | ({
4444
+ type: "always";
4445
+ } & {
4446
+ operator?: null | undefined;
4447
+ field?: null | undefined;
4448
+ value?: null | undefined;
4449
+ reason?: null | undefined;
4085
4450
  }))[];
4451
+ availability_expression: import("./helpers/rules").RuleExpression;
4452
+ recommend_expression: import("./helpers/rules").RuleExpression;
4453
+ always_recommend: boolean;
4086
4454
  confirm: string;
4087
4455
  shortcut: string[];
4088
4456
  explanation: string;
@@ -4121,6 +4489,7 @@ export declare class Command {
4121
4489
  } & {
4122
4490
  position?: "inline" | "popover" | undefined;
4123
4491
  }))[] | null;
4492
+ next_steps: (string | number)[];
4124
4493
  } & {
4125
4494
  third_party_source?: string | null | undefined;
4126
4495
  third_party_id?: string | null | undefined;
@@ -4221,6 +4590,14 @@ export declare class Command {
4221
4590
  object?: string | undefined;
4222
4591
  hoverTooltip?: boolean | undefined;
4223
4592
  operation?: "self" | "router" | "blank" | undefined;
4593
+ }) | ({
4594
+ type: "helpdoc";
4595
+ value: string;
4596
+ } & {} & {
4597
+ commandType?: "object" | "independent" | "help" | undefined;
4598
+ object?: string | undefined;
4599
+ hoverTooltip?: boolean | undefined;
4600
+ operation?: "self" | "router" | "blank" | undefined;
4224
4601
  });
4225
4602
  } & {
4226
4603
  disabledReason?: string | undefined;
@@ -4341,12 +4718,13 @@ export declare class Command {
4341
4718
  auto_choose?: boolean | undefined;
4342
4719
  is_private?: boolean | undefined;
4343
4720
  }) | ({
4344
- type: "video";
4721
+ type: "html" | "video";
4345
4722
  value: {
4346
4723
  source: string;
4347
4724
  } & {
4348
4725
  title?: string | undefined;
4349
4726
  description?: string | undefined;
4727
+ url?: string | undefined;
4350
4728
  };
4351
4729
  order_key: number;
4352
4730
  } & {
@@ -4390,27 +4768,20 @@ export declare class Command {
4390
4768
  reason?: string | undefined;
4391
4769
  }))[];
4392
4770
  recommend_rules: (({
4393
- type: "always";
4394
- } & {
4395
- operator?: null | undefined;
4396
- field?: null | undefined;
4397
- value?: null | undefined;
4398
- reason?: null | undefined;
4399
- }) | ({
4400
4771
  type: "url" | "context" | "element";
4401
4772
  operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
4402
4773
  } & {
4403
4774
  field?: string | undefined;
4404
4775
  value?: string | undefined;
4405
4776
  reason?: string | undefined;
4406
- }))[] | (({
4777
+ }) | ({
4407
4778
  type: "always";
4408
4779
  } & {
4409
4780
  operator?: null | undefined;
4410
4781
  field?: null | undefined;
4411
4782
  value?: null | undefined;
4412
4783
  reason?: null | undefined;
4413
- }) | ({
4784
+ }))[] | (({
4414
4785
  type: "url" | "context" | "element";
4415
4786
  operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
4416
4787
  } & {
@@ -4422,7 +4793,17 @@ export declare class Command {
4422
4793
  rule_id: number;
4423
4794
  } & {
4424
4795
  reason?: string | undefined;
4796
+ }) | ({
4797
+ type: "always";
4798
+ } & {
4799
+ operator?: null | undefined;
4800
+ field?: null | undefined;
4801
+ value?: null | undefined;
4802
+ reason?: null | undefined;
4425
4803
  }))[];
4804
+ availability_expression: import("./helpers/rules").RuleExpression;
4805
+ recommend_expression: import("./helpers/rules").RuleExpression;
4806
+ always_recommend: boolean;
4426
4807
  confirm: string;
4427
4808
  shortcut: string[];
4428
4809
  explanation: string;
@@ -4461,6 +4842,7 @@ export declare class Command {
4461
4842
  } & {
4462
4843
  position?: "inline" | "popover" | undefined;
4463
4844
  }))[] | null;
4845
+ next_steps: (string | number)[];
4464
4846
  } & {
4465
4847
  third_party_source?: string | null | undefined;
4466
4848
  third_party_id?: string | null | undefined;
@@ -4562,6 +4944,14 @@ export declare class Command {
4562
4944
  object?: string | undefined;
4563
4945
  hoverTooltip?: boolean | undefined;
4564
4946
  operation?: "self" | "router" | "blank" | undefined;
4947
+ }) | ({
4948
+ type: "helpdoc";
4949
+ value: string;
4950
+ } & {} & {
4951
+ commandType?: "object" | "independent" | "help" | undefined;
4952
+ object?: string | undefined;
4953
+ hoverTooltip?: boolean | undefined;
4954
+ operation?: "self" | "router" | "blank" | undefined;
4565
4955
  });
4566
4956
  } & {
4567
4957
  disabledReason?: string | undefined;
@@ -4682,12 +5072,13 @@ export declare class Command {
4682
5072
  auto_choose?: boolean | undefined;
4683
5073
  is_private?: boolean | undefined;
4684
5074
  }) | ({
4685
- type: "video";
5075
+ type: "html" | "video";
4686
5076
  value: {
4687
5077
  source: string;
4688
5078
  } & {
4689
5079
  title?: string | undefined;
4690
5080
  description?: string | undefined;
5081
+ url?: string | undefined;
4691
5082
  };
4692
5083
  order_key: number;
4693
5084
  } & {
@@ -4731,27 +5122,20 @@ export declare class Command {
4731
5122
  reason?: string | undefined;
4732
5123
  }))[];
4733
5124
  recommend_rules: (({
4734
- type: "always";
4735
- } & {
4736
- operator?: null | undefined;
4737
- field?: null | undefined;
4738
- value?: null | undefined;
4739
- reason?: null | undefined;
4740
- }) | ({
4741
5125
  type: "url" | "context" | "element";
4742
5126
  operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
4743
5127
  } & {
4744
5128
  field?: string | undefined;
4745
5129
  value?: string | undefined;
4746
5130
  reason?: string | undefined;
4747
- }))[] | (({
5131
+ }) | ({
4748
5132
  type: "always";
4749
5133
  } & {
4750
5134
  operator?: null | undefined;
4751
5135
  field?: null | undefined;
4752
5136
  value?: null | undefined;
4753
5137
  reason?: null | undefined;
4754
- }) | ({
5138
+ }))[] | (({
4755
5139
  type: "url" | "context" | "element";
4756
5140
  operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
4757
5141
  } & {
@@ -4763,7 +5147,17 @@ export declare class Command {
4763
5147
  rule_id: number;
4764
5148
  } & {
4765
5149
  reason?: string | undefined;
5150
+ }) | ({
5151
+ type: "always";
5152
+ } & {
5153
+ operator?: null | undefined;
5154
+ field?: null | undefined;
5155
+ value?: null | undefined;
5156
+ reason?: null | undefined;
4766
5157
  }))[];
5158
+ availability_expression: import("./helpers/rules").RuleExpression;
5159
+ recommend_expression: import("./helpers/rules").RuleExpression;
5160
+ always_recommend: boolean;
4767
5161
  confirm: string;
4768
5162
  shortcut: string[];
4769
5163
  explanation: string;
@@ -4802,6 +5196,7 @@ export declare class Command {
4802
5196
  } & {
4803
5197
  position?: "inline" | "popover" | undefined;
4804
5198
  }))[] | null;
5199
+ next_steps: (string | number)[];
4805
5200
  } & {
4806
5201
  third_party_source?: string | null | undefined;
4807
5202
  third_party_id?: string | null | undefined;
@@ -4902,6 +5297,14 @@ export declare class Command {
4902
5297
  object?: string | undefined;
4903
5298
  hoverTooltip?: boolean | undefined;
4904
5299
  operation?: "self" | "router" | "blank" | undefined;
5300
+ }) | ({
5301
+ type: "helpdoc";
5302
+ value: string;
5303
+ } & {} & {
5304
+ commandType?: "object" | "independent" | "help" | undefined;
5305
+ object?: string | undefined;
5306
+ hoverTooltip?: boolean | undefined;
5307
+ operation?: "self" | "router" | "blank" | undefined;
4905
5308
  });
4906
5309
  } & {
4907
5310
  disabledReason?: string | undefined;
@@ -5022,12 +5425,13 @@ export declare class Command {
5022
5425
  auto_choose?: boolean | undefined;
5023
5426
  is_private?: boolean | undefined;
5024
5427
  }) | ({
5025
- type: "video";
5428
+ type: "html" | "video";
5026
5429
  value: {
5027
5430
  source: string;
5028
5431
  } & {
5029
5432
  title?: string | undefined;
5030
5433
  description?: string | undefined;
5434
+ url?: string | undefined;
5031
5435
  };
5032
5436
  order_key: number;
5033
5437
  } & {
@@ -5071,27 +5475,20 @@ export declare class Command {
5071
5475
  reason?: string | undefined;
5072
5476
  }))[];
5073
5477
  recommend_rules: (({
5074
- type: "always";
5075
- } & {
5076
- operator?: null | undefined;
5077
- field?: null | undefined;
5078
- value?: null | undefined;
5079
- reason?: null | undefined;
5080
- }) | ({
5081
5478
  type: "url" | "context" | "element";
5082
5479
  operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
5083
5480
  } & {
5084
5481
  field?: string | undefined;
5085
5482
  value?: string | undefined;
5086
5483
  reason?: string | undefined;
5087
- }))[] | (({
5484
+ }) | ({
5088
5485
  type: "always";
5089
5486
  } & {
5090
5487
  operator?: null | undefined;
5091
5488
  field?: null | undefined;
5092
5489
  value?: null | undefined;
5093
5490
  reason?: null | undefined;
5094
- }) | ({
5491
+ }))[] | (({
5095
5492
  type: "url" | "context" | "element";
5096
5493
  operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
5097
5494
  } & {
@@ -5103,7 +5500,17 @@ export declare class Command {
5103
5500
  rule_id: number;
5104
5501
  } & {
5105
5502
  reason?: string | undefined;
5503
+ }) | ({
5504
+ type: "always";
5505
+ } & {
5506
+ operator?: null | undefined;
5507
+ field?: null | undefined;
5508
+ value?: null | undefined;
5509
+ reason?: null | undefined;
5106
5510
  }))[];
5511
+ availability_expression: import("./helpers/rules").RuleExpression;
5512
+ recommend_expression: import("./helpers/rules").RuleExpression;
5513
+ always_recommend: boolean;
5107
5514
  confirm: string;
5108
5515
  shortcut: string[];
5109
5516
  explanation: string;
@@ -5142,6 +5549,7 @@ export declare class Command {
5142
5549
  } & {
5143
5550
  position?: "inline" | "popover" | undefined;
5144
5551
  }))[] | null;
5552
+ next_steps: (string | number)[];
5145
5553
  } & {
5146
5554
  third_party_source?: string | null | undefined;
5147
5555
  third_party_id?: string | null | undefined;
@@ -5245,6 +5653,14 @@ export declare const HelpSyncCommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC
5245
5653
  object: t.StringC;
5246
5654
  hoverTooltip: t.BooleanC;
5247
5655
  operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
5656
+ }>]>]>, t.IntersectionC<[t.TypeC<{
5657
+ type: t.LiteralC<"helpdoc">;
5658
+ value: t.StringC;
5659
+ }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
5660
+ commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
5661
+ object: t.StringC;
5662
+ hoverTooltip: t.BooleanC;
5663
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
5248
5664
  }>]>]>]>;
5249
5665
  }>, t.PartialC<{
5250
5666
  disabledReason: t.StringC;
@@ -5362,12 +5778,13 @@ export declare const HelpSyncCommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC
5362
5778
  auto_choose: t.BooleanC;
5363
5779
  is_private: t.BooleanC;
5364
5780
  }>]>, t.IntersectionC<[t.TypeC<{
5365
- type: t.LiteralC<"video">;
5781
+ type: t.UnionC<[t.LiteralC<"video">, t.LiteralC<"html">]>;
5366
5782
  value: t.IntersectionC<[t.TypeC<{
5367
5783
  source: t.StringC;
5368
5784
  }>, t.PartialC<{
5369
5785
  title: t.StringC;
5370
5786
  description: t.StringC;
5787
+ url: t.StringC;
5371
5788
  }>]>;
5372
5789
  order_key: t.NumberC;
5373
5790
  }>, t.PartialC<{
@@ -5448,6 +5865,9 @@ export declare const HelpSyncCommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC
5448
5865
  value: t.StringC;
5449
5866
  reason: t.StringC;
5450
5867
  }>]>]>>;
5868
+ availability_expression: t.UnionC<[t.Type<import("./helpers/rules").RuleExpression, import("./helpers/rules").RuleExpression, unknown>, t.NullC]>;
5869
+ recommend_expression: t.UnionC<[t.Type<import("./helpers/rules").RuleExpression, import("./helpers/rules").RuleExpression, unknown>, t.NullC]>;
5870
+ always_recommend: t.BooleanC;
5451
5871
  confirm: t.StringC;
5452
5872
  shortcut: t.ArrayC<t.StringC>;
5453
5873
  explanation: t.StringC;
@@ -5486,6 +5906,7 @@ export declare const HelpSyncCommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC
5486
5906
  }>, t.PartialC<{
5487
5907
  position: t.UnionC<[t.LiteralC<"inline">, t.LiteralC<"popover">]>;
5488
5908
  }>]>]>>]>;
5909
+ next_steps: t.ArrayC<t.UnionC<[t.StringC, t.NumberC]>>;
5489
5910
  }>, t.PartialC<{
5490
5911
  third_party_source: t.UnionC<[t.StringC, t.NullC]>;
5491
5912
  third_party_id: t.UnionC<[t.StringC, t.NullC]>;
@@ -5588,6 +6009,14 @@ export declare class HelpSyncCommand {
5588
6009
  object?: string | undefined;
5589
6010
  hoverTooltip?: boolean | undefined;
5590
6011
  operation?: "self" | "router" | "blank" | undefined;
6012
+ }) | ({
6013
+ type: "helpdoc";
6014
+ value: string;
6015
+ } & {} & {
6016
+ commandType?: "object" | "independent" | "help" | undefined;
6017
+ object?: string | undefined;
6018
+ hoverTooltip?: boolean | undefined;
6019
+ operation?: "self" | "router" | "blank" | undefined;
5591
6020
  });
5592
6021
  } & {
5593
6022
  disabledReason?: string | undefined;
@@ -5708,12 +6137,13 @@ export declare class HelpSyncCommand {
5708
6137
  auto_choose?: boolean | undefined;
5709
6138
  is_private?: boolean | undefined;
5710
6139
  }) | ({
5711
- type: "video";
6140
+ type: "html" | "video";
5712
6141
  value: {
5713
6142
  source: string;
5714
6143
  } & {
5715
6144
  title?: string | undefined;
5716
6145
  description?: string | undefined;
6146
+ url?: string | undefined;
5717
6147
  };
5718
6148
  order_key: number;
5719
6149
  } & {
@@ -5745,20 +6175,23 @@ export declare class HelpSyncCommand {
5745
6175
  reason?: string | undefined;
5746
6176
  })[];
5747
6177
  recommend_rules: (({
5748
- type: "always";
5749
- } & {
5750
- operator?: null | undefined;
5751
- field?: null | undefined;
5752
- value?: null | undefined;
5753
- reason?: null | undefined;
5754
- }) | ({
5755
6178
  type: "url" | "context" | "element";
5756
6179
  operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
5757
6180
  } & {
5758
6181
  field?: string | undefined;
5759
6182
  value?: string | undefined;
5760
6183
  reason?: string | undefined;
6184
+ }) | ({
6185
+ type: "always";
6186
+ } & {
6187
+ operator?: null | undefined;
6188
+ field?: null | undefined;
6189
+ value?: null | undefined;
6190
+ reason?: null | undefined;
5761
6191
  }))[];
6192
+ availability_expression: import("./helpers/rules").RuleExpression | null;
6193
+ recommend_expression: import("./helpers/rules").RuleExpression | null;
6194
+ always_recommend: boolean;
5762
6195
  confirm: string;
5763
6196
  shortcut: string[];
5764
6197
  explanation: string;
@@ -5797,6 +6230,7 @@ export declare class HelpSyncCommand {
5797
6230
  } & {
5798
6231
  position?: "inline" | "popover" | undefined;
5799
6232
  }))[] | null;
6233
+ next_steps: (string | number)[];
5800
6234
  } & {
5801
6235
  third_party_source?: string | null | undefined;
5802
6236
  third_party_id?: string | null | undefined;
@@ -5898,6 +6332,14 @@ export declare class HelpSyncCommand {
5898
6332
  object?: string | undefined;
5899
6333
  hoverTooltip?: boolean | undefined;
5900
6334
  operation?: "self" | "router" | "blank" | undefined;
6335
+ }) | ({
6336
+ type: "helpdoc";
6337
+ value: string;
6338
+ } & {} & {
6339
+ commandType?: "object" | "independent" | "help" | undefined;
6340
+ object?: string | undefined;
6341
+ hoverTooltip?: boolean | undefined;
6342
+ operation?: "self" | "router" | "blank" | undefined;
5901
6343
  });
5902
6344
  } & {
5903
6345
  disabledReason?: string | undefined;
@@ -6018,12 +6460,13 @@ export declare class HelpSyncCommand {
6018
6460
  auto_choose?: boolean | undefined;
6019
6461
  is_private?: boolean | undefined;
6020
6462
  }) | ({
6021
- type: "video";
6463
+ type: "html" | "video";
6022
6464
  value: {
6023
6465
  source: string;
6024
6466
  } & {
6025
6467
  title?: string | undefined;
6026
6468
  description?: string | undefined;
6469
+ url?: string | undefined;
6027
6470
  };
6028
6471
  order_key: number;
6029
6472
  } & {
@@ -6055,20 +6498,23 @@ export declare class HelpSyncCommand {
6055
6498
  reason?: string | undefined;
6056
6499
  })[];
6057
6500
  recommend_rules: (({
6058
- type: "always";
6059
- } & {
6060
- operator?: null | undefined;
6061
- field?: null | undefined;
6062
- value?: null | undefined;
6063
- reason?: null | undefined;
6064
- }) | ({
6065
6501
  type: "url" | "context" | "element";
6066
6502
  operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
6067
6503
  } & {
6068
6504
  field?: string | undefined;
6069
6505
  value?: string | undefined;
6070
6506
  reason?: string | undefined;
6507
+ }) | ({
6508
+ type: "always";
6509
+ } & {
6510
+ operator?: null | undefined;
6511
+ field?: null | undefined;
6512
+ value?: null | undefined;
6513
+ reason?: null | undefined;
6071
6514
  }))[];
6515
+ availability_expression: import("./helpers/rules").RuleExpression | null;
6516
+ recommend_expression: import("./helpers/rules").RuleExpression | null;
6517
+ always_recommend: boolean;
6072
6518
  confirm: string;
6073
6519
  shortcut: string[];
6074
6520
  explanation: string;
@@ -6107,6 +6553,7 @@ export declare class HelpSyncCommand {
6107
6553
  } & {
6108
6554
  position?: "inline" | "popover" | undefined;
6109
6555
  }))[] | null;
6556
+ next_steps: (string | number)[];
6110
6557
  } & {
6111
6558
  third_party_source?: string | null | undefined;
6112
6559
  third_party_id?: string | null | undefined;
@@ -6207,6 +6654,14 @@ export declare class HelpSyncCommand {
6207
6654
  object?: string | undefined;
6208
6655
  hoverTooltip?: boolean | undefined;
6209
6656
  operation?: "self" | "router" | "blank" | undefined;
6657
+ }) | ({
6658
+ type: "helpdoc";
6659
+ value: string;
6660
+ } & {} & {
6661
+ commandType?: "object" | "independent" | "help" | undefined;
6662
+ object?: string | undefined;
6663
+ hoverTooltip?: boolean | undefined;
6664
+ operation?: "self" | "router" | "blank" | undefined;
6210
6665
  });
6211
6666
  } & {
6212
6667
  disabledReason?: string | undefined;
@@ -6327,12 +6782,13 @@ export declare class HelpSyncCommand {
6327
6782
  auto_choose?: boolean | undefined;
6328
6783
  is_private?: boolean | undefined;
6329
6784
  }) | ({
6330
- type: "video";
6785
+ type: "html" | "video";
6331
6786
  value: {
6332
6787
  source: string;
6333
6788
  } & {
6334
6789
  title?: string | undefined;
6335
6790
  description?: string | undefined;
6791
+ url?: string | undefined;
6336
6792
  };
6337
6793
  order_key: number;
6338
6794
  } & {
@@ -6364,20 +6820,23 @@ export declare class HelpSyncCommand {
6364
6820
  reason?: string | undefined;
6365
6821
  })[];
6366
6822
  recommend_rules: (({
6367
- type: "always";
6368
- } & {
6369
- operator?: null | undefined;
6370
- field?: null | undefined;
6371
- value?: null | undefined;
6372
- reason?: null | undefined;
6373
- }) | ({
6374
6823
  type: "url" | "context" | "element";
6375
6824
  operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
6376
6825
  } & {
6377
6826
  field?: string | undefined;
6378
6827
  value?: string | undefined;
6379
6828
  reason?: string | undefined;
6829
+ }) | ({
6830
+ type: "always";
6831
+ } & {
6832
+ operator?: null | undefined;
6833
+ field?: null | undefined;
6834
+ value?: null | undefined;
6835
+ reason?: null | undefined;
6380
6836
  }))[];
6837
+ availability_expression: import("./helpers/rules").RuleExpression | null;
6838
+ recommend_expression: import("./helpers/rules").RuleExpression | null;
6839
+ always_recommend: boolean;
6381
6840
  confirm: string;
6382
6841
  shortcut: string[];
6383
6842
  explanation: string;
@@ -6416,6 +6875,7 @@ export declare class HelpSyncCommand {
6416
6875
  } & {
6417
6876
  position?: "inline" | "popover" | undefined;
6418
6877
  }))[] | null;
6878
+ next_steps: (string | number)[];
6419
6879
  } & {
6420
6880
  third_party_source?: string | null | undefined;
6421
6881
  third_party_id?: string | null | undefined;