commandbar 1.6.6 → 1.6.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -61,6 +61,31 @@ export declare const CommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
61
61
  object: t.StringC;
62
62
  hoverTooltip: t.BooleanC;
63
63
  operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
64
+ }>]>]>, t.IntersectionC<[t.TypeC<{
65
+ type: t.LiteralC<"request">;
66
+ value: t.IntersectionC<[t.TypeC<{
67
+ method: t.UnionC<[t.LiteralC<"get">, t.LiteralC<"delete">, t.LiteralC<"head">, t.LiteralC<"options">, t.LiteralC<"post">, t.LiteralC<"put">, t.LiteralC<"patch">]>;
68
+ url: t.StringC;
69
+ }>, t.PartialC<{
70
+ headers: t.UnknownRecordC;
71
+ body: t.UnknownRecordC;
72
+ onSend: t.StringC;
73
+ onSuccess: t.StringC;
74
+ onError: t.StringC;
75
+ }>]>;
76
+ }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
77
+ commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
78
+ object: t.StringC;
79
+ hoverTooltip: t.BooleanC;
80
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
81
+ }>]>]>, t.IntersectionC<[t.TypeC<{
82
+ type: t.LiteralC<"appcues">;
83
+ value: t.StringC;
84
+ }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
85
+ commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
86
+ object: t.StringC;
87
+ hoverTooltip: t.BooleanC;
88
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
64
89
  }>]>]>]>;
65
90
  }>, t.PartialC<{
66
91
  disabledReason: t.StringC;
@@ -68,6 +93,13 @@ export declare const CommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
68
93
  name: t.StringC;
69
94
  last_available: t.UnionC<[t.StringC, t.NullC]>;
70
95
  modified: t.StringC;
96
+ detail: t.UnionC<[t.StringC, t.TypeC<{
97
+ type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"reader">, t.LiteralC<"react">]>;
98
+ value: t.StringC;
99
+ }>, t.ArrayC<t.TypeC<{
100
+ type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"reader">, t.LiteralC<"react">]>;
101
+ value: t.StringC;
102
+ }>>]>;
71
103
  }>]>, t.TypeC<{
72
104
  arguments: t.RecordC<t.StringC, t.UnionC<[t.IntersectionC<[t.TypeC<{
73
105
  type: t.LiteralC<"context">;
@@ -88,6 +120,8 @@ export declare const CommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
88
120
  loaded: t.ArrayC<t.AnyC>;
89
121
  allow_create: t.BooleanC;
90
122
  allow_create_label: t.StringC;
123
+ show_in_record_action_list: t.BooleanC;
124
+ show_in_default_list: t.BooleanC;
91
125
  }>]>, t.IntersectionC<[t.TypeC<{
92
126
  type: t.LiteralC<"set">;
93
127
  value: t.UnionC<[t.ArrayC<t.StringC>, t.ArrayC<t.NumberC>, t.ArrayC<t.UnknownRecordC>]>;
@@ -233,7 +267,20 @@ export declare const CommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
233
267
  category: t.UnionC<[t.NumberC, t.NullC]>;
234
268
  sort_key: t.UnionC<[t.NumberC, t.NullC]>;
235
269
  icon: t.UnionC<[t.StringC, t.NullC]>;
236
- celebrate: t.UnionC<[t.RecordC<t.StringC, t.AnyC>, t.NullC]>;
270
+ celebrate: t.UnionC<[t.BooleanC, t.PartialC<{
271
+ angle: t.NumberC;
272
+ spread: t.NumberC;
273
+ width: t.StringC;
274
+ height: t.StringC;
275
+ duration: t.NumberC;
276
+ dragFriction: t.NumberC;
277
+ stagger: t.NumberC;
278
+ startVelocity: t.NumberC;
279
+ elementCount: t.NumberC;
280
+ decay: t.NumberC;
281
+ colors: t.ArrayC<t.StringC>;
282
+ random: t.AnyC;
283
+ }>, t.NullC]>;
237
284
  recommend_sort_key: t.UnionC<[t.NumberC, t.NullC]>;
238
285
  shortcut_mac: t.ArrayC<t.StringC>;
239
286
  shortcut_win: t.ArrayC<t.StringC>;
@@ -300,6 +347,31 @@ export declare const EditorCommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
300
347
  object: t.StringC;
301
348
  hoverTooltip: t.BooleanC;
302
349
  operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
350
+ }>]>]>, t.IntersectionC<[t.TypeC<{
351
+ type: t.LiteralC<"request">;
352
+ value: t.IntersectionC<[t.TypeC<{
353
+ method: t.UnionC<[t.LiteralC<"get">, t.LiteralC<"delete">, t.LiteralC<"head">, t.LiteralC<"options">, t.LiteralC<"post">, t.LiteralC<"put">, t.LiteralC<"patch">]>;
354
+ url: t.StringC;
355
+ }>, t.PartialC<{
356
+ headers: t.UnknownRecordC;
357
+ body: t.UnknownRecordC;
358
+ onSend: t.StringC;
359
+ onSuccess: t.StringC;
360
+ onError: t.StringC;
361
+ }>]>;
362
+ }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
363
+ commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
364
+ object: t.StringC;
365
+ hoverTooltip: t.BooleanC;
366
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
367
+ }>]>]>, t.IntersectionC<[t.TypeC<{
368
+ type: t.LiteralC<"appcues">;
369
+ value: t.StringC;
370
+ }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
371
+ commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
372
+ object: t.StringC;
373
+ hoverTooltip: t.BooleanC;
374
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
303
375
  }>]>]>]>;
