@forge/manifest 0.0.0-experimental-9fff5da → 0.0.0-experimental-7c72fec

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.
Files changed (45) hide show
  1. package/CHANGELOG.md +535 -1
  2. package/out/builder/processor-builder.d.ts.map +1 -1
  3. package/out/builder/processor-builder.js +3 -0
  4. package/out/index.d.ts +1 -1
  5. package/out/index.d.ts.map +1 -1
  6. package/out/mapping/product-event-to-scope-mapping.json +90 -0
  7. package/out/processor/deprecated-csp-method-validation-processor.d.ts +6 -0
  8. package/out/processor/deprecated-csp-method-validation-processor.d.ts.map +1 -0
  9. package/out/processor/deprecated-csp-method-validation-processor.js +18 -0
  10. package/out/processor/full-validation-processor.d.ts.map +1 -1
  11. package/out/processor/full-validation-processor.js +3 -0
  12. package/out/schema/basic-manifest-schema.json +9 -0
  13. package/out/schema/basic-manifest.d.ts +4 -0
  14. package/out/schema/display-conditions-schema.json +42 -0
  15. package/out/schema/manifest-schema.json +1876 -644
  16. package/out/schema/manifest.d.ts +1510 -872
  17. package/out/scopes/deprecated-shipyard-scopes.json +24 -0
  18. package/out/scopes/shipyard-scopes.json +314 -170
  19. package/out/text/errors.d.ts +3 -0
  20. package/out/text/errors.d.ts.map +1 -1
  21. package/out/text/errors.js +7 -4
  22. package/out/types/display-condition-types.d.ts +8 -0
  23. package/out/types/display-condition-types.d.ts.map +1 -1
  24. package/out/types/module-types.d.ts +12 -0
  25. package/out/types/module-types.d.ts.map +1 -1
  26. package/out/types/module-types.js +12 -0
  27. package/out/types/validation-types.d.ts +2 -1
  28. package/out/types/validation-types.d.ts.map +1 -1
  29. package/out/types/validation-types.js +1 -0
  30. package/out/validators/connect-authentication-validator.d.ts +7 -0
  31. package/out/validators/connect-authentication-validator.d.ts.map +1 -0
  32. package/out/validators/connect-authentication-validator.js +27 -0
  33. package/out/validators/deprecated-permissions-validator.d.ts +7 -0
  34. package/out/validators/deprecated-permissions-validator.d.ts.map +1 -0
  35. package/out/validators/deprecated-permissions-validator.js +31 -0
  36. package/out/validators/index.d.ts +1 -0
  37. package/out/validators/index.d.ts.map +1 -1
  38. package/out/validators/index.js +1 -0
  39. package/out/validators/modules-validator.d.ts.map +1 -1
  40. package/out/validators/modules-validator.js +7 -2
  41. package/out/validators/permissions-validator.d.ts.map +1 -1
  42. package/out/validators/permissions-validator.js +14 -8
  43. package/out/validators/resources-validator.d.ts.map +1 -1
  44. package/out/validators/resources-validator.js +26 -2
  45. package/package.json +3 -2
@@ -72,7 +72,7 @@ export type Scopes = string[];
72
72
  export type Scripts = string[];
73
73
  export type Styles = 'unsafe-inline'[];
74
74
  export type Backend = (string | Remote)[];
75
- export type Client = string[];
75
+ export type Client = (string | Remote1)[];
76
76
  export type Fonts = string[];
77
77
  export type Frames = string[];
78
78
  export type Navigation = string[];
@@ -82,10 +82,23 @@ export type Scripts1 = string[];
82
82
  export type Styles1 = string[];
83
83
  export type Resources = HostedResourcesSchema[];
84
84
  export type Remotes = RemotesSchema[];
85
+ export type BearerMethodSchema =
86
+ | ('authorization-header' | 'form-encoded' | 'uri-query')
87
+ | {
88
+ type: 'authorization-header' | 'form-encoded' | 'uri-query';
89
+ /**
90
+ * Custom authorization header prefix
91
+ */
92
+ prefix?: string;
93
+ /**
94
+ * Custom Header name or Parameter name (depending on type)
95
+ */
96
+ parameter?: string;
97
+ };
85
98
  /**
86
99
  * External authentication providers
87
100
  */
88
- export type Auth = (AuthProviderPredefined | AuthProviderCustom)[];
101
+ export type Auth = (AuthProviderCustom | AuthProviderPredefined)[];
89
102
 
