commandbar 1.6.9 → 1.6.10
Sign up to get free protection for your applications and to get access to all the features.
- package/build/internal/src/client/CommandBarClientSDK.d.ts +1 -1
- package/build/internal/src/client/EventHandler.d.ts +12 -2
- package/build/internal/src/middleware/CommandFromClientV.d.ts +2 -2
- package/build/internal/src/middleware/OrganizationV.d.ts +8 -0
- package/build/internal/src/middleware/ResourceSettingsV.d.ts +2 -0
- package/build/internal/src/middleware/command.d.ts +1484 -120
- package/build/internal/src/middleware/commandCategory.d.ts +43 -0
- package/build/internal/src/middleware/detailPreview.d.ts +6 -2
- package/build/internal/src/middleware/generics.d.ts +4 -0
- package/build/internal/src/middleware/helpDocsIntegration.d.ts +66 -0
- package/build/internal/src/middleware/helpDocsSync.d.ts +42 -0
- package/build/internal/src/middleware/organization.d.ts +33 -8
- package/build/internal/src/middleware/types.d.ts +16 -10
- package/package.json +1 -1
@@ -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]>;
|
@@ -93,13 +99,6 @@ export declare const CommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
93
99
|
name: t.StringC;
|
94
100
|
last_available: t.UnionC<[t.StringC, t.NullC]>;
|
95
101
|
modified: t.StringC;
|
96
|
-
detail: t.UnionC<[t.StringC, t.TypeC<{
|
97
|
-
type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"reader">, t.LiteralC<"react">]>;
|
98
|
-
value: t.StringC;
|
99
|
-
}>, t.ArrayC<t.TypeC<{
|
100
|
-
type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"reader">, t.LiteralC<"react">]>;
|
101
|
-
value: t.StringC;
|
102
|
-
}>>]>;
|
103
102
|
}>]>, t.TypeC<{
|
104
103
|
arguments: t.RecordC<t.StringC, t.UnionC<[t.IntersectionC<[t.TypeC<{
|
105
104
|
type: t.LiteralC<"context">;
|
@@ -286,6 +285,13 @@ export declare const CommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
286
285
|
shortcut_win: t.ArrayC<t.StringC>;
|
287
286
|
hotkey_mac: t.StringC;
|
288
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
|
+
}>]>>]>;
|
289
295
|
}>]>;
|
290
296
|
export declare const EditorCommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
291
297
|
id: t.NumberC;
|
@@ -379,13 +385,6 @@ export declare const EditorCommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
379
385
|
name: t.StringC;
|
380
386
|
last_available: t.UnionC<[t.StringC, t.NullC]>;
|
381
387
|
modified: t.StringC;
|
382
|
-
detail: t.UnionC<[t.StringC, t.TypeC<{
|
383
|
-
type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"reader">, t.LiteralC<"react">]>;
|
384
|
-
value: t.StringC;
|
385
|
-
}>, t.ArrayC<t.TypeC<{
|
386
|
-
type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"reader">, t.LiteralC<"react">]>;
|
387
|
-
value: t.StringC;
|
388
|
-
}>>]>;
|
389
388
|
}>]>, t.TypeC<{
|
390
389
|
arguments: t.RecordC<t.StringC, t.UnionC<[t.IntersectionC<[t.TypeC<{
|
391
390
|
type: t.LiteralC<"context">;
|
@@ -639,6 +638,13 @@ export declare const EditorCommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
639
638
|
shortcut_win: t.ArrayC<t.StringC>;
|
640
639
|
hotkey_mac: t.StringC;
|
641
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
|
+
}>]>>]>;
|
642
648
|
}>]>;
|
643
649
|
export declare const BatchOperationV: t.UnionC<[t.TypeC<{
|
644
650
|
op: t.LiteralC<"update">;
|
@@ -651,10 +657,6 @@ export declare const BatchOperationV: t.UnionC<[t.TypeC<{
|
|
651
657
|
op: t.LiteralC<"delete">;
|
652
658
|
id: t.NumberC;
|
653
659
|
}>]>;
|
654
|
-
export declare const BatchEditorCommandRequestV: t.TypeC<{
|
655
|
-
batch: t.ArrayC<t.UnknownC>;
|
656
|
-
note: t.StringC;
|
657
|
-
}>;
|
658
660
|
export declare const BatchEditorCommandResponseV: t.TypeC<{
|
659
661
|
batch: t.ArrayC<t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
660
662
|
id: t.NumberC;
|
@@ -748,13 +750,6 @@ export declare const BatchEditorCommandResponseV: t.TypeC<{
|
|
748
750
|
name: t.StringC;
|
749
751
|
last_available: t.UnionC<[t.StringC, t.NullC]>;
|
750
752
|
modified: t.StringC;
|
751
|
-
detail: t.UnionC<[t.StringC, t.TypeC<{
|
752
|
-
type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"reader">, t.LiteralC<"react">]>;
|
753
|
-
value: t.StringC;
|
754
|
-
}>, t.ArrayC<t.TypeC<{
|
755
|
-
type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"reader">, t.LiteralC<"react">]>;
|
756
|
-
value: t.StringC;
|
757
|
-
}>>]>;
|
758
753
|
}>]>, t.TypeC<{
|
759
754
|
arguments: t.RecordC<t.StringC, t.UnionC<[t.IntersectionC<[t.TypeC<{
|
760
755
|
type: t.LiteralC<"context">;
|
@@ -1008,6 +1003,13 @@ export declare const BatchEditorCommandResponseV: t.TypeC<{
|
|
1008
1003
|
shortcut_win: t.ArrayC<t.StringC>;
|
1009
1004
|
hotkey_mac: t.StringC;
|
1010
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
|
+
}>]>>]>;
|
1011
1013
|
}>]>>;
|
1012
1014
|
}>;
|
1013
1015
|
export declare class Command {
|
@@ -1040,7 +1042,7 @@ export declare class Command {
|
|
1040
1042
|
hoverTooltip?: boolean | undefined;
|
1041
1043
|
operation?: "self" | "router" | "blank" | undefined;
|
1042
1044
|
}) | ({
|
1043
|
-
type: "click" | "
|
1045
|
+
type: "click" | "clickByXpath" | "clickBySelector";
|
1044
1046
|
value: string[];
|
1045
1047
|
} & {} & {
|
1046
1048
|
commandType?: "object" | "independent" | "help" | undefined;
|
@@ -1107,13 +1109,6 @@ export declare class Command {
|
|
1107
1109
|
name?: string | undefined;
|
1108
1110
|
last_available?: string | null | undefined;
|
1109
1111
|
modified?: string | undefined;
|
1110
|
-
detail?: string | {
|
1111
|
-
type: "html" | "plaintext" | "markdown" | "reader" | "react";
|
1112
|
-
value: string;
|
1113
|
-
} | {
|
1114
|
-
type: "html" | "plaintext" | "markdown" | "reader" | "react";
|
1115
|
-
value: string;
|
1116
|
-
}[] | undefined;
|
1117
1112
|
} & {
|
1118
1113
|
arguments: {
|
1119
1114
|
[x: string]: ({
|
@@ -1299,6 +1294,13 @@ export declare class Command {
|
|
1299
1294
|
shortcut_win: string[];
|
1300
1295
|
hotkey_mac: string;
|
1301
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;
|
1302
1304
|
}, onSuccess?: (() => void) | undefined, onError?: ((err: string) => void) | undefined) => Promise<{
|
1303
1305
|
id: number;
|
1304
1306
|
organization: string | number;
|
@@ -1328,7 +1330,7 @@ export declare class Command {
|
|
1328
1330
|
hoverTooltip?: boolean | undefined;
|
1329
1331
|
operation?: "self" | "router" | "blank" | undefined;
|
1330
1332
|
}) | ({
|
1331
|
-
type: "click" | "
|
1333
|
+
type: "click" | "clickByXpath" | "clickBySelector";
|
1332
1334
|
value: string[];
|
1333
1335
|
} & {} & {
|
1334
1336
|
commandType?: "object" | "independent" | "help" | undefined;
|
@@ -1395,13 +1397,6 @@ export declare class Command {
|
|
1395
1397
|
name?: string | undefined;
|
1396
1398
|
last_available?: string | null | undefined;
|
1397
1399
|
modified?: string | undefined;
|
1398
|
-
detail?: string | {
|
1399
|
-
type: "html" | "plaintext" | "markdown" | "reader" | "react";
|
1400
|
-
value: string;
|
1401
|
-
} | {
|
1402
|
-
type: "html" | "plaintext" | "markdown" | "reader" | "react";
|
1403
|
-
value: string;
|
1404
|
-
}[] | undefined;
|
1405
1400
|
} & {
|
1406
1401
|
arguments: {
|
1407
1402
|
[x: string]: ({
|
@@ -1587,6 +1582,13 @@ export declare class Command {
|
|
1587
1582
|
shortcut_win: string[];
|
1588
1583
|
hotkey_mac: string;
|
1589
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;
|
1590
1592
|
}>;
|
1591
1593
|
static update: (object: {
|
1592
1594
|
id: number;
|
@@ -1617,7 +1619,7 @@ export declare class Command {
|
|
1617
1619
|
hoverTooltip?: boolean | undefined;
|
1618
1620
|
operation?: "self" | "router" | "blank" | undefined;
|
1619
1621
|
}) | ({
|
1620
|
-
type: "click" | "
|
1622
|
+
type: "click" | "clickByXpath" | "clickBySelector";
|
1621
1623
|
value: string[];
|
1622
1624
|
} & {} & {
|
1623
1625
|
commandType?: "object" | "independent" | "help" | undefined;
|
@@ -1684,13 +1686,6 @@ export declare class Command {
|
|
1684
1686
|
name?: string | undefined;
|
1685
1687
|
last_available?: string | null | undefined;
|
1686
1688
|
modified?: string | undefined;
|
1687
|
-
detail?: string | {
|
1688
|
-
type: "html" | "plaintext" | "markdown" | "reader" | "react";
|
1689
|
-
value: string;
|
1690
|
-
} | {
|
1691
|
-
type: "html" | "plaintext" | "markdown" | "reader" | "react";
|
1692
|
-
value: string;
|
1693
|
-
}[] | undefined;
|
1694
1689
|
} & {
|
1695
1690
|
arguments: {
|
1696
1691
|
[x: string]: ({
|
@@ -1876,6 +1871,13 @@ export declare class Command {
|
|
1876
1871
|
shortcut_win: string[];
|
1877
1872
|
hotkey_mac: string;
|
1878
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;
|
1879
1881
|
}, onSuccess?: (() => void) | undefined, onError?: ((err: string) => void) | undefined) => Promise<{
|
1880
1882
|
id: number;
|
1881
1883
|
organization: string | number;
|
@@ -1905,7 +1907,7 @@ export declare class Command {
|
|
1905
1907
|
hoverTooltip?: boolean | undefined;
|
1906
1908
|
operation?: "self" | "router" | "blank" | undefined;
|
1907
1909
|
}) | ({
|
1908
|
-
type: "click" | "
|
1910
|
+
type: "click" | "clickByXpath" | "clickBySelector";
|
1909
1911
|
value: string[];
|
1910
1912
|
} & {} & {
|
1911
1913
|
commandType?: "object" | "independent" | "help" | undefined;
|
@@ -1972,13 +1974,6 @@ export declare class Command {
|
|
1972
1974
|
name?: string | undefined;
|
1973
1975
|
last_available?: string | null | undefined;
|
1974
1976
|
modified?: string | undefined;
|
1975
|
-
detail?: string | {
|
1976
|
-
type: "html" | "plaintext" | "markdown" | "reader" | "react";
|
1977
|
-
value: string;
|
1978
|
-
} | {
|
1979
|
-
type: "html" | "plaintext" | "markdown" | "reader" | "react";
|
1980
|
-
value: string;
|
1981
|
-
}[] | undefined;
|
1982
1977
|
} & {
|
1983
1978
|
arguments: {
|
1984
1979
|
[x: string]: ({
|
@@ -2164,9 +2159,16 @@ export declare class Command {
|
|
2164
2159
|
shortcut_win: string[];
|
2165
2160
|
hotkey_mac: string;
|
2166
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;
|
2167
2169
|
}>;
|
2168
2170
|
static delete: (id: string | number, onSuccess?: (() => void) | undefined, onError?: ((err: string) => void) | undefined) => Promise<void>;
|
2169
|
-
static batch: (request: t.TypeOf<typeof
|
2171
|
+
static batch: (request: t.TypeOf<typeof GenericBatchRequest>) => Promise<{
|
2170
2172
|
batch: ({
|
2171
2173
|
id: number;
|
2172
2174
|
organization: string | number;
|
@@ -2196,7 +2198,7 @@ export declare class Command {
|
|
2196
2198
|
hoverTooltip?: boolean | undefined;
|
2197
2199
|
operation?: "self" | "router" | "blank" | undefined;
|
2198
2200
|
}) | ({
|
2199
|
-
type: "click" | "
|
2201
|
+
type: "click" | "clickByXpath" | "clickBySelector";
|
2200
2202
|
value: string[];
|
2201
2203
|
} & {} & {
|
2202
2204
|
commandType?: "object" | "independent" | "help" | undefined;
|
@@ -2263,13 +2265,6 @@ export declare class Command {
|
|
2263
2265
|
name?: string | undefined;
|
2264
2266
|
last_available?: string | null | undefined;
|
2265
2267
|
modified?: string | undefined;
|
2266
|
-
detail?: string | {
|
2267
|
-
type: "html" | "plaintext" | "markdown" | "reader" | "react";
|
2268
|
-
value: string;
|
2269
|
-
} | {
|
2270
|
-
type: "html" | "plaintext" | "markdown" | "reader" | "react";
|
2271
|
-
value: string;
|
2272
|
-
}[] | undefined;
|
2273
2268
|
} & {
|
2274
2269
|
arguments: {
|
2275
2270
|
[x: string]: ({
|
@@ -2455,6 +2450,13 @@ export declare class Command {
|
|
2455
2450
|
shortcut_win: string[];
|
2456
2451
|
hotkey_mac: string;
|
2457
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;
|
2458
2460
|
})[];
|
2459
2461
|
}>;
|
2460
2462
|
static validateFromClient: (data: any) => Promise<{
|
@@ -2476,7 +2478,7 @@ export declare class Command {
|
|
2476
2478
|
hoverTooltip?: boolean | undefined;
|
2477
2479
|
operation?: "self" | "router" | "blank" | undefined;
|
2478
2480
|
}) | ({
|
2479
|
-
type: "click" | "
|
2481
|
+
type: "click" | "clickByXpath" | "clickBySelector";
|
2480
2482
|
value: string[];
|
2481
2483
|
} & {} & {
|
2482
2484
|
commandType?: "object" | "independent" | "help" | undefined;
|
@@ -2673,10 +2675,10 @@ export declare class Command {
|
|
2673
2675
|
reason?: string | undefined;
|
2674
2676
|
}))[] | undefined;
|
2675
2677
|
detail?: string | {
|
2676
|
-
type: "html" | "
|
2678
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
|
2677
2679
|
value: string;
|
2678
2680
|
} | {
|
2679
|
-
type: "html" | "
|
2681
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
|
2680
2682
|
value: string;
|
2681
2683
|
}[] | undefined;
|
2682
2684
|
}>;
|
@@ -2709,7 +2711,7 @@ export declare class Command {
|
|
2709
2711
|
hoverTooltip?: boolean | undefined;
|
2710
2712
|
operation?: "self" | "router" | "blank" | undefined;
|
2711
2713
|
}) | ({
|
2712
|
-
type: "click" | "
|
2714
|
+
type: "click" | "clickByXpath" | "clickBySelector";
|
2713
2715
|
value: string[];
|
2714
2716
|
} & {} & {
|
2715
2717
|
commandType?: "object" | "independent" | "help" | undefined;
|
@@ -2776,13 +2778,6 @@ export declare class Command {
|
|
2776
2778
|
name?: string | undefined;
|
2777
2779
|
last_available?: string | null | undefined;
|
2778
2780
|
modified?: string | undefined;
|
2779
|
-
detail?: string | {
|
2780
|
-
type: "html" | "plaintext" | "markdown" | "reader" | "react";
|
2781
|
-
value: string;
|
2782
|
-
} | {
|
2783
|
-
type: "html" | "plaintext" | "markdown" | "reader" | "react";
|
2784
|
-
value: string;
|
2785
|
-
}[] | undefined;
|
2786
2781
|
} & {
|
2787
2782
|
arguments: {
|
2788
2783
|
[x: string]: ({
|
@@ -2937,8 +2932,15 @@ export declare class Command {
|
|
2937
2932
|
shortcut_win: string[];
|
2938
2933
|
hotkey_mac: string;
|
2939
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;
|
2940
2942
|
};
|
2941
|
-
static
|
2943
|
+
static decodeEditorCommand: (data: any) => {
|
2942
2944
|
id: number;
|
2943
2945
|
organization: string | number;
|
2944
2946
|
text: string;
|
@@ -2967,7 +2969,7 @@ export declare class Command {
|
|
2967
2969
|
hoverTooltip?: boolean | undefined;
|
2968
2970
|
operation?: "self" | "router" | "blank" | undefined;
|
2969
2971
|
}) | ({
|
2970
|
-
type: "click" | "
|
2972
|
+
type: "click" | "clickByXpath" | "clickBySelector";
|
2971
2973
|
value: string[];
|
2972
2974
|
} & {} & {
|
2973
2975
|
commandType?: "object" | "independent" | "help" | undefined;
|
@@ -3034,13 +3036,6 @@ export declare class Command {
|
|
3034
3036
|
name?: string | undefined;
|
3035
3037
|
last_available?: string | null | undefined;
|
3036
3038
|
modified?: string | undefined;
|
3037
|
-
detail?: string | {
|
3038
|
-
type: "html" | "plaintext" | "markdown" | "reader" | "react";
|
3039
|
-
value: string;
|
3040
|
-
} | {
|
3041
|
-
type: "html" | "plaintext" | "markdown" | "reader" | "react";
|
3042
|
-
value: string;
|
3043
|
-
}[] | undefined;
|
3044
3039
|
} & {
|
3045
3040
|
arguments: {
|
3046
3041
|
[x: string]: ({
|
@@ -3226,7 +3221,15 @@ export declare class Command {
|
|
3226
3221
|
shortcut_win: string[];
|
3227
3222
|
hotkey_mac: string;
|
3228
3223
|
hotkey_win: string;
|
3229
|
-
|
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: {
|
3230
3233
|
id: number;
|
3231
3234
|
organization: string | number;
|
3232
3235
|
text: string;
|
@@ -3255,7 +3258,7 @@ export declare class Command {
|
|
3255
3258
|
hoverTooltip?: boolean | undefined;
|
3256
3259
|
operation?: "self" | "router" | "blank" | undefined;
|
3257
3260
|
}) | ({
|
3258
|
-
type: "click" | "
|
3261
|
+
type: "click" | "clickByXpath" | "clickBySelector";
|
3259
3262
|
value: string[];
|
3260
3263
|
} & {} & {
|
3261
3264
|
commandType?: "object" | "independent" | "help" | undefined;
|
@@ -3322,13 +3325,6 @@ export declare class Command {
|
|
3322
3325
|
name?: string | undefined;
|
3323
3326
|
last_available?: string | null | undefined;
|
3324
3327
|
modified?: string | undefined;
|
3325
|
-
detail?: string | {
|
3326
|
-
type: "html" | "plaintext" | "markdown" | "reader" | "react";
|
3327
|
-
value: string;
|
3328
|
-
} | {
|
3329
|
-
type: "html" | "plaintext" | "markdown" | "reader" | "react";
|
3330
|
-
value: string;
|
3331
|
-
}[] | undefined;
|
3332
3328
|
} & {
|
3333
3329
|
arguments: {
|
3334
3330
|
[x: string]: ({
|
@@ -3514,8 +3510,14 @@ export declare class Command {
|
|
3514
3510
|
shortcut_win: string[];
|
3515
3511
|
hotkey_mac: string;
|
3516
3512
|
hotkey_win: string;
|
3517
|
-
|
3518
|
-
|
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<{
|
3519
3521
|
id: number;
|
3520
3522
|
organization: string | number;
|
3521
3523
|
text: string;
|
@@ -3544,7 +3546,7 @@ export declare class Command {
|
|
3544
3546
|
hoverTooltip?: boolean | undefined;
|
3545
3547
|
operation?: "self" | "router" | "blank" | undefined;
|
3546
3548
|
}) | ({
|
3547
|
-
type: "click" | "
|
3549
|
+
type: "click" | "clickByXpath" | "clickBySelector";
|
3548
3550
|
value: string[];
|
3549
3551
|
} & {} & {
|
3550
3552
|
commandType?: "object" | "independent" | "help" | undefined;
|
@@ -3611,13 +3613,6 @@ export declare class Command {
|
|
3611
3613
|
name?: string | undefined;
|
3612
3614
|
last_available?: string | null | undefined;
|
3613
3615
|
modified?: string | undefined;
|
3614
|
-
detail?: string | {
|
3615
|
-
type: "html" | "plaintext" | "markdown" | "reader" | "react";
|
3616
|
-
value: string;
|
3617
|
-
} | {
|
3618
|
-
type: "html" | "plaintext" | "markdown" | "reader" | "react";
|
3619
|
-
value: string;
|
3620
|
-
}[] | undefined;
|
3621
3616
|
} & {
|
3622
3617
|
arguments: {
|
3623
3618
|
[x: string]: ({
|
@@ -3803,7 +3798,15 @@ export declare class Command {
|
|
3803
3798
|
shortcut_win: string[];
|
3804
3799
|
hotkey_mac: string;
|
3805
3800
|
hotkey_win: string;
|
3806
|
-
|
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: {
|
3807
3810
|
id: number;
|
3808
3811
|
organization: string | number;
|
3809
3812
|
text: string;
|
@@ -3832,7 +3835,7 @@ export declare class Command {
|
|
3832
3835
|
hoverTooltip?: boolean | undefined;
|
3833
3836
|
operation?: "self" | "router" | "blank" | undefined;
|
3834
3837
|
}) | ({
|
3835
|
-
type: "click" | "
|
3838
|
+
type: "click" | "clickByXpath" | "clickBySelector";
|
3836
3839
|
value: string[];
|
3837
3840
|
} & {} & {
|
3838
3841
|
commandType?: "object" | "independent" | "help" | undefined;
|
@@ -3899,13 +3902,6 @@ export declare class Command {
|
|
3899
3902
|
name?: string | undefined;
|
3900
3903
|
last_available?: string | null | undefined;
|
3901
3904
|
modified?: string | undefined;
|
3902
|
-
detail?: string | {
|
3903
|
-
type: "html" | "plaintext" | "markdown" | "reader" | "react";
|
3904
|
-
value: string;
|
3905
|
-
} | {
|
3906
|
-
type: "html" | "plaintext" | "markdown" | "reader" | "react";
|
3907
|
-
value: string;
|
3908
|
-
}[] | undefined;
|
3909
3905
|
} & {
|
3910
3906
|
arguments: {
|
3911
3907
|
[x: string]: ({
|
@@ -4091,10 +4087,1378 @@ export declare class Command {
|
|
4091
4087
|
shortcut_win: string[];
|
4092
4088
|
hotkey_mac: string;
|
4093
4089
|
hotkey_win: string;
|
4094
|
-
|
4095
|
-
|
4096
|
-
|
4097
|
-
|
4098
|
-
|
4099
|
-
|
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
|
+
}>;
|
4100
5464
|
}
|