commandbar 1.6.11 → 1.6.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/commandbar-js/src/index.js +1 -1
- package/build/internal/src/client/AddContextOptions.d.ts +5 -0
- package/build/internal/src/client/CommandBarClientSDK.d.ts +55 -5
- package/build/internal/src/client/CommandBarProxySDK.d.ts +4 -4
- package/build/internal/src/client/CommandBarSDK.d.ts +4 -7
- package/build/internal/src/client/EventHandler.d.ts +3 -3
- package/build/internal/src/client/OrgConfig.d.ts +5 -0
- package/build/internal/src/client/SentryReporter.d.ts +24 -3
- package/build/internal/src/client/symbols.d.ts +1 -0
- package/build/internal/src/middleware/CommandFromClientV.d.ts +47 -3
- package/build/internal/src/middleware/OrganizationV.d.ts +16 -0
- package/build/internal/src/middleware/ResourceSettingsV.d.ts +4 -0
- package/build/internal/src/middleware/command.d.ts +1632 -213
- package/build/internal/src/middleware/commandCategory.d.ts +16 -0
- package/build/internal/src/middleware/detailPreview.d.ts +4 -2
- package/build/internal/src/middleware/generics.d.ts +10 -10
- package/build/internal/src/middleware/helpers/argument.d.ts +156 -0
- package/build/internal/src/middleware/helpers/commandTemplate.d.ts +34 -0
- package/build/internal/src/middleware/helpers/rules.d.ts +29 -26
- package/build/internal/src/middleware/nudge.d.ts +189 -0
- package/build/internal/src/middleware/organization.d.ts +164 -13
- package/build/internal/src/middleware/releases.d.ts +1 -1
- package/build/internal/src/middleware/types.d.ts +90 -10
- package/build/internal/src/middleware/user.d.ts +3 -1
- package/package.json +2 -4
- package/src/init.ts +6 -2
@@ -1,10 +1,119 @@
|
|
1
|
-
|
1
|
+
/********************************************************************************/
|
2
2
|
import * as t from 'io-ts';
|
3
3
|
import { GenericBatchRequest } from './generics';
|
4
4
|
export { CommandFromClientV } from './CommandFromClientV';
|
5
|
-
declare const
|
6
|
-
|
7
|
-
|
5
|
+
declare const CommandBaseV: t.IntersectionC<[t.TypeC<{
|
6
|
+
id: t.NumberC;
|
7
|
+
organization: t.UnionC<[t.NumberC, t.StringC]>;
|
8
|
+
text: t.StringC;
|
9
|
+
template: t.UnionC<[t.IntersectionC<[t.TypeC<{
|
10
|
+
type: t.LiteralC<"admin">;
|
11
|
+
value: t.StringC;
|
12
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
13
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
14
|
+
object: t.StringC;
|
15
|
+
hoverTooltip: t.BooleanC;
|
16
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
17
|
+
}>]>]>, t.IntersectionC<[t.TypeC<{
|
18
|
+
type: t.LiteralC<"callback">;
|
19
|
+
value: t.StringC;
|
20
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
21
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
22
|
+
object: t.StringC;
|
23
|
+
hoverTooltip: t.BooleanC;
|
24
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
25
|
+
}>]>]>, t.IntersectionC<[t.TypeC<{
|
26
|
+
type: t.LiteralC<"link">;
|
27
|
+
value: t.StringC;
|
28
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
29
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
30
|
+
object: t.StringC;
|
31
|
+
hoverTooltip: t.BooleanC;
|
32
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
33
|
+
}>]>]>, t.IntersectionC<[t.TypeC<{
|
34
|
+
type: t.UnionC<[t.LiteralC<"click">, t.LiteralC<"clickBySelector">, t.LiteralC<"clickByXpath">]>;
|
35
|
+
value: t.ArrayC<t.StringC>;
|
36
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
37
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
38
|
+
object: t.StringC;
|
39
|
+
hoverTooltip: t.BooleanC;
|
40
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
41
|
+
}>]>]>, t.IntersectionC<[t.TypeC<{
|
42
|
+
type: t.LiteralC<"builtin">;
|
43
|
+
value: t.StringC;
|
44
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
45
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
46
|
+
object: t.StringC;
|
47
|
+
hoverTooltip: t.BooleanC;
|
48
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
49
|
+
}>]>]>, t.IntersectionC<[t.TypeC<{
|
50
|
+
type: t.LiteralC<"webhook">;
|
51
|
+
value: t.StringC;
|
52
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
53
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
54
|
+
object: t.StringC;
|
55
|
+
hoverTooltip: t.BooleanC;
|
56
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
57
|
+
}>]>]>, t.IntersectionC<[t.TypeC<{
|
58
|
+
type: t.LiteralC<"script">;
|
59
|
+
value: t.StringC;
|
60
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
61
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
62
|
+
object: t.StringC;
|
63
|
+
hoverTooltip: t.BooleanC;
|
64
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
65
|
+
}>]>]>, t.IntersectionC<[t.TypeC<{
|
66
|
+
type: t.LiteralC<"request">;
|
67
|
+
value: t.IntersectionC<[t.TypeC<{
|
68
|
+
method: t.UnionC<[t.LiteralC<"get">, t.LiteralC<"delete">, t.LiteralC<"head">, t.LiteralC<"options">, t.LiteralC<"post">, t.LiteralC<"put">, t.LiteralC<"patch">]>;
|
69
|
+
url: t.StringC;
|
70
|
+
}>, t.PartialC<{
|
71
|
+
headers: t.UnknownRecordC;
|
72
|
+
body: t.UnknownRecordC;
|
73
|
+
onSend: t.StringC;
|
74
|
+
onSuccess: t.StringC;
|
75
|
+
onError: t.StringC;
|
76
|
+
}>]>;
|
77
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
78
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
79
|
+
object: t.StringC;
|
80
|
+
hoverTooltip: t.BooleanC;
|
81
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
82
|
+
}>]>]>, t.IntersectionC<[t.TypeC<{
|
83
|
+
type: t.LiteralC<"appcues">;
|
84
|
+
value: t.StringC;
|
85
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
86
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
87
|
+
object: t.StringC;
|
88
|
+
hoverTooltip: t.BooleanC;
|
89
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
90
|
+
}>]>]>, t.IntersectionC<[t.TypeC<{
|
91
|
+
type: t.LiteralC<"video">;
|
92
|
+
value: t.StringC;
|
93
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
94
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
95
|
+
object: t.StringC;
|
96
|
+
hoverTooltip: t.BooleanC;
|
97
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
98
|
+
}>]>]>, t.IntersectionC<[t.TypeC<{
|
99
|
+
type: t.LiteralC<"helpdoc">;
|
100
|
+
value: t.StringC;
|
101
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
102
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
103
|
+
object: t.StringC;
|
104
|
+
hoverTooltip: t.BooleanC;
|
105
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
106
|
+
}>]>]>]>;
|
107
|
+
}>, t.PartialC<{
|
108
|
+
disabledReason: t.StringC;
|
109
|
+
source: t.StringC;
|
110
|
+
name: t.StringC;
|
111
|
+
last_available: t.UnionC<[t.StringC, t.NullC]>;
|
112
|
+
modified: t.StringC;
|
113
|
+
}>]>;
|
114
|
+
declare const HelpSyncCommandAdditionalV: t.PartialC<{
|
115
|
+
third_party_source: t.UnionC<[t.StringC, t.NullC]>;
|
116
|
+
third_party_id: t.UnionC<[t.StringC, t.NullC]>;
|
8
117
|
}>;
|
9
118
|
export declare const helpSyncDefaults: t.TypeOf<typeof HelpSyncCommandAdditionalV>;
|
10
119
|
export declare const CommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
@@ -92,6 +201,22 @@ export declare const CommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
92
201
|
object: t.StringC;
|
93
202
|
hoverTooltip: t.BooleanC;
|
94
203
|
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
204
|
+
}>]>]>, t.IntersectionC<[t.TypeC<{
|
205
|
+
type: t.LiteralC<"video">;
|
206
|
+
value: t.StringC;
|
207
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
208
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
209
|
+
object: t.StringC;
|
210
|
+
hoverTooltip: t.BooleanC;
|
211
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
212
|
+
}>]>]>, t.IntersectionC<[t.TypeC<{
|
213
|
+
type: t.LiteralC<"helpdoc">;
|
214
|
+
value: t.StringC;
|
215
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
216
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
217
|
+
object: t.StringC;
|
218
|
+
hoverTooltip: t.BooleanC;
|
219
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
95
220
|
}>]>]>]>;
|
96
221
|
}>, t.PartialC<{
|
97
222
|
disabledReason: t.StringC;
|
@@ -121,6 +246,8 @@ export declare const CommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
121
246
|
allow_create_label: t.StringC;
|
122
247
|
show_in_record_action_list: t.BooleanC;
|
123
248
|
show_in_default_list: t.BooleanC;
|
249
|
+
auto_choose: t.BooleanC;
|
250
|
+
is_private: t.BooleanC;
|
124
251
|
}>]>, t.IntersectionC<[t.TypeC<{
|
125
252
|
type: t.LiteralC<"set">;
|
126
253
|
value: t.UnionC<[t.ArrayC<t.StringC>, t.ArrayC<t.NumberC>, t.ArrayC<t.UnknownRecordC>]>;
|
@@ -140,6 +267,8 @@ export declare const CommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
140
267
|
loaded: t.ArrayC<t.AnyC>;
|
141
268
|
allow_create: t.BooleanC;
|
142
269
|
allow_create_label: t.StringC;
|
270
|
+
auto_choose: t.BooleanC;
|
271
|
+
is_private: t.BooleanC;
|
143
272
|
}>]>, t.IntersectionC<[t.TypeC<{
|
144
273
|
type: t.LiteralC<"provided">;
|
145
274
|
value: t.UnionC<[t.LiteralC<"text">, t.LiteralC<"time">]>;
|
@@ -160,6 +289,8 @@ export declare const CommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
160
289
|
dateTimeArgumentTypeId: t.NumberC;
|
161
290
|
allow_create: t.BooleanC;
|
162
291
|
allow_create_label: t.StringC;
|
292
|
+
auto_choose: t.BooleanC;
|
293
|
+
is_private: t.BooleanC;
|
163
294
|
}>]>, t.IntersectionC<[t.TypeC<{
|
164
295
|
type: t.LiteralC<"dependent">;
|
165
296
|
value: t.StringC;
|
@@ -179,6 +310,8 @@ export declare const CommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
179
310
|
loaded: t.ArrayC<t.AnyC>;
|
180
311
|
allow_create: t.BooleanC;
|
181
312
|
allow_create_label: t.StringC;
|
313
|
+
auto_choose: t.BooleanC;
|
314
|
+
is_private: t.BooleanC;
|
182
315
|
}>]>, t.IntersectionC<[t.TypeC<{
|
183
316
|
type: t.LiteralC<"function">;
|
184
317
|
value: t.StringC;
|
@@ -198,6 +331,35 @@ export declare const CommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
198
331
|
loaded: t.ArrayC<t.AnyC>;
|
199
332
|
allow_create: t.BooleanC;
|
200
333
|
allow_create_label: t.StringC;
|
334
|
+
auto_choose: t.BooleanC;
|
335
|
+
is_private: t.BooleanC;
|
336
|
+
}>]>, t.IntersectionC<[t.TypeC<{
|
337
|
+
type: t.UnionC<[t.LiteralC<"video">, t.LiteralC<"html">]>;
|
338
|
+
value: t.IntersectionC<[t.TypeC<{
|
339
|
+
source: t.StringC;
|
340
|
+
}>, t.PartialC<{
|
341
|
+
title: t.StringC;
|
342
|
+
description: t.StringC;
|
343
|
+
url: t.StringC;
|
344
|
+
}>]>;
|
345
|
+
order_key: t.NumberC;
|
346
|
+
}>, t.PartialC<{
|
347
|
+
label: t.StringC;
|
348
|
+
chosen: t.UnionC<[t.StringC, t.NumberC]>;
|
349
|
+
selected: t.ArrayC<t.AnyC>;
|
350
|
+
input_type: t.StringC;
|
351
|
+
preselected_key: t.StringC;
|
352
|
+
label_field: t.StringC;
|
353
|
+
availability_condition: t.ArrayC<t.TypeC<{
|
354
|
+
field: t.StringC;
|
355
|
+
operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
|
356
|
+
value: t.UnionC<[t.StringC, t.UndefinedC]>;
|
357
|
+
}>>;
|
358
|
+
loaded: t.ArrayC<t.AnyC>;
|
359
|
+
allow_create: t.BooleanC;
|
360
|
+
allow_create_label: t.StringC;
|
361
|
+
is_private: t.BooleanC;
|
362
|
+
auto_choose: t.BooleanC;
|
201
363
|
}>]>]>>;
|
202
364
|
tags: t.ArrayC<t.StringC>;
|
203
365
|
availability_rules: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
@@ -259,9 +421,13 @@ export declare const CommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
259
421
|
value: t.StringC;
|
260
422
|
reason: t.StringC;
|
261
423
|
}>]>]>>;
|
424
|
+
availability_expression: t.UnionC<[t.Type<import("./helpers/rules").RuleExpression, import("./helpers/rules").RuleExpression, unknown>, t.NullC]>;
|
425
|
+
recommend_expression: t.UnionC<[t.Type<import("./helpers/rules").RuleExpression, import("./helpers/rules").RuleExpression, unknown>, t.NullC]>;
|
426
|
+
always_recommend: t.BooleanC;
|
262
427
|
confirm: t.StringC;
|
263
428
|
shortcut: t.ArrayC<t.StringC>;
|
264
429
|
explanation: t.StringC;
|
430
|
+
heading: t.StringC;
|
265
431
|
is_live: t.BooleanC;
|
266
432
|
category: t.UnionC<[t.NumberC, t.NullC]>;
|
267
433
|
sort_key: t.UnionC<[t.NumberC, t.NullC]>;
|
@@ -285,13 +451,18 @@ export declare const CommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
285
451
|
shortcut_win: t.ArrayC<t.StringC>;
|
286
452
|
hotkey_mac: t.StringC;
|
287
453
|
hotkey_win: t.StringC;
|
288
|
-
detail: t.UnionC<[t.NullC, t.StringC, t.TypeC<{
|
454
|
+
detail: t.UnionC<[t.NullC, t.StringC, t.IntersectionC<[t.TypeC<{
|
289
455
|
type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"react">, t.LiteralC<"video">, t.NullC]>;
|
290
456
|
value: t.StringC;
|
291
|
-
}>, t.
|
457
|
+
}>, t.PartialC<{
|
458
|
+
position: t.UnionC<[t.LiteralC<"inline">, t.LiteralC<"popover">]>;
|
459
|
+
}>]>, t.ArrayC<t.UnionC<[t.StringC, t.IntersectionC<[t.TypeC<{
|
292
460
|
type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"react">, t.LiteralC<"video">, t.NullC]>;
|
293
461
|
value: t.StringC;
|
294
|
-
}
|
462
|
+
}>, t.PartialC<{
|
463
|
+
position: t.UnionC<[t.LiteralC<"inline">, t.LiteralC<"popover">]>;
|
464
|
+
}>]>]>>]>;
|
465
|
+
next_steps: t.ArrayC<t.UnionC<[t.StringC, t.NumberC]>>;
|
295
466
|
}>]>;
|
296
467
|
export declare const EditorCommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
297
468
|
id: t.NumberC;
|
@@ -378,6 +549,22 @@ export declare const EditorCommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
378
549
|
object: t.StringC;
|
379
550
|
hoverTooltip: t.BooleanC;
|
380
551
|
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
552
|
+
}>]>]>, t.IntersectionC<[t.TypeC<{
|
553
|
+
type: t.LiteralC<"video">;
|
554
|
+
value: t.StringC;
|
555
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
556
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
557
|
+
object: t.StringC;
|
558
|
+
hoverTooltip: t.BooleanC;
|
559
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
560
|
+
}>]>]>, t.IntersectionC<[t.TypeC<{
|
561
|
+
type: t.LiteralC<"helpdoc">;
|
562
|
+
value: t.StringC;
|
563
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
564
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
565
|
+
object: t.StringC;
|
566
|
+
hoverTooltip: t.BooleanC;
|
567
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
381
568
|
}>]>]>]>;
|
382
569
|
}>, t.PartialC<{
|
383
570
|
disabledReason: t.StringC;
|
@@ -407,6 +594,8 @@ export declare const EditorCommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
407
594
|
allow_create_label: t.StringC;
|
408
595
|
show_in_record_action_list: t.BooleanC;
|
409
596
|
show_in_default_list: t.BooleanC;
|
597
|
+
auto_choose: t.BooleanC;
|
598
|
+
is_private: t.BooleanC;
|
410
599
|
}>]>, t.IntersectionC<[t.TypeC<{
|
411
600
|
type: t.LiteralC<"set">;
|
412
601
|
value: t.UnionC<[t.ArrayC<t.StringC>, t.ArrayC<t.NumberC>, t.ArrayC<t.UnknownRecordC>]>;
|
@@ -426,6 +615,8 @@ export declare const EditorCommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
426
615
|
loaded: t.ArrayC<t.AnyC>;
|
427
616
|
allow_create: t.BooleanC;
|
428
617
|
allow_create_label: t.StringC;
|
618
|
+
auto_choose: t.BooleanC;
|
619
|
+
is_private: t.BooleanC;
|
429
620
|
}>]>, t.IntersectionC<[t.TypeC<{
|
430
621
|
type: t.LiteralC<"provided">;
|
431
622
|
value: t.UnionC<[t.LiteralC<"text">, t.LiteralC<"time">]>;
|
@@ -446,6 +637,8 @@ export declare const EditorCommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
446
637
|
dateTimeArgumentTypeId: t.NumberC;
|
447
638
|
allow_create: t.BooleanC;
|
448
639
|
allow_create_label: t.StringC;
|
640
|
+
auto_choose: t.BooleanC;
|
641
|
+
is_private: t.BooleanC;
|
449
642
|
}>]>, t.IntersectionC<[t.TypeC<{
|
450
643
|
type: t.LiteralC<"dependent">;
|
451
644
|
value: t.StringC;
|
@@ -465,6 +658,8 @@ export declare const EditorCommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
465
658
|
loaded: t.ArrayC<t.AnyC>;
|
466
659
|
allow_create: t.BooleanC;
|
467
660
|
allow_create_label: t.StringC;
|
661
|
+
auto_choose: t.BooleanC;
|
662
|
+
is_private: t.BooleanC;
|
468
663
|
}>]>, t.IntersectionC<[t.TypeC<{
|
469
664
|
type: t.LiteralC<"function">;
|
470
665
|
value: t.StringC;
|
@@ -484,6 +679,35 @@ export declare const EditorCommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
484
679
|
loaded: t.ArrayC<t.AnyC>;
|
485
680
|
allow_create: t.BooleanC;
|
486
681
|
allow_create_label: t.StringC;
|
682
|
+
auto_choose: t.BooleanC;
|
683
|
+
is_private: t.BooleanC;
|
684
|
+
}>]>, t.IntersectionC<[t.TypeC<{
|
685
|
+
type: t.UnionC<[t.LiteralC<"video">, t.LiteralC<"html">]>;
|
686
|
+
value: t.IntersectionC<[t.TypeC<{
|
687
|
+
source: t.StringC;
|
688
|
+
}>, t.PartialC<{
|
689
|
+
title: t.StringC;
|
690
|
+
description: t.StringC;
|
691
|
+
url: t.StringC;
|
692
|
+
}>]>;
|
693
|
+
order_key: t.NumberC;
|
694
|
+
}>, t.PartialC<{
|
695
|
+
label: t.StringC;
|
696
|
+
chosen: t.UnionC<[t.StringC, t.NumberC]>;
|
697
|
+
selected: t.ArrayC<t.AnyC>;
|
698
|
+
input_type: t.StringC;
|
699
|
+
preselected_key: t.StringC;
|
700
|
+
label_field: t.StringC;
|
701
|
+
availability_condition: t.ArrayC<t.TypeC<{
|
702
|
+
field: t.StringC;
|
703
|
+
operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
|
704
|
+
value: t.UnionC<[t.StringC, t.UndefinedC]>;
|
705
|
+
}>>;
|
706
|
+
loaded: t.ArrayC<t.AnyC>;
|
707
|
+
allow_create: t.BooleanC;
|
708
|
+
allow_create_label: t.StringC;
|
709
|
+
is_private: t.BooleanC;
|
710
|
+
auto_choose: t.BooleanC;
|
487
711
|
}>]>]>>;
|
488
712
|
tags: t.ArrayC<t.StringC>;
|
489
713
|
availability_rules: t.UnionC<[t.ArrayC<t.UnionC<[t.IntersectionC<[t.TypeC<{
|
@@ -612,9 +836,13 @@ export declare const EditorCommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
612
836
|
value: t.StringC;
|
613
837
|
reason: t.StringC;
|
614
838
|
}>]>]>>]>;
|
839
|
+
availability_expression: t.Type<import("./helpers/rules").RuleExpression, import("./helpers/rules").RuleExpression, unknown>;
|
840
|
+
recommend_expression: t.Type<import("./helpers/rules").RuleExpression, import("./helpers/rules").RuleExpression, unknown>;
|
841
|
+
always_recommend: t.BooleanC;
|
615
842
|
confirm: t.StringC;
|
616
843
|
shortcut: t.ArrayC<t.StringC>;
|
617
844
|
explanation: t.StringC;
|
845
|
+
heading: t.StringC;
|
618
846
|
is_live: t.BooleanC;
|
619
847
|
category: t.UnionC<[t.NumberC, t.NullC]>;
|
620
848
|
sort_key: t.UnionC<[t.NumberC, t.NullC]>;
|
@@ -638,13 +866,21 @@ export declare const EditorCommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
638
866
|
shortcut_win: t.ArrayC<t.StringC>;
|
639
867
|
hotkey_mac: t.StringC;
|
640
868
|
hotkey_win: t.StringC;
|
641
|
-
detail: t.UnionC<[t.NullC, t.StringC, t.TypeC<{
|
869
|
+
detail: t.UnionC<[t.NullC, t.StringC, t.IntersectionC<[t.TypeC<{
|
642
870
|
type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"react">, t.LiteralC<"video">, t.NullC]>;
|
643
871
|
value: t.StringC;
|
644
|
-
}>, t.
|
872
|
+
}>, t.PartialC<{
|
873
|
+
position: t.UnionC<[t.LiteralC<"inline">, t.LiteralC<"popover">]>;
|
874
|
+
}>]>, t.ArrayC<t.UnionC<[t.StringC, t.IntersectionC<[t.TypeC<{
|
645
875
|
type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"react">, t.LiteralC<"video">, t.NullC]>;
|
646
876
|
value: t.StringC;
|
647
|
-
}
|
877
|
+
}>, t.PartialC<{
|
878
|
+
position: t.UnionC<[t.LiteralC<"inline">, t.LiteralC<"popover">]>;
|
879
|
+
}>]>]>>]>;
|
880
|
+
next_steps: t.ArrayC<t.UnionC<[t.StringC, t.NumberC]>>;
|
881
|
+
}>, t.PartialC<{
|
882
|
+
third_party_source: t.UnionC<[t.StringC, t.NullC]>;
|
883
|
+
third_party_id: t.UnionC<[t.StringC, t.NullC]>;
|
648
884
|
}>]>;
|
649
885
|
export declare const BatchOperationV: t.UnionC<[t.TypeC<{
|
650
886
|
op: t.LiteralC<"update">;
|
@@ -743,6 +979,22 @@ export declare const BatchEditorCommandResponseV: t.TypeC<{
|
|
743
979
|
object: t.StringC;
|
744
980
|
hoverTooltip: t.BooleanC;
|
745
981
|
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
982
|
+
}>]>]>, t.IntersectionC<[t.TypeC<{
|
983
|
+
type: t.LiteralC<"video">;
|
984
|
+
value: t.StringC;
|
985
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
986
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
987
|
+
object: t.StringC;
|
988
|
+
hoverTooltip: t.BooleanC;
|
989
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
990
|
+
}>]>]>, t.IntersectionC<[t.TypeC<{
|
991
|
+
type: t.LiteralC<"helpdoc">;
|
992
|
+
value: t.StringC;
|
993
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
994
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
995
|
+
object: t.StringC;
|
996
|
+
hoverTooltip: t.BooleanC;
|
997
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
746
998
|
}>]>]>]>;
|
747
999
|
}>, t.PartialC<{
|
748
1000
|
disabledReason: t.StringC;
|
@@ -772,6 +1024,8 @@ export declare const BatchEditorCommandResponseV: t.TypeC<{
|
|
772
1024
|
allow_create_label: t.StringC;
|
773
1025
|
show_in_record_action_list: t.BooleanC;
|
774
1026
|
show_in_default_list: t.BooleanC;
|
1027
|
+
auto_choose: t.BooleanC;
|
1028
|
+
is_private: t.BooleanC;
|
775
1029
|
}>]>, t.IntersectionC<[t.TypeC<{
|
776
1030
|
type: t.LiteralC<"set">;
|
777
1031
|
value: t.UnionC<[t.ArrayC<t.StringC>, t.ArrayC<t.NumberC>, t.ArrayC<t.UnknownRecordC>]>;
|
@@ -791,6 +1045,8 @@ export declare const BatchEditorCommandResponseV: t.TypeC<{
|
|
791
1045
|
loaded: t.ArrayC<t.AnyC>;
|
792
1046
|
allow_create: t.BooleanC;
|
793
1047
|
allow_create_label: t.StringC;
|
1048
|
+
auto_choose: t.BooleanC;
|
1049
|
+
is_private: t.BooleanC;
|
794
1050
|
}>]>, t.IntersectionC<[t.TypeC<{
|
795
1051
|
type: t.LiteralC<"provided">;
|
796
1052
|
value: t.UnionC<[t.LiteralC<"text">, t.LiteralC<"time">]>;
|
@@ -811,6 +1067,8 @@ export declare const BatchEditorCommandResponseV: t.TypeC<{
|
|
811
1067
|
dateTimeArgumentTypeId: t.NumberC;
|
812
1068
|
allow_create: t.BooleanC;
|
813
1069
|
allow_create_label: t.StringC;
|
1070
|
+
auto_choose: t.BooleanC;
|
1071
|
+
is_private: t.BooleanC;
|
814
1072
|
}>]>, t.IntersectionC<[t.TypeC<{
|
815
1073
|
type: t.LiteralC<"dependent">;
|
816
1074
|
value: t.StringC;
|
@@ -830,6 +1088,8 @@ export declare const BatchEditorCommandResponseV: t.TypeC<{
|
|
830
1088
|
loaded: t.ArrayC<t.AnyC>;
|
831
1089
|
allow_create: t.BooleanC;
|
832
1090
|
allow_create_label: t.StringC;
|
1091
|
+
auto_choose: t.BooleanC;
|
1092
|
+
is_private: t.BooleanC;
|
833
1093
|
}>]>, t.IntersectionC<[t.TypeC<{
|
834
1094
|
type: t.LiteralC<"function">;
|
835
1095
|
value: t.StringC;
|
@@ -849,6 +1109,35 @@ export declare const BatchEditorCommandResponseV: t.TypeC<{
|
|
849
1109
|
loaded: t.ArrayC<t.AnyC>;
|
850
1110
|
allow_create: t.BooleanC;
|
851
1111
|
allow_create_label: t.StringC;
|
1112
|
+
auto_choose: t.BooleanC;
|
1113
|
+
is_private: t.BooleanC;
|
1114
|
+
}>]>, t.IntersectionC<[t.TypeC<{
|
1115
|
+
type: t.UnionC<[t.LiteralC<"video">, t.LiteralC<"html">]>;
|
1116
|
+
value: t.IntersectionC<[t.TypeC<{
|
1117
|
+
source: t.StringC;
|
1118
|
+
}>, t.PartialC<{
|
1119
|
+
title: t.StringC;
|
1120
|
+
description: t.StringC;
|
1121
|
+
url: t.StringC;
|
1122
|
+
}>]>;
|
1123
|
+
order_key: t.NumberC;
|
1124
|
+
}>, t.PartialC<{
|
1125
|
+
label: t.StringC;
|
1126
|
+
chosen: t.UnionC<[t.StringC, t.NumberC]>;
|
1127
|
+
selected: t.ArrayC<t.AnyC>;
|
1128
|
+
input_type: t.StringC;
|
1129
|
+
preselected_key: t.StringC;
|
1130
|
+
label_field: t.StringC;
|
1131
|
+
availability_condition: t.ArrayC<t.TypeC<{
|
1132
|
+
field: t.StringC;
|
1133
|
+
operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
|
1134
|
+
value: t.UnionC<[t.StringC, t.UndefinedC]>;
|
1135
|
+
}>>;
|
1136
|
+
loaded: t.ArrayC<t.AnyC>;
|
1137
|
+
allow_create: t.BooleanC;
|
1138
|
+
allow_create_label: t.StringC;
|
1139
|
+
is_private: t.BooleanC;
|
1140
|
+
auto_choose: t.BooleanC;
|
852
1141
|
}>]>]>>;
|
853
1142
|
tags: t.ArrayC<t.StringC>;
|
854
1143
|
availability_rules: t.UnionC<[t.ArrayC<t.UnionC<[t.IntersectionC<[t.TypeC<{
|
@@ -977,9 +1266,13 @@ export declare const BatchEditorCommandResponseV: t.TypeC<{
|
|
977
1266
|
value: t.StringC;
|
978
1267
|
reason: t.StringC;
|
979
1268
|
}>]>]>>]>;
|
1269
|
+
availability_expression: t.Type<import("./helpers/rules").RuleExpression, import("./helpers/rules").RuleExpression, unknown>;
|
1270
|
+
recommend_expression: t.Type<import("./helpers/rules").RuleExpression, import("./helpers/rules").RuleExpression, unknown>;
|
1271
|
+
always_recommend: t.BooleanC;
|
980
1272
|
confirm: t.StringC;
|
981
1273
|
shortcut: t.ArrayC<t.StringC>;
|
982
1274
|
explanation: t.StringC;
|
1275
|
+
heading: t.StringC;
|
983
1276
|
is_live: t.BooleanC;
|
984
1277
|
category: t.UnionC<[t.NumberC, t.NullC]>;
|
985
1278
|
sort_key: t.UnionC<[t.NumberC, t.NullC]>;
|
@@ -1003,13 +1296,21 @@ export declare const BatchEditorCommandResponseV: t.TypeC<{
|
|
1003
1296
|
shortcut_win: t.ArrayC<t.StringC>;
|
1004
1297
|
hotkey_mac: t.StringC;
|
1005
1298
|
hotkey_win: t.StringC;
|
1006
|
-
detail: t.UnionC<[t.NullC, t.StringC, t.TypeC<{
|
1299
|
+
detail: t.UnionC<[t.NullC, t.StringC, t.IntersectionC<[t.TypeC<{
|
1007
1300
|
type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"react">, t.LiteralC<"video">, t.NullC]>;
|
1008
1301
|
value: t.StringC;
|
1009
|
-
}>, t.
|
1302
|
+
}>, t.PartialC<{
|
1303
|
+
position: t.UnionC<[t.LiteralC<"inline">, t.LiteralC<"popover">]>;
|
1304
|
+
}>]>, t.ArrayC<t.UnionC<[t.StringC, t.IntersectionC<[t.TypeC<{
|
1010
1305
|
type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"react">, t.LiteralC<"video">, t.NullC]>;
|
1011
1306
|
value: t.StringC;
|
1012
|
-
}
|
1307
|
+
}>, t.PartialC<{
|
1308
|
+
position: t.UnionC<[t.LiteralC<"inline">, t.LiteralC<"popover">]>;
|
1309
|
+
}>]>]>>]>;
|
1310
|
+
next_steps: t.ArrayC<t.UnionC<[t.StringC, t.NumberC]>>;
|
1311
|
+
}>, t.PartialC<{
|
1312
|
+
third_party_source: t.UnionC<[t.StringC, t.NullC]>;
|
1313
|
+
third_party_id: t.UnionC<[t.StringC, t.NullC]>;
|
1013
1314
|
}>]>>;
|
1014
1315
|
}>;
|
1015
1316
|
export declare class Command {
|
@@ -1102,6 +1403,22 @@ export declare class Command {
|
|
1102
1403
|
object?: string | undefined;
|
1103
1404
|
hoverTooltip?: boolean | undefined;
|
1104
1405
|
operation?: "self" | "router" | "blank" | undefined;
|
1406
|
+
}) | ({
|
1407
|
+
type: "video";
|
1408
|
+
value: string;
|
1409
|
+
} & {} & {
|
1410
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
1411
|
+
object?: string | undefined;
|
1412
|
+
hoverTooltip?: boolean | undefined;
|
1413
|
+
operation?: "self" | "router" | "blank" | undefined;
|
1414
|
+
}) | ({
|
1415
|
+
type: "helpdoc";
|
1416
|
+
value: string;
|
1417
|
+
} & {} & {
|
1418
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
1419
|
+
object?: string | undefined;
|
1420
|
+
hoverTooltip?: boolean | undefined;
|
1421
|
+
operation?: "self" | "router" | "blank" | undefined;
|
1105
1422
|
});
|
1106
1423
|
} & {
|
1107
1424
|
disabledReason?: string | undefined;
|
@@ -1132,6 +1449,8 @@ export declare class Command {
|
|
1132
1449
|
allow_create_label?: string | undefined;
|
1133
1450
|
show_in_record_action_list?: boolean | undefined;
|
1134
1451
|
show_in_default_list?: boolean | undefined;
|
1452
|
+
auto_choose?: boolean | undefined;
|
1453
|
+
is_private?: boolean | undefined;
|
1135
1454
|
}) | ({
|
1136
1455
|
type: "set";
|
1137
1456
|
value: string[] | number[] | {
|
@@ -1153,6 +1472,8 @@ export declare class Command {
|
|
1153
1472
|
loaded?: any[] | undefined;
|
1154
1473
|
allow_create?: boolean | undefined;
|
1155
1474
|
allow_create_label?: string | undefined;
|
1475
|
+
auto_choose?: boolean | undefined;
|
1476
|
+
is_private?: boolean | undefined;
|
1156
1477
|
}) | ({
|
1157
1478
|
type: "provided";
|
1158
1479
|
value: "time" | "text";
|
@@ -1173,6 +1494,8 @@ export declare class Command {
|
|
1173
1494
|
dateTimeArgumentTypeId?: number | undefined;
|
1174
1495
|
allow_create?: boolean | undefined;
|
1175
1496
|
allow_create_label?: string | undefined;
|
1497
|
+
auto_choose?: boolean | undefined;
|
1498
|
+
is_private?: boolean | undefined;
|
1176
1499
|
}) | ({
|
1177
1500
|
type: "dependent";
|
1178
1501
|
value: string;
|
@@ -1192,6 +1515,8 @@ export declare class Command {
|
|
1192
1515
|
loaded?: any[] | undefined;
|
1193
1516
|
allow_create?: boolean | undefined;
|
1194
1517
|
allow_create_label?: string | undefined;
|
1518
|
+
auto_choose?: boolean | undefined;
|
1519
|
+
is_private?: boolean | undefined;
|
1195
1520
|
}) | ({
|
1196
1521
|
type: "function";
|
1197
1522
|
value: string;
|
@@ -1211,23 +1536,52 @@ export declare class Command {
|
|
1211
1536
|
loaded?: any[] | undefined;
|
1212
1537
|
allow_create?: boolean | undefined;
|
1213
1538
|
allow_create_label?: string | undefined;
|
1214
|
-
|
1215
|
-
|
1216
|
-
|
1217
|
-
|
1218
|
-
|
1219
|
-
|
1220
|
-
|
1221
|
-
|
1222
|
-
|
1223
|
-
|
1224
|
-
|
1225
|
-
|
1226
|
-
|
1227
|
-
|
1228
|
-
|
1229
|
-
|
1230
|
-
|
1539
|
+
auto_choose?: boolean | undefined;
|
1540
|
+
is_private?: boolean | undefined;
|
1541
|
+
}) | ({
|
1542
|
+
type: "html" | "video";
|
1543
|
+
value: {
|
1544
|
+
source: string;
|
1545
|
+
} & {
|
1546
|
+
title?: string | undefined;
|
1547
|
+
description?: string | undefined;
|
1548
|
+
url?: string | undefined;
|
1549
|
+
};
|
1550
|
+
order_key: number;
|
1551
|
+
} & {
|
1552
|
+
label?: string | undefined;
|
1553
|
+
chosen?: string | number | undefined;
|
1554
|
+
selected?: any[] | undefined;
|
1555
|
+
input_type?: string | undefined;
|
1556
|
+
preselected_key?: string | undefined;
|
1557
|
+
label_field?: string | undefined;
|
1558
|
+
availability_condition?: {
|
1559
|
+
field: string;
|
1560
|
+
operator: "==" | "!=" | "isTruthy" | "isFalsy";
|
1561
|
+
value: string | undefined;
|
1562
|
+
}[] | undefined;
|
1563
|
+
loaded?: any[] | undefined;
|
1564
|
+
allow_create?: boolean | undefined;
|
1565
|
+
allow_create_label?: string | undefined;
|
1566
|
+
is_private?: boolean | undefined;
|
1567
|
+
auto_choose?: boolean | undefined;
|
1568
|
+
});
|
1569
|
+
};
|
1570
|
+
tags: string[];
|
1571
|
+
availability_rules: ({
|
1572
|
+
type: "url" | "context" | "element";
|
1573
|
+
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
|
1574
|
+
} & {
|
1575
|
+
field?: string | undefined;
|
1576
|
+
value?: string | undefined;
|
1577
|
+
reason?: string | undefined;
|
1578
|
+
})[] | (({
|
1579
|
+
type: "url" | "context" | "element";
|
1580
|
+
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
|
1581
|
+
} & {
|
1582
|
+
field?: string | undefined;
|
1583
|
+
value?: string | undefined;
|
1584
|
+
reason?: string | undefined;
|
1231
1585
|
}) | ({
|
1232
1586
|
type: "named_rule";
|
1233
1587
|
rule_id: number;
|
@@ -1235,27 +1589,20 @@ export declare class Command {
|
|
1235
1589
|
reason?: string | undefined;
|
1236
1590
|
}))[];
|
1237
1591
|
recommend_rules: (({
|
1238
|
-
type: "always";
|
1239
|
-
} & {
|
1240
|
-
operator?: null | undefined;
|
1241
|
-
field?: null | undefined;
|
1242
|
-
value?: null | undefined;
|
1243
|
-
reason?: null | undefined;
|
1244
|
-
}) | ({
|
1245
1592
|
type: "url" | "context" | "element";
|
1246
1593
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
|
1247
1594
|
} & {
|
1248
1595
|
field?: string | undefined;
|
1249
1596
|
value?: string | undefined;
|
1250
1597
|
reason?: string | undefined;
|
1251
|
-
})
|
1598
|
+
}) | ({
|
1252
1599
|
type: "always";
|
1253
1600
|
} & {
|
1254
1601
|
operator?: null | undefined;
|
1255
1602
|
field?: null | undefined;
|
1256
1603
|
value?: null | undefined;
|
1257
1604
|
reason?: null | undefined;
|
1258
|
-
}) | ({
|
1605
|
+
}))[] | (({
|
1259
1606
|
type: "url" | "context" | "element";
|
1260
1607
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
|
1261
1608
|
} & {
|
@@ -1267,10 +1614,21 @@ export declare class Command {
|
|
1267
1614
|
rule_id: number;
|
1268
1615
|
} & {
|
1269
1616
|
reason?: string | undefined;
|
1617
|
+
}) | ({
|
1618
|
+
type: "always";
|
1619
|
+
} & {
|
1620
|
+
operator?: null | undefined;
|
1621
|
+
field?: null | undefined;
|
1622
|
+
value?: null | undefined;
|
1623
|
+
reason?: null | undefined;
|
1270
1624
|
}))[];
|
1625
|
+
availability_expression: import("./helpers/rules").RuleExpression;
|
1626
|
+
recommend_expression: import("./helpers/rules").RuleExpression;
|
1627
|
+
always_recommend: boolean;
|
1271
1628
|
confirm: string;
|
1272
1629
|
shortcut: string[];
|
1273
1630
|
explanation: string;
|
1631
|
+
heading: string;
|
1274
1632
|
is_live: boolean;
|
1275
1633
|
category: number | null;
|
1276
1634
|
sort_key: number | null;
|
@@ -1294,13 +1652,21 @@ export declare class Command {
|
|
1294
1652
|
shortcut_win: string[];
|
1295
1653
|
hotkey_mac: string;
|
1296
1654
|
hotkey_win: string;
|
1297
|
-
detail: string | {
|
1655
|
+
detail: string | ({
|
1298
1656
|
type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
|
1299
1657
|
value: string;
|
1300
|
-
}
|
1658
|
+
} & {
|
1659
|
+
position?: "inline" | "popover" | undefined;
|
1660
|
+
}) | (string | ({
|
1301
1661
|
type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
|
1302
1662
|
value: string;
|
1303
|
-
}
|
1663
|
+
} & {
|
1664
|
+
position?: "inline" | "popover" | undefined;
|
1665
|
+
}))[] | null;
|
1666
|
+
next_steps: (string | number)[];
|
1667
|
+
} & {
|
1668
|
+
third_party_source?: string | null | undefined;
|
1669
|
+
third_party_id?: string | null | undefined;
|
1304
1670
|
}, onSuccess?: (() => void) | undefined, onError?: ((err: string) => void) | undefined) => Promise<{
|
1305
1671
|
id: number;
|
1306
1672
|
organization: string | number;
|
@@ -1390,6 +1756,22 @@ export declare class Command {
|
|
1390
1756
|
object?: string | undefined;
|
1391
1757
|
hoverTooltip?: boolean | undefined;
|
1392
1758
|
operation?: "self" | "router" | "blank" | undefined;
|
1759
|
+
}) | ({
|
1760
|
+
type: "video";
|
1761
|
+
value: string;
|
1762
|
+
} & {} & {
|
1763
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
1764
|
+
object?: string | undefined;
|
1765
|
+
hoverTooltip?: boolean | undefined;
|
1766
|
+
operation?: "self" | "router" | "blank" | undefined;
|
1767
|
+
}) | ({
|
1768
|
+
type: "helpdoc";
|
1769
|
+
value: string;
|
1770
|
+
} & {} & {
|
1771
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
1772
|
+
object?: string | undefined;
|
1773
|
+
hoverTooltip?: boolean | undefined;
|
1774
|
+
operation?: "self" | "router" | "blank" | undefined;
|
1393
1775
|
});
|
1394
1776
|
} & {
|
1395
1777
|
disabledReason?: string | undefined;
|
@@ -1420,6 +1802,8 @@ export declare class Command {
|
|
1420
1802
|
allow_create_label?: string | undefined;
|
1421
1803
|
show_in_record_action_list?: boolean | undefined;
|
1422
1804
|
show_in_default_list?: boolean | undefined;
|
1805
|
+
auto_choose?: boolean | undefined;
|
1806
|
+
is_private?: boolean | undefined;
|
1423
1807
|
}) | ({
|
1424
1808
|
type: "set";
|
1425
1809
|
value: string[] | number[] | {
|
@@ -1441,6 +1825,8 @@ export declare class Command {
|
|
1441
1825
|
loaded?: any[] | undefined;
|
1442
1826
|
allow_create?: boolean | undefined;
|
1443
1827
|
allow_create_label?: string | undefined;
|
1828
|
+
auto_choose?: boolean | undefined;
|
1829
|
+
is_private?: boolean | undefined;
|
1444
1830
|
}) | ({
|
1445
1831
|
type: "provided";
|
1446
1832
|
value: "time" | "text";
|
@@ -1461,6 +1847,8 @@ export declare class Command {
|
|
1461
1847
|
dateTimeArgumentTypeId?: number | undefined;
|
1462
1848
|
allow_create?: boolean | undefined;
|
1463
1849
|
allow_create_label?: string | undefined;
|
1850
|
+
auto_choose?: boolean | undefined;
|
1851
|
+
is_private?: boolean | undefined;
|
1464
1852
|
}) | ({
|
1465
1853
|
type: "dependent";
|
1466
1854
|
value: string;
|
@@ -1480,6 +1868,8 @@ export declare class Command {
|
|
1480
1868
|
loaded?: any[] | undefined;
|
1481
1869
|
allow_create?: boolean | undefined;
|
1482
1870
|
allow_create_label?: string | undefined;
|
1871
|
+
auto_choose?: boolean | undefined;
|
1872
|
+
is_private?: boolean | undefined;
|
1483
1873
|
}) | ({
|
1484
1874
|
type: "function";
|
1485
1875
|
value: string;
|
@@ -1499,6 +1889,35 @@ export declare class Command {
|
|
1499
1889
|
loaded?: any[] | undefined;
|
1500
1890
|
allow_create?: boolean | undefined;
|
1501
1891
|
allow_create_label?: string | undefined;
|
1892
|
+
auto_choose?: boolean | undefined;
|
1893
|
+
is_private?: boolean | undefined;
|
1894
|
+
}) | ({
|
1895
|
+
type: "html" | "video";
|
1896
|
+
value: {
|
1897
|
+
source: string;
|
1898
|
+
} & {
|
1899
|
+
title?: string | undefined;
|
1900
|
+
description?: string | undefined;
|
1901
|
+
url?: string | undefined;
|
1902
|
+
};
|
1903
|
+
order_key: number;
|
1904
|
+
} & {
|
1905
|
+
label?: string | undefined;
|
1906
|
+
chosen?: string | number | undefined;
|
1907
|
+
selected?: any[] | undefined;
|
1908
|
+
input_type?: string | undefined;
|
1909
|
+
preselected_key?: string | undefined;
|
1910
|
+
label_field?: string | undefined;
|
1911
|
+
availability_condition?: {
|
1912
|
+
field: string;
|
1913
|
+
operator: "==" | "!=" | "isTruthy" | "isFalsy";
|
1914
|
+
value: string | undefined;
|
1915
|
+
}[] | undefined;
|
1916
|
+
loaded?: any[] | undefined;
|
1917
|
+
allow_create?: boolean | undefined;
|
1918
|
+
allow_create_label?: string | undefined;
|
1919
|
+
is_private?: boolean | undefined;
|
1920
|
+
auto_choose?: boolean | undefined;
|
1502
1921
|
});
|
1503
1922
|
};
|
1504
1923
|
tags: string[];
|
@@ -1523,27 +1942,20 @@ export declare class Command {
|
|
1523
1942
|
reason?: string | undefined;
|
1524
1943
|
}))[];
|
1525
1944
|
recommend_rules: (({
|
1526
|
-
type: "always";
|
1527
|
-
} & {
|
1528
|
-
operator?: null | undefined;
|
1529
|
-
field?: null | undefined;
|
1530
|
-
value?: null | undefined;
|
1531
|
-
reason?: null | undefined;
|
1532
|
-
}) | ({
|
1533
1945
|
type: "url" | "context" | "element";
|
1534
1946
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
|
1535
1947
|
} & {
|
1536
1948
|
field?: string | undefined;
|
1537
1949
|
value?: string | undefined;
|
1538
1950
|
reason?: string | undefined;
|
1539
|
-
})
|
1951
|
+
}) | ({
|
1540
1952
|
type: "always";
|
1541
1953
|
} & {
|
1542
1954
|
operator?: null | undefined;
|
1543
1955
|
field?: null | undefined;
|
1544
1956
|
value?: null | undefined;
|
1545
1957
|
reason?: null | undefined;
|
1546
|
-
}) | ({
|
1958
|
+
}))[] | (({
|
1547
1959
|
type: "url" | "context" | "element";
|
1548
1960
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
|
1549
1961
|
} & {
|
@@ -1555,10 +1967,21 @@ export declare class Command {
|
|
1555
1967
|
rule_id: number;
|
1556
1968
|
} & {
|
1557
1969
|
reason?: string | undefined;
|
1970
|
+
}) | ({
|
1971
|
+
type: "always";
|
1972
|
+
} & {
|
1973
|
+
operator?: null | undefined;
|
1974
|
+
field?: null | undefined;
|
1975
|
+
value?: null | undefined;
|
1976
|
+
reason?: null | undefined;
|
1558
1977
|
}))[];
|
1978
|
+
availability_expression: import("./helpers/rules").RuleExpression;
|
1979
|
+
recommend_expression: import("./helpers/rules").RuleExpression;
|
1980
|
+
always_recommend: boolean;
|
1559
1981
|
confirm: string;
|
1560
1982
|
shortcut: string[];
|
1561
1983
|
explanation: string;
|
1984
|
+
heading: string;
|
1562
1985
|
is_live: boolean;
|
1563
1986
|
category: number | null;
|
1564
1987
|
sort_key: number | null;
|
@@ -1582,13 +2005,21 @@ export declare class Command {
|
|
1582
2005
|
shortcut_win: string[];
|
1583
2006
|
hotkey_mac: string;
|
1584
2007
|
hotkey_win: string;
|
1585
|
-
detail: string | {
|
2008
|
+
detail: string | ({
|
1586
2009
|
type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
|
1587
2010
|
value: string;
|
1588
|
-
}
|
2011
|
+
} & {
|
2012
|
+
position?: "inline" | "popover" | undefined;
|
2013
|
+
}) | (string | ({
|
1589
2014
|
type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
|
1590
2015
|
value: string;
|
1591
|
-
}
|
2016
|
+
} & {
|
2017
|
+
position?: "inline" | "popover" | undefined;
|
2018
|
+
}))[] | null;
|
2019
|
+
next_steps: (string | number)[];
|
2020
|
+
} & {
|
2021
|
+
third_party_source?: string | null | undefined;
|
2022
|
+
third_party_id?: string | null | undefined;
|
1592
2023
|
}>;
|
1593
2024
|
static update: (object: {
|
1594
2025
|
id: number;
|
@@ -1679,6 +2110,22 @@ export declare class Command {
|
|
1679
2110
|
object?: string | undefined;
|
1680
2111
|
hoverTooltip?: boolean | undefined;
|
1681
2112
|
operation?: "self" | "router" | "blank" | undefined;
|
2113
|
+
}) | ({
|
2114
|
+
type: "video";
|
2115
|
+
value: string;
|
2116
|
+
} & {} & {
|
2117
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
2118
|
+
object?: string | undefined;
|
2119
|
+
hoverTooltip?: boolean | undefined;
|
2120
|
+
operation?: "self" | "router" | "blank" | undefined;
|
2121
|
+
}) | ({
|
2122
|
+
type: "helpdoc";
|
2123
|
+
value: string;
|
2124
|
+
} & {} & {
|
2125
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
2126
|
+
object?: string | undefined;
|
2127
|
+
hoverTooltip?: boolean | undefined;
|
2128
|
+
operation?: "self" | "router" | "blank" | undefined;
|
1682
2129
|
});
|
1683
2130
|
} & {
|
1684
2131
|
disabledReason?: string | undefined;
|
@@ -1709,6 +2156,8 @@ export declare class Command {
|
|
1709
2156
|
allow_create_label?: string | undefined;
|
1710
2157
|
show_in_record_action_list?: boolean | undefined;
|
1711
2158
|
show_in_default_list?: boolean | undefined;
|
2159
|
+
auto_choose?: boolean | undefined;
|
2160
|
+
is_private?: boolean | undefined;
|
1712
2161
|
}) | ({
|
1713
2162
|
type: "set";
|
1714
2163
|
value: string[] | number[] | {
|
@@ -1730,6 +2179,8 @@ export declare class Command {
|
|
1730
2179
|
loaded?: any[] | undefined;
|
1731
2180
|
allow_create?: boolean | undefined;
|
1732
2181
|
allow_create_label?: string | undefined;
|
2182
|
+
auto_choose?: boolean | undefined;
|
2183
|
+
is_private?: boolean | undefined;
|
1733
2184
|
}) | ({
|
1734
2185
|
type: "provided";
|
1735
2186
|
value: "time" | "text";
|
@@ -1750,6 +2201,8 @@ export declare class Command {
|
|
1750
2201
|
dateTimeArgumentTypeId?: number | undefined;
|
1751
2202
|
allow_create?: boolean | undefined;
|
1752
2203
|
allow_create_label?: string | undefined;
|
2204
|
+
auto_choose?: boolean | undefined;
|
2205
|
+
is_private?: boolean | undefined;
|
1753
2206
|
}) | ({
|
1754
2207
|
type: "dependent";
|
1755
2208
|
value: string;
|
@@ -1769,6 +2222,8 @@ export declare class Command {
|
|
1769
2222
|
loaded?: any[] | undefined;
|
1770
2223
|
allow_create?: boolean | undefined;
|
1771
2224
|
allow_create_label?: string | undefined;
|
2225
|
+
auto_choose?: boolean | undefined;
|
2226
|
+
is_private?: boolean | undefined;
|
1772
2227
|
}) | ({
|
1773
2228
|
type: "function";
|
1774
2229
|
value: string;
|
@@ -1788,6 +2243,35 @@ export declare class Command {
|
|
1788
2243
|
loaded?: any[] | undefined;
|
1789
2244
|
allow_create?: boolean | undefined;
|
1790
2245
|
allow_create_label?: string | undefined;
|
2246
|
+
auto_choose?: boolean | undefined;
|
2247
|
+
is_private?: boolean | undefined;
|
2248
|
+
}) | ({
|
2249
|
+
type: "html" | "video";
|
2250
|
+
value: {
|
2251
|
+
source: string;
|
2252
|
+
} & {
|
2253
|
+
title?: string | undefined;
|
2254
|
+
description?: string | undefined;
|
2255
|
+
url?: string | undefined;
|
2256
|
+
};
|
2257
|
+
order_key: number;
|
2258
|
+
} & {
|
2259
|
+
label?: string | undefined;
|
2260
|
+
chosen?: string | number | undefined;
|
2261
|
+
selected?: any[] | undefined;
|
2262
|
+
input_type?: string | undefined;
|
2263
|
+
preselected_key?: string | undefined;
|
2264
|
+
label_field?: string | undefined;
|
2265
|
+
availability_condition?: {
|
2266
|
+
field: string;
|
2267
|
+
operator: "==" | "!=" | "isTruthy" | "isFalsy";
|
2268
|
+
value: string | undefined;
|
2269
|
+
}[] | undefined;
|
2270
|
+
loaded?: any[] | undefined;
|
2271
|
+
allow_create?: boolean | undefined;
|
2272
|
+
allow_create_label?: string | undefined;
|
2273
|
+
is_private?: boolean | undefined;
|
2274
|
+
auto_choose?: boolean | undefined;
|
1791
2275
|
});
|
1792
2276
|
};
|
1793
2277
|
tags: string[];
|
@@ -1812,27 +2296,20 @@ export declare class Command {
|
|
1812
2296
|
reason?: string | undefined;
|
1813
2297
|
}))[];
|
1814
2298
|
recommend_rules: (({
|
1815
|
-
type: "always";
|
1816
|
-
} & {
|
1817
|
-
operator?: null | undefined;
|
1818
|
-
field?: null | undefined;
|
1819
|
-
value?: null | undefined;
|
1820
|
-
reason?: null | undefined;
|
1821
|
-
}) | ({
|
1822
2299
|
type: "url" | "context" | "element";
|
1823
2300
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
|
1824
2301
|
} & {
|
1825
2302
|
field?: string | undefined;
|
1826
2303
|
value?: string | undefined;
|
1827
2304
|
reason?: string | undefined;
|
1828
|
-
})
|
2305
|
+
}) | ({
|
1829
2306
|
type: "always";
|
1830
2307
|
} & {
|
1831
2308
|
operator?: null | undefined;
|
1832
2309
|
field?: null | undefined;
|
1833
2310
|
value?: null | undefined;
|
1834
2311
|
reason?: null | undefined;
|
1835
|
-
}) | ({
|
2312
|
+
}))[] | (({
|
1836
2313
|
type: "url" | "context" | "element";
|
1837
2314
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
|
1838
2315
|
} & {
|
@@ -1844,10 +2321,21 @@ export declare class Command {
|
|
1844
2321
|
rule_id: number;
|
1845
2322
|
} & {
|
1846
2323
|
reason?: string | undefined;
|
2324
|
+
}) | ({
|
2325
|
+
type: "always";
|
2326
|
+
} & {
|
2327
|
+
operator?: null | undefined;
|
2328
|
+
field?: null | undefined;
|
2329
|
+
value?: null | undefined;
|
2330
|
+
reason?: null | undefined;
|
1847
2331
|
}))[];
|
2332
|
+
availability_expression: import("./helpers/rules").RuleExpression;
|
2333
|
+
recommend_expression: import("./helpers/rules").RuleExpression;
|
2334
|
+
always_recommend: boolean;
|
1848
2335
|
confirm: string;
|
1849
2336
|
shortcut: string[];
|
1850
2337
|
explanation: string;
|
2338
|
+
heading: string;
|
1851
2339
|
is_live: boolean;
|
1852
2340
|
category: number | null;
|
1853
2341
|
sort_key: number | null;
|
@@ -1871,13 +2359,21 @@ export declare class Command {
|
|
1871
2359
|
shortcut_win: string[];
|
1872
2360
|
hotkey_mac: string;
|
1873
2361
|
hotkey_win: string;
|
1874
|
-
detail: string | {
|
2362
|
+
detail: string | ({
|
1875
2363
|
type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
|
1876
2364
|
value: string;
|
1877
|
-
}
|
2365
|
+
} & {
|
2366
|
+
position?: "inline" | "popover" | undefined;
|
2367
|
+
}) | (string | ({
|
1878
2368
|
type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
|
1879
2369
|
value: string;
|
1880
|
-
}
|
2370
|
+
} & {
|
2371
|
+
position?: "inline" | "popover" | undefined;
|
2372
|
+
}))[] | null;
|
2373
|
+
next_steps: (string | number)[];
|
2374
|
+
} & {
|
2375
|
+
third_party_source?: string | null | undefined;
|
2376
|
+
third_party_id?: string | null | undefined;
|
1881
2377
|
}, onSuccess?: (() => void) | undefined, onError?: ((err: string) => void) | undefined) => Promise<{
|
1882
2378
|
id: number;
|
1883
2379
|
organization: string | number;
|
@@ -1967,6 +2463,22 @@ export declare class Command {
|
|
1967
2463
|
object?: string | undefined;
|
1968
2464
|
hoverTooltip?: boolean | undefined;
|
1969
2465
|
operation?: "self" | "router" | "blank" | undefined;
|
2466
|
+
}) | ({
|
2467
|
+
type: "video";
|
2468
|
+
value: string;
|
2469
|
+
} & {} & {
|
2470
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
2471
|
+
object?: string | undefined;
|
2472
|
+
hoverTooltip?: boolean | undefined;
|
2473
|
+
operation?: "self" | "router" | "blank" | undefined;
|
2474
|
+
}) | ({
|
2475
|
+
type: "helpdoc";
|
2476
|
+
value: string;
|
2477
|
+
} & {} & {
|
2478
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
2479
|
+
object?: string | undefined;
|
2480
|
+
hoverTooltip?: boolean | undefined;
|
2481
|
+
operation?: "self" | "router" | "blank" | undefined;
|
1970
2482
|
});
|
1971
2483
|
} & {
|
1972
2484
|
disabledReason?: string | undefined;
|
@@ -1997,6 +2509,8 @@ export declare class Command {
|
|
1997
2509
|
allow_create_label?: string | undefined;
|
1998
2510
|
show_in_record_action_list?: boolean | undefined;
|
1999
2511
|
show_in_default_list?: boolean | undefined;
|
2512
|
+
auto_choose?: boolean | undefined;
|
2513
|
+
is_private?: boolean | undefined;
|
2000
2514
|
}) | ({
|
2001
2515
|
type: "set";
|
2002
2516
|
value: string[] | number[] | {
|
@@ -2018,6 +2532,8 @@ export declare class Command {
|
|
2018
2532
|
loaded?: any[] | undefined;
|
2019
2533
|
allow_create?: boolean | undefined;
|
2020
2534
|
allow_create_label?: string | undefined;
|
2535
|
+
auto_choose?: boolean | undefined;
|
2536
|
+
is_private?: boolean | undefined;
|
2021
2537
|
}) | ({
|
2022
2538
|
type: "provided";
|
2023
2539
|
value: "time" | "text";
|
@@ -2038,6 +2554,8 @@ export declare class Command {
|
|
2038
2554
|
dateTimeArgumentTypeId?: number | undefined;
|
2039
2555
|
allow_create?: boolean | undefined;
|
2040
2556
|
allow_create_label?: string | undefined;
|
2557
|
+
auto_choose?: boolean | undefined;
|
2558
|
+
is_private?: boolean | undefined;
|
2041
2559
|
}) | ({
|
2042
2560
|
type: "dependent";
|
2043
2561
|
value: string;
|
@@ -2057,6 +2575,8 @@ export declare class Command {
|
|
2057
2575
|
loaded?: any[] | undefined;
|
2058
2576
|
allow_create?: boolean | undefined;
|
2059
2577
|
allow_create_label?: string | undefined;
|
2578
|
+
auto_choose?: boolean | undefined;
|
2579
|
+
is_private?: boolean | undefined;
|
2060
2580
|
}) | ({
|
2061
2581
|
type: "function";
|
2062
2582
|
value: string;
|
@@ -2076,6 +2596,35 @@ export declare class Command {
|
|
2076
2596
|
loaded?: any[] | undefined;
|
2077
2597
|
allow_create?: boolean | undefined;
|
2078
2598
|
allow_create_label?: string | undefined;
|
2599
|
+
auto_choose?: boolean | undefined;
|
2600
|
+
is_private?: boolean | undefined;
|
2601
|
+
}) | ({
|
2602
|
+
type: "html" | "video";
|
2603
|
+
value: {
|
2604
|
+
source: string;
|
2605
|
+
} & {
|
2606
|
+
title?: string | undefined;
|
2607
|
+
description?: string | undefined;
|
2608
|
+
url?: string | undefined;
|
2609
|
+
};
|
2610
|
+
order_key: number;
|
2611
|
+
} & {
|
2612
|
+
label?: string | undefined;
|
2613
|
+
chosen?: string | number | undefined;
|
2614
|
+
selected?: any[] | undefined;
|
2615
|
+
input_type?: string | undefined;
|
2616
|
+
preselected_key?: string | undefined;
|
2617
|
+
label_field?: string | undefined;
|
2618
|
+
availability_condition?: {
|
2619
|
+
field: string;
|
2620
|
+
operator: "==" | "!=" | "isTruthy" | "isFalsy";
|
2621
|
+
value: string | undefined;
|
2622
|
+
}[] | undefined;
|
2623
|
+
loaded?: any[] | undefined;
|
2624
|
+
allow_create?: boolean | undefined;
|
2625
|
+
allow_create_label?: string | undefined;
|
2626
|
+
is_private?: boolean | undefined;
|
2627
|
+
auto_choose?: boolean | undefined;
|
2079
2628
|
});
|
2080
2629
|
};
|
2081
2630
|
tags: string[];
|
@@ -2100,27 +2649,20 @@ export declare class Command {
|
|
2100
2649
|
reason?: string | undefined;
|
2101
2650
|
}))[];
|
2102
2651
|
recommend_rules: (({
|
2103
|
-
type: "always";
|
2104
|
-
} & {
|
2105
|
-
operator?: null | undefined;
|
2106
|
-
field?: null | undefined;
|
2107
|
-
value?: null | undefined;
|
2108
|
-
reason?: null | undefined;
|
2109
|
-
}) | ({
|
2110
2652
|
type: "url" | "context" | "element";
|
2111
2653
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
|
2112
2654
|
} & {
|
2113
2655
|
field?: string | undefined;
|
2114
2656
|
value?: string | undefined;
|
2115
2657
|
reason?: string | undefined;
|
2116
|
-
})
|
2658
|
+
}) | ({
|
2117
2659
|
type: "always";
|
2118
2660
|
} & {
|
2119
2661
|
operator?: null | undefined;
|
2120
2662
|
field?: null | undefined;
|
2121
2663
|
value?: null | undefined;
|
2122
2664
|
reason?: null | undefined;
|
2123
|
-
}) | ({
|
2665
|
+
}))[] | (({
|
2124
2666
|
type: "url" | "context" | "element";
|
2125
2667
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
|
2126
2668
|
} & {
|
@@ -2132,10 +2674,21 @@ export declare class Command {
|
|
2132
2674
|
rule_id: number;
|
2133
2675
|
} & {
|
2134
2676
|
reason?: string | undefined;
|
2677
|
+
}) | ({
|
2678
|
+
type: "always";
|
2679
|
+
} & {
|
2680
|
+
operator?: null | undefined;
|
2681
|
+
field?: null | undefined;
|
2682
|
+
value?: null | undefined;
|
2683
|
+
reason?: null | undefined;
|
2135
2684
|
}))[];
|
2685
|
+
availability_expression: import("./helpers/rules").RuleExpression;
|
2686
|
+
recommend_expression: import("./helpers/rules").RuleExpression;
|
2687
|
+
always_recommend: boolean;
|
2136
2688
|
confirm: string;
|
2137
2689
|
shortcut: string[];
|
2138
2690
|
explanation: string;
|
2691
|
+
heading: string;
|
2139
2692
|
is_live: boolean;
|
2140
2693
|
category: number | null;
|
2141
2694
|
sort_key: number | null;
|
@@ -2159,13 +2712,21 @@ export declare class Command {
|
|
2159
2712
|
shortcut_win: string[];
|
2160
2713
|
hotkey_mac: string;
|
2161
2714
|
hotkey_win: string;
|
2162
|
-
detail: string | {
|
2715
|
+
detail: string | ({
|
2163
2716
|
type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
|
2164
2717
|
value: string;
|
2165
|
-
}
|
2718
|
+
} & {
|
2719
|
+
position?: "inline" | "popover" | undefined;
|
2720
|
+
}) | (string | ({
|
2166
2721
|
type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
|
2167
2722
|
value: string;
|
2168
|
-
}
|
2723
|
+
} & {
|
2724
|
+
position?: "inline" | "popover" | undefined;
|
2725
|
+
}))[] | null;
|
2726
|
+
next_steps: (string | number)[];
|
2727
|
+
} & {
|
2728
|
+
third_party_source?: string | null | undefined;
|
2729
|
+
third_party_id?: string | null | undefined;
|
2169
2730
|
}>;
|
2170
2731
|
static delete: (id: string | number, onSuccess?: (() => void) | undefined, onError?: ((err: string) => void) | undefined) => Promise<void>;
|
2171
2732
|
static batch: (request: t.TypeOf<typeof GenericBatchRequest>) => Promise<{
|
@@ -2258,6 +2819,22 @@ export declare class Command {
|
|
2258
2819
|
object?: string | undefined;
|
2259
2820
|
hoverTooltip?: boolean | undefined;
|
2260
2821
|
operation?: "self" | "router" | "blank" | undefined;
|
2822
|
+
}) | ({
|
2823
|
+
type: "video";
|
2824
|
+
value: string;
|
2825
|
+
} & {} & {
|
2826
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
2827
|
+
object?: string | undefined;
|
2828
|
+
hoverTooltip?: boolean | undefined;
|
2829
|
+
operation?: "self" | "router" | "blank" | undefined;
|
2830
|
+
}) | ({
|
2831
|
+
type: "helpdoc";
|
2832
|
+
value: string;
|
2833
|
+
} & {} & {
|
2834
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
2835
|
+
object?: string | undefined;
|
2836
|
+
hoverTooltip?: boolean | undefined;
|
2837
|
+
operation?: "self" | "router" | "blank" | undefined;
|
2261
2838
|
});
|
2262
2839
|
} & {
|
2263
2840
|
disabledReason?: string | undefined;
|
@@ -2288,6 +2865,8 @@ export declare class Command {
|
|
2288
2865
|
allow_create_label?: string | undefined;
|
2289
2866
|
show_in_record_action_list?: boolean | undefined;
|
2290
2867
|
show_in_default_list?: boolean | undefined;
|
2868
|
+
auto_choose?: boolean | undefined;
|
2869
|
+
is_private?: boolean | undefined;
|
2291
2870
|
}) | ({
|
2292
2871
|
type: "set";
|
2293
2872
|
value: string[] | number[] | {
|
@@ -2309,6 +2888,8 @@ export declare class Command {
|
|
2309
2888
|
loaded?: any[] | undefined;
|
2310
2889
|
allow_create?: boolean | undefined;
|
2311
2890
|
allow_create_label?: string | undefined;
|
2891
|
+
auto_choose?: boolean | undefined;
|
2892
|
+
is_private?: boolean | undefined;
|
2312
2893
|
}) | ({
|
2313
2894
|
type: "provided";
|
2314
2895
|
value: "time" | "text";
|
@@ -2329,6 +2910,8 @@ export declare class Command {
|
|
2329
2910
|
dateTimeArgumentTypeId?: number | undefined;
|
2330
2911
|
allow_create?: boolean | undefined;
|
2331
2912
|
allow_create_label?: string | undefined;
|
2913
|
+
auto_choose?: boolean | undefined;
|
2914
|
+
is_private?: boolean | undefined;
|
2332
2915
|
}) | ({
|
2333
2916
|
type: "dependent";
|
2334
2917
|
value: string;
|
@@ -2348,6 +2931,8 @@ export declare class Command {
|
|
2348
2931
|
loaded?: any[] | undefined;
|
2349
2932
|
allow_create?: boolean | undefined;
|
2350
2933
|
allow_create_label?: string | undefined;
|
2934
|
+
auto_choose?: boolean | undefined;
|
2935
|
+
is_private?: boolean | undefined;
|
2351
2936
|
}) | ({
|
2352
2937
|
type: "function";
|
2353
2938
|
value: string;
|
@@ -2367,6 +2952,35 @@ export declare class Command {
|
|
2367
2952
|
loaded?: any[] | undefined;
|
2368
2953
|
allow_create?: boolean | undefined;
|
2369
2954
|
allow_create_label?: string | undefined;
|
2955
|
+
auto_choose?: boolean | undefined;
|
2956
|
+
is_private?: boolean | undefined;
|
2957
|
+
}) | ({
|
2958
|
+
type: "html" | "video";
|
2959
|
+
value: {
|
2960
|
+
source: string;
|
2961
|
+
} & {
|
2962
|
+
title?: string | undefined;
|
2963
|
+
description?: string | undefined;
|
2964
|
+
url?: string | undefined;
|
2965
|
+
};
|
2966
|
+
order_key: number;
|
2967
|
+
} & {
|
2968
|
+
label?: string | undefined;
|
2969
|
+
chosen?: string | number | undefined;
|
2970
|
+
selected?: any[] | undefined;
|
2971
|
+
input_type?: string | undefined;
|
2972
|
+
preselected_key?: string | undefined;
|
2973
|
+
label_field?: string | undefined;
|
2974
|
+
availability_condition?: {
|
2975
|
+
field: string;
|
2976
|
+
operator: "==" | "!=" | "isTruthy" | "isFalsy";
|
2977
|
+
value: string | undefined;
|
2978
|
+
}[] | undefined;
|
2979
|
+
loaded?: any[] | undefined;
|
2980
|
+
allow_create?: boolean | undefined;
|
2981
|
+
allow_create_label?: string | undefined;
|
2982
|
+
is_private?: boolean | undefined;
|
2983
|
+
auto_choose?: boolean | undefined;
|
2370
2984
|
});
|
2371
2985
|
};
|
2372
2986
|
tags: string[];
|
@@ -2391,27 +3005,20 @@ export declare class Command {
|
|
2391
3005
|
reason?: string | undefined;
|
2392
3006
|
}))[];
|
2393
3007
|
recommend_rules: (({
|
2394
|
-
type: "always";
|
2395
|
-
} & {
|
2396
|
-
operator?: null | undefined;
|
2397
|
-
field?: null | undefined;
|
2398
|
-
value?: null | undefined;
|
2399
|
-
reason?: null | undefined;
|
2400
|
-
}) | ({
|
2401
3008
|
type: "url" | "context" | "element";
|
2402
3009
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
|
2403
3010
|
} & {
|
2404
3011
|
field?: string | undefined;
|
2405
3012
|
value?: string | undefined;
|
2406
3013
|
reason?: string | undefined;
|
2407
|
-
})
|
3014
|
+
}) | ({
|
2408
3015
|
type: "always";
|
2409
3016
|
} & {
|
2410
3017
|
operator?: null | undefined;
|
2411
3018
|
field?: null | undefined;
|
2412
3019
|
value?: null | undefined;
|
2413
3020
|
reason?: null | undefined;
|
2414
|
-
}) | ({
|
3021
|
+
}))[] | (({
|
2415
3022
|
type: "url" | "context" | "element";
|
2416
3023
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
|
2417
3024
|
} & {
|
@@ -2423,10 +3030,21 @@ export declare class Command {
|
|
2423
3030
|
rule_id: number;
|
2424
3031
|
} & {
|
2425
3032
|
reason?: string | undefined;
|
3033
|
+
}) | ({
|
3034
|
+
type: "always";
|
3035
|
+
} & {
|
3036
|
+
operator?: null | undefined;
|
3037
|
+
field?: null | undefined;
|
3038
|
+
value?: null | undefined;
|
3039
|
+
reason?: null | undefined;
|
2426
3040
|
}))[];
|
3041
|
+
availability_expression: import("./helpers/rules").RuleExpression;
|
3042
|
+
recommend_expression: import("./helpers/rules").RuleExpression;
|
3043
|
+
always_recommend: boolean;
|
2427
3044
|
confirm: string;
|
2428
3045
|
shortcut: string[];
|
2429
3046
|
explanation: string;
|
3047
|
+
heading: string;
|
2430
3048
|
is_live: boolean;
|
2431
3049
|
category: number | null;
|
2432
3050
|
sort_key: number | null;
|
@@ -2450,13 +3068,21 @@ export declare class Command {
|
|
2450
3068
|
shortcut_win: string[];
|
2451
3069
|
hotkey_mac: string;
|
2452
3070
|
hotkey_win: string;
|
2453
|
-
detail: string | {
|
3071
|
+
detail: string | ({
|
2454
3072
|
type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
|
2455
3073
|
value: string;
|
2456
|
-
}
|
3074
|
+
} & {
|
3075
|
+
position?: "inline" | "popover" | undefined;
|
3076
|
+
}) | (string | ({
|
2457
3077
|
type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
|
2458
3078
|
value: string;
|
2459
|
-
}
|
3079
|
+
} & {
|
3080
|
+
position?: "inline" | "popover" | undefined;
|
3081
|
+
}))[] | null;
|
3082
|
+
next_steps: (string | number)[];
|
3083
|
+
} & {
|
3084
|
+
third_party_source?: string | null | undefined;
|
3085
|
+
third_party_id?: string | null | undefined;
|
2460
3086
|
})[];
|
2461
3087
|
}>;
|
2462
3088
|
static validateFromClient: (data: any) => Promise<{
|
@@ -2531,6 +3157,7 @@ export declare class Command {
|
|
2531
3157
|
hotkey_win?: string | undefined;
|
2532
3158
|
tags?: string[] | undefined;
|
2533
3159
|
explanation?: string | undefined;
|
3160
|
+
heading?: string | undefined;
|
2534
3161
|
sort_key?: number | null | undefined;
|
2535
3162
|
arguments?: {
|
2536
3163
|
[x: string]: ({
|
@@ -2554,6 +3181,8 @@ export declare class Command {
|
|
2554
3181
|
allow_create_label?: string | undefined;
|
2555
3182
|
show_in_record_action_list?: boolean | undefined;
|
2556
3183
|
show_in_default_list?: boolean | undefined;
|
3184
|
+
auto_choose?: boolean | undefined;
|
3185
|
+
is_private?: boolean | undefined;
|
2557
3186
|
}) | ({
|
2558
3187
|
type: "set";
|
2559
3188
|
value: string[] | number[] | {
|
@@ -2575,6 +3204,8 @@ export declare class Command {
|
|
2575
3204
|
loaded?: any[] | undefined;
|
2576
3205
|
allow_create?: boolean | undefined;
|
2577
3206
|
allow_create_label?: string | undefined;
|
3207
|
+
auto_choose?: boolean | undefined;
|
3208
|
+
is_private?: boolean | undefined;
|
2578
3209
|
}) | ({
|
2579
3210
|
type: "provided";
|
2580
3211
|
value: "time" | "text";
|
@@ -2595,6 +3226,8 @@ export declare class Command {
|
|
2595
3226
|
dateTimeArgumentTypeId?: number | undefined;
|
2596
3227
|
allow_create?: boolean | undefined;
|
2597
3228
|
allow_create_label?: string | undefined;
|
3229
|
+
auto_choose?: boolean | undefined;
|
3230
|
+
is_private?: boolean | undefined;
|
2598
3231
|
}) | ({
|
2599
3232
|
type: "dependent";
|
2600
3233
|
value: string;
|
@@ -2614,6 +3247,8 @@ export declare class Command {
|
|
2614
3247
|
loaded?: any[] | undefined;
|
2615
3248
|
allow_create?: boolean | undefined;
|
2616
3249
|
allow_create_label?: string | undefined;
|
3250
|
+
auto_choose?: boolean | undefined;
|
3251
|
+
is_private?: boolean | undefined;
|
2617
3252
|
}) | ({
|
2618
3253
|
type: "function";
|
2619
3254
|
value: string;
|
@@ -2633,6 +3268,35 @@ export declare class Command {
|
|
2633
3268
|
loaded?: any[] | undefined;
|
2634
3269
|
allow_create?: boolean | undefined;
|
2635
3270
|
allow_create_label?: string | undefined;
|
3271
|
+
auto_choose?: boolean | undefined;
|
3272
|
+
is_private?: boolean | undefined;
|
3273
|
+
}) | ({
|
3274
|
+
type: "html" | "video";
|
3275
|
+
value: {
|
3276
|
+
source: string;
|
3277
|
+
} & {
|
3278
|
+
title?: string | undefined;
|
3279
|
+
description?: string | undefined;
|
3280
|
+
url?: string | undefined;
|
3281
|
+
};
|
3282
|
+
order_key: number;
|
3283
|
+
} & {
|
3284
|
+
label?: string | undefined;
|
3285
|
+
chosen?: string | number | undefined;
|
3286
|
+
selected?: any[] | undefined;
|
3287
|
+
input_type?: string | undefined;
|
3288
|
+
preselected_key?: string | undefined;
|
3289
|
+
label_field?: string | undefined;
|
3290
|
+
availability_condition?: {
|
3291
|
+
field: string;
|
3292
|
+
operator: "==" | "!=" | "isTruthy" | "isFalsy";
|
3293
|
+
value: string | undefined;
|
3294
|
+
}[] | undefined;
|
3295
|
+
loaded?: any[] | undefined;
|
3296
|
+
allow_create?: boolean | undefined;
|
3297
|
+
allow_create_label?: string | undefined;
|
3298
|
+
is_private?: boolean | undefined;
|
3299
|
+
auto_choose?: boolean | undefined;
|
2636
3300
|
});
|
2637
3301
|
} | undefined;
|
2638
3302
|
category?: string | number | null | undefined;
|
@@ -2660,27 +3324,33 @@ export declare class Command {
|
|
2660
3324
|
reason?: string | undefined;
|
2661
3325
|
})[] | undefined;
|
2662
3326
|
recommend_rules?: (({
|
2663
|
-
type: "always";
|
2664
|
-
} & {
|
2665
|
-
operator?: null | undefined;
|
2666
|
-
field?: null | undefined;
|
2667
|
-
value?: null | undefined;
|
2668
|
-
reason?: null | undefined;
|
2669
|
-
}) | ({
|
2670
3327
|
type: "url" | "context" | "element";
|
2671
3328
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
|
2672
3329
|
} & {
|
2673
3330
|
field?: string | undefined;
|
2674
3331
|
value?: string | undefined;
|
2675
3332
|
reason?: string | undefined;
|
3333
|
+
}) | ({
|
3334
|
+
type: "always";
|
3335
|
+
} & {
|
3336
|
+
operator?: null | undefined;
|
3337
|
+
field?: null | undefined;
|
3338
|
+
value?: null | undefined;
|
3339
|
+
reason?: null | undefined;
|
2676
3340
|
}))[] | undefined;
|
2677
|
-
|
3341
|
+
availability_expression?: import("./helpers/rules").RuleExpression[] | undefined;
|
3342
|
+
recommend_expression?: import("./helpers/rules").RuleExpression[] | undefined;
|
3343
|
+
detail?: string | ({
|
2678
3344
|
type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
|
2679
3345
|
value: string;
|
2680
|
-
}
|
3346
|
+
} & {
|
3347
|
+
position?: "inline" | "popover" | undefined;
|
3348
|
+
}) | ({
|
2681
3349
|
type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
|
2682
3350
|
value: string;
|
2683
|
-
}
|
3351
|
+
} & {
|
3352
|
+
position?: "inline" | "popover" | undefined;
|
3353
|
+
})[] | undefined;
|
2684
3354
|
}>;
|
2685
3355
|
static decode: (data: any) => {
|
2686
3356
|
id: number;
|
@@ -2771,6 +3441,22 @@ export declare class Command {
|
|
2771
3441
|
object?: string | undefined;
|
2772
3442
|
hoverTooltip?: boolean | undefined;
|
2773
3443
|
operation?: "self" | "router" | "blank" | undefined;
|
3444
|
+
}) | ({
|
3445
|
+
type: "video";
|
3446
|
+
value: string;
|
3447
|
+
} & {} & {
|
3448
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
3449
|
+
object?: string | undefined;
|
3450
|
+
hoverTooltip?: boolean | undefined;
|
3451
|
+
operation?: "self" | "router" | "blank" | undefined;
|
3452
|
+
}) | ({
|
3453
|
+
type: "helpdoc";
|
3454
|
+
value: string;
|
3455
|
+
} & {} & {
|
3456
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
3457
|
+
object?: string | undefined;
|
3458
|
+
hoverTooltip?: boolean | undefined;
|
3459
|
+
operation?: "self" | "router" | "blank" | undefined;
|
2774
3460
|
});
|
2775
3461
|
} & {
|
2776
3462
|
disabledReason?: string | undefined;
|
@@ -2801,6 +3487,8 @@ export declare class Command {
|
|
2801
3487
|
allow_create_label?: string | undefined;
|
2802
3488
|
show_in_record_action_list?: boolean | undefined;
|
2803
3489
|
show_in_default_list?: boolean | undefined;
|
3490
|
+
auto_choose?: boolean | undefined;
|
3491
|
+
is_private?: boolean | undefined;
|
2804
3492
|
}) | ({
|
2805
3493
|
type: "set";
|
2806
3494
|
value: string[] | number[] | {
|
@@ -2822,6 +3510,8 @@ export declare class Command {
|
|
2822
3510
|
loaded?: any[] | undefined;
|
2823
3511
|
allow_create?: boolean | undefined;
|
2824
3512
|
allow_create_label?: string | undefined;
|
3513
|
+
auto_choose?: boolean | undefined;
|
3514
|
+
is_private?: boolean | undefined;
|
2825
3515
|
}) | ({
|
2826
3516
|
type: "provided";
|
2827
3517
|
value: "time" | "text";
|
@@ -2842,6 +3532,8 @@ export declare class Command {
|
|
2842
3532
|
dateTimeArgumentTypeId?: number | undefined;
|
2843
3533
|
allow_create?: boolean | undefined;
|
2844
3534
|
allow_create_label?: string | undefined;
|
3535
|
+
auto_choose?: boolean | undefined;
|
3536
|
+
is_private?: boolean | undefined;
|
2845
3537
|
}) | ({
|
2846
3538
|
type: "dependent";
|
2847
3539
|
value: string;
|
@@ -2861,6 +3553,8 @@ export declare class Command {
|
|
2861
3553
|
loaded?: any[] | undefined;
|
2862
3554
|
allow_create?: boolean | undefined;
|
2863
3555
|
allow_create_label?: string | undefined;
|
3556
|
+
auto_choose?: boolean | undefined;
|
3557
|
+
is_private?: boolean | undefined;
|
2864
3558
|
}) | ({
|
2865
3559
|
type: "function";
|
2866
3560
|
value: string;
|
@@ -2880,6 +3574,35 @@ export declare class Command {
|
|
2880
3574
|
loaded?: any[] | undefined;
|
2881
3575
|
allow_create?: boolean | undefined;
|
2882
3576
|
allow_create_label?: string | undefined;
|
3577
|
+
auto_choose?: boolean | undefined;
|
3578
|
+
is_private?: boolean | undefined;
|
3579
|
+
}) | ({
|
3580
|
+
type: "html" | "video";
|
3581
|
+
value: {
|
3582
|
+
source: string;
|
3583
|
+
} & {
|
3584
|
+
title?: string | undefined;
|
3585
|
+
description?: string | undefined;
|
3586
|
+
url?: string | undefined;
|
3587
|
+
};
|
3588
|
+
order_key: number;
|
3589
|
+
} & {
|
3590
|
+
label?: string | undefined;
|
3591
|
+
chosen?: string | number | undefined;
|
3592
|
+
selected?: any[] | undefined;
|
3593
|
+
input_type?: string | undefined;
|
3594
|
+
preselected_key?: string | undefined;
|
3595
|
+
label_field?: string | undefined;
|
3596
|
+
availability_condition?: {
|
3597
|
+
field: string;
|
3598
|
+
operator: "==" | "!=" | "isTruthy" | "isFalsy";
|
3599
|
+
value: string | undefined;
|
3600
|
+
}[] | undefined;
|
3601
|
+
loaded?: any[] | undefined;
|
3602
|
+
allow_create?: boolean | undefined;
|
3603
|
+
allow_create_label?: string | undefined;
|
3604
|
+
is_private?: boolean | undefined;
|
3605
|
+
auto_choose?: boolean | undefined;
|
2883
3606
|
});
|
2884
3607
|
};
|
2885
3608
|
tags: string[];
|
@@ -2892,23 +3615,27 @@ export declare class Command {
|
|
2892
3615
|
reason?: string | undefined;
|
2893
3616
|
})[];
|
2894
3617
|
recommend_rules: (({
|
2895
|
-
type: "always";
|
2896
|
-
} & {
|
2897
|
-
operator?: null | undefined;
|
2898
|
-
field?: null | undefined;
|
2899
|
-
value?: null | undefined;
|
2900
|
-
reason?: null | undefined;
|
2901
|
-
}) | ({
|
2902
3618
|
type: "url" | "context" | "element";
|
2903
3619
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
|
2904
3620
|
} & {
|
2905
3621
|
field?: string | undefined;
|
2906
3622
|
value?: string | undefined;
|
2907
3623
|
reason?: string | undefined;
|
3624
|
+
}) | ({
|
3625
|
+
type: "always";
|
3626
|
+
} & {
|
3627
|
+
operator?: null | undefined;
|
3628
|
+
field?: null | undefined;
|
3629
|
+
value?: null | undefined;
|
3630
|
+
reason?: null | undefined;
|
2908
3631
|
}))[];
|
3632
|
+
availability_expression: import("./helpers/rules").RuleExpression | null;
|
3633
|
+
recommend_expression: import("./helpers/rules").RuleExpression | null;
|
3634
|
+
always_recommend: boolean;
|
2909
3635
|
confirm: string;
|
2910
3636
|
shortcut: string[];
|
2911
3637
|
explanation: string;
|
3638
|
+
heading: string;
|
2912
3639
|
is_live: boolean;
|
2913
3640
|
category: number | null;
|
2914
3641
|
sort_key: number | null;
|
@@ -2932,15 +3659,20 @@ export declare class Command {
|
|
2932
3659
|
shortcut_win: string[];
|
2933
3660
|
hotkey_mac: string;
|
2934
3661
|
hotkey_win: string;
|
2935
|
-
detail: string | {
|
3662
|
+
detail: string | ({
|
2936
3663
|
type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
|
2937
3664
|
value: string;
|
2938
|
-
}
|
3665
|
+
} & {
|
3666
|
+
position?: "inline" | "popover" | undefined;
|
3667
|
+
}) | (string | ({
|
2939
3668
|
type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
|
2940
3669
|
value: string;
|
2941
|
-
}
|
3670
|
+
} & {
|
3671
|
+
position?: "inline" | "popover" | undefined;
|
3672
|
+
}))[] | null;
|
3673
|
+
next_steps: (string | number)[];
|
2942
3674
|
};
|
2943
|
-
static decodeEditorCommand: (data:
|
3675
|
+
static decodeEditorCommand: (data: {
|
2944
3676
|
id: number;
|
2945
3677
|
organization: string | number;
|
2946
3678
|
text: string;
|
@@ -3029,6 +3761,136 @@ export declare class Command {
|
|
3029
3761
|
object?: string | undefined;
|
3030
3762
|
hoverTooltip?: boolean | undefined;
|
3031
3763
|
operation?: "self" | "router" | "blank" | undefined;
|
3764
|
+
}) | ({
|
3765
|
+
type: "video";
|
3766
|
+
value: string;
|
3767
|
+
} & {} & {
|
3768
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
3769
|
+
object?: string | undefined;
|
3770
|
+
hoverTooltip?: boolean | undefined;
|
3771
|
+
operation?: "self" | "router" | "blank" | undefined;
|
3772
|
+
}) | ({
|
3773
|
+
type: "helpdoc";
|
3774
|
+
value: string;
|
3775
|
+
} & {} & {
|
3776
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
3777
|
+
object?: string | undefined;
|
3778
|
+
hoverTooltip?: boolean | undefined;
|
3779
|
+
operation?: "self" | "router" | "blank" | undefined;
|
3780
|
+
});
|
3781
|
+
} & {
|
3782
|
+
disabledReason?: string | undefined;
|
3783
|
+
source?: string | undefined;
|
3784
|
+
name?: string | undefined;
|
3785
|
+
last_available?: string | null | undefined;
|
3786
|
+
modified?: string | undefined;
|
3787
|
+
} & {
|
3788
|
+
[key: string]: any;
|
3789
|
+
}) => {
|
3790
|
+
id: number;
|
3791
|
+
organization: string | number;
|
3792
|
+
text: string;
|
3793
|
+
template: ({
|
3794
|
+
type: "admin";
|
3795
|
+
value: string;
|
3796
|
+
} & {} & {
|
3797
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
3798
|
+
object?: string | undefined;
|
3799
|
+
hoverTooltip?: boolean | undefined;
|
3800
|
+
operation?: "self" | "router" | "blank" | undefined;
|
3801
|
+
}) | ({
|
3802
|
+
type: "callback";
|
3803
|
+
value: string;
|
3804
|
+
} & {} & {
|
3805
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
3806
|
+
object?: string | undefined;
|
3807
|
+
hoverTooltip?: boolean | undefined;
|
3808
|
+
operation?: "self" | "router" | "blank" | undefined;
|
3809
|
+
}) | ({
|
3810
|
+
type: "link";
|
3811
|
+
value: string;
|
3812
|
+
} & {} & {
|
3813
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
3814
|
+
object?: string | undefined;
|
3815
|
+
hoverTooltip?: boolean | undefined;
|
3816
|
+
operation?: "self" | "router" | "blank" | undefined;
|
3817
|
+
}) | ({
|
3818
|
+
type: "click" | "clickByXpath" | "clickBySelector";
|
3819
|
+
value: string[];
|
3820
|
+
} & {} & {
|
3821
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
3822
|
+
object?: string | undefined;
|
3823
|
+
hoverTooltip?: boolean | undefined;
|
3824
|
+
operation?: "self" | "router" | "blank" | undefined;
|
3825
|
+
}) | ({
|
3826
|
+
type: "builtin";
|
3827
|
+
value: string;
|
3828
|
+
} & {} & {
|
3829
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
3830
|
+
object?: string | undefined;
|
3831
|
+
hoverTooltip?: boolean | undefined;
|
3832
|
+
operation?: "self" | "router" | "blank" | undefined;
|
3833
|
+
}) | ({
|
3834
|
+
type: "webhook";
|
3835
|
+
value: string;
|
3836
|
+
} & {} & {
|
3837
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
3838
|
+
object?: string | undefined;
|
3839
|
+
hoverTooltip?: boolean | undefined;
|
3840
|
+
operation?: "self" | "router" | "blank" | undefined;
|
3841
|
+
}) | ({
|
3842
|
+
type: "script";
|
3843
|
+
value: string;
|
3844
|
+
} & {} & {
|
3845
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
3846
|
+
object?: string | undefined;
|
3847
|
+
hoverTooltip?: boolean | undefined;
|
3848
|
+
operation?: "self" | "router" | "blank" | undefined;
|
3849
|
+
}) | ({
|
3850
|
+
type: "request";
|
3851
|
+
value: {
|
3852
|
+
method: "head" | "options" | "get" | "delete" | "post" | "put" | "patch";
|
3853
|
+
url: string;
|
3854
|
+
} & {
|
3855
|
+
headers?: {
|
3856
|
+
[key: string]: unknown;
|
3857
|
+
} | undefined;
|
3858
|
+
body?: {
|
3859
|
+
[key: string]: unknown;
|
3860
|
+
} | undefined;
|
3861
|
+
onSend?: string | undefined;
|
3862
|
+
onSuccess?: string | undefined;
|
3863
|
+
onError?: string | undefined;
|
3864
|
+
};
|
3865
|
+
} & {} & {
|
3866
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
3867
|
+
object?: string | undefined;
|
3868
|
+
hoverTooltip?: boolean | undefined;
|
3869
|
+
operation?: "self" | "router" | "blank" | undefined;
|
3870
|
+
}) | ({
|
3871
|
+
type: "appcues";
|
3872
|
+
value: string;
|
3873
|
+
} & {} & {
|
3874
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
3875
|
+
object?: string | undefined;
|
3876
|
+
hoverTooltip?: boolean | undefined;
|
3877
|
+
operation?: "self" | "router" | "blank" | undefined;
|
3878
|
+
}) | ({
|
3879
|
+
type: "video";
|
3880
|
+
value: string;
|
3881
|
+
} & {} & {
|
3882
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
3883
|
+
object?: string | undefined;
|
3884
|
+
hoverTooltip?: boolean | undefined;
|
3885
|
+
operation?: "self" | "router" | "blank" | undefined;
|
3886
|
+
}) | ({
|
3887
|
+
type: "helpdoc";
|
3888
|
+
value: string;
|
3889
|
+
} & {} & {
|
3890
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
3891
|
+
object?: string | undefined;
|
3892
|
+
hoverTooltip?: boolean | undefined;
|
3893
|
+
operation?: "self" | "router" | "blank" | undefined;
|
3032
3894
|
});
|
3033
3895
|
} & {
|
3034
3896
|
disabledReason?: string | undefined;
|
@@ -3059,6 +3921,8 @@ export declare class Command {
|
|
3059
3921
|
allow_create_label?: string | undefined;
|
3060
3922
|
show_in_record_action_list?: boolean | undefined;
|
3061
3923
|
show_in_default_list?: boolean | undefined;
|
3924
|
+
auto_choose?: boolean | undefined;
|
3925
|
+
is_private?: boolean | undefined;
|
3062
3926
|
}) | ({
|
3063
3927
|
type: "set";
|
3064
3928
|
value: string[] | number[] | {
|
@@ -3080,6 +3944,8 @@ export declare class Command {
|
|
3080
3944
|
loaded?: any[] | undefined;
|
3081
3945
|
allow_create?: boolean | undefined;
|
3082
3946
|
allow_create_label?: string | undefined;
|
3947
|
+
auto_choose?: boolean | undefined;
|
3948
|
+
is_private?: boolean | undefined;
|
3083
3949
|
}) | ({
|
3084
3950
|
type: "provided";
|
3085
3951
|
value: "time" | "text";
|
@@ -3100,6 +3966,8 @@ export declare class Command {
|
|
3100
3966
|
dateTimeArgumentTypeId?: number | undefined;
|
3101
3967
|
allow_create?: boolean | undefined;
|
3102
3968
|
allow_create_label?: string | undefined;
|
3969
|
+
auto_choose?: boolean | undefined;
|
3970
|
+
is_private?: boolean | undefined;
|
3103
3971
|
}) | ({
|
3104
3972
|
type: "dependent";
|
3105
3973
|
value: string;
|
@@ -3119,6 +3987,8 @@ export declare class Command {
|
|
3119
3987
|
loaded?: any[] | undefined;
|
3120
3988
|
allow_create?: boolean | undefined;
|
3121
3989
|
allow_create_label?: string | undefined;
|
3990
|
+
auto_choose?: boolean | undefined;
|
3991
|
+
is_private?: boolean | undefined;
|
3122
3992
|
}) | ({
|
3123
3993
|
type: "function";
|
3124
3994
|
value: string;
|
@@ -3138,6 +4008,35 @@ export declare class Command {
|
|
3138
4008
|
loaded?: any[] | undefined;
|
3139
4009
|
allow_create?: boolean | undefined;
|
3140
4010
|
allow_create_label?: string | undefined;
|
4011
|
+
auto_choose?: boolean | undefined;
|
4012
|
+
is_private?: boolean | undefined;
|
4013
|
+
}) | ({
|
4014
|
+
type: "html" | "video";
|
4015
|
+
value: {
|
4016
|
+
source: string;
|
4017
|
+
} & {
|
4018
|
+
title?: string | undefined;
|
4019
|
+
description?: string | undefined;
|
4020
|
+
url?: string | undefined;
|
4021
|
+
};
|
4022
|
+
order_key: number;
|
4023
|
+
} & {
|
4024
|
+
label?: string | undefined;
|
4025
|
+
chosen?: string | number | undefined;
|
4026
|
+
selected?: any[] | undefined;
|
4027
|
+
input_type?: string | undefined;
|
4028
|
+
preselected_key?: string | undefined;
|
4029
|
+
label_field?: string | undefined;
|
4030
|
+
availability_condition?: {
|
4031
|
+
field: string;
|
4032
|
+
operator: "==" | "!=" | "isTruthy" | "isFalsy";
|
4033
|
+
value: string | undefined;
|
4034
|
+
}[] | undefined;
|
4035
|
+
loaded?: any[] | undefined;
|
4036
|
+
allow_create?: boolean | undefined;
|
4037
|
+
allow_create_label?: string | undefined;
|
4038
|
+
is_private?: boolean | undefined;
|
4039
|
+
auto_choose?: boolean | undefined;
|
3141
4040
|
});
|
3142
4041
|
};
|
3143
4042
|
tags: string[];
|
@@ -3162,27 +4061,20 @@ export declare class Command {
|
|
3162
4061
|
reason?: string | undefined;
|
3163
4062
|
}))[];
|
3164
4063
|
recommend_rules: (({
|
3165
|
-
type: "always";
|
3166
|
-
} & {
|
3167
|
-
operator?: null | undefined;
|
3168
|
-
field?: null | undefined;
|
3169
|
-
value?: null | undefined;
|
3170
|
-
reason?: null | undefined;
|
3171
|
-
}) | ({
|
3172
4064
|
type: "url" | "context" | "element";
|
3173
4065
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
|
3174
4066
|
} & {
|
3175
4067
|
field?: string | undefined;
|
3176
4068
|
value?: string | undefined;
|
3177
4069
|
reason?: string | undefined;
|
3178
|
-
})
|
4070
|
+
}) | ({
|
3179
4071
|
type: "always";
|
3180
4072
|
} & {
|
3181
4073
|
operator?: null | undefined;
|
3182
4074
|
field?: null | undefined;
|
3183
4075
|
value?: null | undefined;
|
3184
4076
|
reason?: null | undefined;
|
3185
|
-
}) | ({
|
4077
|
+
}))[] | (({
|
3186
4078
|
type: "url" | "context" | "element";
|
3187
4079
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
|
3188
4080
|
} & {
|
@@ -3194,10 +4086,21 @@ export declare class Command {
|
|
3194
4086
|
rule_id: number;
|
3195
4087
|
} & {
|
3196
4088
|
reason?: string | undefined;
|
4089
|
+
}) | ({
|
4090
|
+
type: "always";
|
4091
|
+
} & {
|
4092
|
+
operator?: null | undefined;
|
4093
|
+
field?: null | undefined;
|
4094
|
+
value?: null | undefined;
|
4095
|
+
reason?: null | undefined;
|
3197
4096
|
}))[];
|
4097
|
+
availability_expression: import("./helpers/rules").RuleExpression;
|
4098
|
+
recommend_expression: import("./helpers/rules").RuleExpression;
|
4099
|
+
always_recommend: boolean;
|
3198
4100
|
confirm: string;
|
3199
4101
|
shortcut: string[];
|
3200
4102
|
explanation: string;
|
4103
|
+
heading: string;
|
3201
4104
|
is_live: boolean;
|
3202
4105
|
category: number | null;
|
3203
4106
|
sort_key: number | null;
|
@@ -3221,13 +4124,21 @@ export declare class Command {
|
|
3221
4124
|
shortcut_win: string[];
|
3222
4125
|
hotkey_mac: string;
|
3223
4126
|
hotkey_win: string;
|
3224
|
-
detail: string | {
|
4127
|
+
detail: string | ({
|
3225
4128
|
type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
|
3226
4129
|
value: string;
|
3227
|
-
}
|
4130
|
+
} & {
|
4131
|
+
position?: "inline" | "popover" | undefined;
|
4132
|
+
}) | (string | ({
|
3228
4133
|
type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
|
3229
4134
|
value: string;
|
3230
|
-
}
|
4135
|
+
} & {
|
4136
|
+
position?: "inline" | "popover" | undefined;
|
4137
|
+
}))[] | null;
|
4138
|
+
next_steps: (string | number)[];
|
4139
|
+
} & {
|
4140
|
+
third_party_source?: string | null | undefined;
|
4141
|
+
third_party_id?: string | null | undefined;
|
3231
4142
|
};
|
3232
4143
|
static createWithoutThrottle: (object: {
|
3233
4144
|
id: number;
|
@@ -3318,6 +4229,22 @@ export declare class Command {
|
|
3318
4229
|
object?: string | undefined;
|
3319
4230
|
hoverTooltip?: boolean | undefined;
|
3320
4231
|
operation?: "self" | "router" | "blank" | undefined;
|
4232
|
+
}) | ({
|
4233
|
+
type: "video";
|
4234
|
+
value: string;
|
4235
|
+
} & {} & {
|
4236
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
4237
|
+
object?: string | undefined;
|
4238
|
+
hoverTooltip?: boolean | undefined;
|
4239
|
+
operation?: "self" | "router" | "blank" | undefined;
|
4240
|
+
}) | ({
|
4241
|
+
type: "helpdoc";
|
4242
|
+
value: string;
|
4243
|
+
} & {} & {
|
4244
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
4245
|
+
object?: string | undefined;
|
4246
|
+
hoverTooltip?: boolean | undefined;
|
4247
|
+
operation?: "self" | "router" | "blank" | undefined;
|
3321
4248
|
});
|
3322
4249
|
} & {
|
3323
4250
|
disabledReason?: string | undefined;
|
@@ -3348,6 +4275,8 @@ export declare class Command {
|
|
3348
4275
|
allow_create_label?: string | undefined;
|
3349
4276
|
show_in_record_action_list?: boolean | undefined;
|
3350
4277
|
show_in_default_list?: boolean | undefined;
|
4278
|
+
auto_choose?: boolean | undefined;
|
4279
|
+
is_private?: boolean | undefined;
|
3351
4280
|
}) | ({
|
3352
4281
|
type: "set";
|
3353
4282
|
value: string[] | number[] | {
|
@@ -3369,6 +4298,8 @@ export declare class Command {
|
|
3369
4298
|
loaded?: any[] | undefined;
|
3370
4299
|
allow_create?: boolean | undefined;
|
3371
4300
|
allow_create_label?: string | undefined;
|
4301
|
+
auto_choose?: boolean | undefined;
|
4302
|
+
is_private?: boolean | undefined;
|
3372
4303
|
}) | ({
|
3373
4304
|
type: "provided";
|
3374
4305
|
value: "time" | "text";
|
@@ -3389,6 +4320,8 @@ export declare class Command {
|
|
3389
4320
|
dateTimeArgumentTypeId?: number | undefined;
|
3390
4321
|
allow_create?: boolean | undefined;
|
3391
4322
|
allow_create_label?: string | undefined;
|
4323
|
+
auto_choose?: boolean | undefined;
|
4324
|
+
is_private?: boolean | undefined;
|
3392
4325
|
}) | ({
|
3393
4326
|
type: "dependent";
|
3394
4327
|
value: string;
|
@@ -3408,6 +4341,8 @@ export declare class Command {
|
|
3408
4341
|
loaded?: any[] | undefined;
|
3409
4342
|
allow_create?: boolean | undefined;
|
3410
4343
|
allow_create_label?: string | undefined;
|
4344
|
+
auto_choose?: boolean | undefined;
|
4345
|
+
is_private?: boolean | undefined;
|
3411
4346
|
}) | ({
|
3412
4347
|
type: "function";
|
3413
4348
|
value: string;
|
@@ -3427,6 +4362,35 @@ export declare class Command {
|
|
3427
4362
|
loaded?: any[] | undefined;
|
3428
4363
|
allow_create?: boolean | undefined;
|
3429
4364
|
allow_create_label?: string | undefined;
|
4365
|
+
auto_choose?: boolean | undefined;
|
4366
|
+
is_private?: boolean | undefined;
|
4367
|
+
}) | ({
|
4368
|
+
type: "html" | "video";
|
4369
|
+
value: {
|
4370
|
+
source: string;
|
4371
|
+
} & {
|
4372
|
+
title?: string | undefined;
|
4373
|
+
description?: string | undefined;
|
4374
|
+
url?: string | undefined;
|
4375
|
+
};
|
4376
|
+
order_key: number;
|
4377
|
+
} & {
|
4378
|
+
label?: string | undefined;
|
4379
|
+
chosen?: string | number | undefined;
|
4380
|
+
selected?: any[] | undefined;
|
4381
|
+
input_type?: string | undefined;
|
4382
|
+
preselected_key?: string | undefined;
|
4383
|
+
label_field?: string | undefined;
|
4384
|
+
availability_condition?: {
|
4385
|
+
field: string;
|
4386
|
+
operator: "==" | "!=" | "isTruthy" | "isFalsy";
|
4387
|
+
value: string | undefined;
|
4388
|
+
}[] | undefined;
|
4389
|
+
loaded?: any[] | undefined;
|
4390
|
+
allow_create?: boolean | undefined;
|
4391
|
+
allow_create_label?: string | undefined;
|
4392
|
+
is_private?: boolean | undefined;
|
4393
|
+
auto_choose?: boolean | undefined;
|
3430
4394
|
});
|
3431
4395
|
};
|
3432
4396
|
tags: string[];
|
@@ -3451,27 +4415,20 @@ export declare class Command {
|
|
3451
4415
|
reason?: string | undefined;
|
3452
4416
|
}))[];
|
3453
4417
|
recommend_rules: (({
|
3454
|
-
type: "always";
|
3455
|
-
} & {
|
3456
|
-
operator?: null | undefined;
|
3457
|
-
field?: null | undefined;
|
3458
|
-
value?: null | undefined;
|
3459
|
-
reason?: null | undefined;
|
3460
|
-
}) | ({
|
3461
4418
|
type: "url" | "context" | "element";
|
3462
4419
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
|
3463
4420
|
} & {
|
3464
4421
|
field?: string | undefined;
|
3465
4422
|
value?: string | undefined;
|
3466
4423
|
reason?: string | undefined;
|
3467
|
-
})
|
4424
|
+
}) | ({
|
3468
4425
|
type: "always";
|
3469
4426
|
} & {
|
3470
4427
|
operator?: null | undefined;
|
3471
4428
|
field?: null | undefined;
|
3472
4429
|
value?: null | undefined;
|
3473
4430
|
reason?: null | undefined;
|
3474
|
-
}) | ({
|
4431
|
+
}))[] | (({
|
3475
4432
|
type: "url" | "context" | "element";
|
3476
4433
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
|
3477
4434
|
} & {
|
@@ -3483,10 +4440,21 @@ export declare class Command {
|
|
3483
4440
|
rule_id: number;
|
3484
4441
|
} & {
|
3485
4442
|
reason?: string | undefined;
|
4443
|
+
}) | ({
|
4444
|
+
type: "always";
|
4445
|
+
} & {
|
4446
|
+
operator?: null | undefined;
|
4447
|
+
field?: null | undefined;
|
4448
|
+
value?: null | undefined;
|
4449
|
+
reason?: null | undefined;
|
3486
4450
|
}))[];
|
4451
|
+
availability_expression: import("./helpers/rules").RuleExpression;
|
4452
|
+
recommend_expression: import("./helpers/rules").RuleExpression;
|
4453
|
+
always_recommend: boolean;
|
3487
4454
|
confirm: string;
|
3488
4455
|
shortcut: string[];
|
3489
4456
|
explanation: string;
|
4457
|
+
heading: string;
|
3490
4458
|
is_live: boolean;
|
3491
4459
|
category: number | null;
|
3492
4460
|
sort_key: number | null;
|
@@ -3510,13 +4478,21 @@ export declare class Command {
|
|
3510
4478
|
shortcut_win: string[];
|
3511
4479
|
hotkey_mac: string;
|
3512
4480
|
hotkey_win: string;
|
3513
|
-
detail: string | {
|
4481
|
+
detail: string | ({
|
3514
4482
|
type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
|
3515
4483
|
value: string;
|
3516
|
-
}
|
4484
|
+
} & {
|
4485
|
+
position?: "inline" | "popover" | undefined;
|
4486
|
+
}) | (string | ({
|
3517
4487
|
type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
|
3518
4488
|
value: string;
|
3519
|
-
}
|
4489
|
+
} & {
|
4490
|
+
position?: "inline" | "popover" | undefined;
|
4491
|
+
}))[] | null;
|
4492
|
+
next_steps: (string | number)[];
|
4493
|
+
} & {
|
4494
|
+
third_party_source?: string | null | undefined;
|
4495
|
+
third_party_id?: string | null | undefined;
|
3520
4496
|
}, onSuccess?: (() => void) | undefined, onError?: ((err: string) => void) | undefined) => Promise<{
|
3521
4497
|
id: number;
|
3522
4498
|
organization: string | number;
|
@@ -3606,6 +4582,22 @@ export declare class Command {
|
|
3606
4582
|
object?: string | undefined;
|
3607
4583
|
hoverTooltip?: boolean | undefined;
|
3608
4584
|
operation?: "self" | "router" | "blank" | undefined;
|
4585
|
+
}) | ({
|
4586
|
+
type: "video";
|
4587
|
+
value: string;
|
4588
|
+
} & {} & {
|
4589
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
4590
|
+
object?: string | undefined;
|
4591
|
+
hoverTooltip?: boolean | undefined;
|
4592
|
+
operation?: "self" | "router" | "blank" | undefined;
|
4593
|
+
}) | ({
|
4594
|
+
type: "helpdoc";
|
4595
|
+
value: string;
|
4596
|
+
} & {} & {
|
4597
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
4598
|
+
object?: string | undefined;
|
4599
|
+
hoverTooltip?: boolean | undefined;
|
4600
|
+
operation?: "self" | "router" | "blank" | undefined;
|
3609
4601
|
});
|
3610
4602
|
} & {
|
3611
4603
|
disabledReason?: string | undefined;
|
@@ -3636,6 +4628,8 @@ export declare class Command {
|
|
3636
4628
|
allow_create_label?: string | undefined;
|
3637
4629
|
show_in_record_action_list?: boolean | undefined;
|
3638
4630
|
show_in_default_list?: boolean | undefined;
|
4631
|
+
auto_choose?: boolean | undefined;
|
4632
|
+
is_private?: boolean | undefined;
|
3639
4633
|
}) | ({
|
3640
4634
|
type: "set";
|
3641
4635
|
value: string[] | number[] | {
|
@@ -3657,6 +4651,8 @@ export declare class Command {
|
|
3657
4651
|
loaded?: any[] | undefined;
|
3658
4652
|
allow_create?: boolean | undefined;
|
3659
4653
|
allow_create_label?: string | undefined;
|
4654
|
+
auto_choose?: boolean | undefined;
|
4655
|
+
is_private?: boolean | undefined;
|
3660
4656
|
}) | ({
|
3661
4657
|
type: "provided";
|
3662
4658
|
value: "time" | "text";
|
@@ -3677,6 +4673,8 @@ export declare class Command {
|
|
3677
4673
|
dateTimeArgumentTypeId?: number | undefined;
|
3678
4674
|
allow_create?: boolean | undefined;
|
3679
4675
|
allow_create_label?: string | undefined;
|
4676
|
+
auto_choose?: boolean | undefined;
|
4677
|
+
is_private?: boolean | undefined;
|
3680
4678
|
}) | ({
|
3681
4679
|
type: "dependent";
|
3682
4680
|
value: string;
|
@@ -3696,6 +4694,8 @@ export declare class Command {
|
|
3696
4694
|
loaded?: any[] | undefined;
|
3697
4695
|
allow_create?: boolean | undefined;
|
3698
4696
|
allow_create_label?: string | undefined;
|
4697
|
+
auto_choose?: boolean | undefined;
|
4698
|
+
is_private?: boolean | undefined;
|
3699
4699
|
}) | ({
|
3700
4700
|
type: "function";
|
3701
4701
|
value: string;
|
@@ -3715,6 +4715,35 @@ export declare class Command {
|
|
3715
4715
|
loaded?: any[] | undefined;
|
3716
4716
|
allow_create?: boolean | undefined;
|
3717
4717
|
allow_create_label?: string | undefined;
|
4718
|
+
auto_choose?: boolean | undefined;
|
4719
|
+
is_private?: boolean | undefined;
|
4720
|
+
}) | ({
|
4721
|
+
type: "html" | "video";
|
4722
|
+
value: {
|
4723
|
+
source: string;
|
4724
|
+
} & {
|
4725
|
+
title?: string | undefined;
|
4726
|
+
description?: string | undefined;
|
4727
|
+
url?: string | undefined;
|
4728
|
+
};
|
4729
|
+
order_key: number;
|
4730
|
+
} & {
|
4731
|
+
label?: string | undefined;
|
4732
|
+
chosen?: string | number | undefined;
|
4733
|
+
selected?: any[] | undefined;
|
4734
|
+
input_type?: string | undefined;
|
4735
|
+
preselected_key?: string | undefined;
|
4736
|
+
label_field?: string | undefined;
|
4737
|
+
availability_condition?: {
|
4738
|
+
field: string;
|
4739
|
+
operator: "==" | "!=" | "isTruthy" | "isFalsy";
|
4740
|
+
value: string | undefined;
|
4741
|
+
}[] | undefined;
|
4742
|
+
loaded?: any[] | undefined;
|
4743
|
+
allow_create?: boolean | undefined;
|
4744
|
+
allow_create_label?: string | undefined;
|
4745
|
+
is_private?: boolean | undefined;
|
4746
|
+
auto_choose?: boolean | undefined;
|
3718
4747
|
});
|
3719
4748
|
};
|
3720
4749
|
tags: string[];
|
@@ -3739,27 +4768,20 @@ export declare class Command {
|
|
3739
4768
|
reason?: string | undefined;
|
3740
4769
|
}))[];
|
3741
4770
|
recommend_rules: (({
|
3742
|
-
type: "always";
|
3743
|
-
} & {
|
3744
|
-
operator?: null | undefined;
|
3745
|
-
field?: null | undefined;
|
3746
|
-
value?: null | undefined;
|
3747
|
-
reason?: null | undefined;
|
3748
|
-
}) | ({
|
3749
4771
|
type: "url" | "context" | "element";
|
3750
4772
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
|
3751
4773
|
} & {
|
3752
4774
|
field?: string | undefined;
|
3753
4775
|
value?: string | undefined;
|
3754
4776
|
reason?: string | undefined;
|
3755
|
-
})
|
4777
|
+
}) | ({
|
3756
4778
|
type: "always";
|
3757
4779
|
} & {
|
3758
4780
|
operator?: null | undefined;
|
3759
4781
|
field?: null | undefined;
|
3760
4782
|
value?: null | undefined;
|
3761
4783
|
reason?: null | undefined;
|
3762
|
-
}) | ({
|
4784
|
+
}))[] | (({
|
3763
4785
|
type: "url" | "context" | "element";
|
3764
4786
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
|
3765
4787
|
} & {
|
@@ -3771,10 +4793,21 @@ export declare class Command {
|
|
3771
4793
|
rule_id: number;
|
3772
4794
|
} & {
|
3773
4795
|
reason?: string | undefined;
|
4796
|
+
}) | ({
|
4797
|
+
type: "always";
|
4798
|
+
} & {
|
4799
|
+
operator?: null | undefined;
|
4800
|
+
field?: null | undefined;
|
4801
|
+
value?: null | undefined;
|
4802
|
+
reason?: null | undefined;
|
3774
4803
|
}))[];
|
4804
|
+
availability_expression: import("./helpers/rules").RuleExpression;
|
4805
|
+
recommend_expression: import("./helpers/rules").RuleExpression;
|
4806
|
+
always_recommend: boolean;
|
3775
4807
|
confirm: string;
|
3776
4808
|
shortcut: string[];
|
3777
4809
|
explanation: string;
|
4810
|
+
heading: string;
|
3778
4811
|
is_live: boolean;
|
3779
4812
|
category: number | null;
|
3780
4813
|
sort_key: number | null;
|
@@ -3798,13 +4831,21 @@ export declare class Command {
|
|
3798
4831
|
shortcut_win: string[];
|
3799
4832
|
hotkey_mac: string;
|
3800
4833
|
hotkey_win: string;
|
3801
|
-
detail: string | {
|
4834
|
+
detail: string | ({
|
3802
4835
|
type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
|
3803
4836
|
value: string;
|
3804
|
-
}
|
4837
|
+
} & {
|
4838
|
+
position?: "inline" | "popover" | undefined;
|
4839
|
+
}) | (string | ({
|
3805
4840
|
type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
|
3806
4841
|
value: string;
|
3807
|
-
}
|
4842
|
+
} & {
|
4843
|
+
position?: "inline" | "popover" | undefined;
|
4844
|
+
}))[] | null;
|
4845
|
+
next_steps: (string | number)[];
|
4846
|
+
} & {
|
4847
|
+
third_party_source?: string | null | undefined;
|
4848
|
+
third_party_id?: string | null | undefined;
|
3808
4849
|
}>;
|
3809
4850
|
static updateWithoutThrottle: (object: {
|
3810
4851
|
id: number;
|
@@ -3895,6 +4936,22 @@ export declare class Command {
|
|
3895
4936
|
object?: string | undefined;
|
3896
4937
|
hoverTooltip?: boolean | undefined;
|
3897
4938
|
operation?: "self" | "router" | "blank" | undefined;
|
4939
|
+
}) | ({
|
4940
|
+
type: "video";
|
4941
|
+
value: string;
|
4942
|
+
} & {} & {
|
4943
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
4944
|
+
object?: string | undefined;
|
4945
|
+
hoverTooltip?: boolean | undefined;
|
4946
|
+
operation?: "self" | "router" | "blank" | undefined;
|
4947
|
+
}) | ({
|
4948
|
+
type: "helpdoc";
|
4949
|
+
value: string;
|
4950
|
+
} & {} & {
|
4951
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
4952
|
+
object?: string | undefined;
|
4953
|
+
hoverTooltip?: boolean | undefined;
|
4954
|
+
operation?: "self" | "router" | "blank" | undefined;
|
3898
4955
|
});
|
3899
4956
|
} & {
|
3900
4957
|
disabledReason?: string | undefined;
|
@@ -3925,6 +4982,8 @@ export declare class Command {
|
|
3925
4982
|
allow_create_label?: string | undefined;
|
3926
4983
|
show_in_record_action_list?: boolean | undefined;
|
3927
4984
|
show_in_default_list?: boolean | undefined;
|
4985
|
+
auto_choose?: boolean | undefined;
|
4986
|
+
is_private?: boolean | undefined;
|
3928
4987
|
}) | ({
|
3929
4988
|
type: "set";
|
3930
4989
|
value: string[] | number[] | {
|
@@ -3946,6 +5005,8 @@ export declare class Command {
|
|
3946
5005
|
loaded?: any[] | undefined;
|
3947
5006
|
allow_create?: boolean | undefined;
|
3948
5007
|
allow_create_label?: string | undefined;
|
5008
|
+
auto_choose?: boolean | undefined;
|
5009
|
+
is_private?: boolean | undefined;
|
3949
5010
|
}) | ({
|
3950
5011
|
type: "provided";
|
3951
5012
|
value: "time" | "text";
|
@@ -3966,6 +5027,8 @@ export declare class Command {
|
|
3966
5027
|
dateTimeArgumentTypeId?: number | undefined;
|
3967
5028
|
allow_create?: boolean | undefined;
|
3968
5029
|
allow_create_label?: string | undefined;
|
5030
|
+
auto_choose?: boolean | undefined;
|
5031
|
+
is_private?: boolean | undefined;
|
3969
5032
|
}) | ({
|
3970
5033
|
type: "dependent";
|
3971
5034
|
value: string;
|
@@ -3985,6 +5048,8 @@ export declare class Command {
|
|
3985
5048
|
loaded?: any[] | undefined;
|
3986
5049
|
allow_create?: boolean | undefined;
|
3987
5050
|
allow_create_label?: string | undefined;
|
5051
|
+
auto_choose?: boolean | undefined;
|
5052
|
+
is_private?: boolean | undefined;
|
3988
5053
|
}) | ({
|
3989
5054
|
type: "function";
|
3990
5055
|
value: string;
|
@@ -4004,6 +5069,35 @@ export declare class Command {
|
|
4004
5069
|
loaded?: any[] | undefined;
|
4005
5070
|
allow_create?: boolean | undefined;
|
4006
5071
|
allow_create_label?: string | undefined;
|
5072
|
+
auto_choose?: boolean | undefined;
|
5073
|
+
is_private?: boolean | undefined;
|
5074
|
+
}) | ({
|
5075
|
+
type: "html" | "video";
|
5076
|
+
value: {
|
5077
|
+
source: string;
|
5078
|
+
} & {
|
5079
|
+
title?: string | undefined;
|
5080
|
+
description?: string | undefined;
|
5081
|
+
url?: string | undefined;
|
5082
|
+
};
|
5083
|
+
order_key: number;
|
5084
|
+
} & {
|
5085
|
+
label?: string | undefined;
|
5086
|
+
chosen?: string | number | undefined;
|
5087
|
+
selected?: any[] | undefined;
|
5088
|
+
input_type?: string | undefined;
|
5089
|
+
preselected_key?: string | undefined;
|
5090
|
+
label_field?: string | undefined;
|
5091
|
+
availability_condition?: {
|
5092
|
+
field: string;
|
5093
|
+
operator: "==" | "!=" | "isTruthy" | "isFalsy";
|
5094
|
+
value: string | undefined;
|
5095
|
+
}[] | undefined;
|
5096
|
+
loaded?: any[] | undefined;
|
5097
|
+
allow_create?: boolean | undefined;
|
5098
|
+
allow_create_label?: string | undefined;
|
5099
|
+
is_private?: boolean | undefined;
|
5100
|
+
auto_choose?: boolean | undefined;
|
4007
5101
|
});
|
4008
5102
|
};
|
4009
5103
|
tags: string[];
|
@@ -4028,27 +5122,20 @@ export declare class Command {
|
|
4028
5122
|
reason?: string | undefined;
|
4029
5123
|
}))[];
|
4030
5124
|
recommend_rules: (({
|
4031
|
-
type: "always";
|
4032
|
-
} & {
|
4033
|
-
operator?: null | undefined;
|
4034
|
-
field?: null | undefined;
|
4035
|
-
value?: null | undefined;
|
4036
|
-
reason?: null | undefined;
|
4037
|
-
}) | ({
|
4038
5125
|
type: "url" | "context" | "element";
|
4039
5126
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
|
4040
5127
|
} & {
|
4041
5128
|
field?: string | undefined;
|
4042
5129
|
value?: string | undefined;
|
4043
5130
|
reason?: string | undefined;
|
4044
|
-
})
|
5131
|
+
}) | ({
|
4045
5132
|
type: "always";
|
4046
5133
|
} & {
|
4047
5134
|
operator?: null | undefined;
|
4048
5135
|
field?: null | undefined;
|
4049
5136
|
value?: null | undefined;
|
4050
5137
|
reason?: null | undefined;
|
4051
|
-
}) | ({
|
5138
|
+
}))[] | (({
|
4052
5139
|
type: "url" | "context" | "element";
|
4053
5140
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
|
4054
5141
|
} & {
|
@@ -4060,10 +5147,21 @@ export declare class Command {
|
|
4060
5147
|
rule_id: number;
|
4061
5148
|
} & {
|
4062
5149
|
reason?: string | undefined;
|
5150
|
+
}) | ({
|
5151
|
+
type: "always";
|
5152
|
+
} & {
|
5153
|
+
operator?: null | undefined;
|
5154
|
+
field?: null | undefined;
|
5155
|
+
value?: null | undefined;
|
5156
|
+
reason?: null | undefined;
|
4063
5157
|
}))[];
|
5158
|
+
availability_expression: import("./helpers/rules").RuleExpression;
|
5159
|
+
recommend_expression: import("./helpers/rules").RuleExpression;
|
5160
|
+
always_recommend: boolean;
|
4064
5161
|
confirm: string;
|
4065
5162
|
shortcut: string[];
|
4066
5163
|
explanation: string;
|
5164
|
+
heading: string;
|
4067
5165
|
is_live: boolean;
|
4068
5166
|
category: number | null;
|
4069
5167
|
sort_key: number | null;
|
@@ -4087,13 +5185,21 @@ export declare class Command {
|
|
4087
5185
|
shortcut_win: string[];
|
4088
5186
|
hotkey_mac: string;
|
4089
5187
|
hotkey_win: string;
|
4090
|
-
detail: string | {
|
5188
|
+
detail: string | ({
|
4091
5189
|
type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
|
4092
5190
|
value: string;
|
4093
|
-
}
|
5191
|
+
} & {
|
5192
|
+
position?: "inline" | "popover" | undefined;
|
5193
|
+
}) | (string | ({
|
4094
5194
|
type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
|
4095
5195
|
value: string;
|
4096
|
-
}
|
5196
|
+
} & {
|
5197
|
+
position?: "inline" | "popover" | undefined;
|
5198
|
+
}))[] | null;
|
5199
|
+
next_steps: (string | number)[];
|
5200
|
+
} & {
|
5201
|
+
third_party_source?: string | null | undefined;
|
5202
|
+
third_party_id?: string | null | undefined;
|
4097
5203
|
}, onSuccess?: (() => void) | undefined, onError?: ((err: string) => void) | undefined) => Promise<{
|
4098
5204
|
id: number;
|
4099
5205
|
organization: string | number;
|
@@ -4183,6 +5289,22 @@ export declare class Command {
|
|
4183
5289
|
object?: string | undefined;
|
4184
5290
|
hoverTooltip?: boolean | undefined;
|
4185
5291
|
operation?: "self" | "router" | "blank" | undefined;
|
5292
|
+
}) | ({
|
5293
|
+
type: "video";
|
5294
|
+
value: string;
|
5295
|
+
} & {} & {
|
5296
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
5297
|
+
object?: string | undefined;
|
5298
|
+
hoverTooltip?: boolean | undefined;
|
5299
|
+
operation?: "self" | "router" | "blank" | undefined;
|
5300
|
+
}) | ({
|
5301
|
+
type: "helpdoc";
|
5302
|
+
value: string;
|
5303
|
+
} & {} & {
|
5304
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
5305
|
+
object?: string | undefined;
|
5306
|
+
hoverTooltip?: boolean | undefined;
|
5307
|
+
operation?: "self" | "router" | "blank" | undefined;
|
4186
5308
|
});
|
4187
5309
|
} & {
|
4188
5310
|
disabledReason?: string | undefined;
|
@@ -4213,6 +5335,8 @@ export declare class Command {
|
|
4213
5335
|
allow_create_label?: string | undefined;
|
4214
5336
|
show_in_record_action_list?: boolean | undefined;
|
4215
5337
|
show_in_default_list?: boolean | undefined;
|
5338
|
+
auto_choose?: boolean | undefined;
|
5339
|
+
is_private?: boolean | undefined;
|
4216
5340
|
}) | ({
|
4217
5341
|
type: "set";
|
4218
5342
|
value: string[] | number[] | {
|
@@ -4234,6 +5358,8 @@ export declare class Command {
|
|
4234
5358
|
loaded?: any[] | undefined;
|
4235
5359
|
allow_create?: boolean | undefined;
|
4236
5360
|
allow_create_label?: string | undefined;
|
5361
|
+
auto_choose?: boolean | undefined;
|
5362
|
+
is_private?: boolean | undefined;
|
4237
5363
|
}) | ({
|
4238
5364
|
type: "provided";
|
4239
5365
|
value: "time" | "text";
|
@@ -4254,6 +5380,8 @@ export declare class Command {
|
|
4254
5380
|
dateTimeArgumentTypeId?: number | undefined;
|
4255
5381
|
allow_create?: boolean | undefined;
|
4256
5382
|
allow_create_label?: string | undefined;
|
5383
|
+
auto_choose?: boolean | undefined;
|
5384
|
+
is_private?: boolean | undefined;
|
4257
5385
|
}) | ({
|
4258
5386
|
type: "dependent";
|
4259
5387
|
value: string;
|
@@ -4273,6 +5401,8 @@ export declare class Command {
|
|
4273
5401
|
loaded?: any[] | undefined;
|
4274
5402
|
allow_create?: boolean | undefined;
|
4275
5403
|
allow_create_label?: string | undefined;
|
5404
|
+
auto_choose?: boolean | undefined;
|
5405
|
+
is_private?: boolean | undefined;
|
4276
5406
|
}) | ({
|
4277
5407
|
type: "function";
|
4278
5408
|
value: string;
|
@@ -4292,6 +5422,35 @@ export declare class Command {
|
|
4292
5422
|
loaded?: any[] | undefined;
|
4293
5423
|
allow_create?: boolean | undefined;
|
4294
5424
|
allow_create_label?: string | undefined;
|
5425
|
+
auto_choose?: boolean | undefined;
|
5426
|
+
is_private?: boolean | undefined;
|
5427
|
+
}) | ({
|
5428
|
+
type: "html" | "video";
|
5429
|
+
value: {
|
5430
|
+
source: string;
|
5431
|
+
} & {
|
5432
|
+
title?: string | undefined;
|
5433
|
+
description?: string | undefined;
|
5434
|
+
url?: string | undefined;
|
5435
|
+
};
|
5436
|
+
order_key: number;
|
5437
|
+
} & {
|
5438
|
+
label?: string | undefined;
|
5439
|
+
chosen?: string | number | undefined;
|
5440
|
+
selected?: any[] | undefined;
|
5441
|
+
input_type?: string | undefined;
|
5442
|
+
preselected_key?: string | undefined;
|
5443
|
+
label_field?: string | undefined;
|
5444
|
+
availability_condition?: {
|
5445
|
+
field: string;
|
5446
|
+
operator: "==" | "!=" | "isTruthy" | "isFalsy";
|
5447
|
+
value: string | undefined;
|
5448
|
+
}[] | undefined;
|
5449
|
+
loaded?: any[] | undefined;
|
5450
|
+
allow_create?: boolean | undefined;
|
5451
|
+
allow_create_label?: string | undefined;
|
5452
|
+
is_private?: boolean | undefined;
|
5453
|
+
auto_choose?: boolean | undefined;
|
4295
5454
|
});
|
4296
5455
|
};
|
4297
5456
|
tags: string[];
|
@@ -4316,27 +5475,20 @@ export declare class Command {
|
|
4316
5475
|
reason?: string | undefined;
|
4317
5476
|
}))[];
|
4318
5477
|
recommend_rules: (({
|
4319
|
-
type: "always";
|
4320
|
-
} & {
|
4321
|
-
operator?: null | undefined;
|
4322
|
-
field?: null | undefined;
|
4323
|
-
value?: null | undefined;
|
4324
|
-
reason?: null | undefined;
|
4325
|
-
}) | ({
|
4326
5478
|
type: "url" | "context" | "element";
|
4327
5479
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
|
4328
5480
|
} & {
|
4329
5481
|
field?: string | undefined;
|
4330
5482
|
value?: string | undefined;
|
4331
5483
|
reason?: string | undefined;
|
4332
|
-
})
|
5484
|
+
}) | ({
|
4333
5485
|
type: "always";
|
4334
5486
|
} & {
|
4335
5487
|
operator?: null | undefined;
|
4336
5488
|
field?: null | undefined;
|
4337
5489
|
value?: null | undefined;
|
4338
5490
|
reason?: null | undefined;
|
4339
|
-
}) | ({
|
5491
|
+
}))[] | (({
|
4340
5492
|
type: "url" | "context" | "element";
|
4341
5493
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
|
4342
5494
|
} & {
|
@@ -4348,10 +5500,21 @@ export declare class Command {
|
|
4348
5500
|
rule_id: number;
|
4349
5501
|
} & {
|
4350
5502
|
reason?: string | undefined;
|
5503
|
+
}) | ({
|
5504
|
+
type: "always";
|
5505
|
+
} & {
|
5506
|
+
operator?: null | undefined;
|
5507
|
+
field?: null | undefined;
|
5508
|
+
value?: null | undefined;
|
5509
|
+
reason?: null | undefined;
|
4351
5510
|
}))[];
|
5511
|
+
availability_expression: import("./helpers/rules").RuleExpression;
|
5512
|
+
recommend_expression: import("./helpers/rules").RuleExpression;
|
5513
|
+
always_recommend: boolean;
|
4352
5514
|
confirm: string;
|
4353
5515
|
shortcut: string[];
|
4354
5516
|
explanation: string;
|
5517
|
+
heading: string;
|
4355
5518
|
is_live: boolean;
|
4356
5519
|
category: number | null;
|
4357
5520
|
sort_key: number | null;
|
@@ -4375,13 +5538,21 @@ export declare class Command {
|
|
4375
5538
|
shortcut_win: string[];
|
4376
5539
|
hotkey_mac: string;
|
4377
5540
|
hotkey_win: string;
|
4378
|
-
detail: string | {
|
5541
|
+
detail: string | ({
|
4379
5542
|
type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
|
4380
5543
|
value: string;
|
4381
|
-
}
|
5544
|
+
} & {
|
5545
|
+
position?: "inline" | "popover" | undefined;
|
5546
|
+
}) | (string | ({
|
4382
5547
|
type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
|
4383
5548
|
value: string;
|
4384
|
-
}
|
5549
|
+
} & {
|
5550
|
+
position?: "inline" | "popover" | undefined;
|
5551
|
+
}))[] | null;
|
5552
|
+
next_steps: (string | number)[];
|
5553
|
+
} & {
|
5554
|
+
third_party_source?: string | null | undefined;
|
5555
|
+
third_party_id?: string | null | undefined;
|
4385
5556
|
}>;
|
4386
5557
|
static deleteWithoutThrottle: (id: string | number, onSuccess?: (() => void) | undefined, onError?: ((err: string) => void) | undefined) => Promise<void>;
|
4387
5558
|
static commandUID: (cmd: t.TypeOf<typeof CommandV> | t.TypeOf<typeof EditorCommandV>) => string;
|
@@ -4474,6 +5645,22 @@ export declare const HelpSyncCommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC
|
|
4474
5645
|
object: t.StringC;
|
4475
5646
|
hoverTooltip: t.BooleanC;
|
4476
5647
|
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
5648
|
+
}>]>]>, t.IntersectionC<[t.TypeC<{
|
5649
|
+
type: t.LiteralC<"video">;
|
5650
|
+
value: t.StringC;
|
5651
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
5652
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
5653
|
+
object: t.StringC;
|
5654
|
+
hoverTooltip: t.BooleanC;
|
5655
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
5656
|
+
}>]>]>, t.IntersectionC<[t.TypeC<{
|
5657
|
+
type: t.LiteralC<"helpdoc">;
|
5658
|
+
value: t.StringC;
|
5659
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
5660
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
5661
|
+
object: t.StringC;
|
5662
|
+
hoverTooltip: t.BooleanC;
|
5663
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
4477
5664
|
}>]>]>]>;
|
4478
5665
|
}>, t.PartialC<{
|
4479
5666
|
disabledReason: t.StringC;
|
@@ -4503,6 +5690,8 @@ export declare const HelpSyncCommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC
|
|
4503
5690
|
allow_create_label: t.StringC;
|
4504
5691
|
show_in_record_action_list: t.BooleanC;
|
4505
5692
|
show_in_default_list: t.BooleanC;
|
5693
|
+
auto_choose: t.BooleanC;
|
5694
|
+
is_private: t.BooleanC;
|
4506
5695
|
}>]>, t.IntersectionC<[t.TypeC<{
|
4507
5696
|
type: t.LiteralC<"set">;
|
4508
5697
|
value: t.UnionC<[t.ArrayC<t.StringC>, t.ArrayC<t.NumberC>, t.ArrayC<t.UnknownRecordC>]>;
|
@@ -4522,6 +5711,8 @@ export declare const HelpSyncCommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC
|
|
4522
5711
|
loaded: t.ArrayC<t.AnyC>;
|
4523
5712
|
allow_create: t.BooleanC;
|
4524
5713
|
allow_create_label: t.StringC;
|
5714
|
+
auto_choose: t.BooleanC;
|
5715
|
+
is_private: t.BooleanC;
|
4525
5716
|
}>]>, t.IntersectionC<[t.TypeC<{
|
4526
5717
|
type: t.LiteralC<"provided">;
|
4527
5718
|
value: t.UnionC<[t.LiteralC<"text">, t.LiteralC<"time">]>;
|
@@ -4542,6 +5733,8 @@ export declare const HelpSyncCommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC
|
|
4542
5733
|
dateTimeArgumentTypeId: t.NumberC;
|
4543
5734
|
allow_create: t.BooleanC;
|
4544
5735
|
allow_create_label: t.StringC;
|
5736
|
+
auto_choose: t.BooleanC;
|
5737
|
+
is_private: t.BooleanC;
|
4545
5738
|
}>]>, t.IntersectionC<[t.TypeC<{
|
4546
5739
|
type: t.LiteralC<"dependent">;
|
4547
5740
|
value: t.StringC;
|
@@ -4561,6 +5754,8 @@ export declare const HelpSyncCommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC
|
|
4561
5754
|
loaded: t.ArrayC<t.AnyC>;
|
4562
5755
|
allow_create: t.BooleanC;
|
4563
5756
|
allow_create_label: t.StringC;
|
5757
|
+
auto_choose: t.BooleanC;
|
5758
|
+
is_private: t.BooleanC;
|
4564
5759
|
}>]>, t.IntersectionC<[t.TypeC<{
|
4565
5760
|
type: t.LiteralC<"function">;
|
4566
5761
|
value: t.StringC;
|
@@ -4580,6 +5775,35 @@ export declare const HelpSyncCommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC
|
|
4580
5775
|
loaded: t.ArrayC<t.AnyC>;
|
4581
5776
|
allow_create: t.BooleanC;
|
4582
5777
|
allow_create_label: t.StringC;
|
5778
|
+
auto_choose: t.BooleanC;
|
5779
|
+
is_private: t.BooleanC;
|
5780
|
+
}>]>, t.IntersectionC<[t.TypeC<{
|
5781
|
+
type: t.UnionC<[t.LiteralC<"video">, t.LiteralC<"html">]>;
|
5782
|
+
value: t.IntersectionC<[t.TypeC<{
|
5783
|
+
source: t.StringC;
|
5784
|
+
}>, t.PartialC<{
|
5785
|
+
title: t.StringC;
|
5786
|
+
description: t.StringC;
|
5787
|
+
url: t.StringC;
|
5788
|
+
}>]>;
|
5789
|
+
order_key: t.NumberC;
|
5790
|
+
}>, t.PartialC<{
|
5791
|
+
label: t.StringC;
|
5792
|
+
chosen: t.UnionC<[t.StringC, t.NumberC]>;
|
5793
|
+
selected: t.ArrayC<t.AnyC>;
|
5794
|
+
input_type: t.StringC;
|
5795
|
+
preselected_key: t.StringC;
|
5796
|
+
label_field: t.StringC;
|
5797
|
+
availability_condition: t.ArrayC<t.TypeC<{
|
5798
|
+
field: t.StringC;
|
5799
|
+
operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
|
5800
|
+
value: t.UnionC<[t.StringC, t.UndefinedC]>;
|
5801
|
+
}>>;
|
5802
|
+
loaded: t.ArrayC<t.AnyC>;
|
5803
|
+
allow_create: t.BooleanC;
|
5804
|
+
allow_create_label: t.StringC;
|
5805
|
+
is_private: t.BooleanC;
|
5806
|
+
auto_choose: t.BooleanC;
|
4583
5807
|
}>]>]>>;
|
4584
5808
|
tags: t.ArrayC<t.StringC>;
|
4585
5809
|
availability_rules: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
@@ -4641,9 +5865,13 @@ export declare const HelpSyncCommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC
|
|
4641
5865
|
value: t.StringC;
|
4642
5866
|
reason: t.StringC;
|
4643
5867
|
}>]>]>>;
|
5868
|
+
availability_expression: t.UnionC<[t.Type<import("./helpers/rules").RuleExpression, import("./helpers/rules").RuleExpression, unknown>, t.NullC]>;
|
5869
|
+
recommend_expression: t.UnionC<[t.Type<import("./helpers/rules").RuleExpression, import("./helpers/rules").RuleExpression, unknown>, t.NullC]>;
|
5870
|
+
always_recommend: t.BooleanC;
|
4644
5871
|
confirm: t.StringC;
|
4645
5872
|
shortcut: t.ArrayC<t.StringC>;
|
4646
5873
|
explanation: t.StringC;
|
5874
|
+
heading: t.StringC;
|
4647
5875
|
is_live: t.BooleanC;
|
4648
5876
|
category: t.UnionC<[t.NumberC, t.NullC]>;
|
4649
5877
|
sort_key: t.UnionC<[t.NumberC, t.NullC]>;
|
@@ -4667,16 +5895,21 @@ export declare const HelpSyncCommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC
|
|
4667
5895
|
shortcut_win: t.ArrayC<t.StringC>;
|
4668
5896
|
hotkey_mac: t.StringC;
|
4669
5897
|
hotkey_win: t.StringC;
|
4670
|
-
detail: t.UnionC<[t.NullC, t.StringC, t.TypeC<{
|
5898
|
+
detail: t.UnionC<[t.NullC, t.StringC, t.IntersectionC<[t.TypeC<{
|
4671
5899
|
type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"react">, t.LiteralC<"video">, t.NullC]>;
|
4672
5900
|
value: t.StringC;
|
4673
|
-
}>, t.
|
5901
|
+
}>, t.PartialC<{
|
5902
|
+
position: t.UnionC<[t.LiteralC<"inline">, t.LiteralC<"popover">]>;
|
5903
|
+
}>]>, t.ArrayC<t.UnionC<[t.StringC, t.IntersectionC<[t.TypeC<{
|
4674
5904
|
type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"react">, t.LiteralC<"video">, t.NullC]>;
|
4675
5905
|
value: t.StringC;
|
4676
|
-
}
|
4677
|
-
|
4678
|
-
|
4679
|
-
|
5906
|
+
}>, t.PartialC<{
|
5907
|
+
position: t.UnionC<[t.LiteralC<"inline">, t.LiteralC<"popover">]>;
|
5908
|
+
}>]>]>>]>;
|
5909
|
+
next_steps: t.ArrayC<t.UnionC<[t.StringC, t.NumberC]>>;
|
5910
|
+
}>, t.PartialC<{
|
5911
|
+
third_party_source: t.UnionC<[t.StringC, t.NullC]>;
|
5912
|
+
third_party_id: t.UnionC<[t.StringC, t.NullC]>;
|
4680
5913
|
}>]>;
|
4681
5914
|
export declare class HelpSyncCommand {
|
4682
5915
|
static listHelpCenter: (onSuccess?: (() => void) | undefined, onError?: ((err: string) => void) | undefined) => Promise<({
|
@@ -4768,6 +6001,22 @@ export declare class HelpSyncCommand {
|
|
4768
6001
|
object?: string | undefined;
|
4769
6002
|
hoverTooltip?: boolean | undefined;
|
4770
6003
|
operation?: "self" | "router" | "blank" | undefined;
|
6004
|
+
}) | ({
|
6005
|
+
type: "video";
|
6006
|
+
value: string;
|
6007
|
+
} & {} & {
|
6008
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
6009
|
+
object?: string | undefined;
|
6010
|
+
hoverTooltip?: boolean | undefined;
|
6011
|
+
operation?: "self" | "router" | "blank" | undefined;
|
6012
|
+
}) | ({
|
6013
|
+
type: "helpdoc";
|
6014
|
+
value: string;
|
6015
|
+
} & {} & {
|
6016
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
6017
|
+
object?: string | undefined;
|
6018
|
+
hoverTooltip?: boolean | undefined;
|
6019
|
+
operation?: "self" | "router" | "blank" | undefined;
|
4771
6020
|
});
|
4772
6021
|
} & {
|
4773
6022
|
disabledReason?: string | undefined;
|
@@ -4798,6 +6047,8 @@ export declare class HelpSyncCommand {
|
|
4798
6047
|
allow_create_label?: string | undefined;
|
4799
6048
|
show_in_record_action_list?: boolean | undefined;
|
4800
6049
|
show_in_default_list?: boolean | undefined;
|
6050
|
+
auto_choose?: boolean | undefined;
|
6051
|
+
is_private?: boolean | undefined;
|
4801
6052
|
}) | ({
|
4802
6053
|
type: "set";
|
4803
6054
|
value: string[] | number[] | {
|
@@ -4819,6 +6070,8 @@ export declare class HelpSyncCommand {
|
|
4819
6070
|
loaded?: any[] | undefined;
|
4820
6071
|
allow_create?: boolean | undefined;
|
4821
6072
|
allow_create_label?: string | undefined;
|
6073
|
+
auto_choose?: boolean | undefined;
|
6074
|
+
is_private?: boolean | undefined;
|
4822
6075
|
}) | ({
|
4823
6076
|
type: "provided";
|
4824
6077
|
value: "time" | "text";
|
@@ -4839,6 +6092,8 @@ export declare class HelpSyncCommand {
|
|
4839
6092
|
dateTimeArgumentTypeId?: number | undefined;
|
4840
6093
|
allow_create?: boolean | undefined;
|
4841
6094
|
allow_create_label?: string | undefined;
|
6095
|
+
auto_choose?: boolean | undefined;
|
6096
|
+
is_private?: boolean | undefined;
|
4842
6097
|
}) | ({
|
4843
6098
|
type: "dependent";
|
4844
6099
|
value: string;
|
@@ -4858,6 +6113,8 @@ export declare class HelpSyncCommand {
|
|
4858
6113
|
loaded?: any[] | undefined;
|
4859
6114
|
allow_create?: boolean | undefined;
|
4860
6115
|
allow_create_label?: string | undefined;
|
6116
|
+
auto_choose?: boolean | undefined;
|
6117
|
+
is_private?: boolean | undefined;
|
4861
6118
|
}) | ({
|
4862
6119
|
type: "function";
|
4863
6120
|
value: string;
|
@@ -4877,6 +6134,35 @@ export declare class HelpSyncCommand {
|
|
4877
6134
|
loaded?: any[] | undefined;
|
4878
6135
|
allow_create?: boolean | undefined;
|
4879
6136
|
allow_create_label?: string | undefined;
|
6137
|
+
auto_choose?: boolean | undefined;
|
6138
|
+
is_private?: boolean | undefined;
|
6139
|
+
}) | ({
|
6140
|
+
type: "html" | "video";
|
6141
|
+
value: {
|
6142
|
+
source: string;
|
6143
|
+
} & {
|
6144
|
+
title?: string | undefined;
|
6145
|
+
description?: string | undefined;
|
6146
|
+
url?: string | undefined;
|
6147
|
+
};
|
6148
|
+
order_key: number;
|
6149
|
+
} & {
|
6150
|
+
label?: string | undefined;
|
6151
|
+
chosen?: string | number | undefined;
|
6152
|
+
selected?: any[] | undefined;
|
6153
|
+
input_type?: string | undefined;
|
6154
|
+
preselected_key?: string | undefined;
|
6155
|
+
label_field?: string | undefined;
|
6156
|
+
availability_condition?: {
|
6157
|
+
field: string;
|
6158
|
+
operator: "==" | "!=" | "isTruthy" | "isFalsy";
|
6159
|
+
value: string | undefined;
|
6160
|
+
}[] | undefined;
|
6161
|
+
loaded?: any[] | undefined;
|
6162
|
+
allow_create?: boolean | undefined;
|
6163
|
+
allow_create_label?: string | undefined;
|
6164
|
+
is_private?: boolean | undefined;
|
6165
|
+
auto_choose?: boolean | undefined;
|
4880
6166
|
});
|
4881
6167
|
};
|
4882
6168
|
tags: string[];
|
@@ -4889,23 +6175,27 @@ export declare class HelpSyncCommand {
|
|
4889
6175
|
reason?: string | undefined;
|
4890
6176
|
})[];
|
4891
6177
|
recommend_rules: (({
|
4892
|
-
type: "always";
|
4893
|
-
} & {
|
4894
|
-
operator?: null | undefined;
|
4895
|
-
field?: null | undefined;
|
4896
|
-
value?: null | undefined;
|
4897
|
-
reason?: null | undefined;
|
4898
|
-
}) | ({
|
4899
6178
|
type: "url" | "context" | "element";
|
4900
6179
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
|
4901
6180
|
} & {
|
4902
6181
|
field?: string | undefined;
|
4903
6182
|
value?: string | undefined;
|
4904
6183
|
reason?: string | undefined;
|
6184
|
+
}) | ({
|
6185
|
+
type: "always";
|
6186
|
+
} & {
|
6187
|
+
operator?: null | undefined;
|
6188
|
+
field?: null | undefined;
|
6189
|
+
value?: null | undefined;
|
6190
|
+
reason?: null | undefined;
|
4905
6191
|
}))[];
|
6192
|
+
availability_expression: import("./helpers/rules").RuleExpression | null;
|
6193
|
+
recommend_expression: import("./helpers/rules").RuleExpression | null;
|
6194
|
+
always_recommend: boolean;
|
4906
6195
|
confirm: string;
|
4907
6196
|
shortcut: string[];
|
4908
6197
|
explanation: string;
|
6198
|
+
heading: string;
|
4909
6199
|
is_live: boolean;
|
4910
6200
|
category: number | null;
|
4911
6201
|
sort_key: number | null;
|
@@ -4929,16 +6219,21 @@ export declare class HelpSyncCommand {
|
|
4929
6219
|
shortcut_win: string[];
|
4930
6220
|
hotkey_mac: string;
|
4931
6221
|
hotkey_win: string;
|
4932
|
-
detail: string | {
|
6222
|
+
detail: string | ({
|
4933
6223
|
type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
|
4934
6224
|
value: string;
|
4935
|
-
}
|
6225
|
+
} & {
|
6226
|
+
position?: "inline" | "popover" | undefined;
|
6227
|
+
}) | (string | ({
|
4936
6228
|
type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
|
4937
6229
|
value: string;
|
4938
|
-
}
|
6230
|
+
} & {
|
6231
|
+
position?: "inline" | "popover" | undefined;
|
6232
|
+
}))[] | null;
|
6233
|
+
next_steps: (string | number)[];
|
4939
6234
|
} & {
|
4940
|
-
third_party_source
|
4941
|
-
third_party_id
|
6235
|
+
third_party_source?: string | null | undefined;
|
6236
|
+
third_party_id?: string | null | undefined;
|
4942
6237
|
})[]>;
|
4943
6238
|
static updateWithoutThrottle: (object: {
|
4944
6239
|
id: number;
|
@@ -5029,6 +6324,22 @@ export declare class HelpSyncCommand {
|
|
5029
6324
|
object?: string | undefined;
|
5030
6325
|
hoverTooltip?: boolean | undefined;
|
5031
6326
|
operation?: "self" | "router" | "blank" | undefined;
|
6327
|
+
}) | ({
|
6328
|
+
type: "video";
|
6329
|
+
value: string;
|
6330
|
+
} & {} & {
|
6331
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
6332
|
+
object?: string | undefined;
|
6333
|
+
hoverTooltip?: boolean | undefined;
|
6334
|
+
operation?: "self" | "router" | "blank" | undefined;
|
6335
|
+
}) | ({
|
6336
|
+
type: "helpdoc";
|
6337
|
+
value: string;
|
6338
|
+
} & {} & {
|
6339
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
6340
|
+
object?: string | undefined;
|
6341
|
+
hoverTooltip?: boolean | undefined;
|
6342
|
+
operation?: "self" | "router" | "blank" | undefined;
|
5032
6343
|
});
|
5033
6344
|
} & {
|
5034
6345
|
disabledReason?: string | undefined;
|
@@ -5059,6 +6370,8 @@ export declare class HelpSyncCommand {
|
|
5059
6370
|
allow_create_label?: string | undefined;
|
5060
6371
|
show_in_record_action_list?: boolean | undefined;
|
5061
6372
|
show_in_default_list?: boolean | undefined;
|
6373
|
+
auto_choose?: boolean | undefined;
|
6374
|
+
is_private?: boolean | undefined;
|
5062
6375
|
}) | ({
|
5063
6376
|
type: "set";
|
5064
6377
|
value: string[] | number[] | {
|
@@ -5080,6 +6393,8 @@ export declare class HelpSyncCommand {
|
|
5080
6393
|
loaded?: any[] | undefined;
|
5081
6394
|
allow_create?: boolean | undefined;
|
5082
6395
|
allow_create_label?: string | undefined;
|
6396
|
+
auto_choose?: boolean | undefined;
|
6397
|
+
is_private?: boolean | undefined;
|
5083
6398
|
}) | ({
|
5084
6399
|
type: "provided";
|
5085
6400
|
value: "time" | "text";
|
@@ -5100,6 +6415,8 @@ export declare class HelpSyncCommand {
|
|
5100
6415
|
dateTimeArgumentTypeId?: number | undefined;
|
5101
6416
|
allow_create?: boolean | undefined;
|
5102
6417
|
allow_create_label?: string | undefined;
|
6418
|
+
auto_choose?: boolean | undefined;
|
6419
|
+
is_private?: boolean | undefined;
|
5103
6420
|
}) | ({
|
5104
6421
|
type: "dependent";
|
5105
6422
|
value: string;
|
@@ -5119,6 +6436,8 @@ export declare class HelpSyncCommand {
|
|
5119
6436
|
loaded?: any[] | undefined;
|
5120
6437
|
allow_create?: boolean | undefined;
|
5121
6438
|
allow_create_label?: string | undefined;
|
6439
|
+
auto_choose?: boolean | undefined;
|
6440
|
+
is_private?: boolean | undefined;
|
5122
6441
|
}) | ({
|
5123
6442
|
type: "function";
|
5124
6443
|
value: string;
|
@@ -5138,6 +6457,35 @@ export declare class HelpSyncCommand {
|
|
5138
6457
|
loaded?: any[] | undefined;
|
5139
6458
|
allow_create?: boolean | undefined;
|
5140
6459
|
allow_create_label?: string | undefined;
|
6460
|
+
auto_choose?: boolean | undefined;
|
6461
|
+
is_private?: boolean | undefined;
|
6462
|
+
}) | ({
|
6463
|
+
type: "html" | "video";
|
6464
|
+
value: {
|
6465
|
+
source: string;
|
6466
|
+
} & {
|
6467
|
+
title?: string | undefined;
|
6468
|
+
description?: string | undefined;
|
6469
|
+
url?: string | undefined;
|
6470
|
+
};
|
6471
|
+
order_key: number;
|
6472
|
+
} & {
|
6473
|
+
label?: string | undefined;
|
6474
|
+
chosen?: string | number | undefined;
|
6475
|
+
selected?: any[] | undefined;
|
6476
|
+
input_type?: string | undefined;
|
6477
|
+
preselected_key?: string | undefined;
|
6478
|
+
label_field?: string | undefined;
|
6479
|
+
availability_condition?: {
|
6480
|
+
field: string;
|
6481
|
+
operator: "==" | "!=" | "isTruthy" | "isFalsy";
|
6482
|
+
value: string | undefined;
|
6483
|
+
}[] | undefined;
|
6484
|
+
loaded?: any[] | undefined;
|
6485
|
+
allow_create?: boolean | undefined;
|
6486
|
+
allow_create_label?: string | undefined;
|
6487
|
+
is_private?: boolean | undefined;
|
6488
|
+
auto_choose?: boolean | undefined;
|
5141
6489
|
});
|
5142
6490
|
};
|
5143
6491
|
tags: string[];
|
@@ -5150,23 +6498,27 @@ export declare class HelpSyncCommand {
|
|
5150
6498
|
reason?: string | undefined;
|
5151
6499
|
})[];
|
5152
6500
|
recommend_rules: (({
|
5153
|
-
type: "always";
|
5154
|
-
} & {
|
5155
|
-
operator?: null | undefined;
|
5156
|
-
field?: null | undefined;
|
5157
|
-
value?: null | undefined;
|
5158
|
-
reason?: null | undefined;
|
5159
|
-
}) | ({
|
5160
6501
|
type: "url" | "context" | "element";
|
5161
6502
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
|
5162
6503
|
} & {
|
5163
6504
|
field?: string | undefined;
|
5164
6505
|
value?: string | undefined;
|
5165
6506
|
reason?: string | undefined;
|
6507
|
+
}) | ({
|
6508
|
+
type: "always";
|
6509
|
+
} & {
|
6510
|
+
operator?: null | undefined;
|
6511
|
+
field?: null | undefined;
|
6512
|
+
value?: null | undefined;
|
6513
|
+
reason?: null | undefined;
|
5166
6514
|
}))[];
|
6515
|
+
availability_expression: import("./helpers/rules").RuleExpression | null;
|
6516
|
+
recommend_expression: import("./helpers/rules").RuleExpression | null;
|
6517
|
+
always_recommend: boolean;
|
5167
6518
|
confirm: string;
|
5168
6519
|
shortcut: string[];
|
5169
6520
|
explanation: string;
|
6521
|
+
heading: string;
|
5170
6522
|
is_live: boolean;
|
5171
6523
|
category: number | null;
|
5172
6524
|
sort_key: number | null;
|
@@ -5190,16 +6542,21 @@ export declare class HelpSyncCommand {
|
|
5190
6542
|
shortcut_win: string[];
|
5191
6543
|
hotkey_mac: string;
|
5192
6544
|
hotkey_win: string;
|
5193
|
-
detail: string | {
|
6545
|
+
detail: string | ({
|
5194
6546
|
type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
|
5195
6547
|
value: string;
|
5196
|
-
}
|
6548
|
+
} & {
|
6549
|
+
position?: "inline" | "popover" | undefined;
|
6550
|
+
}) | (string | ({
|
5197
6551
|
type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
|
5198
6552
|
value: string;
|
5199
|
-
}
|
6553
|
+
} & {
|
6554
|
+
position?: "inline" | "popover" | undefined;
|
6555
|
+
}))[] | null;
|
6556
|
+
next_steps: (string | number)[];
|
5200
6557
|
} & {
|
5201
|
-
third_party_source
|
5202
|
-
third_party_id
|
6558
|
+
third_party_source?: string | null | undefined;
|
6559
|
+
third_party_id?: string | null | undefined;
|
5203
6560
|
}, onSuccess?: (() => void) | undefined, onError?: ((err: string) => void) | undefined) => Promise<{
|
5204
6561
|
id: number;
|
5205
6562
|
organization: string | number;
|
@@ -5289,6 +6646,22 @@ export declare class HelpSyncCommand {
|
|
5289
6646
|
object?: string | undefined;
|
5290
6647
|
hoverTooltip?: boolean | undefined;
|
5291
6648
|
operation?: "self" | "router" | "blank" | undefined;
|
6649
|
+
}) | ({
|
6650
|
+
type: "video";
|
6651
|
+
value: string;
|
6652
|
+
} & {} & {
|
6653
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
6654
|
+
object?: string | undefined;
|
6655
|
+
hoverTooltip?: boolean | undefined;
|
6656
|
+
operation?: "self" | "router" | "blank" | undefined;
|
6657
|
+
}) | ({
|
6658
|
+
type: "helpdoc";
|
6659
|
+
value: string;
|
6660
|
+
} & {} & {
|
6661
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
6662
|
+
object?: string | undefined;
|
6663
|
+
hoverTooltip?: boolean | undefined;
|
6664
|
+
operation?: "self" | "router" | "blank" | undefined;
|
5292
6665
|
});
|
5293
6666
|
} & {
|
5294
6667
|
disabledReason?: string | undefined;
|
@@ -5319,6 +6692,8 @@ export declare class HelpSyncCommand {
|
|
5319
6692
|
allow_create_label?: string | undefined;
|
5320
6693
|
show_in_record_action_list?: boolean | undefined;
|
5321
6694
|
show_in_default_list?: boolean | undefined;
|
6695
|
+
auto_choose?: boolean | undefined;
|
6696
|
+
is_private?: boolean | undefined;
|
5322
6697
|
}) | ({
|
5323
6698
|
type: "set";
|
5324
6699
|
value: string[] | number[] | {
|
@@ -5340,6 +6715,8 @@ export declare class HelpSyncCommand {
|
|
5340
6715
|
loaded?: any[] | undefined;
|
5341
6716
|
allow_create?: boolean | undefined;
|
5342
6717
|
allow_create_label?: string | undefined;
|
6718
|
+
auto_choose?: boolean | undefined;
|
6719
|
+
is_private?: boolean | undefined;
|
5343
6720
|
}) | ({
|
5344
6721
|
type: "provided";
|
5345
6722
|
value: "time" | "text";
|
@@ -5360,6 +6737,8 @@ export declare class HelpSyncCommand {
|
|
5360
6737
|
dateTimeArgumentTypeId?: number | undefined;
|
5361
6738
|
allow_create?: boolean | undefined;
|
5362
6739
|
allow_create_label?: string | undefined;
|
6740
|
+
auto_choose?: boolean | undefined;
|
6741
|
+
is_private?: boolean | undefined;
|
5363
6742
|
}) | ({
|
5364
6743
|
type: "dependent";
|
5365
6744
|
value: string;
|
@@ -5379,6 +6758,8 @@ export declare class HelpSyncCommand {
|
|
5379
6758
|
loaded?: any[] | undefined;
|
5380
6759
|
allow_create?: boolean | undefined;
|
5381
6760
|
allow_create_label?: string | undefined;
|
6761
|
+
auto_choose?: boolean | undefined;
|
6762
|
+
is_private?: boolean | undefined;
|
5382
6763
|
}) | ({
|
5383
6764
|
type: "function";
|
5384
6765
|
value: string;
|
@@ -5398,6 +6779,35 @@ export declare class HelpSyncCommand {
|
|
5398
6779
|
loaded?: any[] | undefined;
|
5399
6780
|
allow_create?: boolean | undefined;
|
5400
6781
|
allow_create_label?: string | undefined;
|
6782
|
+
auto_choose?: boolean | undefined;
|
6783
|
+
is_private?: boolean | undefined;
|
6784
|
+
}) | ({
|
6785
|
+
type: "html" | "video";
|
6786
|
+
value: {
|
6787
|
+
source: string;
|
6788
|
+
} & {
|
6789
|
+
title?: string | undefined;
|
6790
|
+
description?: string | undefined;
|
6791
|
+
url?: string | undefined;
|
6792
|
+
};
|
6793
|
+
order_key: number;
|
6794
|
+
} & {
|
6795
|
+
label?: string | undefined;
|
6796
|
+
chosen?: string | number | undefined;
|
6797
|
+
selected?: any[] | undefined;
|
6798
|
+
input_type?: string | undefined;
|
6799
|
+
preselected_key?: string | undefined;
|
6800
|
+
label_field?: string | undefined;
|
6801
|
+
availability_condition?: {
|
6802
|
+
field: string;
|
6803
|
+
operator: "==" | "!=" | "isTruthy" | "isFalsy";
|
6804
|
+
value: string | undefined;
|
6805
|
+
}[] | undefined;
|
6806
|
+
loaded?: any[] | undefined;
|
6807
|
+
allow_create?: boolean | undefined;
|
6808
|
+
allow_create_label?: string | undefined;
|
6809
|
+
is_private?: boolean | undefined;
|
6810
|
+
auto_choose?: boolean | undefined;
|
5401
6811
|
});
|
5402
6812
|
};
|
5403
6813
|
tags: string[];
|
@@ -5410,23 +6820,27 @@ export declare class HelpSyncCommand {
|
|
5410
6820
|
reason?: string | undefined;
|
5411
6821
|
})[];
|
5412
6822
|
recommend_rules: (({
|
5413
|
-
type: "always";
|
5414
|
-
} & {
|
5415
|
-
operator?: null | undefined;
|
5416
|
-
field?: null | undefined;
|
5417
|
-
value?: null | undefined;
|
5418
|
-
reason?: null | undefined;
|
5419
|
-
}) | ({
|
5420
6823
|
type: "url" | "context" | "element";
|
5421
6824
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
|
5422
6825
|
} & {
|
5423
6826
|
field?: string | undefined;
|
5424
6827
|
value?: string | undefined;
|
5425
6828
|
reason?: string | undefined;
|
6829
|
+
}) | ({
|
6830
|
+
type: "always";
|
6831
|
+
} & {
|
6832
|
+
operator?: null | undefined;
|
6833
|
+
field?: null | undefined;
|
6834
|
+
value?: null | undefined;
|
6835
|
+
reason?: null | undefined;
|
5426
6836
|
}))[];
|
6837
|
+
availability_expression: import("./helpers/rules").RuleExpression | null;
|
6838
|
+
recommend_expression: import("./helpers/rules").RuleExpression | null;
|
6839
|
+
always_recommend: boolean;
|
5427
6840
|
confirm: string;
|
5428
6841
|
shortcut: string[];
|
5429
6842
|
explanation: string;
|
6843
|
+
heading: string;
|
5430
6844
|
is_live: boolean;
|
5431
6845
|
category: number | null;
|
5432
6846
|
sort_key: number | null;
|
@@ -5450,15 +6864,20 @@ export declare class HelpSyncCommand {
|
|
5450
6864
|
shortcut_win: string[];
|
5451
6865
|
hotkey_mac: string;
|
5452
6866
|
hotkey_win: string;
|
5453
|
-
detail: string | {
|
6867
|
+
detail: string | ({
|
5454
6868
|
type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
|
5455
6869
|
value: string;
|
5456
|
-
}
|
6870
|
+
} & {
|
6871
|
+
position?: "inline" | "popover" | undefined;
|
6872
|
+
}) | (string | ({
|
5457
6873
|
type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
|
5458
6874
|
value: string;
|
5459
|
-
}
|
6875
|
+
} & {
|
6876
|
+
position?: "inline" | "popover" | undefined;
|
6877
|
+
}))[] | null;
|
6878
|
+
next_steps: (string | number)[];
|
5460
6879
|
} & {
|
5461
|
-
third_party_source
|
5462
|
-
third_party_id
|
6880
|
+
third_party_source?: string | null | undefined;
|
6881
|
+
third_party_id?: string | null | undefined;
|
5463
6882
|
}>;
|
5464
6883
|
}
|