304
376
  }>, t.PartialC<{
305
377
  disabledReason: t.StringC;
@@ -307,6 +379,13 @@ export declare const EditorCommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
307
379
  name: t.StringC;
308
380
  last_available: t.UnionC<[t.StringC, t.NullC]>;
309
381
  modified: t.StringC;
382
+ detail: t.UnionC<[t.StringC, t.TypeC<{
383
+ type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"reader">, t.LiteralC<"react">]>;
384
+ value: t.StringC;
385
+ }>, t.ArrayC<t.TypeC<{
386
+ type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"reader">, t.LiteralC<"react">]>;
387
+ value: t.StringC;
388
+ }>>]>;
310
389
  }>]>, t.TypeC<{
311
390
  arguments: t.RecordC<t.StringC, t.UnionC<[t.IntersectionC<[t.TypeC<{
312
391
  type: t.LiteralC<"context">;
@@ -327,6 +406,8 @@ export declare const EditorCommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
327
406
  loaded: t.ArrayC<t.AnyC>;
328
407
  allow_create: t.BooleanC;
329
408
  allow_create_label: t.StringC;
409
+ show_in_record_action_list: t.BooleanC;
410
+ show_in_default_list: t.BooleanC;
330
411
  }>]>, t.IntersectionC<[t.TypeC<{
331
412
  type: t.LiteralC<"set">;
332
413
  value: t.UnionC<[t.ArrayC<t.StringC>, t.ArrayC<t.NumberC>, t.ArrayC<t.UnknownRecordC>]>;
@@ -539,13 +620,396 @@ export declare const EditorCommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
539
620
  category: t.UnionC<[t.NumberC, t.NullC]>;
540
621
  sort_key: t.UnionC<[t.NumberC, t.NullC]>;
541
622
  icon: t.UnionC<[t.StringC, t.NullC]>;
542
- celebrate: t.UnionC<[t.RecordC<t.StringC, t.AnyC>, t.NullC]>;
623
+ celebrate: t.UnionC<[t.BooleanC, t.PartialC<{
624
+ angle: t.NumberC;
625
+ spread: t.NumberC;
626
+ width: t.StringC;
627
+ height: t.StringC;
628
+ duration: t.NumberC;
629
+ dragFriction: t.NumberC;
630
+ stagger: t.NumberC;
631
+ startVelocity: t.NumberC;
632
+ elementCount: t.NumberC;
633
+ decay: t.NumberC;
634
+ colors: t.ArrayC<t.StringC>;
635
+ random: t.AnyC;
636
+ }>, t.NullC]>;
543
637
  recommend_sort_key: t.UnionC<[t.NumberC, t.NullC]>;
544
638
  shortcut_mac: t.ArrayC<t.StringC>;
545
639
  shortcut_win: t.ArrayC<t.StringC>;
546
640
  hotkey_mac: t.StringC;
547
641
  hotkey_win: t.StringC;
548
642
  }>]>;
643
+ export declare const BatchOperationV: t.UnionC<[t.TypeC<{
644
+ op: t.LiteralC<"update">;
645
+ id: t.NumberC;
646
+ data: t.UnknownC;
647
+ }>, t.TypeC<{
648
+ op: t.LiteralC<"create">;
649
+ data: t.UnknownC;
650
+ }>, t.TypeC<{
651
+ op: t.LiteralC<"delete">;
652
+ id: t.NumberC;
653
+ }>]>;
654
+ export declare const BatchEditorCommandRequestV: t.TypeC<{
655
+ batch: t.ArrayC<t.UnknownC>;
656
+ note: t.StringC;
657
+ }>;
658
+ export declare const BatchEditorCommandResponseV: t.TypeC<{
659
+ batch: t.ArrayC<t.IntersectionC<[t.IntersectionC<[t.TypeC<{
660
+ id: t.NumberC;
661
+ organization: t.UnionC<[t.NumberC, t.StringC]>;
662
+ text: t.StringC;
663
+ template: t.UnionC<[t.IntersectionC<[t.TypeC<{
664
+ type: t.LiteralC<"admin">;
665
+ value: t.StringC;
666
+ }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
667
+ commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
668
+ object: t.StringC;
669
+ hoverTooltip: t.BooleanC;
670
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
671
+ }>]>]>, t.IntersectionC<[t.TypeC<{
672
+ type: t.LiteralC<"callback">;
673
+ value: t.StringC;
674
+ }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
675
+ commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
676
+ object: t.StringC;
677
+ hoverTooltip: t.BooleanC;
678
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
679
+ }>]>]>, t.IntersectionC<[t.TypeC<{
680
+ type: t.LiteralC<"link">;
681
+ value: t.StringC;
682
+ }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
683
+ commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
684
+ object: t.StringC;
685
+ hoverTooltip: t.BooleanC;
686
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
687
+ }>]>]>, t.IntersectionC<[t.TypeC<{
688
+ type: t.UnionC<[t.LiteralC<"click">, t.LiteralC<"clickBySelector">, t.LiteralC<"clickByXpath">]>;
689
+ value: t.ArrayC<t.StringC>;
690
+ }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
691
+ commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
692
+ object: t.StringC;
693
+ hoverTooltip: t.BooleanC;
694
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
695
+ }>]>]>, t.IntersectionC<[t.TypeC<{
696
+ type: t.LiteralC<"builtin">;
697
+ value: t.StringC;
698
+ }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
699
+ commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
700
+ object: t.StringC;
701
+ hoverTooltip: t.BooleanC;
702
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
703
+ }>]>]>, t.IntersectionC<[t.TypeC<{
704
+ type: t.LiteralC<"webhook">;
705
+ value: t.StringC;
706
+ }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
707
+ commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
708
+ object: t.StringC;
709
+ hoverTooltip: t.BooleanC;
710
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
711
+ }>]>]>, t.IntersectionC<[t.TypeC<{
712
+ type: t.LiteralC<"script">;
713
+ value: t.StringC;
714
+ }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
715
+ commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
716
+ object: t.StringC;
717
+ hoverTooltip: t.BooleanC;
718
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
719
+ }>]>]>, t.IntersectionC<[t.TypeC<{
720
+ type: t.LiteralC<"request">;
721
+ value: t.IntersectionC<[t.TypeC<{
722
+ method: t.UnionC<[t.LiteralC<"get">, t.LiteralC<"delete">, t.LiteralC<"head">, t.LiteralC<"options">, t.LiteralC<"post">, t.LiteralC<"put">, t.LiteralC<"patch">]>;
723
+ url: t.StringC;
724
+ }>, t.PartialC<{
725
+ headers: t.UnknownRecordC;
726
+ body: t.UnknownRecordC;
727
+ onSend: t.StringC;
728
+ onSuccess: t.StringC;
729
+ onError: t.StringC;
730
+ }>]>;
731
+ }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
732
+ commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
733
+ object: t.StringC;
734
+ hoverTooltip: t.BooleanC;
735
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
736
+ }>]>]>, t.IntersectionC<[t.TypeC<{
737
+ type: t.LiteralC<"appcues">;
738
+ value: t.StringC;
739
+ }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
740
+ commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
741
+ object: t.StringC;
742
+ hoverTooltip: t.BooleanC;
743
+ operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
744
+ }>]>]>]>;
745
+ }>, t.PartialC<{
746
+ disabledReason: t.StringC;
747
+ source: t.StringC;
748
+ name: t.StringC;
749
+ last_available: t.UnionC<[t.StringC, t.NullC]>;
750
+ modified: t.StringC;
751
+ detail: t.UnionC<[t.StringC, t.TypeC<{
752
+ type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"reader">, t.LiteralC<"react">]>;
753
+ value: t.StringC;
754
+ }>, t.ArrayC<t.TypeC<{
755
+ type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"reader">, t.LiteralC<"react">]>;
756
+ value: t.StringC;
757
+ }>>]>;
758
+ }>]>, t.TypeC<{
759
+ arguments: t.RecordC<t.StringC, t.UnionC<[t.IntersectionC<[t.TypeC<{
760
+ type: t.LiteralC<"context">;
761
+ value: t.StringC;
762
+ order_key: t.NumberC;
763
+ }>, t.PartialC<{
764
+ label: t.StringC;
765
+ chosen: t.UnionC<[t.StringC, t.NumberC]>;
766
+ selected: t.ArrayC<t.AnyC>;
767
+ input_type: t.StringC;
768
+ preselected_key: t.StringC;
769
+ label_field: t.StringC;
770
+ availability_condition: t.ArrayC<t.TypeC<{
771
+ field: t.StringC;
772
+ operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
773
+ value: t.UnionC<[t.StringC, t.UndefinedC]>;
774
+ }>>;
775
+ loaded: t.ArrayC<t.AnyC>;
776
+ allow_create: t.BooleanC;
777
+ allow_create_label: t.StringC;
778
+ show_in_record_action_list: t.BooleanC;
779
+ show_in_default_list: t.BooleanC;
780
+ }>]>, t.IntersectionC<[t.TypeC<{
781
+ type: t.LiteralC<"set">;
782
+ value: t.UnionC<[t.ArrayC<t.StringC>, t.ArrayC<t.NumberC>, t.ArrayC<t.UnknownRecordC>]>;
783
+ order_key: t.NumberC;
784
+ }>, t.PartialC<{
785
+ label: t.StringC;
786
+ chosen: t.UnionC<[t.StringC, t.NumberC]>;
787
+ selected: t.ArrayC<t.AnyC>;
788
+ input_type: t.StringC;
789
+ preselected_key: t.StringC;
790
+ label_field: t.StringC;
791
+ availability_condition: t.ArrayC<t.TypeC<{
792
+ field: t.StringC;
793
+ operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
794
+ value: t.UnionC<[t.StringC, t.UndefinedC]>;
795
+ }>>;
796
+ loaded: t.ArrayC<t.AnyC>;
797
+ allow_create: t.BooleanC;
798
+ allow_create_label: t.StringC;
799
+ }>]>, t.IntersectionC<[t.TypeC<{
800
+ type: t.LiteralC<"provided">;
801
+ value: t.UnionC<[t.LiteralC<"text">, t.LiteralC<"time">]>;
802
+ order_key: t.NumberC;
803
+ }>, t.PartialC<{
804
+ label: t.StringC;
805
+ chosen: t.UnionC<[t.StringC, t.NumberC]>;
806
+ selected: t.ArrayC<t.AnyC>;
807
+ input_type: t.StringC;
808
+ preselected_key: t.StringC;
809
+ label_field: t.StringC;
810
+ availability_condition: t.ArrayC<t.TypeC<{
811
+ field: t.StringC;
812
+ operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
813
+ value: t.UnionC<[t.StringC, t.UndefinedC]>;
814
+ }>>;
815
+ loaded: t.ArrayC<t.AnyC>;
816
+ dateTimeArgumentTypeId: t.NumberC;
817
+ allow_create: t.BooleanC;
818
+ allow_create_label: t.StringC;
819
+ }>]>, t.IntersectionC<[t.TypeC<{
820
+ type: t.LiteralC<"dependent">;
821
+ value: t.StringC;
822
+ order_key: t.NumberC;
823
+ }>, t.PartialC<{
824
+ label: t.StringC;
825
+ chosen: t.UnionC<[t.StringC, t.NumberC]>;
826
+ selected: t.ArrayC<t.AnyC>;
827
+ input_type: t.StringC;
828
+ preselected_key: t.StringC;
829
+ label_field: t.StringC;
830
+ availability_condition: t.ArrayC<t.TypeC<{
831
+ field: t.StringC;
832
+ operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
833
+ value: t.UnionC<[t.StringC, t.UndefinedC]>;
834
+ }>>;
835
+ loaded: t.ArrayC<t.AnyC>;
836
+ allow_create: t.BooleanC;
837
+ allow_create_label: t.StringC;
838
+ }>]>, t.IntersectionC<[t.TypeC<{
839
+ type: t.LiteralC<"function">;
840
+ value: t.StringC;
841
+ order_key: t.NumberC;
842
+ }>, t.PartialC<{
843
+ label: t.StringC;
844
+ chosen: t.UnionC<[t.StringC, t.NumberC]>;
845
+ selected: t.ArrayC<t.AnyC>;
846
+ input_type: t.StringC;
847
+ preselected_key: t.StringC;
848
+ label_field: t.StringC;
849
+ availability_condition: t.ArrayC<t.TypeC<{
850
+ field: t.StringC;
851
+ operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
852
+ value: t.UnionC<[t.StringC, t.UndefinedC]>;
853
+ }>>;
854
+ loaded: t.ArrayC<t.AnyC>;
855
+ allow_create: t.BooleanC;
856
+ allow_create_label: t.StringC;
857
+ }>]>]>>;
858
+ tags: t.ArrayC<t.StringC>;
859
+ availability_rules: t.UnionC<[t.ArrayC<t.UnionC<[t.IntersectionC<[t.TypeC<{
860
+ type: t.UnionC<[t.LiteralC<"context">, t.LiteralC<"url">, t.LiteralC<"element">]>;
861
+ operator: t.KeyofC<{
862
+ includes: null;
863
+ endsWith: null;
864
+ startsWith: null;
865
+ is: null;
866
+ isTruthy: null;
867
+ isFalsy: null;
868
+ isNot: null;
869
+ isTrue: null;
870
+ isFalse: null;
871
+ doesNotInclude: null;
872
+ matchesRegex: null;
873
+ isGreaterThan: null;
874
+ isLessThan: null;
875
+ isDefined: null;
876
+ isNotDefined: null;
877
+ classnameOnPage: null;
878
+ idOnPage: null;
879
+ }>;
880
+ }>, t.PartialC<{
881
+ field: t.StringC;
882
+ value: t.StringC;
883
+ reason: t.StringC;
884
+ }>]>, t.IntersectionC<[t.TypeC<{
885
+ type: t.LiteralC<"named_rule">;
886
+ rule_id: t.NumberC;
887
+ }>, t.PartialC<{
888
+ reason: t.StringC;
889
+ }>]>]>>, t.ArrayC<t.IntersectionC<[t.TypeC<{
890
+ type: t.UnionC<[t.LiteralC<"context">, t.LiteralC<"url">, t.LiteralC<"element">]>;
891
+ operator: t.KeyofC<{
892
+ includes: null;
893
+ endsWith: null;
894
+ startsWith: null;
895
+ is: null;
896
+ isTruthy: null;
897
+ isFalsy: null;
898
+ isNot: null;
899
+ isTrue: null;
900
+ isFalse: null;
901
+ doesNotInclude: null;
902
+ matchesRegex: null;
903
+ isGreaterThan: null;
904
+ isLessThan: null;
905
+ isDefined: null;
906
+ isNotDefined: null;
907
+ classnameOnPage: null;
908
+ idOnPage: null;
909
+ }>;
910
+ }>, t.PartialC<{
911
+ field: t.StringC;
912
+ value: t.StringC;
913
+ reason: t.StringC;
914
+ }>]>>]>;
915
+ recommend_rules: t.UnionC<[t.ArrayC<t.UnionC<[t.UnionC<[t.IntersectionC<[t.TypeC<{
916
+ type: t.LiteralC<"always">;
917
+ }>, t.PartialC<{
918
+ operator: t.UnionC<[t.UndefinedC, t.NullC]>;
919
+ field: t.UnionC<[t.UndefinedC, t.NullC]>;
920
+ value: t.UnionC<[t.UndefinedC, t.NullC]>;
921
+ reason: t.UnionC<[t.UndefinedC, t.NullC]>;
922
+ }>]>, t.IntersectionC<[t.TypeC<{
923
+ type: t.UnionC<[t.LiteralC<"context">, t.LiteralC<"url">, t.LiteralC<"element">]>;
924
+ operator: t.KeyofC<{
925
+ includes: null;
926
+ endsWith: null;
927
+ startsWith: null;
928
+ is: null;
929
+ isTruthy: null;
930
+ isFalsy: null;
931
+ isNot: null;
932
+ isTrue: null;
933
+ isFalse: null;
934
+ doesNotInclude: null;
935
+ matchesRegex: null;
936
+ isGreaterThan: null;
937
+ isLessThan: null;
938
+ isDefined: null;
939
+ isNotDefined: null;
940
+ classnameOnPage: null;
941
+ idOnPage: null;
942
+ }>;
943
+ }>, t.PartialC<{
944
+ field: t.StringC;
945
+ value: t.StringC;
946
+ reason: t.StringC;
947
+ }>]>]>, t.IntersectionC<[t.TypeC<{
948
+ type: t.LiteralC<"named_rule">;
949
+ rule_id: t.NumberC;
950
+ }>, t.PartialC<{
951
+ reason: t.StringC;
952
+ }>]>]>>, t.ArrayC<t.UnionC<[t.IntersectionC<[t.TypeC<{
953
+ type: t.LiteralC<"always">;
954
+ }>, t.PartialC<{
955
+ operator: t.UnionC<[t.UndefinedC, t.NullC]>;
956
+ field: t.UnionC<[t.UndefinedC, t.NullC]>;
957
+ value: t.UnionC<[t.UndefinedC, t.NullC]>;
958
+ reason: t.UnionC<[t.UndefinedC, t.NullC]>;
959
+ }>]>, t.IntersectionC<[t.TypeC<{
960
+ type: t.UnionC<[t.LiteralC<"context">, t.LiteralC<"url">, t.LiteralC<"element">]>;
961
+ operator: t.KeyofC<{
962
+ includes: null;
963
+ endsWith: null;
964
+ startsWith: null;
965
+ is: null;
966
+ isTruthy: null;
967
+ isFalsy: null;
968
+ isNot: null;
969
+ isTrue: null;
970
+ isFalse: null;
971
+ doesNotInclude: null;
972
+ matchesRegex: null;
973
+ isGreaterThan: null;
974
+ isLessThan: null;
975
+ isDefined: null;
976
+ isNotDefined: null;
977
+ classnameOnPage: null;
978
+ idOnPage: null;
979
+ }>;
980
+ }>, t.PartialC<{
981
+ field: t.StringC;
982
+ value: t.StringC;
983
+ reason: t.StringC;
984
+ }>]>]>>]>;
985
+ confirm: t.StringC;
986
+ shortcut: t.ArrayC<t.StringC>;
987
+ explanation: t.StringC;
988
+ is_live: t.BooleanC;
989
+ category: t.UnionC<[t.NumberC, t.NullC]>;
990
+ sort_key: t.UnionC<[t.NumberC, t.NullC]>;
991
+ icon: t.UnionC<[t.StringC, t.NullC]>;
992
+ celebrate: t.UnionC<[t.BooleanC, t.PartialC<{
993
+ angle: t.NumberC;
994
+ spread: t.NumberC;
995
+ width: t.StringC;
996
+ height: t.StringC;
997
+ duration: t.NumberC;
998
+ dragFriction: t.NumberC;
999
+ stagger: t.NumberC;
1000
+ startVelocity: t.NumberC;
1001
+ elementCount: t.NumberC;
1002
+ decay: t.NumberC;
1003
+ colors: t.ArrayC<t.StringC>;
1004
+ random: t.AnyC;
1005
+ }>, t.NullC]>;
1006
+ recommend_sort_key: t.UnionC<[t.NumberC, t.NullC]>;
1007
+ shortcut_mac: t.ArrayC<t.StringC>;
1008
+ shortcut_win: t.ArrayC<t.StringC>;
1009
+ hotkey_mac: t.StringC;
1010
+ hotkey_win: t.StringC;
1011
+ }>]>>;
1012
+ }>;
549
1013
  export declare class Command {
550
1014
  static create: (object: {
551
1015
  id: number;
@@ -607,6 +1071,35 @@ export declare class Command {
607
1071
  object?: string | undefined;
608
1072
  hoverTooltip?: boolean | undefined;
609
1073
  operation?: "self" | "router" | "blank" | undefined;
1074
+ }) | ({
1075
+ type: "request";
1076
+ value: {
1077
+ method: "head" | "options" | "get" | "delete" | "post" | "put" | "patch";
1078
+ url: string;
1079
+ } & {
1080
+ headers?: {
1081
+ [key: string]: unknown;
1082
+ } | undefined;
1083
+ body?: {
1084
+ [key: string]: unknown;
1085
+ } | undefined;
1086
+ onSend?: string | undefined;
1087
+ onSuccess?: string | undefined;
1088
+ onError?: string | undefined;
1089
+ };
1090
+ } & {} & {
1091
+ commandType?: "object" | "independent" | "help" | undefined;
1092
+ object?: string | undefined;
1093
+ hoverTooltip?: boolean | undefined;
1094
+ operation?: "self" | "router" | "blank" | undefined;
1095
+ }) | ({
1096
+ type: "appcues";
1097
+ value: string;
1098
+ } & {} & {
1099
+ commandType?: "object" | "independent" | "help" | undefined;
1100
+ object?: string | undefined;
1101
+ hoverTooltip?: boolean | undefined;
1102
+ operation?: "self" | "router" | "blank" | undefined;
610
1103
  });
611
1104
  } & {
612
1105
  disabledReason?: string | undefined;
@@ -614,6 +1107,13 @@ export declare class Command {
614
1107
  name?: string | undefined;
615
1108
  last_available?: string | null | undefined;
616
1109
  modified?: string | undefined;
1110
+ detail?: string | {
1111
+ type: "html" | "plaintext" | "markdown" | "reader" | "react";
1112
+ value: string;
1113
+ } | {
1114
+ type: "html" | "plaintext" | "markdown" | "reader" | "react";
1115
+ value: string;
1116
+ }[] | undefined;
617
1117
  } & {
618
1118
  arguments: {
619
1119
  [x: string]: ({
@@ -635,6 +1135,8 @@ export declare class Command {
635
1135
  loaded?: any[] | undefined;
636
1136
  allow_create?: boolean | undefined;
637
1137
  allow_create_label?: string | undefined;
1138
+ show_in_record_action_list?: boolean | undefined;
1139
+ show_in_default_list?: boolean | undefined;
638
1140
  }) | ({
639
1141
  type: "set";
640
1142
  value: string[] | number[] | {
@@ -778,8 +1280,19 @@ export declare class Command {
778
1280
  category: number | null;
779
1281
  sort_key: number | null;
780
1282
  icon: string | null;
781
- celebrate: {
782
- [x: string]: any;
1283
+ celebrate: boolean | {
1284
+ angle?: number | undefined;
1285
+ spread?: number | undefined;
1286
+ width?: string | undefined;
1287
+ height?: string | undefined;
1288
+ duration?: number | undefined;
1289
+ dragFriction?: number | undefined;
1290
+ stagger?: number | undefined;
1291
+ startVelocity?: number | undefined;
1292
+ elementCount?: number | undefined;
1293
+ decay?: number | undefined;
1294
+ colors?: string[] | undefined;
1295
+ random?: any;
783
1296
  } | null;
784
1297
  recommend_sort_key: number | null;
785
1298
  shortcut_mac: string[];
@@ -846,6 +1359,35 @@ export declare class Command {
846
1359
  object?: string | undefined;
847
1360
  hoverTooltip?: boolean | undefined;
848
1361
  operation?: "self" | "router" | "blank" | undefined;
1362
+ }) | ({
1363
+ type: "request";
1364
+ value: {
1365
+ method: "head" | "options" | "get" | "delete" | "post" | "put" | "patch";
1366
+ url: string;
1367
+ } & {
1368
+ headers?: {
1369
+ [key: string]: unknown;
1370
+ } | undefined;
1371
+ body?: {
1372
+ [key: string]: unknown;
1373
+ } | undefined;
1374
+ onSend?: string | undefined;
1375
+ onSuccess?: string | undefined;
1376
+ onError?: string | undefined;
1377
+ };
1378
+ } & {} & {
1379
+ commandType?: "object" | "independent" | "help" | undefined;
1380
+ object?: string | undefined;
1381
+ hoverTooltip?: boolean | undefined;
1382
+ operation?: "self" | "router" | "blank" | undefined;
1383
+ }) | ({
1384
+ type: "appcues";
1385
+ value: string;
1386
+ } & {} & {
1387
+ commandType?: "object" | "independent" | "help" | undefined;
1388
+ object?: string | undefined;
1389
+ hoverTooltip?: boolean | undefined;
1390
+ operation?: "self" | "router" | "blank" | undefined;
849
1391
  });
850
1392
  } & {
851
1393
  disabledReason?: string | undefined;
@@ -853,6 +1395,13 @@ export declare class Command {
853
1395
  name?: string | undefined;
854
1396
  last_available?: string | null | undefined;
855
1397
  modified?: string | undefined;
1398
+ detail?: string | {
1399
+ type: "html" | "plaintext" | "markdown" | "reader" | "react";
1400
+ value: string;
1401
+ } | {
1402
+ type: "html" | "plaintext" | "markdown" | "reader" | "react";
1403
+ value: string;
1404
+ }[] | undefined;
856
1405
  } & {
857
1406
  arguments: {
858
1407
  [x: string]: ({
@@ -874,6 +1423,8 @@ export declare class Command {
874
1423
  loaded?: any[] | undefined;
875
1424
  allow_create?: boolean | undefined;
876
1425
  allow_create_label?: string | undefined;
1426
+ show_in_record_action_list?: boolean | undefined;
1427
+ show_in_default_list?: boolean | undefined;
877
1428
  }) | ({
878
1429
  type: "set";
879
1430
  value: string[] | number[] | {
@@ -1017,8 +1568,19 @@ export declare class Command {
1017
1568
  category: number | null;
1018
1569
  sort_key: number | null;
1019
1570
  icon: string | null;
1020
- celebrate: {
1021
- [x: string]: any;
1571
+ celebrate: boolean | {
1572
+ angle?: number | undefined;
1573
+ spread?: number | undefined;
1574
+ width?: string | undefined;
1575
+ height?: string | undefined;
1576
+ duration?: number | undefined;
1577
+ dragFriction?: number | undefined;
1578
+ stagger?: number | undefined;
1579
+ startVelocity?: number | undefined;
1580
+ elementCount?: number | undefined;
1581
+ decay?: number | undefined;
1582
+ colors?: string[] | undefined;
1583
+ random?: any;
1022
1584
  } | null;
1023
1585
  recommend_sort_key: number | null;
1024
1586
  shortcut_mac: string[];
@@ -1086,6 +1648,35 @@ export declare class Command {
1086
1648
  object?: string | undefined;
1087
1649
  hoverTooltip?: boolean | undefined;
1088
1650
  operation?: "self" | "router" | "blank" | undefined;
1651
+ }) | ({
1652
+ type: "request";
1653
+ value: {
1654
+ method: "head" | "options" | "get" | "delete" | "post" | "put" | "patch";
1655
+ url: string;
1656
+ } & {
1657
+ headers?: {
1658
+ [key: string]: unknown;
1659
+ } | undefined;
1660
+ body?: {
1661
+ [key: string]: unknown;
1662
+ } | undefined;
1663
+ onSend?: string | undefined;
1664
+ onSuccess?: string | undefined;
1665
+ onError?: string | undefined;
1666
+ };
1667
+ } & {} & {
1668
+ commandType?: "object" | "independent" | "help" | undefined;
1669
+ object?: string | undefined;
1670
+ hoverTooltip?: boolean | undefined;
1671
+ operation?: "self" | "router" | "blank" | undefined;
1672
+ }) | ({
1673
+ type: "appcues";
1674
+ value: string;
1675
+ } & {} & {
1676
+ commandType?: "object" | "independent" | "help" | undefined;
1677
+ object?: string | undefined;
1678
+ hoverTooltip?: boolean | undefined;
1679
+ operation?: "self" | "router" | "blank" | undefined;
1089
1680
  });
1090
1681
  } & {
1091
1682
  disabledReason?: string | undefined;
@@ -1093,6 +1684,13 @@ export declare class Command {
1093
1684
  name?: string | undefined;
1094
1685
  last_available?: string | null | undefined;
1095
1686
  modified?: string | undefined;
1687
+ detail?: string | {
1688
+ type: "html" | "plaintext" | "markdown" | "reader" | "react";
1689
+ value: string;
1690
+ } | {
1691
+ type: "html" | "plaintext" | "markdown" | "reader" | "react";
1692
+ value: string;
1693
+ }[] | undefined;
1096
1694
  } & {
1097
1695
  arguments: {
1098
1696
  [x: string]: ({
@@ -1114,6 +1712,8 @@ export declare class Command {
1114
1712
  loaded?: any[] | undefined;
1115
1713
  allow_create?: boolean | undefined;
1116
1714
  allow_create_label?: string | undefined;
1715
+ show_in_record_action_list?: boolean | undefined;
1716
+ show_in_default_list?: boolean | undefined;
1117
1717
  }) | ({
1118
1718
  type: "set";
1119
1719
  value: string[] | number[] | {
@@ -1257,8 +1857,19 @@ export declare class Command {
1257
1857
  category: number | null;
1258
1858
  sort_key: number | null;
1259
1859
  icon: string | null;
1260
- celebrate: {
1261
- [x: string]: any;
1860
+ celebrate: boolean | {
1861
+ angle?: number | undefined;
1862
+ spread?: number | undefined;
1863
+ width?: string | undefined;
1864
+ height?: string | undefined;
1865
+ duration?: number | undefined;
1866
+ dragFriction?: number | undefined;
1867
+ stagger?: number | undefined;
1868
+ startVelocity?: number | undefined;
1869
+ elementCount?: number | undefined;
1870
+ decay?: number | undefined;
1871
+ colors?: string[] | undefined;
1872
+ random?: any;
1262
1873
  } | null;
1263
1874
  recommend_sort_key: number | null;
1264
1875
  shortcut_mac: string[];
@@ -1325,6 +1936,35 @@ export declare class Command {
1325
1936
  object?: string | undefined;
1326
1937
  hoverTooltip?: boolean | undefined;
1327
1938
  operation?: "self" | "router" | "blank" | undefined;
1939
+ }) | ({
1940
+ type: "request";
1941
+ value: {
1942
+ method: "head" | "options" | "get" | "delete" | "post" | "put" | "patch";
1943
+ url: string;
1944
+ } & {
1945
+ headers?: {
1946
+ [key: string]: unknown;
1947
+ } | undefined;
1948
+ body?: {
1949
+ [key: string]: unknown;
1950
+ } | undefined;
1951
+ onSend?: string | undefined;
1952
+ onSuccess?: string | undefined;
1953
+ onError?: string | undefined;
1954
+ };
1955
+ } & {} & {
1956
+ commandType?: "object" | "independent" | "help" | undefined;
1957
+ object?: string | undefined;
1958
+ hoverTooltip?: boolean | undefined;
1959
+ operation?: "self" | "router" | "blank" | undefined;
1960
+ }) | ({
1961
+ type: "appcues";
1962
+ value: string;
1963
+ } & {} & {
1964
+ commandType?: "object" | "independent" | "help" | undefined;
1965
+ object?: string | undefined;
1966
+ hoverTooltip?: boolean | undefined;
1967
+ operation?: "self" | "router" | "blank" | undefined;
1328
1968
  });
1329
1969
  } & {
1330
1970
  disabledReason?: string | undefined;
@@ -1332,6 +1972,13 @@ export declare class Command {
1332
1972
  name?: string | undefined;
1333
1973
  last_available?: string | null | undefined;
1334
1974
  modified?: string | undefined;
1975
+ detail?: string | {
1976
+ type: "html" | "plaintext" | "markdown" | "reader" | "react";
1977
+ value: string;
1978
+ } | {
1979
+ type: "html" | "plaintext" | "markdown" | "reader" | "react";
1980
+ value: string;
1981
+ }[] | undefined;
1335
1982
  } & {
1336
1983
  arguments: {
1337
1984
  [x: string]: ({
@@ -1353,6 +2000,8 @@ export declare class Command {
1353
2000
  loaded?: any[] | undefined;
1354
2001
  allow_create?: boolean | undefined;
1355
2002
  allow_create_label?: string | undefined;
2003
+ show_in_record_action_list?: boolean | undefined;
2004
+ show_in_default_list?: boolean | undefined;
1356
2005
  }) | ({
1357
2006
  type: "set";
1358
2007
  value: string[] | number[] | {
@@ -1496,8 +2145,19 @@ export declare class Command {
1496
2145
  category: number | null;
1497
2146
  sort_key: number | null;
1498
2147
  icon: string | null;
1499
- celebrate: {
1500
- [x: string]: any;
2148
+ celebrate: boolean | {
2149
+ angle?: number | undefined;
2150
+ spread?: number | undefined;
2151
+ width?: string | undefined;
2152
+ height?: string | undefined;
2153
+ duration?: number | undefined;
2154
+ dragFriction?: number | undefined;
2155
+ stagger?: number | undefined;
2156
+ startVelocity?: number | undefined;
2157
+ elementCount?: number | undefined;
2158
+ decay?: number | undefined;
2159
+ colors?: string[] | undefined;
2160
+ random?: any;
1501
2161
  } | null;
1502
2162
  recommend_sort_key: number | null;
1503
2163
  shortcut_mac: string[];
@@ -1506,6 +2166,297 @@ export declare class Command {
1506
2166
  hotkey_win: string;
1507
2167
  }>;
1508
2168
  static delete: (id: string | number, onSuccess?: (() => void) | undefined, onError?: ((err: string) => void) | undefined) => Promise<void>;
2169
+ static batch: (request: t.TypeOf<typeof BatchEditorCommandRequestV>) => Promise<{
2170
+ batch: ({
2171
+ id: number;
2172
+ organization: string | number;
2173
+ text: string;
2174
+ template: ({
2175
+ type: "admin";
2176
+ value: string;
2177
+ } & {} & {
2178
+ commandType?: "object" | "independent" | "help" | undefined;
2179
+ object?: string | undefined;
2180
+ hoverTooltip?: boolean | undefined;
2181
+ operation?: "self" | "router" | "blank" | undefined;
2182
+ }) | ({
2183
+ type: "callback";
2184
+ value: string;
2185
+ } & {} & {
2186
+ commandType?: "object" | "independent" | "help" | undefined;
2187
+ object?: string | undefined;
2188
+ hoverTooltip?: boolean | undefined;
2189
+ operation?: "self" | "router" | "blank" | undefined;
2190
+ }) | ({
2191
+ type: "link";
2192
+ value: string;
2193
+ } & {} & {
2194
+ commandType?: "object" | "independent" | "help" | undefined;
2195
+ object?: string | undefined;
2196
+ hoverTooltip?: boolean | undefined;
2197
+ operation?: "self" | "router" | "blank" | undefined;
2198
+ }) | ({
2199
+ type: "click" | "clickBySelector" | "clickByXpath";
2200
+ value: string[];
2201
+ } & {} & {
2202
+ commandType?: "object" | "independent" | "help" | undefined;
2203
+ object?: string | undefined;
2204
+ hoverTooltip?: boolean | undefined;
2205
+ operation?: "self" | "router" | "blank" | undefined;
2206
+ }) | ({
2207
+ type: "builtin";
2208
+ value: string;
2209
+ } & {} & {
2210
+ commandType?: "object" | "independent" | "help" | undefined;
2211
+ object?: string | undefined;
2212
+ hoverTooltip?: boolean | undefined;
2213
+ operation?: "self" | "router" | "blank" | undefined;
2214
+ }) | ({
2215
+ type: "webhook";
2216
+ value: string;
2217
+ } & {} & {
2218
+ commandType?: "object" | "independent" | "help" | undefined;
2219
+ object?: string | undefined;
2220
+ hoverTooltip?: boolean | undefined;
2221
+ operation?: "self" | "router" | "blank" | undefined;
2222
+ }) | ({
2223
+ type: "script";
2224
+ value: string;
2225
+ } & {} & {
2226
+ commandType?: "object" | "independent" | "help" | undefined;
2227
+ object?: string | undefined;
2228
+ hoverTooltip?: boolean | undefined;
2229
+ operation?: "self" | "router" | "blank" | undefined;
2230
+ }) | ({
2231
+ type: "request";
2232
+ value: {
2233
+ method: "head" | "options" | "get" | "delete" | "post" | "put" | "patch";
2234
+ url: string;
2235
+ } & {
2236
+ headers?: {
2237
+ [key: string]: unknown;
2238
+ } | undefined;
2239
+ body?: {
2240
+ [key: string]: unknown;
2241
+ } | undefined;
2242
+ onSend?: string | undefined;
2243
+ onSuccess?: string | undefined;
2244
+ onError?: string | undefined;
2245
+ };
2246
+ } & {} & {
2247
+ commandType?: "object" | "independent" | "help" | undefined;
2248
+ object?: string | undefined;
2249
+ hoverTooltip?: boolean | undefined;
2250
+ operation?: "self" | "router" | "blank" | undefined;
2251
+ }) | ({
2252
+ type: "appcues";
2253
+ value: string;
2254
+ } & {} & {
2255
+ commandType?: "object" | "independent" | "help" | undefined;
2256
+ object?: string | undefined;
2257
+ hoverTooltip?: boolean | undefined;
2258
+ operation?: "self" | "router" | "blank" | undefined;
2259
+ });
2260
+ } & {
2261
+ disabledReason?: string | undefined;
2262
+ source?: string | undefined;
2263
+ name?: string | undefined;
2264
+ last_available?: string | null | undefined;
2265
+ modified?: string | undefined;
2266
+ detail?: string | {
2267
+ type: "html" | "plaintext" | "markdown" | "reader" | "react";
2268
+ value: string;
2269
+ } | {
2270
+ type: "html" | "plaintext" | "markdown" | "reader" | "react";
2271
+ value: string;
2272
+ }[] | undefined;
2273
+ } & {
2274
+ arguments: {
2275
+ [x: string]: ({
2276
+ type: "context";
2277
+ value: string;
2278
+ order_key: number;
2279
+ } & {
2280
+ label?: string | undefined;
2281
+ chosen?: string | number | undefined;
2282
+ selected?: any[] | undefined;
2283
+ input_type?: string | undefined;
2284
+ preselected_key?: string | undefined;
2285
+ label_field?: string | undefined;
2286
+ availability_condition?: {
2287
+ field: string;
2288
+ operator: "==" | "!=" | "isTruthy" | "isFalsy";
2289
+ value: string | undefined;
2290
+ }[] | undefined;
2291
+ loaded?: any[] | undefined;
2292
+ allow_create?: boolean | undefined;
2293
+ allow_create_label?: string | undefined;
2294
+ show_in_record_action_list?: boolean | undefined;
2295
+ show_in_default_list?: boolean | undefined;
2296
+ }) | ({
2297
+ type: "set";
2298
+ value: string[] | number[] | {
2299
+ [key: string]: unknown;
2300
+ }[];
2301
+ order_key: number;
2302
+ } & {
2303
+ label?: string | undefined;
2304
+ chosen?: string | number | undefined;
2305
+ selected?: any[] | undefined;
2306
+ input_type?: string | undefined;
2307
+ preselected_key?: string | undefined;
2308
+ label_field?: string | undefined;
2309
+ availability_condition?: {
2310
+ field: string;
2311
+ operator: "==" | "!=" | "isTruthy" | "isFalsy";
2312
+ value: string | undefined;
2313
+ }[] | undefined;
2314
+ loaded?: any[] | undefined;
2315
+ allow_create?: boolean | undefined;
2316
+ allow_create_label?: string | undefined;
2317
+ }) | ({
2318
+ type: "provided";
2319
+ value: "time" | "text";
2320
+ order_key: number;
2321
+ } & {
2322
+ label?: string | undefined;
2323
+ chosen?: string | number | undefined;
2324
+ selected?: any[] | undefined;
2325
+ input_type?: string | undefined;
2326
+ preselected_key?: string | undefined;
2327
+ label_field?: string | undefined;
2328
+ availability_condition?: {
2329
+ field: string;
2330
+ operator: "==" | "!=" | "isTruthy" | "isFalsy";
2331
+ value: string | undefined;
2332
+ }[] | undefined;
2333
+ loaded?: any[] | undefined;
2334
+ dateTimeArgumentTypeId?: number | undefined;
2335
+ allow_create?: boolean | undefined;
2336
+ allow_create_label?: string | undefined;
2337
+ }) | ({
2338
+ type: "dependent";
2339
+ value: string;
2340
+ order_key: number;
2341
+ } & {
2342
+ label?: string | undefined;
2343
+ chosen?: string | number | undefined;
2344
+ selected?: any[] | undefined;
2345
+ input_type?: string | undefined;
2346
+ preselected_key?: string | undefined;
2347
+ label_field?: string | undefined;
2348
+ availability_condition?: {
2349
+ field: string;
2350
+ operator: "==" | "!=" | "isTruthy" | "isFalsy";
2351
+ value: string | undefined;
2352
+ }[] | undefined;
2353
+ loaded?: any[] | undefined;
2354
+ allow_create?: boolean | undefined;
2355
+ allow_create_label?: string | undefined;
2356
+ }) | ({
2357
+ type: "function";
2358
+ value: string;
2359
+ order_key: number;
2360
+ } & {
2361
+ label?: string | undefined;
2362
+ chosen?: string | number | undefined;
2363
+ selected?: any[] | undefined;
2364
+ input_type?: string | undefined;
2365
+ preselected_key?: string | undefined;
2366
+ label_field?: string | undefined;
2367
+ availability_condition?: {
2368
+ field: string;
2369
+ operator: "==" | "!=" | "isTruthy" | "isFalsy";
2370
+ value: string | undefined;
2371
+ }[] | undefined;
2372
+ loaded?: any[] | undefined;
2373
+ allow_create?: boolean | undefined;
2374
+ allow_create_label?: string | undefined;
2375
+ });
2376
+ };
2377
+ tags: string[];
2378
+ availability_rules: ({
2379
+ type: "url" | "context" | "element";
2380
+ operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
2381
+ } & {
2382
+ field?: string | undefined;
2383
+ value?: string | undefined;
2384
+ reason?: string | undefined;
2385
+ })[] | (({
2386
+ type: "url" | "context" | "element";
2387
+ operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
2388
+ } & {
2389
+ field?: string | undefined;
2390
+ value?: string | undefined;
2391
+ reason?: string | undefined;
2392
+ }) | ({
2393
+ type: "named_rule";
2394
+ rule_id: number;
2395
+ } & {
2396
+ reason?: string | undefined;
2397
+ }))[];
2398
+ recommend_rules: (({
2399
+ type: "always";
2400
+ } & {
2401
+ operator?: null | undefined;
2402
+ field?: null | undefined;
2403
+ value?: null | undefined;
2404
+ reason?: null | undefined;
2405
+ }) | ({
2406
+ type: "url" | "context" | "element";
2407
+ operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
2408
+ } & {
2409
+ field?: string | undefined;
2410
+ value?: string | undefined;
2411
+ reason?: string | undefined;
2412
+ }))[] | (({
2413
+ type: "always";
2414
+ } & {
2415
+ operator?: null | undefined;
2416
+ field?: null | undefined;
2417
+ value?: null | undefined;
2418
+ reason?: null | undefined;
2419
+ }) | ({
2420
+ type: "url" | "context" | "element";
2421
+ operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
2422
+ } & {
2423
+ field?: string | undefined;
2424
+ value?: string | undefined;
2425
+ reason?: string | undefined;
2426
+ }) | ({
2427
+ type: "named_rule";
2428
+ rule_id: number;
2429
+ } & {
2430
+ reason?: string | undefined;
2431
+ }))[];
2432
+ confirm: string;
2433
+ shortcut: string[];
2434
+ explanation: string;
2435
+ is_live: boolean;
2436
+ category: number | null;
2437
+ sort_key: number | null;
2438
+ icon: string | null;
2439
+ celebrate: boolean | {
2440
+ angle?: number | undefined;
2441
+ spread?: number | undefined;
2442
+ width?: string | undefined;
2443
+ height?: string | undefined;
2444
+ duration?: number | undefined;
2445
+ dragFriction?: number | undefined;
2446
+ stagger?: number | undefined;
2447
+ startVelocity?: number | undefined;
2448
+ elementCount?: number | undefined;
2449
+ decay?: number | undefined;
2450
+ colors?: string[] | undefined;
2451
+ random?: any;
2452
+ } | null;
2453
+ recommend_sort_key: number | null;
2454
+ shortcut_mac: string[];
2455
+ shortcut_win: string[];
2456
+ hotkey_mac: string;
2457
+ hotkey_win: string;
2458
+ })[];
2459
+ }>;
1509
2460
  static validateFromClient: (data: any) => Promise<{
1510
2461
  name: string;
1511
2462
  template: ({
@@ -1540,6 +2491,35 @@ export declare class Command {
1540
2491
  object?: string | undefined;
1541
2492
  hoverTooltip?: boolean | undefined;
1542
2493
  operation?: "self" | "router" | "blank" | undefined;
2494
+ }) | ({
2495
+ type: "request";
2496
+ value: {
2497
+ method: "head" | "options" | "get" | "delete" | "post" | "put" | "patch";
2498
+ url: string;
2499
+ } & {
2500
+ headers?: {
2501
+ [key: string]: unknown;
2502
+ } | undefined;
2503
+ body?: {
2504
+ [key: string]: unknown;
2505
+ } | undefined;
2506
+ onSend?: string | undefined;
2507
+ onSuccess?: string | undefined;
2508
+ onError?: string | undefined;
2509
+ };
2510
+ } & {} & {
2511
+ commandType?: "object" | "independent" | "help" | undefined;
2512
+ object?: string | undefined;
2513
+ hoverTooltip?: boolean | undefined;
2514
+ operation?: "self" | "router" | "blank" | undefined;
2515
+ }) | ({
2516
+ type: "appcues";
2517
+ value: string;
2518
+ } & {} & {
2519
+ commandType?: "object" | "independent" | "help" | undefined;
2520
+ object?: string | undefined;
2521
+ hoverTooltip?: boolean | undefined;
2522
+ operation?: "self" | "router" | "blank" | undefined;
1543
2523
  });
1544
2524
  text: string;
1545
2525
  } & {
@@ -1570,6 +2550,8 @@ export declare class Command {
1570
2550
  loaded?: any[] | undefined;
1571
2551
  allow_create?: boolean | undefined;
1572
2552
  allow_create_label?: string | undefined;
2553
+ show_in_record_action_list?: boolean | undefined;
2554
+ show_in_default_list?: boolean | undefined;
1573
2555
  }) | ({
1574
2556
  type: "set";
1575
2557
  value: string[] | number[] | {
@@ -1653,8 +2635,19 @@ export declare class Command {
1653
2635
  } | undefined;
1654
2636
  category?: string | number | null | undefined;
1655
2637
  icon?: string | null | undefined;
1656
- celebrate?: {
1657
- [x: string]: any;
2638
+ celebrate?: boolean | {
2639
+ angle?: number | undefined;
2640
+ spread?: number | undefined;
2641
+ width?: string | undefined;
2642
+ height?: string | undefined;
2643
+ duration?: number | undefined;
2644
+ dragFriction?: number | undefined;
2645
+ stagger?: number | undefined;
2646
+ startVelocity?: number | undefined;
2647
+ elementCount?: number | undefined;
2648
+ decay?: number | undefined;
2649
+ colors?: string[] | undefined;
2650
+ random?: any;
1658
2651
  } | null | undefined;
1659
2652
  availability_rules?: ({
1660
2653
  type: "url" | "context" | "element";
@@ -1679,6 +2672,13 @@ export declare class Command {
1679
2672
  value?: string | undefined;
1680
2673
  reason?: string | undefined;
1681
2674
  }))[] | undefined;
2675
+ detail?: string | {
2676
+ type: "html" | "plaintext" | "markdown" | "reader" | "react";
2677
+ value: string;
2678
+ } | {
2679
+ type: "html" | "plaintext" | "markdown" | "reader" | "react";
2680
+ value: string;
2681
+ }[] | undefined;
1682
2682
  }>;
1683
2683
  static decode: (data: any) => {
1684
2684
  id: number;
@@ -1740,6 +2740,35 @@ export declare class Command {
1740
2740
  object?: string | undefined;
1741
2741
  hoverTooltip?: boolean | undefined;
1742
2742
  operation?: "self" | "router" | "blank" | undefined;
2743
+ }) | ({
2744
+ type: "request";
2745
+ value: {
2746
+ method: "head" | "options" | "get" | "delete" | "post" | "put" | "patch";
2747
+ url: string;
2748
+ } & {
2749
+ headers?: {
2750
+ [key: string]: unknown;
2751
+ } | undefined;
2752
+ body?: {
2753
+ [key: string]: unknown;
2754
+ } | undefined;
2755
+ onSend?: string | undefined;
2756
+ onSuccess?: string | undefined;
2757
+ onError?: string | undefined;
2758
+ };
2759
+ } & {} & {
2760
+ commandType?: "object" | "independent" | "help" | undefined;
2761
+ object?: string | undefined;
2762
+ hoverTooltip?: boolean | undefined;
2763
+ operation?: "self" | "router" | "blank" | undefined;
2764
+ }) | ({
2765
+ type: "appcues";
2766
+ value: string;
2767
+ } & {} & {
2768
+ commandType?: "object" | "independent" | "help" | undefined;
2769
+ object?: string | undefined;
2770
+ hoverTooltip?: boolean | undefined;
2771
+ operation?: "self" | "router" | "blank" | undefined;
1743
2772
  });
1744
2773
  } & {
1745
2774
  disabledReason?: string | undefined;
@@ -1747,6 +2776,13 @@ export declare class Command {
1747
2776
  name?: string | undefined;
1748
2777
  last_available?: string | null | undefined;
1749
2778
  modified?: string | undefined;
2779
+ detail?: string | {
2780
+ type: "html" | "plaintext" | "markdown" | "reader" | "react";
2781
+ value: string;
2782
+ } | {
2783
+ type: "html" | "plaintext" | "markdown" | "reader" | "react";
2784
+ value: string;
2785
+ }[] | undefined;
1750
2786
  } & {
1751
2787
  arguments: {
1752
2788
  [x: string]: ({
@@ -1768,6 +2804,8 @@ export declare class Command {
1768
2804
  loaded?: any[] | undefined;
1769
2805
  allow_create?: boolean | undefined;
1770
2806
  allow_create_label?: string | undefined;
2807
+ show_in_record_action_list?: boolean | undefined;
2808
+ show_in_default_list?: boolean | undefined;
1771
2809
  }) | ({
1772
2810
  type: "set";
1773
2811
  value: string[] | number[] | {
@@ -1880,8 +2918,19 @@ export declare class Command {
1880
2918
  category: number | null;
1881
2919
  sort_key: number | null;
1882
2920
  icon: string | null;
1883
- celebrate: {
1884
- [x: string]: any;
2921
+ celebrate: boolean | {
2922
+ angle?: number | undefined;
2923
+ spread?: number | undefined;
2924
+ width?: string | undefined;
2925
+ height?: string | undefined;
2926
+ duration?: number | undefined;
2927
+ dragFriction?: number | undefined;
2928
+ stagger?: number | undefined;
2929
+ startVelocity?: number | undefined;
2930
+ elementCount?: number | undefined;
2931
+ decay?: number | undefined;
2932
+ colors?: string[] | undefined;
2933
+ random?: any;
1885
2934
  } | null;
1886
2935
  recommend_sort_key: number | null;
1887
2936
  shortcut_mac: string[];
@@ -1949,6 +2998,35 @@ export declare class Command {
1949
2998
  object?: string | undefined;
1950
2999
  hoverTooltip?: boolean | undefined;
1951
3000
  operation?: "self" | "router" | "blank" | undefined;
3001
+ }) | ({
3002
+ type: "request";
3003
+ value: {
3004
+ method: "head" | "options" | "get" | "delete" | "post" | "put" | "patch";
3005
+ url: string;
3006
+ } & {
3007
+ headers?: {
3008
+ [key: string]: unknown;
3009
+ } | undefined;
3010
+ body?: {
3011
+ [key: string]: unknown;
3012
+ } | undefined;
3013
+ onSend?: string | undefined;
3014
+ onSuccess?: string | undefined;
3015
+ onError?: string | undefined;
3016
+ };
3017
+ } & {} & {
3018
+ commandType?: "object" | "independent" | "help" | undefined;
3019
+ object?: string | undefined;
3020
+ hoverTooltip?: boolean | undefined;
3021
+ operation?: "self" | "router" | "blank" | undefined;
3022
+ }) | ({
3023
+ type: "appcues";
3024
+ value: string;
3025
+ } & {} & {
3026
+ commandType?: "object" | "independent" | "help" | undefined;
3027
+ object?: string | undefined;
3028
+ hoverTooltip?: boolean | undefined;
3029
+ operation?: "self" | "router" | "blank" | undefined;
1952
3030
  });
1953
3031
  } & {
1954
3032
  disabledReason?: string | undefined;
@@ -1956,6 +3034,13 @@ export declare class Command {
1956
3034
  name?: string | undefined;
1957
3035
  last_available?: string | null | undefined;
1958
3036
  modified?: string | undefined;
3037
+ detail?: string | {
3038
+ type: "html" | "plaintext" | "markdown" | "reader" | "react";
3039
+ value: string;
3040
+ } | {
3041
+ type: "html" | "plaintext" | "markdown" | "reader" | "react";
3042
+ value: string;
3043
+ }[] | undefined;
1959
3044
  } & {
1960
3045
  arguments: {
1961
3046
  [x: string]: ({
@@ -1977,6 +3062,8 @@ export declare class Command {
1977
3062
  loaded?: any[] | undefined;
1978
3063
  allow_create?: boolean | undefined;
1979
3064
  allow_create_label?: string | undefined;
3065
+ show_in_record_action_list?: boolean | undefined;
3066
+ show_in_default_list?: boolean | undefined;
1980
3067
  }) | ({
1981
3068
  type: "set";
1982
3069
  value: string[] | number[] | {
@@ -2120,8 +3207,19 @@ export declare class Command {
2120
3207
  category: number | null;
2121
3208
  sort_key: number | null;
2122
3209
  icon: string | null;
2123
- celebrate: {
2124
- [x: string]: any;
3210
+ celebrate: boolean | {
3211
+ angle?: number | undefined;
3212
+ spread?: number | undefined;
3213
+ width?: string | undefined;
3214
+ height?: string | undefined;
3215
+ duration?: number | undefined;
3216
+ dragFriction?: number | undefined;
3217
+ stagger?: number | undefined;
3218
+ startVelocity?: number | undefined;
3219
+ elementCount?: number | undefined;
3220
+ decay?: number | undefined;
3221
+ colors?: string[] | undefined;
3222
+ random?: any;
2125
3223
  } | null;
2126
3224
  recommend_sort_key: number | null;
2127
3225
  shortcut_mac: string[];
@@ -2188,6 +3286,35 @@ export declare class Command {
2188
3286
  object?: string | undefined;
2189
3287
  hoverTooltip?: boolean | undefined;
2190
3288
  operation?: "self" | "router" | "blank" | undefined;
3289
+ }) | ({
3290
+ type: "request";
3291
+ value: {
3292
+ method: "head" | "options" | "get" | "delete" | "post" | "put" | "patch";
3293
+ url: string;
3294
+ } & {
3295
+ headers?: {
3296
+ [key: string]: unknown;
3297
+ } | undefined;
3298
+ body?: {
3299
+ [key: string]: unknown;
3300
+ } | undefined;
3301
+ onSend?: string | undefined;
3302
+ onSuccess?: string | undefined;
3303
+ onError?: string | undefined;
3304
+ };
3305
+ } & {} & {
3306
+ commandType?: "object" | "independent" | "help" | undefined;
3307
+ object?: string | undefined;
3308
+ hoverTooltip?: boolean | undefined;
3309
+ operation?: "self" | "router" | "blank" | undefined;
3310
+ }) | ({
3311
+ type: "appcues";
3312
+ value: string;
3313
+ } & {} & {
3314
+ commandType?: "object" | "independent" | "help" | undefined;
3315
+ object?: string | undefined;
3316
+ hoverTooltip?: boolean | undefined;
3317
+ operation?: "self" | "router" | "blank" | undefined;
2191
3318
  });
2192
3319
  } & {
2193
3320
  disabledReason?: string | undefined;
@@ -2195,6 +3322,13 @@ export declare class Command {
2195
3322
  name?: string | undefined;
2196
3323
  last_available?: string | null | undefined;
2197
3324
  modified?: string | undefined;
3325
+ detail?: string | {
3326
+ type: "html" | "plaintext" | "markdown" | "reader" | "react";
3327
+ value: string;
3328
+ } | {
3329
+ type: "html" | "plaintext" | "markdown" | "reader" | "react";
3330
+ value: string;
3331
+ }[] | undefined;
2198
3332
  } & {
2199
3333
  arguments: {
2200
3334
  [x: string]: ({
@@ -2216,6 +3350,8 @@ export declare class Command {
2216
3350
  loaded?: any[] | undefined;
2217
3351
  allow_create?: boolean | undefined;
2218
3352
  allow_create_label?: string | undefined;
3353
+ show_in_record_action_list?: boolean | undefined;
3354
+ show_in_default_list?: boolean | undefined;
2219
3355
  }) | ({
2220
3356
  type: "set";
2221
3357
  value: string[] | number[] | {
@@ -2359,8 +3495,19 @@ export declare class Command {
2359
3495
  category: number | null;
2360
3496
  sort_key: number | null;
2361
3497
  icon: string | null;
2362
- celebrate: {
2363
- [x: string]: any;
3498
+ celebrate: boolean | {
3499
+ angle?: number | undefined;
3500
+ spread?: number | undefined;
3501
+ width?: string | undefined;
3502
+ height?: string | undefined;
3503
+ duration?: number | undefined;
3504
+ dragFriction?: number | undefined;
3505
+ stagger?: number | undefined;
3506
+ startVelocity?: number | undefined;
3507
+ elementCount?: number | undefined;
3508
+ decay?: number | undefined;
3509
+ colors?: string[] | undefined;
3510
+ random?: any;
2364
3511
  } | null;
2365
3512
  recommend_sort_key: number | null;
2366
3513
  shortcut_mac: string[];
@@ -2428,6 +3575,35 @@ export declare class Command {
2428
3575
  object?: string | undefined;
2429
3576
  hoverTooltip?: boolean | undefined;
2430
3577
  operation?: "self" | "router" | "blank" | undefined;
3578
+ }) | ({
3579
+ type: "request";
3580
+ value: {
3581
+ method: "head" | "options" | "get" | "delete" | "post" | "put" | "patch";
3582
+ url: string;
3583
+ } & {
3584
+ headers?: {
3585
+ [key: string]: unknown;
3586
+ } | undefined;
3587
+ body?: {
3588
+ [key: string]: unknown;
3589
+ } | undefined;
3590
+ onSend?: string | undefined;
3591
+ onSuccess?: string | undefined;
3592
+ onError?: string | undefined;
3593
+ };
3594
+ } & {} & {
3595
+ commandType?: "object" | "independent" | "help" | undefined;
3596
+ object?: string | undefined;
3597
+ hoverTooltip?: boolean | undefined;
3598
+ operation?: "self" | "router" | "blank" | undefined;
3599
+ }) | ({
3600
+ type: "appcues";
3601
+ value: string;
3602
+ } & {} & {
3603
+ commandType?: "object" | "independent" | "help" | undefined;
3604
+ object?: string | undefined;
3605
+ hoverTooltip?: boolean | undefined;
3606
+ operation?: "self" | "router" | "blank" | undefined;
2431
3607
  });
2432
3608
  } & {
2433
3609
  disabledReason?: string | undefined;
@@ -2435,6 +3611,13 @@ export declare class Command {
2435
3611
  name?: string | undefined;
2436
3612
  last_available?: string | null | undefined;
2437
3613
  modified?: string | undefined;
3614
+ detail?: string | {
3615
+ type: "html" | "plaintext" | "markdown" | "reader" | "react";
3616
+ value: string;
3617
+ } | {
3618
+ type: "html" | "plaintext" | "markdown" | "reader" | "react";
3619
+ value: string;
3620
+ }[] | undefined;
2438
3621
  } & {
2439
3622
  arguments: {
2440
3623
  [x: string]: ({
@@ -2456,6 +3639,8 @@ export declare class Command {
2456
3639
  loaded?: any[] | undefined;
2457
3640
  allow_create?: boolean | undefined;
2458
3641
  allow_create_label?: string | undefined;
3642
+ show_in_record_action_list?: boolean | undefined;
3643
+ show_in_default_list?: boolean | undefined;
2459
3644
  }) | ({
2460
3645
  type: "set";
2461
3646
  value: string[] | number[] | {
@@ -2599,8 +3784,19 @@ export declare class Command {
2599
3784
  category: number | null;
2600
3785
  sort_key: number | null;
2601
3786
  icon: string | null;
2602
- celebrate: {
2603
- [x: string]: any;
3787
+ celebrate: boolean | {
3788
+ angle?: number | undefined;
3789
+ spread?: number | undefined;
3790
+ width?: string | undefined;
3791
+ height?: string | undefined;
3792
+ duration?: number | undefined;
3793
+ dragFriction?: number | undefined;
3794
+ stagger?: number | undefined;
3795
+ startVelocity?: number | undefined;
3796
+ elementCount?: number | undefined;
3797
+ decay?: number | undefined;
3798
+ colors?: string[] | undefined;
3799
+ random?: any;
2604
3800
  } | null;
2605
3801
  recommend_sort_key: number | null;
2606
3802
  shortcut_mac: string[];
@@ -2667,6 +3863,35 @@ export declare class Command {
2667
3863
  object?: string | undefined;
2668
3864
  hoverTooltip?: boolean | undefined;
2669
3865
  operation?: "self" | "router" | "blank" | undefined;
3866
+ }) | ({
3867
+ type: "request";
3868
+ value: {
3869
+ method: "head" | "options" | "get" | "delete" | "post" | "put" | "patch";
3870
+ url: string;
3871
+ } & {
3872
+ headers?: {
3873
+ [key: string]: unknown;
3874
+ } | undefined;
3875
+ body?: {
3876
+ [key: string]: unknown;
3877
+ } | undefined;
3878
+ onSend?: string | undefined;
3879
+ onSuccess?: string | undefined;
3880
+ onError?: string | undefined;
3881
+ };
3882
+ } & {} & {
3883
+ commandType?: "object" | "independent" | "help" | undefined;
3884
+ object?: string | undefined;
3885
+ hoverTooltip?: boolean | undefined;
3886
+ operation?: "self" | "router" | "blank" | undefined;
3887
+ }) | ({
3888
+ type: "appcues";
3889
+ value: string;
3890
+ } & {} & {
3891
+ commandType?: "object" | "independent" | "help" | undefined;
3892
+ object?: string | undefined;
3893
+ hoverTooltip?: boolean | undefined;
3894
+ operation?: "self" | "router" | "blank" | undefined;
2670
3895
  });
2671
3896
  } & {
2672
3897
  disabledReason?: string | undefined;
@@ -2674,6 +3899,13 @@ export declare class Command {
2674
3899
  name?: string | undefined;
2675
3900
  last_available?: string | null | undefined;
2676
3901
  modified?: string | undefined;
3902
+ detail?: string | {
3903
+ type: "html" | "plaintext" | "markdown" | "reader" | "react";
3904
+ value: string;
3905
+ } | {
3906
+ type: "html" | "plaintext" | "markdown" | "reader" | "react";
3907
+ value: string;
3908
+ }[] | undefined;
2677
3909
  } & {
2678
3910
  arguments: {
2679
3911
  [x: string]: ({
@@ -2695,6 +3927,8 @@ export declare class Command {
2695
3927
  loaded?: any[] | undefined;
2696
3928
  allow_create?: boolean | undefined;
2697
3929
  allow_create_label?: string | undefined;
3930
+ show_in_record_action_list?: boolean | undefined;
3931
+ show_in_default_list?: boolean | undefined;
2698
3932
  }) | ({
2699
3933
  type: "set";
2700
3934
  value: string[] | number[] | {
@@ -2838,8 +4072,19 @@ export declare class Command {
2838
4072
  category: number | null;
2839
4073
  sort_key: number | null;
2840
4074
  icon: string | null;
2841
- celebrate: {
2842
- [x: string]: any;
4075
+ celebrate: boolean | {
4076
+ angle?: number | undefined;
4077
+ spread?: number | undefined;
4078
+ width?: string | undefined;
4079
+ height?: string | undefined;
4080
+ duration?: number | undefined;
4081
+ dragFriction?: number | undefined;
4082
+ stagger?: number | undefined;
4083
+ startVelocity?: number | undefined;
4084
+ elementCount?: number | undefined;
4085
+ decay?: number | undefined;
4086
+ colors?: string[] | undefined;
4087
+ random?: any;
2843
4088
  } | null;
2844
4089
  recommend_sort_key: number | null;
2845
4090
  shortcut_mac: string[];
@@ -2848,5 +4093,8 @@ export declare class Command {
2848
4093
  hotkey_win: string;
2849
4094
  }>;
2850
4095
  static deleteWithoutThrottle: (id: string | number, onSuccess?: (() => void) | undefined, onError?: ((err: string) => void) | undefined) => Promise<void>;
2851
- static commandUID: (cmd: t.TypeOf<typeof CommandV>) => string;
4096
+ static commandUID: (cmd: t.TypeOf<typeof CommandV> | t.TypeOf<typeof EditorCommandV>) => string;
4097
+ static isProgrammatic: (cmd: t.TypeOf<typeof CommandV> | t.TypeOf<typeof EditorCommandV>) => boolean;
4098
+ static isRecordAction: (cmd: t.TypeOf<typeof CommandV> | t.TypeOf<typeof EditorCommandV>, recordKey?: string | undefined) => boolean;
4099
+ static showInDefaultList: (cmd: t.TypeOf<typeof CommandV> | t.TypeOf<typeof EditorCommandV>) => boolean;
2852
4100
  }