commandbar 1.6.12 → 1.6.13
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/internal/src/client/AddContextOptions.d.ts +5 -0
- package/build/internal/src/client/CommandBarClientSDK.d.ts +8 -1
- package/build/internal/src/client/EventHandler.d.ts +1 -1
- package/build/internal/src/client/SentryReporter.d.ts +24 -3
- package/build/internal/src/middleware/CommandFromClientV.d.ts +43 -3
- package/build/internal/src/middleware/command.d.ts +963 -59
- package/build/internal/src/middleware/detailPreview.d.ts +4 -2
- package/build/internal/src/middleware/helpers/argument.d.ts +151 -0
- package/build/internal/src/middleware/helpers/commandTemplate.d.ts +17 -0
- package/build/internal/src/middleware/organization.d.ts +51 -3
- package/build/internal/src/middleware/types.d.ts +57 -3
- package/package.json +1 -1
@@ -1,9 +1,11 @@
|
|
1
1
|
/*******************************************************************************/
|
2
2
|
import * as t from 'io-ts';
|
3
|
-
export declare const DetailPreviewObjectV: t.TypeC<{
|
3
|
+
export declare const DetailPreviewObjectV: t.IntersectionC<[t.TypeC<{
|
4
4
|
type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"react">, t.LiteralC<"video">, t.NullC]>;
|
5
5
|
value: t.StringC;
|
6
|
-
}
|
6
|
+
}>, t.PartialC<{
|
7
|
+
position: t.UnionC<[t.LiteralC<"inline">, t.LiteralC<"popover">]>;
|
8
|
+
}>]>;
|
7
9
|
export declare type DetailPreviewObjectType = t.TypeOf<typeof DetailPreviewObjectV>;
|
8
10
|
export declare type DetailPreviewType = string | DetailPreviewObjectType | (string | DetailPreviewObjectType)[];
|
9
11
|
export declare type DataRowMedata = {
|
@@ -28,6 +28,8 @@ export declare const ContextArgumentV: t.IntersectionC<[t.TypeC<{
|
|
28
28
|
allow_create_label: t.StringC;
|
29
29
|
show_in_record_action_list: t.BooleanC;
|
30
30
|
show_in_default_list: t.BooleanC;
|
31
|
+
auto_choose: t.BooleanC;
|
32
|
+
is_private: t.BooleanC;
|
31
33
|
}>]>;
|
32
34
|
export declare const SetArgumentV: t.IntersectionC<[t.TypeC<{
|
33
35
|
type: t.LiteralC<"set">;
|
@@ -48,6 +50,41 @@ export declare const SetArgumentV: t.IntersectionC<[t.TypeC<{
|
|
48
50
|
loaded: t.ArrayC<t.AnyC>;
|
49
51
|
allow_create: t.BooleanC;
|
50
52
|
allow_create_label: t.StringC;
|
53
|
+
auto_choose: t.BooleanC;
|
54
|
+
is_private: t.BooleanC;
|
55
|
+
}>]>;
|
56
|
+
export declare const VideoDashboardV: t.IntersectionC<[t.TypeC<{
|
57
|
+
source: t.StringC;
|
58
|
+
}>, t.PartialC<{
|
59
|
+
title: t.StringC;
|
60
|
+
description: t.StringC;
|
61
|
+
}>]>;
|
62
|
+
export declare const VideoArgumentV: t.IntersectionC<[t.TypeC<{
|
63
|
+
type: t.LiteralC<"video">;
|
64
|
+
value: t.IntersectionC<[t.TypeC<{
|
65
|
+
source: t.StringC;
|
66
|
+
}>, t.PartialC<{
|
67
|
+
title: t.StringC;
|
68
|
+
description: t.StringC;
|
69
|
+
}>]>;
|
70
|
+
order_key: t.NumberC;
|
71
|
+
}>, t.PartialC<{
|
72
|
+
label: t.StringC;
|
73
|
+
chosen: t.UnionC<[t.StringC, t.NumberC]>;
|
74
|
+
selected: t.ArrayC<t.AnyC>;
|
75
|
+
input_type: t.StringC;
|
76
|
+
preselected_key: t.StringC;
|
77
|
+
label_field: t.StringC;
|
78
|
+
availability_condition: t.ArrayC<t.TypeC<{
|
79
|
+
field: t.StringC;
|
80
|
+
operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
|
81
|
+
value: t.UnionC<[t.StringC, t.UndefinedC]>;
|
82
|
+
}>>;
|
83
|
+
loaded: t.ArrayC<t.AnyC>;
|
84
|
+
allow_create: t.BooleanC;
|
85
|
+
allow_create_label: t.StringC;
|
86
|
+
is_private: t.BooleanC;
|
87
|
+
auto_choose: t.BooleanC;
|
51
88
|
}>]>;
|
52
89
|
export declare const DynamicArgumentV: t.IntersectionC<[t.TypeC<{
|
53
90
|
type: t.LiteralC<"provided">;
|
@@ -69,6 +106,8 @@ export declare const DynamicArgumentV: t.IntersectionC<[t.TypeC<{
|
|
69
106
|
dateTimeArgumentTypeId: t.NumberC;
|
70
107
|
allow_create: t.BooleanC;
|
71
108
|
allow_create_label: t.StringC;
|
109
|
+
auto_choose: t.BooleanC;
|
110
|
+
is_private: t.BooleanC;
|
72
111
|
}>]>;
|
73
112
|
export declare const DependentArgumentV: t.IntersectionC<[t.TypeC<{
|
74
113
|
type: t.LiteralC<"dependent">;
|
@@ -89,6 +128,8 @@ export declare const DependentArgumentV: t.IntersectionC<[t.TypeC<{
|
|
89
128
|
loaded: t.ArrayC<t.AnyC>;
|
90
129
|
allow_create: t.BooleanC;
|
91
130
|
allow_create_label: t.StringC;
|
131
|
+
auto_choose: t.BooleanC;
|
132
|
+
is_private: t.BooleanC;
|
92
133
|
}>]>;
|
93
134
|
export declare const FunctionArgumentV: t.IntersectionC<[t.TypeC<{
|
94
135
|
type: t.LiteralC<"function">;
|
@@ -109,6 +150,8 @@ export declare const FunctionArgumentV: t.IntersectionC<[t.TypeC<{
|
|
109
150
|
loaded: t.ArrayC<t.AnyC>;
|
110
151
|
allow_create: t.BooleanC;
|
111
152
|
allow_create_label: t.StringC;
|
153
|
+
auto_choose: t.BooleanC;
|
154
|
+
is_private: t.BooleanC;
|
112
155
|
}>]>;
|
113
156
|
export declare const ArgumentTypeV: t.UnionC<[t.IntersectionC<[t.TypeC<{
|
114
157
|
type: t.LiteralC<"context">;
|
@@ -131,6 +174,8 @@ export declare const ArgumentTypeV: t.UnionC<[t.IntersectionC<[t.TypeC<{
|
|
131
174
|
allow_create_label: t.StringC;
|
132
175
|
show_in_record_action_list: t.BooleanC;
|
133
176
|
show_in_default_list: t.BooleanC;
|
177
|
+
auto_choose: t.BooleanC;
|
178
|
+
is_private: t.BooleanC;
|
134
179
|
}>]>, t.IntersectionC<[t.TypeC<{
|
135
180
|
type: t.LiteralC<"set">;
|
136
181
|
value: t.UnionC<[t.ArrayC<t.StringC>, t.ArrayC<t.NumberC>, t.ArrayC<t.UnknownRecordC>]>;
|
@@ -150,6 +195,8 @@ export declare const ArgumentTypeV: t.UnionC<[t.IntersectionC<[t.TypeC<{
|
|
150
195
|
loaded: t.ArrayC<t.AnyC>;
|
151
196
|
allow_create: t.BooleanC;
|
152
197
|
allow_create_label: t.StringC;
|
198
|
+
auto_choose: t.BooleanC;
|
199
|
+
is_private: t.BooleanC;
|
153
200
|
}>]>, t.IntersectionC<[t.TypeC<{
|
154
201
|
type: t.LiteralC<"provided">;
|
155
202
|
value: t.UnionC<[t.LiteralC<"text">, t.LiteralC<"time">]>;
|
@@ -170,6 +217,8 @@ export declare const ArgumentTypeV: t.UnionC<[t.IntersectionC<[t.TypeC<{
|
|
170
217
|
dateTimeArgumentTypeId: t.NumberC;
|
171
218
|
allow_create: t.BooleanC;
|
172
219
|
allow_create_label: t.StringC;
|
220
|
+
auto_choose: t.BooleanC;
|
221
|
+
is_private: t.BooleanC;
|
173
222
|
}>]>, t.IntersectionC<[t.TypeC<{
|
174
223
|
type: t.LiteralC<"dependent">;
|
175
224
|
value: t.StringC;
|
@@ -189,6 +238,8 @@ export declare const ArgumentTypeV: t.UnionC<[t.IntersectionC<[t.TypeC<{
|
|
189
238
|
loaded: t.ArrayC<t.AnyC>;
|
190
239
|
allow_create: t.BooleanC;
|
191
240
|
allow_create_label: t.StringC;
|
241
|
+
auto_choose: t.BooleanC;
|
242
|
+
is_private: t.BooleanC;
|
192
243
|
}>]>, t.IntersectionC<[t.TypeC<{
|
193
244
|
type: t.LiteralC<"function">;
|
194
245
|
value: t.StringC;
|
@@ -208,6 +259,34 @@ export declare const ArgumentTypeV: t.UnionC<[t.IntersectionC<[t.TypeC<{
|
|
208
259
|
loaded: t.ArrayC<t.AnyC>;
|
209
260
|
allow_create: t.BooleanC;
|
210
261
|
allow_create_label: t.StringC;
|
262
|
+
auto_choose: t.BooleanC;
|
263
|
+
is_private: t.BooleanC;
|
264
|
+
}>]>, t.IntersectionC<[t.TypeC<{
|
265
|
+
type: t.LiteralC<"video">;
|
266
|
+
value: t.IntersectionC<[t.TypeC<{
|
267
|
+
source: t.StringC;
|
268
|
+
}>, t.PartialC<{
|
269
|
+
title: t.StringC;
|
270
|
+
description: t.StringC;
|
271
|
+
}>]>;
|
272
|
+
order_key: t.NumberC;
|
273
|
+
}>, t.PartialC<{
|
274
|
+
label: t.StringC;
|
275
|
+
chosen: t.UnionC<[t.StringC, t.NumberC]>;
|
276
|
+
selected: t.ArrayC<t.AnyC>;
|
277
|
+
input_type: t.StringC;
|
278
|
+
preselected_key: t.StringC;
|
279
|
+
label_field: t.StringC;
|
280
|
+
availability_condition: t.ArrayC<t.TypeC<{
|
281
|
+
field: t.StringC;
|
282
|
+
operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
|
283
|
+
value: t.UnionC<[t.StringC, t.UndefinedC]>;
|
284
|
+
}>>;
|
285
|
+
loaded: t.ArrayC<t.AnyC>;
|
286
|
+
allow_create: t.BooleanC;
|
287
|
+
allow_create_label: t.StringC;
|
288
|
+
is_private: t.BooleanC;
|
289
|
+
auto_choose: t.BooleanC;
|
211
290
|
}>]>]>;
|
212
291
|
export declare const ArgumentMapV: t.RecordC<t.StringC, t.UnionC<[t.IntersectionC<[t.TypeC<{
|
213
292
|
type: t.LiteralC<"context">;
|
@@ -230,6 +309,8 @@ export declare const ArgumentMapV: t.RecordC<t.StringC, t.UnionC<[t.Intersection
|
|
230
309
|
allow_create_label: t.StringC;
|
231
310
|
show_in_record_action_list: t.BooleanC;
|
232
311
|
show_in_default_list: t.BooleanC;
|
312
|
+
auto_choose: t.BooleanC;
|
313
|
+
is_private: t.BooleanC;
|
233
314
|
}>]>, t.IntersectionC<[t.TypeC<{
|
234
315
|
type: t.LiteralC<"set">;
|
235
316
|
value: t.UnionC<[t.ArrayC<t.StringC>, t.ArrayC<t.NumberC>, t.ArrayC<t.UnknownRecordC>]>;
|
@@ -249,6 +330,8 @@ export declare const ArgumentMapV: t.RecordC<t.StringC, t.UnionC<[t.Intersection
|
|
249
330
|
loaded: t.ArrayC<t.AnyC>;
|
250
331
|
allow_create: t.BooleanC;
|
251
332
|
allow_create_label: t.StringC;
|
333
|
+
auto_choose: t.BooleanC;
|
334
|
+
is_private: t.BooleanC;
|
252
335
|
}>]>, t.IntersectionC<[t.TypeC<{
|
253
336
|
type: t.LiteralC<"provided">;
|
254
337
|
value: t.UnionC<[t.LiteralC<"text">, t.LiteralC<"time">]>;
|
@@ -269,6 +352,8 @@ export declare const ArgumentMapV: t.RecordC<t.StringC, t.UnionC<[t.Intersection
|
|
269
352
|
dateTimeArgumentTypeId: t.NumberC;
|
270
353
|
allow_create: t.BooleanC;
|
271
354
|
allow_create_label: t.StringC;
|
355
|
+
auto_choose: t.BooleanC;
|
356
|
+
is_private: t.BooleanC;
|
272
357
|
}>]>, t.IntersectionC<[t.TypeC<{
|
273
358
|
type: t.LiteralC<"dependent">;
|
274
359
|
value: t.StringC;
|
@@ -288,6 +373,8 @@ export declare const ArgumentMapV: t.RecordC<t.StringC, t.UnionC<[t.Intersection
|
|
288
373
|
loaded: t.ArrayC<t.AnyC>;
|
289
374
|
allow_create: t.BooleanC;
|
290
375
|
allow_create_label: t.StringC;
|
376
|
+
auto_choose: t.BooleanC;
|
377
|
+
is_private: t.BooleanC;
|
291
378
|
}>]>, t.IntersectionC<[t.TypeC<{
|
292
379
|
type: t.LiteralC<"function">;
|
293
380
|
value: t.StringC;
|
@@ -307,6 +394,34 @@ export declare const ArgumentMapV: t.RecordC<t.StringC, t.UnionC<[t.Intersection
|
|
307
394
|
loaded: t.ArrayC<t.AnyC>;
|
308
395
|
allow_create: t.BooleanC;
|
309
396
|
allow_create_label: t.StringC;
|
397
|
+
auto_choose: t.BooleanC;
|
398
|
+
is_private: t.BooleanC;
|
399
|
+
}>]>, t.IntersectionC<[t.TypeC<{
|
400
|
+
type: t.LiteralC<"video">;
|
401
|
+
value: t.IntersectionC<[t.TypeC<{
|
402
|
+
source: t.StringC;
|
403
|
+
}>, t.PartialC<{
|
404
|
+
title: t.StringC;
|
405
|
+
description: t.StringC;
|
406
|
+
}>]>;
|
407
|
+
order_key: t.NumberC;
|
408
|
+
}>, t.PartialC<{
|
409
|
+
label: t.StringC;
|
410
|
+
chosen: t.UnionC<[t.StringC, t.NumberC]>;
|
411
|
+
selected: t.ArrayC<t.AnyC>;
|
412
|
+
input_type: t.StringC;
|
413
|
+
preselected_key: t.StringC;
|
414
|
+
label_field: t.StringC;
|
415
|
+
availability_condition: t.ArrayC<t.TypeC<{
|
416
|
+
field: t.StringC;
|
417
|
+
operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
|
418
|
+
value: t.UnionC<[t.StringC, t.UndefinedC]>;
|
419
|
+
}>>;
|
420
|
+
loaded: t.ArrayC<t.AnyC>;
|
421
|
+
allow_create: t.BooleanC;
|
422
|
+
allow_create_label: t.StringC;
|
423
|
+
is_private: t.BooleanC;
|
424
|
+
auto_choose: t.BooleanC;
|
310
425
|
}>]>]>>;
|
311
426
|
export declare const StepArgumentTypeV: t.IntersectionC<[t.TypeC<{
|
312
427
|
userDefinedName: t.StringC;
|
@@ -332,6 +447,8 @@ export declare const StepArgumentTypeV: t.IntersectionC<[t.TypeC<{
|
|
332
447
|
allow_create_label: t.StringC;
|
333
448
|
show_in_record_action_list: t.BooleanC;
|
334
449
|
show_in_default_list: t.BooleanC;
|
450
|
+
auto_choose: t.BooleanC;
|
451
|
+
is_private: t.BooleanC;
|
335
452
|
}>]>, t.IntersectionC<[t.TypeC<{
|
336
453
|
type: t.LiteralC<"set">;
|
337
454
|
value: t.UnionC<[t.ArrayC<t.StringC>, t.ArrayC<t.NumberC>, t.ArrayC<t.UnknownRecordC>]>;
|
@@ -351,6 +468,8 @@ export declare const StepArgumentTypeV: t.IntersectionC<[t.TypeC<{
|
|
351
468
|
loaded: t.ArrayC<t.AnyC>;
|
352
469
|
allow_create: t.BooleanC;
|
353
470
|
allow_create_label: t.StringC;
|
471
|
+
auto_choose: t.BooleanC;
|
472
|
+
is_private: t.BooleanC;
|
354
473
|
}>]>, t.IntersectionC<[t.TypeC<{
|
355
474
|
type: t.LiteralC<"provided">;
|
356
475
|
value: t.UnionC<[t.LiteralC<"text">, t.LiteralC<"time">]>;
|
@@ -371,6 +490,8 @@ export declare const StepArgumentTypeV: t.IntersectionC<[t.TypeC<{
|
|
371
490
|
dateTimeArgumentTypeId: t.NumberC;
|
372
491
|
allow_create: t.BooleanC;
|
373
492
|
allow_create_label: t.StringC;
|
493
|
+
auto_choose: t.BooleanC;
|
494
|
+
is_private: t.BooleanC;
|
374
495
|
}>]>, t.IntersectionC<[t.TypeC<{
|
375
496
|
type: t.LiteralC<"dependent">;
|
376
497
|
value: t.StringC;
|
@@ -390,6 +511,8 @@ export declare const StepArgumentTypeV: t.IntersectionC<[t.TypeC<{
|
|
390
511
|
loaded: t.ArrayC<t.AnyC>;
|
391
512
|
allow_create: t.BooleanC;
|
392
513
|
allow_create_label: t.StringC;
|
514
|
+
auto_choose: t.BooleanC;
|
515
|
+
is_private: t.BooleanC;
|
393
516
|
}>]>, t.IntersectionC<[t.TypeC<{
|
394
517
|
type: t.LiteralC<"function">;
|
395
518
|
value: t.StringC;
|
@@ -409,4 +532,32 @@ export declare const StepArgumentTypeV: t.IntersectionC<[t.TypeC<{
|
|
409
532
|
loaded: t.ArrayC<t.AnyC>;
|
410
533
|
allow_create: t.BooleanC;
|
411
534
|
allow_create_label: t.StringC;
|
535
|
+
auto_choose: t.BooleanC;
|
536
|
+
is_private: t.BooleanC;
|
537
|
+
}>]>, t.IntersectionC<[t.TypeC<{
|
538
|
+
type: t.LiteralC<"video">;
|
539
|
+
value: t.IntersectionC<[t.TypeC<{
|
540
|
+
source: t.StringC;
|
541
|
+
}>, t.PartialC<{
|
542
|
+
title: t.StringC;
|
543
|
+
description: t.StringC;
|
544
|
+
}>]>;
|
545
|
+
order_key: t.NumberC;
|
546
|
+
}>, t.PartialC<{
|
547
|
+
label: t.StringC;
|
548
|
+
chosen: t.UnionC<[t.StringC, t.NumberC]>;
|
549
|
+
selected: t.ArrayC<t.AnyC>;
|
550
|
+
input_type: t.StringC;
|
551
|
+
preselected_key: t.StringC;
|
552
|
+
label_field: t.StringC;
|
553
|
+
availability_condition: t.ArrayC<t.TypeC<{
|
554
|
+
field: t.StringC;
|
555
|
+
operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
|
556
|
+
value: t.UnionC<[t.StringC, t.UndefinedC]>;
|
557
|
+
}>>;
|
558
|
+
loaded: t.ArrayC<t.AnyC>;
|
559
|
+
allow_create: t.BooleanC;
|
560
|
+
allow_create_label: t.StringC;
|
561
|
+
is_private: t.BooleanC;
|
562
|
+
auto_choose: t.BooleanC;
|
412
563
|
}>]>]>]>;
|
@@ -79,6 +79,15 @@ export declare const ScriptTemplateV: t.IntersectionC<[t.TypeC<{
|
|
79
79
|
hoverTooltip: t.BooleanC;
|
80
80
|
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
81
81
|
}>]>]>;
|
82
|
+
export declare const VideoTemplateV: t.IntersectionC<[t.TypeC<{
|
83
|
+
type: t.LiteralC<"video">;
|
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
|
+
}>]>]>;
|
82
91
|
export declare const RequestV: t.IntersectionC<[t.TypeC<{
|
83
92
|
method: t.UnionC<[t.LiteralC<"get">, t.LiteralC<"delete">, t.LiteralC<"head">, t.LiteralC<"options">, t.LiteralC<"post">, t.LiteralC<"put">, t.LiteralC<"patch">]>;
|
84
93
|
url: t.StringC;
|
@@ -188,4 +197,12 @@ export declare const TemplateV: t.UnionC<[t.IntersectionC<[t.TypeC<{
|
|
188
197
|
object: t.StringC;
|
189
198
|
hoverTooltip: t.BooleanC;
|
190
199
|
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
200
|
+
}>]>]>, t.IntersectionC<[t.TypeC<{
|
201
|
+
type: t.LiteralC<"video">;
|
202
|
+
value: t.StringC;
|
203
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
204
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
205
|
+
object: t.StringC;
|
206
|
+
hoverTooltip: t.BooleanC;
|
207
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
191
208
|
}>]>]>]>;
|
@@ -344,6 +344,14 @@ export declare class Organization {
|
|
344
344
|
object?: string | undefined;
|
345
345
|
hoverTooltip?: boolean | undefined;
|
346
346
|
operation?: "self" | "router" | "blank" | undefined;
|
347
|
+
}) | ({
|
348
|
+
type: "video";
|
349
|
+
value: string;
|
350
|
+
} & {} & {
|
351
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
352
|
+
object?: string | undefined;
|
353
|
+
hoverTooltip?: boolean | undefined;
|
354
|
+
operation?: "self" | "router" | "blank" | undefined;
|
347
355
|
});
|
348
356
|
} & {
|
349
357
|
disabledReason?: string | undefined;
|
@@ -374,6 +382,8 @@ export declare class Organization {
|
|
374
382
|
allow_create_label?: string | undefined;
|
375
383
|
show_in_record_action_list?: boolean | undefined;
|
376
384
|
show_in_default_list?: boolean | undefined;
|
385
|
+
auto_choose?: boolean | undefined;
|
386
|
+
is_private?: boolean | undefined;
|
377
387
|
}) | ({
|
378
388
|
type: "set";
|
379
389
|
value: string[] | number[] | {
|
@@ -395,6 +405,8 @@ export declare class Organization {
|
|
395
405
|
loaded?: any[] | undefined;
|
396
406
|
allow_create?: boolean | undefined;
|
397
407
|
allow_create_label?: string | undefined;
|
408
|
+
auto_choose?: boolean | undefined;
|
409
|
+
is_private?: boolean | undefined;
|
398
410
|
}) | ({
|
399
411
|
type: "provided";
|
400
412
|
value: "time" | "text";
|
@@ -415,6 +427,8 @@ export declare class Organization {
|
|
415
427
|
dateTimeArgumentTypeId?: number | undefined;
|
416
428
|
allow_create?: boolean | undefined;
|
417
429
|
allow_create_label?: string | undefined;
|
430
|
+
auto_choose?: boolean | undefined;
|
431
|
+
is_private?: boolean | undefined;
|
418
432
|
}) | ({
|
419
433
|
type: "dependent";
|
420
434
|
value: string;
|
@@ -434,6 +448,8 @@ export declare class Organization {
|
|
434
448
|
loaded?: any[] | undefined;
|
435
449
|
allow_create?: boolean | undefined;
|
436
450
|
allow_create_label?: string | undefined;
|
451
|
+
auto_choose?: boolean | undefined;
|
452
|
+
is_private?: boolean | undefined;
|
437
453
|
}) | ({
|
438
454
|
type: "function";
|
439
455
|
value: string;
|
@@ -453,6 +469,34 @@ export declare class Organization {
|
|
453
469
|
loaded?: any[] | undefined;
|
454
470
|
allow_create?: boolean | undefined;
|
455
471
|
allow_create_label?: string | undefined;
|
472
|
+
auto_choose?: boolean | undefined;
|
473
|
+
is_private?: boolean | undefined;
|
474
|
+
}) | ({
|
475
|
+
type: "video";
|
476
|
+
value: {
|
477
|
+
source: string;
|
478
|
+
} & {
|
479
|
+
title?: string | undefined;
|
480
|
+
description?: string | undefined;
|
481
|
+
};
|
482
|
+
order_key: number;
|
483
|
+
} & {
|
484
|
+
label?: string | undefined;
|
485
|
+
chosen?: string | number | undefined;
|
486
|
+
selected?: any[] | undefined;
|
487
|
+
input_type?: string | undefined;
|
488
|
+
preselected_key?: string | undefined;
|
489
|
+
label_field?: string | undefined;
|
490
|
+
availability_condition?: {
|
491
|
+
field: string;
|
492
|
+
operator: "==" | "!=" | "isTruthy" | "isFalsy";
|
493
|
+
value: string | undefined;
|
494
|
+
}[] | undefined;
|
495
|
+
loaded?: any[] | undefined;
|
496
|
+
allow_create?: boolean | undefined;
|
497
|
+
allow_create_label?: string | undefined;
|
498
|
+
is_private?: boolean | undefined;
|
499
|
+
auto_choose?: boolean | undefined;
|
456
500
|
});
|
457
501
|
};
|
458
502
|
tags: string[];
|
@@ -506,13 +550,17 @@ export declare class Organization {
|
|
506
550
|
shortcut_win: string[];
|
507
551
|
hotkey_mac: string;
|
508
552
|
hotkey_win: string;
|
509
|
-
detail: string | {
|
553
|
+
detail: string | ({
|
510
554
|
type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
|
511
555
|
value: string;
|
512
|
-
}
|
556
|
+
} & {
|
557
|
+
position?: "inline" | "popover" | undefined;
|
558
|
+
}) | (string | ({
|
513
559
|
type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
|
514
560
|
value: string;
|
515
|
-
}
|
561
|
+
} & {
|
562
|
+
position?: "inline" | "popover" | undefined;
|
563
|
+
}))[] | null;
|
516
564
|
})[]>;
|
517
565
|
static listCommandCategories: (orgUID: string) => Promise<({
|
518
566
|
id: number;
|
@@ -190,6 +190,14 @@ export declare const isCommand: (command?: ICommandType | any) => command is {
|
|
190
190
|
object?: string | undefined;
|
191
191
|
hoverTooltip?: boolean | undefined;
|
192
192
|
operation?: "self" | "router" | "blank" | undefined;
|
193
|
+
}) | ({
|
194
|
+
type: "video";
|
195
|
+
value: string;
|
196
|
+
} & {} & {
|
197
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
198
|
+
object?: string | undefined;
|
199
|
+
hoverTooltip?: boolean | undefined;
|
200
|
+
operation?: "self" | "router" | "blank" | undefined;
|
193
201
|
});
|
194
202
|
} & {
|
195
203
|
disabledReason?: string | undefined;
|
@@ -220,6 +228,8 @@ export declare const isCommand: (command?: ICommandType | any) => command is {
|
|
220
228
|
allow_create_label?: string | undefined;
|
221
229
|
show_in_record_action_list?: boolean | undefined;
|
222
230
|
show_in_default_list?: boolean | undefined;
|
231
|
+
auto_choose?: boolean | undefined;
|
232
|
+
is_private?: boolean | undefined;
|
223
233
|
}) | ({
|
224
234
|
type: "set";
|
225
235
|
value: string[] | number[] | {
|
@@ -241,6 +251,8 @@ export declare const isCommand: (command?: ICommandType | any) => command is {
|
|
241
251
|
loaded?: any[] | undefined;
|
242
252
|
allow_create?: boolean | undefined;
|
243
253
|
allow_create_label?: string | undefined;
|
254
|
+
auto_choose?: boolean | undefined;
|
255
|
+
is_private?: boolean | undefined;
|
244
256
|
}) | ({
|
245
257
|
type: "provided";
|
246
258
|
value: "time" | "text";
|
@@ -261,6 +273,8 @@ export declare const isCommand: (command?: ICommandType | any) => command is {
|
|
261
273
|
dateTimeArgumentTypeId?: number | undefined;
|
262
274
|
allow_create?: boolean | undefined;
|
263
275
|
allow_create_label?: string | undefined;
|
276
|
+
auto_choose?: boolean | undefined;
|
277
|
+
is_private?: boolean | undefined;
|
264
278
|
}) | ({
|
265
279
|
type: "dependent";
|
266
280
|
value: string;
|
@@ -280,6 +294,8 @@ export declare const isCommand: (command?: ICommandType | any) => command is {
|
|
280
294
|
loaded?: any[] | undefined;
|
281
295
|
allow_create?: boolean | undefined;
|
282
296
|
allow_create_label?: string | undefined;
|
297
|
+
auto_choose?: boolean | undefined;
|
298
|
+
is_private?: boolean | undefined;
|
283
299
|
}) | ({
|
284
300
|
type: "function";
|
285
301
|
value: string;
|
@@ -299,6 +315,34 @@ export declare const isCommand: (command?: ICommandType | any) => command is {
|
|
299
315
|
loaded?: any[] | undefined;
|
300
316
|
allow_create?: boolean | undefined;
|
301
317
|
allow_create_label?: string | undefined;
|
318
|
+
auto_choose?: boolean | undefined;
|
319
|
+
is_private?: boolean | undefined;
|
320
|
+
}) | ({
|
321
|
+
type: "video";
|
322
|
+
value: {
|
323
|
+
source: string;
|
324
|
+
} & {
|
325
|
+
title?: string | undefined;
|
326
|
+
description?: string | undefined;
|
327
|
+
};
|
328
|
+
order_key: number;
|
329
|
+
} & {
|
330
|
+
label?: string | undefined;
|
331
|
+
chosen?: string | number | undefined;
|
332
|
+
selected?: any[] | undefined;
|
333
|
+
input_type?: string | undefined;
|
334
|
+
preselected_key?: string | undefined;
|
335
|
+
label_field?: string | undefined;
|
336
|
+
availability_condition?: {
|
337
|
+
field: string;
|
338
|
+
operator: "==" | "!=" | "isTruthy" | "isFalsy";
|
339
|
+
value: string | undefined;
|
340
|
+
}[] | undefined;
|
341
|
+
loaded?: any[] | undefined;
|
342
|
+
allow_create?: boolean | undefined;
|
343
|
+
allow_create_label?: string | undefined;
|
344
|
+
is_private?: boolean | undefined;
|
345
|
+
auto_choose?: boolean | undefined;
|
302
346
|
});
|
303
347
|
};
|
304
348
|
tags: string[];
|
@@ -352,13 +396,17 @@ export declare const isCommand: (command?: ICommandType | any) => command is {
|
|
352
396
|
shortcut_win: string[];
|
353
397
|
hotkey_mac: string;
|
354
398
|
hotkey_win: string;
|
355
|
-
detail: string | {
|
399
|
+
detail: string | ({
|
356
400
|
type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
|
357
401
|
value: string;
|
358
|
-
}
|
402
|
+
} & {
|
403
|
+
position?: "inline" | "popover" | undefined;
|
404
|
+
}) | (string | ({
|
359
405
|
type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
|
360
406
|
value: string;
|
361
|
-
}
|
407
|
+
} & {
|
408
|
+
position?: "inline" | "popover" | undefined;
|
409
|
+
}))[] | null;
|
362
410
|
};
|
363
411
|
export declare const isResource: (option: any) => option is IResourceType;
|
364
412
|
export declare const isContextArgument: (argument: IArgumentType) => argument is {
|
@@ -382,6 +430,8 @@ export declare const isContextArgument: (argument: IArgumentType) => argument is
|
|
382
430
|
allow_create_label?: string | undefined;
|
383
431
|
show_in_record_action_list?: boolean | undefined;
|
384
432
|
show_in_default_list?: boolean | undefined;
|
433
|
+
auto_choose?: boolean | undefined;
|
434
|
+
is_private?: boolean | undefined;
|
385
435
|
};
|
386
436
|
export declare const isTimeArgument: (argument: IArgumentType) => argument is {
|
387
437
|
type: "provided";
|
@@ -403,6 +453,8 @@ export declare const isTimeArgument: (argument: IArgumentType) => argument is {
|
|
403
453
|
dateTimeArgumentTypeId?: number | undefined;
|
404
454
|
allow_create?: boolean | undefined;
|
405
455
|
allow_create_label?: string | undefined;
|
456
|
+
auto_choose?: boolean | undefined;
|
457
|
+
is_private?: boolean | undefined;
|
406
458
|
};
|
407
459
|
export declare const isFunctionArgument: (argument: IArgumentType) => argument is {
|
408
460
|
type: "function";
|
@@ -423,4 +475,6 @@ export declare const isFunctionArgument: (argument: IArgumentType) => argument i
|
|
423
475
|
loaded?: any[] | undefined;
|
424
476
|
allow_create?: boolean | undefined;
|
425
477
|
allow_create_label?: string | undefined;
|
478
|
+
auto_choose?: boolean | undefined;
|
479
|
+
is_private?: boolean | undefined;
|
426
480
|
};
|