commandbar 1.6.8 → 1.6.11

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,12 @@
1
1
  /*******************************************************************************/
2
2
  import * as t from 'io-ts';
3
+ import { GenericBatchRequest } from './generics';
3
4
  export { CommandFromClientV } from './CommandFromClientV';
5
+ declare const HelpSyncCommandAdditionalV: t.TypeC<{
6
+ third_party_source: t.StringC;
7
+ third_party_id: t.StringC;
8
+ }>;
9
+ export declare const helpSyncDefaults: t.TypeOf<typeof HelpSyncCommandAdditionalV>;
4
10
  export declare const CommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
5
11
  id: t.NumberC;
6
12
  organization: t.UnionC<[t.NumberC, t.StringC]>;
@@ -61,6 +67,31 @@ export declare const CommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
61
67
  object: t.StringC;
62
68
  hoverTooltip: t.BooleanC;
63
69
  operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
70
+ }>]>]>, t.IntersectionC<[t.TypeC<{
71
+ type: t.LiteralC<"request">;
72
+ value: t.IntersectionC<[t.TypeC<{
73
+ method: t.UnionC<[t.LiteralC<"get">, t.LiteralC<"delete">, t.LiteralC<"head">, t.LiteralC<"options">, t.LiteralC<"post">, t.LiteralC<"put">, t.LiteralC<"patch">]>;
74
+ url: t.StringC;
75
+ }>, t.PartialC<{
76
+ headers: t.UnknownRecordC;
77
+ body: t.UnknownRecordC;
78
+ onSend: t.StringC;
79
+ onSuccess: t.StringC;
80
+ onError: t.StringC;
81
+ }>]>;
82
+ }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
83
+ commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
84
+ object: t.StringC;
85
+ hoverTooltip: t.BooleanC;
86
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
87
+ }>]>]>, t.IntersectionC<[t.TypeC<{
88
+ type: t.LiteralC<"appcues">;
89
+ value: t.StringC;
90
+ }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
91
+ commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
92
+ object: t.StringC;
93
+ hoverTooltip: t.BooleanC;
94
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
64
95
  }>]>]>]>;
65
96
  }>, t.PartialC<{
66
97
  disabledReason: t.StringC;
@@ -254,6 +285,13 @@ export declare const CommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
254
285
  shortcut_win: t.ArrayC<t.StringC>;
255
286
  hotkey_mac: t.StringC;
256
287
  hotkey_win: t.StringC;
288
+ detail: t.UnionC<[t.NullC, t.StringC, t.TypeC<{
289
+ type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"react">, t.LiteralC<"video">, t.NullC]>;
290
+ value: t.StringC;
291
+ }>, t.ArrayC<t.UnionC<[t.StringC, t.TypeC<{
292
+ type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"react">, t.LiteralC<"video">, t.NullC]>;
293
+ value: t.StringC;
294
+ }>]>>]>;
257
295
  }>]>;
258
296
  export declare const EditorCommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
259
297
  id: t.NumberC;
@@ -315,6 +353,31 @@ export declare const EditorCommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
315
353
  object: t.StringC;
316
354
  hoverTooltip: t.BooleanC;
317
355
  operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
356
+ }>]>]>, t.IntersectionC<[t.TypeC<{
357
+ type: t.LiteralC<"request">;
358
+ value: t.IntersectionC<[t.TypeC<{
359
+ method: t.UnionC<[t.LiteralC<"get">, t.LiteralC<"delete">, t.LiteralC<"head">, t.LiteralC<"options">, t.LiteralC<"post">, t.LiteralC<"put">, t.LiteralC<"patch">]>;
360
+ url: t.StringC;
361
+ }>, t.PartialC<{
362
+ headers: t.UnknownRecordC;
363
+ body: t.UnknownRecordC;
364
+ onSend: t.StringC;
365
+ onSuccess: t.StringC;
366
+ onError: t.StringC;
367
+ }>]>;
368
+ }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
369
+ commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
370
+ object: t.StringC;
371
+ hoverTooltip: t.BooleanC;
372
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
373
+ }>]>]>, t.IntersectionC<[t.TypeC<{
374
+ type: t.LiteralC<"appcues">;
375
+ value: t.StringC;
376
+ }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
377
+ commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
378
+ object: t.StringC;
379
+ hoverTooltip: t.BooleanC;
380
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
318
381
  }>]>]>]>;
319
382
  }>, t.PartialC<{
320
383
  disabledReason: t.StringC;
@@ -575,6 +638,13 @@ export declare const EditorCommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
575
638
  shortcut_win: t.ArrayC<t.StringC>;
576
639
  hotkey_mac: t.StringC;
577
640
  hotkey_win: t.StringC;
641
+ detail: t.UnionC<[t.NullC, t.StringC, t.TypeC<{
642
+ type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"react">, t.LiteralC<"video">, t.NullC]>;
643
+ value: t.StringC;
644
+ }>, t.ArrayC<t.UnionC<[t.StringC, t.TypeC<{
645
+ type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"react">, t.LiteralC<"video">, t.NullC]>;
646
+ value: t.StringC;
647
+ }>]>>]>;
578
648
  }>]>;
579
649
  export declare const BatchOperationV: t.UnionC<[t.TypeC<{
580
650
  op: t.LiteralC<"update">;
@@ -587,10 +657,6 @@ export declare const BatchOperationV: t.UnionC<[t.TypeC<{
587
657
  op: t.LiteralC<"delete">;
588
658
  id: t.NumberC;
589
659
  }>]>;
590
- export declare const BatchEditorCommandRequestV: t.TypeC<{
591
- batch: t.ArrayC<t.UnknownC>;
592
- note: t.StringC;
593
- }>;
594
660
  export declare const BatchEditorCommandResponseV: t.TypeC<{
595
661
  batch: t.ArrayC<t.IntersectionC<[t.IntersectionC<[t.TypeC<{
596
662
  id: t.NumberC;
@@ -652,6 +718,31 @@ export declare const BatchEditorCommandResponseV: t.TypeC<{
652
718
  object: t.StringC;
653
719
  hoverTooltip: t.BooleanC;
654
720
  operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
721
+ }>]>]>, t.IntersectionC<[t.TypeC<{
722
+ type: t.LiteralC<"request">;
723
+ value: t.IntersectionC<[t.TypeC<{
724
+ method: t.UnionC<[t.LiteralC<"get">, t.LiteralC<"delete">, t.LiteralC<"head">, t.LiteralC<"options">, t.LiteralC<"post">, t.LiteralC<"put">, t.LiteralC<"patch">]>;
725
+ url: t.StringC;
726
+ }>, t.PartialC<{
727
+ headers: t.UnknownRecordC;
728
+ body: t.UnknownRecordC;
729
+ onSend: t.StringC;
730
+ onSuccess: t.StringC;
731
+ onError: t.StringC;
732
+ }>]>;
733
+ }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
734
+ commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
735
+ object: t.StringC;
736
+ hoverTooltip: t.BooleanC;
737
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
738
+ }>]>]>, t.IntersectionC<[t.TypeC<{
739
+ type: t.LiteralC<"appcues">;
740
+ value: t.StringC;
741
+ }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
742
+ commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
743
+ object: t.StringC;
744
+ hoverTooltip: t.BooleanC;
745
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
655
746
  }>]>]>]>;
656
747
  }>, t.PartialC<{
657
748
  disabledReason: t.StringC;
@@ -912,6 +1003,13 @@ export declare const BatchEditorCommandResponseV: t.TypeC<{
912
1003
  shortcut_win: t.ArrayC<t.StringC>;
913
1004
  hotkey_mac: t.StringC;
914
1005
  hotkey_win: t.StringC;
1006
+ detail: t.UnionC<[t.NullC, t.StringC, t.TypeC<{
1007
+ type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"react">, t.LiteralC<"video">, t.NullC]>;
1008
+ value: t.StringC;
1009
+ }>, t.ArrayC<t.UnionC<[t.StringC, t.TypeC<{
1010
+ type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"react">, t.LiteralC<"video">, t.NullC]>;
1011
+ value: t.StringC;
1012
+ }>]>>]>;
915
1013
  }>]>>;
916
1014
  }>;