90
103
  export interface ManifestSchema {
91
104
  app: App;
@@ -124,6 +137,10 @@ export interface Connect {
124
137
  * A key for the remote, which other modules can refer to. Must be unique within the manifest and have a maximum of 23 characters.
125
138
  */
126
139
  remote?: string;
140
+ /**
141
+ * The type of authentication used to communicate with tenant APIs
142
+ */
143
+ authentication?: 'jwt' | 'oauth2';
127
144
  }
128
145
  export interface ConnectModules {
129
146
  lifecycle?: [
@@ -298,6 +315,9 @@ export interface Modules {
298
315
  | {
299
316
  title: string;
300
317
  function: string;
318
+ displayConditions?: {
319
+ [k: string]: unknown;
320
+ };
301
321
  key: ModuleKeySchema;
302
322
  [k: string]: unknown;
303
323
  }
@@ -309,6 +329,9 @@ export interface Modules {
309
329
  resource: string;
310
330
  resourceUploadId?: string;
311
331
  viewportSize?: 'small' | 'medium' | 'large';
332
+ displayConditions?: {
333
+ [k: string]: unknown;
334
+ };
312
335
  key: ModuleKeySchema;
313
336
  [k: string]: unknown;
314
337
  }
@@ -317,6 +340,9 @@ export interface Modules {
317
340
  | {
318
341
  title: string;
319
342
  function: string;
343
+ displayConditions?: {
344
+ [k: string]: unknown;
345
+ };
320
346
  key: ModuleKeySchema;
321
347
  [k: string]: unknown;
322
348
  }
@@ -328,6 +354,9 @@ export interface Modules {
328
354
  resource: string;
329
355
  resourceUploadId?: string;
330
356
  viewportSize?: 'small' | 'medium' | 'large';
357
+ displayConditions?: {
358
+ [k: string]: unknown;
359
+ };
331
360
  key: ModuleKeySchema;
332
361
  [k: string]: unknown;
333
362
  }
@@ -338,6 +367,9 @@ export interface Modules {
338
367
  | {
339
368
  title: string;
340
369
  function: string;
370
+ displayConditions?: {
371
+ [k: string]: unknown;
372
+ };
341
373
  key: ModuleKeySchema;
342
374
  [k: string]: unknown;
343
375
  }
@@ -349,6 +381,9 @@ export interface Modules {
349
381
  resource: string;
350
382
  resourceUploadId?: string;
351
383
  viewportSize?: 'small' | 'medium' | 'large' | 'xlarge';
384
+ displayConditions?: {
385
+ [k: string]: unknown;
386
+ };
352
387
  key: ModuleKeySchema;
353
388
  [k: string]: unknown;
354
389
  }
@@ -357,6 +392,9 @@ export interface Modules {
357
392
  | {
358
393
  title: string;
359
394
  function: string;
395
+ displayConditions?: {
396
+ [k: string]: unknown;
397
+ };
360
398
  key: ModuleKeySchema;
361
399
  [k: string]: unknown;
362
400
  }
@@ -368,6 +406,9 @@ export interface Modules {
368
406
  resource: string;
369
407
  resourceUploadId?: string;
370
408
  viewportSize?: 'small' | 'medium' | 'large' | 'xlarge';
409
+ displayConditions?: {
410
+ [k: string]: unknown;
411
+ };
371
412
  key: ModuleKeySchema;
372
413
  [k: string]: unknown;
373
414
  }
@@ -450,6 +491,9 @@ export interface Modules {
450
491
  | {
451
492
  title: string;
452
493
  function: string;
494
+ displayConditions?: {
495
+ [k: string]: unknown;
496
+ };
453
497
  key: ModuleKeySchema;
454
498
  [k: string]: unknown;
455
499
  }
@@ -461,6 +505,9 @@ export interface Modules {
461
505
  resource: string;
462
506
  resourceUploadId?: string;
463
507
  viewportSize?: 'small' | 'medium' | 'large' | 'xlarge';
508
+ displayConditions?: {
509
+ [k: string]: unknown;
510
+ };
464
511
  key: ModuleKeySchema;
465
512
  [k: string]: unknown;
466
513
  }
@@ -469,6 +516,9 @@ export interface Modules {
469
516
  | {
470
517
  title: string;
471
518
  function: string;
519
+ displayConditions?: {
520
+ [k: string]: unknown;
521
+ };
472
522
  key: ModuleKeySchema;
473
523
  [k: string]: unknown;
474
524
  }
@@ -480,6 +530,9 @@ export interface Modules {
480
530
  resource: string;
481
531
  resourceUploadId?: string;
482
532
  viewportSize?: 'small' | 'medium' | 'large' | 'xlarge';
533
+ displayConditions?: {
534
+ [k: string]: unknown;
535
+ };
483
536
  key: ModuleKeySchema;
484
537
  [k: string]: unknown;
485
538
  }
@@ -492,6 +545,9 @@ export interface Modules {
492
545
  icon?: string;
493
546
  route: string;
494
547
  function: string;
548
+ displayConditions?: {
549
+ [k: string]: unknown;
550
+ };
495
551
  key: ModuleKeySchema;
496
552
  [k: string]: unknown;
497
553
  }
@@ -504,6 +560,9 @@ export interface Modules {
504
560
  };
505
561
  resource: string;
506
562
  resourceUploadId?: string;
563
+ displayConditions?: {
564
+ [k: string]: unknown;
565
+ };
507
566
  key: ModuleKeySchema;
508
567
  [k: string]: unknown;
509
568
  }
@@ -514,6 +573,9 @@ export interface Modules {
514
573
  icon?: string;
515
574
  route: string;
516
575
  function: string;
576
+ displayConditions?: {
577
+ [k: string]: unknown;
578
+ };
517
579
  key: ModuleKeySchema;
518
580
  [k: string]: unknown;
519
581
  }
@@ -526,6 +588,9 @@ export interface Modules {
526
588
  };
527
589
  resource: string;
528
590
  resourceUploadId?: string;
591
+ displayConditions?: {
592
+ [k: string]: unknown;
593
+ };
529
594
  key: ModuleKeySchema;
530
595
  [k: string]: unknown;
531
596
  }
@@ -536,6 +601,9 @@ export interface Modules {
536
601
  | {
537
602
  title: string;
538
603
  function: string;
604
+ displayConditions?: {
605
+ [k: string]: unknown;
606
+ };
539
607
  key: ModuleKeySchema;
540
608
  [k: string]: unknown;
541
609
  }
@@ -546,6 +614,9 @@ export interface Modules {
546
614
  };
547
615
  resource: string;
548
616
  resourceUploadId?: string;
617
+ displayConditions?: {
618
+ [k: string]: unknown;
619
+ };
549
620
  key: ModuleKeySchema;
550
621
  [k: string]: unknown;
551
622
  }
@@ -554,6 +625,9 @@ export interface Modules {
554
625
  | {
555
626
  title: string;
556
627
  function: string;
628
+ displayConditions?: {
629
+ [k: string]: unknown;
630
+ };
557
631
  key: ModuleKeySchema;
558
632
  [k: string]: unknown;
559
633
  }
@@ -564,6 +638,9 @@ export interface Modules {
564
638
  };
565
639
  resource: string;
566
640
  resourceUploadId?: string;
641
+ displayConditions?: {
642
+ [k: string]: unknown;
643
+ };
567
644
  key: ModuleKeySchema;
568
645
  [k: string]: unknown;
569
646
  }
@@ -574,6 +651,9 @@ export interface Modules {
574
651
  | {
575
652
  title: string;
576
653
  function: string;
654
+ displayConditions?: {
655
+ [k: string]: unknown;
656
+ };
577
657
  key: ModuleKeySchema;
578
658
  [k: string]: unknown;
579
659
  }
@@ -584,6 +664,9 @@ export interface Modules {
584
664
  };
585
665
  resource: string;
586
666
  resourceUploadId?: string;
667
+ displayConditions?: {
668
+ [k: string]: unknown;
669
+ };
587
670
  key: ModuleKeySchema;
588
671
  [k: string]: unknown;
589
672
  }
@@ -592,6 +675,9 @@ export interface Modules {
592
675
  | {
593
676
  title: string;
594
677
  function: string;
678
+ displayConditions?: {
679
+ [k: string]: unknown;
680
+ };
595
681
  key: ModuleKeySchema;
596
682
  [k: string]: unknown;
597
683
  }
@@ -602,160 +688,85 @@ export interface Modules {
602
688
  };
603
689
  resource: string;
604
690
  resourceUploadId?: string;
691
+ displayConditions?: {
692
+ [k: string]: unknown;
693
+ };
605
694
  key: ModuleKeySchema;
606
695
  [k: string]: unknown;
607
696
  }
608
697
  )[]
609
698
  ];
610
- 'jira:workflowValidator'?: [
611
- {
612
- name: string;
613
- description: string;
614
- function?: string;
615
- key: ModuleKeySchema;
616
- [k: string]: unknown;
617
- },
618
- ...{
619
- name: string;
620
- description: string;
621
- function?: string;
622
- key: ModuleKeySchema;
623
- [k: string]: unknown;
624
- }[]
625
- ];
626
- 'jira:customField'?: [
699
+ 'confluence:globalPage'?: [
627
700
  (
628
701
  | {
629
- formatter?: {
630
- expression: string;
631
- [k: string]: unknown;
632
- };
633
- name: string;
634
- description: string;
635
- type: 'datetime' | 'group' | 'number' | 'string' | 'user';
636
- collection?: 'list' | 'none';
637
- validation?: {
638
- expression: string;
639
- errorMessage?: string;
702
+ title: string;
703
+ icon?: string;
704
+ route: string;
705
+ function: string;
706
+ displayConditions?: {
640
707
  [k: string]: unknown;
641
708
  };
642
- readOnly?: boolean;
643
- resolver?: {
644
- function: string;
645
- };
646
- edit?:
647
- | {
648
- function: string;
649
- [k: string]: unknown;
650
- }
651
- | {
652
- resource: string;
653
- [k: string]: unknown;
654
- };
655
709
  key: ModuleKeySchema;
656
- [k: string]: unknown;
657
710
  }
658
711
  | {
659
- formatter: {
660
- expression: string;
661
- [k: string]: unknown;
662
- };
663
- schema?: {
664
- [k: string]: unknown;
665
- };
666
- name: string;
667
- description: string;
668
- type: 'object';
669
- collection?: 'list' | 'none';
670
- validation?: {
671
- expression: string;
672
- errorMessage?: string;
673
- [k: string]: unknown;
674
- };
675
- readOnly?: boolean;
712
+ title: string;
713
+ icon?: string;
714
+ route: string;
676
715
  resolver?: {
677
716
  function: string;
678
717
  };
679
- edit?:
680
- | {
681
- function: string;
682
- [k: string]: unknown;
683
- }
684
- | {
685
- resource: string;
686
- [k: string]: unknown;
687
- };
718
+ resource: string;
719
+ resourceUploadId?: string;
720
+ displayConditions?: {
721
+ [k: string]: unknown;
722
+ };
688
723
  key: ModuleKeySchema;
689
- [k: string]: unknown;
690
724
  }
691
725
  ),
692
726
  ...(
693
727
  | {
694
- formatter?: {
695
- expression: string;
696
- [k: string]: unknown;
697
- };
698
- name: string;
699
- description: string;
700
- type: 'datetime' | 'group' | 'number' | 'string' | 'user';
701
- collection?: 'list' | 'none';
702
- validation?: {
703
- expression: string;
704
- errorMessage?: string;
728
+ title: string;
729
+ icon?: string;
730
+ route: string;
731
+ function: string;
732
+ displayConditions?: {
705
733
  [k: string]: unknown;
706
734
  };
707
- readOnly?: boolean;
708
- resolver?: {
709
- function: string;
710
- };
711
- edit?:
712
- | {
713
- function: string;
714
- [k: string]: unknown;
715
- }
716
- | {
717
- resource: string;
718
- [k: string]: unknown;
719
- };
720
735
  key: ModuleKeySchema;
721
- [k: string]: unknown;
722
736
  }
723
737
  | {
724
- formatter: {
725
- expression: string;
726
- [k: string]: unknown;
727
- };
728
- schema?: {
729
- [k: string]: unknown;
730
- };
731
- name: string;
732
- description: string;
733
- type: 'object';
734
- collection?: 'list' | 'none';
735
- validation?: {
736
- expression: string;
737
- errorMessage?: string;
738
- [k: string]: unknown;
739
- };
740
- readOnly?: boolean;
738
+ title: string;
739
+ icon?: string;
740
+ route: string;
741
741
  resolver?: {
742
742
  function: string;
743
743
  };
744
- edit?:
745
- | {
746
- function: string;
747
- [k: string]: unknown;
748
- }
749
- | {
750
- resource: string;
751
- [k: string]: unknown;
752
- };
744
+ resource: string;
745
+ resourceUploadId?: string;
746
+ displayConditions?: {
747
+ [k: string]: unknown;
748
+ };
753
749
  key: ModuleKeySchema;
754
- [k: string]: unknown;
755
750
  }
756
751
  )[]
757
752
  ];
758
- 'jira:customFieldType'?: [
753
+ 'jira:workflowValidator'?: [
754
+ {
755
+ name: string;
756
+ description: string;
757
+ function?: string;
758
+ key: ModuleKeySchema;
759
+ [k: string]: unknown;
760
+ },
761
+ ...{
762
+ name: string;
763
+ description: string;
764
+ function?: string;
765
+ key: ModuleKeySchema;
766
+ [k: string]: unknown;
767
+ }[]
768
+ ];
769
+ 'jira:customField'?: [
759
770
  (
760
771
  | {
761
772
  formatter?: {
@@ -772,30 +783,22 @@ export interface Modules {
772
783
  [k: string]: unknown;
773
784
  };
774
785
  readOnly?: boolean;
775
- edit?:
776
- | {
777
- function: string;
778
- [k: string]: unknown;
779
- }
780
- | {
781
- resource: string;
782
- [k: string]: unknown;
783
- };
784
- icon?: string;
785
786
  resolver?: {
786
787
  function: string;
787
788
  };
788
- contextConfig?:
789
+ edit?:
789
790
  | {
790
791
  function: string;
791
- layout?: 'basic' | 'native';
792
792
  [k: string]: unknown;
793
793
  }
794
794
  | {
795
795
  resource: string;
796
- layout?: 'basic' | 'native';
797
796
  [k: string]: unknown;
798
797
  };
798
+ value?: {
799
+ function: string;
800
+ [k: string]: unknown;
801
+ };
799
802
  key: ModuleKeySchema;
800
803
  [k: string]: unknown;
801
804
  }
@@ -817,6 +820,82 @@ export interface Modules {
817
820
  [k: string]: unknown;
818
821
  };
819
822
  readOnly?: boolean;
823
+ resolver?: {
824
+ function: string;
825
+ };
826
+ edit?:
827
+ | {
828
+ function: string;
829
+ [k: string]: unknown;
830
+ }
831
+ | {
832
+ resource: string;
833
+ [k: string]: unknown;
834
+ };
835
+ value?: {
836
+ function: string;
837
+ [k: string]: unknown;
838
+ };
839
+ key: ModuleKeySchema;
840
+ [k: string]: unknown;
841
+ }
842
+ ),
843
+ ...(
844
+ | {
845
+ formatter?: {
846
+ expression: string;
847
+ [k: string]: unknown;
848
+ };
849
+ name: string;
850
+ description: string;
851
+ type: 'datetime' | 'group' | 'number' | 'string' | 'user';
852
+ collection?: 'list' | 'none';
853
+ validation?: {
854
+ expression: string;
855
+ errorMessage?: string;
856
+ [k: string]: unknown;
857
+ };
858
+ readOnly?: boolean;
859
+ resolver?: {
860
+ function: string;
861
+ };
862
+ edit?:
863
+ | {
864
+ function: string;
865
+ [k: string]: unknown;
866
+ }
867
+ | {
868
+ resource: string;
869
+ [k: string]: unknown;
870
+ };
871
+ value?: {
872
+ function: string;
873
+ [k: string]: unknown;
874
+ };
875
+ key: ModuleKeySchema;
876
+ [k: string]: unknown;
877
+ }
878
+ | {
879
+ formatter: {
880
+ expression: string;
881
+ [k: string]: unknown;
882
+ };
883
+ schema?: {
884
+ [k: string]: unknown;
885
+ };
886
+ name: string;
887
+ description: string;
888
+ type: 'object';
889
+ collection?: 'list' | 'none';
890
+ validation?: {
891
+ expression: string;
892
+ errorMessage?: string;
893
+ [k: string]: unknown;
894
+ };
895
+ readOnly?: boolean;
896
+ resolver?: {
897
+ function: string;
898
+ };
820
899
  edit?:
821
900
  | {
822
901
  function: string;
@@ -826,6 +905,94 @@ export interface Modules {
826
905
  resource: string;
827
906
  [k: string]: unknown;
828
907
  };
908
+ value?: {
909
+ function: string;
910
+ [k: string]: unknown;
911
+ };
912
+ key: ModuleKeySchema;
913
+ [k: string]: unknown;
914
+ }
915
+ )[]
916
+ ];
917
+ 'jira:customFieldType'?: [
918
+ (
919
+ | {
920
+ formatter?: {
921
+ expression: string;
922
+ [k: string]: unknown;
923
+ };
924
+ name: string;
925
+ description: string;
926
+ type: 'datetime' | 'group' | 'number' | 'string' | 'user';
927
+ collection?: 'list' | 'none';
928
+ validation?: {
929
+ expression: string;
930
+ errorMessage?: string;
931
+ [k: string]: unknown;
932
+ };
933
+ readOnly?: boolean;
934
+ edit?:
935
+ | {
936
+ function: string;
937
+ [k: string]: unknown;
938
+ }
939
+ | {
940
+ resource: string;
941
+ [k: string]: unknown;
942
+ };
943
+ value?: {
944
+ function: string;
945
+ [k: string]: unknown;
946
+ };
947
+ icon?: string;
948
+ resolver?: {
949
+ function: string;
950
+ };
951
+ contextConfig?:
952
+ | {
953
+ function: string;
954
+ layout?: 'basic' | 'native';
955
+ [k: string]: unknown;
956
+ }
957
+ | {
958
+ resource: string;
959
+ layout?: 'basic' | 'native';
960
+ [k: string]: unknown;
961
+ };
962
+ key: ModuleKeySchema;
963
+ [k: string]: unknown;
964
+ }
965
+ | {
966
+ formatter: {
967
+ expression: string;
968
+ [k: string]: unknown;
969
+ };
970
+ schema?: {
971
+ [k: string]: unknown;
972
+ };
973
+ name: string;
974
+ description: string;
975
+ type: 'object';
976
+ collection?: 'list' | 'none';
977
+ validation?: {
978
+ expression: string;
979
+ errorMessage?: string;
980
+ [k: string]: unknown;
981
+ };
982
+ readOnly?: boolean;
983
+ edit?:
984
+ | {
985
+ function: string;
986
+ [k: string]: unknown;
987
+ }
988
+ | {
989
+ resource: string;
990
+ [k: string]: unknown;
991
+ };
992
+ value?: {
993
+ function: string;
994
+ [k: string]: unknown;
995
+ };
829
996
  icon?: string;
830
997
  resolver?: {
831
998
  function: string;
@@ -870,6 +1037,10 @@ export interface Modules {
870
1037
  resource: string;
871
1038
  [k: string]: unknown;
872
1039
  };
1040
+ value?: {
1041
+ function: string;
1042
+ [k: string]: unknown;
1043
+ };
873
1044
  icon?: string;
874
1045
  resolver?: {
875
1046
  function: string;
@@ -915,6 +1086,10 @@ export interface Modules {
915
1086
  resource: string;
916
1087
  [k: string]: unknown;
917
1088
  };
1089
+ value?: {
1090
+ function: string;
1091
+ [k: string]: unknown;
1092
+ };
918
1093
  icon?: string;
919
1094
  resolver?: {
920
1095
  function: string;
@@ -978,76 +1153,82 @@ export interface Modules {
978
1153
  'jira:issueGlance'?: [
979
1154
  (
980
1155
  | {
1156
+ function: string;
981
1157
  title: string;
982
1158
  label: string;
983
1159
  status?: {
1160
+ type: 'badge' | 'icon' | 'lozenge';
984
1161
  value: {
985
1162
  label: string;
1163
+ url?: string;
986
1164
  type?: 'default' | 'inprogress' | 'moved' | 'new' | 'removed' | 'success';
987
1165
  [k: string]: unknown;
988
1166
  };
989
- type: 'badge' | 'lozenge';
990
1167
  [k: string]: unknown;
991
1168
  };
992
- function: string;
1169
+ icon?: string;
993
1170
  key: ModuleKeySchema;
994
1171
  [k: string]: unknown;
995
1172
  }
996
1173
  | {
1174
+ resource: string;
1175
+ resolver?: {
1176
+ function: string;
1177
+ };
997
1178
  title: string;
998
1179
  label: string;
999
1180
  status?: {
1181
+ type: 'badge' | 'icon' | 'lozenge';
1000
1182
  value: {
1001
1183
  label: string;
1184
+ url?: string;
1002
1185
  type?: 'default' | 'inprogress' | 'moved' | 'new' | 'removed' | 'success';
1003
1186
  [k: string]: unknown;
1004
1187
  };
1005
- type: 'badge' | 'lozenge';
1006
1188
  [k: string]: unknown;
1007
1189
  };
1008
- resolver?: {
1009
- function: string;
1010
- };
1011
- resource: string;
1012
- resourceUploadId?: string;
1190
+ icon?: string;
1013
1191
  key: ModuleKeySchema;
1014
1192
  [k: string]: unknown;
1015
1193
  }
1016
1194
  ),
1017
1195
  ...(
1018
1196
  | {
1197
+ function: string;
1019
1198
  title: string;
1020
1199
  label: string;
1021
1200
  status?: {
1201
+ type: 'badge' | 'icon' | 'lozenge';
1022
1202
  value: {
1023
1203
  label: string;
1204
+ url?: string;
1024
1205
  type?: 'default' | 'inprogress' | 'moved' | 'new' | 'removed' | 'success';
1025
1206
  [k: string]: unknown;
1026
1207
  };
1027
- type: 'badge' | 'lozenge';
1028
1208
  [k: string]: unknown;
1029
1209
  };
1030
- function: string;
1210
+ icon?: string;
1031
1211
  key: ModuleKeySchema;
1032
1212
  [k: string]: unknown;
1033
1213
  }
1034
1214
  | {
1215
+ resource: string;
1216
+ resolver?: {
1217
+ function: string;
1218
+ };
1035
1219
  title: string;
1036
1220
  label: string;
1037
1221
  status?: {
1222
+ type: 'badge' | 'icon' | 'lozenge';
1038
1223
  value: {
1039
1224
  label: string;
1225
+ url?: string;
1040
1226
  type?: 'default' | 'inprogress' | 'moved' | 'new' | 'removed' | 'success';
1041
1227
  [k: string]: unknown;
1042
1228
  };
1043
- type: 'badge' | 'lozenge';
1044
1229
  [k: string]: unknown;
1045
1230
  };
1046
- resolver?: {
1047
- function: string;
1048
- };
1049
- resource: string;
1050
- resourceUploadId?: string;
1231
+ icon?: string;
1051
1232
  key: ModuleKeySchema;
1052
1233
  [k: string]: unknown;
1053
1234
  }
@@ -1198,55 +1379,448 @@ export interface Modules {
1198
1379
  'jira:adminPage'?: [
1199
1380
  (
1200
1381
  | {
1382
+ function: string;
1201
1383
  title: string;
1202
1384
  icon?: string;
1203
- layout?: 'native' | 'basic';
1204
- function: string;
1385
+ layout?: 'basic' | 'native';
1386
+ pages?: {
1387
+ title: string;
1388
+ route: string;
1389
+ icon?: string;
1390
+ [k: string]: unknown;
1391
+ }[];
1392
+ sections?: {
1393
+ header?: string;
1394
+ pages: {
1395
+ title: string;
1396
+ route: string;
1397
+ icon?: string;
1398
+ [k: string]: unknown;
1399
+ }[];
1400
+ [k: string]: unknown;
1401
+ }[];
1402
+ key: ModuleKeySchema;
1403
+ [k: string]: unknown;
1404
+ }
1405
+ | {
1406
+ resource: string;
1407
+ resourceUploadId?: string;
1408
+ resolver?: {
1409
+ function: string;
1410
+ };
1411
+ title: string;
1412
+ icon?: string;
1413
+ layout?: 'basic' | 'native';
1414
+ pages?: {
1415
+ title: string;
1416
+ route: string;
1417
+ icon?: string;
1418
+ [k: string]: unknown;
1419
+ }[];
1420
+ sections?: {
1421
+ header?: string;
1422
+ pages: {
1423
+ title: string;
1424
+ route: string;
1425
+ icon?: string;
1426
+ [k: string]: unknown;
1427
+ }[];
1428
+ [k: string]: unknown;
1429
+ }[];
1205
1430
  key: ModuleKeySchema;
1206
1431
  [k: string]: unknown;
1207
1432
  }
1433
+ ),
1434
+ ...(
1208
1435
  | {
1436
+ function: string;
1209
1437
  title: string;
1210
1438
  icon?: string;
1211
- layout?: 'native' | 'basic';
1439
+ layout?: 'basic' | 'native';
1440
+ pages?: {
1441
+ title: string;
1442
+ route: string;
1443
+ icon?: string;
1444
+ [k: string]: unknown;
1445
+ }[];
1446
+ sections?: {
1447
+ header?: string;
1448
+ pages: {
1449
+ title: string;
1450
+ route: string;
1451
+ icon?: string;
1452
+ [k: string]: unknown;
1453
+ }[];
1454
+ [k: string]: unknown;
1455
+ }[];
1456
+ key: ModuleKeySchema;
1457
+ [k: string]: unknown;
1458
+ }
1459
+ | {
1460
+ resource: string;
1461
+ resourceUploadId?: string;
1212
1462
  resolver?: {
1213
1463
  function: string;
1214
1464
  };
1465
+ title: string;
1466
+ icon?: string;
1467
+ layout?: 'basic' | 'native';
1468
+ pages?: {
1469
+ title: string;
1470
+ route: string;
1471
+ icon?: string;
1472
+ [k: string]: unknown;
1473
+ }[];
1474
+ sections?: {
1475
+ header?: string;
1476
+ pages: {
1477
+ title: string;
1478
+ route: string;
1479
+ icon?: string;
1480
+ [k: string]: unknown;
1481
+ }[];
1482
+ [k: string]: unknown;
1483
+ }[];
1484
+ key: ModuleKeySchema;
1485
+ [k: string]: unknown;
1486
+ }
1487
+ )[]
1488
+ ];
1489
+ 'jira:projectPage'?: [
1490
+ (
1491
+ | {
1492
+ function: string;
1493
+ title: string;
1494
+ icon?: string;
1495
+ layout?: 'basic' | 'native';
1496
+ pages?: {
1497
+ title: string;
1498
+ route: string;
1499
+ icon?: string;
1500
+ [k: string]: unknown;
1501
+ }[];
1502
+ sections?: {
1503
+ header?: string;
1504
+ pages: {
1505
+ title: string;
1506
+ route: string;
1507
+ icon?: string;
1508
+ [k: string]: unknown;
1509
+ }[];
1510
+ [k: string]: unknown;
1511
+ }[];
1512
+ key: ModuleKeySchema;
1513
+ [k: string]: unknown;
1514
+ }
1515
+ | {
1215
1516
  resource: string;
1216
1517
  resourceUploadId?: string;
1518
+ resolver?: {
1519
+ function: string;
1520
+ };
1521
+ title: string;
1522
+ icon?: string;
1523
+ layout?: 'basic' | 'native';
1524
+ pages?: {
1525
+ title: string;
1526
+ route: string;
1527
+ icon?: string;
1528
+ [k: string]: unknown;
1529
+ }[];
1530
+ sections?: {
1531
+ header?: string;
1532
+ pages: {
1533
+ title: string;
1534
+ route: string;
1535
+ icon?: string;
1536
+ [k: string]: unknown;
1537
+ }[];
1538
+ [k: string]: unknown;
1539
+ }[];
1217
1540
  key: ModuleKeySchema;
1218
1541
  [k: string]: unknown;
1219
1542
  }
1220
1543
  ),
1221
1544
  ...(
1222
1545
  | {
1546
+ function: string;
1223
1547
  title: string;
1224
1548
  icon?: string;
1225
- layout?: 'native' | 'basic';
1549
+ layout?: 'basic' | 'native';
1550
+ pages?: {
1551
+ title: string;
1552
+ route: string;
1553
+ icon?: string;
1554
+ [k: string]: unknown;
1555
+ }[];
1556
+ sections?: {
1557
+ header?: string;
1558
+ pages: {
1559
+ title: string;
1560
+ route: string;
1561
+ icon?: string;
1562
+ [k: string]: unknown;
1563
+ }[];
1564
+ [k: string]: unknown;
1565
+ }[];
1566
+ key: ModuleKeySchema;
1567
+ [k: string]: unknown;
1568
+ }
1569
+ | {
1570
+ resource: string;
1571
+ resourceUploadId?: string;
1572
+ resolver?: {
1573
+ function: string;
1574
+ };
1575
+ title: string;
1576
+ icon?: string;
1577
+ layout?: 'basic' | 'native';
1578
+ pages?: {
1579
+ title: string;
1580
+ route: string;
1581
+ icon?: string;
1582
+ [k: string]: unknown;
1583
+ }[];
1584
+ sections?: {
1585
+ header?: string;
1586
+ pages: {
1587
+ title: string;
1588
+ route: string;
1589
+ icon?: string;
1590
+ [k: string]: unknown;
1591
+ }[];
1592
+ [k: string]: unknown;
1593
+ }[];
1594
+ key: ModuleKeySchema;
1595
+ [k: string]: unknown;
1596
+ }
1597
+ )[]
1598
+ ];
1599
+ 'jira:globalPage'?: [
1600
+ (
1601
+ | {
1226
1602
  function: string;
1603
+ title: string;
1604
+ icon?: string;
1605
+ layout?: 'basic' | 'native';
1606
+ pages?: {
1607
+ title: string;
1608
+ route: string;
1609
+ icon?: string;
1610
+ [k: string]: unknown;
1611
+ }[];
1612
+ sections?: {
1613
+ header?: string;
1614
+ pages: {
1615
+ title: string;
1616
+ route: string;
1617
+ icon?: string;
1618
+ [k: string]: unknown;
1619
+ }[];
1620
+ [k: string]: unknown;
1621
+ }[];
1622
+ key: ModuleKeySchema;
1623
+ [k: string]: unknown;
1624
+ }
1625
+ | {
1626
+ resource: string;
1627
+ resourceUploadId?: string;
1628
+ resolver?: {
1629
+ function: string;
1630
+ };
1631
+ title: string;
1632
+ icon?: string;
1633
+ layout?: 'basic' | 'native';
1634
+ pages?: {
1635
+ title: string;
1636
+ route: string;
1637
+ icon?: string;
1638
+ [k: string]: unknown;
1639
+ }[];
1640
+ sections?: {
1641
+ header?: string;
1642
+ pages: {
1643
+ title: string;
1644
+ route: string;
1645
+ icon?: string;
1646
+ [k: string]: unknown;
1647
+ }[];
1648
+ [k: string]: unknown;
1649
+ }[];
1227
1650
  key: ModuleKeySchema;
1228
1651
  [k: string]: unknown;
1229
1652
  }
1653
+ ),
1654
+ ...(
1230
1655
  | {
1656
+ function: string;
1231
1657
  title: string;
1232
1658
  icon?: string;
1233
- layout?: 'native' | 'basic';
1659
+ layout?: 'basic' | 'native';
1660
+ pages?: {
1661
+ title: string;
1662
+ route: string;
1663
+ icon?: string;
1664
+ [k: string]: unknown;
1665
+ }[];
1666
+ sections?: {
1667
+ header?: string;
1668
+ pages: {
1669
+ title: string;
1670
+ route: string;
1671
+ icon?: string;
1672
+ [k: string]: unknown;
1673
+ }[];
1674
+ [k: string]: unknown;
1675
+ }[];
1676
+ key: ModuleKeySchema;
1677
+ [k: string]: unknown;
1678
+ }
1679
+ | {
1680
+ resource: string;
1681
+ resourceUploadId?: string;
1234
1682
  resolver?: {
1235
1683
  function: string;
1236
1684
  };
1685
+ title: string;
1686
+ icon?: string;
1687
+ layout?: 'basic' | 'native';
1688
+ pages?: {
1689
+ title: string;
1690
+ route: string;
1691
+ icon?: string;
1692
+ [k: string]: unknown;
1693
+ }[];
1694
+ sections?: {
1695
+ header?: string;
1696
+ pages: {
1697
+ title: string;
1698
+ route: string;
1699
+ icon?: string;
1700
+ [k: string]: unknown;
1701
+ }[];
1702
+ [k: string]: unknown;
1703
+ }[];
1704
+ key: ModuleKeySchema;
1705
+ [k: string]: unknown;
1706
+ }
1707
+ )[]
1708
+ ];
1709
+ 'jira:projectSettingsPage'?: [
1710
+ (
1711
+ | {
1712
+ function: string;
1713
+ title: string;
1714
+ icon?: string;
1715
+ layout?: 'basic' | 'native';
1716
+ pages?: {
1717
+ title: string;
1718
+ route: string;
1719
+ icon?: string;
1720
+ [k: string]: unknown;
1721
+ }[];
1722
+ sections?: {
1723
+ header?: string;
1724
+ pages: {
1725
+ title: string;
1726
+ route: string;
1727
+ icon?: string;
1728
+ [k: string]: unknown;
1729
+ }[];
1730
+ [k: string]: unknown;
1731
+ }[];
1732
+ key: ModuleKeySchema;
1733
+ [k: string]: unknown;
1734
+ }
1735
+ | {
1237
1736
  resource: string;
1238
1737
  resourceUploadId?: string;
1738
+ resolver?: {
1739
+ function: string;
1740
+ };
1741
+ title: string;
1742
+ icon?: string;
1743
+ layout?: 'basic' | 'native';
1744
+ pages?: {
1745
+ title: string;
1746
+ route: string;
1747
+ icon?: string;
1748
+ [k: string]: unknown;
1749
+ }[];
1750
+ sections?: {
1751
+ header?: string;
1752
+ pages: {
1753
+ title: string;
1754
+ route: string;
1755
+ icon?: string;
1756
+ [k: string]: unknown;
1757
+ }[];
1758
+ [k: string]: unknown;
1759
+ }[];
1760
+ key: ModuleKeySchema;
1761
+ [k: string]: unknown;
1762
+ }
1763
+ ),
1764
+ ...(
1765
+ | {
1766
+ function: string;
1767
+ title: string;
1768
+ icon?: string;
1769
+ layout?: 'basic' | 'native';
1770
+ pages?: {
1771
+ title: string;
1772
+ route: string;
1773
+ icon?: string;
1774
+ [k: string]: unknown;
1775
+ }[];
1776
+ sections?: {
1777
+ header?: string;
1778
+ pages: {
1779
+ title: string;
1780
+ route: string;
1781
+ icon?: string;
1782
+ [k: string]: unknown;
1783
+ }[];
1784
+ [k: string]: unknown;
1785
+ }[];
1786
+ key: ModuleKeySchema;
1787
+ [k: string]: unknown;
1788
+ }
1789
+ | {
1790
+ resource: string;
1791
+ resourceUploadId?: string;
1792
+ resolver?: {
1793
+ function: string;
1794
+ };
1795
+ title: string;
1796
+ icon?: string;
1797
+ layout?: 'basic' | 'native';
1798
+ pages?: {
1799
+ title: string;
1800
+ route: string;
1801
+ icon?: string;
1802
+ [k: string]: unknown;
1803
+ }[];
1804
+ sections?: {
1805
+ header?: string;
1806
+ pages: {
1807
+ title: string;
1808
+ route: string;
1809
+ icon?: string;
1810
+ [k: string]: unknown;
1811
+ }[];
1812
+ [k: string]: unknown;
1813
+ }[];
1239
1814
  key: ModuleKeySchema;
1240
1815
  [k: string]: unknown;
1241
1816
  }
1242
1817
  )[]
1243
1818
  ];
1244
- 'jira:projectPage'?: [
1819
+ 'compass:adminPage'?: [
1245
1820
  (
1246
1821
  | {
1247
1822
  title: string;
1248
1823
  icon?: string;
1249
- layout?: 'native' | 'basic';
1250
1824
  function: string;
1251
1825
  key: ModuleKeySchema;
1252
1826
  [k: string]: unknown;
@@ -1254,12 +1828,10 @@ export interface Modules {
1254
1828
  | {
1255
1829
  title: string;
1256
1830
  icon?: string;
1257
- layout?: 'native' | 'basic';
1258
1831
  resolver?: {
1259
1832
  function: string;
1260
1833
  };
1261
1834
  resource: string;
1262
- resourceUploadId?: string;
1263
1835
  key: ModuleKeySchema;
1264
1836
  [k: string]: unknown;
1265
1837
  }
@@ -1268,7 +1840,6 @@ export interface Modules {
1268
1840
  | {
1269
1841
  title: string;
1270
1842
  icon?: string;
1271
- layout?: 'native' | 'basic';
1272
1843
  function: string;
1273
1844
  key: ModuleKeySchema;
1274
1845
  [k: string]: unknown;
@@ -1276,33 +1847,15 @@ export interface Modules {
1276
1847
  | {
1277
1848
  title: string;
1278
1849
  icon?: string;
1279
- layout?: 'native' | 'basic';
1280
1850
  resolver?: {
1281
1851
  function: string;
1282
1852
  };
1283
1853
  resource: string;
1284
- resourceUploadId?: string;
1285
1854
  key: ModuleKeySchema;
1286
1855
  [k: string]: unknown;
1287
1856
  }
1288
1857
  )[]
1289
1858
  ];
1290
- 'compass:adminPage'?: [
1291
- {
1292
- title: string;
1293
- icon?: string;
1294
- function: string;
1295
- key: ModuleKeySchema;
1296
- [k: string]: unknown;
1297
- },
1298
- ...{
1299
- title: string;
1300
- icon?: string;
1301
- function: string;
1302
- key: ModuleKeySchema;
1303
- [k: string]: unknown;
1304
- }[]
1305
- ];
1306
1859
  'compass:componentPage'?: [
1307
1860
  (
1308
1861
  | {
@@ -1321,7 +1874,6 @@ export interface Modules {
1321
1874
  };
1322
1875
  displayConditions?: DisplayConditions;
1323
1876
  resource: string;
1324
- resourceUploadId?: string;
1325
1877
  key: ModuleKeySchema;
1326
1878
  [k: string]: unknown;
1327
1879
  }
@@ -1343,7 +1895,46 @@ export interface Modules {
1343
1895
  };
1344
1896
  displayConditions?: DisplayConditions;
1345
1897
  resource: string;
1346
- resourceUploadId?: string;
1898
+ key: ModuleKeySchema;
1899
+ [k: string]: unknown;
1900
+ }
1901
+ )[]
1902
+ ];
1903
+ 'compass:globalPage'?: [
1904
+ (
1905
+ | {
1906
+ title: string;
1907
+ icon?: string;
1908
+ function: string;
1909
+ key: ModuleKeySchema;
1910
+ [k: string]: unknown;
1911
+ }
1912
+ | {
1913
+ title: string;
1914
+ icon?: string;
1915
+ resolver?: {
1916
+ function: string;
1917
+ };
1918
+ resource: string;
1919
+ key: ModuleKeySchema;
1920
+ [k: string]: unknown;
1921
+ }
1922
+ ),
1923
+ ...(
1924
+ | {
1925
+ title: string;
1926
+ icon?: string;
1927
+ function: string;
1928
+ key: ModuleKeySchema;
1929
+ [k: string]: unknown;
1930
+ }
1931
+ | {
1932
+ title: string;
1933
+ icon?: string;
1934
+ resolver?: {
1935
+ function: string;
1936
+ };
1937
+ resource: string;
1347
1938
  key: ModuleKeySchema;
1348
1939
  [k: string]: unknown;
1349
1940
  }
@@ -1391,7 +1982,7 @@ export interface Modules {
1391
1982
  fullPage?: boolean;
1392
1983
  cacheable?: boolean;
1393
1984
  location?: string;
1394
- conditions?: (SingleCondition | CompositeCondition)[];
1985
+ conditions?: (CompositeCondition | SingleCondition)[];
1395
1986
  params?: {
1396
1987
  [k: string]: unknown;
1397
1988
  };
@@ -1406,7 +1997,7 @@ export interface Modules {
1406
1997
  fullPage?: boolean;
1407
1998
  cacheable?: boolean;
1408
1999
  location?: string;
1409
- conditions?: (SingleCondition | CompositeCondition)[];
2000
+ conditions?: (CompositeCondition | SingleCondition)[];
1410
2001
  params?: {
1411
2002
  [k: string]: unknown;
1412
2003
  };
@@ -1454,7 +2045,7 @@ export interface Modules {
1454
2045
  filter?: string;
1455
2046
  excludeBody?: boolean;
1456
2047
  event?: string;
1457
- conditions?: (CompositeCondition | SingleCondition)[];
2048
+ conditions?: (SingleCondition | CompositeCondition)[];
1458
2049
  propertyKeys?: string[];
1459
2050
  url?: string;
1460
2051
  key: ModuleKeySchema;
@@ -1464,7 +2055,7 @@ export interface Modules {
1464
2055
  filter?: string;
1465
2056
  excludeBody?: boolean;
1466
2057
  event?: string;
1467
- conditions?: (CompositeCondition | SingleCondition)[];
2058
+ conditions?: (SingleCondition | CompositeCondition)[];
1468
2059
  propertyKeys?: string[];
1469
2060
  url?: string;
1470
2061
  key: ModuleKeySchema;
@@ -1507,7 +2098,7 @@ export interface Modules {
1507
2098
  name?: I18NProperty6;
1508
2099
  weight?: number;
1509
2100
  location?: string;
1510
- conditions?: (CompositeCondition | SingleCondition)[];
2101
+ conditions?: (SingleCondition | CompositeCondition)[];
1511
2102
  params?: {
1512
2103
  [k: string]: unknown;
1513
2104
  };
@@ -1519,7 +2110,7 @@ export interface Modules {
1519
2110
  name?: I18NProperty6;
1520
2111
  weight?: number;
1521
2112
  location?: string;
1522
- conditions?: (CompositeCondition | SingleCondition)[];
2113
+ conditions?: (SingleCondition | CompositeCondition)[];
1523
2114
  params?: {
1524
2115
  [k: string]: unknown;
1525
2116
  };
@@ -1603,7 +2194,7 @@ export interface Modules {
1603
2194
  fullPage?: boolean;
1604
2195
  cacheable?: boolean;
1605
2196
  location?: string;
1606
- conditions?: (SingleCondition | CompositeCondition)[];
2197
+ conditions?: (CompositeCondition | SingleCondition)[];
1607
2198
  params?: {
1608
2199
  [k: string]: unknown;
1609
2200
  };
@@ -1618,7 +2209,7 @@ export interface Modules {
1618
2209
  fullPage?: boolean;
1619
2210
  cacheable?: boolean;
1620
2211
  location?: string;
1621
- conditions?: (SingleCondition | CompositeCondition)[];
2212
+ conditions?: (CompositeCondition | SingleCondition)[];
1622
2213
  params?: {
1623
2214
  [k: string]: unknown;
1624
2215
  };
@@ -1698,7 +2289,7 @@ export interface Modules {
1698
2289
  | 'TIME_TRACKING'
1699
2290
  | 'other'
1700
2291
  | 'OTHER';
1701
- conditions?: (SingleCondition | CompositeCondition)[];
2292
+ conditions?: (CompositeCondition | SingleCondition)[];
1702
2293
  key: ModuleKeySchema;
1703
2294
  [k: string]: unknown;
1704
2295
  },
@@ -1720,7 +2311,7 @@ export interface Modules {
1720
2311
  | 'TIME_TRACKING'
1721
2312
  | 'other'
1722
2313
  | 'OTHER';
1723
- conditions?: (SingleCondition | CompositeCondition)[];
2314
+ conditions?: (CompositeCondition | SingleCondition)[];
1724
2315
  key: ModuleKeySchema;
1725
2316
  [k: string]: unknown;
1726
2317
  }[]
@@ -1828,7 +2419,7 @@ export interface Modules {
1828
2419
  name?: I18NProperty20;
1829
2420
  weight?: number;
1830
2421
  iconUrl?: string;
1831
- conditions?: (CompositeCondition | SingleCondition)[];
2422
+ conditions?: (SingleCondition | CompositeCondition)[];
1832
2423
  url?: string;
1833
2424
  key: ModuleKeySchema;
1834
2425
  [k: string]: unknown;
@@ -1837,7 +2428,7 @@ export interface Modules {
1837
2428
  name?: I18NProperty20;
1838
2429
  weight?: number;
1839
2430
  iconUrl?: string;
1840
- conditions?: (CompositeCondition | SingleCondition)[];
2431
+ conditions?: (SingleCondition | CompositeCondition)[];
1841
2432
  url?: string;
1842
2433
  key: ModuleKeySchema;
1843
2434
  [k: string]: unknown;
@@ -1873,7 +2464,7 @@ export interface Modules {
1873
2464
  {
1874
2465
  name?: I18NProperty23;
1875
2466
  description?: I18NProperty24;
1876
- conditions?: (SingleCondition | CompositeCondition)[];
2467
+ conditions?: (CompositeCondition | SingleCondition)[];
1877
2468
  url?: string;
1878
2469
  configurable?: boolean;
1879
2470
  thumbnailUrl?: string;
@@ -1883,7 +2474,7 @@ export interface Modules {
1883
2474
  ...{
1884
2475
  name?: I18NProperty23;
1885
2476
  description?: I18NProperty24;
1886
- conditions?: (SingleCondition | CompositeCondition)[];
2477
+ conditions?: (CompositeCondition | SingleCondition)[];
1887
2478
  url?: string;
1888
2479
  configurable?: boolean;
1889
2480
  thumbnailUrl?: string;
@@ -1985,7 +2576,7 @@ export interface Modules {
1985
2576
  {
1986
2577
  name?: I18NProperty33;
1987
2578
  weight?: number;
1988
- conditions?: (SingleCondition2 | CompositeCondition2)[];
2579
+ conditions?: (CompositeCondition2 | SingleCondition2)[];
1989
2580
  params?: {
1990
2581
  [k: string]: unknown;
1991
2582
  };
@@ -1996,7 +2587,7 @@ export interface Modules {
1996
2587
  ...{
1997
2588
  name?: I18NProperty33;
1998
2589
  weight?: number;
1999
- conditions?: (SingleCondition2 | CompositeCondition2)[];
2590
+ conditions?: (CompositeCondition2 | SingleCondition2)[];
2000
2591
  params?: {
2001
2592
  [k: string]: unknown;
2002
2593
  };
@@ -2077,7 +2668,7 @@ export interface Modules {
2077
2668
  {
2078
2669
  name?: I18NProperty38;
2079
2670
  weight?: number;
2080
- conditions?: (SingleCondition3 | CompositeCondition4)[];
2671
+ conditions?: (CompositeCondition4 | SingleCondition3)[];
2081
2672
  params?: {
2082
2673
  [k: string]: unknown;
2083
2674
  };
@@ -2088,7 +2679,7 @@ export interface Modules {
2088
2679
  ...{
2089
2680
  name?: I18NProperty38;
2090
2681
  weight?: number;
2091
- conditions?: (SingleCondition3 | CompositeCondition4)[];
2682
+ conditions?: (CompositeCondition4 | SingleCondition3)[];
2092
2683
  params?: {
2093
2684
  [k: string]: unknown;
2094
2685
  };
@@ -2182,7 +2773,7 @@ export interface Modules {
2182
2773
  name?: I18NProperty44;
2183
2774
  weight?: number;
2184
2775
  location?: string;
2185
- conditions?: (SingleCondition | CompositeCondition)[];
2776
+ conditions?: (CompositeCondition | SingleCondition)[];
2186
2777
  params?: {
2187
2778
  [k: string]: unknown;
2188
2779
  };
@@ -2194,7 +2785,7 @@ export interface Modules {
2194
2785
  name?: I18NProperty44;
2195
2786
  weight?: number;
2196
2787
  location?: string;
2197
- conditions?: (SingleCondition | CompositeCondition)[];
2788
+ conditions?: (CompositeCondition | SingleCondition)[];
2198
2789
  params?: {
2199
2790
  [k: string]: unknown;
2200
2791
  };
@@ -2209,7 +2800,7 @@ export interface Modules {
2209
2800
  expression?: string;
2210
2801
  edit?: URL8;
2211
2802
  evaluationContext?: 'user' | 'USER' | 'app' | 'APP';
2212
- errorMessage?: I18NProperty45 | JiraExpressionErrorMessage;
2803
+ errorMessage?: JiraExpressionErrorMessage | I18NProperty45;
2213
2804
  name?: I18NProperty46;
2214
2805
  description?: I18NProperty47;
2215
2806
  create?: URL9;
@@ -2221,7 +2812,7 @@ export interface Modules {
2221
2812
  expression?: string;
2222
2813
  edit?: URL8;
2223
2814
  evaluationContext?: 'user' | 'USER' | 'app' | 'APP';
2224
- errorMessage?: I18NProperty45 | JiraExpressionErrorMessage;
2815
+ errorMessage?: JiraExpressionErrorMessage | I18NProperty45;
2225
2816
  name?: I18NProperty46;
2226
2817
  description?: I18NProperty47;
2227
2818
  create?: URL9;
@@ -2261,6 +2852,7 @@ export interface Modules {
2261
2852
  {
2262
2853
  installed?: string;
2263
2854
  disabled?: string;
2855
+ 'dare-migration'?: string;
2264
2856
  uninstalled?: string;
2265
2857
  enabled?: string;
2266
2858
  key: ModuleKeySchema;
@@ -2269,6 +2861,7 @@ export interface Modules {
2269
2861
  ...{
2270
2862
  installed?: string;
2271
2863
  disabled?: string;
2864
+ 'dare-migration'?: string;
2272
2865
  uninstalled?: string;
2273
2866
  enabled?: string;
2274
2867
  key: ModuleKeySchema;
@@ -2317,7 +2910,7 @@ export interface Modules {
2317
2910
  fullPage?: boolean;
2318
2911
  cacheable?: boolean;
2319
2912
  location?: string;
2320
- conditions?: (SingleCondition | CompositeCondition)[];
2913
+ conditions?: (CompositeCondition | SingleCondition)[];
2321
2914
  params?: {
2322
2915
  [k: string]: unknown;
2323
2916
  };
@@ -2332,7 +2925,7 @@ export interface Modules {
2332
2925
  fullPage?: boolean;
2333
2926
  cacheable?: boolean;
2334
2927
  location?: string;
2335
- conditions?: (SingleCondition | CompositeCondition)[];
2928
+ conditions?: (CompositeCondition | SingleCondition)[];
2336
2929
  params?: {
2337
2930
  [k: string]: unknown;
2338
2931
  };
@@ -2350,7 +2943,7 @@ export interface Modules {
2350
2943
  location?: string;
2351
2944
  cacheable?: boolean;
2352
2945
  supportsNative?: boolean;
2353
- conditions?: (SingleCondition | CompositeCondition)[];
2946
+ conditions?: (CompositeCondition | SingleCondition)[];
2354
2947
  params?: {
2355
2948
  [k: string]: unknown;
2356
2949
  };
@@ -2366,7 +2959,7 @@ export interface Modules {
2366
2959
  location?: string;
2367
2960
  cacheable?: boolean;
2368
2961
  supportsNative?: boolean;
2369
- conditions?: (SingleCondition | CompositeCondition)[];
2962
+ conditions?: (CompositeCondition | SingleCondition)[];
2370
2963
  params?: {
2371
2964
  [k: string]: unknown;
2372
2965
  };
@@ -2380,7 +2973,7 @@ export interface Modules {
2380
2973
  filter?: string;
2381
2974
  excludeBody?: boolean;
2382
2975
  event?: string;
2383
- conditions?: (CompositeCondition | SingleCondition)[];
2976
+ conditions?: (SingleCondition | CompositeCondition)[];
2384
2977
  propertyKeys?: string[];
2385
2978
  url?: string;
2386
2979
  key: ModuleKeySchema;
@@ -2390,7 +2983,7 @@ export interface Modules {
2390
2983
  filter?: string;
2391
2984
  excludeBody?: boolean;
2392
2985
  event?: string;
2393
- conditions?: (CompositeCondition | SingleCondition)[];
2986
+ conditions?: (SingleCondition | CompositeCondition)[];
2394
2987
  propertyKeys?: string[];
2395
2988
  url?: string;
2396
2989
  key: ModuleKeySchema;
@@ -2498,7 +3091,7 @@ export interface Modules {
2498
3091
  name?: I18NProperty59;
2499
3092
  location?: string;
2500
3093
  cacheable?: boolean;
2501
- conditions?: (SingleCondition4 | CompositeCondition6)[];
3094
+ conditions?: (CompositeCondition6 | SingleCondition4)[];
2502
3095
  key: ModuleKeySchema;
2503
3096
  [k: string]: unknown;
2504
3097
  },
@@ -2516,7 +3109,7 @@ export interface Modules {
2516
3109
  name?: I18NProperty59;
2517
3110
  location?: string;
2518
3111
  cacheable?: boolean;
2519
- conditions?: (SingleCondition4 | CompositeCondition6)[];
3112
+ conditions?: (CompositeCondition6 | SingleCondition4)[];
2520
3113
  key: ModuleKeySchema;
2521
3114
  [k: string]: unknown;
2522
3115
  }[]
@@ -2529,7 +3122,7 @@ export interface Modules {
2529
3122
  fullPage?: boolean;
2530
3123
  cacheable?: boolean;
2531
3124
  location?: string;
2532
- conditions?: (SingleCondition | CompositeCondition)[];
3125
+ conditions?: (CompositeCondition | SingleCondition)[];
2533
3126
  params?: {
2534
3127
  [k: string]: unknown;
2535
3128
  };
@@ -2544,7 +3137,7 @@ export interface Modules {
2544
3137
  fullPage?: boolean;
2545
3138
  cacheable?: boolean;
2546
3139
  location?: string;
2547
- conditions?: (SingleCondition | CompositeCondition)[];
3140
+ conditions?: (CompositeCondition | SingleCondition)[];
2548
3141
  params?: {
2549
3142
  [k: string]: unknown;
2550
3143
  };
@@ -2857,6 +3450,7 @@ export interface Modules {
2857
3450
  {
2858
3451
  installed?: string;
2859
3452
  disabled?: string;
3453
+ 'dare-migration'?: string;
2860
3454
  uninstalled?: string;
2861
3455
  enabled?: string;
2862
3456
  key: ModuleKeySchema;
@@ -2865,6 +3459,7 @@ export interface Modules {
2865
3459
  ...{
2866
3460
  installed?: string;
2867
3461
  disabled?: string;
3462
+ 'dare-migration'?: string;
2868
3463
  uninstalled?: string;
2869
3464
  enabled?: string;
2870
3465
  key: ModuleKeySchema;
@@ -2998,37 +3593,6 @@ export interface I18NProperty1 {
2998
3593
  i18n?: string;
2999
3594
  [k: string]: unknown;
3000
3595
  }
3001
- /**
3002
- *
3003
- *
3004
- * Single Conditions are either provided by the host application. See the complete documentation of
3005
- * [Conditions](../../conditions/) for more information.
3006
- *
3007
- * To invert a condition, add the attribute ``invert="true"`` to the condition element.
3008
- * This is useful where you want to show the section if a certain condition is not satisfied.
3009
- *
3010
- * <h3>Example</h3>
3011
- *
3012
- *
3013
- *
3014
- *
3015
- *
3016
- * {
3017
- * "condition": "user_is_logged_in",
3018
- * "invert": false
3019
- * }
3020
- *
3021
- *
3022
- *
3023
- */
3024
- export interface SingleCondition {
3025
- condition: string;
3026
- invert?: boolean;
3027
- params?: {
3028
- [k: string]: unknown;
3029
- };
3030
- [k: string]: unknown;
3031
- }
3032
3596
  /**
3033
3597
  *
3034
3598
  *
@@ -3070,6 +3634,37 @@ export interface CompositeCondition {
3070
3634
  type?: 'and' | 'AND' | 'or' | 'OR';
3071
3635
  [k: string]: unknown;
3072
3636
  }
3637
+ /**
3638
+ *
3639
+ *
3640
+ * Single Conditions are either provided by the host application. See the complete documentation of
3641
+ * [Conditions](../../conditions/) for more information.
3642
+ *
3643
+ * To invert a condition, add the attribute ``invert="true"`` to the condition element.
3644
+ * This is useful where you want to show the section if a certain condition is not satisfied.
3645
+ *
3646
+ * <h3>Example</h3>
3647
+ *
3648
+ *
3649
+ *
3650
+ *
3651
+ *
3652
+ * {
3653
+ * "condition": "user_is_logged_in",
3654
+ * "invert": false
3655
+ * }
3656
+ *
3657
+ *
3658
+ *
3659
+ */
3660
+ export interface SingleCondition {
3661
+ condition: string;
3662
+ invert?: boolean;
3663
+ params?: {
3664
+ [k: string]: unknown;
3665
+ };
3666
+ [k: string]: unknown;
3667
+ }
3073
3668
  /**
3074
3669
  *
3075
3670
  *
@@ -3313,208 +3908,110 @@ export interface I18NProperty7 {
3313
3908
  *
3314
3909
  *
3315
3910
  */
3316
- export interface I18NProperty8 {
3317
- value: string;
3318
- i18n?: string;
3319
- [k: string]: unknown;
3320
- }
3321
- /**
3322
- *
3323
- *
3324
- * Defines an icon to display.
3325
- *
3326
- * <h3>Example</h3>
3327
- *
3328
- *
3329
- *
3330
- *
3331
- *
3332
- * {
3333
- * "icon": {
3334
- * "width": 16,
3335
- * "height": 16,
3336
- * "url": "/my-icon.png"
3337
- * }
3338
- * }
3339
- *
3340
- *
3341
- *
3342
- */
3343
- export interface Icon3 {
3344
- width?: number;
3345
- url: string;
3346
- height?: number;
3347
- [k: string]: unknown;
3348
- }
3349
- /**
3350
- *
3351
- *
3352
- * Defines the way a <a href="../web-item/">web item</a> link is opened in the browser, such as in a modal or inline dialog.
3353
- *
3354
- * <h2>Inline Dialog Example</h2>
3355
- *
3356
- *
3357
- *
3358
- *
3359
- *
3360
- * {
3361
- * "target": {
3362
- * "type": "inlinedialog",
3363
- * "options": {
3364
- * "onHover": true,
3365
- * "offsetX": "30px",
3366
- * "offsetY": "20px"
3367
- * }
3368
- * }
3369
- * }
3370
- *
3371
- *
3372
- *
3373
- *
3374
- * <h2>Dialog Example</h2>
3375
- *
3376
- *
3377
- *
3378
- *
3379
- *
3380
- * {
3381
- * "target": {
3382
- * "type": "dialog",
3383
- * "options": {
3384
- * "height": "100px",
3385
- * "width": "200px"
3386
- * }
3387
- * }
3388
- * }
3389
- *
3390
- *
3391
- *
3392
- *
3393
- * <h2>Common Dialog Module Example</h2>
3394
- *
3395
- *
3396
- *
3397
- *
3398
- *
3399
- * {
3400
- * "target": {
3401
- * "type": "dialogmodule",
3402
- * "options": {
3403
- * "key": "dialog-module-key"
3404
- * }
3405
- * }
3406
- * }
3407
- *
3408
- *
3409
- *
3410
- *
3411
- * <p>More details for this use-case can be found on the <a href="../dialog/">Dialog Module</a> page.</p>
3412
- *
3413
- *
3414
- */
3415
- export interface WebItemTarget {
3416
- options?: DialogOptions | InlineDialogOptions | DialogModuleOptions;
3417
- type?: 'page' | 'PAGE' | 'dialog' | 'DIALOG' | 'inlinedialog' | 'INLINEDIALOG' | 'dialogmodule' | 'DIALOGMODULE';
3418
- [k: string]: unknown;
3419
- }
3420
- /**
3421
- *
3422
- *
3423
- * Options for a modal dialog <a href="../web-item-target/">web item target</a> or <a href="../dialog/">common module</a>.
3424
- *
3425
- * <p>
3426
- * These options are a subset of those available via the <a href="../../jsapi/dialog/">JavaScript API</a>.
3427
- * </p>
3428
- *
3429
- * <h2>Web Item Example</h2>
3430
- *
3431
- *
3432
- *
3433
- *
3434
- *
3435
- * {
3436
- * "target": {
3437
- * "type": "dialog",
3438
- * "options": {
3439
- * "height": "100px",
3440
- * "width": "200px"
3441
- * }
3442
- * }
3443
- * }
3444
- *
3445
- *
3446
- *
3447
- *
3448
- * <h2>Dialog Example</h2>
3449
- *
3450
- *
3451
- *
3452
- *
3453
- *
3454
- * {
3455
- * "modules": {
3456
- * "dialogs": [
3457
- * {
3458
- * "url": "/my-dialog-content",
3459
- * "options": {
3460
- * "size": "fullscreen",
3461
- * "header": {
3462
- * "value": "Example Dialog"
3463
- * }
3464
- * },
3465
- * "key": "dialog-module-key"
3466
- * }
3467
- * ]
3468
- * }
3469
- * }
3470
- *
3471
- *
3472
- *
3473
- */
3474
- export interface DialogOptions {
3475
- size?:
3476
- | 'small'
3477
- | 'SMALL'
3478
- | 'medium'
3479
- | 'MEDIUM'
3480
- | 'large'
3481
- | 'LARGE'
3482
- | 'x-large'
3483
- | 'X-LARGE'
3484
- | 'fullscreen'
3485
- | 'FULLSCREEN'
3486
- | 'maximum'
3487
- | 'MAXIMUM';
3488
- chrome?: boolean;
3489
- width?: string;
3490
- header?: I18NProperty9;
3491
- height?: string;
3492
- [k: string]: unknown;
3493
- }
3494
- /**
3495
- *
3496
- *
3497
- * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
3498
- * and value in multiple places if you like, but identical keys must have identical values.
3499
- *
3500
- * <h3>Example</h3>
3501
- *
3502
- *
3503
- *
3504
- *
3505
- *
3506
- * {
3507
- * "value": "My text"
3508
- * }
3509
- *
3510
- *
3511
- *
3512
- */
3513
- export interface I18NProperty9 {
3911
+ export interface I18NProperty8 {
3514
3912
  value: string;
3515
3913
  i18n?: string;
3516
3914
  [k: string]: unknown;
3517
3915
  }
3916
+ /**
3917
+ *
3918
+ *
3919
+ * Defines an icon to display.
3920
+ *
3921
+ * <h3>Example</h3>
3922
+ *
3923
+ *
3924
+ *
3925
+ *
3926
+ *
3927
+ * {
3928
+ * "icon": {
3929
+ * "width": 16,
3930
+ * "height": 16,
3931
+ * "url": "/my-icon.png"
3932
+ * }
3933
+ * }
3934
+ *
3935
+ *
3936
+ *
3937
+ */
3938
+ export interface Icon3 {
3939
+ width?: number;
3940
+ url: string;
3941
+ height?: number;
3942
+ [k: string]: unknown;
3943
+ }
3944
+ /**
3945
+ *
3946
+ *
3947
+ * Defines the way a <a href="../web-item/">web item</a> link is opened in the browser, such as in a modal or inline dialog.
3948
+ *
3949
+ * <h2>Inline Dialog Example</h2>
3950
+ *
3951
+ *
3952
+ *
3953
+ *
3954
+ *
3955
+ * {
3956
+ * "target": {
3957
+ * "type": "inlinedialog",
3958
+ * "options": {
3959
+ * "onHover": true,
3960
+ * "offsetX": "30px",
3961
+ * "offsetY": "20px"
3962
+ * }
3963
+ * }
3964
+ * }
3965
+ *
3966
+ *
3967
+ *
3968
+ *
3969
+ * <h2>Dialog Example</h2>
3970
+ *
3971
+ *
3972
+ *
3973
+ *
3974
+ *
3975
+ * {
3976
+ * "target": {
3977
+ * "type": "dialog",
3978
+ * "options": {
3979
+ * "height": "100px",
3980
+ * "width": "200px"
3981
+ * }
3982
+ * }
3983
+ * }
3984
+ *
3985
+ *
3986
+ *
3987
+ *
3988
+ * <h2>Common Dialog Module Example</h2>
3989
+ *
3990
+ *
3991
+ *
3992
+ *
3993
+ *
3994
+ * {
3995
+ * "target": {
3996
+ * "type": "dialogmodule",
3997
+ * "options": {
3998
+ * "key": "dialog-module-key"
3999
+ * }
4000
+ * }
4001
+ * }
4002
+ *
4003
+ *
4004
+ *
4005
+ *
4006
+ * <p>More details for this use-case can be found on the <a href="../dialog/">Dialog Module</a> page.</p>
4007
+ *
4008
+ *
4009
+ */
4010
+ export interface WebItemTarget {
4011
+ options?: InlineDialogOptions | DialogOptions | DialogModuleOptions;
4012
+ type?: 'page' | 'PAGE' | 'dialog' | 'DIALOG' | 'inlinedialog' | 'INLINEDIALOG' | 'dialogmodule' | 'DIALOGMODULE';
4013
+ [k: string]: unknown;
4014
+ }
3518
4015
  /**
3519
4016
  *
3520
4017
  *
@@ -3552,6 +4049,104 @@ export interface InlineDialogOptions {
3552
4049
  isRelativeToMouse?: boolean;
3553
4050
  [k: string]: unknown;
3554
4051
  }
4052
+ /**
4053
+ *
4054
+ *
4055
+ * Options for a modal dialog <a href="../web-item-target/">web item target</a> or <a href="../dialog/">common module</a>.
4056
+ *
4057
+ * <p>
4058
+ * These options are a subset of those available via the <a href="../../jsapi/dialog/">JavaScript API</a>.
4059
+ * </p>
4060
+ *
4061
+ * <h2>Web Item Example</h2>
4062
+ *
4063
+ *
4064
+ *
4065
+ *
4066
+ *
4067
+ * {
4068
+ * "target": {
4069
+ * "type": "dialog",
4070
+ * "options": {
4071
+ * "height": "100px",
4072
+ * "width": "200px"
4073
+ * }
4074
+ * }
4075
+ * }
4076
+ *
4077
+ *
4078
+ *
4079
+ *
4080
+ * <h2>Dialog Example</h2>
4081
+ *
4082
+ *
4083
+ *
4084
+ *
4085
+ *
4086
+ * {
4087
+ * "modules": {
4088
+ * "dialogs": [
4089
+ * {
4090
+ * "url": "/my-dialog-content",
4091
+ * "options": {
4092
+ * "size": "fullscreen",
4093
+ * "header": {
4094
+ * "value": "Example Dialog"
4095
+ * }
4096
+ * },
4097
+ * "key": "dialog-module-key"
4098
+ * }
4099
+ * ]
4100
+ * }
4101
+ * }
4102
+ *
4103
+ *
4104
+ *
4105
+ */
4106
+ export interface DialogOptions {
4107
+ size?:
4108
+ | 'small'
4109
+ | 'SMALL'
4110
+ | 'medium'
4111
+ | 'MEDIUM'
4112
+ | 'large'
4113
+ | 'LARGE'
4114
+ | 'x-large'
4115
+ | 'X-LARGE'
4116
+ | 'fullscreen'
4117
+ | 'FULLSCREEN'
4118
+ | 'maximum'
4119
+ | 'MAXIMUM';
4120
+ chrome?: boolean;
4121
+ width?: string;
4122
+ header?: I18NProperty9;
4123
+ height?: string;
4124
+ [k: string]: unknown;
4125
+ }
4126
+ /**
4127
+ *
4128
+ *
4129
+ * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
4130
+ * and value in multiple places if you like, but identical keys must have identical values.
4131
+ *
4132
+ * <h3>Example</h3>
4133
+ *
4134
+ *
4135
+ *
4136
+ *
4137
+ *
4138
+ * {
4139
+ * "value": "My text"
4140
+ * }
4141
+ *
4142
+ *
4143
+ *
4144
+ */
4145
+ export interface I18NProperty9 {
4146
+ value: string;
4147
+ i18n?: string;
4148
+ [k: string]: unknown;
4149
+ }
3555
4150
  /**
3556
4151
  *
3557
4152
  *
@@ -4502,77 +5097,7 @@ export interface IssuePageTargetWebPanel {
4502
5097
  *
4503
5098
  *
4504
5099
  */
4505
- export interface I18NProperty31 {
4506
- value: string;
4507
- i18n?: string;
4508
- [k: string]: unknown;
4509
- }
4510
- /**
4511
- *
4512
- *
4513
- * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
4514
- * and value in multiple places if you like, but identical keys must have identical values.
4515
- *
4516
- * <h3>Example</h3>
4517
- *
4518
- *
4519
- *
4520
- *
4521
- *
4522
- * {
4523
- * "value": "My text"
4524
- * }
4525
- *
4526
- *
4527
- *
4528
- */
4529
- export interface I18NProperty32 {
4530
- value: string;
4531
- i18n?: string;
4532
- [k: string]: unknown;
4533
- }
4534
- /**
4535
- *
4536
- *
4537
- * <p>Development actions that can be performed by Jira users.</p>
4538
- * <p>Each action is optional (unless indicated otherwise). The absence of an action indicates that the action is not supported by the provider.</p>
4539
- *
4540
- *
4541
- */
4542
- export interface DevelopmentActions {
4543
- /**
4544
- *
4545
- *
4546
- * <p>Defines the URL template that is used when an action is invoked. The following context parameters are supported: <code>{issue.key}</code>, <code>{issue.summary}</code>.</p>
4547
- *
4548
- *
4549
- */
4550
- createBranch?: {
4551
- templateUrl: string;
4552
- [k: string]: unknown;
4553
- };
4554
- [k: string]: unknown;
4555
- }
4556
- /**
4557
- *
4558
- *
4559
- * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
4560
- * and value in multiple places if you like, but identical keys must have identical values.
4561
- *
4562
- * <h3>Example</h3>
4563
- *
4564
- *
4565
- *
4566
- *
4567
- *
4568
- * {
4569
- * "value": "My text"
4570
- * }
4571
- *
4572
- *
4573
- *
4574
- */
4575
- export interface I18NProperty33 {
5100
+ export interface I18NProperty31 {
4576
5101
  value: string;
4577
5102
  i18n?: string;
4578
5103
  [k: string]: unknown;
@@ -4580,11 +5105,8 @@ export interface I18NProperty33 {
4580
5105
  /**
4581
5106
  *
4582
5107
  *
4583
- * Single Conditions are either provided by the host application. See the complete documentation of
4584
- * [Conditions](../../conditions/) for more information.
4585
- *
4586
- * To invert a condition, add the attribute ``invert="true"`` to the condition element.
4587
- * This is useful where you want to show the section if a certain condition is not satisfied.
5108
+ * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
5109
+ * and value in multiple places if you like, but identical keys must have identical values.
4588
5110
  *
4589
5111
  * <h3>Example</h3>
4590
5112
  *
@@ -4593,21 +5115,63 @@ export interface I18NProperty33 {
4593
5115
  *
4594
5116
  *
4595
5117
  * {
4596
- * "condition": "user_is_logged_in",
4597
- * "invert": false
5118
+ * "value": "My text"
4598
5119
  * }
4599
5120
  *
4600
5121
  *
4601
5122
  *
4602
5123
  */
4603
- export interface SingleCondition2 {
4604
- condition: string;
4605
- invert?: boolean;
4606
- params?: {
5124
+ export interface I18NProperty32 {
5125
+ value: string;
5126
+ i18n?: string;
5127
+ [k: string]: unknown;
5128
+ }
5129
+ /**
5130
+ *
5131
+ *
5132
+ * <p>Development actions that can be performed by Jira users.</p>
5133
+ * <p>Each action is optional (unless indicated otherwise). The absence of an action indicates that the action is not supported by the provider.</p>
5134
+ *
5135
+ *
5136
+ */
5137
+ export interface DevelopmentActions {
5138
+ /**
5139
+ *
5140
+ *
5141
+ * <p>Defines the URL template that is used when an action is invoked. The following context parameters are supported: <code>{issue.key}</code>, <code>{issue.summary}</code>.</p>
5142
+ *
5143
+ *
5144
+ */
5145
+ createBranch?: {
5146
+ templateUrl: string;
4607
5147
  [k: string]: unknown;
4608
5148
  };
4609
5149
  [k: string]: unknown;
4610
5150
  }
5151
+ /**
5152
+ *
5153
+ *
5154
+ * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
5155
+ * and value in multiple places if you like, but identical keys must have identical values.
5156
+ *
5157
+ * <h3>Example</h3>
5158
+ *
5159
+ *
5160
+ *
5161
+ *
5162
+ *
5163
+ * {
5164
+ * "value": "My text"
5165
+ * }
5166
+ *
5167
+ *
5168
+ *
5169
+ */
5170
+ export interface I18NProperty33 {
5171
+ value: string;
5172
+ i18n?: string;
5173
+ [k: string]: unknown;
5174
+ }
4611
5175
  /**
4612
5176
  *
4613
5177
  *
@@ -4690,6 +5254,37 @@ export interface CompositeCondition3 {
4690
5254
  type?: 'and' | 'AND' | 'or' | 'OR';
4691
5255
  [k: string]: unknown;
4692
5256
  }
5257
+ /**
5258
+ *
5259
+ *
5260
+ * Single Conditions are either provided by the host application. See the complete documentation of
5261
+ * [Conditions](../../conditions/) for more information.
5262
+ *
5263
+ * To invert a condition, add the attribute ``invert="true"`` to the condition element.
5264
+ * This is useful where you want to show the section if a certain condition is not satisfied.
5265
+ *
5266
+ * <h3>Example</h3>
5267
+ *
5268
+ *
5269
+ *
5270
+ *
5271
+ *
5272
+ * {
5273
+ * "condition": "user_is_logged_in",
5274
+ * "invert": false
5275
+ * }
5276
+ *
5277
+ *
5278
+ *
5279
+ */
5280
+ export interface SingleCondition2 {
5281
+ condition: string;
5282
+ invert?: boolean;
5283
+ params?: {
5284
+ [k: string]: unknown;
5285
+ };
5286
+ [k: string]: unknown;
5287
+ }
4693
5288
  /**
4694
5289
  *
4695
5290
  *
@@ -4882,37 +5477,6 @@ export interface I18NProperty38 {
4882
5477
  i18n?: string;
4883
5478
  [k: string]: unknown;
4884
5479
  }
4885
- /**
4886
- *
4887
- *
4888
- * Single Conditions are either provided by the host application. See the complete documentation of
4889
- * [Conditions](../../conditions/) for more information.
4890
- *
4891
- * To invert a condition, add the attribute ``invert="true"`` to the condition element.
4892
- * This is useful where you want to show the section if a certain condition is not satisfied.
4893
- *
4894
- * <h3>Example</h3>
4895
- *
4896
- *
4897
- *
4898
- *
4899
- *
4900
- * {
4901
- * "condition": "user_is_logged_in",
4902
- * "invert": false
4903
- * }
4904
- *
4905
- *
4906
- *
4907
- */
4908
- export interface SingleCondition3 {
4909
- condition: string;
4910
- invert?: boolean;
4911
- params?: {
4912
- [k: string]: unknown;
4913
- };
4914
- [k: string]: unknown;
4915
- }
4916
5480
  /**
4917
5481
  *
4918
5482
  *
@@ -4995,6 +5559,37 @@ export interface CompositeCondition5 {
4995
5559
  type?: 'and' | 'AND' | 'or' | 'OR';
4996
5560
  [k: string]: unknown;
4997
5561
  }
5562
+ /**
5563
+ *
5564
+ *
5565
+ * Single Conditions are either provided by the host application. See the complete documentation of
5566
+ * [Conditions](../../conditions/) for more information.
5567
+ *
5568
+ * To invert a condition, add the attribute ``invert="true"`` to the condition element.
5569
+ * This is useful where you want to show the section if a certain condition is not satisfied.
5570
+ *
5571
+ * <h3>Example</h3>
5572
+ *
5573
+ *
5574
+ *
5575
+ *
5576
+ *
5577
+ * {
5578
+ * "condition": "user_is_logged_in",
5579
+ * "invert": false
5580
+ * }
5581
+ *
5582
+ *
5583
+ *
5584
+ */
5585
+ export interface SingleCondition3 {
5586
+ condition: string;
5587
+ invert?: boolean;
5588
+ params?: {
5589
+ [k: string]: unknown;
5590
+ };
5591
+ [k: string]: unknown;
5592
+ }
4998
5593
  /**
4999
5594
  *
5000
5595
  *
@@ -5184,6 +5779,18 @@ export interface URL8 {
5184
5779
  url: string;
5185
5780
  [k: string]: unknown;
5186
5781
  }
5782
+ /**
5783
+ *
5784
+ *
5785
+ * A Jira expression that will be evaluated if the workflow validator fails.
5786
+ * The string returned by the Jira expression will be displayed as the error message for the failed transition.
5787
+ *
5788
+ *
5789
+ */
5790
+ export interface JiraExpressionErrorMessage {
5791
+ expression: string;
5792
+ [k: string]: unknown;
5793
+ }
5187
5794
  /**
5188
5795
  *
5189
5796
  *
@@ -5208,18 +5815,6 @@ export interface I18NProperty45 {
5208
5815
  i18n?: string;
5209
5816
  [k: string]: unknown;
5210
5817
  }
5211
- /**
5212
- *
5213
- *
5214
- * A Jira expression that will be evaluated if the workflow validator fails.
5215
- * The string returned by the Jira expression will be displayed as the error message for the failed transition.
5216
- *
5217
- *
5218
- */
5219
- export interface JiraExpressionErrorMessage {
5220
- expression: string;
5221
- [k: string]: unknown;
5222
- }
5223
5818
  /**
5224
5819
  *
5225
5820
  *
@@ -5743,74 +6338,10 @@ export interface Icon10 {
5743
6338
  *
5744
6339
  */
5745
6340
  export interface WebItemTarget1 {
5746
- options?: InlineDialogOptions1 | DialogModuleOptions1 | DialogOptions2;
6341
+ options?: DialogOptions2 | InlineDialogOptions1 | DialogModuleOptions1;
5747
6342
  type?: 'page' | 'PAGE' | 'dialog' | 'DIALOG' | 'inlinedialog' | 'INLINEDIALOG' | 'dialogmodule' | 'DIALOGMODULE';
5748
6343
  [k: string]: unknown;
5749
6344
  }
5750
- /**
5751
- *
5752
- *
5753
- * Options for an inline dialog target
5754
- *
5755
- * <h3>Example</h3>
5756
- *
5757
- *
5758
- *
5759
- *
5760
- *
5761
- * {
5762
- * "target": {
5763
- * "type": "inlinedialog",
5764
- * "options": {
5765
- * "onHover": true,
5766
- * "offsetX": "30px",
5767
- * "offsetY": "20px"
5768
- * }
5769
- * }
5770
- * }
5771
- *
5772
- *
5773
- *
5774
- */
5775
- export interface InlineDialogOptions1 {
5776
- offsetX?: string;
5777
- offsetY?: string;
5778
- width?: string;
5779
- onTop?: boolean;
5780
- showDelay?: number;
5781
- closeOthers?: boolean;
5782
- persistent?: boolean;
5783
- onHover?: boolean;
5784
- isRelativeToMouse?: boolean;
5785
- [k: string]: unknown;
5786
- }
5787
- /**
5788
- *
5789
- *
5790
- * Options for a web-item targeting a common <a href="../dialog/">dialog module</a>.
5791
- *
5792
- * <h3>Example</h3>
5793
- *
5794
- *
5795
- *
5796
- *
5797
- *
5798
- * {
5799
- * "target": {
5800
- * "type": "dialogmodule",
5801
- * "options": {
5802
- * "key": "dialog-module-key"
5803
- * }
5804
- * }
5805
- * }
5806
- *
5807
- *
5808
- *
5809
- */
5810
- export interface DialogModuleOptions1 {
5811
- key: string;
5812
- [k: string]: unknown;
5813
- }
5814
6345
  /**
5815
6346
  *
5816
6347
  *
@@ -5904,31 +6435,7 @@ export interface DialogOptions2 {
5904
6435
  *
5905
6436
  *
5906
6437
  */
5907
- export interface I18NProperty58 {
5908
- value: string;
5909
- i18n?: string;
5910
- [k: string]: unknown;
5911
- }
5912
- /**
5913
- *
5914
- *
5915
- * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
5916
- * and value in multiple places if you like, but identical keys must have identical values.
5917
- *
5918
- * <h3>Example</h3>
5919
- *
5920
- *
5921
- *
5922
- *
5923
- *
5924
- * {
5925
- * "value": "My text"
5926
- * }
5927
- *
5928
- *
5929
- *
5930
- */
5931
- export interface I18NProperty59 {
6438
+ export interface I18NProperty58 {
5932
6439
  value: string;
5933
6440
  i18n?: string;
5934
6441
  [k: string]: unknown;
@@ -5936,11 +6443,44 @@ export interface I18NProperty59 {
5936
6443
  /**
5937
6444
  *
5938
6445
  *
5939
- * Single Conditions are either provided by the host application. See the complete documentation of
5940
- * [Conditions](../../conditions/) for more information.
6446
+ * Options for an inline dialog target
5941
6447
  *
5942
- * To invert a condition, add the attribute ``invert="true"`` to the condition element.
5943
- * This is useful where you want to show the section if a certain condition is not satisfied.
6448
+ * <h3>Example</h3>
6449
+ *
6450
+ *
6451
+ *
6452
+ *
6453
+ *
6454
+ * {
6455
+ * "target": {
6456
+ * "type": "inlinedialog",
6457
+ * "options": {
6458
+ * "onHover": true,
6459
+ * "offsetX": "30px",
6460
+ * "offsetY": "20px"
6461
+ * }
6462
+ * }
6463
+ * }
6464
+ *
6465
+ *
6466
+ *
6467
+ */
6468
+ export interface InlineDialogOptions1 {
6469
+ offsetX?: string;
6470
+ offsetY?: string;
6471
+ width?: string;
6472
+ onTop?: boolean;
6473
+ showDelay?: number;
6474
+ closeOthers?: boolean;
6475
+ persistent?: boolean;
6476
+ onHover?: boolean;
6477
+ isRelativeToMouse?: boolean;
6478
+ [k: string]: unknown;
6479
+ }
6480
+ /**
6481
+ *
6482
+ *
6483
+ * Options for a web-item targeting a common <a href="../dialog/">dialog module</a>.
5944
6484
  *
5945
6485
  * <h3>Example</h3>
5946
6486
  *
@@ -5949,19 +6489,43 @@ export interface I18NProperty59 {
5949
6489
  *
5950
6490
  *
5951
6491
  * {
5952
- * "condition": "user_is_logged_in",
5953
- * "invert": false
6492
+ * "target": {
6493
+ * "type": "dialogmodule",
6494
+ * "options": {
6495
+ * "key": "dialog-module-key"
6496
+ * }
6497
+ * }
5954
6498
  * }
5955
6499
  *
5956
6500
  *
5957
6501
  *
5958
6502
  */
5959
- export interface SingleCondition4 {
5960
- condition: string;
5961
- invert?: boolean;
5962
- params?: {
5963
- [k: string]: unknown;
5964
- };
6503
+ export interface DialogModuleOptions1 {
6504
+ key: string;
6505
+ [k: string]: unknown;
6506
+ }
6507
+ /**
6508
+ *
6509
+ *
6510
+ * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
6511
+ * and value in multiple places if you like, but identical keys must have identical values.
6512
+ *
6513
+ * <h3>Example</h3>
6514
+ *
6515
+ *
6516
+ *
6517
+ *
6518
+ *
6519
+ * {
6520
+ * "value": "My text"
6521
+ * }
6522
+ *
6523
+ *
6524
+ *
6525
+ */
6526
+ export interface I18NProperty59 {
6527
+ value: string;
6528
+ i18n?: string;
5965
6529
  [k: string]: unknown;
5966
6530
  }
5967
6531
  /**
@@ -6005,6 +6569,37 @@ export interface CompositeCondition6 {
6005
6569
  type?: 'and' | 'AND' | 'or' | 'OR';
6006
6570
  [k: string]: unknown;
6007
6571
  }
6572
+ /**
6573
+ *
6574
+ *
6575
+ * Single Conditions are either provided by the host application. See the complete documentation of
6576
+ * [Conditions](../../conditions/) for more information.
6577
+ *
6578
+ * To invert a condition, add the attribute ``invert="true"`` to the condition element.
6579
+ * This is useful where you want to show the section if a certain condition is not satisfied.
6580
+ *
6581
+ * <h3>Example</h3>
6582
+ *
6583
+ *
6584
+ *
6585
+ *
6586
+ *
6587
+ * {
6588
+ * "condition": "user_is_logged_in",
6589
+ * "invert": false
6590
+ * }
6591
+ *
6592
+ *
6593
+ *
6594
+ */
6595
+ export interface SingleCondition4 {
6596
+ condition: string;
6597
+ invert?: boolean;
6598
+ params?: {
6599
+ [k: string]: unknown;
6600
+ };
6601
+ [k: string]: unknown;
6602
+ }
6008
6603
  /**
6009
6604
  *
6010
6605
  *
@@ -7850,7 +8445,7 @@ export interface I18NProperty74 {
7850
8445
  *
7851
8446
  */
7852
8447
  export interface MacroPropertyPanel {
7853
- controls?: (TextControl | ControlGroup | ButtonControl1 | ToggleGroup)[];
8448
+ controls?: (ButtonControl | ToggleGroup | ControlGroup | TextControl)[];
7854
8449
  cacheable?: boolean;
7855
8450
  url: string;
7856
8451
  [k: string]: unknown;
@@ -7858,7 +8453,7 @@ export interface MacroPropertyPanel {
7858
8453
  /**
7859
8454
  *
7860
8455
  *
7861
- * Defines a text field which may appear in control extension points such as the property panel
8456
+ * Defines a button which may appear in control extension points such as the property panel
7862
8457
  *
7863
8458
  * <p><b>Example</b></p>
7864
8459
  *
@@ -7877,109 +8472,85 @@ export interface MacroPropertyPanel {
7877
8472
  *
7878
8473
  *
7879
8474
  */
7880
- export interface TextControl {
7881
- macroParameter: string;
7882
- type: 'text' | 'TEXT';
8475
+ export interface ButtonControl {
8476
+ label: I18NProperty75;
8477
+ type: 'button' | 'BUTTON';
7883
8478
  key: string;
7884
8479
  [k: string]: unknown;
7885
8480
  }
7886
8481
  /**
7887
8482
  *
7888
8483
  *
7889
- * Defines a ControlGroup which may appear in control extension points such as the property panel
7890
- *
7891
- * <p><b>Example</b></p>
7892
- *
7893
- *
7894
- *
7895
- *
7896
- *
7897
- * [
7898
- * {
7899
- * "type": "group",
7900
- * "controls": [
7901
- * {
7902
- * "type": "button",
7903
- * "label": {
7904
- * "value": "My Custom Control 0"
7905
- * },
7906
- * "key": "my-custom-control-0"
7907
- * },
7908
- * {
7909
- * "type": "button",
7910
- * "label": {
7911
- * "value": "My Custom Control 1"
7912
- * },
7913
- * "key": "my-custom-control-1"
7914
- * }
7915
- * ]
7916
- * }
7917
- * ]
7918
- *
7919
- *
7920
- *
7921
- */
7922
- export interface ControlGroup {
7923
- controls: ButtonControl[];
7924
- type: 'group' | 'GROUP';
7925
- [k: string]: unknown;
7926
- }
7927
- /**
7928
- *
7929
- *
7930
- * Defines a button which may appear in control extension points such as the property panel
8484
+ * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
8485
+ * and value in multiple places if you like, but identical keys must have identical values.
7931
8486
  *
7932
- * <p><b>Example</b></p>
8487
+ * <h3>Example</h3>
7933
8488
  *
7934
8489
  *
7935
8490
  *
7936
8491
  *
7937
8492
  *
7938
8493
  * {
7939
- * "type": "button",
7940
- * "label": {
7941
- * "value": "My Custom Control 0"
7942
- * },
7943
- * "key": "my-custom-control-0"
8494
+ * "value": "My text"
7944
8495
  * }
7945
8496
  *
7946
8497
  *
7947
8498
  *
7948
8499
  */
7949
- export interface ButtonControl {
7950
- label: I18NProperty75;
7951
- type: 'button' | 'BUTTON';
7952
- key: string;
8500
+ export interface I18NProperty75 {
8501
+ value: string;
8502
+ i18n?: string;
7953
8503
  [k: string]: unknown;
7954
8504
  }
7955
8505
  /**
7956
8506
  *
7957
8507
  *
7958
- * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
7959
- * and value in multiple places if you like, but identical keys must have identical values.
8508
+ * Defines a ToggleGroup which may appear in control extension points such as the property panel
7960
8509
  *
7961
- * <h3>Example</h3>
8510
+ * <p><b>Example</b></p>
7962
8511
  *
7963
8512
  *
7964
8513
  *
7965
8514
  *
7966
8515
  *
7967
- * {
7968
- * "value": "My text"
7969
- * }
8516
+ * [
8517
+ * {
8518
+ * "type": "togglegroup",
8519
+ * "macroParameter": "toggleGroupMacroParameter",
8520
+ * "controls": [
8521
+ * {
8522
+ * "type": "togglebutton",
8523
+ * "macroParameterValue": "macroParameterValue 0",
8524
+ * "label": {
8525
+ * "value": "My Custom Control 0"
8526
+ * },
8527
+ * "key": "my-custom-toggle-button-0"
8528
+ * },
8529
+ * {
8530
+ * "type": "togglebutton",
8531
+ * "macroParameterValue": "macroParameterValue 1",
8532
+ * "label": {
8533
+ * "value": "My Custom Control 1"
8534
+ * },
8535
+ * "key": "my-custom-toggle-button-1"
8536
+ * }
8537
+ * ]
8538
+ * }
8539
+ * ]
7970
8540
  *
7971
8541
  *
7972
8542
  *
7973
8543
  */
7974
- export interface I18NProperty75 {
7975
- value: string;
7976
- i18n?: string;
8544
+ export interface ToggleGroup {
8545
+ controls: ToggleButtonControl[];
8546
+ macroParameter: string;
8547
+ type: 'togglegroup' | 'TOGGLEGROUP';
7977
8548
  [k: string]: unknown;
7978
8549
  }
7979
8550
  /**
7980
8551
  *
7981
8552
  *
7982
- * Defines a button which may appear in control extension points such as the property panel
8553
+ * Defines a toggle button which appears inside a ToggleGroup
7983
8554
  *
7984
8555
  * <p><b>Example</b></p>
7985
8556
  *
@@ -7988,19 +8559,21 @@ export interface I18NProperty75 {
7988
8559
  *
7989
8560
  *
7990
8561
  * {
7991
- * "type": "button",
8562
+ * "type": "togglebutton",
8563
+ * "macroParameterValue": "macroParameterValue 0",
7992
8564
  * "label": {
7993
8565
  * "value": "My Custom Control 0"
7994
8566
  * },
7995
- * "key": "my-custom-control-0"
8567
+ * "key": "my-custom-toggle-button-0"
7996
8568
  * }
7997
8569
  *
7998
8570
  *
7999
8571
  *
8000
8572
  */
8001
- export interface ButtonControl1 {
8573
+ export interface ToggleButtonControl {
8574
+ macroParameterValue: string;
8002
8575
  label: I18NProperty76;
8003
- type: 'button' | 'BUTTON';
8576
+ type: 'togglebutton' | 'TOGGLEBUTTON';
8004
8577
  key: string;
8005
8578
  [k: string]: unknown;
8006
8579
  }
@@ -8031,7 +8604,7 @@ export interface I18NProperty76 {
8031
8604
  /**
8032
8605
  *
8033
8606
  *
8034
- * Defines a ToggleGroup which may appear in control extension points such as the property panel
8607
+ * Defines a ControlGroup which may appear in control extension points such as the property panel
8035
8608
  *
8036
8609
  * <p><b>Example</b></p>
8037
8610
  *
@@ -8041,24 +8614,21 @@ export interface I18NProperty76 {
8041
8614
  *
8042
8615
  * [
8043
8616
  * {
8044
- * "type": "togglegroup",
8045
- * "macroParameter": "toggleGroupMacroParameter",
8617
+ * "type": "group",
8046
8618
  * "controls": [
8047
8619
  * {
8048
- * "type": "togglebutton",
8049
- * "macroParameterValue": "macroParameterValue 0",
8620
+ * "type": "button",
8050
8621
  * "label": {
8051
8622
  * "value": "My Custom Control 0"
8052
8623
  * },
8053
- * "key": "my-custom-toggle-button-0"
8624
+ * "key": "my-custom-control-0"
8054
8625
  * },
8055
8626
  * {
8056
- * "type": "togglebutton",
8057
- * "macroParameterValue": "macroParameterValue 1",
8627
+ * "type": "button",
8058
8628
  * "label": {
8059
8629
  * "value": "My Custom Control 1"
8060
8630
  * },
8061
- * "key": "my-custom-toggle-button-1"
8631
+ * "key": "my-custom-control-1"
8062
8632
  * }
8063
8633
  * ]
8064
8634
  * }
@@ -8067,16 +8637,15 @@ export interface I18NProperty76 {
8067
8637
  *
8068
8638
  *
8069
8639
  */
8070
- export interface ToggleGroup {
8071
- controls: ToggleButtonControl[];
8072
- macroParameter: string;
8073
- type: 'togglegroup' | 'TOGGLEGROUP';
8640
+ export interface ControlGroup {
8641
+ controls: ButtonControl1[];
8642
+ type: 'group' | 'GROUP';
8074
8643
  [k: string]: unknown;
8075
8644
  }
8076
8645
  /**
8077
8646
  *
8078
8647
  *
8079
- * Defines a toggle button which appears inside a ToggleGroup
8648
+ * Defines a button which may appear in control extension points such as the property panel
8080
8649
  *
8081
8650
  * <p><b>Example</b></p>
8082
8651
  *
@@ -8085,21 +8654,19 @@ export interface ToggleGroup {
8085
8654
  *
8086
8655
  *
8087
8656
  * {
8088
- * "type": "togglebutton",
8089
- * "macroParameterValue": "macroParameterValue 0",
8657
+ * "type": "button",
8090
8658
  * "label": {
8091
8659
  * "value": "My Custom Control 0"
8092
8660
  * },
8093
- * "key": "my-custom-toggle-button-0"
8661
+ * "key": "my-custom-control-0"
8094
8662
  * }
8095
8663
  *
8096
8664
  *
8097
8665
  *
8098
8666
  */
8099
- export interface ToggleButtonControl {
8100
- macroParameterValue: string;
8667
+ export interface ButtonControl1 {
8101
8668
  label: I18NProperty77;
8102
- type: 'togglebutton' | 'TOGGLEBUTTON';
8669
+ type: 'button' | 'BUTTON';
8103
8670
  key: string;
8104
8671
  [k: string]: unknown;
8105
8672
  }
@@ -8127,6 +8694,34 @@ export interface I18NProperty77 {
8127
8694
  i18n?: string;
8128
8695
  [k: string]: unknown;
8129
8696
  }
8697
+ /**
8698
+ *
8699
+ *
8700
+ * Defines a text field which may appear in control extension points such as the property panel
8701
+ *
8702
+ * <p><b>Example</b></p>
8703
+ *
8704
+ *
8705
+ *
8706
+ *
8707
+ *
8708
+ * {
8709
+ * "type": "button",
8710
+ * "label": {
8711
+ * "value": "My Custom Control 0"
8712
+ * },
8713
+ * "key": "my-custom-control-0"
8714
+ * }
8715
+ *
8716
+ *
8717
+ *
8718
+ */
8719
+ export interface TextControl {
8720
+ macroParameter: string;
8721
+ type: 'text' | 'TEXT';
8722
+ key: string;
8723
+ [k: string]: unknown;
8724
+ }
8130
8725
  /**
8131
8726
  *
8132
8727
  *
@@ -29095,7 +29690,7 @@ export interface I18NProperty83 {
29095
29690
  *
29096
29691
  */
29097
29692
  export interface MacroPropertyPanel1 {
29098
- controls?: (ControlGroup1 | ButtonControl3 | TextControl1 | ToggleGroup1)[];
29693
+ controls?: (ToggleGroup1 | TextControl1 | ControlGroup1 | ButtonControl3)[];
29099
29694
  cacheable?: boolean;
29100
29695
  url: string;
29101
29696
  [k: string]: unknown;
@@ -29103,7 +29698,7 @@ export interface MacroPropertyPanel1 {
29103
29698
  /**
29104
29699
  *
29105
29700
  *
29106
- * Defines a ControlGroup which may appear in control extension points such as the property panel
29701
+ * Defines a ToggleGroup which may appear in control extension points such as the property panel
29107
29702
  *
29108
29703
  * <p><b>Example</b></p>
29109
29704
  *
@@ -29113,21 +29708,24 @@ export interface MacroPropertyPanel1 {
29113
29708
  *
29114
29709
  * [
29115
29710
  * {
29116
- * "type": "group",
29711
+ * "type": "togglegroup",
29712
+ * "macroParameter": "toggleGroupMacroParameter",
29117
29713
  * "controls": [
29118
29714
  * {
29119
- * "type": "button",
29715
+ * "type": "togglebutton",
29716
+ * "macroParameterValue": "macroParameterValue 0",
29120
29717
  * "label": {
29121
29718
  * "value": "My Custom Control 0"
29122
29719
  * },
29123
- * "key": "my-custom-control-0"
29720
+ * "key": "my-custom-toggle-button-0"
29124
29721
  * },
29125
29722
  * {
29126
- * "type": "button",
29723
+ * "type": "togglebutton",
29724
+ * "macroParameterValue": "macroParameterValue 1",
29127
29725
  * "label": {
29128
29726
  * "value": "My Custom Control 1"
29129
29727
  * },
29130
- * "key": "my-custom-control-1"
29728
+ * "key": "my-custom-toggle-button-1"
29131
29729
  * }
29132
29730
  * ]
29133
29731
  * }
@@ -29136,15 +29734,16 @@ export interface MacroPropertyPanel1 {
29136
29734
  *
29137
29735
  *
29138
29736
  */
29139
- export interface ControlGroup1 {
29140
- controls: ButtonControl2[];
29141
- type: 'group' | 'GROUP';
29737
+ export interface ToggleGroup1 {
29738
+ controls: ToggleButtonControl1[];
29739
+ macroParameter: string;
29740
+ type: 'togglegroup' | 'TOGGLEGROUP';
29142
29741
  [k: string]: unknown;
29143
29742
  }
29144
29743
  /**
29145
29744
  *
29146
29745
  *
29147
- * Defines a button which may appear in control extension points such as the property panel
29746
+ * Defines a toggle button which appears inside a ToggleGroup
29148
29747
  *
29149
29748
  * <p><b>Example</b></p>
29150
29749
  *
@@ -29153,19 +29752,21 @@ export interface ControlGroup1 {
29153
29752
  *
29154
29753
  *
29155
29754
  * {
29156
- * "type": "button",
29755
+ * "type": "togglebutton",
29756
+ * "macroParameterValue": "macroParameterValue 0",
29157
29757
  * "label": {
29158
29758
  * "value": "My Custom Control 0"
29159
29759
  * },
29160
- * "key": "my-custom-control-0"
29760
+ * "key": "my-custom-toggle-button-0"
29161
29761
  * }
29162
29762
  *
29163
29763
  *
29164
29764
  *
29165
29765
  */
29166
- export interface ButtonControl2 {
29766
+ export interface ToggleButtonControl1 {
29767
+ macroParameterValue: string;
29167
29768
  label: I18NProperty84;
29168
- type: 'button' | 'BUTTON';
29769
+ type: 'togglebutton' | 'TOGGLEBUTTON';
29169
29770
  key: string;
29170
29771
  [k: string]: unknown;
29171
29772
  }
@@ -29196,7 +29797,7 @@ export interface I18NProperty84 {
29196
29797
  /**
29197
29798
  *
29198
29799
  *
29199
- * Defines a button which may appear in control extension points such as the property panel
29800
+ * Defines a text field which may appear in control extension points such as the property panel
29200
29801
  *
29201
29802
  * <p><b>Example</b></p>
29202
29803
  *
@@ -29215,40 +29816,57 @@ export interface I18NProperty84 {
29215
29816
  *
29216
29817
  *
29217
29818
  */
29218
- export interface ButtonControl3 {
29219
- label: I18NProperty85;
29220
- type: 'button' | 'BUTTON';
29819
+ export interface TextControl1 {
29820
+ macroParameter: string;
29821
+ type: 'text' | 'TEXT';
29221
29822
  key: string;
29222
29823
  [k: string]: unknown;
29223
29824
  }
29224
29825
  /**
29225
29826
  *
29226
29827
  *
29227
- * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
29228
- * and value in multiple places if you like, but identical keys must have identical values.
29828
+ * Defines a ControlGroup which may appear in control extension points such as the property panel
29229
29829
  *
29230
- * <h3>Example</h3>
29830
+ * <p><b>Example</b></p>
29231
29831
  *
29232
29832
  *
29233
29833
  *
29234
29834
  *
29235
29835
  *
29236
- * {
29237
- * "value": "My text"
29238
- * }
29836
+ * [
29837
+ * {
29838
+ * "type": "group",
29839
+ * "controls": [
29840
+ * {
29841
+ * "type": "button",
29842
+ * "label": {
29843
+ * "value": "My Custom Control 0"
29844
+ * },
29845
+ * "key": "my-custom-control-0"
29846
+ * },
29847
+ * {
29848
+ * "type": "button",
29849
+ * "label": {
29850
+ * "value": "My Custom Control 1"
29851
+ * },
29852
+ * "key": "my-custom-control-1"
29853
+ * }
29854
+ * ]
29855
+ * }
29856
+ * ]
29239
29857
  *
29240
29858
  *
29241
29859
  *
29242
29860
  */
29243
- export interface I18NProperty85 {
29244
- value: string;
29245
- i18n?: string;
29861
+ export interface ControlGroup1 {
29862
+ controls: ButtonControl2[];
29863
+ type: 'group' | 'GROUP';
29246
29864
  [k: string]: unknown;
29247
29865
  }
29248
29866
  /**
29249
29867
  *
29250
29868
  *
29251
- * Defines a text field which may appear in control extension points such as the property panel
29869
+ * Defines a button which may appear in control extension points such as the property panel
29252
29870
  *
29253
29871
  * <p><b>Example</b></p>
29254
29872
  *
@@ -29267,61 +29885,40 @@ export interface I18NProperty85 {
29267
29885
  *
29268
29886
  *
29269
29887
  */
29270
- export interface TextControl1 {
29271
- macroParameter: string;
29272
- type: 'text' | 'TEXT';
29888
+ export interface ButtonControl2 {
29889
+ label: I18NProperty85;
29890
+ type: 'button' | 'BUTTON';
29273
29891
  key: string;
29274
29892
  [k: string]: unknown;
29275
29893
  }
29276
29894
  /**
29277
29895
  *
29278
29896
  *
29279
- * Defines a ToggleGroup which may appear in control extension points such as the property panel
29897
+ * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
29898
+ * and value in multiple places if you like, but identical keys must have identical values.
29280
29899
  *
29281
- * <p><b>Example</b></p>
29900
+ * <h3>Example</h3>
29282
29901
  *
29283
29902
  *
29284
29903
  *
29285
29904
  *
29286
29905
  *
29287
- * [
29288
- * {
29289
- * "type": "togglegroup",
29290
- * "macroParameter": "toggleGroupMacroParameter",
29291
- * "controls": [
29292
- * {
29293
- * "type": "togglebutton",
29294
- * "macroParameterValue": "macroParameterValue 0",
29295
- * "label": {
29296
- * "value": "My Custom Control 0"
29297
- * },
29298
- * "key": "my-custom-toggle-button-0"
29299
- * },
29300
- * {
29301
- * "type": "togglebutton",
29302
- * "macroParameterValue": "macroParameterValue 1",
29303
- * "label": {
29304
- * "value": "My Custom Control 1"
29305
- * },
29306
- * "key": "my-custom-toggle-button-1"
29307
- * }
29308
- * ]
29309
- * }
29310
- * ]
29906
+ * {
29907
+ * "value": "My text"
29908
+ * }
29311
29909
  *
29312
29910
  *
29313
29911
  *
29314
29912
  */
29315
- export interface ToggleGroup1 {
29316
- controls: ToggleButtonControl1[];
29317
- macroParameter: string;
29318
- type: 'togglegroup' | 'TOGGLEGROUP';
29913
+ export interface I18NProperty85 {
29914
+ value: string;
29915
+ i18n?: string;
29319
29916
  [k: string]: unknown;
29320
29917
  }
29321
29918
  /**
29322
29919
  *
29323
29920
  *
29324
- * Defines a toggle button which appears inside a ToggleGroup
29921
+ * Defines a button which may appear in control extension points such as the property panel
29325
29922
  *
29326
29923
  * <p><b>Example</b></p>
29327
29924
  *
@@ -29330,21 +29927,19 @@ export interface ToggleGroup1 {
29330
29927
  *
29331
29928
  *
29332
29929
  * {
29333
- * "type": "togglebutton",
29334
- * "macroParameterValue": "macroParameterValue 0",
29930
+ * "type": "button",
29335
29931
  * "label": {
29336
29932
  * "value": "My Custom Control 0"
29337
29933
  * },
29338
- * "key": "my-custom-toggle-button-0"
29934
+ * "key": "my-custom-control-0"
29339
29935
  * }
29340
29936
  *
29341
29937
  *
29342
29938
  *
29343
29939
  */
29344
- export interface ToggleButtonControl1 {
29345
- macroParameterValue: string;
29940
+ export interface ButtonControl3 {
29346
29941
  label: I18NProperty86;
29347
- type: 'togglebutton' | 'TOGGLEBUTTON';
29942
+ type: 'button' | 'BUTTON';
29348
29943
  key: string;
29349
29944
  [k: string]: unknown;
29350
29945
  }
@@ -50221,10 +50816,37 @@ export interface I18NProperty91 {
50221
50816
  *
50222
50817
  */
50223
50818
  export interface WebItemTarget2 {
50224
- options?: DialogOptions4 | InlineDialogOptions2 | DialogModuleOptions2;
50819
+ options?: DialogModuleOptions2 | DialogOptions4 | InlineDialogOptions2;
50225
50820
  type?: 'page' | 'PAGE' | 'dialog' | 'DIALOG' | 'inlinedialog' | 'INLINEDIALOG' | 'dialogmodule' | 'DIALOGMODULE';
50226
50821
  [k: string]: unknown;
50227
50822
  }
50823
+ /**
50824
+ *
50825
+ *
50826
+ * Options for a web-item targeting a common <a href="../dialog/">dialog module</a>.
50827
+ *
50828
+ * <h3>Example</h3>
50829
+ *
50830
+ *
50831
+ *
50832
+ *
50833
+ *
50834
+ * {
50835
+ * "target": {
50836
+ * "type": "dialogmodule",
50837
+ * "options": {
50838
+ * "key": "dialog-module-key"
50839
+ * }
50840
+ * }
50841
+ * }
50842
+ *
50843
+ *
50844
+ *
50845
+ */
50846
+ export interface DialogModuleOptions2 {
50847
+ key: string;
50848
+ [k: string]: unknown;
50849
+ }
50228
50850
  /**
50229
50851
  *
50230
50852
  *
@@ -50360,33 +50982,6 @@ export interface InlineDialogOptions2 {
50360
50982
  isRelativeToMouse?: boolean;
50361
50983
  [k: string]: unknown;
50362
50984
  }
50363
- /**
50364
- *
50365
- *
50366
- * Options for a web-item targeting a common <a href="../dialog/">dialog module</a>.
50367
- *
50368
- * <h3>Example</h3>
50369
- *
50370
- *
50371
- *
50372
- *
50373
- *
50374
- * {
50375
- * "target": {
50376
- * "type": "dialogmodule",
50377
- * "options": {
50378
- * "key": "dialog-module-key"
50379
- * }
50380
- * }
50381
- * }
50382
- *
50383
- *
50384
- *
50385
- */
50386
- export interface DialogModuleOptions2 {
50387
- key: string;
50388
- [k: string]: unknown;
50389
- }
50390
50985
  /**
50391
50986
  *
50392
50987
  *
@@ -51173,6 +51768,12 @@ export interface Fetch {
51173
51768
  export interface Remote {
51174
51769
  remote: string;
51175
51770
  }
51771
+ /**
51772
+ * References a Remote
51773
+ */
51774
+ export interface Remote1 {
51775
+ remote: string;
51776
+ }
51176
51777
  export interface HostedResourcesSchema {
51177
51778
  /**
51178
51779
  * A key for the resource, which other modules can refer to. Must be unique within the manifest and have a maximum of 23 characters.
@@ -51193,16 +51794,6 @@ export interface RemotesSchema {
51193
51794
  export interface Providers {
51194
51795
  auth: Auth;
51195
51796
  }
51196
- export interface AuthProviderPredefined {
51197
- key: ModuleKeySchema;
51198
- /**
51199
- * Name shown to end users
51200
- */
51201
- name: string;
51202
- integration: 'adobe' | 'azuredevops' | 'dropbox' | 'google' | 'miro';
51203
- clientId: string;
51204
- scopes?: string[];
51205
- }
51206
51797
  export interface AuthProviderCustom {
51207
51798
  key: ModuleKeySchema;
51208
51799
  /**
@@ -51210,17 +51801,49 @@ export interface AuthProviderCustom {
51210
51801
  */
51211
51802
  name: string;
51212
51803
  type: 'oauth2';
51213
- bearerMethod?: 'authorization-header' | 'form-encoded' | 'uri-query';
51804
+ bearerMethod: BearerMethodSchema;
51214
51805
  clientId: string;
51215
51806
  scopes?: string[];
51216
51807
  remotes?: ModuleKeySchema[];
51217
51808
  actions: {
51218
- authorization: ActionDefinition;
51219
- exchange: ActionDefinition;
51809
+ authorization: AuthorizeActionDefinition;
51810
+ exchange: ExchangeActionDefinition;
51220
51811
  revokeToken: ActionDefinition;
51221
51812
  retrieveProfile: DynamicProfileRetriever | StaticProfileRetriever;
51222
51813
  };
51223
51814
  }
51815
+ export interface AuthorizeActionDefinition {
51816
+ remote: ModuleKeySchema;
51817
+ path: string;
51818
+ /**
51819
+ * Additional GET parameters sent to the API
51820
+ */
51821
+ queryParameters?: {
51822
+ /**
51823
+ * This interface was referenced by `undefined`'s JSON-Schema definition
51824
+ * via the `patternProperty` "^[a-zA-Z0-9_-]+$".
51825
+ */
51826
+ [k: string]: string;
51827
+ };
51828
+ }
51829
+ export interface ExchangeActionDefinition {
51830
+ remote: ModuleKeySchema;
51831
+ path: string;
51832
+ resolvers?: {
51833
+ /**
51834
+ * Path to the 'access token' parameter within the JSON response from the auhuorization API (full stop separated for nested parameters)
51835
+ */
51836
+ accessToken?: string;
51837
+ /**
51838
+ * Path to the 'access token expires' parameter within the JSON response from the auhuorization API (full stop separated for nested parameters)
51839
+ */
51840
+ accessTokenExpires?: string;
51841
+ /**
51842
+ * Path to the 'refresh token' parameter within the JSON response from the auhuorization API (full stop separated for nested parameters)
51843
+ */
51844
+ refreshToken?: string;
51845
+ };
51846
+ }
51224
51847
  export interface ActionDefinition {
51225
51848
  remote: ModuleKeySchema;
51226
51849
  path: string;
@@ -51255,3 +51878,18 @@ export interface StaticProfileRetriever {
51255
51878
  avatarUrl?: string;
51256
51879
  };
51257
51880
  }
51881
+ export interface AuthProviderPredefined {
51882
+ key: ModuleKeySchema;
51883
+ /**
51884
+ * Name shown to end users
51885
+ */
51886
+ name: string;
51887
+ /**
51888
+ * Pre-defined integration name
51889
+ */
51890
+ integration: 'adobe' | 'azuredevops' | 'dropbox' | 'google' | 'miro';
51891
+ bearerMethod: BearerMethodSchema;
51892
+ clientId: string;
51893
+ scopes?: string[];
51894
+ remotes: ModuleKeySchema[];
51895
+ }