@forge/manifest 0.0.0-experimental-d8cea00 → 0.0.0-experimental-c3d0263

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 (49) hide show
  1. package/CHANGELOG.md +665 -2
  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 +376 -62
  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 +32 -0
  13. package/out/schema/basic-manifest.d.ts +13 -0
  14. package/out/schema/manifest-schema.json +2937 -525
  15. package/out/schema/manifest.d.ts +1991 -669
  16. package/out/scopes/deprecated-shipyard-scopes.json +24 -0
  17. package/out/scopes/shipyard-scopes.json +199 -94
  18. package/out/text/errors.d.ts +7 -0
  19. package/out/text/errors.d.ts.map +1 -1
  20. package/out/text/errors.js +9 -2
  21. package/out/types/egress-types.d.ts +1 -1
  22. package/out/types/egress-types.d.ts.map +1 -1
  23. package/out/types/egress-types.js +3 -1
  24. package/out/types/module-types.d.ts +10 -0
  25. package/out/types/module-types.d.ts.map +1 -1
  26. package/out/types/module-types.js +10 -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 +13 -4
  41. package/out/validators/permissions-validator.d.ts +6 -0
  42. package/out/validators/permissions-validator.d.ts.map +1 -1
  43. package/out/validators/permissions-validator.js +78 -69
  44. package/out/validators/product-trigger-scopes-validator.d.ts +4 -1
  45. package/out/validators/product-trigger-scopes-validator.d.ts.map +1 -1
  46. package/out/validators/product-trigger-scopes-validator.js +23 -7
  47. package/out/validators/resources-validator.d.ts.map +1 -1
  48. package/out/validators/resources-validator.js +26 -2
  49. package/package.json +4 -3
@@ -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;
@@ -102,6 +115,15 @@ export interface App {
102
115
  runtime?: Runtime;
103
116
  licensing?: Licensing;
104
117
  connect?: Connect;
118
+ /**
119
+ * Options related to hosted storage
120
+ */
121
+ storage?: {
122
+ /**
123
+ * Labels to classify the type of data stored
124
+ */
125
+ classifications: ['ugc' | 'pii' | 'other', ...('ugc' | 'pii' | 'other')[]];
126
+ };
105
127
  }
106
128
  /**
107
129
  * Options related to the Forge Javascript runtime.
@@ -124,6 +146,10 @@ export interface Connect {
124
146
  * 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
147
  */
126
148
  remote?: string;
149
+ /**
150
+ * The type of authentication used to communicate with tenant APIs
151
+ */
152
+ authentication?: 'jwt' | 'oauth2';
127
153
  }