917
1015
  export declare class Command {
@@ -944,7 +1042,7 @@ export declare class Command {
944
1042
  hoverTooltip?: boolean | undefined;
945
1043
  operation?: "self" | "router" | "blank" | undefined;
946
1044
  }) | ({
947
- type: "click" | "clickBySelector" | "clickByXpath";
1045
+ type: "click" | "clickByXpath" | "clickBySelector";
948
1046
  value: string[];
949
1047
  } & {} & {
950
1048
  commandType?: "object" | "independent" | "help" | undefined;
@@ -975,6 +1073,35 @@ export declare class Command {
975
1073
  object?: string | undefined;
976
1074
  hoverTooltip?: boolean | undefined;
977
1075
  operation?: "self" | "router" | "blank" | undefined;
1076
+ }) | ({
1077
+ type: "request";
1078
+ value: {
1079
+ method: "head" | "options" | "get" | "delete" | "post" | "put" | "patch";
1080
+ url: string;
1081
+ } & {
1082
+ headers?: {
1083
+ [key: string]: unknown;
1084
+ } | undefined;
1085
+ body?: {
1086
+ [key: string]: unknown;
1087
+ } | undefined;
1088
+ onSend?: string | undefined;
1089
+ onSuccess?: string | undefined;
1090
+ onError?: string | undefined;
1091
+ };
1092
+ } & {} & {
1093
+ commandType?: "object" | "independent" | "help" | undefined;
1094
+ object?: string | undefined;
1095
+ hoverTooltip?: boolean | undefined;
1096
+ operation?: "self" | "router" | "blank" | undefined;
1097
+ }) | ({
1098
+ type: "appcues";
1099
+ value: string;
1100
+ } & {} & {
1101
+ commandType?: "object" | "independent" | "help" | undefined;
1102
+ object?: string | undefined;
1103
+ hoverTooltip?: boolean | undefined;
1104
+ operation?: "self" | "router" | "blank" | undefined;
978
1105
  });
979
1106
  } & {
980
1107
  disabledReason?: string | undefined;
@@ -1167,6 +1294,13 @@ export declare class Command {
1167
1294
  shortcut_win: string[];
1168
1295
  hotkey_mac: string;
1169
1296
  hotkey_win: string;
1297
+ detail: string | {
1298
+ type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
1299
+ value: string;
1300
+ } | (string | {
1301
+ type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
1302
+ value: string;
1303
+ })[] | null;
1170
1304
  }, onSuccess?: (() => void) | undefined, onError?: ((err: string) => void) | undefined) => Promise<{
1171
1305
  id: number;
1172
1306
  organization: string | number;
@@ -1196,7 +1330,7 @@ export declare class Command {
1196
1330
  hoverTooltip?: boolean | undefined;
1197
1331
  operation?: "self" | "router" | "blank" | undefined;
1198
1332
  }) | ({
1199
- type: "click" | "clickBySelector" | "clickByXpath";
1333
+ type: "click" | "clickByXpath" | "clickBySelector";
1200
1334
  value: string[];
1201
1335
  } & {} & {
1202
1336
  commandType?: "object" | "independent" | "help" | undefined;
@@ -1227,6 +1361,35 @@ export declare class Command {
1227
1361
  object?: string | undefined;
1228
1362
  hoverTooltip?: boolean | undefined;
1229
1363
  operation?: "self" | "router" | "blank" | undefined;
1364
+ }) | ({
1365
+ type: "request";
1366
+ value: {
1367
+ method: "head" | "options" | "get" | "delete" | "post" | "put" | "patch";
1368
+ url: string;
1369
+ } & {
1370
+ headers?: {
1371
+ [key: string]: unknown;
1372
+ } | undefined;
1373
+ body?: {
1374
+ [key: string]: unknown;
1375
+ } | undefined;
1376
+ onSend?: string | undefined;
1377
+ onSuccess?: string | undefined;
1378
+ onError?: string | undefined;
1379
+ };
1380
+ } & {} & {
1381
+ commandType?: "object" | "independent" | "help" | undefined;
1382
+ object?: string | undefined;
1383
+ hoverTooltip?: boolean | undefined;
1384
+ operation?: "self" | "router" | "blank" | undefined;
1385
+ }) | ({
1386
+ type: "appcues";
1387
+ value: string;
1388
+ } & {} & {
1389
+ commandType?: "object" | "independent" | "help" | undefined;
1390
+ object?: string | undefined;
1391
+ hoverTooltip?: boolean | undefined;
1392
+ operation?: "self" | "router" | "blank" | undefined;
1230
1393
  });
1231
1394
  } & {
1232
1395
  disabledReason?: string | undefined;
@@ -1419,6 +1582,13 @@ export declare class Command {
1419
1582
  shortcut_win: string[];
1420
1583
  hotkey_mac: string;
1421
1584
  hotkey_win: string;
1585
+ detail: string | {
1586
+ type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
1587
+ value: string;
1588
+ } | (string | {
1589
+ type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
1590
+ value: string;
1591
+ })[] | null;
1422
1592
  }>;
1423
1593
  static update: (object: {
1424
1594
  id: number;
@@ -1449,7 +1619,7 @@ export declare class Command {
1449
1619
  hoverTooltip?: boolean | undefined;
1450
1620
  operation?: "self" | "router" | "blank" | undefined;
1451
1621
  }) | ({
1452
- type: "click" | "clickBySelector" | "clickByXpath";
1622
+ type: "click" | "clickByXpath" | "clickBySelector";
1453
1623
  value: string[];
1454
1624
  } & {} & {
1455
1625
  commandType?: "object" | "independent" | "help" | undefined;
@@ -1480,6 +1650,35 @@ export declare class Command {
1480
1650
  object?: string | undefined;
1481
1651
  hoverTooltip?: boolean | undefined;
1482
1652
  operation?: "self" | "router" | "blank" | undefined;
1653
+ }) | ({
1654
+ type: "request";
1655
+ value: {
1656
+ method: "head" | "options" | "get" | "delete" | "post" | "put" | "patch";
1657
+ url: string;
1658
+ } & {
1659
+ headers?: {
1660
+ [key: string]: unknown;
1661
+ } | undefined;
1662
+ body?: {
1663
+ [key: string]: unknown;
1664
+ } | undefined;
1665
+ onSend?: string | undefined;
1666
+ onSuccess?: string | undefined;
1667
+ onError?: string | undefined;
1668
+ };
1669
+ } & {} & {
1670
+ commandType?: "object" | "independent" | "help" | undefined;
1671
+ object?: string | undefined;
1672
+ hoverTooltip?: boolean | undefined;
1673
+ operation?: "self" | "router" | "blank" | undefined;
1674
+ }) | ({
1675
+ type: "appcues";
1676
+ value: string;
1677
+ } & {} & {
1678
+ commandType?: "object" | "independent" | "help" | undefined;
1679
+ object?: string | undefined;
1680
+ hoverTooltip?: boolean | undefined;
1681
+ operation?: "self" | "router" | "blank" | undefined;
1483
1682
  });
1484
1683
  } & {
1485
1684
  disabledReason?: string | undefined;
@@ -1672,6 +1871,13 @@ export declare class Command {
1672
1871
  shortcut_win: string[];
1673
1872
  hotkey_mac: string;
1674
1873
  hotkey_win: string;
1874
+ detail: string | {
1875
+ type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
1876
+ value: string;
1877
+ } | (string | {
1878
+ type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
1879
+ value: string;
1880
+ })[] | null;
1675
1881
  }, onSuccess?: (() => void) | undefined, onError?: ((err: string) => void) | undefined) => Promise<{
1676
1882
  id: number;
1677
1883
  organization: string | number;
@@ -1701,7 +1907,7 @@ export declare class Command {
1701
1907
  hoverTooltip?: boolean | undefined;
1702
1908
  operation?: "self" | "router" | "blank" | undefined;
1703
1909
  }) | ({
1704
- type: "click" | "clickBySelector" | "clickByXpath";
1910
+ type: "click" | "clickByXpath" | "clickBySelector";
1705
1911
  value: string[];
1706
1912
  } & {} & {
1707
1913
  commandType?: "object" | "independent" | "help" | undefined;
@@ -1732,6 +1938,35 @@ export declare class Command {
1732
1938
  object?: string | undefined;
1733
1939
  hoverTooltip?: boolean | undefined;
1734
1940
  operation?: "self" | "router" | "blank" | undefined;
1941
+ }) | ({
1942
+ type: "request";
1943
+ value: {
1944
+ method: "head" | "options" | "get" | "delete" | "post" | "put" | "patch";
1945
+ url: string;
1946
+ } & {
1947
+ headers?: {
1948
+ [key: string]: unknown;
1949
+ } | undefined;
1950
+ body?: {
1951
+ [key: string]: unknown;
1952
+ } | undefined;
1953
+ onSend?: string | undefined;
1954
+ onSuccess?: string | undefined;
1955
+ onError?: string | undefined;
1956
+ };
1957
+ } & {} & {
1958
+ commandType?: "object" | "independent" | "help" | undefined;
1959
+ object?: string | undefined;
1960
+ hoverTooltip?: boolean | undefined;
1961
+ operation?: "self" | "router" | "blank" | undefined;
1962
+ }) | ({
1963
+ type: "appcues";
1964
+ value: string;
1965
+ } & {} & {
1966
+ commandType?: "object" | "independent" | "help" | undefined;
1967
+ object?: string | undefined;
1968
+ hoverTooltip?: boolean | undefined;
1969
+ operation?: "self" | "router" | "blank" | undefined;
1735
1970
  });
1736
1971
  } & {
1737
1972
  disabledReason?: string | undefined;
@@ -1924,9 +2159,16 @@ export declare class Command {
1924
2159
  shortcut_win: string[];
1925
2160
  hotkey_mac: string;
1926
2161
  hotkey_win: string;
2162
+ detail: string | {
2163
+ type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
2164
+ value: string;
2165
+ } | (string | {
2166
+ type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
2167
+ value: string;
2168
+ })[] | null;
1927
2169
  }>;
1928
2170
  static delete: (id: string | number, onSuccess?: (() => void) | undefined, onError?: ((err: string) => void) | undefined) => Promise<void>;
1929
- static batch: (request: t.TypeOf<typeof BatchEditorCommandRequestV>) => Promise<{
2171
+ static batch: (request: t.TypeOf<typeof GenericBatchRequest>) => Promise<{
1930
2172
  batch: ({
1931
2173
  id: number;
1932
2174
  organization: string | number;
@@ -1956,7 +2198,7 @@ export declare class Command {
1956
2198
  hoverTooltip?: boolean | undefined;
1957
2199
  operation?: "self" | "router" | "blank" | undefined;
1958
2200
  }) | ({
1959
- type: "click" | "clickBySelector" | "clickByXpath";
2201
+ type: "click" | "clickByXpath" | "clickBySelector";
1960
2202
  value: string[];
1961
2203
  } & {} & {
1962
2204
  commandType?: "object" | "independent" | "help" | undefined;
@@ -1987,6 +2229,35 @@ export declare class Command {
1987
2229
  object?: string | undefined;
1988
2230
  hoverTooltip?: boolean | undefined;
1989
2231
  operation?: "self" | "router" | "blank" | undefined;
2232
+ }) | ({
2233
+ type: "request";
2234
+ value: {
2235
+ method: "head" | "options" | "get" | "delete" | "post" | "put" | "patch";
2236
+ url: string;
2237
+ } & {
2238
+ headers?: {
2239
+ [key: string]: unknown;
2240
+ } | undefined;
2241
+ body?: {
2242
+ [key: string]: unknown;
2243
+ } | undefined;
2244
+ onSend?: string | undefined;
2245
+ onSuccess?: string | undefined;
2246
+ onError?: string | undefined;
2247
+ };
2248
+ } & {} & {
2249
+ commandType?: "object" | "independent" | "help" | undefined;
2250
+ object?: string | undefined;
2251
+ hoverTooltip?: boolean | undefined;
2252
+ operation?: "self" | "router" | "blank" | undefined;
2253
+ }) | ({
2254
+ type: "appcues";
2255
+ value: string;
2256
+ } & {} & {
2257
+ commandType?: "object" | "independent" | "help" | undefined;
2258
+ object?: string | undefined;
2259
+ hoverTooltip?: boolean | undefined;
2260
+ operation?: "self" | "router" | "blank" | undefined;
1990
2261
  });
1991
2262
  } & {
1992
2263
  disabledReason?: string | undefined;
@@ -2179,6 +2450,13 @@ export declare class Command {
2179
2450
  shortcut_win: string[];
2180
2451
  hotkey_mac: string;
2181
2452
  hotkey_win: string;
2453
+ detail: string | {
2454
+ type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
2455
+ value: string;
2456
+ } | (string | {
2457
+ type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
2458
+ value: string;
2459
+ })[] | null;
2182
2460
  })[];
2183
2461
  }>;
2184
2462
  static validateFromClient: (data: any) => Promise<{
@@ -2200,7 +2478,7 @@ export declare class Command {
2200
2478
  hoverTooltip?: boolean | undefined;
2201
2479
  operation?: "self" | "router" | "blank" | undefined;
2202
2480
  }) | ({
2203
- type: "click" | "clickBySelector" | "clickByXpath";
2481
+ type: "click" | "clickByXpath" | "clickBySelector";
2204
2482
  value: string[];
2205
2483
  } & {} & {
2206
2484
  commandType?: "object" | "independent" | "help" | undefined;
@@ -2215,6 +2493,35 @@ export declare class Command {
2215
2493
  object?: string | undefined;
2216
2494
  hoverTooltip?: boolean | undefined;
2217
2495
  operation?: "self" | "router" | "blank" | undefined;
2496
+ }) | ({
2497
+ type: "request";
2498
+ value: {
2499
+ method: "head" | "options" | "get" | "delete" | "post" | "put" | "patch";
2500
+ url: string;
2501
+ } & {
2502
+ headers?: {
2503
+ [key: string]: unknown;
2504
+ } | undefined;
2505
+ body?: {
2506
+ [key: string]: unknown;
2507
+ } | undefined;
2508
+ onSend?: string | undefined;
2509
+ onSuccess?: string | undefined;
2510
+ onError?: string | undefined;
2511
+ };
2512
+ } & {} & {
2513
+ commandType?: "object" | "independent" | "help" | undefined;
2514
+ object?: string | undefined;
2515
+ hoverTooltip?: boolean | undefined;
2516
+ operation?: "self" | "router" | "blank" | undefined;
2517
+ }) | ({
2518
+ type: "appcues";
2519
+ value: string;
2520
+ } & {} & {
2521
+ commandType?: "object" | "independent" | "help" | undefined;
2522
+ object?: string | undefined;
2523
+ hoverTooltip?: boolean | undefined;
2524
+ operation?: "self" | "router" | "blank" | undefined;
2218
2525
  });
2219
2526
  text: string;
2220
2527
  } & {
@@ -2367,6 +2674,13 @@ export declare class Command {
2367
2674
  value?: string | undefined;
2368
2675
  reason?: string | undefined;
2369
2676
  }))[] | undefined;
2677
+ detail?: string | {
2678
+ type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
2679
+ value: string;
2680
+ } | {
2681
+ type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
2682
+ value: string;
2683
+ }[] | undefined;
2370
2684
  }>;
2371
2685
  static decode: (data: any) => {
2372
2686
  id: number;
@@ -2397,7 +2711,7 @@ export declare class Command {
2397
2711
  hoverTooltip?: boolean | undefined;
2398
2712
  operation?: "self" | "router" | "blank" | undefined;
2399
2713
  }) | ({
2400
- type: "click" | "clickBySelector" | "clickByXpath";
2714
+ type: "click" | "clickByXpath" | "clickBySelector";
2401
2715
  value: string[];
2402
2716
  } & {} & {
2403
2717
  commandType?: "object" | "independent" | "help" | undefined;
@@ -2428,6 +2742,35 @@ export declare class Command {
2428
2742
  object?: string | undefined;
2429
2743
  hoverTooltip?: boolean | undefined;
2430
2744
  operation?: "self" | "router" | "blank" | undefined;
2745
+ }) | ({
2746
+ type: "request";
2747
+ value: {
2748
+ method: "head" | "options" | "get" | "delete" | "post" | "put" | "patch";
2749
+ url: string;
2750
+ } & {
2751
+ headers?: {
2752
+ [key: string]: unknown;
2753
+ } | undefined;
2754
+ body?: {
2755
+ [key: string]: unknown;
2756
+ } | undefined;
2757
+ onSend?: string | undefined;
2758
+ onSuccess?: string | undefined;
2759
+ onError?: string | undefined;
2760
+ };
2761
+ } & {} & {
2762
+ commandType?: "object" | "independent" | "help" | undefined;
2763
+ object?: string | undefined;
2764
+ hoverTooltip?: boolean | undefined;
2765
+ operation?: "self" | "router" | "blank" | undefined;
2766
+ }) | ({
2767
+ type: "appcues";
2768
+ value: string;
2769
+ } & {} & {
2770
+ commandType?: "object" | "independent" | "help" | undefined;
2771
+ object?: string | undefined;
2772
+ hoverTooltip?: boolean | undefined;
2773
+ operation?: "self" | "router" | "blank" | undefined;
2431
2774
  });
2432
2775
  } & {
2433
2776
  disabledReason?: string | undefined;
@@ -2589,8 +2932,15 @@ export declare class Command {
2589
2932
  shortcut_win: string[];
2590
2933
  hotkey_mac: string;
2591
2934
  hotkey_win: string;
2935
+ detail: string | {
2936
+ type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
2937
+ value: string;
2938
+ } | (string | {
2939
+ type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
2940
+ value: string;
2941
+ })[] | null;
2592
2942
  };
2593
- static createWithoutThrottle: (object: {
2943
+ static decodeEditorCommand: (data: any) => {
2594
2944
  id: number;
2595
2945
  organization: string | number;
2596
2946
  text: string;
@@ -2619,7 +2969,7 @@ export declare class Command {
2619
2969
  hoverTooltip?: boolean | undefined;
2620
2970
  operation?: "self" | "router" | "blank" | undefined;
2621
2971
  }) | ({
2622
- type: "click" | "clickBySelector" | "clickByXpath";
2972
+ type: "click" | "clickByXpath" | "clickBySelector";
2623
2973
  value: string[];
2624
2974
  } & {} & {
2625
2975
  commandType?: "object" | "independent" | "help" | undefined;
@@ -2650,6 +3000,35 @@ export declare class Command {
2650
3000
  object?: string | undefined;
2651
3001
  hoverTooltip?: boolean | undefined;
2652
3002
  operation?: "self" | "router" | "blank" | undefined;
3003
+ }) | ({
3004
+ type: "request";
3005
+ value: {
3006
+ method: "head" | "options" | "get" | "delete" | "post" | "put" | "patch";
3007
+ url: string;
3008
+ } & {
3009
+ headers?: {
3010
+ [key: string]: unknown;
3011
+ } | undefined;
3012
+ body?: {
3013
+ [key: string]: unknown;
3014
+ } | undefined;
3015
+ onSend?: string | undefined;
3016
+ onSuccess?: string | undefined;
3017
+ onError?: string | undefined;
3018
+ };
3019
+ } & {} & {
3020
+ commandType?: "object" | "independent" | "help" | undefined;
3021
+ object?: string | undefined;
3022
+ hoverTooltip?: boolean | undefined;
3023
+ operation?: "self" | "router" | "blank" | undefined;
3024
+ }) | ({
3025
+ type: "appcues";
3026
+ value: string;
3027
+ } & {} & {
3028
+ commandType?: "object" | "independent" | "help" | undefined;
3029
+ object?: string | undefined;
3030
+ hoverTooltip?: boolean | undefined;
3031
+ operation?: "self" | "router" | "blank" | undefined;
2653
3032
  });
2654
3033
  } & {
2655
3034
  disabledReason?: string | undefined;
@@ -2842,7 +3221,15 @@ export declare class Command {
2842
3221
  shortcut_win: string[];
2843
3222
  hotkey_mac: string;
2844
3223
  hotkey_win: string;
2845
- }, onSuccess?: (() => void) | undefined, onError?: ((err: string) => void) | undefined) => Promise<{
3224
+ detail: string | {
3225
+ type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
3226
+ value: string;
3227
+ } | (string | {
3228
+ type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
3229
+ value: string;
3230
+ })[] | null;
3231
+ };
3232
+ static createWithoutThrottle: (object: {
2846
3233
  id: number;
2847
3234
  organization: string | number;
2848
3235
  text: string;
@@ -2871,7 +3258,7 @@ export declare class Command {
2871
3258
  hoverTooltip?: boolean | undefined;
2872
3259
  operation?: "self" | "router" | "blank" | undefined;
2873
3260
  }) | ({
2874
- type: "click" | "clickBySelector" | "clickByXpath";
3261
+ type: "click" | "clickByXpath" | "clickBySelector";
2875
3262
  value: string[];
2876
3263
  } & {} & {
2877
3264
  commandType?: "object" | "independent" | "help" | undefined;
@@ -2902,6 +3289,35 @@ export declare class Command {
2902
3289
  object?: string | undefined;
2903
3290
  hoverTooltip?: boolean | undefined;
2904
3291
  operation?: "self" | "router" | "blank" | undefined;
3292
+ }) | ({
3293
+ type: "request";
3294
+ value: {
3295
+ method: "head" | "options" | "get" | "delete" | "post" | "put" | "patch";
3296
+ url: string;
3297
+ } & {
3298
+ headers?: {
3299
+ [key: string]: unknown;
3300
+ } | undefined;
3301
+ body?: {
3302
+ [key: string]: unknown;
3303
+ } | undefined;
3304
+ onSend?: string | undefined;
3305
+ onSuccess?: string | undefined;
3306
+ onError?: string | undefined;
3307
+ };
3308
+ } & {} & {
3309
+ commandType?: "object" | "independent" | "help" | undefined;
3310
+ object?: string | undefined;
3311
+ hoverTooltip?: boolean | undefined;
3312
+ operation?: "self" | "router" | "blank" | undefined;
3313
+ }) | ({
3314
+ type: "appcues";
3315
+ value: string;
3316
+ } & {} & {
3317
+ commandType?: "object" | "independent" | "help" | undefined;
3318
+ object?: string | undefined;
3319
+ hoverTooltip?: boolean | undefined;
3320
+ operation?: "self" | "router" | "blank" | undefined;
2905
3321
  });
2906
3322
  } & {
2907
3323
  disabledReason?: string | undefined;
@@ -3094,8 +3510,14 @@ export declare class Command {
3094
3510
  shortcut_win: string[];
3095
3511
  hotkey_mac: string;
3096
3512
  hotkey_win: string;
3097
- }>;
3098
- static updateWithoutThrottle: (object: {
3513
+ detail: string | {
3514
+ type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
3515
+ value: string;
3516
+ } | (string | {
3517
+ type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
3518
+ value: string;
3519
+ })[] | null;
3520
+ }, onSuccess?: (() => void) | undefined, onError?: ((err: string) => void) | undefined) => Promise<{
3099
3521
  id: number;
3100
3522
  organization: string | number;
3101
3523
  text: string;
@@ -3124,7 +3546,7 @@ export declare class Command {
3124
3546
  hoverTooltip?: boolean | undefined;
3125
3547
  operation?: "self" | "router" | "blank" | undefined;
3126
3548
  }) | ({
3127
- type: "click" | "clickBySelector" | "clickByXpath";
3549
+ type: "click" | "clickByXpath" | "clickBySelector";
3128
3550
  value: string[];
3129
3551
  } & {} & {
3130
3552
  commandType?: "object" | "independent" | "help" | undefined;
@@ -3155,6 +3577,35 @@ export declare class Command {
3155
3577
  object?: string | undefined;
3156
3578
  hoverTooltip?: boolean | undefined;
3157
3579
  operation?: "self" | "router" | "blank" | undefined;
3580
+ }) | ({
3581
+ type: "request";
3582
+ value: {
3583
+ method: "head" | "options" | "get" | "delete" | "post" | "put" | "patch";
3584
+ url: string;
3585
+ } & {
3586
+ headers?: {
3587
+ [key: string]: unknown;
3588
+ } | undefined;
3589
+ body?: {
3590
+ [key: string]: unknown;
3591
+ } | undefined;
3592
+ onSend?: string | undefined;
3593
+ onSuccess?: string | undefined;
3594
+ onError?: string | undefined;
3595
+ };
3596
+ } & {} & {
3597
+ commandType?: "object" | "independent" | "help" | undefined;
3598
+ object?: string | undefined;
3599
+ hoverTooltip?: boolean | undefined;
3600
+ operation?: "self" | "router" | "blank" | undefined;
3601
+ }) | ({
3602
+ type: "appcues";
3603
+ value: string;
3604
+ } & {} & {
3605
+ commandType?: "object" | "independent" | "help" | undefined;
3606
+ object?: string | undefined;
3607
+ hoverTooltip?: boolean | undefined;
3608
+ operation?: "self" | "router" | "blank" | undefined;
3158
3609
  });
3159
3610
  } & {
3160
3611
  disabledReason?: string | undefined;
@@ -3347,7 +3798,15 @@ export declare class Command {
3347
3798
  shortcut_win: string[];
3348
3799
  hotkey_mac: string;
3349
3800
  hotkey_win: string;
3350
- }, onSuccess?: (() => void) | undefined, onError?: ((err: string) => void) | undefined) => Promise<{
3801
+ detail: string | {
3802
+ type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
3803
+ value: string;
3804
+ } | (string | {
3805
+ type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
3806
+ value: string;
3807
+ })[] | null;
3808
+ }>;
3809
+ static updateWithoutThrottle: (object: {
3351
3810
  id: number;
3352
3811
  organization: string | number;
3353
3812
  text: string;
@@ -3376,7 +3835,7 @@ export declare class Command {
3376
3835
  hoverTooltip?: boolean | undefined;
3377
3836
  operation?: "self" | "router" | "blank" | undefined;
3378
3837
  }) | ({
3379
- type: "click" | "clickBySelector" | "clickByXpath";
3838
+ type: "click" | "clickByXpath" | "clickBySelector";
3380
3839
  value: string[];
3381
3840
  } & {} & {
3382
3841
  commandType?: "object" | "independent" | "help" | undefined;
@@ -3407,11 +3866,40 @@ export declare class Command {
3407
3866
  object?: string | undefined;
3408
3867
  hoverTooltip?: boolean | undefined;
3409
3868
  operation?: "self" | "router" | "blank" | undefined;
3410
- });
3411
- } & {
3412
- disabledReason?: string | undefined;
3413
- source?: string | undefined;
3414
- name?: string | undefined;
3869
+ }) | ({
3870
+ type: "request";
3871
+ value: {
3872
+ method: "head" | "options" | "get" | "delete" | "post" | "put" | "patch";
3873
+ url: string;
3874
+ } & {
3875
+ headers?: {
3876
+ [key: string]: unknown;
3877
+ } | undefined;
3878
+ body?: {
3879
+ [key: string]: unknown;
3880
+ } | undefined;
3881
+ onSend?: string | undefined;
3882
+ onSuccess?: string | undefined;
3883
+ onError?: string | undefined;
3884
+ };
3885
+ } & {} & {
3886
+ commandType?: "object" | "independent" | "help" | undefined;
3887
+ object?: string | undefined;
3888
+ hoverTooltip?: boolean | undefined;
3889
+ operation?: "self" | "router" | "blank" | undefined;
3890
+ }) | ({
3891
+ type: "appcues";
3892
+ value: string;
3893
+ } & {} & {
3894
+ commandType?: "object" | "independent" | "help" | undefined;
3895
+ object?: string | undefined;
3896
+ hoverTooltip?: boolean | undefined;
3897
+ operation?: "self" | "router" | "blank" | undefined;
3898
+ });
3899
+ } & {
3900
+ disabledReason?: string | undefined;
3901
+ source?: string | undefined;
3902
+ name?: string | undefined;
3415
3903
  last_available?: string | null | undefined;
3416
3904
  modified?: string | undefined;
3417
3905
  } & {
@@ -3599,10 +4087,1378 @@ export declare class Command {
3599
4087
  shortcut_win: string[];
3600
4088
  hotkey_mac: string;
3601
4089
  hotkey_win: string;
3602
- }>;
3603
- static deleteWithoutThrottle: (id: string | number, onSuccess?: (() => void) | undefined, onError?: ((err: string) => void) | undefined) => Promise<void>;
3604
- static commandUID: (cmd: t.TypeOf<typeof CommandV> | t.TypeOf<typeof EditorCommandV>) => string;
3605
- static isProgrammatic: (cmd: t.TypeOf<typeof CommandV> | t.TypeOf<typeof EditorCommandV>) => boolean;
3606
- static isRecordAction: (cmd: t.TypeOf<typeof CommandV> | t.TypeOf<typeof EditorCommandV>, recordKey?: string | undefined) => boolean;
3607
- static showInDefaultList: (cmd: t.TypeOf<typeof CommandV> | t.TypeOf<typeof EditorCommandV>) => boolean;
4090
+ detail: string | {
4091
+ type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
4092
+ value: string;
4093
+ } | (string | {
4094
+ type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
4095
+ value: string;
4096
+ })[] | null;
4097
+ }, onSuccess?: (() => void) | undefined, onError?: ((err: string) => void) | undefined) => Promise<{
4098
+ id: number;
4099
+ organization: string | number;
4100
+ text: string;
4101
+ template: ({
4102
+ type: "admin";
4103
+ value: string;
4104
+ } & {} & {
4105
+ commandType?: "object" | "independent" | "help" | undefined;
4106
+ object?: string | undefined;
4107
+ hoverTooltip?: boolean | undefined;
4108
+ operation?: "self" | "router" | "blank" | undefined;
4109
+ }) | ({
4110
+ type: "callback";
4111
+ value: string;
4112
+ } & {} & {
4113
+ commandType?: "object" | "independent" | "help" | undefined;
4114
+ object?: string | undefined;
4115
+ hoverTooltip?: boolean | undefined;
4116
+ operation?: "self" | "router" | "blank" | undefined;
4117
+ }) | ({
4118
+ type: "link";
4119
+ value: string;
4120
+ } & {} & {
4121
+ commandType?: "object" | "independent" | "help" | undefined;
4122
+ object?: string | undefined;
4123
+ hoverTooltip?: boolean | undefined;
4124
+ operation?: "self" | "router" | "blank" | undefined;
4125
+ }) | ({
4126
+ type: "click" | "clickByXpath" | "clickBySelector";
4127
+ value: string[];
4128
+ } & {} & {
4129
+ commandType?: "object" | "independent" | "help" | undefined;
4130
+ object?: string | undefined;
4131
+ hoverTooltip?: boolean | undefined;
4132
+ operation?: "self" | "router" | "blank" | undefined;
4133
+ }) | ({
4134
+ type: "builtin";
4135
+ value: string;
4136
+ } & {} & {
4137
+ commandType?: "object" | "independent" | "help" | undefined;
4138
+ object?: string | undefined;
4139
+ hoverTooltip?: boolean | undefined;
4140
+ operation?: "self" | "router" | "blank" | undefined;
4141
+ }) | ({
4142
+ type: "webhook";
4143
+ value: string;
4144
+ } & {} & {
4145
+ commandType?: "object" | "independent" | "help" | undefined;
4146
+ object?: string | undefined;
4147
+ hoverTooltip?: boolean | undefined;
4148
+ operation?: "self" | "router" | "blank" | undefined;
4149
+ }) | ({
4150
+ type: "script";
4151
+ value: string;
4152
+ } & {} & {
4153
+ commandType?: "object" | "independent" | "help" | undefined;
4154
+ object?: string | undefined;
4155
+ hoverTooltip?: boolean | undefined;
4156
+ operation?: "self" | "router" | "blank" | undefined;
4157
+ }) | ({
4158
+ type: "request";
4159
+ value: {
4160
+ method: "head" | "options" | "get" | "delete" | "post" | "put" | "patch";
4161
+ url: string;
4162
+ } & {
4163
+ headers?: {
4164
+ [key: string]: unknown;
4165
+ } | undefined;
4166
+ body?: {
4167
+ [key: string]: unknown;
4168
+ } | undefined;
4169
+ onSend?: string | undefined;
4170
+ onSuccess?: string | undefined;
4171
+ onError?: string | undefined;
4172
+ };
4173
+ } & {} & {
4174
+ commandType?: "object" | "independent" | "help" | undefined;
4175
+ object?: string | undefined;
4176
+ hoverTooltip?: boolean | undefined;
4177
+ operation?: "self" | "router" | "blank" | undefined;
4178
+ }) | ({
4179
+ type: "appcues";
4180
+ value: string;
4181
+ } & {} & {
4182
+ commandType?: "object" | "independent" | "help" | undefined;
4183
+ object?: string | undefined;
4184
+ hoverTooltip?: boolean | undefined;
4185
+ operation?: "self" | "router" | "blank" | undefined;
4186
+ });
4187
+ } & {
4188
+ disabledReason?: string | undefined;
4189
+ source?: string | undefined;
4190
+ name?: string | undefined;
4191
+ last_available?: string | null | undefined;
4192
+ modified?: string | undefined;
4193
+ } & {
4194
+ arguments: {
4195
+ [x: string]: ({
4196
+ type: "context";
4197
+ value: string;
4198
+ order_key: number;
4199
+ } & {
4200
+ label?: string | undefined;
4201
+ chosen?: string | number | undefined;
4202
+ selected?: any[] | undefined;
4203
+ input_type?: string | undefined;
4204
+ preselected_key?: string | undefined;
4205
+ label_field?: string | undefined;
4206
+ availability_condition?: {
4207
+ field: string;
4208
+ operator: "==" | "!=" | "isTruthy" | "isFalsy";
4209
+ value: string | undefined;
4210
+ }[] | undefined;
4211
+ loaded?: any[] | undefined;
4212
+ allow_create?: boolean | undefined;
4213
+ allow_create_label?: string | undefined;
4214
+ show_in_record_action_list?: boolean | undefined;
4215
+ show_in_default_list?: boolean | undefined;
4216
+ }) | ({
4217
+ type: "set";
4218
+ value: string[] | number[] | {
4219
+ [key: string]: unknown;
4220
+ }[];
4221
+ order_key: number;
4222
+ } & {
4223
+ label?: string | undefined;
4224
+ chosen?: string | number | undefined;
4225
+ selected?: any[] | undefined;
4226
+ input_type?: string | undefined;
4227
+ preselected_key?: string | undefined;
4228
+ label_field?: string | undefined;
4229
+ availability_condition?: {
4230
+ field: string;
4231
+ operator: "==" | "!=" | "isTruthy" | "isFalsy";
4232
+ value: string | undefined;
4233
+ }[] | undefined;
4234
+ loaded?: any[] | undefined;
4235
+ allow_create?: boolean | undefined;
4236
+ allow_create_label?: string | undefined;
4237
+ }) | ({
4238
+ type: "provided";
4239
+ value: "time" | "text";
4240
+ order_key: number;
4241
+ } & {
4242
+ label?: string | undefined;
4243
+ chosen?: string | number | undefined;
4244
+ selected?: any[] | undefined;
4245
+ input_type?: string | undefined;
4246
+ preselected_key?: string | undefined;
4247
+ label_field?: string | undefined;
4248
+ availability_condition?: {
4249
+ field: string;
4250
+ operator: "==" | "!=" | "isTruthy" | "isFalsy";
4251
+ value: string | undefined;
4252
+ }[] | undefined;
4253
+ loaded?: any[] | undefined;
4254
+ dateTimeArgumentTypeId?: number | undefined;
4255
+ allow_create?: boolean | undefined;
4256
+ allow_create_label?: string | undefined;
4257
+ }) | ({
4258
+ type: "dependent";
4259
+ value: string;
4260
+ order_key: number;
4261
+ } & {
4262
+ label?: string | undefined;
4263
+ chosen?: string | number | undefined;
4264
+ selected?: any[] | undefined;
4265
+ input_type?: string | undefined;
4266
+ preselected_key?: string | undefined;
4267
+ label_field?: string | undefined;
4268
+ availability_condition?: {
4269
+ field: string;
4270
+ operator: "==" | "!=" | "isTruthy" | "isFalsy";
4271
+ value: string | undefined;
4272
+ }[] | undefined;
4273
+ loaded?: any[] | undefined;
4274
+ allow_create?: boolean | undefined;
4275
+ allow_create_label?: string | undefined;
4276
+ }) | ({
4277
+ type: "function";
4278
+ value: string;
4279
+ order_key: number;
4280
+ } & {
4281
+ label?: string | undefined;
4282
+ chosen?: string | number | undefined;
4283
+ selected?: any[] | undefined;
4284
+ input_type?: string | undefined;
4285
+ preselected_key?: string | undefined;
4286
+ label_field?: string | undefined;
4287
+ availability_condition?: {
4288
+ field: string;
4289
+ operator: "==" | "!=" | "isTruthy" | "isFalsy";
4290
+ value: string | undefined;
4291
+ }[] | undefined;
4292
+ loaded?: any[] | undefined;
4293
+ allow_create?: boolean | undefined;
4294
+ allow_create_label?: string | undefined;
4295
+ });
4296
+ };
4297
+ tags: string[];
4298
+ availability_rules: ({
4299
+ type: "url" | "context" | "element";
4300
+ operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
4301
+ } & {
4302
+ field?: string | undefined;
4303
+ value?: string | undefined;
4304
+ reason?: string | undefined;
4305
+ })[] | (({
4306
+ type: "url" | "context" | "element";
4307
+ operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
4308
+ } & {
4309
+ field?: string | undefined;
4310
+ value?: string | undefined;
4311
+ reason?: string | undefined;
4312
+ }) | ({
4313
+ type: "named_rule";
4314
+ rule_id: number;
4315
+ } & {
4316
+ reason?: string | undefined;
4317
+ }))[];
4318
+ recommend_rules: (({
4319
+ type: "always";
4320
+ } & {
4321
+ operator?: null | undefined;
4322
+ field?: null | undefined;
4323
+ value?: null | undefined;
4324
+ reason?: null | undefined;
4325
+ }) | ({
4326
+ type: "url" | "context" | "element";
4327
+ operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
4328
+ } & {
4329
+ field?: string | undefined;
4330
+ value?: string | undefined;
4331
+ reason?: string | undefined;
4332
+ }))[] | (({
4333
+ type: "always";
4334
+ } & {
4335
+ operator?: null | undefined;
4336
+ field?: null | undefined;
4337
+ value?: null | undefined;
4338
+ reason?: null | undefined;
4339
+ }) | ({
4340
+ type: "url" | "context" | "element";
4341
+ operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
4342
+ } & {
4343
+ field?: string | undefined;
4344
+ value?: string | undefined;
4345
+ reason?: string | undefined;
4346
+ }) | ({
4347
+ type: "named_rule";
4348
+ rule_id: number;
4349
+ } & {
4350
+ reason?: string | undefined;
4351
+ }))[];
4352
+ confirm: string;
4353
+ shortcut: string[];
4354
+ explanation: string;
4355
+ is_live: boolean;
4356
+ category: number | null;
4357
+ sort_key: number | null;
4358
+ icon: string | null;
4359
+ celebrate: boolean | {
4360
+ angle?: number | undefined;
4361
+ spread?: number | undefined;
4362
+ width?: string | undefined;
4363
+ height?: string | undefined;
4364
+ duration?: number | undefined;
4365
+ dragFriction?: number | undefined;
4366
+ stagger?: number | undefined;
4367
+ startVelocity?: number | undefined;
4368
+ elementCount?: number | undefined;
4369
+ decay?: number | undefined;
4370
+ colors?: string[] | undefined;
4371
+ random?: any;
4372
+ } | null;
4373
+ recommend_sort_key: number | null;
4374
+ shortcut_mac: string[];
4375
+ shortcut_win: string[];
4376
+ hotkey_mac: string;
4377
+ hotkey_win: string;
4378
+ detail: string | {
4379
+ type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
4380
+ value: string;
4381
+ } | (string | {
4382
+ type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
4383
+ value: string;
4384
+ })[] | null;
4385
+ }>;
4386
+ static deleteWithoutThrottle: (id: string | number, onSuccess?: (() => void) | undefined, onError?: ((err: string) => void) | undefined) => Promise<void>;
4387
+ static commandUID: (cmd: t.TypeOf<typeof CommandV> | t.TypeOf<typeof EditorCommandV>) => string;
4388
+ static isProgrammatic: (cmd: t.TypeOf<typeof CommandV> | t.TypeOf<typeof EditorCommandV>) => boolean;
4389
+ static isRecordAction: (cmd: t.TypeOf<typeof CommandV> | t.TypeOf<typeof EditorCommandV>, recordKey?: string | undefined) => boolean;
4390
+ static showInDefaultList: (cmd: t.TypeOf<typeof CommandV> | t.TypeOf<typeof EditorCommandV>) => boolean;
4391
+ }
4392
+ export declare const HelpSyncCommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
4393
+ id: t.NumberC;
4394
+ organization: t.UnionC<[t.NumberC, t.StringC]>;
4395
+ text: t.StringC;
4396
+ template: t.UnionC<[t.IntersectionC<[t.TypeC<{
4397
+ type: t.LiteralC<"admin">;
4398
+ value: t.StringC;
4399
+ }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
4400
+ commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
4401
+ object: t.StringC;
4402
+ hoverTooltip: t.BooleanC;
4403
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
4404
+ }>]>]>, t.IntersectionC<[t.TypeC<{
4405
+ type: t.LiteralC<"callback">;
4406
+ value: t.StringC;
4407
+ }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
4408
+ commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
4409
+ object: t.StringC;
4410
+ hoverTooltip: t.BooleanC;
4411
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
4412
+ }>]>]>, t.IntersectionC<[t.TypeC<{
4413
+ type: t.LiteralC<"link">;
4414
+ value: t.StringC;
4415
+ }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
4416
+ commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
4417
+ object: t.StringC;
4418
+ hoverTooltip: t.BooleanC;
4419
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
4420
+ }>]>]>, t.IntersectionC<[t.TypeC<{
4421
+ type: t.UnionC<[t.LiteralC<"click">, t.LiteralC<"clickBySelector">, t.LiteralC<"clickByXpath">]>;
4422
+ value: t.ArrayC<t.StringC>;
4423
+ }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
4424
+ commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
4425
+ object: t.StringC;
4426
+ hoverTooltip: t.BooleanC;
4427
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
4428
+ }>]>]>, t.IntersectionC<[t.TypeC<{
4429
+ type: t.LiteralC<"builtin">;
4430
+ value: t.StringC;
4431
+ }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
4432
+ commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
4433
+ object: t.StringC;
4434
+ hoverTooltip: t.BooleanC;
4435
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
4436
+ }>]>]>, t.IntersectionC<[t.TypeC<{
4437
+ type: t.LiteralC<"webhook">;
4438
+ value: t.StringC;
4439
+ }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
4440
+ commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
4441
+ object: t.StringC;
4442
+ hoverTooltip: t.BooleanC;
4443
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
4444
+ }>]>]>, t.IntersectionC<[t.TypeC<{
4445
+ type: t.LiteralC<"script">;
4446
+ value: t.StringC;
4447
+ }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
4448
+ commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
4449
+ object: t.StringC;
4450
+ hoverTooltip: t.BooleanC;
4451
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
4452
+ }>]>]>, t.IntersectionC<[t.TypeC<{
4453
+ type: t.LiteralC<"request">;
4454
+ value: t.IntersectionC<[t.TypeC<{
4455
+ method: t.UnionC<[t.LiteralC<"get">, t.LiteralC<"delete">, t.LiteralC<"head">, t.LiteralC<"options">, t.LiteralC<"post">, t.LiteralC<"put">, t.LiteralC<"patch">]>;
4456
+ url: t.StringC;
4457
+ }>, t.PartialC<{
4458
+ headers: t.UnknownRecordC;
4459
+ body: t.UnknownRecordC;
4460
+ onSend: t.StringC;
4461
+ onSuccess: t.StringC;
4462
+ onError: t.StringC;
4463
+ }>]>;
4464
+ }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
4465
+ commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
4466
+ object: t.StringC;
4467
+ hoverTooltip: t.BooleanC;
4468
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
4469
+ }>]>]>, t.IntersectionC<[t.TypeC<{
4470
+ type: t.LiteralC<"appcues">;
4471
+ value: t.StringC;
4472
+ }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
4473
+ commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
4474
+ object: t.StringC;
4475
+ hoverTooltip: t.BooleanC;
4476
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
4477
+ }>]>]>]>;
4478
+ }>, t.PartialC<{
4479
+ disabledReason: t.StringC;
4480
+ source: t.StringC;
4481
+ name: t.StringC;
4482
+ last_available: t.UnionC<[t.StringC, t.NullC]>;
4483
+ modified: t.StringC;
4484
+ }>]>, t.TypeC<{
4485
+ arguments: t.RecordC<t.StringC, t.UnionC<[t.IntersectionC<[t.TypeC<{
4486
+ type: t.LiteralC<"context">;
4487
+ value: t.StringC;
4488
+ order_key: t.NumberC;
4489
+ }>, t.PartialC<{
4490
+ label: t.StringC;
4491
+ chosen: t.UnionC<[t.StringC, t.NumberC]>;
4492
+ selected: t.ArrayC<t.AnyC>;
4493
+ input_type: t.StringC;
4494
+ preselected_key: t.StringC;
4495
+ label_field: t.StringC;
4496
+ availability_condition: t.ArrayC<t.TypeC<{
4497
+ field: t.StringC;
4498
+ operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
4499
+ value: t.UnionC<[t.StringC, t.UndefinedC]>;
4500
+ }>>;
4501
+ loaded: t.ArrayC<t.AnyC>;
4502
+ allow_create: t.BooleanC;
4503
+ allow_create_label: t.StringC;
4504
+ show_in_record_action_list: t.BooleanC;
4505
+ show_in_default_list: t.BooleanC;
4506
+ }>]>, t.IntersectionC<[t.TypeC<{
4507
+ type: t.LiteralC<"set">;
4508
+ value: t.UnionC<[t.ArrayC<t.StringC>, t.ArrayC<t.NumberC>, t.ArrayC<t.UnknownRecordC>]>;
4509
+ order_key: t.NumberC;
4510
+ }>, t.PartialC<{
4511
+ label: t.StringC;
4512
+ chosen: t.UnionC<[t.StringC, t.NumberC]>;
4513
+ selected: t.ArrayC<t.AnyC>;
4514
+ input_type: t.StringC;
4515
+ preselected_key: t.StringC;
4516
+ label_field: t.StringC;
4517
+ availability_condition: t.ArrayC<t.TypeC<{
4518
+ field: t.StringC;
4519
+ operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
4520
+ value: t.UnionC<[t.StringC, t.UndefinedC]>;
4521
+ }>>;
4522
+ loaded: t.ArrayC<t.AnyC>;
4523
+ allow_create: t.BooleanC;
4524
+ allow_create_label: t.StringC;
4525
+ }>]>, t.IntersectionC<[t.TypeC<{
4526
+ type: t.LiteralC<"provided">;
4527
+ value: t.UnionC<[t.LiteralC<"text">, t.LiteralC<"time">]>;
4528
+ order_key: t.NumberC;
4529
+ }>, t.PartialC<{
4530
+ label: t.StringC;
4531
+ chosen: t.UnionC<[t.StringC, t.NumberC]>;
4532
+ selected: t.ArrayC<t.AnyC>;
4533
+ input_type: t.StringC;
4534
+ preselected_key: t.StringC;
4535
+ label_field: t.StringC;
4536
+ availability_condition: t.ArrayC<t.TypeC<{
4537
+ field: t.StringC;
4538
+ operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
4539
+ value: t.UnionC<[t.StringC, t.UndefinedC]>;
4540
+ }>>;
4541
+ loaded: t.ArrayC<t.AnyC>;
4542
+ dateTimeArgumentTypeId: t.NumberC;
4543
+ allow_create: t.BooleanC;
4544
+ allow_create_label: t.StringC;
4545
+ }>]>, t.IntersectionC<[t.TypeC<{
4546
+ type: t.LiteralC<"dependent">;
4547
+ value: t.StringC;
4548
+ order_key: t.NumberC;
4549
+ }>, t.PartialC<{
4550
+ label: t.StringC;
4551
+ chosen: t.UnionC<[t.StringC, t.NumberC]>;
4552
+ selected: t.ArrayC<t.AnyC>;
4553
+ input_type: t.StringC;
4554
+ preselected_key: t.StringC;
4555
+ label_field: t.StringC;
4556
+ availability_condition: t.ArrayC<t.TypeC<{
4557
+ field: t.StringC;
4558
+ operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
4559
+ value: t.UnionC<[t.StringC, t.UndefinedC]>;
4560
+ }>>;
4561
+ loaded: t.ArrayC<t.AnyC>;
4562
+ allow_create: t.BooleanC;
4563
+ allow_create_label: t.StringC;
4564
+ }>]>, t.IntersectionC<[t.TypeC<{
4565
+ type: t.LiteralC<"function">;
4566
+ value: t.StringC;
4567
+ order_key: t.NumberC;
4568
+ }>, t.PartialC<{
4569
+ label: t.StringC;
4570
+ chosen: t.UnionC<[t.StringC, t.NumberC]>;
4571
+ selected: t.ArrayC<t.AnyC>;
4572
+ input_type: t.StringC;
4573
+ preselected_key: t.StringC;
4574
+ label_field: t.StringC;
4575
+ availability_condition: t.ArrayC<t.TypeC<{
4576
+ field: t.StringC;
4577
+ operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
4578
+ value: t.UnionC<[t.StringC, t.UndefinedC]>;
4579
+ }>>;
4580
+ loaded: t.ArrayC<t.AnyC>;
4581
+ allow_create: t.BooleanC;
4582
+ allow_create_label: t.StringC;
4583
+ }>]>]>>;
4584
+ tags: t.ArrayC<t.StringC>;
4585
+ availability_rules: t.ArrayC<t.IntersectionC<[t.TypeC<{
4586
+ type: t.UnionC<[t.LiteralC<"context">, t.LiteralC<"url">, t.LiteralC<"element">]>;
4587
+ operator: t.KeyofC<{
4588
+ includes: null;
4589
+ endsWith: null;
4590
+ startsWith: null;
4591
+ is: null;
4592
+ isTruthy: null;
4593
+ isFalsy: null;
4594
+ isNot: null;
4595
+ isTrue: null;
4596
+ isFalse: null;
4597
+ doesNotInclude: null;
4598
+ matchesRegex: null;
4599
+ isGreaterThan: null;
4600
+ isLessThan: null;
4601
+ isDefined: null;
4602
+ isNotDefined: null;
4603
+ classnameOnPage: null;
4604
+ idOnPage: null;
4605
+ }>;
4606
+ }>, t.PartialC<{
4607
+ field: t.StringC;
4608
+ value: t.StringC;
4609
+ reason: t.StringC;
4610
+ }>]>>;
4611
+ recommend_rules: t.ArrayC<t.UnionC<[t.IntersectionC<[t.TypeC<{
4612
+ type: t.LiteralC<"always">;
4613
+ }>, t.PartialC<{
4614
+ operator: t.UnionC<[t.UndefinedC, t.NullC]>;
4615
+ field: t.UnionC<[t.UndefinedC, t.NullC]>;
4616
+ value: t.UnionC<[t.UndefinedC, t.NullC]>;
4617
+ reason: t.UnionC<[t.UndefinedC, t.NullC]>;
4618
+ }>]>, t.IntersectionC<[t.TypeC<{
4619
+ type: t.UnionC<[t.LiteralC<"context">, t.LiteralC<"url">, t.LiteralC<"element">]>;
4620
+ operator: t.KeyofC<{
4621
+ includes: null;
4622
+ endsWith: null;
4623
+ startsWith: null;
4624
+ is: null;
4625
+ isTruthy: null;
4626
+ isFalsy: null;
4627
+ isNot: null;
4628
+ isTrue: null;
4629
+ isFalse: null;
4630
+ doesNotInclude: null;
4631
+ matchesRegex: null;
4632
+ isGreaterThan: null;
4633
+ isLessThan: null;
4634
+ isDefined: null;
4635
+ isNotDefined: null;
4636
+ classnameOnPage: null;
4637
+ idOnPage: null;
4638
+ }>;
4639
+ }>, t.PartialC<{
4640
+ field: t.StringC;
4641
+ value: t.StringC;
4642
+ reason: t.StringC;
4643
+ }>]>]>>;
4644
+ confirm: t.StringC;
4645
+ shortcut: t.ArrayC<t.StringC>;
4646
+ explanation: t.StringC;
4647
+ is_live: t.BooleanC;
4648
+ category: t.UnionC<[t.NumberC, t.NullC]>;
4649
+ sort_key: t.UnionC<[t.NumberC, t.NullC]>;
4650
+ icon: t.UnionC<[t.StringC, t.NullC]>;
4651
+ celebrate: t.UnionC<[t.BooleanC, t.PartialC<{
4652
+ angle: t.NumberC;
4653
+ spread: t.NumberC;
4654
+ width: t.StringC;
4655
+ height: t.StringC;
4656
+ duration: t.NumberC;
4657
+ dragFriction: t.NumberC;
4658
+ stagger: t.NumberC;
4659
+ startVelocity: t.NumberC;
4660
+ elementCount: t.NumberC;
4661
+ decay: t.NumberC;
4662
+ colors: t.ArrayC<t.StringC>;
4663
+ random: t.AnyC;
4664
+ }>, t.NullC]>;
4665
+ recommend_sort_key: t.UnionC<[t.NumberC, t.NullC]>;
4666
+ shortcut_mac: t.ArrayC<t.StringC>;
4667
+ shortcut_win: t.ArrayC<t.StringC>;
4668
+ hotkey_mac: t.StringC;
4669
+ hotkey_win: t.StringC;
4670
+ detail: t.UnionC<[t.NullC, t.StringC, t.TypeC<{
4671
+ type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"react">, t.LiteralC<"video">, t.NullC]>;
4672
+ value: t.StringC;
4673
+ }>, t.ArrayC<t.UnionC<[t.StringC, t.TypeC<{
4674
+ type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"react">, t.LiteralC<"video">, t.NullC]>;
4675
+ value: t.StringC;
4676
+ }>]>>]>;
4677
+ }>, t.TypeC<{
4678
+ third_party_source: t.StringC;
4679
+ third_party_id: t.StringC;
4680
+ }>]>;
4681
+ export declare class HelpSyncCommand {
4682
+ static listHelpCenter: (onSuccess?: (() => void) | undefined, onError?: ((err: string) => void) | undefined) => Promise<({
4683
+ id: number;
4684
+ organization: string | number;
4685
+ text: string;
4686
+ template: ({
4687
+ type: "admin";
4688
+ value: string;
4689
+ } & {} & {
4690
+ commandType?: "object" | "independent" | "help" | undefined;
4691
+ object?: string | undefined;
4692
+ hoverTooltip?: boolean | undefined;
4693
+ operation?: "self" | "router" | "blank" | undefined;
4694
+ }) | ({
4695
+ type: "callback";
4696
+ value: string;
4697
+ } & {} & {
4698
+ commandType?: "object" | "independent" | "help" | undefined;
4699
+ object?: string | undefined;
4700
+ hoverTooltip?: boolean | undefined;
4701
+ operation?: "self" | "router" | "blank" | undefined;
4702
+ }) | ({
4703
+ type: "link";
4704
+ value: string;
4705
+ } & {} & {
4706
+ commandType?: "object" | "independent" | "help" | undefined;
4707
+ object?: string | undefined;
4708
+ hoverTooltip?: boolean | undefined;
4709
+ operation?: "self" | "router" | "blank" | undefined;
4710
+ }) | ({
4711
+ type: "click" | "clickByXpath" | "clickBySelector";
4712
+ value: string[];
4713
+ } & {} & {
4714
+ commandType?: "object" | "independent" | "help" | undefined;
4715
+ object?: string | undefined;
4716
+ hoverTooltip?: boolean | undefined;
4717
+ operation?: "self" | "router" | "blank" | undefined;
4718
+ }) | ({
4719
+ type: "builtin";
4720
+ value: string;
4721
+ } & {} & {
4722
+ commandType?: "object" | "independent" | "help" | undefined;
4723
+ object?: string | undefined;
4724
+ hoverTooltip?: boolean | undefined;
4725
+ operation?: "self" | "router" | "blank" | undefined;
4726
+ }) | ({
4727
+ type: "webhook";
4728
+ value: string;
4729
+ } & {} & {
4730
+ commandType?: "object" | "independent" | "help" | undefined;
4731
+ object?: string | undefined;
4732
+ hoverTooltip?: boolean | undefined;
4733
+ operation?: "self" | "router" | "blank" | undefined;
4734
+ }) | ({
4735
+ type: "script";
4736
+ value: string;
4737
+ } & {} & {
4738
+ commandType?: "object" | "independent" | "help" | undefined;
4739
+ object?: string | undefined;
4740
+ hoverTooltip?: boolean | undefined;
4741
+ operation?: "self" | "router" | "blank" | undefined;
4742
+ }) | ({
4743
+ type: "request";
4744
+ value: {
4745
+ method: "head" | "options" | "get" | "delete" | "post" | "put" | "patch";
4746
+ url: string;
4747
+ } & {
4748
+ headers?: {
4749
+ [key: string]: unknown;
4750
+ } | undefined;
4751
+ body?: {
4752
+ [key: string]: unknown;
4753
+ } | undefined;
4754
+ onSend?: string | undefined;
4755
+ onSuccess?: string | undefined;
4756
+ onError?: string | undefined;
4757
+ };
4758
+ } & {} & {
4759
+ commandType?: "object" | "independent" | "help" | undefined;
4760
+ object?: string | undefined;
4761
+ hoverTooltip?: boolean | undefined;
4762
+ operation?: "self" | "router" | "blank" | undefined;
4763
+ }) | ({
4764
+ type: "appcues";
4765
+ value: string;
4766
+ } & {} & {
4767
+ commandType?: "object" | "independent" | "help" | undefined;
4768
+ object?: string | undefined;
4769
+ hoverTooltip?: boolean | undefined;
4770
+ operation?: "self" | "router" | "blank" | undefined;
4771
+ });
4772
+ } & {
4773
+ disabledReason?: string | undefined;
4774
+ source?: string | undefined;
4775
+ name?: string | undefined;
4776
+ last_available?: string | null | undefined;
4777
+ modified?: string | undefined;
4778
+ } & {
4779
+ arguments: {
4780
+ [x: string]: ({
4781
+ type: "context";
4782
+ value: string;
4783
+ order_key: number;
4784
+ } & {
4785
+ label?: string | undefined;
4786
+ chosen?: string | number | undefined;
4787
+ selected?: any[] | undefined;
4788
+ input_type?: string | undefined;
4789
+ preselected_key?: string | undefined;
4790
+ label_field?: string | undefined;
4791
+ availability_condition?: {
4792
+ field: string;
4793
+ operator: "==" | "!=" | "isTruthy" | "isFalsy";
4794
+ value: string | undefined;
4795
+ }[] | undefined;
4796
+ loaded?: any[] | undefined;
4797
+ allow_create?: boolean | undefined;
4798
+ allow_create_label?: string | undefined;
4799
+ show_in_record_action_list?: boolean | undefined;
4800
+ show_in_default_list?: boolean | undefined;
4801
+ }) | ({
4802
+ type: "set";
4803
+ value: string[] | number[] | {
4804
+ [key: string]: unknown;
4805
+ }[];
4806
+ order_key: number;
4807
+ } & {
4808
+ label?: string | undefined;
4809
+ chosen?: string | number | undefined;
4810
+ selected?: any[] | undefined;
4811
+ input_type?: string | undefined;
4812
+ preselected_key?: string | undefined;
4813
+ label_field?: string | undefined;
4814
+ availability_condition?: {
4815
+ field: string;
4816
+ operator: "==" | "!=" | "isTruthy" | "isFalsy";
4817
+ value: string | undefined;
4818
+ }[] | undefined;
4819
+ loaded?: any[] | undefined;
4820
+ allow_create?: boolean | undefined;
4821
+ allow_create_label?: string | undefined;
4822
+ }) | ({
4823
+ type: "provided";
4824
+ value: "time" | "text";
4825
+ order_key: number;
4826
+ } & {
4827
+ label?: string | undefined;
4828
+ chosen?: string | number | undefined;
4829
+ selected?: any[] | undefined;
4830
+ input_type?: string | undefined;
4831
+ preselected_key?: string | undefined;
4832
+ label_field?: string | undefined;
4833
+ availability_condition?: {
4834
+ field: string;
4835
+ operator: "==" | "!=" | "isTruthy" | "isFalsy";
4836
+ value: string | undefined;
4837
+ }[] | undefined;
4838
+ loaded?: any[] | undefined;
4839
+ dateTimeArgumentTypeId?: number | undefined;
4840
+ allow_create?: boolean | undefined;
4841
+ allow_create_label?: string | undefined;
4842
+ }) | ({
4843
+ type: "dependent";
4844
+ value: string;
4845
+ order_key: number;
4846
+ } & {
4847
+ label?: string | undefined;
4848
+ chosen?: string | number | undefined;
4849
+ selected?: any[] | undefined;
4850
+ input_type?: string | undefined;
4851
+ preselected_key?: string | undefined;
4852
+ label_field?: string | undefined;
4853
+ availability_condition?: {
4854
+ field: string;
4855
+ operator: "==" | "!=" | "isTruthy" | "isFalsy";
4856
+ value: string | undefined;
4857
+ }[] | undefined;
4858
+ loaded?: any[] | undefined;
4859
+ allow_create?: boolean | undefined;
4860
+ allow_create_label?: string | undefined;
4861
+ }) | ({
4862
+ type: "function";
4863
+ value: string;
4864
+ order_key: number;
4865
+ } & {
4866
+ label?: string | undefined;
4867
+ chosen?: string | number | undefined;
4868
+ selected?: any[] | undefined;
4869
+ input_type?: string | undefined;
4870
+ preselected_key?: string | undefined;
4871
+ label_field?: string | undefined;
4872
+ availability_condition?: {
4873
+ field: string;
4874
+ operator: "==" | "!=" | "isTruthy" | "isFalsy";
4875
+ value: string | undefined;
4876
+ }[] | undefined;
4877
+ loaded?: any[] | undefined;
4878
+ allow_create?: boolean | undefined;
4879
+ allow_create_label?: string | undefined;
4880
+ });
4881
+ };
4882
+ tags: string[];
4883
+ availability_rules: ({
4884
+ type: "url" | "context" | "element";
4885
+ operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
4886
+ } & {
4887
+ field?: string | undefined;
4888
+ value?: string | undefined;
4889
+ reason?: string | undefined;
4890
+ })[];
4891
+ recommend_rules: (({
4892
+ type: "always";
4893
+ } & {
4894
+ operator?: null | undefined;
4895
+ field?: null | undefined;
4896
+ value?: null | undefined;
4897
+ reason?: null | undefined;
4898
+ }) | ({
4899
+ type: "url" | "context" | "element";
4900
+ operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
4901
+ } & {
4902
+ field?: string | undefined;
4903
+ value?: string | undefined;
4904
+ reason?: string | undefined;
4905
+ }))[];
4906
+ confirm: string;
4907
+ shortcut: string[];
4908
+ explanation: string;
4909
+ is_live: boolean;
4910
+ category: number | null;
4911
+ sort_key: number | null;
4912
+ icon: string | null;
4913
+ celebrate: boolean | {
4914
+ angle?: number | undefined;
4915
+ spread?: number | undefined;
4916
+ width?: string | undefined;
4917
+ height?: string | undefined;
4918
+ duration?: number | undefined;
4919
+ dragFriction?: number | undefined;
4920
+ stagger?: number | undefined;
4921
+ startVelocity?: number | undefined;
4922
+ elementCount?: number | undefined;
4923
+ decay?: number | undefined;
4924
+ colors?: string[] | undefined;
4925
+ random?: any;
4926
+ } | null;
4927
+ recommend_sort_key: number | null;
4928
+ shortcut_mac: string[];
4929
+ shortcut_win: string[];
4930
+ hotkey_mac: string;
4931
+ hotkey_win: string;
4932
+ detail: string | {
4933
+ type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
4934
+ value: string;
4935
+ } | (string | {
4936
+ type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
4937
+ value: string;
4938
+ })[] | null;
4939
+ } & {
4940
+ third_party_source: string;
4941
+ third_party_id: string;
4942
+ })[]>;
4943
+ static updateWithoutThrottle: (object: {
4944
+ id: number;
4945
+ organization: string | number;
4946
+ text: string;
4947
+ template: ({
4948
+ type: "admin";
4949
+ value: string;
4950
+ } & {} & {
4951
+ commandType?: "object" | "independent" | "help" | undefined;
4952
+ object?: string | undefined;
4953
+ hoverTooltip?: boolean | undefined;
4954
+ operation?: "self" | "router" | "blank" | undefined;
4955
+ }) | ({
4956
+ type: "callback";
4957
+ value: string;
4958
+ } & {} & {
4959
+ commandType?: "object" | "independent" | "help" | undefined;
4960
+ object?: string | undefined;
4961
+ hoverTooltip?: boolean | undefined;
4962
+ operation?: "self" | "router" | "blank" | undefined;
4963
+ }) | ({
4964
+ type: "link";
4965
+ value: string;
4966
+ } & {} & {
4967
+ commandType?: "object" | "independent" | "help" | undefined;
4968
+ object?: string | undefined;
4969
+ hoverTooltip?: boolean | undefined;
4970
+ operation?: "self" | "router" | "blank" | undefined;
4971
+ }) | ({
4972
+ type: "click" | "clickByXpath" | "clickBySelector";
4973
+ value: string[];
4974
+ } & {} & {
4975
+ commandType?: "object" | "independent" | "help" | undefined;
4976
+ object?: string | undefined;
4977
+ hoverTooltip?: boolean | undefined;
4978
+ operation?: "self" | "router" | "blank" | undefined;
4979
+ }) | ({
4980
+ type: "builtin";
4981
+ value: string;
4982
+ } & {} & {
4983
+ commandType?: "object" | "independent" | "help" | undefined;
4984
+ object?: string | undefined;
4985
+ hoverTooltip?: boolean | undefined;
4986
+ operation?: "self" | "router" | "blank" | undefined;
4987
+ }) | ({
4988
+ type: "webhook";
4989
+ value: string;
4990
+ } & {} & {
4991
+ commandType?: "object" | "independent" | "help" | undefined;
4992
+ object?: string | undefined;
4993
+ hoverTooltip?: boolean | undefined;
4994
+ operation?: "self" | "router" | "blank" | undefined;
4995
+ }) | ({
4996
+ type: "script";
4997
+ value: string;
4998
+ } & {} & {
4999
+ commandType?: "object" | "independent" | "help" | undefined;
5000
+ object?: string | undefined;
5001
+ hoverTooltip?: boolean | undefined;
5002
+ operation?: "self" | "router" | "blank" | undefined;
5003
+ }) | ({
5004
+ type: "request";
5005
+ value: {
5006
+ method: "head" | "options" | "get" | "delete" | "post" | "put" | "patch";
5007
+ url: string;
5008
+ } & {
5009
+ headers?: {
5010
+ [key: string]: unknown;
5011
+ } | undefined;
5012
+ body?: {
5013
+ [key: string]: unknown;
5014
+ } | undefined;
5015
+ onSend?: string | undefined;
5016
+ onSuccess?: string | undefined;
5017
+ onError?: string | undefined;
5018
+ };
5019
+ } & {} & {
5020
+ commandType?: "object" | "independent" | "help" | undefined;
5021
+ object?: string | undefined;
5022
+ hoverTooltip?: boolean | undefined;
5023
+ operation?: "self" | "router" | "blank" | undefined;
5024
+ }) | ({
5025
+ type: "appcues";
5026
+ value: string;
5027
+ } & {} & {
5028
+ commandType?: "object" | "independent" | "help" | undefined;
5029
+ object?: string | undefined;
5030
+ hoverTooltip?: boolean | undefined;
5031
+ operation?: "self" | "router" | "blank" | undefined;
5032
+ });
5033
+ } & {
5034
+ disabledReason?: string | undefined;
5035
+ source?: string | undefined;
5036
+ name?: string | undefined;
5037
+ last_available?: string | null | undefined;
5038
+ modified?: string | undefined;
5039
+ } & {
5040
+ arguments: {
5041
+ [x: string]: ({
5042
+ type: "context";
5043
+ value: string;
5044
+ order_key: number;
5045
+ } & {
5046
+ label?: string | undefined;
5047
+ chosen?: string | number | undefined;
5048
+ selected?: any[] | undefined;
5049
+ input_type?: string | undefined;
5050
+ preselected_key?: string | undefined;
5051
+ label_field?: string | undefined;
5052
+ availability_condition?: {
5053
+ field: string;
5054
+ operator: "==" | "!=" | "isTruthy" | "isFalsy";
5055
+ value: string | undefined;
5056
+ }[] | undefined;
5057
+ loaded?: any[] | undefined;
5058
+ allow_create?: boolean | undefined;
5059
+ allow_create_label?: string | undefined;
5060
+ show_in_record_action_list?: boolean | undefined;
5061
+ show_in_default_list?: boolean | undefined;
5062
+ }) | ({
5063
+ type: "set";
5064
+ value: string[] | number[] | {
5065
+ [key: string]: unknown;
5066
+ }[];
5067
+ order_key: number;
5068
+ } & {
5069
+ label?: string | undefined;
5070
+ chosen?: string | number | undefined;
5071
+ selected?: any[] | undefined;
5072
+ input_type?: string | undefined;
5073
+ preselected_key?: string | undefined;
5074
+ label_field?: string | undefined;
5075
+ availability_condition?: {
5076
+ field: string;
5077
+ operator: "==" | "!=" | "isTruthy" | "isFalsy";
5078
+ value: string | undefined;
5079
+ }[] | undefined;
5080
+ loaded?: any[] | undefined;
5081
+ allow_create?: boolean | undefined;
5082
+ allow_create_label?: string | undefined;
5083
+ }) | ({
5084
+ type: "provided";
5085
+ value: "time" | "text";
5086
+ order_key: number;
5087
+ } & {
5088
+ label?: string | undefined;
5089
+ chosen?: string | number | undefined;
5090
+ selected?: any[] | undefined;
5091
+ input_type?: string | undefined;
5092
+ preselected_key?: string | undefined;
5093
+ label_field?: string | undefined;
5094
+ availability_condition?: {
5095
+ field: string;
5096
+ operator: "==" | "!=" | "isTruthy" | "isFalsy";
5097
+ value: string | undefined;
5098
+ }[] | undefined;
5099
+ loaded?: any[] | undefined;
5100
+ dateTimeArgumentTypeId?: number | undefined;
5101
+ allow_create?: boolean | undefined;
5102
+ allow_create_label?: string | undefined;
5103
+ }) | ({
5104
+ type: "dependent";
5105
+ value: string;
5106
+ order_key: number;
5107
+ } & {
5108
+ label?: string | undefined;
5109
+ chosen?: string | number | undefined;
5110
+ selected?: any[] | undefined;
5111
+ input_type?: string | undefined;
5112
+ preselected_key?: string | undefined;
5113
+ label_field?: string | undefined;
5114
+ availability_condition?: {
5115
+ field: string;
5116
+ operator: "==" | "!=" | "isTruthy" | "isFalsy";
5117
+ value: string | undefined;
5118
+ }[] | undefined;
5119
+ loaded?: any[] | undefined;
5120
+ allow_create?: boolean | undefined;
5121
+ allow_create_label?: string | undefined;
5122
+ }) | ({
5123
+ type: "function";
5124
+ value: string;
5125
+ order_key: number;
5126
+ } & {
5127
+ label?: string | undefined;
5128
+ chosen?: string | number | undefined;
5129
+ selected?: any[] | undefined;
5130
+ input_type?: string | undefined;
5131
+ preselected_key?: string | undefined;
5132
+ label_field?: string | undefined;
5133
+ availability_condition?: {
5134
+ field: string;
5135
+ operator: "==" | "!=" | "isTruthy" | "isFalsy";
5136
+ value: string | undefined;
5137
+ }[] | undefined;
5138
+ loaded?: any[] | undefined;
5139
+ allow_create?: boolean | undefined;
5140
+ allow_create_label?: string | undefined;
5141
+ });
5142
+ };
5143
+ tags: string[];
5144
+ availability_rules: ({
5145
+ type: "url" | "context" | "element";
5146
+ operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
5147
+ } & {
5148
+ field?: string | undefined;
5149
+ value?: string | undefined;
5150
+ reason?: string | undefined;
5151
+ })[];
5152
+ recommend_rules: (({
5153
+ type: "always";
5154
+ } & {
5155
+ operator?: null | undefined;
5156
+ field?: null | undefined;
5157
+ value?: null | undefined;
5158
+ reason?: null | undefined;
5159
+ }) | ({
5160
+ type: "url" | "context" | "element";
5161
+ operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
5162
+ } & {
5163
+ field?: string | undefined;
5164
+ value?: string | undefined;
5165
+ reason?: string | undefined;
5166
+ }))[];
5167
+ confirm: string;
5168
+ shortcut: string[];
5169
+ explanation: string;
5170
+ is_live: boolean;
5171
+ category: number | null;
5172
+ sort_key: number | null;
5173
+ icon: string | null;
5174
+ celebrate: boolean | {
5175
+ angle?: number | undefined;
5176
+ spread?: number | undefined;
5177
+ width?: string | undefined;
5178
+ height?: string | undefined;
5179
+ duration?: number | undefined;
5180
+ dragFriction?: number | undefined;
5181
+ stagger?: number | undefined;
5182
+ startVelocity?: number | undefined;
5183
+ elementCount?: number | undefined;
5184
+ decay?: number | undefined;
5185
+ colors?: string[] | undefined;
5186
+ random?: any;
5187
+ } | null;
5188
+ recommend_sort_key: number | null;
5189
+ shortcut_mac: string[];
5190
+ shortcut_win: string[];
5191
+ hotkey_mac: string;
5192
+ hotkey_win: string;
5193
+ detail: string | {
5194
+ type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
5195
+ value: string;
5196
+ } | (string | {
5197
+ type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
5198
+ value: string;
5199
+ })[] | null;
5200
+ } & {
5201
+ third_party_source: string;
5202
+ third_party_id: string;
5203
+ }, onSuccess?: (() => void) | undefined, onError?: ((err: string) => void) | undefined) => Promise<{
5204
+ id: number;
5205
+ organization: string | number;
5206
+ text: string;
5207
+ template: ({
5208
+ type: "admin";
5209
+ value: string;
5210
+ } & {} & {
5211
+ commandType?: "object" | "independent" | "help" | undefined;
5212
+ object?: string | undefined;
5213
+ hoverTooltip?: boolean | undefined;
5214
+ operation?: "self" | "router" | "blank" | undefined;
5215
+ }) | ({
5216
+ type: "callback";
5217
+ value: string;
5218
+ } & {} & {
5219
+ commandType?: "object" | "independent" | "help" | undefined;
5220
+ object?: string | undefined;
5221
+ hoverTooltip?: boolean | undefined;
5222
+ operation?: "self" | "router" | "blank" | undefined;
5223
+ }) | ({
5224
+ type: "link";
5225
+ value: string;
5226
+ } & {} & {
5227
+ commandType?: "object" | "independent" | "help" | undefined;
5228
+ object?: string | undefined;
5229
+ hoverTooltip?: boolean | undefined;
5230
+ operation?: "self" | "router" | "blank" | undefined;
5231
+ }) | ({
5232
+ type: "click" | "clickByXpath" | "clickBySelector";
5233
+ value: string[];
5234
+ } & {} & {
5235
+ commandType?: "object" | "independent" | "help" | undefined;
5236
+ object?: string | undefined;
5237
+ hoverTooltip?: boolean | undefined;
5238
+ operation?: "self" | "router" | "blank" | undefined;
5239
+ }) | ({
5240
+ type: "builtin";
5241
+ value: string;
5242
+ } & {} & {
5243
+ commandType?: "object" | "independent" | "help" | undefined;
5244
+ object?: string | undefined;
5245
+ hoverTooltip?: boolean | undefined;
5246
+ operation?: "self" | "router" | "blank" | undefined;
5247
+ }) | ({
5248
+ type: "webhook";
5249
+ value: string;
5250
+ } & {} & {
5251
+ commandType?: "object" | "independent" | "help" | undefined;
5252
+ object?: string | undefined;
5253
+ hoverTooltip?: boolean | undefined;
5254
+ operation?: "self" | "router" | "blank" | undefined;
5255
+ }) | ({
5256
+ type: "script";
5257
+ value: string;
5258
+ } & {} & {
5259
+ commandType?: "object" | "independent" | "help" | undefined;
5260
+ object?: string | undefined;
5261
+ hoverTooltip?: boolean | undefined;
5262
+ operation?: "self" | "router" | "blank" | undefined;
5263
+ }) | ({
5264
+ type: "request";
5265
+ value: {
5266
+ method: "head" | "options" | "get" | "delete" | "post" | "put" | "patch";
5267
+ url: string;
5268
+ } & {
5269
+ headers?: {
5270
+ [key: string]: unknown;
5271
+ } | undefined;
5272
+ body?: {
5273
+ [key: string]: unknown;
5274
+ } | undefined;
5275
+ onSend?: string | undefined;
5276
+ onSuccess?: string | undefined;
5277
+ onError?: string | undefined;
5278
+ };
5279
+ } & {} & {
5280
+ commandType?: "object" | "independent" | "help" | undefined;
5281
+ object?: string | undefined;
5282
+ hoverTooltip?: boolean | undefined;
5283
+ operation?: "self" | "router" | "blank" | undefined;
5284
+ }) | ({
5285
+ type: "appcues";
5286
+ value: string;
5287
+ } & {} & {
5288
+ commandType?: "object" | "independent" | "help" | undefined;
5289
+ object?: string | undefined;
5290
+ hoverTooltip?: boolean | undefined;
5291
+ operation?: "self" | "router" | "blank" | undefined;
5292
+ });
5293
+ } & {
5294
+ disabledReason?: string | undefined;
5295
+ source?: string | undefined;
5296
+ name?: string | undefined;
5297
+ last_available?: string | null | undefined;
5298
+ modified?: string | undefined;
5299
+ } & {
5300
+ arguments: {
5301
+ [x: string]: ({
5302
+ type: "context";
5303
+ value: string;
5304
+ order_key: number;
5305
+ } & {
5306
+ label?: string | undefined;
5307
+ chosen?: string | number | undefined;
5308
+ selected?: any[] | undefined;
5309
+ input_type?: string | undefined;
5310
+ preselected_key?: string | undefined;
5311
+ label_field?: string | undefined;
5312
+ availability_condition?: {
5313
+ field: string;
5314
+ operator: "==" | "!=" | "isTruthy" | "isFalsy";
5315
+ value: string | undefined;
5316
+ }[] | undefined;
5317
+ loaded?: any[] | undefined;
5318
+ allow_create?: boolean | undefined;
5319
+ allow_create_label?: string | undefined;
5320
+ show_in_record_action_list?: boolean | undefined;
5321
+ show_in_default_list?: boolean | undefined;
5322
+ }) | ({
5323
+ type: "set";
5324
+ value: string[] | number[] | {
5325
+ [key: string]: unknown;
5326
+ }[];
5327
+ order_key: number;
5328
+ } & {
5329
+ label?: string | undefined;
5330
+ chosen?: string | number | undefined;
5331
+ selected?: any[] | undefined;
5332
+ input_type?: string | undefined;
5333
+ preselected_key?: string | undefined;
5334
+ label_field?: string | undefined;
5335
+ availability_condition?: {
5336
+ field: string;
5337
+ operator: "==" | "!=" | "isTruthy" | "isFalsy";
5338
+ value: string | undefined;
5339
+ }[] | undefined;
5340
+ loaded?: any[] | undefined;
5341
+ allow_create?: boolean | undefined;
5342
+ allow_create_label?: string | undefined;
5343
+ }) | ({
5344
+ type: "provided";
5345
+ value: "time" | "text";
5346
+ order_key: number;
5347
+ } & {
5348
+ label?: string | undefined;
5349
+ chosen?: string | number | undefined;
5350
+ selected?: any[] | undefined;
5351
+ input_type?: string | undefined;
5352
+ preselected_key?: string | undefined;
5353
+ label_field?: string | undefined;
5354
+ availability_condition?: {
5355
+ field: string;
5356
+ operator: "==" | "!=" | "isTruthy" | "isFalsy";
5357
+ value: string | undefined;
5358
+ }[] | undefined;
5359
+ loaded?: any[] | undefined;
5360
+ dateTimeArgumentTypeId?: number | undefined;
5361
+ allow_create?: boolean | undefined;
5362
+ allow_create_label?: string | undefined;
5363
+ }) | ({
5364
+ type: "dependent";
5365
+ value: string;
5366
+ order_key: number;
5367
+ } & {
5368
+ label?: string | undefined;
5369
+ chosen?: string | number | undefined;
5370
+ selected?: any[] | undefined;
5371
+ input_type?: string | undefined;
5372
+ preselected_key?: string | undefined;
5373
+ label_field?: string | undefined;
5374
+ availability_condition?: {
5375
+ field: string;
5376
+ operator: "==" | "!=" | "isTruthy" | "isFalsy";
5377
+ value: string | undefined;
5378
+ }[] | undefined;
5379
+ loaded?: any[] | undefined;
5380
+ allow_create?: boolean | undefined;
5381
+ allow_create_label?: string | undefined;
5382
+ }) | ({
5383
+ type: "function";
5384
+ value: string;
5385
+ order_key: number;
5386
+ } & {
5387
+ label?: string | undefined;
5388
+ chosen?: string | number | undefined;
5389
+ selected?: any[] | undefined;
5390
+ input_type?: string | undefined;
5391
+ preselected_key?: string | undefined;
5392
+ label_field?: string | undefined;
5393
+ availability_condition?: {
5394
+ field: string;
5395
+ operator: "==" | "!=" | "isTruthy" | "isFalsy";
5396
+ value: string | undefined;
5397
+ }[] | undefined;
5398
+ loaded?: any[] | undefined;
5399
+ allow_create?: boolean | undefined;
5400
+ allow_create_label?: string | undefined;
5401
+ });
5402
+ };
5403
+ tags: string[];
5404
+ availability_rules: ({
5405
+ type: "url" | "context" | "element";
5406
+ operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
5407
+ } & {
5408
+ field?: string | undefined;
5409
+ value?: string | undefined;
5410
+ reason?: string | undefined;
5411
+ })[];
5412
+ recommend_rules: (({
5413
+ type: "always";
5414
+ } & {
5415
+ operator?: null | undefined;
5416
+ field?: null | undefined;
5417
+ value?: null | undefined;
5418
+ reason?: null | undefined;
5419
+ }) | ({
5420
+ type: "url" | "context" | "element";
5421
+ operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
5422
+ } & {
5423
+ field?: string | undefined;
5424
+ value?: string | undefined;
5425
+ reason?: string | undefined;
5426
+ }))[];
5427
+ confirm: string;
5428
+ shortcut: string[];
5429
+ explanation: string;
5430
+ is_live: boolean;
5431
+ category: number | null;
5432
+ sort_key: number | null;
5433
+ icon: string | null;
5434
+ celebrate: boolean | {
5435
+ angle?: number | undefined;
5436
+ spread?: number | undefined;
5437
+ width?: string | undefined;
5438
+ height?: string | undefined;
5439
+ duration?: number | undefined;
5440
+ dragFriction?: number | undefined;
5441
+ stagger?: number | undefined;
5442
+ startVelocity?: number | undefined;
5443
+ elementCount?: number | undefined;
5444
+ decay?: number | undefined;
5445
+ colors?: string[] | undefined;
5446
+ random?: any;
5447
+ } | null;
5448
+ recommend_sort_key: number | null;
5449
+ shortcut_mac: string[];
5450
+ shortcut_win: string[];
5451
+ hotkey_mac: string;
5452
+ hotkey_win: string;
5453
+ detail: string | {
5454
+ type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
5455
+ value: string;
5456
+ } | (string | {
5457
+ type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
5458
+ value: string;
5459
+ })[] | null;
5460
+ } & {
5461
+ third_party_source: string;
5462
+ third_party_id: string;
5463
+ }>;
3608
5464
  }