128
154
  export interface ConnectModules {
129
155
  lifecycle?: [
@@ -298,6 +324,9 @@ export interface Modules {
298
324
  | {
299
325
  title: string;
300
326
  function: string;
327
+ displayConditions?: {
328
+ [k: string]: unknown;
329
+ };
301
330
  key: ModuleKeySchema;
302
331
  [k: string]: unknown;
303
332
  }
@@ -309,6 +338,9 @@ export interface Modules {
309
338
  resource: string;
310
339
  resourceUploadId?: string;
311
340
  viewportSize?: 'small' | 'medium' | 'large';
341
+ displayConditions?: {
342
+ [k: string]: unknown;
343
+ };
312
344
  key: ModuleKeySchema;
313
345
  [k: string]: unknown;
314
346
  }
@@ -317,6 +349,9 @@ export interface Modules {
317
349
  | {
318
350
  title: string;
319
351
  function: string;
352
+ displayConditions?: {
353
+ [k: string]: unknown;
354
+ };
320
355
  key: ModuleKeySchema;
321
356
  [k: string]: unknown;
322
357
  }
@@ -328,6 +363,9 @@ export interface Modules {
328
363
  resource: string;
329
364
  resourceUploadId?: string;
330
365
  viewportSize?: 'small' | 'medium' | 'large';
366
+ displayConditions?: {
367
+ [k: string]: unknown;
368
+ };
331
369
  key: ModuleKeySchema;
332
370
  [k: string]: unknown;
333
371
  }
@@ -338,6 +376,9 @@ export interface Modules {
338
376
  | {
339
377
  title: string;
340
378
  function: string;
379
+ displayConditions?: {
380
+ [k: string]: unknown;
381
+ };
341
382
  key: ModuleKeySchema;
342
383
  [k: string]: unknown;
343
384
  }
@@ -349,6 +390,9 @@ export interface Modules {
349
390
  resource: string;
350
391
  resourceUploadId?: string;
351
392
  viewportSize?: 'small' | 'medium' | 'large' | 'xlarge';
393
+ displayConditions?: {
394
+ [k: string]: unknown;
395
+ };
352
396
  key: ModuleKeySchema;
353
397
  [k: string]: unknown;
354
398
  }
@@ -357,6 +401,9 @@ export interface Modules {
357
401
  | {
358
402
  title: string;
359
403
  function: string;
404
+ displayConditions?: {
405
+ [k: string]: unknown;
406
+ };
360
407
  key: ModuleKeySchema;
361
408
  [k: string]: unknown;
362
409
  }
@@ -368,6 +415,9 @@ export interface Modules {
368
415
  resource: string;
369
416
  resourceUploadId?: string;
370
417
  viewportSize?: 'small' | 'medium' | 'large' | 'xlarge';
418
+ displayConditions?: {
419
+ [k: string]: unknown;
420
+ };
371
421
  key: ModuleKeySchema;
372
422
  [k: string]: unknown;
373
423
  }
@@ -450,6 +500,9 @@ export interface Modules {
450
500
  | {
451
501
  title: string;
452
502
  function: string;
503
+ displayConditions?: {
504
+ [k: string]: unknown;
505
+ };
453
506
  key: ModuleKeySchema;
454
507
  [k: string]: unknown;
455
508
  }
@@ -461,6 +514,9 @@ export interface Modules {
461
514
  resource: string;
462
515
  resourceUploadId?: string;
463
516
  viewportSize?: 'small' | 'medium' | 'large' | 'xlarge';
517
+ displayConditions?: {
518
+ [k: string]: unknown;
519
+ };
464
520
  key: ModuleKeySchema;
465
521
  [k: string]: unknown;
466
522
  }
@@ -469,6 +525,9 @@ export interface Modules {
469
525
  | {
470
526
  title: string;
471
527
  function: string;
528
+ displayConditions?: {
529
+ [k: string]: unknown;
530
+ };
472
531
  key: ModuleKeySchema;
473
532
  [k: string]: unknown;
474
533
  }
@@ -480,6 +539,9 @@ export interface Modules {
480
539
  resource: string;
481
540
  resourceUploadId?: string;
482
541
  viewportSize?: 'small' | 'medium' | 'large' | 'xlarge';
542
+ displayConditions?: {
543
+ [k: string]: unknown;
544
+ };
483
545
  key: ModuleKeySchema;
484
546
  [k: string]: unknown;
485
547
  }
@@ -492,6 +554,9 @@ export interface Modules {
492
554
  icon?: string;
493
555
  route: string;
494
556
  function: string;
557
+ displayConditions?: {
558
+ [k: string]: unknown;
559
+ };
495
560
  key: ModuleKeySchema;
496
561
  [k: string]: unknown;
497
562
  }
@@ -504,6 +569,9 @@ export interface Modules {
504
569
  };
505
570
  resource: string;
506
571
  resourceUploadId?: string;
572
+ displayConditions?: {
573
+ [k: string]: unknown;
574
+ };
507
575
  key: ModuleKeySchema;
508
576
  [k: string]: unknown;
509
577
  }
@@ -514,6 +582,9 @@ export interface Modules {
514
582
  icon?: string;
515
583
  route: string;
516
584
  function: string;
585
+ displayConditions?: {
586
+ [k: string]: unknown;
587
+ };
517
588
  key: ModuleKeySchema;
518
589
  [k: string]: unknown;
519
590
  }
@@ -526,6 +597,9 @@ export interface Modules {
526
597
  };
527
598
  resource: string;
528
599
  resourceUploadId?: string;
600
+ displayConditions?: {
601
+ [k: string]: unknown;
602
+ };
529
603
  key: ModuleKeySchema;
530
604
  [k: string]: unknown;
531
605
  }
@@ -536,6 +610,9 @@ export interface Modules {
536
610
  | {
537
611
  title: string;
538
612
  function: string;
613
+ displayConditions?: {
614
+ [k: string]: unknown;
615
+ };
539
616
  key: ModuleKeySchema;
540
617
  [k: string]: unknown;
541
618
  }
@@ -546,6 +623,9 @@ export interface Modules {
546
623
  };
547
624
  resource: string;
548
625
  resourceUploadId?: string;
626
+ displayConditions?: {
627
+ [k: string]: unknown;
628
+ };
549
629
  key: ModuleKeySchema;
550
630
  [k: string]: unknown;
551
631
  }
@@ -554,6 +634,9 @@ export interface Modules {
554
634
  | {
555
635
  title: string;
556
636
  function: string;
637
+ displayConditions?: {
638
+ [k: string]: unknown;
639
+ };
557
640
  key: ModuleKeySchema;
558
641
  [k: string]: unknown;
559
642
  }
@@ -564,6 +647,9 @@ export interface Modules {
564
647
  };
565
648
  resource: string;
566
649
  resourceUploadId?: string;
650
+ displayConditions?: {
651
+ [k: string]: unknown;
652
+ };
567
653
  key: ModuleKeySchema;
568
654
  [k: string]: unknown;
569
655
  }
@@ -574,6 +660,9 @@ export interface Modules {
574
660
  | {
575
661
  title: string;
576
662
  function: string;
663
+ displayConditions?: {
664
+ [k: string]: unknown;
665
+ };
577
666
  key: ModuleKeySchema;
578
667
  [k: string]: unknown;
579
668
  }
@@ -584,6 +673,9 @@ export interface Modules {
584
673
  };
585
674
  resource: string;
586
675
  resourceUploadId?: string;
676
+ displayConditions?: {
677
+ [k: string]: unknown;
678
+ };
587
679
  key: ModuleKeySchema;
588
680
  [k: string]: unknown;
589
681
  }
@@ -592,6 +684,9 @@ export interface Modules {
592
684
  | {
593
685
  title: string;
594
686
  function: string;
687
+ displayConditions?: {
688
+ [k: string]: unknown;
689
+ };
595
690
  key: ModuleKeySchema;
596
691
  [k: string]: unknown;
597
692
  }
@@ -602,16 +697,87 @@ export interface Modules {
602
697
  };
603
698
  resource: string;
604
699
  resourceUploadId?: string;
700
+ displayConditions?: {
701
+ [k: string]: unknown;
702
+ };
605
703
  key: ModuleKeySchema;
606
704
  [k: string]: unknown;
607
705
  }
608
706
  )[]
609
707
  ];
708
+ 'confluence:globalPage'?: [
709
+ (
710
+ | {
711
+ title: string;
712
+ icon?: string;
713
+ route: string;
714
+ function: string;
715
+ displayConditions?: {
716
+ [k: string]: unknown;
717
+ };
718
+ key: ModuleKeySchema;
719
+ }
720
+ | {
721
+ title: string;
722
+ icon?: string;
723
+ route: string;
724
+ resolver?: {
725
+ function: string;
726
+ };
727
+ resource: string;
728
+ resourceUploadId?: string;
729
+ displayConditions?: {
730
+ [k: string]: unknown;
731
+ };
732
+ key: ModuleKeySchema;
733
+ }
734
+ ),
735
+ ...(
736
+ | {
737
+ title: string;
738
+ icon?: string;
739
+ route: string;
740
+ function: string;
741
+ displayConditions?: {
742
+ [k: string]: unknown;
743
+ };
744
+ key: ModuleKeySchema;
745
+ }
746
+ | {
747
+ title: string;
748
+ icon?: string;
749
+ route: string;
750
+ resolver?: {
751
+ function: string;
752
+ };
753
+ resource: string;
754
+ resourceUploadId?: string;
755
+ displayConditions?: {
756
+ [k: string]: unknown;
757
+ };
758
+ key: ModuleKeySchema;
759
+ }
760
+ )[]
761
+ ];
610
762
  'jira:workflowValidator'?: [
611
763
  {
612
764
  name: string;
613
765
  description: string;
614
766
  function?: string;
767
+ expression?: string;
768
+ errorMessage?: string;
769
+ view?: {
770
+ resource: string;
771
+ [k: string]: unknown;
772
+ };
773
+ edit?: {
774
+ resource: string;
775
+ [k: string]: unknown;
776
+ };
777
+ create?: {
778
+ resource: string;
779
+ [k: string]: unknown;
780
+ };
615
781
  key: ModuleKeySchema;
616
782
  [k: string]: unknown;
617
783
  },
@@ -619,6 +785,20 @@ export interface Modules {
619
785
  name: string;
620
786
  description: string;
621
787
  function?: string;
788
+ expression?: string;
789
+ errorMessage?: string;
790
+ view?: {
791
+ resource: string;
792
+ [k: string]: unknown;
793
+ };
794
+ edit?: {
795
+ resource: string;
796
+ [k: string]: unknown;
797
+ };
798
+ create?: {
799
+ resource: string;
800
+ [k: string]: unknown;
801
+ };
622
802
  key: ModuleKeySchema;
623
803
  [k: string]: unknown;
624
804
  }[]
@@ -652,52 +832,36 @@ export interface Modules {
652
832
  resource: string;
653
833
  [k: string]: unknown;
654
834
  };
655
- key: ModuleKeySchema;
656
- [k: string]: unknown;
657
- }
658
- | {
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;
676
- resolver?: {
835
+ value?: {
677
836
  function: string;
837
+ [k: string]: unknown;
678
838
  };
679
- edit?:
839
+ searchSuggestions?:
680
840
  | {
681
841
  function: string;
682
842
  [k: string]: unknown;
683
843
  }
684
844
  | {
685
- resource: string;
845
+ expression: string;
686
846
  [k: string]: unknown;
687
847
  };
848
+ displayConditions?: {
849
+ [k: string]: unknown;
850
+ };
688
851
  key: ModuleKeySchema;
689
852
  [k: string]: unknown;
690
853
  }
691
- ),
692
- ...(
693
854
  | {
694
- formatter?: {
855
+ formatter: {
695
856
  expression: string;
696
857
  [k: string]: unknown;
697
858
  };
859
+ schema?: {
860
+ [k: string]: unknown;
861
+ };
698
862
  name: string;
699
863
  description: string;
700
- type: 'datetime' | 'group' | 'number' | 'string' | 'user';
864
+ type: 'object';
701
865
  collection?: 'list' | 'none';
702
866
  validation?: {
703
867
  expression: string;
@@ -717,46 +881,27 @@ export interface Modules {
717
881
  resource: string;
718
882
  [k: string]: unknown;
719
883
  };
720
- key: ModuleKeySchema;
721
- [k: string]: unknown;
722
- }
723
- | {
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;
741
- resolver?: {
884
+ value?: {
742
885
  function: string;
886
+ [k: string]: unknown;
743
887
  };
744
- edit?:
888
+ searchSuggestions?:
745
889
  | {
746
890
  function: string;
747
891
  [k: string]: unknown;
748
892
  }
749
893
  | {
750
- resource: string;
894
+ expression: string;
751
895
  [k: string]: unknown;
752
896
  };
897
+ displayConditions?: {
898
+ [k: string]: unknown;
899
+ };
753
900
  key: ModuleKeySchema;
754
901
  [k: string]: unknown;
755
902
  }
756
- )[]
757
- ];
758
- 'jira:customFieldType'?: [
759
- (
903
+ ),
904
+ ...(
760
905
  | {
761
906
  formatter?: {
762
907
  expression: string;
@@ -772,6 +917,9 @@ export interface Modules {
772
917
  [k: string]: unknown;
773
918
  };
774
919
  readOnly?: boolean;
920
+ resolver?: {
921
+ function: string;
922
+ };
775
923
  edit?:
776
924
  | {
777
925
  function: string;
@@ -781,21 +929,22 @@ export interface Modules {
781
929
  resource: string;
782
930
  [k: string]: unknown;
783
931
  };
784
- icon?: string;
785
- resolver?: {
932
+ value?: {
786
933
  function: string;
934
+ [k: string]: unknown;
787
935
  };
788
- contextConfig?:
936
+ searchSuggestions?:
789
937
  | {
790
938
  function: string;
791
- layout?: 'basic' | 'native';
792
939
  [k: string]: unknown;
793
940
  }
794
941
  | {
795
- resource: string;
796
- layout?: 'basic' | 'native';
942
+ expression: string;
797
943
  [k: string]: unknown;
798
944
  };
945
+ displayConditions?: {
946
+ [k: string]: unknown;
947
+ };
799
948
  key: ModuleKeySchema;
800
949
  [k: string]: unknown;
801
950
  }
@@ -817,6 +966,9 @@ export interface Modules {
817
966
  [k: string]: unknown;
818
967
  };
819
968
  readOnly?: boolean;
969
+ resolver?: {
970
+ function: string;
971
+ };
820
972
  edit?:
821
973
  | {
822
974
  function: string;
@@ -826,26 +978,29 @@ export interface Modules {
826
978
  resource: string;
827
979
  [k: string]: unknown;
828
980
  };
829
- icon?: string;
830
- resolver?: {
981
+ value?: {
831
982
  function: string;
983
+ [k: string]: unknown;
832
984
  };
833
- contextConfig?:
985
+ searchSuggestions?:
834
986
  | {
835
987
  function: string;
836
- layout?: 'basic' | 'native';
837
988
  [k: string]: unknown;
838
989
  }
839
990
  | {
840
- resource: string;
841
- layout?: 'basic' | 'native';
991
+ expression: string;
842
992
  [k: string]: unknown;
843
993
  };
994
+ displayConditions?: {
995
+ [k: string]: unknown;
996
+ };
844
997
  key: ModuleKeySchema;
845
998
  [k: string]: unknown;
846
999
  }
847
- ),
848
- ...(
1000
+ )[]
1001
+ ];
1002
+ 'jira:customFieldType'?: [
1003
+ (
849
1004
  | {
850
1005
  formatter?: {
851
1006
  expression: string;
@@ -870,6 +1025,19 @@ export interface Modules {
870
1025
  resource: string;
871
1026
  [k: string]: unknown;
872
1027
  };
1028
+ value?: {
1029
+ function: string;
1030
+ [k: string]: unknown;
1031
+ };
1032
+ searchSuggestions?:
1033
+ | {
1034
+ function: string;
1035
+ [k: string]: unknown;
1036
+ }
1037
+ | {
1038
+ expression: string;
1039
+ [k: string]: unknown;
1040
+ };
873
1041
  icon?: string;
874
1042
  resolver?: {
875
1043
  function: string;
@@ -885,6 +1053,9 @@ export interface Modules {
885
1053
  layout?: 'basic' | 'native';
886
1054
  [k: string]: unknown;
887
1055
  };
1056
+ displayConditions?: {
1057
+ [k: string]: unknown;
1058
+ };
888
1059
  key: ModuleKeySchema;
889
1060
  [k: string]: unknown;
890
1061
  }
@@ -915,6 +1086,140 @@ export interface Modules {
915
1086
  resource: string;
916
1087
  [k: string]: unknown;
917
1088
  };
1089
+ value?: {
1090
+ function: string;
1091
+ [k: string]: unknown;
1092
+ };
1093
+ searchSuggestions?:
1094
+ | {
1095
+ function: string;
1096
+ [k: string]: unknown;
1097
+ }
1098
+ | {
1099
+ expression: string;
1100
+ [k: string]: unknown;
1101
+ };
1102
+ icon?: string;
1103
+ resolver?: {
1104
+ function: string;
1105
+ };
1106
+ contextConfig?:
1107
+ | {
1108
+ function: string;
1109
+ layout?: 'basic' | 'native';
1110
+ [k: string]: unknown;
1111
+ }
1112
+ | {
1113
+ resource: string;
1114
+ layout?: 'basic' | 'native';
1115
+ [k: string]: unknown;
1116
+ };
1117
+ displayConditions?: {
1118
+ [k: string]: unknown;
1119
+ };
1120
+ key: ModuleKeySchema;
1121
+ [k: string]: unknown;
1122
+ }
1123
+ ),
1124
+ ...(
1125
+ | {
1126
+ formatter?: {
1127
+ expression: string;
1128
+ [k: string]: unknown;
1129
+ };
1130
+ name: string;
1131
+ description: string;
1132
+ type: 'datetime' | 'group' | 'number' | 'string' | 'user';
1133
+ collection?: 'list' | 'none';
1134
+ validation?: {
1135
+ expression: string;
1136
+ errorMessage?: string;
1137
+ [k: string]: unknown;
1138
+ };
1139
+ readOnly?: boolean;
1140
+ edit?:
1141
+ | {
1142
+ function: string;
1143
+ [k: string]: unknown;
1144
+ }
1145
+ | {
1146
+ resource: string;
1147
+ [k: string]: unknown;
1148
+ };
1149
+ value?: {
1150
+ function: string;
1151
+ [k: string]: unknown;
1152
+ };
1153
+ searchSuggestions?:
1154
+ | {
1155
+ function: string;
1156
+ [k: string]: unknown;
1157
+ }
1158
+ | {
1159
+ expression: string;
1160
+ [k: string]: unknown;
1161
+ };
1162
+ icon?: string;
1163
+ resolver?: {
1164
+ function: string;
1165
+ };
1166
+ contextConfig?:
1167
+ | {
1168
+ function: string;
1169
+ layout?: 'basic' | 'native';
1170
+ [k: string]: unknown;
1171
+ }
1172
+ | {
1173
+ resource: string;
1174
+ layout?: 'basic' | 'native';
1175
+ [k: string]: unknown;
1176
+ };
1177
+ displayConditions?: {
1178
+ [k: string]: unknown;
1179
+ };
1180
+ key: ModuleKeySchema;
1181
+ [k: string]: unknown;
1182
+ }
1183
+ | {
1184
+ formatter: {
1185
+ expression: string;
1186
+ [k: string]: unknown;
1187
+ };
1188
+ schema?: {
1189
+ [k: string]: unknown;
1190
+ };
1191
+ name: string;
1192
+ description: string;
1193
+ type: 'object';
1194
+ collection?: 'list' | 'none';
1195
+ validation?: {
1196
+ expression: string;
1197
+ errorMessage?: string;
1198
+ [k: string]: unknown;
1199
+ };
1200
+ readOnly?: boolean;
1201
+ edit?:
1202
+ | {
1203
+ function: string;
1204
+ [k: string]: unknown;
1205
+ }
1206
+ | {
1207
+ resource: string;
1208
+ [k: string]: unknown;
1209
+ };
1210
+ value?: {
1211
+ function: string;
1212
+ [k: string]: unknown;
1213
+ };
1214
+ searchSuggestions?:
1215
+ | {
1216
+ function: string;
1217
+ [k: string]: unknown;
1218
+ }
1219
+ | {
1220
+ expression: string;
1221
+ [k: string]: unknown;
1222
+ };
918
1223
  icon?: string;
919
1224
  resolver?: {
920
1225
  function: string;
@@ -930,6 +1235,9 @@ export interface Modules {
930
1235
  layout?: 'basic' | 'native';
931
1236
  [k: string]: unknown;
932
1237
  };
1238
+ displayConditions?: {
1239
+ [k: string]: unknown;
1240
+ };
933
1241
  key: ModuleKeySchema;
934
1242
  [k: string]: unknown;
935
1243
  }
@@ -940,6 +1248,9 @@ export interface Modules {
940
1248
  | {
941
1249
  title: string;
942
1250
  function: string;
1251
+ displayConditions?: {
1252
+ [k: string]: unknown;
1253
+ };
943
1254
  key: ModuleKeySchema;
944
1255
  [k: string]: unknown;
945
1256
  }
@@ -951,6 +1262,9 @@ export interface Modules {
951
1262
  resource: string;
952
1263
  resourceUploadId?: string;
953
1264
  viewportSize?: 'small' | 'medium' | 'large' | 'xlarge';
1265
+ displayConditions?: {
1266
+ [k: string]: unknown;
1267
+ };
954
1268
  key: ModuleKeySchema;
955
1269
  [k: string]: unknown;
956
1270
  }
@@ -959,6 +1273,9 @@ export interface Modules {
959
1273
  | {
960
1274
  title: string;
961
1275
  function: string;
1276
+ displayConditions?: {
1277
+ [k: string]: unknown;
1278
+ };
962
1279
  key: ModuleKeySchema;
963
1280
  [k: string]: unknown;
964
1281
  }
@@ -970,6 +1287,9 @@ export interface Modules {
970
1287
  resource: string;
971
1288
  resourceUploadId?: string;
972
1289
  viewportSize?: 'small' | 'medium' | 'large' | 'xlarge';
1290
+ displayConditions?: {
1291
+ [k: string]: unknown;
1292
+ };
973
1293
  key: ModuleKeySchema;
974
1294
  [k: string]: unknown;
975
1295
  }
@@ -978,76 +1298,94 @@ export interface Modules {
978
1298
  'jira:issueGlance'?: [
979
1299
  (
980
1300
  | {
1301
+ function: string;
981
1302
  title: string;
982
1303
  label: string;
983
1304
  status?: {
1305
+ type: 'badge' | 'icon' | 'lozenge';
984
1306
  value: {
985
1307
  label: string;
1308
+ url?: string;
986
1309
  type?: 'default' | 'inprogress' | 'moved' | 'new' | 'removed' | 'success';
987
1310
  [k: string]: unknown;
988
1311
  };
989
- type: 'badge' | 'lozenge';
990
1312
  [k: string]: unknown;
991
1313
  };
992
- function: string;
1314
+ icon?: string;
1315
+ displayConditions?: {
1316
+ [k: string]: unknown;
1317
+ };
993
1318
  key: ModuleKeySchema;
994
1319
  [k: string]: unknown;
995
1320
  }
996
1321
  | {
1322
+ resource: string;
1323
+ resolver?: {
1324
+ function: string;
1325
+ };
997
1326
  title: string;
998
1327
  label: string;
999
1328
  status?: {
1329
+ type: 'badge' | 'icon' | 'lozenge';
1000
1330
  value: {
1001
1331
  label: string;
1332
+ url?: string;
1002
1333
  type?: 'default' | 'inprogress' | 'moved' | 'new' | 'removed' | 'success';
1003
1334
  [k: string]: unknown;
1004
1335
  };
1005
- type: 'badge' | 'lozenge';
1006
1336
  [k: string]: unknown;
1007
1337
  };
1008
- resolver?: {
1009
- function: string;
1338
+ icon?: string;
1339
+ displayConditions?: {
1340
+ [k: string]: unknown;
1010
1341
  };
1011
- resource: string;
1012
- resourceUploadId?: string;
1013
1342
  key: ModuleKeySchema;
1014
1343
  [k: string]: unknown;
1015
1344
  }
1016
1345
  ),
1017
1346
  ...(
1018
1347
  | {
1348
+ function: string;
1019
1349
  title: string;
1020
1350
  label: string;
1021
1351
  status?: {
1352
+ type: 'badge' | 'icon' | 'lozenge';
1022
1353
  value: {
1023
1354
  label: string;
1355
+ url?: string;
1024
1356
  type?: 'default' | 'inprogress' | 'moved' | 'new' | 'removed' | 'success';
1025
1357
  [k: string]: unknown;
1026
1358
  };
1027
- type: 'badge' | 'lozenge';
1028
1359
  [k: string]: unknown;
1029
1360
  };
1030
- function: string;
1361
+ icon?: string;
1362
+ displayConditions?: {
1363
+ [k: string]: unknown;
1364
+ };
1031
1365
  key: ModuleKeySchema;
1032
1366
  [k: string]: unknown;
1033
1367
  }
1034
1368
  | {
1369
+ resource: string;
1370
+ resolver?: {
1371
+ function: string;
1372
+ };
1035
1373
  title: string;
1036
1374
  label: string;
1037
1375
  status?: {
1376
+ type: 'badge' | 'icon' | 'lozenge';
1038
1377
  value: {
1039
1378
  label: string;
1379
+ url?: string;
1040
1380
  type?: 'default' | 'inprogress' | 'moved' | 'new' | 'removed' | 'success';
1041
1381
  [k: string]: unknown;
1042
1382
  };
1043
- type: 'badge' | 'lozenge';
1044
1383
  [k: string]: unknown;
1045
1384
  };
1046
- resolver?: {
1047
- function: string;
1385
+ icon?: string;
1386
+ displayConditions?: {
1387
+ [k: string]: unknown;
1048
1388
  };
1049
- resource: string;
1050
- resourceUploadId?: string;
1051
1389
  key: ModuleKeySchema;
1052
1390
  [k: string]: unknown;
1053
1391
  }
@@ -1064,6 +1402,9 @@ export interface Modules {
1064
1402
  [k: string]: unknown;
1065
1403
  };
1066
1404
  function: string;
1405
+ displayConditions?: {
1406
+ [k: string]: unknown;
1407
+ };
1067
1408
  key: ModuleKeySchema;
1068
1409
  [k: string]: unknown;
1069
1410
  }
@@ -1081,6 +1422,9 @@ export interface Modules {
1081
1422
  resource: string;
1082
1423
  resourceUploadId?: string;
1083
1424
  viewportSize?: 'small' | 'medium' | 'large' | 'xlarge';
1425
+ displayConditions?: {
1426
+ [k: string]: unknown;
1427
+ };
1084
1428
  key: ModuleKeySchema;
1085
1429
  [k: string]: unknown;
1086
1430
  }
@@ -1095,6 +1439,9 @@ export interface Modules {
1095
1439
  [k: string]: unknown;
1096
1440
  };
1097
1441
  function: string;
1442
+ displayConditions?: {
1443
+ [k: string]: unknown;
1444
+ };
1098
1445
  key: ModuleKeySchema;
1099
1446
  [k: string]: unknown;
1100
1447
  }
@@ -1112,6 +1459,9 @@ export interface Modules {
1112
1459
  resource: string;
1113
1460
  resourceUploadId?: string;
1114
1461
  viewportSize?: 'small' | 'medium' | 'large' | 'xlarge';
1462
+ displayConditions?: {
1463
+ [k: string]: unknown;
1464
+ };
1115
1465
  key: ModuleKeySchema;
1116
1466
  [k: string]: unknown;
1117
1467
  }
@@ -1122,6 +1472,9 @@ export interface Modules {
1122
1472
  | {
1123
1473
  title: string;
1124
1474
  function: string;
1475
+ displayConditions?: {
1476
+ [k: string]: unknown;
1477
+ };
1125
1478
  key: ModuleKeySchema;
1126
1479
  [k: string]: unknown;
1127
1480
  }
@@ -1133,6 +1486,9 @@ export interface Modules {
1133
1486
  resource: string;
1134
1487
  resourceUploadId?: string;
1135
1488
  viewportSize?: 'small' | 'medium' | 'large' | 'xlarge';
1489
+ displayConditions?: {
1490
+ [k: string]: unknown;
1491
+ };
1136
1492
  key: ModuleKeySchema;
1137
1493
  [k: string]: unknown;
1138
1494
  }
@@ -1141,6 +1497,9 @@ export interface Modules {
1141
1497
  | {
1142
1498
  title: string;
1143
1499
  function: string;
1500
+ displayConditions?: {
1501
+ [k: string]: unknown;
1502
+ };
1144
1503
  key: ModuleKeySchema;
1145
1504
  [k: string]: unknown;
1146
1505
  }
@@ -1152,6 +1511,9 @@ export interface Modules {
1152
1511
  resource: string;
1153
1512
  resourceUploadId?: string;
1154
1513
  viewportSize?: 'small' | 'medium' | 'large' | 'xlarge';
1514
+ displayConditions?: {
1515
+ [k: string]: unknown;
1516
+ };
1155
1517
  key: ModuleKeySchema;
1156
1518
  [k: string]: unknown;
1157
1519
  }
@@ -1173,6 +1535,9 @@ export interface Modules {
1173
1535
  function: string;
1174
1536
  [k: string]: unknown;
1175
1537
  };
1538
+ displayConditions?: {
1539
+ [k: string]: unknown;
1540
+ };
1176
1541
  key: ModuleKeySchema;
1177
1542
  [k: string]: unknown;
1178
1543
  },
@@ -1191,11 +1556,626 @@ export interface Modules {
1191
1556
  function: string;
1192
1557
  [k: string]: unknown;
1193
1558
  };
1559
+ displayConditions?: {
1560
+ [k: string]: unknown;
1561
+ };
1194
1562
  key: ModuleKeySchema;
1195
1563
  [k: string]: unknown;
1196
1564
  }[]
1197
1565
  ];
1198
1566
  'jira:adminPage'?: [
1567
+ (
1568
+ | {
1569
+ function: string;
1570
+ title: string;
1571
+ icon?: string;
1572
+ layout?: 'basic' | 'native';
1573
+ pages?: {
1574
+ title: string;
1575
+ route: string;
1576
+ icon?: string;
1577
+ [k: string]: unknown;
1578
+ }[];
1579
+ sections?: {
1580
+ header?: string;
1581
+ pages: {
1582
+ title: string;
1583
+ route: string;
1584
+ icon?: string;
1585
+ [k: string]: unknown;
1586
+ }[];
1587
+ [k: string]: unknown;
1588
+ }[];
1589
+ displayConditions?: {
1590
+ [k: string]: unknown;
1591
+ };
1592
+ key: ModuleKeySchema;
1593
+ [k: string]: unknown;
1594
+ }
1595
+ | {
1596
+ resource: string;
1597
+ resourceUploadId?: string;
1598
+ resolver?: {
1599
+ function: string;
1600
+ };
1601
+ title: string;
1602
+ icon?: string;
1603
+ layout?: 'basic' | 'native';
1604
+ pages?: {
1605
+ title: string;
1606
+ route: string;
1607
+ icon?: string;
1608
+ [k: string]: unknown;
1609
+ }[];
1610
+ sections?: {
1611
+ header?: string;
1612
+ pages: {
1613
+ title: string;
1614
+ route: string;
1615
+ icon?: string;
1616
+ [k: string]: unknown;
1617
+ }[];
1618
+ [k: string]: unknown;
1619
+ }[];
1620
+ displayConditions?: {
1621
+ [k: string]: unknown;
1622
+ };
1623
+ key: ModuleKeySchema;
1624
+ [k: string]: unknown;
1625
+ }
1626
+ ),
1627
+ ...(
1628
+ | {
1629
+ function: string;
1630
+ title: string;
1631
+ icon?: string;
1632
+ layout?: 'basic' | 'native';
1633
+ pages?: {
1634
+ title: string;
1635
+ route: string;
1636
+ icon?: string;
1637
+ [k: string]: unknown;
1638
+ }[];
1639
+ sections?: {
1640
+ header?: string;
1641
+ pages: {
1642
+ title: string;
1643
+ route: string;
1644
+ icon?: string;
1645
+ [k: string]: unknown;
1646
+ }[];
1647
+ [k: string]: unknown;
1648
+ }[];
1649
+ displayConditions?: {
1650
+ [k: string]: unknown;
1651
+ };
1652
+ key: ModuleKeySchema;
1653
+ [k: string]: unknown;
1654
+ }
1655
+ | {
1656
+ resource: string;
1657
+ resourceUploadId?: string;
1658
+ resolver?: {
1659
+ function: string;
1660
+ };
1661
+ title: string;
1662
+ icon?: string;
1663
+ layout?: 'basic' | 'native';
1664
+ pages?: {
1665
+ title: string;
1666
+ route: string;
1667
+ icon?: string;
1668
+ [k: string]: unknown;
1669
+ }[];
1670
+ sections?: {
1671
+ header?: string;
1672
+ pages: {
1673
+ title: string;
1674
+ route: string;
1675
+ icon?: string;
1676
+ [k: string]: unknown;
1677
+ }[];
1678
+ [k: string]: unknown;
1679
+ }[];
1680
+ displayConditions?: {
1681
+ [k: string]: unknown;
1682
+ };
1683
+ key: ModuleKeySchema;
1684
+ [k: string]: unknown;
1685
+ }
1686
+ )[]
1687
+ ];
1688
+ 'jira:projectPage'?: [
1689
+ (
1690
+ | {
1691
+ function: string;
1692
+ title: string;
1693
+ icon?: string;
1694
+ layout?: 'basic' | 'native';
1695
+ pages?: {
1696
+ title: string;
1697
+ route: string;
1698
+ icon?: string;
1699
+ [k: string]: unknown;
1700
+ }[];
1701
+ sections?: {
1702
+ header?: string;
1703
+ pages: {
1704
+ title: string;
1705
+ route: string;
1706
+ icon?: string;
1707
+ [k: string]: unknown;
1708
+ }[];
1709
+ [k: string]: unknown;
1710
+ }[];
1711
+ displayConditions?: {
1712
+ [k: string]: unknown;
1713
+ };
1714
+ key: ModuleKeySchema;
1715
+ [k: string]: unknown;
1716
+ }
1717
+ | {
1718
+ resource: string;
1719
+ resourceUploadId?: string;
1720
+ resolver?: {
1721
+ function: string;
1722
+ };
1723
+ title: string;
1724
+ icon?: string;
1725
+ layout?: 'basic' | 'native';
1726
+ pages?: {
1727
+ title: string;
1728
+ route: string;
1729
+ icon?: string;
1730
+ [k: string]: unknown;
1731
+ }[];
1732
+ sections?: {
1733
+ header?: string;
1734
+ pages: {
1735
+ title: string;
1736
+ route: string;
1737
+ icon?: string;
1738
+ [k: string]: unknown;
1739
+ }[];
1740
+ [k: string]: unknown;
1741
+ }[];
1742
+ displayConditions?: {
1743
+ [k: string]: unknown;
1744
+ };
1745
+ key: ModuleKeySchema;
1746
+ [k: string]: unknown;
1747
+ }
1748
+ ),
1749
+ ...(
1750
+ | {
1751
+ function: string;
1752
+ title: string;
1753
+ icon?: string;
1754
+ layout?: 'basic' | 'native';
1755
+ pages?: {
1756
+ title: string;
1757
+ route: string;
1758
+ icon?: string;
1759
+ [k: string]: unknown;
1760
+ }[];
1761
+ sections?: {
1762
+ header?: string;
1763
+ pages: {
1764
+ title: string;
1765
+ route: string;
1766
+ icon?: string;
1767
+ [k: string]: unknown;
1768
+ }[];
1769
+ [k: string]: unknown;
1770
+ }[];
1771
+ displayConditions?: {
1772
+ [k: string]: unknown;
1773
+ };
1774
+ key: ModuleKeySchema;
1775
+ [k: string]: unknown;
1776
+ }
1777
+ | {
1778
+ resource: string;
1779
+ resourceUploadId?: string;
1780
+ resolver?: {
1781
+ function: string;
1782
+ };
1783
+ title: string;
1784
+ icon?: string;
1785
+ layout?: 'basic' | 'native';
1786
+ pages?: {
1787
+ title: string;
1788
+ route: string;
1789
+ icon?: string;
1790
+ [k: string]: unknown;
1791
+ }[];
1792
+ sections?: {
1793
+ header?: string;
1794
+ pages: {
1795
+ title: string;
1796
+ route: string;
1797
+ icon?: string;
1798
+ [k: string]: unknown;
1799
+ }[];
1800
+ [k: string]: unknown;
1801
+ }[];
1802
+ displayConditions?: {
1803
+ [k: string]: unknown;
1804
+ };
1805
+ key: ModuleKeySchema;
1806
+ [k: string]: unknown;
1807
+ }
1808
+ )[]
1809
+ ];
1810
+ 'jira:globalPage'?: [
1811
+ (
1812
+ | {
1813
+ function: string;
1814
+ title: string;
1815
+ icon?: string;
1816
+ layout?: 'basic' | 'native';
1817
+ pages?: {
1818
+ title: string;
1819
+ route: string;
1820
+ icon?: string;
1821
+ [k: string]: unknown;
1822
+ }[];
1823
+ sections?: {
1824
+ header?: string;
1825
+ pages: {
1826
+ title: string;
1827
+ route: string;
1828
+ icon?: string;
1829
+ [k: string]: unknown;
1830
+ }[];
1831
+ [k: string]: unknown;
1832
+ }[];
1833
+ displayConditions?: {
1834
+ [k: string]: unknown;
1835
+ };
1836
+ key: ModuleKeySchema;
1837
+ [k: string]: unknown;
1838
+ }
1839
+ | {
1840
+ resource: string;
1841
+ resourceUploadId?: string;
1842
+ resolver?: {
1843
+ function: string;
1844
+ };
1845
+ title: string;
1846
+ icon?: string;
1847
+ layout?: 'basic' | 'native';
1848
+ pages?: {
1849
+ title: string;
1850
+ route: string;
1851
+ icon?: string;
1852
+ [k: string]: unknown;
1853
+ }[];
1854
+ sections?: {
1855
+ header?: string;
1856
+ pages: {
1857
+ title: string;
1858
+ route: string;
1859
+ icon?: string;
1860
+ [k: string]: unknown;
1861
+ }[];
1862
+ [k: string]: unknown;
1863
+ }[];
1864
+ displayConditions?: {
1865
+ [k: string]: unknown;
1866
+ };
1867
+ key: ModuleKeySchema;
1868
+ [k: string]: unknown;
1869
+ }
1870
+ ),
1871
+ ...(
1872
+ | {
1873
+ function: string;
1874
+ title: string;
1875
+ icon?: string;
1876
+ layout?: 'basic' | 'native';
1877
+ pages?: {
1878
+ title: string;
1879
+ route: string;
1880
+ icon?: string;
1881
+ [k: string]: unknown;
1882
+ }[];
1883
+ sections?: {
1884
+ header?: string;
1885
+ pages: {
1886
+ title: string;
1887
+ route: string;
1888
+ icon?: string;
1889
+ [k: string]: unknown;
1890
+ }[];
1891
+ [k: string]: unknown;
1892
+ }[];
1893
+ displayConditions?: {
1894
+ [k: string]: unknown;
1895
+ };
1896
+ key: ModuleKeySchema;
1897
+ [k: string]: unknown;
1898
+ }
1899
+ | {
1900
+ resource: string;
1901
+ resourceUploadId?: string;
1902
+ resolver?: {
1903
+ function: string;
1904
+ };
1905
+ title: string;
1906
+ icon?: string;
1907
+ layout?: 'basic' | 'native';
1908
+ pages?: {
1909
+ title: string;
1910
+ route: string;
1911
+ icon?: string;
1912
+ [k: string]: unknown;
1913
+ }[];
1914
+ sections?: {
1915
+ header?: string;
1916
+ pages: {
1917
+ title: string;
1918
+ route: string;
1919
+ icon?: string;
1920
+ [k: string]: unknown;
1921
+ }[];
1922
+ [k: string]: unknown;
1923
+ }[];
1924
+ displayConditions?: {
1925
+ [k: string]: unknown;
1926
+ };
1927
+ key: ModuleKeySchema;
1928
+ [k: string]: unknown;
1929
+ }
1930
+ )[]
1931
+ ];
1932
+ 'jira:projectSettingsPage'?: [
1933
+ (
1934
+ | {
1935
+ function: string;
1936
+ title: string;
1937
+ icon?: string;
1938
+ layout?: 'basic' | 'native';
1939
+ pages?: {
1940
+ title: string;
1941
+ route: string;
1942
+ icon?: string;
1943
+ [k: string]: unknown;
1944
+ }[];
1945
+ sections?: {
1946
+ header?: string;
1947
+ pages: {
1948
+ title: string;
1949
+ route: string;
1950
+ icon?: string;
1951
+ [k: string]: unknown;
1952
+ }[];
1953
+ [k: string]: unknown;
1954
+ }[];
1955
+ displayConditions?: {
1956
+ [k: string]: unknown;
1957
+ };
1958
+ key: ModuleKeySchema;
1959
+ [k: string]: unknown;
1960
+ }
1961
+ | {
1962
+ resource: string;
1963
+ resourceUploadId?: string;
1964
+ resolver?: {
1965
+ function: string;
1966
+ };
1967
+ title: string;
1968
+ icon?: string;
1969
+ layout?: 'basic' | 'native';
1970
+ pages?: {
1971
+ title: string;
1972
+ route: string;
1973
+ icon?: string;
1974
+ [k: string]: unknown;
1975
+ }[];
1976
+ sections?: {
1977
+ header?: string;
1978
+ pages: {
1979
+ title: string;
1980
+ route: string;
1981
+ icon?: string;
1982
+ [k: string]: unknown;
1983
+ }[];
1984
+ [k: string]: unknown;
1985
+ }[];
1986
+ displayConditions?: {
1987
+ [k: string]: unknown;
1988
+ };
1989
+ key: ModuleKeySchema;
1990
+ [k: string]: unknown;
1991
+ }
1992
+ ),
1993
+ ...(
1994
+ | {
1995
+ function: string;
1996
+ title: string;
1997
+ icon?: string;
1998
+ layout?: 'basic' | 'native';
1999
+ pages?: {
2000
+ title: string;
2001
+ route: string;
2002
+ icon?: string;
2003
+ [k: string]: unknown;
2004
+ }[];
2005
+ sections?: {
2006
+ header?: string;
2007
+ pages: {
2008
+ title: string;
2009
+ route: string;
2010
+ icon?: string;
2011
+ [k: string]: unknown;
2012
+ }[];
2013
+ [k: string]: unknown;
2014
+ }[];
2015
+ displayConditions?: {
2016
+ [k: string]: unknown;
2017
+ };
2018
+ key: ModuleKeySchema;
2019
+ [k: string]: unknown;
2020
+ }
2021
+ | {
2022
+ resource: string;
2023
+ resourceUploadId?: string;
2024
+ resolver?: {
2025
+ function: string;
2026
+ };
2027
+ title: string;
2028
+ icon?: string;
2029
+ layout?: 'basic' | 'native';
2030
+ pages?: {
2031
+ title: string;
2032
+ route: string;
2033
+ icon?: string;
2034
+ [k: string]: unknown;
2035
+ }[];
2036
+ sections?: {
2037
+ header?: string;
2038
+ pages: {
2039
+ title: string;
2040
+ route: string;
2041
+ icon?: string;
2042
+ [k: string]: unknown;
2043
+ }[];
2044
+ [k: string]: unknown;
2045
+ }[];
2046
+ displayConditions?: {
2047
+ [k: string]: unknown;
2048
+ };
2049
+ key: ModuleKeySchema;
2050
+ [k: string]: unknown;
2051
+ }
2052
+ )[]
2053
+ ];
2054
+ 'compass:adminPage'?: [
2055
+ (
2056
+ | {
2057
+ title: string;
2058
+ icon?: string;
2059
+ function: string;
2060
+ key: ModuleKeySchema;
2061
+ [k: string]: unknown;
2062
+ }
2063
+ | {
2064
+ title: string;
2065
+ icon?: string;
2066
+ resolver?: {
2067
+ function: string;
2068
+ };
2069
+ resource: string;
2070
+ key: ModuleKeySchema;
2071
+ [k: string]: unknown;
2072
+ }
2073
+ ),
2074
+ ...(
2075
+ | {
2076
+ title: string;
2077
+ icon?: string;
2078
+ function: string;
2079
+ key: ModuleKeySchema;
2080
+ [k: string]: unknown;
2081
+ }
2082
+ | {
2083
+ title: string;
2084
+ icon?: string;
2085
+ resolver?: {
2086
+ function: string;
2087
+ };
2088
+ resource: string;
2089
+ key: ModuleKeySchema;
2090
+ [k: string]: unknown;
2091
+ }
2092
+ )[]
2093
+ ];
2094
+ 'compass:componentPage'?: [
2095
+ (
2096
+ | {
2097
+ title: string;
2098
+ icon?: string;
2099
+ function: string;
2100
+ displayConditions?: DisplayConditions;
2101
+ key: ModuleKeySchema;
2102
+ [k: string]: unknown;
2103
+ }
2104
+ | {
2105
+ title: string;
2106
+ icon?: string;
2107
+ resolver?: {
2108
+ function: string;
2109
+ };
2110
+ displayConditions?: DisplayConditions;
2111
+ resource: string;
2112
+ key: ModuleKeySchema;
2113
+ [k: string]: unknown;
2114
+ }
2115
+ ),
2116
+ ...(
2117
+ | {
2118
+ title: string;
2119
+ icon?: string;
2120
+ function: string;
2121
+ displayConditions?: DisplayConditions;
2122
+ key: ModuleKeySchema;
2123
+ [k: string]: unknown;
2124
+ }
2125
+ | {
2126
+ title: string;
2127
+ icon?: string;
2128
+ resolver?: {
2129
+ function: string;
2130
+ };
2131
+ displayConditions?: DisplayConditions;
2132
+ resource: string;
2133
+ key: ModuleKeySchema;
2134
+ [k: string]: unknown;
2135
+ }
2136
+ )[]
2137
+ ];
2138
+ 'compass:globalPage'?: [
2139
+ (
2140
+ | {
2141
+ title: string;
2142
+ icon?: string;
2143
+ function: string;
2144
+ key: ModuleKeySchema;
2145
+ [k: string]: unknown;
2146
+ }
2147
+ | {
2148
+ title: string;
2149
+ icon?: string;
2150
+ resolver?: {
2151
+ function: string;
2152
+ };
2153
+ resource: string;
2154
+ key: ModuleKeySchema;
2155
+ [k: string]: unknown;
2156
+ }
2157
+ ),
2158
+ ...(
2159
+ | {
2160
+ title: string;
2161
+ icon?: string;
2162
+ function: string;
2163
+ key: ModuleKeySchema;
2164
+ [k: string]: unknown;
2165
+ }
2166
+ | {
2167
+ title: string;
2168
+ icon?: string;
2169
+ resolver?: {
2170
+ function: string;
2171
+ };
2172
+ resource: string;
2173
+ key: ModuleKeySchema;
2174
+ [k: string]: unknown;
2175
+ }
2176
+ )[]
2177
+ ];
2178
+ 'jiraServiceManagement:queuePage'?: [
1199
2179
  (
1200
2180
  | {
1201
2181
  title: string;
@@ -1241,12 +2221,13 @@ export interface Modules {
1241
2221
  }
1242
2222
  )[]
1243
2223
  ];
1244
- 'jira:projectPage'?: [
2224
+ 'jiraServiceManagement:portalRequestDetail'?: [
1245
2225
  (
1246
2226
  | {
1247
2227
  title: string;
1248
2228
  icon?: string;
1249
2229
  layout?: 'native' | 'basic';
2230
+ viewportSize?: 'small' | 'medium' | 'large' | 'xlarge';
1250
2231
  function: string;
1251
2232
  key: ModuleKeySchema;
1252
2233
  [k: string]: unknown;
@@ -1269,6 +2250,7 @@ export interface Modules {
1269
2250
  title: string;
1270
2251
  icon?: string;
1271
2252
  layout?: 'native' | 'basic';
2253
+ viewportSize?: 'small' | 'medium' | 'large' | 'xlarge';
1272
2254
  function: string;
1273
2255
  key: ModuleKeySchema;
1274
2256
  [k: string]: unknown;
@@ -1287,11 +2269,13 @@ export interface Modules {
1287
2269
  }
1288
2270
  )[]
1289
2271
  ];
1290
- 'compass:adminPage'?: [
2272
+ 'jiraServiceManagement:portalRequestDetailPanel'?: [
1291
2273
  (
1292
2274
  | {
1293
2275
  title: string;
1294
2276
  icon?: string;
2277
+ layout?: 'native' | 'basic';
2278
+ viewportSize?: 'small' | 'medium' | 'large' | 'xlarge';
1295
2279
  function: string;
1296
2280
  key: ModuleKeySchema;
1297
2281
  [k: string]: unknown;
@@ -1299,6 +2283,7 @@ export interface Modules {
1299
2283
  | {
1300
2284
  title: string;
1301
2285
  icon?: string;
2286
+ layout?: 'native' | 'basic';
1302
2287
  resolver?: {
1303
2288
  function: string;
1304
2289
  };
@@ -1312,6 +2297,8 @@ export interface Modules {
1312
2297
  | {
1313
2298
  title: string;
1314
2299
  icon?: string;
2300
+ layout?: 'native' | 'basic';
2301
+ viewportSize?: 'small' | 'medium' | 'large' | 'xlarge';
1315
2302
  function: string;
1316
2303
  key: ModuleKeySchema;
1317
2304
  [k: string]: unknown;
@@ -1319,6 +2306,7 @@ export interface Modules {
1319
2306
  | {
1320
2307
  title: string;
1321
2308
  icon?: string;
2309
+ layout?: 'native' | 'basic';
1322
2310
  resolver?: {
1323
2311
  function: string;
1324
2312
  };
@@ -1329,23 +2317,24 @@ export interface Modules {
1329
2317
  }
1330
2318
  )[]
1331
2319
  ];
1332
- 'compass:componentPage'?: [
2320
+ 'jiraServiceManagement:organizationPanel'?: [
1333
2321
  (
1334
2322
  | {
1335
2323
  title: string;
1336
2324
  icon?: string;
2325
+ layout?: 'native' | 'basic';
1337
2326
  function: string;
1338
- displayConditions?: DisplayConditions;
1339
2327
  key: ModuleKeySchema;
1340
2328
  [k: string]: unknown;
1341
2329
  }
1342
2330
  | {
1343
2331
  title: string;
1344
2332
  icon?: string;
2333
+ layout?: 'native' | 'basic';
2334
+ viewportSize?: 'small' | 'medium' | 'large' | 'xlarge';
1345
2335
  resolver?: {
1346
2336
  function: string;
1347
2337
  };
1348
- displayConditions?: DisplayConditions;
1349
2338
  resource: string;
1350
2339
  resourceUploadId?: string;
1351
2340
  key: ModuleKeySchema;
@@ -1356,18 +2345,291 @@ export interface Modules {
1356
2345
  | {
1357
2346
  title: string;
1358
2347
  icon?: string;
2348
+ layout?: 'native' | 'basic';
1359
2349
  function: string;
1360
- displayConditions?: DisplayConditions;
1361
2350
  key: ModuleKeySchema;
1362
2351
  [k: string]: unknown;
1363
2352
  }
1364
2353
  | {
1365
2354
  title: string;
1366
2355
  icon?: string;
2356
+ layout?: 'native' | 'basic';
2357
+ viewportSize?: 'small' | 'medium' | 'large' | 'xlarge';
2358
+ resolver?: {
2359
+ function: string;
2360
+ };
2361
+ resource: string;
2362
+ resourceUploadId?: string;
2363
+ key: ModuleKeySchema;
2364
+ [k: string]: unknown;
2365
+ }
2366
+ )[]
2367
+ ];
2368
+ 'jiraServiceManagement:portalFooter'?: [
2369
+ (
2370
+ | {
2371
+ layout?: 'native' | 'basic';
2372
+ pages?: (
2373
+ | 'help_center'
2374
+ | 'portal'
2375
+ | 'create_request'
2376
+ | 'view_request'
2377
+ | 'my_requests'
2378
+ | 'approvals'
2379
+ | 'profile'
2380
+ )[];
2381
+ viewportSize?: 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
2382
+ function: string;
2383
+ key: ModuleKeySchema;
2384
+ [k: string]: unknown;
2385
+ }
2386
+ | {
2387
+ pages?: (
2388
+ | 'help_center'
2389
+ | 'portal'
2390
+ | 'create_request'
2391
+ | 'view_request'
2392
+ | 'my_requests'
2393
+ | 'approvals'
2394
+ | 'profile'
2395
+ )[];
2396
+ viewportSize?: 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
2397
+ resolver?: {
2398
+ function: string;
2399
+ };
2400
+ resource: string;
2401
+ resourceUploadId?: string;
2402
+ key: ModuleKeySchema;
2403
+ [k: string]: unknown;
2404
+ }
2405
+ ),
2406
+ ...(
2407
+ | {
2408
+ layout?: 'native' | 'basic';
2409
+ pages?: (
2410
+ | 'help_center'
2411
+ | 'portal'
2412
+ | 'create_request'
2413
+ | 'view_request'
2414
+ | 'my_requests'
2415
+ | 'approvals'
2416
+ | 'profile'
2417
+ )[];
2418
+ viewportSize?: 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
2419
+ function: string;
2420
+ key: ModuleKeySchema;
2421
+ [k: string]: unknown;
2422
+ }
2423
+ | {
2424
+ pages?: (
2425
+ | 'help_center'
2426
+ | 'portal'
2427
+ | 'create_request'
2428
+ | 'view_request'
2429
+ | 'my_requests'
2430
+ | 'approvals'
2431
+ | 'profile'
2432
+ )[];
2433
+ viewportSize?: 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
2434
+ resolver?: {
2435
+ function: string;
2436
+ };
2437
+ resource: string;
2438
+ resourceUploadId?: string;
2439
+ key: ModuleKeySchema;
2440
+ [k: string]: unknown;
2441
+ }
2442
+ )[]
2443
+ ];
2444
+ 'jiraServiceManagement:portalHeader'?: [
2445
+ (
2446
+ | {
2447
+ pages?: (
2448
+ | 'help_center'
2449
+ | 'portal'
2450
+ | 'create_request'
2451
+ | 'view_request'
2452
+ | 'my_requests'
2453
+ | 'approvals'
2454
+ | 'profile'
2455
+ )[];
2456
+ viewportSize?: 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
2457
+ function: string;
2458
+ key: ModuleKeySchema;
2459
+ [k: string]: unknown;
2460
+ }
2461
+ | {
2462
+ pages?: (
2463
+ | 'help_center'
2464
+ | 'portal'
2465
+ | 'create_request'
2466
+ | 'view_request'
2467
+ | 'my_requests'
2468
+ | 'approvals'
2469
+ | 'profile'
2470
+ )[];
2471
+ viewportSize?: 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
2472
+ resolver?: {
2473
+ function: string;
2474
+ };
2475
+ resource: string;
2476
+ resourceUploadId?: string;
2477
+ key: ModuleKeySchema;
2478
+ [k: string]: unknown;
2479
+ }
2480
+ ),
2481
+ ...(
2482
+ | {
2483
+ pages?: (
2484
+ | 'help_center'
2485
+ | 'portal'
2486
+ | 'create_request'
2487
+ | 'view_request'
2488
+ | 'my_requests'
2489
+ | 'approvals'
2490
+ | 'profile'
2491
+ )[];
2492
+ viewportSize?: 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
2493
+ function: string;
2494
+ key: ModuleKeySchema;
2495
+ [k: string]: unknown;
2496
+ }
2497
+ | {
2498
+ pages?: (
2499
+ | 'help_center'
2500
+ | 'portal'
2501
+ | 'create_request'
2502
+ | 'view_request'
2503
+ | 'my_requests'
2504
+ | 'approvals'
2505
+ | 'profile'
2506
+ )[];
2507
+ viewportSize?: 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
2508
+ resolver?: {
2509
+ function: string;
2510
+ };
2511
+ resource: string;
2512
+ resourceUploadId?: string;
2513
+ key: ModuleKeySchema;
2514
+ [k: string]: unknown;
2515
+ }
2516
+ )[]
2517
+ ];
2518
+ 'jiraServiceManagement:portalSubheader'?: [
2519
+ (
2520
+ | {
2521
+ pages?: (
2522
+ | 'help_center'
2523
+ | 'portal'
2524
+ | 'create_request'
2525
+ | 'view_request'
2526
+ | 'my_requests'
2527
+ | 'approvals'
2528
+ | 'profile'
2529
+ )[];
2530
+ viewportSize?: 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
2531
+ function: string;
2532
+ key: ModuleKeySchema;
2533
+ [k: string]: unknown;
2534
+ }
2535
+ | {
2536
+ pages?: (
2537
+ | 'help_center'
2538
+ | 'portal'
2539
+ | 'create_request'
2540
+ | 'view_request'
2541
+ | 'my_requests'
2542
+ | 'approvals'
2543
+ | 'profile'
2544
+ )[];
2545
+ viewportSize?: 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
2546
+ resolver?: {
2547
+ function: string;
2548
+ };
2549
+ resource: string;
2550
+ resourceUploadId?: string;
2551
+ key: ModuleKeySchema;
2552
+ [k: string]: unknown;
2553
+ }
2554
+ ),
2555
+ ...(
2556
+ | {
2557
+ pages?: (
2558
+ | 'help_center'
2559
+ | 'portal'
2560
+ | 'create_request'
2561
+ | 'view_request'
2562
+ | 'my_requests'
2563
+ | 'approvals'
2564
+ | 'profile'
2565
+ )[];
2566
+ viewportSize?: 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
2567
+ function: string;
2568
+ key: ModuleKeySchema;
2569
+ [k: string]: unknown;
2570
+ }
2571
+ | {
2572
+ pages?: (
2573
+ | 'help_center'
2574
+ | 'portal'
2575
+ | 'create_request'
2576
+ | 'view_request'
2577
+ | 'my_requests'
2578
+ | 'approvals'
2579
+ | 'profile'
2580
+ )[];
2581
+ viewportSize?: 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
2582
+ resolver?: {
2583
+ function: string;
2584
+ };
2585
+ resource: string;
2586
+ resourceUploadId?: string;
2587
+ key: ModuleKeySchema;
2588
+ [k: string]: unknown;
2589
+ }
2590
+ )[]
2591
+ ];
2592
+ 'jiraServiceManagement:portalProfilePanel'?: [
2593
+ (
2594
+ | {
2595
+ title: string;
2596
+ icon?: string;
2597
+ layout?: 'native' | 'basic';
2598
+ function: string;
2599
+ key: ModuleKeySchema;
2600
+ [k: string]: unknown;
2601
+ }
2602
+ | {
2603
+ title: string;
2604
+ icon?: string;
2605
+ layout?: 'native' | 'basic';
2606
+ viewportSize?: 'small' | 'medium' | 'large' | 'xlarge';
2607
+ resolver?: {
2608
+ function: string;
2609
+ };
2610
+ resource: string;
2611
+ resourceUploadId?: string;
2612
+ key: ModuleKeySchema;
2613
+ [k: string]: unknown;
2614
+ }
2615
+ ),
2616
+ ...(
2617
+ | {
2618
+ title: string;
2619
+ icon?: string;
2620
+ layout?: 'native' | 'basic';
2621
+ function: string;
2622
+ key: ModuleKeySchema;
2623
+ [k: string]: unknown;
2624
+ }
2625
+ | {
2626
+ title: string;
2627
+ icon?: string;
2628
+ layout?: 'native' | 'basic';
2629
+ viewportSize?: 'small' | 'medium' | 'large' | 'xlarge';
1367
2630
  resolver?: {
1368
2631
  function: string;
1369
2632
  };
1370
- displayConditions?: DisplayConditions;
1371
2633
  resource: string;
1372
2634
  resourceUploadId?: string;
1373
2635
  key: ModuleKeySchema;
@@ -1417,7 +2679,7 @@ export interface Modules {
1417
2679
  fullPage?: boolean;
1418
2680
  cacheable?: boolean;
1419
2681
  location?: string;
1420
- conditions?: (SingleCondition | CompositeCondition)[];
2682
+ conditions?: (CompositeCondition | SingleCondition)[];
1421
2683
  params?: {
1422
2684
  [k: string]: unknown;
1423
2685
  };
@@ -1432,7 +2694,7 @@ export interface Modules {
1432
2694
  fullPage?: boolean;
1433
2695
  cacheable?: boolean;
1434
2696
  location?: string;
1435
- conditions?: (SingleCondition | CompositeCondition)[];
2697
+ conditions?: (CompositeCondition | SingleCondition)[];
1436
2698
  params?: {
1437
2699
  [k: string]: unknown;
1438
2700
  };
@@ -1450,7 +2712,7 @@ export interface Modules {
1450
2712
  location?: string;
1451
2713
  cacheable?: boolean;
1452
2714
  supportsNative?: boolean;
1453
- conditions?: (CompositeCondition | SingleCondition)[];
2715
+ conditions?: (SingleCondition | CompositeCondition)[];
1454
2716
  params?: {
1455
2717
  [k: string]: unknown;
1456
2718
  };
@@ -1466,7 +2728,7 @@ export interface Modules {
1466
2728
  location?: string;
1467
2729
  cacheable?: boolean;
1468
2730
  supportsNative?: boolean;
1469
- conditions?: (CompositeCondition | SingleCondition)[];
2731
+ conditions?: (SingleCondition | CompositeCondition)[];
1470
2732
  params?: {
1471
2733
  [k: string]: unknown;
1472
2734
  };
@@ -1480,7 +2742,7 @@ export interface Modules {
1480
2742
  filter?: string;
1481
2743
  excludeBody?: boolean;
1482
2744
  event?: string;
1483
- conditions?: (SingleCondition | CompositeCondition)[];
2745
+ conditions?: (CompositeCondition | SingleCondition)[];
1484
2746
  propertyKeys?: string[];
1485
2747
  url?: string;
1486
2748
  key: ModuleKeySchema;
@@ -1490,7 +2752,7 @@ export interface Modules {
1490
2752
  filter?: string;
1491
2753
  excludeBody?: boolean;
1492
2754
  event?: string;
1493
- conditions?: (SingleCondition | CompositeCondition)[];
2755
+ conditions?: (CompositeCondition | SingleCondition)[];
1494
2756
  propertyKeys?: string[];
1495
2757
  url?: string;
1496
2758
  key: ModuleKeySchema;
@@ -1629,7 +2891,7 @@ export interface Modules {
1629
2891
  fullPage?: boolean;
1630
2892
  cacheable?: boolean;
1631
2893
  location?: string;
1632
- conditions?: (SingleCondition | CompositeCondition)[];
2894
+ conditions?: (CompositeCondition | SingleCondition)[];
1633
2895
  params?: {
1634
2896
  [k: string]: unknown;
1635
2897
  };
@@ -1644,7 +2906,7 @@ export interface Modules {
1644
2906
  fullPage?: boolean;
1645
2907
  cacheable?: boolean;
1646
2908
  location?: string;
1647
- conditions?: (SingleCondition | CompositeCondition)[];
2909
+ conditions?: (CompositeCondition | SingleCondition)[];
1648
2910
  params?: {
1649
2911
  [k: string]: unknown;
1650
2912
  };
@@ -1724,7 +2986,7 @@ export interface Modules {
1724
2986
  | 'TIME_TRACKING'
1725
2987
  | 'other'
1726
2988
  | 'OTHER';
1727
- conditions?: (SingleCondition | CompositeCondition)[];
2989
+ conditions?: (CompositeCondition | SingleCondition)[];
1728
2990
  key: ModuleKeySchema;
1729
2991
  [k: string]: unknown;
1730
2992
  },
@@ -1746,7 +3008,7 @@ export interface Modules {
1746
3008
  | 'TIME_TRACKING'
1747
3009
  | 'other'
1748
3010
  | 'OTHER';
1749
- conditions?: (SingleCondition | CompositeCondition)[];
3011
+ conditions?: (CompositeCondition | SingleCondition)[];
1750
3012
  key: ModuleKeySchema;
1751
3013
  [k: string]: unknown;
1752
3014
  }[]
@@ -1899,7 +3161,7 @@ export interface Modules {
1899
3161
  {
1900
3162
  name?: I18NProperty23;
1901
3163
  description?: I18NProperty24;
1902
- conditions?: (SingleCondition | CompositeCondition)[];
3164
+ conditions?: (CompositeCondition | SingleCondition)[];
1903
3165
  url?: string;
1904
3166
  configurable?: boolean;
1905
3167
  thumbnailUrl?: string;
@@ -1909,7 +3171,7 @@ export interface Modules {
1909
3171
  ...{
1910
3172
  name?: I18NProperty23;
1911
3173
  description?: I18NProperty24;
1912
- conditions?: (SingleCondition | CompositeCondition)[];
3174
+ conditions?: (CompositeCondition | SingleCondition)[];
1913
3175
  url?: string;
1914
3176
  configurable?: boolean;
1915
3177
  thumbnailUrl?: string;
@@ -1966,7 +3228,7 @@ export interface Modules {
1966
3228
  icon?: Icon6;
1967
3229
  tooltip?: I18NProperty29;
1968
3230
  name?: I18NProperty30;
1969
- conditions?: (CompositeCondition | SingleCondition)[];
3231
+ conditions?: (SingleCondition | CompositeCondition)[];
1970
3232
  target?: IssuePageTargetWebPanel;
1971
3233
  contentPresentConditions?: (SingleCondition | CompositeCondition)[];
1972
3234
  jiraNativeAppsEnabled?: boolean;
@@ -1977,7 +3239,7 @@ export interface Modules {
1977
3239
  icon?: Icon6;
1978
3240
  tooltip?: I18NProperty29;
1979
3241
  name?: I18NProperty30;
1980
- conditions?: (CompositeCondition | SingleCondition)[];
3242
+ conditions?: (SingleCondition | CompositeCondition)[];
1981
3243
  target?: IssuePageTargetWebPanel;
1982
3244
  contentPresentConditions?: (SingleCondition | CompositeCondition)[];
1983
3245
  jiraNativeAppsEnabled?: boolean;
@@ -2011,7 +3273,7 @@ export interface Modules {
2011
3273
  {
2012
3274
  name?: I18NProperty33;
2013
3275
  weight?: number;
2014
- conditions?: (SingleCondition2 | CompositeCondition2)[];
3276
+ conditions?: (CompositeCondition2 | SingleCondition2)[];
2015
3277
  params?: {
2016
3278
  [k: string]: unknown;
2017
3279
  };
@@ -2022,7 +3284,7 @@ export interface Modules {
2022
3284
  ...{
2023
3285
  name?: I18NProperty33;
2024
3286
  weight?: number;
2025
- conditions?: (SingleCondition2 | CompositeCondition2)[];
3287
+ conditions?: (CompositeCondition2 | SingleCondition2)[];
2026
3288
  params?: {
2027
3289
  [k: string]: unknown;
2028
3290
  };
@@ -2103,7 +3365,7 @@ export interface Modules {
2103
3365
  {
2104
3366
  name?: I18NProperty38;
2105
3367
  weight?: number;
2106
- conditions?: (SingleCondition3 | CompositeCondition4)[];
3368
+ conditions?: (CompositeCondition4 | SingleCondition3)[];
2107
3369
  params?: {
2108
3370
  [k: string]: unknown;
2109
3371
  };
@@ -2114,7 +3376,7 @@ export interface Modules {
2114
3376
  ...{
2115
3377
  name?: I18NProperty38;
2116
3378
  weight?: number;
2117
- conditions?: (SingleCondition3 | CompositeCondition4)[];
3379
+ conditions?: (CompositeCondition4 | SingleCondition3)[];
2118
3380
  params?: {
2119
3381
  [k: string]: unknown;
2120
3382
  };
@@ -2235,7 +3497,7 @@ export interface Modules {
2235
3497
  expression?: string;
2236
3498
  edit?: URL8;
2237
3499
  evaluationContext?: 'user' | 'USER' | 'app' | 'APP';
2238
- errorMessage?: I18NProperty45 | JiraExpressionErrorMessage;
3500
+ errorMessage?: JiraExpressionErrorMessage | I18NProperty45;
2239
3501
  name?: I18NProperty46;
2240
3502
  description?: I18NProperty47;
2241
3503
  create?: URL9;
@@ -2247,7 +3509,7 @@ export interface Modules {
2247
3509
  expression?: string;
2248
3510
  edit?: URL8;
2249
3511
  evaluationContext?: 'user' | 'USER' | 'app' | 'APP';
2250
- errorMessage?: I18NProperty45 | JiraExpressionErrorMessage;
3512
+ errorMessage?: JiraExpressionErrorMessage | I18NProperty45;
2251
3513
  name?: I18NProperty46;
2252
3514
  description?: I18NProperty47;
2253
3515
  create?: URL9;
@@ -2287,6 +3549,7 @@ export interface Modules {
2287
3549
  {
2288
3550
  installed?: string;
2289
3551
  disabled?: string;
3552
+ 'dare-migration'?: string;
2290
3553
  uninstalled?: string;
2291
3554
  enabled?: string;
2292
3555
  key: ModuleKeySchema;
@@ -2295,6 +3558,7 @@ export interface Modules {
2295
3558
  ...{
2296
3559
  installed?: string;
2297
3560
  disabled?: string;
3561
+ 'dare-migration'?: string;
2298
3562
  uninstalled?: string;
2299
3563
  enabled?: string;
2300
3564
  key: ModuleKeySchema;
@@ -2376,7 +3640,7 @@ export interface Modules {
2376
3640
  location?: string;
2377
3641
  cacheable?: boolean;
2378
3642
  supportsNative?: boolean;
2379
- conditions?: (SingleCondition | CompositeCondition)[];
3643
+ conditions?: (CompositeCondition | SingleCondition)[];
2380
3644
  params?: {
2381
3645
  [k: string]: unknown;
2382
3646
  };
@@ -2392,7 +3656,7 @@ export interface Modules {
2392
3656
  location?: string;
2393
3657
  cacheable?: boolean;
2394
3658
  supportsNative?: boolean;
2395
- conditions?: (SingleCondition | CompositeCondition)[];
3659
+ conditions?: (CompositeCondition | SingleCondition)[];
2396
3660
  params?: {
2397
3661
  [k: string]: unknown;
2398
3662
  };
@@ -2524,7 +3788,7 @@ export interface Modules {
2524
3788
  name?: I18NProperty59;
2525
3789
  location?: string;
2526
3790
  cacheable?: boolean;
2527
- conditions?: (CompositeCondition6 | SingleCondition4)[];
3791
+ conditions?: (SingleCondition4 | CompositeCondition6)[];
2528
3792
  key: ModuleKeySchema;
2529
3793
  [k: string]: unknown;
2530
3794
  },
@@ -2542,7 +3806,7 @@ export interface Modules {
2542
3806
  name?: I18NProperty59;
2543
3807
  location?: string;
2544
3808
  cacheable?: boolean;
2545
- conditions?: (CompositeCondition6 | SingleCondition4)[];
3809
+ conditions?: (SingleCondition4 | CompositeCondition6)[];
2546
3810
  key: ModuleKeySchema;
2547
3811
  [k: string]: unknown;
2548
3812
  }[]
@@ -2828,7 +4092,7 @@ export interface Modules {
2828
4092
  icon?: Icon18;
2829
4093
  name?: I18NProperty91;
2830
4094
  cacheable?: boolean;
2831
- conditions?: (CompositeCondition | SingleCondition)[];
4095
+ conditions?: (SingleCondition | CompositeCondition)[];
2832
4096
  params?: {
2833
4097
  [k: string]: unknown;
2834
4098
  };
@@ -2844,7 +4108,7 @@ export interface Modules {
2844
4108
  icon?: Icon18;
2845
4109
  name?: I18NProperty91;
2846
4110
  cacheable?: boolean;
2847
- conditions?: (CompositeCondition | SingleCondition)[];
4111
+ conditions?: (SingleCondition | CompositeCondition)[];
2848
4112
  params?: {
2849
4113
  [k: string]: unknown;
2850
4114
  };
@@ -2883,6 +4147,7 @@ export interface Modules {
2883
4147
  {
2884
4148
  installed?: string;
2885
4149
  disabled?: string;
4150
+ 'dare-migration'?: string;
2886
4151
  uninstalled?: string;
2887
4152
  enabled?: string;
2888
4153
  key: ModuleKeySchema;
@@ -2891,6 +4156,7 @@ export interface Modules {
2891
4156
  ...{
2892
4157
  installed?: string;
2893
4158
  disabled?: string;
4159
+ 'dare-migration'?: string;
2894
4160
  uninstalled?: string;
2895
4161
  enabled?: string;
2896
4162
  key: ModuleKeySchema;
@@ -3024,6 +4290,47 @@ export interface I18NProperty1 {
3024
4290
  i18n?: string;
3025
4291
  [k: string]: unknown;
3026
4292
  }
4293
+ /**
4294
+ *
4295
+ *
4296
+ * Composite Conditions are composed of a collection of [Single Condition](../single-condition/) / Composite Conditions
4297
+ * and a type attribute.
4298
+ *
4299
+ * <h3>Example</h3>
4300
+ *
4301
+ *
4302
+ *
4303
+ *
4304
+ *
4305
+ * {
4306
+ * "conditions": [
4307
+ * {
4308
+ * "or": [
4309
+ * {
4310
+ * "condition": "can_attach_file_to_issue",
4311
+ * "invert": false
4312
+ * },
4313
+ * {
4314
+ * "condition": "is_issue_assigned_to_current_user",
4315
+ * "invert": false
4316
+ * }
4317
+ * ]
4318
+ * },
4319
+ * {
4320
+ * "condition": "user_is_logged_in",
4321
+ * "invert": false
4322
+ * }
4323
+ * ]
4324
+ * }
4325
+ *
4326
+ *
4327
+ *
4328
+ */
4329
+ export interface CompositeCondition {
4330
+ conditions?: (ManifestSchema | SingleCondition)[];
4331
+ type?: 'and' | 'AND' | 'or' | 'OR';
4332
+ [k: string]: unknown;
4333
+ }
3027
4334
  /**
3028
4335
  *
3029
4336
  *
@@ -3055,47 +4362,6 @@ export interface SingleCondition {
3055
4362
  };
3056
4363
  [k: string]: unknown;
3057
4364
  }
3058
- /**
3059
- *
3060
- *
3061
- * Composite Conditions are composed of a collection of [Single Condition](../single-condition/) / Composite Conditions
3062
- * and a type attribute.
3063
- *
3064
- * <h3>Example</h3>
3065
- *
3066
- *
3067
- *
3068
- *
3069
- *
3070
- * {
3071
- * "conditions": [
3072
- * {
3073
- * "or": [
3074
- * {
3075
- * "condition": "can_attach_file_to_issue",
3076
- * "invert": false
3077
- * },
3078
- * {
3079
- * "condition": "is_issue_assigned_to_current_user",
3080
- * "invert": false
3081
- * }
3082
- * ]
3083
- * },
3084
- * {
3085
- * "condition": "user_is_logged_in",
3086
- * "invert": false
3087
- * }
3088
- * ]
3089
- * }
3090
- *
3091
- *
3092
- *
3093
- */
3094
- export interface CompositeCondition {
3095
- conditions?: (ManifestSchema | SingleCondition)[];
3096
- type?: 'and' | 'AND' | 'or' | 'OR';
3097
- [k: string]: unknown;
3098
- }
3099
4365
  /**
3100
4366
  *
3101
4367
  *
@@ -3439,10 +4705,47 @@ export interface Icon3 {
3439
4705
  *
3440
4706
  */
3441
4707
  export interface WebItemTarget {
3442
- options?: DialogOptions | InlineDialogOptions | DialogModuleOptions;
4708
+ options?: InlineDialogOptions | DialogOptions | DialogModuleOptions;
3443
4709
  type?: 'page' | 'PAGE' | 'dialog' | 'DIALOG' | 'inlinedialog' | 'INLINEDIALOG' | 'dialogmodule' | 'DIALOGMODULE';
3444
4710
  [k: string]: unknown;
3445
4711
  }
4712
+ /**
4713
+ *
4714
+ *
4715
+ * Options for an inline dialog target
4716
+ *
4717
+ * <h3>Example</h3>
4718
+ *
4719
+ *
4720
+ *
4721
+ *
4722
+ *
4723
+ * {
4724
+ * "target": {
4725
+ * "type": "inlinedialog",
4726
+ * "options": {
4727
+ * "onHover": true,
4728
+ * "offsetX": "30px",
4729
+ * "offsetY": "20px"
4730
+ * }
4731
+ * }
4732
+ * }
4733
+ *
4734
+ *
4735
+ *
4736
+ */
4737
+ export interface InlineDialogOptions {
4738
+ offsetX?: string;
4739
+ offsetY?: string;
4740
+ width?: string;
4741
+ onTop?: boolean;
4742
+ showDelay?: number;
4743
+ closeOthers?: boolean;
4744
+ persistent?: boolean;
4745
+ onHover?: boolean;
4746
+ isRelativeToMouse?: boolean;
4747
+ [k: string]: unknown;
4748
+ }
3446
4749
  /**
3447
4750
  *
3448
4751
  *
@@ -3541,43 +4844,6 @@ export interface I18NProperty9 {
3541
4844
  i18n?: string;
3542
4845
  [k: string]: unknown;
3543
4846
  }
3544
- /**
3545
- *
3546
- *
3547
- * Options for an inline dialog target
3548
- *
3549
- * <h3>Example</h3>
3550
- *
3551
- *
3552
- *
3553
- *
3554
- *
3555
- * {
3556
- * "target": {
3557
- * "type": "inlinedialog",
3558
- * "options": {
3559
- * "onHover": true,
3560
- * "offsetX": "30px",
3561
- * "offsetY": "20px"
3562
- * }
3563
- * }
3564
- * }
3565
- *
3566
- *
3567
- *
3568
- */
3569
- export interface InlineDialogOptions {
3570
- offsetX?: string;
3571
- offsetY?: string;
3572
- width?: string;
3573
- onTop?: boolean;
3574
- showDelay?: number;
3575
- closeOthers?: boolean;
3576
- persistent?: boolean;
3577
- onHover?: boolean;
3578
- isRelativeToMouse?: boolean;
3579
- [k: string]: unknown;
3580
- }
3581
4847
  /**
3582
4848
  *
3583
4849
  *
@@ -3666,7 +4932,7 @@ export interface I18NProperty10 {
3666
4932
  *
3667
4933
  */
3668
4934
  export interface CompositeCondition1 {
3669
- conditions?: (ManifestSchema | SingleCondition)[];
4935
+ conditions?: (SingleCondition | ManifestSchema)[];
3670
4936
  type?: 'and' | 'AND' | 'or' | 'OR';
3671
4937
  [k: string]: unknown;
3672
4938
  }
@@ -4603,37 +5869,6 @@ export interface I18NProperty33 {
4603
5869
  i18n?: string;
4604
5870
  [k: string]: unknown;
4605
5871
  }
4606
- /**
4607
- *
4608
- *
4609
- * Single Conditions are either provided by the host application. See the complete documentation of
4610
- * [Conditions](../../conditions/) for more information.
4611
- *
4612
- * To invert a condition, add the attribute ``invert="true"`` to the condition element.
4613
- * This is useful where you want to show the section if a certain condition is not satisfied.
4614
- *
4615
- * <h3>Example</h3>
4616
- *
4617
- *
4618
- *
4619
- *
4620
- *
4621
- * {
4622
- * "condition": "user_is_logged_in",
4623
- * "invert": false
4624
- * }
4625
- *
4626
- *
4627
- *
4628
- */
4629
- export interface SingleCondition2 {
4630
- condition: string;
4631
- invert?: boolean;
4632
- params?: {
4633
- [k: string]: unknown;
4634
- };
4635
- [k: string]: unknown;
4636
- }
4637
5872
  /**
4638
5873
  *
4639
5874
  *
@@ -4712,10 +5947,41 @@ export interface CompositeCondition2 {
4712
5947
  *
4713
5948
  */
4714
5949
  export interface CompositeCondition3 {
4715
- conditions?: (SingleCondition | ManifestSchema)[];
5950
+ conditions?: (ManifestSchema | SingleCondition)[];
4716
5951
  type?: 'and' | 'AND' | 'or' | 'OR';
4717
5952
  [k: string]: unknown;
4718
5953
  }
5954
+ /**
5955
+ *
5956
+ *
5957
+ * Single Conditions are either provided by the host application. See the complete documentation of
5958
+ * [Conditions](../../conditions/) for more information.
5959
+ *
5960
+ * To invert a condition, add the attribute ``invert="true"`` to the condition element.
5961
+ * This is useful where you want to show the section if a certain condition is not satisfied.
5962
+ *
5963
+ * <h3>Example</h3>
5964
+ *
5965
+ *
5966
+ *
5967
+ *
5968
+ *
5969
+ * {
5970
+ * "condition": "user_is_logged_in",
5971
+ * "invert": false
5972
+ * }
5973
+ *
5974
+ *
5975
+ *
5976
+ */
5977
+ export interface SingleCondition2 {
5978
+ condition: string;
5979
+ invert?: boolean;
5980
+ params?: {
5981
+ [k: string]: unknown;
5982
+ };
5983
+ [k: string]: unknown;
5984
+ }
4719
5985
  /**
4720
5986
  *
4721
5987
  *
@@ -4908,37 +6174,6 @@ export interface I18NProperty38 {
4908
6174
  i18n?: string;
4909
6175
  [k: string]: unknown;
4910
6176
  }
4911
- /**
4912
- *
4913
- *
4914
- * Single Conditions are either provided by the host application. See the complete documentation of
4915
- * [Conditions](../../conditions/) for more information.
4916
- *
4917
- * To invert a condition, add the attribute ``invert="true"`` to the condition element.
4918
- * This is useful where you want to show the section if a certain condition is not satisfied.
4919
- *
4920
- * <h3>Example</h3>
4921
- *
4922
- *
4923
- *
4924
- *
4925
- *
4926
- * {
4927
- * "condition": "user_is_logged_in",
4928
- * "invert": false
4929
- * }
4930
- *
4931
- *
4932
- *
4933
- */
4934
- export interface SingleCondition3 {
4935
- condition: string;
4936
- invert?: boolean;
4937
- params?: {
4938
- [k: string]: unknown;
4939
- };
4940
- [k: string]: unknown;
4941
- }
4942
6177
  /**
4943
6178
  *
4944
6179
  *
@@ -5017,10 +6252,41 @@ export interface CompositeCondition4 {
5017
6252
  *
5018
6253
  */
5019
6254
  export interface CompositeCondition5 {
5020
- conditions?: (SingleCondition | ManifestSchema)[];
6255
+ conditions?: (ManifestSchema | SingleCondition)[];
5021
6256
  type?: 'and' | 'AND' | 'or' | 'OR';
5022
6257
  [k: string]: unknown;
5023
6258
  }
6259
+ /**
6260
+ *
6261
+ *
6262
+ * Single Conditions are either provided by the host application. See the complete documentation of
6263
+ * [Conditions](../../conditions/) for more information.
6264
+ *
6265
+ * To invert a condition, add the attribute ``invert="true"`` to the condition element.
6266
+ * This is useful where you want to show the section if a certain condition is not satisfied.
6267
+ *
6268
+ * <h3>Example</h3>
6269
+ *
6270
+ *
6271
+ *
6272
+ *
6273
+ *
6274
+ * {
6275
+ * "condition": "user_is_logged_in",
6276
+ * "invert": false
6277
+ * }
6278
+ *
6279
+ *
6280
+ *
6281
+ */
6282
+ export interface SingleCondition3 {
6283
+ condition: string;
6284
+ invert?: boolean;
6285
+ params?: {
6286
+ [k: string]: unknown;
6287
+ };
6288
+ [k: string]: unknown;
6289
+ }
5024
6290
  /**
5025
6291
  *
5026
6292
  *
@@ -5210,6 +6476,18 @@ export interface URL8 {
5210
6476
  url: string;
5211
6477
  [k: string]: unknown;
5212
6478
  }
6479
+ /**
6480
+ *
6481
+ *
6482
+ * A Jira expression that will be evaluated if the workflow validator fails.
6483
+ * The string returned by the Jira expression will be displayed as the error message for the failed transition.
6484
+ *
6485
+ *
6486
+ */
6487
+ export interface JiraExpressionErrorMessage {
6488
+ expression: string;
6489
+ [k: string]: unknown;
6490
+ }
5213
6491
  /**
5214
6492
  *
5215
6493
  *
@@ -5234,18 +6512,6 @@ export interface I18NProperty45 {
5234
6512
  i18n?: string;
5235
6513
  [k: string]: unknown;
5236
6514
  }
5237
- /**
5238
- *
5239
- *
5240
- * A Jira expression that will be evaluated if the workflow validator fails.
5241
- * The string returned by the Jira expression will be displayed as the error message for the failed transition.
5242
- *
5243
- *
5244
- */
5245
- export interface JiraExpressionErrorMessage {
5246
- expression: string;
5247
- [k: string]: unknown;
5248
- }
5249
6515
  /**
5250
6516
  *
5251
6517
  *
@@ -5959,6 +7225,37 @@ export interface I18NProperty59 {
5959
7225
  i18n?: string;
5960
7226
  [k: string]: unknown;
5961
7227
  }
7228
+ /**
7229
+ *
7230
+ *
7231
+ * Single Conditions are either provided by the host application. See the complete documentation of
7232
+ * [Conditions](../../conditions/) for more information.
7233
+ *
7234
+ * To invert a condition, add the attribute ``invert="true"`` to the condition element.
7235
+ * This is useful where you want to show the section if a certain condition is not satisfied.
7236
+ *
7237
+ * <h3>Example</h3>
7238
+ *
7239
+ *
7240
+ *
7241
+ *
7242
+ *
7243
+ * {
7244
+ * "condition": "user_is_logged_in",
7245
+ * "invert": false
7246
+ * }
7247
+ *
7248
+ *
7249
+ *
7250
+ */
7251
+ export interface SingleCondition4 {
7252
+ condition: string;
7253
+ invert?: boolean;
7254
+ params?: {
7255
+ [k: string]: unknown;
7256
+ };
7257
+ [k: string]: unknown;
7258
+ }
5962
7259
  /**
5963
7260
  *
5964
7261
  *
@@ -5996,41 +7293,10 @@ export interface I18NProperty59 {
5996
7293
  *
5997
7294
  */
5998
7295
  export interface CompositeCondition6 {
5999
- conditions?: (SingleCondition | ManifestSchema)[];
7296
+ conditions?: (ManifestSchema | SingleCondition)[];
6000
7297
  type?: 'and' | 'AND' | 'or' | 'OR';
6001
7298
  [k: string]: unknown;
6002
7299
  }
6003
- /**
6004
- *
6005
- *
6006
- * Single Conditions are either provided by the host application. See the complete documentation of
6007
- * [Conditions](../../conditions/) for more information.
6008
- *
6009
- * To invert a condition, add the attribute ``invert="true"`` to the condition element.
6010
- * This is useful where you want to show the section if a certain condition is not satisfied.
6011
- *
6012
- * <h3>Example</h3>
6013
- *
6014
- *
6015
- *
6016
- *
6017
- *
6018
- * {
6019
- * "condition": "user_is_logged_in",
6020
- * "invert": false
6021
- * }
6022
- *
6023
- *
6024
- *
6025
- */
6026
- export interface SingleCondition4 {
6027
- condition: string;
6028
- invert?: boolean;
6029
- params?: {
6030
- [k: string]: unknown;
6031
- };
6032
- [k: string]: unknown;
6033
- }
6034
7300
  /**
6035
7301
  *
6036
7302
  *
@@ -7876,7 +9142,7 @@ export interface I18NProperty74 {
7876
9142
  *
7877
9143
  */
7878
9144
  export interface MacroPropertyPanel {
7879
- controls?: (TextControl | ControlGroup | ButtonControl1 | ToggleGroup)[];
9145
+ controls?: (ToggleGroup | ControlGroup | TextControl | ButtonControl1)[];
7880
9146
  cacheable?: boolean;
7881
9147
  url: string;
7882
9148
  [k: string]: unknown;
@@ -7884,35 +9150,7 @@ export interface MacroPropertyPanel {
7884
9150
  /**
7885
9151
  *
7886
9152
  *
7887
- * Defines a text field which may appear in control extension points such as the property panel
7888
- *
7889
- * <p><b>Example</b></p>
7890
- *
7891
- *
7892
- *
7893
- *
7894
- *
7895
- * {
7896
- * "type": "button",
7897
- * "label": {
7898
- * "value": "My Custom Control 0"
7899
- * },
7900
- * "key": "my-custom-control-0"
7901
- * }
7902
- *
7903
- *
7904
- *
7905
- */
7906
- export interface TextControl {
7907
- macroParameter: string;
7908
- type: 'text' | 'TEXT';
7909
- key: string;
7910
- [k: string]: unknown;
7911
- }
7912
- /**
7913
- *
7914
- *
7915
- * Defines a ControlGroup which may appear in control extension points such as the property panel
9153
+ * Defines a ToggleGroup which may appear in control extension points such as the property panel
7916
9154
  *
7917
9155
  * <p><b>Example</b></p>
7918
9156
  *
@@ -7922,21 +9160,24 @@ export interface TextControl {
7922
9160
  *
7923
9161
  * [
7924
9162
  * {
7925
- * "type": "group",
9163
+ * "type": "togglegroup",
9164
+ * "macroParameter": "toggleGroupMacroParameter",
7926
9165
  * "controls": [
7927
9166
  * {
7928
- * "type": "button",
9167
+ * "type": "togglebutton",
9168
+ * "macroParameterValue": "macroParameterValue 0",
7929
9169
  * "label": {
7930
9170
  * "value": "My Custom Control 0"
7931
9171
  * },
7932
- * "key": "my-custom-control-0"
9172
+ * "key": "my-custom-toggle-button-0"
7933
9173
  * },
7934
9174
  * {
7935
- * "type": "button",
9175
+ * "type": "togglebutton",
9176
+ * "macroParameterValue": "macroParameterValue 1",
7936
9177
  * "label": {
7937
9178
  * "value": "My Custom Control 1"
7938
9179
  * },
7939
- * "key": "my-custom-control-1"
9180
+ * "key": "my-custom-toggle-button-1"
7940
9181
  * }
7941
9182
  * ]
7942
9183
  * }
@@ -7945,15 +9186,16 @@ export interface TextControl {
7945
9186
  *
7946
9187
  *
7947
9188
  */
7948
- export interface ControlGroup {
7949
- controls: ButtonControl[];
7950
- type: 'group' | 'GROUP';
9189
+ export interface ToggleGroup {
9190
+ controls: ToggleButtonControl[];
9191
+ macroParameter: string;
9192
+ type: 'togglegroup' | 'TOGGLEGROUP';
7951
9193
  [k: string]: unknown;
7952
9194
  }
7953
9195
  /**
7954
9196
  *
7955
9197
  *
7956
- * Defines a button which may appear in control extension points such as the property panel
9198
+ * Defines a toggle button which appears inside a ToggleGroup
7957
9199
  *
7958
9200
  * <p><b>Example</b></p>
7959
9201
  *
@@ -7962,19 +9204,21 @@ export interface ControlGroup {
7962
9204
  *
7963
9205
  *
7964
9206
  * {
7965
- * "type": "button",
9207
+ * "type": "togglebutton",
9208
+ * "macroParameterValue": "macroParameterValue 0",
7966
9209
  * "label": {
7967
9210
  * "value": "My Custom Control 0"
7968
9211
  * },
7969
- * "key": "my-custom-control-0"
9212
+ * "key": "my-custom-toggle-button-0"
7970
9213
  * }
7971
9214
  *
7972
9215
  *
7973
9216
  *
7974
9217
  */
7975
- export interface ButtonControl {
9218
+ export interface ToggleButtonControl {
9219
+ macroParameterValue: string;
7976
9220
  label: I18NProperty75;
7977
- type: 'button' | 'BUTTON';
9221
+ type: 'togglebutton' | 'TOGGLEBUTTON';
7978
9222
  key: string;
7979
9223
  [k: string]: unknown;
7980
9224
  }
@@ -8002,6 +9246,47 @@ export interface I18NProperty75 {
8002
9246
  i18n?: string;
8003
9247
  [k: string]: unknown;
8004
9248
  }
9249
+ /**
9250
+ *
9251
+ *
9252
+ * Defines a ControlGroup which may appear in control extension points such as the property panel
9253
+ *
9254
+ * <p><b>Example</b></p>
9255
+ *
9256
+ *
9257
+ *
9258
+ *
9259
+ *
9260
+ * [
9261
+ * {
9262
+ * "type": "group",
9263
+ * "controls": [
9264
+ * {
9265
+ * "type": "button",
9266
+ * "label": {
9267
+ * "value": "My Custom Control 0"
9268
+ * },
9269
+ * "key": "my-custom-control-0"
9270
+ * },
9271
+ * {
9272
+ * "type": "button",
9273
+ * "label": {
9274
+ * "value": "My Custom Control 1"
9275
+ * },
9276
+ * "key": "my-custom-control-1"
9277
+ * }
9278
+ * ]
9279
+ * }
9280
+ * ]
9281
+ *
9282
+ *
9283
+ *
9284
+ */
9285
+ export interface ControlGroup {
9286
+ controls: ButtonControl[];
9287
+ type: 'group' | 'GROUP';
9288
+ [k: string]: unknown;
9289
+ }
8005
9290
  /**
8006
9291
  *
8007
9292
  *
@@ -8024,7 +9309,7 @@ export interface I18NProperty75 {
8024
9309
  *
8025
9310
  *
8026
9311
  */
8027
- export interface ButtonControl1 {
9312
+ export interface ButtonControl {
8028
9313
  label: I18NProperty76;
8029
9314
  type: 'button' | 'BUTTON';
8030
9315
  key: string;
@@ -8057,7 +9342,7 @@ export interface I18NProperty76 {
8057
9342
  /**
8058
9343
  *
8059
9344
  *
8060
- * Defines a ToggleGroup which may appear in control extension points such as the property panel
9345
+ * Defines a text field which may appear in control extension points such as the property panel
8061
9346
  *
8062
9347
  * <p><b>Example</b></p>
8063
9348
  *
@@ -8065,44 +9350,27 @@ export interface I18NProperty76 {
8065
9350
  *
8066
9351
  *
8067
9352
  *
8068
- * [
8069
- * {
8070
- * "type": "togglegroup",
8071
- * "macroParameter": "toggleGroupMacroParameter",
8072
- * "controls": [
8073
- * {
8074
- * "type": "togglebutton",
8075
- * "macroParameterValue": "macroParameterValue 0",
8076
- * "label": {
8077
- * "value": "My Custom Control 0"
8078
- * },
8079
- * "key": "my-custom-toggle-button-0"
8080
- * },
8081
- * {
8082
- * "type": "togglebutton",
8083
- * "macroParameterValue": "macroParameterValue 1",
8084
- * "label": {
8085
- * "value": "My Custom Control 1"
8086
- * },
8087
- * "key": "my-custom-toggle-button-1"
8088
- * }
8089
- * ]
8090
- * }
8091
- * ]
9353
+ * {
9354
+ * "type": "button",
9355
+ * "label": {
9356
+ * "value": "My Custom Control 0"
9357
+ * },
9358
+ * "key": "my-custom-control-0"
9359
+ * }
8092
9360
  *
8093
9361
  *
8094
9362
  *
8095
9363
  */
8096
- export interface ToggleGroup {
8097
- controls: ToggleButtonControl[];
9364
+ export interface TextControl {
8098
9365
  macroParameter: string;
8099
- type: 'togglegroup' | 'TOGGLEGROUP';
9366
+ type: 'text' | 'TEXT';
9367
+ key: string;
8100
9368
  [k: string]: unknown;
8101
9369
  }
8102
9370
  /**
8103
9371
  *
8104
9372
  *
8105
- * Defines a toggle button which appears inside a ToggleGroup
9373
+ * Defines a button which may appear in control extension points such as the property panel
8106
9374
  *
8107
9375
  * <p><b>Example</b></p>
8108
9376
  *
@@ -8111,21 +9379,19 @@ export interface ToggleGroup {
8111
9379
  *
8112
9380
  *
8113
9381
  * {
8114
- * "type": "togglebutton",
8115
- * "macroParameterValue": "macroParameterValue 0",
9382
+ * "type": "button",
8116
9383
  * "label": {
8117
9384
  * "value": "My Custom Control 0"
8118
9385
  * },
8119
- * "key": "my-custom-toggle-button-0"
9386
+ * "key": "my-custom-control-0"
8120
9387
  * }
8121
9388
  *
8122
9389
  *
8123
9390
  *
8124
9391
  */
8125
- export interface ToggleButtonControl {
8126
- macroParameterValue: string;
9392
+ export interface ButtonControl1 {
8127
9393
  label: I18NProperty77;
8128
- type: 'togglebutton' | 'TOGGLEBUTTON';
9394
+ type: 'button' | 'BUTTON';
8129
9395
  key: string;
8130
9396
  [k: string]: unknown;
8131
9397
  }
@@ -29121,7 +30387,7 @@ export interface I18NProperty83 {
29121
30387
  *
29122
30388
  */
29123
30389
  export interface MacroPropertyPanel1 {
29124
- controls?: (ButtonControl2 | ToggleGroup1 | TextControl1 | ControlGroup1)[];
30390
+ controls?: (ButtonControl2 | ControlGroup1 | ToggleGroup1 | TextControl1)[];
29125
30391
  cacheable?: boolean;
29126
30392
  url: string;
29127
30393
  [k: string]: unknown;
@@ -29181,7 +30447,7 @@ export interface I18NProperty84 {
29181
30447
  /**
29182
30448
  *
29183
30449
  *
29184
- * Defines a ToggleGroup which may appear in control extension points such as the property panel
30450
+ * Defines a ControlGroup which may appear in control extension points such as the property panel
29185
30451
  *
29186
30452
  * <p><b>Example</b></p>
29187
30453
  *
@@ -29191,24 +30457,21 @@ export interface I18NProperty84 {
29191
30457
  *
29192
30458
  * [
29193
30459
  * {
29194
- * "type": "togglegroup",
29195
- * "macroParameter": "toggleGroupMacroParameter",
30460
+ * "type": "group",
29196
30461
  * "controls": [
29197
30462
  * {
29198
- * "type": "togglebutton",
29199
- * "macroParameterValue": "macroParameterValue 0",
30463
+ * "type": "button",
29200
30464
  * "label": {
29201
30465
  * "value": "My Custom Control 0"
29202
30466
  * },
29203
- * "key": "my-custom-toggle-button-0"
30467
+ * "key": "my-custom-control-0"
29204
30468
  * },
29205
30469
  * {
29206
- * "type": "togglebutton",
29207
- * "macroParameterValue": "macroParameterValue 1",
30470
+ * "type": "button",
29208
30471
  * "label": {
29209
30472
  * "value": "My Custom Control 1"
29210
30473
  * },
29211
- * "key": "my-custom-toggle-button-1"
30474
+ * "key": "my-custom-control-1"
29212
30475
  * }
29213
30476
  * ]
29214
30477
  * }
@@ -29217,16 +30480,15 @@ export interface I18NProperty84 {
29217
30480
  *
29218
30481
  *
29219
30482
  */
29220
- export interface ToggleGroup1 {
29221
- controls: ToggleButtonControl1[];
29222
- macroParameter: string;
29223
- type: 'togglegroup' | 'TOGGLEGROUP';
30483
+ export interface ControlGroup1 {
30484
+ controls: ButtonControl3[];
30485
+ type: 'group' | 'GROUP';
29224
30486
  [k: string]: unknown;
29225
30487
  }
29226
30488
  /**
29227
30489
  *
29228
30490
  *
29229
- * Defines a toggle button which appears inside a ToggleGroup
30491
+ * Defines a button which may appear in control extension points such as the property panel
29230
30492
  *
29231
30493
  * <p><b>Example</b></p>
29232
30494
  *
@@ -29235,21 +30497,19 @@ export interface ToggleGroup1 {
29235
30497
  *
29236
30498
  *
29237
30499
  * {
29238
- * "type": "togglebutton",
29239
- * "macroParameterValue": "macroParameterValue 0",
30500
+ * "type": "button",
29240
30501
  * "label": {
29241
30502
  * "value": "My Custom Control 0"
29242
30503
  * },
29243
- * "key": "my-custom-toggle-button-0"
30504
+ * "key": "my-custom-control-0"
29244
30505
  * }
29245
30506
  *
29246
30507
  *
29247
30508
  *
29248
30509
  */
29249
- export interface ToggleButtonControl1 {
29250
- macroParameterValue: string;
30510
+ export interface ButtonControl3 {
29251
30511
  label: I18NProperty85;
29252
- type: 'togglebutton' | 'TOGGLEBUTTON';
30512
+ type: 'button' | 'BUTTON';
29253
30513
  key: string;
29254
30514
  [k: string]: unknown;
29255
30515
  }
@@ -29280,35 +30540,7 @@ export interface I18NProperty85 {
29280
30540
  /**
29281
30541
  *
29282
30542
  *
29283
- * Defines a text field which may appear in control extension points such as the property panel
29284
- *
29285
- * <p><b>Example</b></p>
29286
- *
29287
- *
29288
- *
29289
- *
29290
- *
29291
- * {
29292
- * "type": "button",
29293
- * "label": {
29294
- * "value": "My Custom Control 0"
29295
- * },
29296
- * "key": "my-custom-control-0"
29297
- * }
29298
- *
29299
- *
29300
- *
29301
- */
29302
- export interface TextControl1 {
29303
- macroParameter: string;
29304
- type: 'text' | 'TEXT';
29305
- key: string;
29306
- [k: string]: unknown;
29307
- }
29308
- /**
29309
- *
29310
- *
29311
- * Defines a ControlGroup which may appear in control extension points such as the property panel
30543
+ * Defines a ToggleGroup which may appear in control extension points such as the property panel
29312
30544
  *
29313
30545
  * <p><b>Example</b></p>
29314
30546
  *
@@ -29318,21 +30550,24 @@ export interface TextControl1 {
29318
30550
  *
29319
30551
  * [
29320
30552
  * {
29321
- * "type": "group",
30553
+ * "type": "togglegroup",
30554
+ * "macroParameter": "toggleGroupMacroParameter",
29322
30555
  * "controls": [
29323
30556
  * {
29324
- * "type": "button",
30557
+ * "type": "togglebutton",
30558
+ * "macroParameterValue": "macroParameterValue 0",
29325
30559
  * "label": {
29326
30560
  * "value": "My Custom Control 0"
29327
30561
  * },
29328
- * "key": "my-custom-control-0"
30562
+ * "key": "my-custom-toggle-button-0"
29329
30563
  * },
29330
30564
  * {
29331
- * "type": "button",
30565
+ * "type": "togglebutton",
30566
+ * "macroParameterValue": "macroParameterValue 1",
29332
30567
  * "label": {
29333
30568
  * "value": "My Custom Control 1"
29334
30569
  * },
29335
- * "key": "my-custom-control-1"
30570
+ * "key": "my-custom-toggle-button-1"
29336
30571
  * }
29337
30572
  * ]
29338
30573
  * }
@@ -29341,15 +30576,16 @@ export interface TextControl1 {
29341
30576
  *
29342
30577
  *
29343
30578
  */
29344
- export interface ControlGroup1 {
29345
- controls: ButtonControl3[];
29346
- type: 'group' | 'GROUP';
30579
+ export interface ToggleGroup1 {
30580
+ controls: ToggleButtonControl1[];
30581
+ macroParameter: string;
30582
+ type: 'togglegroup' | 'TOGGLEGROUP';
29347
30583
  [k: string]: unknown;
29348
30584
  }
29349
30585
  /**
29350
30586
  *
29351
30587
  *
29352
- * Defines a button which may appear in control extension points such as the property panel
30588
+ * Defines a toggle button which appears inside a ToggleGroup
29353
30589
  *
29354
30590
  * <p><b>Example</b></p>
29355
30591
  *
@@ -29358,19 +30594,21 @@ export interface ControlGroup1 {
29358
30594
  *
29359
30595
  *
29360
30596
  * {
29361
- * "type": "button",
30597
+ * "type": "togglebutton",
30598
+ * "macroParameterValue": "macroParameterValue 0",
29362
30599
  * "label": {
29363
30600
  * "value": "My Custom Control 0"
29364
30601
  * },
29365
- * "key": "my-custom-control-0"
30602
+ * "key": "my-custom-toggle-button-0"
29366
30603
  * }
29367
30604
  *
29368
30605
  *
29369
30606
  *
29370
30607
  */
29371
- export interface ButtonControl3 {
30608
+ export interface ToggleButtonControl1 {
30609
+ macroParameterValue: string;
29372
30610
  label: I18NProperty86;
29373
- type: 'button' | 'BUTTON';
30611
+ type: 'togglebutton' | 'TOGGLEBUTTON';
29374
30612
  key: string;
29375
30613
  [k: string]: unknown;
29376
30614
  }
@@ -29398,6 +30636,34 @@ export interface I18NProperty86 {
29398
30636
  i18n?: string;
29399
30637
  [k: string]: unknown;
29400
30638
  }
30639
+ /**
30640
+ *
30641
+ *
30642
+ * Defines a text field which may appear in control extension points such as the property panel
30643
+ *
30644
+ * <p><b>Example</b></p>
30645
+ *
30646
+ *
30647
+ *
30648
+ *
30649
+ *
30650
+ * {
30651
+ * "type": "button",
30652
+ * "label": {
30653
+ * "value": "My Custom Control 0"
30654
+ * },
30655
+ * "key": "my-custom-control-0"
30656
+ * }
30657
+ *
30658
+ *
30659
+ *
30660
+ */
30661
+ export interface TextControl1 {
30662
+ macroParameter: string;
30663
+ type: 'text' | 'TEXT';
30664
+ key: string;
30665
+ [k: string]: unknown;
30666
+ }
29401
30667
  /**
29402
30668
  *
29403
30669
  *
@@ -50175,119 +51441,217 @@ export interface Icon18 {
50175
51441
  *
50176
51442
  *
50177
51443
  */
50178
- export interface I18NProperty91 {
51444
+ export interface I18NProperty91 {
51445
+ value: string;
51446
+ i18n?: string;
51447
+ [k: string]: unknown;
51448
+ }
51449
+ /**
51450
+ *
51451
+ *
51452
+ * 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.
51453
+ *
51454
+ * <h2>Inline Dialog Example</h2>
51455
+ *
51456
+ *
51457
+ *
51458
+ *
51459
+ *
51460
+ * {
51461
+ * "target": {
51462
+ * "type": "inlinedialog",
51463
+ * "options": {
51464
+ * "onHover": true,
51465
+ * "offsetX": "30px",
51466
+ * "offsetY": "20px"
51467
+ * }
51468
+ * }
51469
+ * }
51470
+ *
51471
+ *
51472
+ *
51473
+ *
51474
+ * <h2>Dialog Example</h2>
51475
+ *
51476
+ *
51477
+ *
51478
+ *
51479
+ *
51480
+ * {
51481
+ * "target": {
51482
+ * "type": "dialog",
51483
+ * "options": {
51484
+ * "height": "100px",
51485
+ * "width": "200px"
51486
+ * }
51487
+ * }
51488
+ * }
51489
+ *
51490
+ *
51491
+ *
51492
+ *
51493
+ * <h2>Common Dialog Module Example</h2>
51494
+ *
51495
+ *
51496
+ *
51497
+ *
51498
+ *
51499
+ * {
51500
+ * "target": {
51501
+ * "type": "dialogmodule",
51502
+ * "options": {
51503
+ * "key": "dialog-module-key"
51504
+ * }
51505
+ * }
51506
+ * }
51507
+ *
51508
+ *
51509
+ *
51510
+ *
51511
+ * <p>More details for this use-case can be found on the <a href="../dialog/">Dialog Module</a> page.</p>
51512
+ *
51513
+ *
51514
+ */
51515
+ export interface WebItemTarget2 {
51516
+ options?: InlineDialogOptions2 | DialogOptions4 | DialogModuleOptions2;
51517
+ type?: 'page' | 'PAGE' | 'dialog' | 'DIALOG' | 'inlinedialog' | 'INLINEDIALOG' | 'dialogmodule' | 'DIALOGMODULE';
51518
+ [k: string]: unknown;
51519
+ }
51520
+ /**
51521
+ *
51522
+ *
51523
+ * Options for an inline dialog target
51524
+ *
51525
+ * <h3>Example</h3>
51526
+ *
51527
+ *
51528
+ *
51529
+ *
51530
+ *
51531
+ * {
51532
+ * "target": {
51533
+ * "type": "inlinedialog",
51534
+ * "options": {
51535
+ * "onHover": true,
51536
+ * "offsetX": "30px",
51537
+ * "offsetY": "20px"
51538
+ * }
51539
+ * }
51540
+ * }
51541
+ *
51542
+ *
51543
+ *
51544
+ */
51545
+ export interface InlineDialogOptions2 {
51546
+ offsetX?: string;
51547
+ offsetY?: string;
51548
+ width?: string;
51549
+ onTop?: boolean;
51550
+ showDelay?: number;
51551
+ closeOthers?: boolean;
51552
+ persistent?: boolean;
51553
+ onHover?: boolean;
51554
+ isRelativeToMouse?: boolean;
51555
+ [k: string]: unknown;
51556
+ }
51557
+ /**
51558
+ *
51559
+ *
51560
+ * Options for a modal dialog <a href="../web-item-target/">web item target</a> or <a href="../dialog/">common module</a>.
51561
+ *
51562
+ * <p>
51563
+ * These options are a subset of those available via the <a href="../../jsapi/dialog/">JavaScript API</a>.
51564
+ * </p>
51565
+ *
51566
+ * <h2>Web Item Example</h2>
51567
+ *
51568
+ *
51569
+ *
51570
+ *
51571
+ *
51572
+ * {
51573
+ * "target": {
51574
+ * "type": "dialog",
51575
+ * "options": {
51576
+ * "height": "100px",
51577
+ * "width": "200px"
51578
+ * }
51579
+ * }
51580
+ * }
51581
+ *
51582
+ *
51583
+ *
51584
+ *
51585
+ * <h2>Dialog Example</h2>
51586
+ *
51587
+ *
51588
+ *
51589
+ *
51590
+ *
51591
+ * {
51592
+ * "modules": {
51593
+ * "dialogs": [
51594
+ * {
51595
+ * "url": "/my-dialog-content",
51596
+ * "options": {
51597
+ * "size": "fullscreen",
51598
+ * "header": {
51599
+ * "value": "Example Dialog"
51600
+ * }
51601
+ * },
51602
+ * "key": "dialog-module-key"
51603
+ * }
51604
+ * ]
51605
+ * }
51606
+ * }
51607
+ *
51608
+ *
51609
+ *
51610
+ */
51611
+ export interface DialogOptions4 {
51612
+ size?:
51613
+ | 'small'
51614
+ | 'SMALL'
51615
+ | 'medium'
51616
+ | 'MEDIUM'
51617
+ | 'large'
51618
+ | 'LARGE'
51619
+ | 'x-large'
51620
+ | 'X-LARGE'
51621
+ | 'fullscreen'
51622
+ | 'FULLSCREEN'
51623
+ | 'maximum'
51624
+ | 'MAXIMUM';
51625
+ chrome?: boolean;
51626
+ width?: string;
51627
+ header?: I18NProperty92;
51628
+ height?: string;
51629
+ [k: string]: unknown;
51630
+ }
51631
+ /**
51632
+ *
51633
+ *
51634
+ * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
51635
+ * and value in multiple places if you like, but identical keys must have identical values.
51636
+ *
51637
+ * <h3>Example</h3>
51638
+ *
51639
+ *
51640
+ *
51641
+ *
51642
+ *
51643
+ * {
51644
+ * "value": "My text"
51645
+ * }
51646
+ *
51647
+ *
51648
+ *
51649
+ */
51650
+ export interface I18NProperty92 {
50179
51651
  value: string;
50180
51652
  i18n?: string;
50181
51653
  [k: string]: unknown;
50182
51654
  }
50183
- /**
50184
- *
50185
- *
50186
- * 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.
50187
- *
50188
- * <h2>Inline Dialog Example</h2>
50189
- *
50190
- *
50191
- *
50192
- *
50193
- *
50194
- * {
50195
- * "target": {
50196
- * "type": "inlinedialog",
50197
- * "options": {
50198
- * "onHover": true,
50199
- * "offsetX": "30px",
50200
- * "offsetY": "20px"
50201
- * }
50202
- * }
50203
- * }
50204
- *
50205
- *
50206
- *
50207
- *
50208
- * <h2>Dialog Example</h2>
50209
- *
50210
- *
50211
- *
50212
- *
50213
- *
50214
- * {
50215
- * "target": {
50216
- * "type": "dialog",
50217
- * "options": {
50218
- * "height": "100px",
50219
- * "width": "200px"
50220
- * }
50221
- * }
50222
- * }
50223
- *
50224
- *
50225
- *
50226
- *
50227
- * <h2>Common Dialog Module Example</h2>
50228
- *
50229
- *
50230
- *
50231
- *
50232
- *
50233
- * {
50234
- * "target": {
50235
- * "type": "dialogmodule",
50236
- * "options": {
50237
- * "key": "dialog-module-key"
50238
- * }
50239
- * }
50240
- * }
50241
- *
50242
- *
50243
- *
50244
- *
50245
- * <p>More details for this use-case can be found on the <a href="../dialog/">Dialog Module</a> page.</p>
50246
- *
50247
- *
50248
- */
50249
- export interface WebItemTarget2 {
50250
- options?: InlineDialogOptions2 | DialogModuleOptions2 | DialogOptions4;
50251
- type?: 'page' | 'PAGE' | 'dialog' | 'DIALOG' | 'inlinedialog' | 'INLINEDIALOG' | 'dialogmodule' | 'DIALOGMODULE';
50252
- [k: string]: unknown;
50253
- }
50254
- /**
50255
- *
50256
- *
50257
- * Options for an inline dialog target
50258
- *
50259
- * <h3>Example</h3>
50260
- *
50261
- *
50262
- *
50263
- *
50264
- *
50265
- * {
50266
- * "target": {
50267
- * "type": "inlinedialog",
50268
- * "options": {
50269
- * "onHover": true,
50270
- * "offsetX": "30px",
50271
- * "offsetY": "20px"
50272
- * }
50273
- * }
50274
- * }
50275
- *
50276
- *
50277
- *
50278
- */
50279
- export interface InlineDialogOptions2 {
50280
- offsetX?: string;
50281
- offsetY?: string;
50282
- width?: string;
50283
- onTop?: boolean;
50284
- showDelay?: number;
50285
- closeOthers?: boolean;
50286
- persistent?: boolean;
50287
- onHover?: boolean;
50288
- isRelativeToMouse?: boolean;
50289
- [k: string]: unknown;
50290
- }
50291
51655
  /**
50292
51656
  *
50293
51657
  *
@@ -50315,104 +51679,6 @@ export interface DialogModuleOptions2 {
50315
51679
  key: string;
50316
51680
  [k: string]: unknown;
50317
51681
  }
50318
- /**
50319
- *
50320
- *
50321
- * Options for a modal dialog <a href="../web-item-target/">web item target</a> or <a href="../dialog/">common module</a>.
50322
- *
50323
- * <p>
50324
- * These options are a subset of those available via the <a href="../../jsapi/dialog/">JavaScript API</a>.
50325
- * </p>
50326
- *
50327
- * <h2>Web Item Example</h2>
50328
- *
50329
- *
50330
- *
50331
- *
50332
- *
50333
- * {
50334
- * "target": {
50335
- * "type": "dialog",
50336
- * "options": {
50337
- * "height": "100px",
50338
- * "width": "200px"
50339
- * }
50340
- * }
50341
- * }
50342
- *
50343
- *
50344
- *
50345
- *
50346
- * <h2>Dialog Example</h2>
50347
- *
50348
- *
50349
- *
50350
- *
50351
- *
50352
- * {
50353
- * "modules": {
50354
- * "dialogs": [
50355
- * {
50356
- * "url": "/my-dialog-content",
50357
- * "options": {
50358
- * "size": "fullscreen",
50359
- * "header": {
50360
- * "value": "Example Dialog"
50361
- * }
50362
- * },
50363
- * "key": "dialog-module-key"
50364
- * }
50365
- * ]
50366
- * }
50367
- * }
50368
- *
50369
- *
50370
- *
50371
- */
50372
- export interface DialogOptions4 {
50373
- size?:
50374
- | 'small'
50375
- | 'SMALL'
50376
- | 'medium'
50377
- | 'MEDIUM'
50378
- | 'large'
50379
- | 'LARGE'
50380
- | 'x-large'
50381
- | 'X-LARGE'
50382
- | 'fullscreen'
50383
- | 'FULLSCREEN'
50384
- | 'maximum'
50385
- | 'MAXIMUM';
50386
- chrome?: boolean;
50387
- width?: string;
50388
- header?: I18NProperty92;
50389
- height?: string;
50390
- [k: string]: unknown;
50391
- }
50392
- /**
50393
- *
50394
- *
50395
- * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
50396
- * and value in multiple places if you like, but identical keys must have identical values.
50397
- *
50398
- * <h3>Example</h3>
50399
- *
50400
- *
50401
- *
50402
- *
50403
- *
50404
- * {
50405
- * "value": "My text"
50406
- * }
50407
- *
50408
- *
50409
- *
50410
- */
50411
- export interface I18NProperty92 {
50412
- value: string;
50413
- i18n?: string;
50414
- [k: string]: unknown;
50415
- }
50416
51682
  /**
50417
51683
  *
50418
51684
  *
@@ -51199,6 +52465,12 @@ export interface Fetch {
51199
52465
  export interface Remote {
51200
52466
  remote: string;
51201
52467
  }
52468
+ /**
52469
+ * References a Remote
52470
+ */
52471
+ export interface Remote1 {
52472
+ remote: string;
52473
+ }
51202
52474
  export interface HostedResourcesSchema {
51203
52475
  /**
51204
52476
  * A key for the resource, which other modules can refer to. Must be unique within the manifest and have a maximum of 23 characters.
@@ -51215,20 +52487,23 @@ export interface RemotesSchema {
51215
52487
  */
51216
52488
  key: string;
51217
52489
  baseUrl: string;
52490
+ /**
52491
+ * The type of operations done in the remote
52492
+ */
52493
+ operations?: ['storage' | 'other', ...('storage' | 'other')[]];
52494
+ /**
52495
+ * Options related to remote storage
52496
+ */
52497
+ storage?: {
52498
+ /**
52499
+ * Labels to classify the type of data stored
52500
+ */
52501
+ classifications: ['ugc' | 'pii' | 'other', ...('ugc' | 'pii' | 'other')[]];
52502
+ };
51218
52503
  }
51219
52504
  export interface Providers {
51220
52505
  auth: Auth;
51221
52506
  }
51222
- export interface AuthProviderPredefined {
51223
- key: ModuleKeySchema;
51224
- /**
51225
- * Name shown to end users
51226
- */
51227
- name: string;
51228
- integration: 'adobe' | 'azuredevops' | 'dropbox' | 'google' | 'miro';
51229
- clientId: string;
51230
- scopes?: string[];
51231
- }
51232
52507
  export interface AuthProviderCustom {
51233
52508
  key: ModuleKeySchema;
51234
52509
  /**
@@ -51236,17 +52511,49 @@ export interface AuthProviderCustom {
51236
52511
  */
51237
52512
  name: string;
51238
52513
  type: 'oauth2';
51239
- bearerMethod?: 'authorization-header' | 'form-encoded' | 'uri-query';
52514
+ bearerMethod: BearerMethodSchema;
51240
52515
  clientId: string;
51241
52516
  scopes?: string[];
51242
52517
  remotes?: ModuleKeySchema[];
51243
52518
  actions: {
51244
- authorization: ActionDefinition;
51245
- exchange: ActionDefinition;
52519
+ authorization: AuthorizeActionDefinition;
52520
+ exchange: ExchangeActionDefinition;
51246
52521
  revokeToken: ActionDefinition;
51247
52522
  retrieveProfile: DynamicProfileRetriever | StaticProfileRetriever;
51248
52523
  };
51249
52524
  }
52525
+ export interface AuthorizeActionDefinition {
52526
+ remote: ModuleKeySchema;
52527
+ path: string;
52528
+ /**
52529
+ * Additional GET parameters sent to the API
52530
+ */
52531
+ queryParameters?: {
52532
+ /**
52533
+ * This interface was referenced by `undefined`'s JSON-Schema definition
52534
+ * via the `patternProperty` "^[a-zA-Z0-9_-]+$".
52535
+ */
52536
+ [k: string]: string;
52537
+ };
52538
+ }
52539
+ export interface ExchangeActionDefinition {
52540
+ remote: ModuleKeySchema;
52541
+ path: string;
52542
+ resolvers?: {
52543
+ /**
52544
+ * Path to the 'access token' parameter within the JSON response from the auhuorization API (full stop separated for nested parameters)
52545
+ */
52546
+ accessToken?: string;
52547
+ /**
52548
+ * Path to the 'access token expires' parameter within the JSON response from the auhuorization API (full stop separated for nested parameters)
52549
+ */
52550
+ accessTokenExpires?: string;
52551
+ /**
52552
+ * Path to the 'refresh token' parameter within the JSON response from the auhuorization API (full stop separated for nested parameters)
52553
+ */
52554
+ refreshToken?: string;
52555
+ };
52556
+ }
51250
52557
  export interface ActionDefinition {
51251
52558
  remote: ModuleKeySchema;
51252
52559
  path: string;
@@ -51281,3 +52588,18 @@ export interface StaticProfileRetriever {
51281
52588
  avatarUrl?: string;
51282
52589
  };
51283
52590
  }
52591
+ export interface AuthProviderPredefined {
52592
+ key: ModuleKeySchema;
52593
+ /**
52594
+ * Name shown to end users
52595
+ */
52596
+ name: string;
52597
+ /**
52598
+ * Pre-defined integration name
52599
+ */
52600
+ integration: 'adobe' | 'azuredevops' | 'dropbox' | 'google' | 'miro';
52601
+ bearerMethod: BearerMethodSchema;
52602
+ clientId: string;
52603
+ scopes?: string[];
52604
+ remotes: ModuleKeySchema[];
52605
+ }