@forge/manifest 4.1.0 → 4.2.0

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.
@@ -2056,6 +2056,8 @@ export interface Modules {
2056
2056
  displayConditions?: {
2057
2057
  [k: string]: unknown;
2058
2058
  };
2059
+ useAsConfig?: boolean;
2060
+ useAsGetStarted?: boolean;
2059
2061
  key: ModuleKeySchema;
2060
2062
  [k: string]: unknown;
2061
2063
  }
@@ -2087,6 +2089,8 @@ export interface Modules {
2087
2089
  displayConditions?: {
2088
2090
  [k: string]: unknown;
2089
2091
  };
2092
+ useAsConfig?: boolean;
2093
+ useAsGetStarted?: boolean;
2090
2094
  key: ModuleKeySchema;
2091
2095
  [k: string]: unknown;
2092
2096
  }
@@ -2116,6 +2120,8 @@ export interface Modules {
2116
2120
  displayConditions?: {
2117
2121
  [k: string]: unknown;
2118
2122
  };
2123
+ useAsConfig?: boolean;
2124
+ useAsGetStarted?: boolean;
2119
2125
  key: ModuleKeySchema;
2120
2126
  [k: string]: unknown;
2121
2127
  }
@@ -2147,6 +2153,8 @@ export interface Modules {
2147
2153
  displayConditions?: {
2148
2154
  [k: string]: unknown;
2149
2155
  };
2156
+ useAsConfig?: boolean;
2157
+ useAsGetStarted?: boolean;
2150
2158
  key: ModuleKeySchema;
2151
2159
  [k: string]: unknown;
2152
2160
  }
@@ -2668,6 +2676,30 @@ export interface Modules {
2668
2676
  [k: string]: unknown;
2669
2677
  }[]
2670
2678
  ];
2679
+ 'jira:issueViewBackgroundScript'?: [
2680
+ {
2681
+ resource: string;
2682
+ resolver?: {
2683
+ function: string;
2684
+ };
2685
+ displayConditions?: {
2686
+ [k: string]: unknown;
2687
+ };
2688
+ key: ModuleKeySchema;
2689
+ [k: string]: unknown;
2690
+ },
2691
+ ...{
2692
+ resource: string;
2693
+ resolver?: {
2694
+ function: string;
2695
+ };
2696
+ displayConditions?: {
2697
+ [k: string]: unknown;
2698
+ };
2699
+ key: ModuleKeySchema;
2700
+ [k: string]: unknown;
2701
+ }[]
2702
+ ];
2671
2703
  'compass:adminPage'?: [
2672
2704
  (
2673
2705
  | {
@@ -2867,7 +2899,7 @@ export interface Modules {
2867
2899
  | {
2868
2900
  title: string;
2869
2901
  icon?: string;
2870
- layout?: 'native' | 'basic';
2902
+ layout?: 'native' | 'basic' | 'blank';
2871
2903
  resolver?: {
2872
2904
  function: string;
2873
2905
  };
@@ -2889,7 +2921,7 @@ export interface Modules {
2889
2921
  | {
2890
2922
  title: string;
2891
2923
  icon?: string;
2892
- layout?: 'native' | 'basic';
2924
+ layout?: 'native' | 'basic' | 'blank';
2893
2925
  resolver?: {
2894
2926
  function: string;
2895
2927
  };
@@ -3500,7 +3532,7 @@ export interface Modules {
3500
3532
  fullPage?: boolean;
3501
3533
  cacheable?: boolean;
3502
3534
  location?: string;
3503
- conditions?: (CompositeCondition | SingleCondition)[];
3535
+ conditions?: (SingleCondition | CompositeCondition)[];
3504
3536
  params?: {
3505
3537
  [k: string]: unknown;
3506
3538
  };
@@ -3515,7 +3547,7 @@ export interface Modules {
3515
3547
  fullPage?: boolean;
3516
3548
  cacheable?: boolean;
3517
3549
  location?: string;
3518
- conditions?: (CompositeCondition | SingleCondition)[];
3550
+ conditions?: (SingleCondition | CompositeCondition)[];
3519
3551
  params?: {
3520
3552
  [k: string]: unknown;
3521
3553
  };
@@ -3563,7 +3595,7 @@ export interface Modules {
3563
3595
  filter?: string;
3564
3596
  excludeBody?: boolean;
3565
3597
  event?: string;
3566
- conditions?: (SingleCondition | CompositeCondition)[];
3598
+ conditions?: (CompositeCondition | SingleCondition)[];
3567
3599
  propertyKeys?: string[];
3568
3600
  url?: string;
3569
3601
  key: ModuleKeySchema;
@@ -3573,7 +3605,7 @@ export interface Modules {
3573
3605
  filter?: string;
3574
3606
  excludeBody?: boolean;
3575
3607
  event?: string;
3576
- conditions?: (SingleCondition | CompositeCondition)[];
3608
+ conditions?: (CompositeCondition | SingleCondition)[];
3577
3609
  propertyKeys?: string[];
3578
3610
  url?: string;
3579
3611
  key: ModuleKeySchema;
@@ -3681,7 +3713,7 @@ export interface Modules {
3681
3713
  name?: I18NProperty10;
3682
3714
  location?: string;
3683
3715
  cacheable?: boolean;
3684
- conditions?: (CompositeCondition1 | SingleCondition1)[];
3716
+ conditions?: (SingleCondition1 | CompositeCondition1)[];
3685
3717
  key: ModuleKeySchema;
3686
3718
  [k: string]: unknown;
3687
3719
  },
@@ -3699,7 +3731,7 @@ export interface Modules {
3699
3731
  name?: I18NProperty10;
3700
3732
  location?: string;
3701
3733
  cacheable?: boolean;
3702
- conditions?: (CompositeCondition1 | SingleCondition1)[];
3734
+ conditions?: (SingleCondition1 | CompositeCondition1)[];
3703
3735
  key: ModuleKeySchema;
3704
3736
  [k: string]: unknown;
3705
3737
  }[]
@@ -3712,7 +3744,7 @@ export interface Modules {
3712
3744
  fullPage?: boolean;
3713
3745
  cacheable?: boolean;
3714
3746
  location?: string;
3715
- conditions?: (CompositeCondition | SingleCondition)[];
3747
+ conditions?: (SingleCondition | CompositeCondition)[];
3716
3748
  params?: {
3717
3749
  [k: string]: unknown;
3718
3750
  };
@@ -3727,7 +3759,7 @@ export interface Modules {
3727
3759
  fullPage?: boolean;
3728
3760
  cacheable?: boolean;
3729
3761
  location?: string;
3730
- conditions?: (CompositeCondition | SingleCondition)[];
3762
+ conditions?: (SingleCondition | CompositeCondition)[];
3731
3763
  params?: {
3732
3764
  [k: string]: unknown;
3733
3765
  };
@@ -3834,11 +3866,233 @@ export interface Modules {
3834
3866
  [k: string]: unknown;
3835
3867
  }[]
3836
3868
  ];
3869
+ 'connect-jira:jiraProjectPages'?: [
3870
+ {
3871
+ name?: I18NProperty17;
3872
+ weight?: number;
3873
+ iconUrl?: string;
3874
+ conditions?: (SingleCondition | CompositeCondition)[];
3875
+ url?: string;
3876
+ key: ModuleKeySchema;
3877
+ [k: string]: unknown;
3878
+ },
3879
+ ...{
3880
+ name?: I18NProperty17;
3881
+ weight?: number;
3882
+ iconUrl?: string;
3883
+ conditions?: (SingleCondition | CompositeCondition)[];
3884
+ url?: string;
3885
+ key: ModuleKeySchema;
3886
+ [k: string]: unknown;
3887
+ }[]
3888
+ ];
3889
+ 'connect-jira:jiraSearchRequestViews'?: [
3890
+ {
3891
+ name?: I18NProperty18;
3892
+ weight?: number;
3893
+ description?: I18NProperty19;
3894
+ conditions?: (CompositeCondition | SingleCondition)[];
3895
+ params?: {
3896
+ [k: string]: unknown;
3897
+ };
3898
+ url?: string;
3899
+ key: ModuleKeySchema;
3900
+ [k: string]: unknown;
3901
+ },
3902
+ ...{
3903
+ name?: I18NProperty18;
3904
+ weight?: number;
3905
+ description?: I18NProperty19;
3906
+ conditions?: (CompositeCondition | SingleCondition)[];
3907
+ params?: {
3908
+ [k: string]: unknown;
3909
+ };
3910
+ url?: string;
3911
+ key: ModuleKeySchema;
3912
+ [k: string]: unknown;
3913
+ }[]
3914
+ ];
3915
+ 'connect-jira:jiraIssueGlances'?: [
3916
+ {
3917
+ icon?: Icon5;
3918
+ name?: I18NProperty20;
3919
+ conditions?: (SingleCondition | CompositeCondition)[];
3920
+ content?: IssueGlanceContentLabel;
3921
+ target?: IssueGlanceTargetWebPanel;
3922
+ jiraNativeAppsEnabled?: boolean;
3923
+ key: ModuleKeySchema;
3924
+ [k: string]: unknown;
3925
+ },
3926
+ ...{
3927
+ icon?: Icon5;
3928
+ name?: I18NProperty20;
3929
+ conditions?: (SingleCondition | CompositeCondition)[];
3930
+ content?: IssueGlanceContentLabel;
3931
+ target?: IssueGlanceTargetWebPanel;
3932
+ jiraNativeAppsEnabled?: boolean;
3933
+ key: ModuleKeySchema;
3934
+ [k: string]: unknown;
3935
+ }[]
3936
+ ];
3937
+ 'connect-jira:jiraIssueTabPanels'?: [
3938
+ {
3939
+ name?: I18NProperty22;
3940
+ weight?: number;
3941
+ conditions?: (CompositeCondition3 | SingleCondition2)[];
3942
+ params?: {
3943
+ [k: string]: unknown;
3944
+ };
3945
+ url?: string;
3946
+ key: ModuleKeySchema;
3947
+ [k: string]: unknown;
3948
+ },
3949
+ ...{
3950
+ name?: I18NProperty22;
3951
+ weight?: number;
3952
+ conditions?: (CompositeCondition3 | SingleCondition2)[];
3953
+ params?: {
3954
+ [k: string]: unknown;
3955
+ };
3956
+ url?: string;
3957
+ key: ModuleKeySchema;
3958
+ [k: string]: unknown;
3959
+ }[]
3960
+ ];
3961
+ 'connect-jira:jiraBuildInfoProvider'?: [
3962
+ {
3963
+ homeUrl?: string;
3964
+ documentationUrl?: string;
3965
+ name?: I18NProperty23;
3966
+ /**
3967
+ *
3968
+ *
3969
+ * <p>Build actions that can be performed by Jira users.</p>
3970
+ * <p>Currently there are no actions defined for build providers. Please contact us if you need any.</p>
3971
+ *
3972
+ *
3973
+ */
3974
+ actions?: {
3975
+ [k: string]: unknown;
3976
+ };
3977
+ logoUrl?: string;
3978
+ key: ModuleKeySchema;
3979
+ [k: string]: unknown;
3980
+ },
3981
+ ...{
3982
+ homeUrl?: string;
3983
+ documentationUrl?: string;
3984
+ name?: I18NProperty23;
3985
+ /**
3986
+ *
3987
+ *
3988
+ * <p>Build actions that can be performed by Jira users.</p>
3989
+ * <p>Currently there are no actions defined for build providers. Please contact us if you need any.</p>
3990
+ *
3991
+ *
3992
+ */
3993
+ actions?: {
3994
+ [k: string]: unknown;
3995
+ };
3996
+ logoUrl?: string;
3997
+ key: ModuleKeySchema;
3998
+ [k: string]: unknown;
3999
+ }[]
4000
+ ];
4001
+ 'connect-jira:jiraWorkflowConditions'?: [
4002
+ {
4003
+ view?: URL;
4004
+ expression?: string;
4005
+ edit?: URL1;
4006
+ evaluationContext?: 'user' | 'USER' | 'app' | 'APP';
4007
+ name?: I18NProperty24;
4008
+ description?: I18NProperty25;
4009
+ create?: URL2;
4010
+ key: ModuleKeySchema;
4011
+ [k: string]: unknown;
4012
+ },
4013
+ ...{
4014
+ view?: URL;
4015
+ expression?: string;
4016
+ edit?: URL1;
4017
+ evaluationContext?: 'user' | 'USER' | 'app' | 'APP';
4018
+ name?: I18NProperty24;
4019
+ description?: I18NProperty25;
4020
+ create?: URL2;
4021
+ key: ModuleKeySchema;
4022
+ [k: string]: unknown;
4023
+ }[]
4024
+ ];
4025
+ 'connect-jira:jiraProjectAdminTabPanels'?: [
4026
+ {
4027
+ name?: I18NProperty26;
4028
+ weight?: number;
4029
+ location?: string;
4030
+ conditions?: (SingleCondition | CompositeCondition)[];
4031
+ params?: {
4032
+ [k: string]: unknown;
4033
+ };
4034
+ url?: string;
4035
+ key: ModuleKeySchema;
4036
+ [k: string]: unknown;
4037
+ },
4038
+ ...{
4039
+ name?: I18NProperty26;
4040
+ weight?: number;
4041
+ location?: string;
4042
+ conditions?: (SingleCondition | CompositeCondition)[];
4043
+ params?: {
4044
+ [k: string]: unknown;
4045
+ };
4046
+ url?: string;
4047
+ key: ModuleKeySchema;
4048
+ [k: string]: unknown;
4049
+ }[]
4050
+ ];
4051
+ 'connect-jira:jiraWorkflowValidators'?: [
4052
+ {
4053
+ view?: URL3;
4054
+ expression?: string;
4055
+ edit?: URL4;
4056
+ evaluationContext?: 'user' | 'USER' | 'app' | 'APP';
4057
+ errorMessage?: JiraExpressionErrorMessage | I18NProperty27;
4058
+ name?: I18NProperty28;
4059
+ description?: I18NProperty29;
4060
+ create?: URL5;
4061
+ key: ModuleKeySchema;
4062
+ [k: string]: unknown;
4063
+ },
4064
+ ...{
4065
+ view?: URL3;
4066
+ expression?: string;
4067
+ edit?: URL4;
4068
+ evaluationContext?: 'user' | 'USER' | 'app' | 'APP';
4069
+ errorMessage?: JiraExpressionErrorMessage | I18NProperty27;
4070
+ name?: I18NProperty28;
4071
+ description?: I18NProperty29;
4072
+ create?: URL5;
4073
+ key: ModuleKeySchema;
4074
+ [k: string]: unknown;
4075
+ }[]
4076
+ ];
4077
+ 'connect-jira:jiraBackgroundScripts'?: [
4078
+ {
4079
+ location?: DashboardBackgroundScriptLocation | IssueBackgroundScriptLocation;
4080
+ url?: string;
4081
+ key: ModuleKeySchema;
4082
+ [k: string]: unknown;
4083
+ },
4084
+ ...{
4085
+ location?: DashboardBackgroundScriptLocation | IssueBackgroundScriptLocation;
4086
+ url?: string;
4087
+ key: ModuleKeySchema;
4088
+ [k: string]: unknown;
4089
+ }[]
4090
+ ];
3837
4091
  'connect-jira:jiraDeploymentInfoProvider'?: [
3838
4092
  {
3839
4093
  homeUrl?: string;
3840
4094
  documentationUrl?: string;
3841
- name?: I18NProperty17;
4095
+ name?: I18NProperty30;
3842
4096
  /**
3843
4097
  *
3844
4098
  *
@@ -3868,7 +4122,7 @@ export interface Modules {
3868
4122
  ...{
3869
4123
  homeUrl?: string;
3870
4124
  documentationUrl?: string;
3871
- name?: I18NProperty17;
4125
+ name?: I18NProperty30;
3872
4126
  /**
3873
4127
  *
3874
4128
  *
@@ -3898,8 +4152,8 @@ export interface Modules {
3898
4152
  ];
3899
4153
  'connect-jira:jiraReports'?: [
3900
4154
  {
3901
- name?: I18NProperty18;
3902
- description?: I18NProperty19;
4155
+ name?: I18NProperty31;
4156
+ description?: I18NProperty32;
3903
4157
  reportCategory?:
3904
4158
  | 'agile'
3905
4159
  | 'AGILE'
@@ -3915,8 +4169,8 @@ export interface Modules {
3915
4169
  [k: string]: unknown;
3916
4170
  },
3917
4171
  ...{
3918
- name?: I18NProperty18;
3919
- description?: I18NProperty19;
4172
+ name?: I18NProperty31;
4173
+ description?: I18NProperty32;
3920
4174
  reportCategory?:
3921
4175
  | 'agile'
3922
4176
  | 'AGILE'
@@ -3932,57 +4186,11 @@ export interface Modules {
3932
4186
  [k: string]: unknown;
3933
4187
  }[]
3934
4188
  ];
3935
- 'connect-jira:jiraProjectPages'?: [
3936
- {
3937
- name?: I18NProperty20;
3938
- weight?: number;
3939
- iconUrl?: string;
3940
- conditions?: (CompositeCondition | SingleCondition)[];
3941
- url?: string;
3942
- key: ModuleKeySchema;
3943
- [k: string]: unknown;
3944
- },
3945
- ...{
3946
- name?: I18NProperty20;
3947
- weight?: number;
3948
- iconUrl?: string;
3949
- conditions?: (CompositeCondition | SingleCondition)[];
3950
- url?: string;
3951
- key: ModuleKeySchema;
3952
- [k: string]: unknown;
3953
- }[]
3954
- ];
3955
- 'connect-jira:jiraSearchRequestViews'?: [
3956
- {
3957
- name?: I18NProperty21;
3958
- weight?: number;
3959
- description?: I18NProperty22;
3960
- conditions?: (SingleCondition | CompositeCondition)[];
3961
- params?: {
3962
- [k: string]: unknown;
3963
- };
3964
- url?: string;
3965
- key: ModuleKeySchema;
3966
- [k: string]: unknown;
3967
- },
3968
- ...{
3969
- name?: I18NProperty21;
3970
- weight?: number;
3971
- description?: I18NProperty22;
3972
- conditions?: (SingleCondition | CompositeCondition)[];
3973
- params?: {
3974
- [k: string]: unknown;
3975
- };
3976
- url?: string;
3977
- key: ModuleKeySchema;
3978
- [k: string]: unknown;
3979
- }[]
3980
- ];
3981
4189
  'connect-jira:jiraDashboardItems'?: [
3982
4190
  {
3983
- name?: I18NProperty23;
3984
- description?: I18NProperty24;
3985
- conditions?: (CompositeCondition | SingleCondition)[];
4191
+ name?: I18NProperty33;
4192
+ description?: I18NProperty34;
4193
+ conditions?: (SingleCondition | CompositeCondition)[];
3986
4194
  url?: string;
3987
4195
  configurable?: boolean;
3988
4196
  thumbnailUrl?: string;
@@ -3990,9 +4198,9 @@ export interface Modules {
3990
4198
  [k: string]: unknown;
3991
4199
  },
3992
4200
  ...{
3993
- name?: I18NProperty23;
3994
- description?: I18NProperty24;
3995
- conditions?: (CompositeCondition | SingleCondition)[];
4201
+ name?: I18NProperty33;
4202
+ description?: I18NProperty34;
4203
+ conditions?: (SingleCondition | CompositeCondition)[];
3996
4204
  url?: string;
3997
4205
  configurable?: boolean;
3998
4206
  thumbnailUrl?: string;
@@ -4002,44 +4210,22 @@ export interface Modules {
4002
4210
  ];
4003
4211
  'connect-jira:jiraWorkflowPostFunctions'?: [
4004
4212
  {
4005
- view?: URL;
4006
- triggered?: URL1;
4007
- edit?: URL2;
4008
- name?: I18NProperty25;
4009
- description?: I18NProperty26;
4010
- create?: URL3;
4011
- key: ModuleKeySchema;
4012
- [k: string]: unknown;
4013
- },
4014
- ...{
4015
- view?: URL;
4016
- triggered?: URL1;
4017
- edit?: URL2;
4018
- name?: I18NProperty25;
4019
- description?: I18NProperty26;
4020
- create?: URL3;
4021
- key: ModuleKeySchema;
4022
- [k: string]: unknown;
4023
- }[]
4024
- ];
4025
- 'connect-jira:jiraIssueGlances'?: [
4026
- {
4027
- icon?: Icon5;
4028
- name?: I18NProperty27;
4029
- conditions?: (SingleCondition | CompositeCondition)[];
4030
- content?: IssueGlanceContentLabel;
4031
- target?: IssueGlanceTargetWebPanel;
4032
- jiraNativeAppsEnabled?: boolean;
4213
+ view?: URL6;
4214
+ triggered?: URL7;
4215
+ edit?: URL8;
4216
+ name?: I18NProperty35;
4217
+ description?: I18NProperty36;
4218
+ create?: URL9;
4033
4219
  key: ModuleKeySchema;
4034
4220
  [k: string]: unknown;
4035
4221
  },
4036
4222
  ...{
4037
- icon?: Icon5;
4038
- name?: I18NProperty27;
4039
- conditions?: (SingleCondition | CompositeCondition)[];
4040
- content?: IssueGlanceContentLabel;
4041
- target?: IssueGlanceTargetWebPanel;
4042
- jiraNativeAppsEnabled?: boolean;
4223
+ view?: URL6;
4224
+ triggered?: URL7;
4225
+ edit?: URL8;
4226
+ name?: I18NProperty35;
4227
+ description?: I18NProperty36;
4228
+ create?: URL9;
4043
4229
  key: ModuleKeySchema;
4044
4230
  [k: string]: unknown;
4045
4231
  }[]
@@ -4047,9 +4233,9 @@ export interface Modules {
4047
4233
  'connect-jira:jiraIssueContents'?: [
4048
4234
  {
4049
4235
  icon?: Icon6;
4050
- tooltip?: I18NProperty29;
4051
- name?: I18NProperty30;
4052
- conditions?: (CompositeCondition | SingleCondition)[];
4236
+ tooltip?: I18NProperty37;
4237
+ name?: I18NProperty38;
4238
+ conditions?: (SingleCondition | CompositeCondition)[];
4053
4239
  target?: IssuePageTargetWebPanel;
4054
4240
  contentPresentConditions?: (CompositeCondition | SingleCondition)[];
4055
4241
  jiraNativeAppsEnabled?: boolean;
@@ -4058,9 +4244,9 @@ export interface Modules {
4058
4244
  },
4059
4245
  ...{
4060
4246
  icon?: Icon6;
4061
- tooltip?: I18NProperty29;
4062
- name?: I18NProperty30;
4063
- conditions?: (CompositeCondition | SingleCondition)[];
4247
+ tooltip?: I18NProperty37;
4248
+ name?: I18NProperty38;
4249
+ conditions?: (SingleCondition | CompositeCondition)[];
4064
4250
  target?: IssuePageTargetWebPanel;
4065
4251
  contentPresentConditions?: (CompositeCondition | SingleCondition)[];
4066
4252
  jiraNativeAppsEnabled?: boolean;
@@ -4071,8 +4257,8 @@ export interface Modules {
4071
4257
  'connect-jira:jiraDevelopmentTool'?: [
4072
4258
  {
4073
4259
  capabilities?: ('commit' | 'COMMIT' | 'branch' | 'BRANCH' | 'pull_request' | 'PULL_REQUEST')[];
4074
- application?: I18NProperty31;
4075
- name?: I18NProperty32;
4260
+ application?: I18NProperty39;
4261
+ name?: I18NProperty40;
4076
4262
  actions?: DevelopmentActions;
4077
4263
  url?: string;
4078
4264
  logoUrl?: string;
@@ -4081,8 +4267,8 @@ export interface Modules {
4081
4267
  },
4082
4268
  ...{
4083
4269
  capabilities?: ('commit' | 'COMMIT' | 'branch' | 'BRANCH' | 'pull_request' | 'PULL_REQUEST')[];
4084
- application?: I18NProperty31;
4085
- name?: I18NProperty32;
4270
+ application?: I18NProperty39;
4271
+ name?: I18NProperty40;
4086
4272
  actions?: DevelopmentActions;
4087
4273
  url?: string;
4088
4274
  logoUrl?: string;
@@ -4092,9 +4278,9 @@ export interface Modules {
4092
4278
  ];
4093
4279
  'connect-jira:jiraProjectTabPanels'?: [
4094
4280
  {
4095
- name?: I18NProperty33;
4281
+ name?: I18NProperty41;
4096
4282
  weight?: number;
4097
- conditions?: (SingleCondition2 | CompositeCondition2)[];
4283
+ conditions?: (CompositeCondition5 | SingleCondition3)[];
4098
4284
  params?: {
4099
4285
  [k: string]: unknown;
4100
4286
  };
@@ -4103,9 +4289,9 @@ export interface Modules {
4103
4289
  [k: string]: unknown;
4104
4290
  },
4105
4291
  ...{
4106
- name?: I18NProperty33;
4292
+ name?: I18NProperty41;
4107
4293
  weight?: number;
4108
- conditions?: (SingleCondition2 | CompositeCondition2)[];
4294
+ conditions?: (CompositeCondition5 | SingleCondition3)[];
4109
4295
  params?: {
4110
4296
  [k: string]: unknown;
4111
4297
  };
@@ -4117,16 +4303,16 @@ export interface Modules {
4117
4303
  'connect-jira:jiraGlobalPermissions'?: [
4118
4304
  {
4119
4305
  defaultGrants?: ('none' | 'NONE' | 'jira-administrators' | 'JIRA-ADMINISTRATORS' | 'all' | 'ALL')[];
4120
- name?: I18NProperty34;
4121
- description?: I18NProperty35;
4306
+ name?: I18NProperty42;
4307
+ description?: I18NProperty43;
4122
4308
  anonymousAllowed?: boolean;
4123
4309
  key: ModuleKeySchema;
4124
4310
  [k: string]: unknown;
4125
4311
  },
4126
4312
  ...{
4127
4313
  defaultGrants?: ('none' | 'NONE' | 'jira-administrators' | 'JIRA-ADMINISTRATORS' | 'all' | 'ALL')[];
4128
- name?: I18NProperty34;
4129
- description?: I18NProperty35;
4314
+ name?: I18NProperty42;
4315
+ description?: I18NProperty43;
4130
4316
  anonymousAllowed?: boolean;
4131
4317
  key: ModuleKeySchema;
4132
4318
  [k: string]: unknown;
@@ -4136,8 +4322,8 @@ export interface Modules {
4136
4322
  {
4137
4323
  template?: IssueFieldTemplate;
4138
4324
  property?: IssueFieldProperty;
4139
- name?: I18NProperty36;
4140
- description?: I18NProperty37;
4325
+ name?: I18NProperty44;
4326
+ description?: I18NProperty45;
4141
4327
  type?:
4142
4328
  | 'string'
4143
4329
  | 'STRING'
@@ -4160,8 +4346,8 @@ export interface Modules {
4160
4346
  ...{
4161
4347
  template?: IssueFieldTemplate;
4162
4348
  property?: IssueFieldProperty;
4163
- name?: I18NProperty36;
4164
- description?: I18NProperty37;
4349
+ name?: I18NProperty44;
4350
+ description?: I18NProperty45;
4165
4351
  type?:
4166
4352
  | 'string'
4167
4353
  | 'STRING'
@@ -4182,158 +4368,18 @@ export interface Modules {
4182
4368
  [k: string]: unknown;
4183
4369
  }[]
4184
4370
  ];
4185
- 'connect-jira:jiraIssueTabPanels'?: [
4186
- {
4187
- name?: I18NProperty38;
4188
- weight?: number;
4189
- conditions?: (SingleCondition3 | CompositeCondition4)[];
4190
- params?: {
4191
- [k: string]: unknown;
4192
- };
4193
- url?: string;
4194
- key: ModuleKeySchema;
4195
- [k: string]: unknown;
4196
- },
4197
- ...{
4198
- name?: I18NProperty38;
4199
- weight?: number;
4200
- conditions?: (SingleCondition3 | CompositeCondition4)[];
4201
- params?: {
4202
- [k: string]: unknown;
4203
- };
4204
- url?: string;
4205
- key: ModuleKeySchema;
4206
- [k: string]: unknown;
4207
- }[]
4208
- ];
4209
- 'connect-jira:jiraBuildInfoProvider'?: [
4210
- {
4211
- homeUrl?: string;
4212
- documentationUrl?: string;
4213
- name?: I18NProperty39;
4214
- /**
4215
- *
4216
- *
4217
- * <p>Build actions that can be performed by Jira users.</p>
4218
- * <p>Currently there are no actions defined for build providers. Please contact us if you need any.</p>
4219
- *
4220
- *
4221
- */
4222
- actions?: {
4223
- [k: string]: unknown;
4224
- };
4225
- logoUrl?: string;
4226
- key: ModuleKeySchema;
4227
- [k: string]: unknown;
4228
- },
4229
- ...{
4230
- homeUrl?: string;
4231
- documentationUrl?: string;
4232
- name?: I18NProperty39;
4233
- /**
4234
- *
4235
- *
4236
- * <p>Build actions that can be performed by Jira users.</p>
4237
- * <p>Currently there are no actions defined for build providers. Please contact us if you need any.</p>
4238
- *
4239
- *
4240
- */
4241
- actions?: {
4242
- [k: string]: unknown;
4243
- };
4244
- logoUrl?: string;
4245
- key: ModuleKeySchema;
4246
- [k: string]: unknown;
4247
- }[]
4248
- ];
4249
- 'connect-jira:jiraWorkflowConditions'?: [
4250
- {
4251
- view?: URL4;
4252
- expression?: string;
4253
- edit?: URL5;
4254
- evaluationContext?: 'user' | 'USER' | 'app' | 'APP';
4255
- name?: I18NProperty40;
4256
- description?: I18NProperty41;
4257
- create?: URL6;
4258
- key: ModuleKeySchema;
4259
- [k: string]: unknown;
4260
- },
4261
- ...{
4262
- view?: URL4;
4263
- expression?: string;
4264
- edit?: URL5;
4265
- evaluationContext?: 'user' | 'USER' | 'app' | 'APP';
4266
- name?: I18NProperty40;
4267
- description?: I18NProperty41;
4268
- create?: URL6;
4269
- key: ModuleKeySchema;
4270
- [k: string]: unknown;
4271
- }[]
4272
- ];
4273
4371
  'connect-jira:jiraIssueTypes'?: [
4274
4372
  {
4275
- name?: I18NProperty42;
4276
- description?: I18NProperty43;
4277
- type?: 'standard' | 'STANDARD' | 'subtask' | 'SUBTASK';
4278
- key: ModuleKeySchema;
4279
- [k: string]: unknown;
4280
- },
4281
- ...{
4282
- name?: I18NProperty42;
4283
- description?: I18NProperty43;
4284
- type?: 'standard' | 'STANDARD' | 'subtask' | 'SUBTASK';
4285
- key: ModuleKeySchema;
4286
- [k: string]: unknown;
4287
- }[]
4288
- ];
4289
- 'connect-jira:jiraProjectAdminTabPanels'?: [
4290
- {
4291
- name?: I18NProperty44;
4292
- weight?: number;
4293
- location?: string;
4294
- conditions?: (CompositeCondition | SingleCondition)[];
4295
- params?: {
4296
- [k: string]: unknown;
4297
- };
4298
- url?: string;
4299
- key: ModuleKeySchema;
4300
- [k: string]: unknown;
4301
- },
4302
- ...{
4303
- name?: I18NProperty44;
4304
- weight?: number;
4305
- location?: string;
4306
- conditions?: (CompositeCondition | SingleCondition)[];
4307
- params?: {
4308
- [k: string]: unknown;
4309
- };
4310
- url?: string;
4311
- key: ModuleKeySchema;
4312
- [k: string]: unknown;
4313
- }[]
4314
- ];
4315
- 'connect-jira:jiraWorkflowValidators'?: [
4316
- {
4317
- view?: URL7;
4318
- expression?: string;
4319
- edit?: URL8;
4320
- evaluationContext?: 'user' | 'USER' | 'app' | 'APP';
4321
- errorMessage?: I18NProperty45 | JiraExpressionErrorMessage;
4322
4373
  name?: I18NProperty46;
4323
4374
  description?: I18NProperty47;
4324
- create?: URL9;
4375
+ type?: 'standard' | 'STANDARD' | 'subtask' | 'SUBTASK';
4325
4376
  key: ModuleKeySchema;
4326
4377
  [k: string]: unknown;
4327
4378
  },
4328
4379
  ...{
4329
- view?: URL7;
4330
- expression?: string;
4331
- edit?: URL8;
4332
- evaluationContext?: 'user' | 'USER' | 'app' | 'APP';
4333
- errorMessage?: I18NProperty45 | JiraExpressionErrorMessage;
4334
4380
  name?: I18NProperty46;
4335
4381
  description?: I18NProperty47;
4336
- create?: URL9;
4382
+ type?: 'standard' | 'STANDARD' | 'subtask' | 'SUBTASK';
4337
4383
  key: ModuleKeySchema;
4338
4384
  [k: string]: unknown;
4339
4385
  }[]
@@ -4352,20 +4398,6 @@ export interface Modules {
4352
4398
  [k: string]: unknown;
4353
4399
  }[]
4354
4400
  ];
4355
- 'connect-jira:jiraBackgroundScripts'?: [
4356
- {
4357
- location?: IssueBackgroundScriptLocation;
4358
- url?: string;
4359
- key: ModuleKeySchema;
4360
- [k: string]: unknown;
4361
- },
4362
- ...{
4363
- location?: IssueBackgroundScriptLocation;
4364
- url?: string;
4365
- key: ModuleKeySchema;
4366
- [k: string]: unknown;
4367
- }[]
4368
- ];
4369
4401
  'connect-jira:lifecycle'?: [
4370
4402
  {
4371
4403
  installed?: string;
@@ -4461,7 +4493,7 @@ export interface Modules {
4461
4493
  location?: string;
4462
4494
  cacheable?: boolean;
4463
4495
  supportsNative?: boolean;
4464
- conditions?: (CompositeCondition | SingleCondition)[];
4496
+ conditions?: (SingleCondition | CompositeCondition)[];
4465
4497
  params?: {
4466
4498
  [k: string]: unknown;
4467
4499
  };
@@ -4477,7 +4509,7 @@ export interface Modules {
4477
4509
  location?: string;
4478
4510
  cacheable?: boolean;
4479
4511
  supportsNative?: boolean;
4480
- conditions?: (CompositeCondition | SingleCondition)[];
4512
+ conditions?: (SingleCondition | CompositeCondition)[];
4481
4513
  params?: {
4482
4514
  [k: string]: unknown;
4483
4515
  };
@@ -4491,7 +4523,7 @@ export interface Modules {
4491
4523
  filter?: string;
4492
4524
  excludeBody?: boolean;
4493
4525
  event?: string;
4494
- conditions?: (SingleCondition | CompositeCondition)[];
4526
+ conditions?: (CompositeCondition | SingleCondition)[];
4495
4527
  propertyKeys?: string[];
4496
4528
  url?: string;
4497
4529
  key: ModuleKeySchema;
@@ -4501,7 +4533,7 @@ export interface Modules {
4501
4533
  filter?: string;
4502
4534
  excludeBody?: boolean;
4503
4535
  event?: string;
4504
- conditions?: (SingleCondition | CompositeCondition)[];
4536
+ conditions?: (CompositeCondition | SingleCondition)[];
4505
4537
  propertyKeys?: string[];
4506
4538
  url?: string;
4507
4539
  key: ModuleKeySchema;
@@ -4609,7 +4641,7 @@ export interface Modules {
4609
4641
  name?: I18NProperty59;
4610
4642
  location?: string;
4611
4643
  cacheable?: boolean;
4612
- conditions?: (SingleCondition4 | CompositeCondition6)[];
4644
+ conditions?: (SingleCondition4 | CompositeCondition7)[];
4613
4645
  key: ModuleKeySchema;
4614
4646
  [k: string]: unknown;
4615
4647
  },
@@ -4627,7 +4659,7 @@ export interface Modules {
4627
4659
  name?: I18NProperty59;
4628
4660
  location?: string;
4629
4661
  cacheable?: boolean;
4630
- conditions?: (SingleCondition4 | CompositeCondition6)[];
4662
+ conditions?: (SingleCondition4 | CompositeCondition7)[];
4631
4663
  key: ModuleKeySchema;
4632
4664
  [k: string]: unknown;
4633
4665
  }[]
@@ -4705,7 +4737,7 @@ export interface Modules {
4705
4737
  name?: I18NProperty63;
4706
4738
  weight?: number;
4707
4739
  location?: string;
4708
- conditions?: (SingleCondition5 | CompositeCondition7)[];
4740
+ conditions?: (CompositeCondition9 | SingleCondition5)[];
4709
4741
  params?: {
4710
4742
  [k: string]: unknown;
4711
4743
  };
@@ -4717,7 +4749,7 @@ export interface Modules {
4717
4749
  name?: I18NProperty63;
4718
4750
  weight?: number;
4719
4751
  location?: string;
4720
- conditions?: (SingleCondition5 | CompositeCondition7)[];
4752
+ conditions?: (CompositeCondition9 | SingleCondition5)[];
4721
4753
  params?: {
4722
4754
  [k: string]: unknown;
4723
4755
  };
@@ -4913,7 +4945,7 @@ export interface Modules {
4913
4945
  icon?: Icon18;
4914
4946
  name?: I18NProperty91;
4915
4947
  cacheable?: boolean;
4916
- conditions?: (SingleCondition | CompositeCondition)[];
4948
+ conditions?: (CompositeCondition | SingleCondition)[];
4917
4949
  params?: {
4918
4950
  [k: string]: unknown;
4919
4951
  };
@@ -4929,7 +4961,7 @@ export interface Modules {
4929
4961
  icon?: Icon18;
4930
4962
  name?: I18NProperty91;
4931
4963
  cacheable?: boolean;
4932
- conditions?: (SingleCondition | CompositeCondition)[];
4964
+ conditions?: (CompositeCondition | SingleCondition)[];
4933
4965
  params?: {
4934
4966
  [k: string]: unknown;
4935
4967
  };
@@ -5213,6 +5245,37 @@ export interface I18NProperty1 {
5213
5245
  i18n?: string;
5214
5246
  [k: string]: unknown;
5215
5247
  }
5248
+ /**
5249
+ *
5250
+ *
5251
+ * Single Conditions are either provided by the host application. See the complete documentation of
5252
+ * [Conditions](../../conditions/) for more information.
5253
+ *
5254
+ * To invert a condition, add the attribute ``invert="true"`` to the condition element.
5255
+ * This is useful where you want to show the section if a certain condition is not satisfied.
5256
+ *
5257
+ * <h3>Example</h3>
5258
+ *
5259
+ *
5260
+ *
5261
+ *
5262
+ *
5263
+ * {
5264
+ * "condition": "user_is_logged_in",
5265
+ * "invert": false
5266
+ * }
5267
+ *
5268
+ *
5269
+ *
5270
+ */
5271
+ export interface SingleCondition {
5272
+ condition: string;
5273
+ invert?: boolean;
5274
+ params?: {
5275
+ [k: string]: unknown;
5276
+ };
5277
+ [k: string]: unknown;
5278
+ }
5216
5279
  /**
5217
5280
  *
5218
5281
  *
@@ -5257,11 +5320,32 @@ export interface CompositeCondition {
5257
5320
  /**
5258
5321
  *
5259
5322
  *
5260
- * Single Conditions are either provided by the host application. See the complete documentation of
5261
- * [Conditions](../../conditions/) for more information.
5323
+ * <h3>Example</h3>
5324
+ *
5325
+ *
5326
+ *
5327
+ *
5328
+ *
5329
+ * {
5330
+ * "layout": {
5331
+ * "width": "100",
5332
+ * "height": "200"
5333
+ * }
5334
+ * }
5335
+ *
5262
5336
  *
5263
- * To invert a condition, add the attribute ``invert="true"`` to the condition element.
5264
- * This is useful where you want to show the section if a certain condition is not satisfied.
5337
+ *
5338
+ */
5339
+ export interface WebPanelLayout {
5340
+ width?: string;
5341
+ height?: string;
5342
+ [k: string]: unknown;
5343
+ }
5344
+ /**
5345
+ *
5346
+ *
5347
+ * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
5348
+ * and value in multiple places if you like, but identical keys must have identical values.
5265
5349
  *
5266
5350
  * <h3>Example</h3>
5267
5351
  *
@@ -5270,119 +5354,67 @@ export interface CompositeCondition {
5270
5354
  *
5271
5355
  *
5272
5356
  * {
5273
- * "condition": "user_is_logged_in",
5274
- * "invert": false
5357
+ * "value": "My text"
5275
5358
  * }
5276
5359
  *
5277
5360
  *
5278
5361
  *
5279
5362
  */
5280
- export interface SingleCondition {
5281
- condition: string;
5282
- invert?: boolean;
5283
- params?: {
5284
- [k: string]: unknown;
5285
- };
5363
+ export interface I18NProperty2 {
5364
+ value: string;
5365
+ i18n?: string;
5286
5366
  [k: string]: unknown;
5287
5367
  }
5288
5368
  /**
5289
5369
  *
5290
5370
  *
5291
- * <h3>Example</h3>
5371
+ * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
5372
+ * and value in multiple places if you like, but identical keys must have identical values.
5373
+ *
5374
+ * <h3>Example</h3>
5292
5375
  *
5293
5376
  *
5294
5377
  *
5295
5378
  *
5296
5379
  *
5297
5380
  * {
5298
- * "layout": {
5299
- * "width": "100",
5300
- * "height": "200"
5381
+ * "value": "My text"
5382
+ * }
5383
+ *
5384
+ *
5385
+ *
5386
+ */
5387
+ export interface I18NProperty3 {
5388
+ value: string;
5389
+ i18n?: string;
5390
+ [k: string]: unknown;
5391
+ }
5392
+ /**
5393
+ *
5394
+ *
5395
+ * Defines an icon to display.
5396
+ *
5397
+ * <h3>Example</h3>
5398
+ *
5399
+ *
5400
+ *
5401
+ *
5402
+ *
5403
+ * {
5404
+ * "icon": {
5405
+ * "width": 16,
5406
+ * "height": 16,
5407
+ * "url": "/my-icon.png"
5301
5408
  * }
5302
5409
  * }
5303
5410
  *
5304
5411
  *
5305
5412
  *
5306
5413
  */
5307
- export interface WebPanelLayout {
5308
- width?: string;
5309
- height?: string;
5310
- [k: string]: unknown;
5311
- }
5312
- /**
5313
- *
5314
- *
5315
- * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
5316
- * and value in multiple places if you like, but identical keys must have identical values.
5317
- *
5318
- * <h3>Example</h3>
5319
- *
5320
- *
5321
- *
5322
- *
5323
- *
5324
- * {
5325
- * "value": "My text"
5326
- * }
5327
- *
5328
- *
5329
- *
5330
- */
5331
- export interface I18NProperty2 {
5332
- value: string;
5333
- i18n?: string;
5334
- [k: string]: unknown;
5335
- }
5336
- /**
5337
- *
5338
- *
5339
- * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
5340
- * and value in multiple places if you like, but identical keys must have identical values.
5341
- *
5342
- * <h3>Example</h3>
5343
- *
5344
- *
5345
- *
5346
- *
5347
- *
5348
- * {
5349
- * "value": "My text"
5350
- * }
5351
- *
5352
- *
5353
- *
5354
- */
5355
- export interface I18NProperty3 {
5356
- value: string;
5357
- i18n?: string;
5358
- [k: string]: unknown;
5359
- }
5360
- /**
5361
- *
5362
- *
5363
- * Defines an icon to display.
5364
- *
5365
- * <h3>Example</h3>
5366
- *
5367
- *
5368
- *
5369
- *
5370
- *
5371
- * {
5372
- * "icon": {
5373
- * "width": 16,
5374
- * "height": 16,
5375
- * "url": "/my-icon.png"
5376
- * }
5377
- * }
5378
- *
5379
- *
5380
- *
5381
- */
5382
- export interface Icon1 {
5383
- width?: number;
5384
- url: string;
5385
- height?: number;
5414
+ export interface Icon1 {
5415
+ width?: number;
5416
+ url: string;
5417
+ height?: number;
5386
5418
  [k: string]: unknown;
5387
5419
  }
5388
5420
  /**
@@ -5818,6 +5850,37 @@ export interface I18NProperty10 {
5818
5850
  i18n?: string;
5819
5851
  [k: string]: unknown;
5820
5852
  }
5853
+ /**
5854
+ *
5855
+ *
5856
+ * Single Conditions are either provided by the host application. See the complete documentation of
5857
+ * [Conditions](../../conditions/) for more information.
5858
+ *
5859
+ * To invert a condition, add the attribute ``invert="true"`` to the condition element.
5860
+ * This is useful where you want to show the section if a certain condition is not satisfied.
5861
+ *
5862
+ * <h3>Example</h3>
5863
+ *
5864
+ *
5865
+ *
5866
+ *
5867
+ *
5868
+ * {
5869
+ * "condition": "user_is_logged_in",
5870
+ * "invert": false
5871
+ * }
5872
+ *
5873
+ *
5874
+ *
5875
+ */
5876
+ export interface SingleCondition1 {
5877
+ condition: string;
5878
+ invert?: boolean;
5879
+ params?: {
5880
+ [k: string]: unknown;
5881
+ };
5882
+ [k: string]: unknown;
5883
+ }
5821
5884
  /**
5822
5885
  *
5823
5886
  *
@@ -5855,18 +5918,15 @@ export interface I18NProperty10 {
5855
5918
  *
5856
5919
  */
5857
5920
  export interface CompositeCondition1 {
5858
- conditions?: (ManifestSchema | SingleCondition)[];
5921
+ conditions?: (CompositeCondition2 | SingleCondition)[];
5859
5922
  type?: 'and' | 'AND' | 'or' | 'OR';
5860
5923
  [k: string]: unknown;
5861
5924
  }
5862
5925
  /**
5863
5926
  *
5864
5927
  *
5865
- * Single Conditions are either provided by the host application. See the complete documentation of
5866
- * [Conditions](../../conditions/) for more information.
5867
- *
5868
- * To invert a condition, add the attribute ``invert="true"`` to the condition element.
5869
- * This is useful where you want to show the section if a certain condition is not satisfied.
5928
+ * Composite Conditions are composed of a collection of [Single Condition](../single-condition/) / Composite Conditions
5929
+ * and a type attribute.
5870
5930
  *
5871
5931
  * <h3>Example</h3>
5872
5932
  *
@@ -5875,19 +5935,32 @@ export interface CompositeCondition1 {
5875
5935
  *
5876
5936
  *
5877
5937
  * {
5878
- * "condition": "user_is_logged_in",
5879
- * "invert": false
5938
+ * "conditions": [
5939
+ * {
5940
+ * "or": [
5941
+ * {
5942
+ * "condition": "can_attach_file_to_issue",
5943
+ * "invert": false
5944
+ * },
5945
+ * {
5946
+ * "condition": "is_issue_assigned_to_current_user",
5947
+ * "invert": false
5948
+ * }
5949
+ * ]
5950
+ * },
5951
+ * {
5952
+ * "condition": "user_is_logged_in",
5953
+ * "invert": false
5954
+ * }
5955
+ * ]
5880
5956
  * }
5881
5957
  *
5882
5958
  *
5883
5959
  *
5884
5960
  */
5885
- export interface SingleCondition1 {
5886
- condition: string;
5887
- invert?: boolean;
5888
- params?: {
5889
- [k: string]: unknown;
5890
- };
5961
+ export interface CompositeCondition2 {
5962
+ conditions?: (ManifestSchema | SingleCondition)[];
5963
+ type?: 'and' | 'AND' | 'or' | 'OR';
5891
5964
  [k: string]: unknown;
5892
5965
  }
5893
5966
  /**
@@ -6309,8 +6382,7 @@ export interface I18NProperty19 {
6309
6382
  /**
6310
6383
  *
6311
6384
  *
6312
- * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
6313
- * and value in multiple places if you like, but identical keys must have identical values.
6385
+ * Defines an icon to display.
6314
6386
  *
6315
6387
  * <h3>Example</h3>
6316
6388
  *
@@ -6319,15 +6391,20 @@ export interface I18NProperty19 {
6319
6391
  *
6320
6392
  *
6321
6393
  * {
6322
- * "value": "My text"
6394
+ * "icon": {
6395
+ * "width": 16,
6396
+ * "height": 16,
6397
+ * "url": "/my-icon.png"
6398
+ * }
6323
6399
  * }
6324
6400
  *
6325
6401
  *
6326
6402
  *
6327
6403
  */
6328
- export interface I18NProperty20 {
6329
- value: string;
6330
- i18n?: string;
6404
+ export interface Icon5 {
6405
+ width?: number;
6406
+ url: string;
6407
+ height?: number;
6331
6408
  [k: string]: unknown;
6332
6409
  }
6333
6410
  /**
@@ -6349,11 +6426,23 @@ export interface I18NProperty20 {
6349
6426
  *
6350
6427
  *
6351
6428
  */
6352
- export interface I18NProperty21 {
6429
+ export interface I18NProperty20 {
6353
6430
  value: string;
6354
6431
  i18n?: string;
6355
6432
  [k: string]: unknown;
6356
6433
  }
6434
+ /**
6435
+ *
6436
+ *
6437
+ * Describes the content for the issue glance module. It specifies static text to show inside the glance, which is left-aligned next to the icon.
6438
+ *
6439
+ *
6440
+ */
6441
+ export interface IssueGlanceContentLabel {
6442
+ label: I18NProperty21;
6443
+ type: 'label' | 'LABEL';
6444
+ [k: string]: unknown;
6445
+ }
6357
6446
  /**
6358
6447
  *
6359
6448
  *
@@ -6373,11 +6462,23 @@ export interface I18NProperty21 {
6373
6462
  *
6374
6463
  *
6375
6464
  */
6376
- export interface I18NProperty22 {
6465
+ export interface I18NProperty21 {
6377
6466
  value: string;
6378
6467
  i18n?: string;
6379
6468
  [k: string]: unknown;
6380
6469
  }
6470
+ /**
6471
+ *
6472
+ *
6473
+ * Describes the target of the issue glance module. This supports displaying a web panel in the context area of the issue.
6474
+ *
6475
+ *
6476
+ */
6477
+ export interface IssueGlanceTargetWebPanel {
6478
+ type: 'web_panel' | 'WEB_PANEL';
6479
+ url: string;
6480
+ [k: string]: unknown;
6481
+ }
6381
6482
  /**
6382
6483
  *
6383
6484
  *
@@ -6397,7 +6498,7 @@ export interface I18NProperty22 {
6397
6498
  *
6398
6499
  *
6399
6500
  */
6400
- export interface I18NProperty23 {
6501
+ export interface I18NProperty22 {
6401
6502
  value: string;
6402
6503
  i18n?: string;
6403
6504
  [k: string]: unknown;
@@ -6405,8 +6506,8 @@ export interface I18NProperty23 {
6405
6506
  /**
6406
6507
  *
6407
6508
  *
6408
- * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
6409
- * and value in multiple places if you like, but identical keys must have identical values.
6509
+ * Composite Conditions are composed of a collection of [Single Condition](../single-condition/) / Composite Conditions
6510
+ * and a type attribute.
6410
6511
  *
6411
6512
  * <h3>Example</h3>
6412
6513
  *
@@ -6415,49 +6516,83 @@ export interface I18NProperty23 {
6415
6516
  *
6416
6517
  *
6417
6518
  * {
6418
- * "value": "My text"
6519
+ * "conditions": [
6520
+ * {
6521
+ * "or": [
6522
+ * {
6523
+ * "condition": "can_attach_file_to_issue",
6524
+ * "invert": false
6525
+ * },
6526
+ * {
6527
+ * "condition": "is_issue_assigned_to_current_user",
6528
+ * "invert": false
6529
+ * }
6530
+ * ]
6531
+ * },
6532
+ * {
6533
+ * "condition": "user_is_logged_in",
6534
+ * "invert": false
6535
+ * }
6536
+ * ]
6419
6537
  * }
6420
6538
  *
6421
6539
  *
6422
6540
  *
6423
6541
  */
6424
- export interface I18NProperty24 {
6425
- value: string;
6426
- i18n?: string;
6542
+ export interface CompositeCondition3 {
6543
+ conditions?: (SingleCondition | CompositeCondition4)[];
6544
+ type?: 'and' | 'AND' | 'or' | 'OR';
6427
6545
  [k: string]: unknown;
6428
6546
  }
6429
6547
  /**
6430
6548
  *
6431
6549
  *
6550
+ * Composite Conditions are composed of a collection of [Single Condition](../single-condition/) / Composite Conditions
6551
+ * and a type attribute.
6432
6552
  *
6433
- */
6434
- export interface URL {
6435
- url: string;
6436
- [k: string]: unknown;
6437
- }
6438
- /**
6553
+ * <h3>Example</h3>
6439
6554
  *
6440
6555
  *
6441
6556
  *
6442
- */
6443
- export interface URL1 {
6444
- url: string;
6445
- [k: string]: unknown;
6446
- }
6447
- /**
6557
+ *
6558
+ *
6559
+ * {
6560
+ * "conditions": [
6561
+ * {
6562
+ * "or": [
6563
+ * {
6564
+ * "condition": "can_attach_file_to_issue",
6565
+ * "invert": false
6566
+ * },
6567
+ * {
6568
+ * "condition": "is_issue_assigned_to_current_user",
6569
+ * "invert": false
6570
+ * }
6571
+ * ]
6572
+ * },
6573
+ * {
6574
+ * "condition": "user_is_logged_in",
6575
+ * "invert": false
6576
+ * }
6577
+ * ]
6578
+ * }
6448
6579
  *
6449
6580
  *
6450
6581
  *
6451
6582
  */
6452
- export interface URL2 {
6453
- url: string;
6583
+ export interface CompositeCondition4 {
6584
+ conditions?: (SingleCondition | ManifestSchema)[];
6585
+ type?: 'and' | 'AND' | 'or' | 'OR';
6454
6586
  [k: string]: unknown;
6455
6587
  }
6456
6588
  /**
6457
6589
  *
6458
6590
  *
6459
- * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
6460
- * and value in multiple places if you like, but identical keys must have identical values.
6591
+ * Single Conditions are either provided by the host application. See the complete documentation of
6592
+ * [Conditions](../../conditions/) for more information.
6593
+ *
6594
+ * To invert a condition, add the attribute ``invert="true"`` to the condition element.
6595
+ * This is useful where you want to show the section if a certain condition is not satisfied.
6461
6596
  *
6462
6597
  * <h3>Example</h3>
6463
6598
  *
@@ -6466,15 +6601,19 @@ export interface URL2 {
6466
6601
  *
6467
6602
  *
6468
6603
  * {
6469
- * "value": "My text"
6604
+ * "condition": "user_is_logged_in",
6605
+ * "invert": false
6470
6606
  * }
6471
6607
  *
6472
6608
  *
6473
6609
  *
6474
6610
  */
6475
- export interface I18NProperty25 {
6476
- value: string;
6477
- i18n?: string;
6611
+ export interface SingleCondition2 {
6612
+ condition: string;
6613
+ invert?: boolean;
6614
+ params?: {
6615
+ [k: string]: unknown;
6616
+ };
6478
6617
  [k: string]: unknown;
6479
6618
  }
6480
6619
  /**
@@ -6496,7 +6635,7 @@ export interface I18NProperty25 {
6496
6635
  *
6497
6636
  *
6498
6637
  */
6499
- export interface I18NProperty26 {
6638
+ export interface I18NProperty23 {
6500
6639
  value: string;
6501
6640
  i18n?: string;
6502
6641
  [k: string]: unknown;
@@ -6506,14 +6645,24 @@ export interface I18NProperty26 {
6506
6645
  *
6507
6646
  *
6508
6647
  */
6509
- export interface URL3 {
6648
+ export interface URL {
6510
6649
  url: string;
6511
6650
  [k: string]: unknown;
6512
6651
  }
6513
6652
  /**
6514
6653
  *
6515
6654
  *
6516
- * Defines an icon to display.
6655
+ *
6656
+ */
6657
+ export interface URL1 {
6658
+ url: string;
6659
+ [k: string]: unknown;
6660
+ }
6661
+ /**
6662
+ *
6663
+ *
6664
+ * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
6665
+ * and value in multiple places if you like, but identical keys must have identical values.
6517
6666
  *
6518
6667
  * <h3>Example</h3>
6519
6668
  *
@@ -6522,20 +6671,15 @@ export interface URL3 {
6522
6671
  *
6523
6672
  *
6524
6673
  * {
6525
- * "icon": {
6526
- * "width": 16,
6527
- * "height": 16,
6528
- * "url": "/my-icon.png"
6529
- * }
6674
+ * "value": "My text"
6530
6675
  * }
6531
6676
  *
6532
6677
  *
6533
6678
  *
6534
6679
  */
6535
- export interface Icon5 {
6536
- width?: number;
6537
- url: string;
6538
- height?: number;
6680
+ export interface I18NProperty24 {
6681
+ value: string;
6682
+ i18n?: string;
6539
6683
  [k: string]: unknown;
6540
6684
  }
6541
6685
  /**
@@ -6557,7 +6701,7 @@ export interface Icon5 {
6557
6701
  *
6558
6702
  *
6559
6703
  */
6560
- export interface I18NProperty27 {
6704
+ export interface I18NProperty25 {
6561
6705
  value: string;
6562
6706
  i18n?: string;
6563
6707
  [k: string]: unknown;
@@ -6565,13 +6709,10 @@ export interface I18NProperty27 {
6565
6709
  /**
6566
6710
  *
6567
6711
  *
6568
- * Describes the content for the issue glance module. It specifies static text to show inside the glance, which is left-aligned next to the icon.
6569
- *
6570
6712
  *
6571
6713
  */
6572
- export interface IssueGlanceContentLabel {
6573
- label: I18NProperty28;
6574
- type: 'label' | 'LABEL';
6714
+ export interface URL2 {
6715
+ url: string;
6575
6716
  [k: string]: unknown;
6576
6717
  }
6577
6718
  /**
@@ -6593,7 +6734,7 @@ export interface IssueGlanceContentLabel {
6593
6734
  *
6594
6735
  *
6595
6736
  */
6596
- export interface I18NProperty28 {
6737
+ export interface I18NProperty26 {
6597
6738
  value: string;
6598
6739
  i18n?: string;
6599
6740
  [k: string]: unknown;
@@ -6601,19 +6742,38 @@ export interface I18NProperty28 {
6601
6742
  /**
6602
6743
  *
6603
6744
  *
6604
- * Describes the target of the issue glance module. This supports displaying a web panel in the context area of the issue.
6745
+ *
6746
+ */
6747
+ export interface URL3 {
6748
+ url: string;
6749
+ [k: string]: unknown;
6750
+ }
6751
+ /**
6752
+ *
6605
6753
  *
6606
6754
  *
6607
6755
  */
6608
- export interface IssueGlanceTargetWebPanel {
6609
- type: 'web_panel' | 'WEB_PANEL';
6756
+ export interface URL4 {
6610
6757
  url: string;
6611
6758
  [k: string]: unknown;
6612
6759
  }
6613
6760
  /**
6614
6761
  *
6615
6762
  *
6616
- * Defines an icon to display.
6763
+ * A Jira expression that will be evaluated if the workflow validator fails.
6764
+ * The string returned by the Jira expression will be displayed as the error message for the failed transition.
6765
+ *
6766
+ *
6767
+ */
6768
+ export interface JiraExpressionErrorMessage {
6769
+ expression: string;
6770
+ [k: string]: unknown;
6771
+ }
6772
+ /**
6773
+ *
6774
+ *
6775
+ * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
6776
+ * and value in multiple places if you like, but identical keys must have identical values.
6617
6777
  *
6618
6778
  * <h3>Example</h3>
6619
6779
  *
@@ -6622,20 +6782,15 @@ export interface IssueGlanceTargetWebPanel {
6622
6782
  *
6623
6783
  *
6624
6784
  * {
6625
- * "icon": {
6626
- * "width": 16,
6627
- * "height": 16,
6628
- * "url": "/my-icon.png"
6629
- * }
6785
+ * "value": "My text"
6630
6786
  * }
6631
6787
  *
6632
6788
  *
6633
6789
  *
6634
6790
  */
6635
- export interface Icon6 {
6636
- width?: number;
6637
- url: string;
6638
- height?: number;
6791
+ export interface I18NProperty27 {
6792
+ value: string;
6793
+ i18n?: string;
6639
6794
  [k: string]: unknown;
6640
6795
  }
6641
6796
  /**
@@ -6657,7 +6812,7 @@ export interface Icon6 {
6657
6812
  *
6658
6813
  *
6659
6814
  */
6660
- export interface I18NProperty29 {
6815
+ export interface I18NProperty28 {
6661
6816
  value: string;
6662
6817
  i18n?: string;
6663
6818
  [k: string]: unknown;
@@ -6681,7 +6836,7 @@ export interface I18NProperty29 {
6681
6836
  *
6682
6837
  *
6683
6838
  */
6684
- export interface I18NProperty30 {
6839
+ export interface I18NProperty29 {
6685
6840
  value: string;
6686
6841
  i18n?: string;
6687
6842
  [k: string]: unknown;
@@ -6689,15 +6844,35 @@ export interface I18NProperty30 {
6689
6844
  /**
6690
6845
  *
6691
6846
  *
6692
- * Describes the target of the issue content module. Supports displaying a web panel in the content area of the issue view.
6693
- *
6694
6847
  *
6695
6848
  */
6696
- export interface IssuePageTargetWebPanel {
6697
- type: 'web_panel' | 'WEB_PANEL';
6849
+ export interface URL5 {
6698
6850
  url: string;
6699
6851
  [k: string]: unknown;
6700
6852
  }
6853
+ /**
6854
+ *
6855
+ *
6856
+ * Describes the location of the dashboard background script module.
6857
+ *
6858
+ *
6859
+ */
6860
+ export interface DashboardBackgroundScriptLocation {
6861
+ type: 'issue_view' | 'ISSUE_VIEW' | 'dashboard' | 'DASHBOARD';
6862
+ [k: string]: unknown;
6863
+ }
6864
+ /**
6865
+ *
6866
+ *
6867
+ * Describes the location of the issue background script module.
6868
+ *
6869
+ *
6870
+ */
6871
+ export interface IssueBackgroundScriptLocation {
6872
+ type: 'issue_view' | 'ISSUE_VIEW' | 'dashboard' | 'DASHBOARD';
6873
+ shouldReloadOnRefresh?: boolean;
6874
+ [k: string]: unknown;
6875
+ }
6701
6876
  /**
6702
6877
  *
6703
6878
  *
@@ -6717,7 +6892,7 @@ export interface IssuePageTargetWebPanel {
6717
6892
  *
6718
6893
  *
6719
6894
  */
6720
- export interface I18NProperty31 {
6895
+ export interface I18NProperty30 {
6721
6896
  value: string;
6722
6897
  i18n?: string;
6723
6898
  [k: string]: unknown;
@@ -6741,33 +6916,11 @@ export interface I18NProperty31 {
6741
6916
  *
6742
6917
  *
6743
6918
  */
6744
- export interface I18NProperty32 {
6919
+ export interface I18NProperty31 {
6745
6920
  value: string;
6746
6921
  i18n?: string;
6747
6922
  [k: string]: unknown;
6748
6923
  }
6749
- /**
6750
- *
6751
- *
6752
- * <p>Development actions that can be performed by Jira users.</p>
6753
- * <p>Each action is optional (unless indicated otherwise). The absence of an action indicates that the action is not supported by the provider.</p>
6754
- *
6755
- *
6756
- */
6757
- export interface DevelopmentActions {
6758
- /**
6759
- *
6760
- *
6761
- * <p>Defines the URL template that is used when an action is invoked. The following context parameters are supported: <code>{issue.key}</code>, <code>{issue.summary}</code>.</p>
6762
- *
6763
- *
6764
- */
6765
- createBranch?: {
6766
- templateUrl: string;
6767
- [k: string]: unknown;
6768
- };
6769
- [k: string]: unknown;
6770
- }
6771
6924
  /**
6772
6925
  *
6773
6926
  *
@@ -6787,7 +6940,7 @@ export interface DevelopmentActions {
6787
6940
  *
6788
6941
  *
6789
6942
  */
6790
- export interface I18NProperty33 {
6943
+ export interface I18NProperty32 {
6791
6944
  value: string;
6792
6945
  i18n?: string;
6793
6946
  [k: string]: unknown;
@@ -6795,11 +6948,8 @@ export interface I18NProperty33 {
6795
6948
  /**
6796
6949
  *
6797
6950
  *
6798
- * Single Conditions are either provided by the host application. See the complete documentation of
6799
- * [Conditions](../../conditions/) for more information.
6800
- *
6801
- * To invert a condition, add the attribute ``invert="true"`` to the condition element.
6802
- * This is useful where you want to show the section if a certain condition is not satisfied.
6951
+ * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
6952
+ * and value in multiple places if you like, but identical keys must have identical values.
6803
6953
  *
6804
6954
  * <h3>Example</h3>
6805
6955
  *
@@ -6808,26 +6958,22 @@ export interface I18NProperty33 {
6808
6958
  *
6809
6959
  *
6810
6960
  * {
6811
- * "condition": "user_is_logged_in",
6812
- * "invert": false
6961
+ * "value": "My text"
6813
6962
  * }
6814
6963
  *
6815
6964
  *
6816
6965
  *
6817
6966
  */
6818
- export interface SingleCondition2 {
6819
- condition: string;
6820
- invert?: boolean;
6821
- params?: {
6822
- [k: string]: unknown;
6823
- };
6967
+ export interface I18NProperty33 {
6968
+ value: string;
6969
+ i18n?: string;
6824
6970
  [k: string]: unknown;
6825
6971
  }
6826
6972
  /**
6827
6973
  *
6828
6974
  *
6829
- * Composite Conditions are composed of a collection of [Single Condition](../single-condition/) / Composite Conditions
6830
- * and a type attribute.
6975
+ * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
6976
+ * and value in multiple places if you like, but identical keys must have identical values.
6831
6977
  *
6832
6978
  * <h3>Example</h3>
6833
6979
  *
@@ -6836,73 +6982,42 @@ export interface SingleCondition2 {
6836
6982
  *
6837
6983
  *
6838
6984
  * {
6839
- * "conditions": [
6840
- * {
6841
- * "or": [
6842
- * {
6843
- * "condition": "can_attach_file_to_issue",
6844
- * "invert": false
6845
- * },
6846
- * {
6847
- * "condition": "is_issue_assigned_to_current_user",
6848
- * "invert": false
6849
- * }
6850
- * ]
6851
- * },
6852
- * {
6853
- * "condition": "user_is_logged_in",
6854
- * "invert": false
6855
- * }
6856
- * ]
6985
+ * "value": "My text"
6857
6986
  * }
6858
6987
  *
6859
6988
  *
6860
6989
  *
6861
6990
  */
6862
- export interface CompositeCondition2 {
6863
- conditions?: (SingleCondition | CompositeCondition3)[];
6864
- type?: 'and' | 'AND' | 'or' | 'OR';
6991
+ export interface I18NProperty34 {
6992
+ value: string;
6993
+ i18n?: string;
6865
6994
  [k: string]: unknown;
6866
6995
  }
6867
6996
  /**
6868
6997
  *
6869
6998
  *
6870
- * Composite Conditions are composed of a collection of [Single Condition](../single-condition/) / Composite Conditions
6871
- * and a type attribute.
6872
- *
6873
- * <h3>Example</h3>
6874
- *
6875
6999
  *
7000
+ */
7001
+ export interface URL6 {
7002
+ url: string;
7003
+ [k: string]: unknown;
7004
+ }
7005
+ /**
6876
7006
  *
6877
7007
  *
6878
7008
  *
6879
- * {
6880
- * "conditions": [
6881
- * {
6882
- * "or": [
6883
- * {
6884
- * "condition": "can_attach_file_to_issue",
6885
- * "invert": false
6886
- * },
6887
- * {
6888
- * "condition": "is_issue_assigned_to_current_user",
6889
- * "invert": false
6890
- * }
6891
- * ]
6892
- * },
6893
- * {
6894
- * "condition": "user_is_logged_in",
6895
- * "invert": false
6896
- * }
6897
- * ]
6898
- * }
7009
+ */
7010
+ export interface URL7 {
7011
+ url: string;
7012
+ [k: string]: unknown;
7013
+ }
7014
+ /**
6899
7015
  *
6900
7016
  *
6901
7017
  *
6902
7018
  */
6903
- export interface CompositeCondition3 {
6904
- conditions?: (SingleCondition | ManifestSchema)[];
6905
- type?: 'and' | 'AND' | 'or' | 'OR';
7019
+ export interface URL8 {
7020
+ url: string;
6906
7021
  [k: string]: unknown;
6907
7022
  }
6908
7023
  /**
@@ -6924,7 +7039,7 @@ export interface CompositeCondition3 {
6924
7039
  *
6925
7040
  *
6926
7041
  */
6927
- export interface I18NProperty34 {
7042
+ export interface I18NProperty35 {
6928
7043
  value: string;
6929
7044
  i18n?: string;
6930
7045
  [k: string]: unknown;
@@ -6948,7 +7063,7 @@ export interface I18NProperty34 {
6948
7063
  *
6949
7064
  *
6950
7065
  */
6951
- export interface I18NProperty35 {
7066
+ export interface I18NProperty36 {
6952
7067
  value: string;
6953
7068
  i18n?: string;
6954
7069
  [k: string]: unknown;
@@ -6956,39 +7071,38 @@ export interface I18NProperty35 {
6956
7071
  /**
6957
7072
  *
6958
7073
  *
6959
- * Defines the template used to render issue field options in the UI view.
6960
- *
6961
7074
  *
6962
7075
  */
6963
- export interface IssueFieldTemplate {
6964
- type: 'link' | 'LINK';
7076
+ export interface URL9 {
6965
7077
  url: string;
6966
7078
  [k: string]: unknown;
6967
7079
  }
6968
7080
  /**
6969
7081
  *
6970
7082
  *
6971
- * Defines an issue property that will store the value for the issue field of the `read_only` type.
7083
+ * Defines an icon to display.
6972
7084
  *
6973
- * <p><b>Example</b></p>
7085
+ * <h3>Example</h3>
6974
7086
  *
6975
7087
  *
6976
7088
  *
6977
7089
  *
6978
7090
  *
6979
7091
  * {
6980
- * "path": "comments.count",
6981
- * "key": "statistics",
6982
- * "type": "number"
7092
+ * "icon": {
7093
+ * "width": 16,
7094
+ * "height": 16,
7095
+ * "url": "/my-icon.png"
7096
+ * }
6983
7097
  * }
6984
7098
  *
6985
7099
  *
6986
7100
  *
6987
7101
  */
6988
- export interface IssueFieldProperty {
6989
- path: string;
6990
- type: 'number' | 'NUMBER' | 'string' | 'STRING' | 'date' | 'DATE';
6991
- key: string;
7102
+ export interface Icon6 {
7103
+ width?: number;
7104
+ url: string;
7105
+ height?: number;
6992
7106
  [k: string]: unknown;
6993
7107
  }
6994
7108
  /**
@@ -7010,7 +7124,7 @@ export interface IssueFieldProperty {
7010
7124
  *
7011
7125
  *
7012
7126
  */
7013
- export interface I18NProperty36 {
7127
+ export interface I18NProperty37 {
7014
7128
  value: string;
7015
7129
  i18n?: string;
7016
7130
  [k: string]: unknown;
@@ -7034,7 +7148,7 @@ export interface I18NProperty36 {
7034
7148
  *
7035
7149
  *
7036
7150
  */
7037
- export interface I18NProperty37 {
7151
+ export interface I18NProperty38 {
7038
7152
  value: string;
7039
7153
  i18n?: string;
7040
7154
  [k: string]: unknown;
@@ -7042,35 +7156,13 @@ export interface I18NProperty37 {
7042
7156
  /**
7043
7157
  *
7044
7158
  *
7045
- * Defines an issue field option property to be indexed by Jira. An option can contain an additional properties object.
7046
- * In this bean, you can define which properties will be extracted, so that a user will be able to search for issues which have options set that have a certain property.
7047
- *
7048
- * <p>
7049
- * Note that `multi_select` fields may have more than one option selected. In that case, properties from all options
7050
- * are indexed. Each Option's properties should have the same structure to be indexed properly, i.e. the types of values
7051
- * across all options' properties should not differ. If they do, Jira will still try to act smart and do the most reasonable thing,
7052
- * but the results are not guaranteed.
7053
- * </p>
7054
- *
7055
- * <p><b>Example</b></p>
7056
- *
7057
- *
7058
- *
7059
- *
7060
- *
7061
- * {
7062
- * "path": "category",
7063
- * "type": "text",
7064
- * "name": "categoryName"
7065
- * }
7066
- *
7159
+ * Describes the target of the issue content module. Supports displaying a web panel in the content area of the issue view.
7067
7160
  *
7068
7161
  *
7069
7162
  */
7070
- export interface IssueFieldOptionPropertyIndex {
7071
- path: string;
7072
- name?: string;
7073
- type: 'number' | 'NUMBER' | 'text' | 'TEXT' | 'string' | 'STRING' | 'user' | 'USER' | 'date' | 'DATE';
7163
+ export interface IssuePageTargetWebPanel {
7164
+ type: 'web_panel' | 'WEB_PANEL';
7165
+ url: string;
7074
7166
  [k: string]: unknown;
7075
7167
  }
7076
7168
  /**
@@ -7092,7 +7184,7 @@ export interface IssueFieldOptionPropertyIndex {
7092
7184
  *
7093
7185
  *
7094
7186
  */
7095
- export interface I18NProperty38 {
7187
+ export interface I18NProperty39 {
7096
7188
  value: string;
7097
7189
  i18n?: string;
7098
7190
  [k: string]: unknown;
@@ -7100,39 +7192,8 @@ export interface I18NProperty38 {
7100
7192
  /**
7101
7193
  *
7102
7194
  *
7103
- * Single Conditions are either provided by the host application. See the complete documentation of
7104
- * [Conditions](../../conditions/) for more information.
7105
- *
7106
- * To invert a condition, add the attribute ``invert="true"`` to the condition element.
7107
- * This is useful where you want to show the section if a certain condition is not satisfied.
7108
- *
7109
- * <h3>Example</h3>
7110
- *
7111
- *
7112
- *
7113
- *
7114
- *
7115
- * {
7116
- * "condition": "user_is_logged_in",
7117
- * "invert": false
7118
- * }
7119
- *
7120
- *
7121
- *
7122
- */
7123
- export interface SingleCondition3 {
7124
- condition: string;
7125
- invert?: boolean;
7126
- params?: {
7127
- [k: string]: unknown;
7128
- };
7129
- [k: string]: unknown;
7130
- }
7131
- /**
7132
- *
7133
- *
7134
- * Composite Conditions are composed of a collection of [Single Condition](../single-condition/) / Composite Conditions
7135
- * and a type attribute.
7195
+ * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
7196
+ * and value in multiple places if you like, but identical keys must have identical values.
7136
7197
  *
7137
7198
  * <h3>Example</h3>
7138
7199
  *
@@ -7141,73 +7202,37 @@ export interface SingleCondition3 {
7141
7202
  *
7142
7203
  *
7143
7204
  * {
7144
- * "conditions": [
7145
- * {
7146
- * "or": [
7147
- * {
7148
- * "condition": "can_attach_file_to_issue",
7149
- * "invert": false
7150
- * },
7151
- * {
7152
- * "condition": "is_issue_assigned_to_current_user",
7153
- * "invert": false
7154
- * }
7155
- * ]
7156
- * },
7157
- * {
7158
- * "condition": "user_is_logged_in",
7159
- * "invert": false
7160
- * }
7161
- * ]
7205
+ * "value": "My text"
7162
7206
  * }
7163
7207
  *
7164
7208
  *
7165
7209
  *
7166
7210
  */
7167
- export interface CompositeCondition4 {
7168
- conditions?: (SingleCondition | CompositeCondition5)[];
7169
- type?: 'and' | 'AND' | 'or' | 'OR';
7211
+ export interface I18NProperty40 {
7212
+ value: string;
7213
+ i18n?: string;
7170
7214
  [k: string]: unknown;
7171
7215
  }
7172
7216
  /**
7173
7217
  *
7174
7218
  *
7175
- * Composite Conditions are composed of a collection of [Single Condition](../single-condition/) / Composite Conditions
7176
- * and a type attribute.
7177
- *
7178
- * <h3>Example</h3>
7179
- *
7180
- *
7181
- *
7182
- *
7183
- *
7184
- * {
7185
- * "conditions": [
7186
- * {
7187
- * "or": [
7188
- * {
7189
- * "condition": "can_attach_file_to_issue",
7190
- * "invert": false
7191
- * },
7192
- * {
7193
- * "condition": "is_issue_assigned_to_current_user",
7194
- * "invert": false
7195
- * }
7196
- * ]
7197
- * },
7198
- * {
7199
- * "condition": "user_is_logged_in",
7200
- * "invert": false
7201
- * }
7202
- * ]
7203
- * }
7204
- *
7219
+ * <p>Development actions that can be performed by Jira users.</p>
7220
+ * <p>Each action is optional (unless indicated otherwise). The absence of an action indicates that the action is not supported by the provider.</p>
7205
7221
  *
7206
7222
  *
7207
7223
  */
7208
- export interface CompositeCondition5 {
7209
- conditions?: (SingleCondition | ManifestSchema)[];
7210
- type?: 'and' | 'AND' | 'or' | 'OR';
7224
+ export interface DevelopmentActions {
7225
+ /**
7226
+ *
7227
+ *
7228
+ * <p>Defines the URL template that is used when an action is invoked. The following context parameters are supported: <code>{issue.key}</code>, <code>{issue.summary}</code>.</p>
7229
+ *
7230
+ *
7231
+ */
7232
+ createBranch?: {
7233
+ templateUrl: string;
7234
+ [k: string]: unknown;
7235
+ };
7211
7236
  [k: string]: unknown;
7212
7237
  }
7213
7238
  /**
@@ -7229,7 +7254,7 @@ export interface CompositeCondition5 {
7229
7254
  *
7230
7255
  *
7231
7256
  */
7232
- export interface I18NProperty39 {
7257
+ export interface I18NProperty41 {
7233
7258
  value: string;
7234
7259
  i18n?: string;
7235
7260
  [k: string]: unknown;
@@ -7237,26 +7262,49 @@ export interface I18NProperty39 {
7237
7262
  /**
7238
7263
  *
7239
7264
  *
7265
+ * Composite Conditions are composed of a collection of [Single Condition](../single-condition/) / Composite Conditions
7266
+ * and a type attribute.
7240
7267
  *
7241
- */
7242
- export interface URL4 {
7243
- url: string;
7244
- [k: string]: unknown;
7245
- }
7246
- /**
7268
+ * <h3>Example</h3>
7269
+ *
7270
+ *
7271
+ *
7272
+ *
7273
+ *
7274
+ * {
7275
+ * "conditions": [
7276
+ * {
7277
+ * "or": [
7278
+ * {
7279
+ * "condition": "can_attach_file_to_issue",
7280
+ * "invert": false
7281
+ * },
7282
+ * {
7283
+ * "condition": "is_issue_assigned_to_current_user",
7284
+ * "invert": false
7285
+ * }
7286
+ * ]
7287
+ * },
7288
+ * {
7289
+ * "condition": "user_is_logged_in",
7290
+ * "invert": false
7291
+ * }
7292
+ * ]
7293
+ * }
7247
7294
  *
7248
7295
  *
7249
7296
  *
7250
7297
  */
7251
- export interface URL5 {
7252
- url: string;
7298
+ export interface CompositeCondition5 {
7299
+ conditions?: (SingleCondition | CompositeCondition6)[];
7300
+ type?: 'and' | 'AND' | 'or' | 'OR';
7253
7301
  [k: string]: unknown;
7254
7302
  }
7255
7303
  /**
7256
7304
  *
7257
7305
  *
7258
- * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
7259
- * and value in multiple places if you like, but identical keys must have identical values.
7306
+ * Composite Conditions are composed of a collection of [Single Condition](../single-condition/) / Composite Conditions
7307
+ * and a type attribute.
7260
7308
  *
7261
7309
  * <h3>Example</h3>
7262
7310
  *
@@ -7265,22 +7313,42 @@ export interface URL5 {
7265
7313
  *
7266
7314
  *
7267
7315
  * {
7268
- * "value": "My text"
7316
+ * "conditions": [
7317
+ * {
7318
+ * "or": [
7319
+ * {
7320
+ * "condition": "can_attach_file_to_issue",
7321
+ * "invert": false
7322
+ * },
7323
+ * {
7324
+ * "condition": "is_issue_assigned_to_current_user",
7325
+ * "invert": false
7326
+ * }
7327
+ * ]
7328
+ * },
7329
+ * {
7330
+ * "condition": "user_is_logged_in",
7331
+ * "invert": false
7332
+ * }
7333
+ * ]
7269
7334
  * }
7270
7335
  *
7271
7336
  *
7272
7337
  *
7273
7338
  */
7274
- export interface I18NProperty40 {
7275
- value: string;
7276
- i18n?: string;
7339
+ export interface CompositeCondition6 {
7340
+ conditions?: (SingleCondition | ManifestSchema)[];
7341
+ type?: 'and' | 'AND' | 'or' | 'OR';
7277
7342
  [k: string]: unknown;
7278
7343
  }
7279
7344
  /**
7280
7345
  *
7281
7346
  *
7282
- * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
7283
- * and value in multiple places if you like, but identical keys must have identical values.
7347
+ * Single Conditions are either provided by the host application. See the complete documentation of
7348
+ * [Conditions](../../conditions/) for more information.
7349
+ *
7350
+ * To invert a condition, add the attribute ``invert="true"`` to the condition element.
7351
+ * This is useful where you want to show the section if a certain condition is not satisfied.
7284
7352
  *
7285
7353
  * <h3>Example</h3>
7286
7354
  *
@@ -7289,24 +7357,19 @@ export interface I18NProperty40 {
7289
7357
  *
7290
7358
  *
7291
7359
  * {
7292
- * "value": "My text"
7360
+ * "condition": "user_is_logged_in",
7361
+ * "invert": false
7293
7362
  * }
7294
7363
  *
7295
7364
  *
7296
7365
  *
7297
7366
  */
7298
- export interface I18NProperty41 {
7299
- value: string;
7300
- i18n?: string;
7301
- [k: string]: unknown;
7302
- }
7303
- /**
7304
- *
7305
- *
7306
- *
7307
- */
7308
- export interface URL6 {
7309
- url: string;
7367
+ export interface SingleCondition3 {
7368
+ condition: string;
7369
+ invert?: boolean;
7370
+ params?: {
7371
+ [k: string]: unknown;
7372
+ };
7310
7373
  [k: string]: unknown;
7311
7374
  }
7312
7375
  /**
@@ -7360,43 +7423,63 @@ export interface I18NProperty43 {
7360
7423
  /**
7361
7424
  *
7362
7425
  *
7363
- * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
7364
- * and value in multiple places if you like, but identical keys must have identical values.
7426
+ * Defines the template used to render issue field options in the UI view.
7365
7427
  *
7366
- * <h3>Example</h3>
7428
+ *
7429
+ */
7430
+ export interface IssueFieldTemplate {
7431
+ type: 'link' | 'LINK';
7432
+ url: string;
7433
+ [k: string]: unknown;
7434
+ }
7435
+ /**
7436
+ *
7437
+ *
7438
+ * Defines an issue property that will store the value for the issue field of the `read_only` type.
7439
+ *
7440
+ * <p><b>Example</b></p>
7367
7441
  *
7368
7442
  *
7369
7443
  *
7370
7444
  *
7371
7445
  *
7372
7446
  * {
7373
- * "value": "My text"
7447
+ * "path": "comments.count",
7448
+ * "key": "statistics",
7449
+ * "type": "number"
7374
7450
  * }
7375
7451
  *
7376
7452
  *
7377
7453
  *
7378
7454
  */
7379
- export interface I18NProperty44 {
7380
- value: string;
7381
- i18n?: string;
7455
+ export interface IssueFieldProperty {
7456
+ path: string;
7457
+ type: 'number' | 'NUMBER' | 'string' | 'STRING' | 'date' | 'DATE';
7458
+ key: string;
7382
7459
  [k: string]: unknown;
7383
7460
  }
7384
7461
  /**
7385
7462
  *
7386
7463
  *
7464
+ * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
7465
+ * and value in multiple places if you like, but identical keys must have identical values.
7466
+ *
7467
+ * <h3>Example</h3>
7468
+ *
7387
7469
  *
7388
- */
7389
- export interface URL7 {
7390
- url: string;
7391
- [k: string]: unknown;
7392
- }
7393
- /**
7470
+ *
7471
+ *
7472
+ *
7473
+ * {
7474
+ * "value": "My text"
7475
+ * }
7394
7476
  *
7395
7477
  *
7396
7478
  *
7397
7479
  */
7398
- export interface URL8 {
7399
- url: string;
7480
+ export interface I18NProperty44 {
7481
+ value: string;
7482
+ i18n?: string;
7400
7483
  [k: string]: unknown;
7401
7484
  }
7402
7485
  /**
@@ -7426,13 +7509,35 @@ export interface I18NProperty45 {
7426
7509
  /**
7427
7510
  *
7428
7511
  *
7429
- * A Jira expression that will be evaluated if the workflow validator fails.
7430
- * The string returned by the Jira expression will be displayed as the error message for the failed transition.
7512
+ * Defines an issue field option property to be indexed by Jira. An option can contain an additional properties object.
7513
+ * In this bean, you can define which properties will be extracted, so that a user will be able to search for issues which have options set that have a certain property.
7514
+ *
7515
+ * <p>
7516
+ * Note that `multi_select` fields may have more than one option selected. In that case, properties from all options
7517
+ * are indexed. Each Option's properties should have the same structure to be indexed properly, i.e. the types of values
7518
+ * across all options' properties should not differ. If they do, Jira will still try to act smart and do the most reasonable thing,
7519
+ * but the results are not guaranteed.
7520
+ * </p>
7521
+ *
7522
+ * <p><b>Example</b></p>
7523
+ *
7524
+ *
7525
+ *
7526
+ *
7527
+ *
7528
+ * {
7529
+ * "path": "category",
7530
+ * "type": "text",
7531
+ * "name": "categoryName"
7532
+ * }
7533
+ *
7431
7534
  *
7432
7535
  *
7433
7536
  */
7434
- export interface JiraExpressionErrorMessage {
7435
- expression: string;
7537
+ export interface IssueFieldOptionPropertyIndex {
7538
+ path: string;
7539
+ name?: string;
7540
+ type: 'number' | 'NUMBER' | 'text' | 'TEXT' | 'string' | 'STRING' | 'user' | 'USER' | 'date' | 'DATE';
7436
7541
  [k: string]: unknown;
7437
7542
  }
7438
7543
  /**
@@ -7483,15 +7588,6 @@ export interface I18NProperty47 {
7483
7588
  i18n?: string;
7484
7589
  [k: string]: unknown;
7485
7590
  }
7486
- /**
7487
- *
7488
- *
7489
- *
7490
- */
7491
- export interface URL9 {
7492
- url: string;
7493
- [k: string]: unknown;
7494
- }
7495
7591
  /**
7496
7592
  *
7497
7593
  *
@@ -7516,18 +7612,6 @@ export interface I18NProperty48 {
7516
7612
  i18n?: string;
7517
7613
  [k: string]: unknown;
7518
7614
  }
7519
- /**
7520
- *
7521
- *
7522
- * Describes the location of the issue background script module.
7523
- *
7524
- *
7525
- */
7526
- export interface IssueBackgroundScriptLocation {
7527
- type: 'issue_view' | 'ISSUE_VIEW';
7528
- shouldReloadOnRefresh?: boolean;
7529
- [k: string]: unknown;
7530
- }
7531
7615
  /**
7532
7616
  *
7533
7617
  *
@@ -7958,10 +8042,74 @@ export interface Icon10 {
7958
8042
  *
7959
8043
  */
7960
8044
  export interface WebItemTarget1 {
7961
- options?: DialogOptions2 | DialogModuleOptions1 | InlineDialogOptions1;
8045
+ options?: InlineDialogOptions1 | DialogModuleOptions1 | DialogOptions2;
7962
8046
  type?: 'page' | 'PAGE' | 'dialog' | 'DIALOG' | 'inlinedialog' | 'INLINEDIALOG' | 'dialogmodule' | 'DIALOGMODULE';
7963
8047
  [k: string]: unknown;
7964
8048
  }
8049
+ /**
8050
+ *
8051
+ *
8052
+ * Options for an inline dialog target
8053
+ *
8054
+ * <h3>Example</h3>
8055
+ *
8056
+ *
8057
+ *
8058
+ *
8059
+ *
8060
+ * {
8061
+ * "target": {
8062
+ * "type": "inlinedialog",
8063
+ * "options": {
8064
+ * "onHover": true,
8065
+ * "offsetX": "30px",
8066
+ * "offsetY": "20px"
8067
+ * }
8068
+ * }
8069
+ * }
8070
+ *
8071
+ *
8072
+ *
8073
+ */
8074
+ export interface InlineDialogOptions1 {
8075
+ offsetX?: string;
8076
+ offsetY?: string;
8077
+ width?: string;
8078
+ onTop?: boolean;
8079
+ showDelay?: number;
8080
+ closeOthers?: boolean;
8081
+ persistent?: boolean;
8082
+ onHover?: boolean;
8083
+ isRelativeToMouse?: boolean;
8084
+ [k: string]: unknown;
8085
+ }
8086
+ /**
8087
+ *
8088
+ *
8089
+ * Options for a web-item targeting a common <a href="../dialog/">dialog module</a>.
8090
+ *
8091
+ * <h3>Example</h3>
8092
+ *
8093
+ *
8094
+ *
8095
+ *
8096
+ *
8097
+ * {
8098
+ * "target": {
8099
+ * "type": "dialogmodule",
8100
+ * "options": {
8101
+ * "key": "dialog-module-key"
8102
+ * }
8103
+ * }
8104
+ * }
8105
+ *
8106
+ *
8107
+ *
8108
+ */
8109
+ export interface DialogModuleOptions1 {
8110
+ key: string;
8111
+ [k: string]: unknown;
8112
+ }
7965
8113
  /**
7966
8114
  *
7967
8115
  *
@@ -8060,70 +8208,6 @@ export interface I18NProperty58 {
8060
8208
  i18n?: string;
8061
8209
  [k: string]: unknown;
8062
8210
  }
8063
- /**
8064
- *
8065
- *
8066
- * Options for a web-item targeting a common <a href="../dialog/">dialog module</a>.
8067
- *
8068
- * <h3>Example</h3>
8069
- *
8070
- *
8071
- *
8072
- *
8073
- *
8074
- * {
8075
- * "target": {
8076
- * "type": "dialogmodule",
8077
- * "options": {
8078
- * "key": "dialog-module-key"
8079
- * }
8080
- * }
8081
- * }
8082
- *
8083
- *
8084
- *
8085
- */
8086
- export interface DialogModuleOptions1 {
8087
- key: string;
8088
- [k: string]: unknown;
8089
- }
8090
- /**
8091
- *
8092
- *
8093
- * Options for an inline dialog target
8094
- *
8095
- * <h3>Example</h3>
8096
- *
8097
- *
8098
- *
8099
- *
8100
- *
8101
- * {
8102
- * "target": {
8103
- * "type": "inlinedialog",
8104
- * "options": {
8105
- * "onHover": true,
8106
- * "offsetX": "30px",
8107
- * "offsetY": "20px"
8108
- * }
8109
- * }
8110
- * }
8111
- *
8112
- *
8113
- *
8114
- */
8115
- export interface InlineDialogOptions1 {
8116
- offsetX?: string;
8117
- offsetY?: string;
8118
- width?: string;
8119
- onTop?: boolean;
8120
- showDelay?: number;
8121
- closeOthers?: boolean;
8122
- persistent?: boolean;
8123
- onHover?: boolean;
8124
- isRelativeToMouse?: boolean;
8125
- [k: string]: unknown;
8126
- }
8127
8211
  /**
8128
8212
  *
8129
8213
  *
@@ -8215,7 +8299,48 @@ export interface SingleCondition4 {
8215
8299
  *
8216
8300
  *
8217
8301
  */
8218
- export interface CompositeCondition6 {
8302
+ export interface CompositeCondition7 {
8303
+ conditions?: (CompositeCondition8 | SingleCondition)[];
8304
+ type?: 'and' | 'AND' | 'or' | 'OR';
8305
+ [k: string]: unknown;
8306
+ }
8307
+ /**
8308
+ *
8309
+ *
8310
+ * Composite Conditions are composed of a collection of [Single Condition](../single-condition/) / Composite Conditions
8311
+ * and a type attribute.
8312
+ *
8313
+ * <h3>Example</h3>
8314
+ *
8315
+ *
8316
+ *
8317
+ *
8318
+ *
8319
+ * {
8320
+ * "conditions": [
8321
+ * {
8322
+ * "or": [
8323
+ * {
8324
+ * "condition": "can_attach_file_to_issue",
8325
+ * "invert": false
8326
+ * },
8327
+ * {
8328
+ * "condition": "is_issue_assigned_to_current_user",
8329
+ * "invert": false
8330
+ * }
8331
+ * ]
8332
+ * },
8333
+ * {
8334
+ * "condition": "user_is_logged_in",
8335
+ * "invert": false
8336
+ * }
8337
+ * ]
8338
+ * }
8339
+ *
8340
+ *
8341
+ *
8342
+ */
8343
+ export interface CompositeCondition8 {
8219
8344
  conditions?: (ManifestSchema | SingleCondition)[];
8220
8345
  type?: 'and' | 'AND' | 'or' | 'OR';
8221
8346
  [k: string]: unknown;
@@ -8574,37 +8699,6 @@ export interface I18NProperty63 {
8574
8699
  i18n?: string;
8575
8700
  [k: string]: unknown;
8576
8701
  }
8577
- /**
8578
- *
8579
- *
8580
- * Single Conditions are either provided by the host application. See the complete documentation of
8581
- * [Conditions](../../conditions/) for more information.
8582
- *
8583
- * To invert a condition, add the attribute ``invert="true"`` to the condition element.
8584
- * This is useful where you want to show the section if a certain condition is not satisfied.
8585
- *
8586
- * <h3>Example</h3>
8587
- *
8588
- *
8589
- *
8590
- *
8591
- *
8592
- * {
8593
- * "condition": "user_is_logged_in",
8594
- * "invert": false
8595
- * }
8596
- *
8597
- *
8598
- *
8599
- */
8600
- export interface SingleCondition5 {
8601
- condition: string;
8602
- invert?: boolean;
8603
- params?: {
8604
- [k: string]: unknown;
8605
- };
8606
- [k: string]: unknown;
8607
- }
8608
8702
  /**
8609
8703
  *
8610
8704
  *
@@ -8641,11 +8735,42 @@ export interface SingleCondition5 {
8641
8735
  *
8642
8736
  *
8643
8737
  */
8644
- export interface CompositeCondition7 {
8738
+ export interface CompositeCondition9 {
8645
8739
  conditions?: (ManifestSchema | SingleCondition)[];
8646
8740
  type?: 'and' | 'AND' | 'or' | 'OR';
8647
8741
  [k: string]: unknown;
8648
8742
  }
8743
+ /**
8744
+ *
8745
+ *
8746
+ * Single Conditions are either provided by the host application. See the complete documentation of
8747
+ * [Conditions](../../conditions/) for more information.
8748
+ *
8749
+ * To invert a condition, add the attribute ``invert="true"`` to the condition element.
8750
+ * This is useful where you want to show the section if a certain condition is not satisfied.
8751
+ *
8752
+ * <h3>Example</h3>
8753
+ *
8754
+ *
8755
+ *
8756
+ *
8757
+ *
8758
+ * {
8759
+ * "condition": "user_is_logged_in",
8760
+ * "invert": false
8761
+ * }
8762
+ *
8763
+ *
8764
+ *
8765
+ */
8766
+ export interface SingleCondition5 {
8767
+ condition: string;
8768
+ invert?: boolean;
8769
+ params?: {
8770
+ [k: string]: unknown;
8771
+ };
8772
+ [k: string]: unknown;
8773
+ }
8649
8774
  /**
8650
8775
  *
8651
8776
  *
@@ -10019,57 +10144,109 @@ export interface Icon16 {
10019
10144
  *
10020
10145
  *
10021
10146
  */
10022
- export interface I18NProperty74 {
10147
+ export interface I18NProperty74 {
10148
+ value: string;
10149
+ i18n?: string;
10150
+ [k: string]: unknown;
10151
+ }
10152
+ /**
10153
+ *
10154
+ *
10155
+ * Defining a Macro Property panel allows you to add a hidden iframe to your macro's
10156
+ * property panel. The iframe is loaded as soon as the property panel is opened.
10157
+ *
10158
+ * In order to persist custom data using your property panel, use the Javascript
10159
+ * <a href="../../jsapi/confluence/">Confluence API</a>.
10160
+ * For example:
10161
+ *
10162
+ * AP.require(["confluence"], function (confluence) {
10163
+ * var macroParams = {
10164
+ * myParameter: value
10165
+ * };
10166
+ * confluence.saveMacro(macroParams);
10167
+ * });
10168
+ *
10169
+ * In order to retrieve the custom data again when the property panel is opened, use `confluence.getMacroData` (see
10170
+ * <a href="../../jsapi/confluence/">Confluence API</a>):
10171
+ *
10172
+ * AP.require("confluence", function (confluence) {
10173
+ * var macroData = confluence.getMacroData(function(macroParams) {
10174
+ * doSomethingWith(macroParams.myParameter);
10175
+ * });
10176
+ * });
10177
+ *
10178
+ * Dialogs may also be created. Use `dialog.create` (see
10179
+ * <a href="../../jsapi/dialog/">Dialog API</a>):
10180
+ *
10181
+ * AP.require('dialog', function(dialog) {
10182
+ * dialog.create({
10183
+ * key: 'my-module-key',
10184
+ * width: '500px',
10185
+ * height: '200px',
10186
+ * chrome: true
10187
+ * }).on("close", callbackFunc);
10188
+ * });
10189
+ *
10190
+ *
10191
+ */
10192
+ export interface MacroPropertyPanel {
10193
+ controls?: (ButtonControl | ToggleGroup | ControlGroup | TextControl)[];
10194
+ cacheable?: boolean;
10195
+ url: string;
10196
+ [k: string]: unknown;
10197
+ }
10198
+ /**
10199
+ *
10200
+ *
10201
+ * Defines a button which may appear in control extension points such as the property panel
10202
+ *
10203
+ * <p><b>Example</b></p>
10204
+ *
10205
+ *
10206
+ *
10207
+ *
10208
+ *
10209
+ * {
10210
+ * "type": "button",
10211
+ * "label": {
10212
+ * "value": "My Custom Control 0"
10213
+ * },
10214
+ * "key": "my-custom-control-0"
10215
+ * }
10216
+ *
10217
+ *
10218
+ *
10219
+ */
10220
+ export interface ButtonControl {
10221
+ label: I18NProperty75;
10222
+ type: 'button' | 'BUTTON';
10223
+ key: string;
10224
+ [k: string]: unknown;
10225
+ }
10226
+ /**
10227
+ *
10228
+ *
10229
+ * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
10230
+ * and value in multiple places if you like, but identical keys must have identical values.
10231
+ *
10232
+ * <h3>Example</h3>
10233
+ *
10234
+ *
10235
+ *
10236
+ *
10237
+ *
10238
+ * {
10239
+ * "value": "My text"
10240
+ * }
10241
+ *
10242
+ *
10243
+ *
10244
+ */
10245
+ export interface I18NProperty75 {
10023
10246
  value: string;
10024
10247
  i18n?: string;
10025
10248
  [k: string]: unknown;
10026
10249
  }
10027
- /**
10028
- *
10029
- *
10030
- * Defining a Macro Property panel allows you to add a hidden iframe to your macro's
10031
- * property panel. The iframe is loaded as soon as the property panel is opened.
10032
- *
10033
- * In order to persist custom data using your property panel, use the Javascript
10034
- * <a href="../../jsapi/confluence/">Confluence API</a>.
10035
- * For example:
10036
- *
10037
- * AP.require(["confluence"], function (confluence) {
10038
- * var macroParams = {
10039
- * myParameter: value
10040
- * };
10041
- * confluence.saveMacro(macroParams);
10042
- * });
10043
- *
10044
- * In order to retrieve the custom data again when the property panel is opened, use `confluence.getMacroData` (see
10045
- * <a href="../../jsapi/confluence/">Confluence API</a>):
10046
- *
10047
- * AP.require("confluence", function (confluence) {
10048
- * var macroData = confluence.getMacroData(function(macroParams) {
10049
- * doSomethingWith(macroParams.myParameter);
10050
- * });
10051
- * });
10052
- *
10053
- * Dialogs may also be created. Use `dialog.create` (see
10054
- * <a href="../../jsapi/dialog/">Dialog API</a>):
10055
- *
10056
- * AP.require('dialog', function(dialog) {
10057
- * dialog.create({
10058
- * key: 'my-module-key',
10059
- * width: '500px',
10060
- * height: '200px',
10061
- * chrome: true
10062
- * }).on("close", callbackFunc);
10063
- * });
10064
- *
10065
- *
10066
- */
10067
- export interface MacroPropertyPanel {
10068
- controls?: (ToggleGroup | ControlGroup | TextControl | ButtonControl1)[];
10069
- cacheable?: boolean;
10070
- url: string;
10071
- [k: string]: unknown;
10072
- }
10073
10250
  /**
10074
10251
  *
10075
10252
  *
@@ -10140,7 +10317,7 @@ export interface ToggleGroup {
10140
10317
  */
10141
10318
  export interface ToggleButtonControl {
10142
10319
  macroParameterValue: string;
10143
- label: I18NProperty75;
10320
+ label: I18NProperty76;
10144
10321
  type: 'togglebutton' | 'TOGGLEBUTTON';
10145
10322
  key: string;
10146
10323
  [k: string]: unknown;
@@ -10164,7 +10341,7 @@ export interface ToggleButtonControl {
10164
10341
  *
10165
10342
  *
10166
10343
  */
10167
- export interface I18NProperty75 {
10344
+ export interface I18NProperty76 {
10168
10345
  value: string;
10169
10346
  i18n?: string;
10170
10347
  [k: string]: unknown;
@@ -10206,7 +10383,7 @@ export interface I18NProperty75 {
10206
10383
  *
10207
10384
  */
10208
10385
  export interface ControlGroup {
10209
- controls: ButtonControl[];
10386
+ controls: ButtonControl1[];
10210
10387
  type: 'group' | 'GROUP';
10211
10388
  [k: string]: unknown;
10212
10389
  }
@@ -10232,8 +10409,8 @@ export interface ControlGroup {
10232
10409
  *
10233
10410
  *
10234
10411
  */
10235
- export interface ButtonControl {
10236
- label: I18NProperty76;
10412
+ export interface ButtonControl1 {
10413
+ label: I18NProperty77;
10237
10414
  type: 'button' | 'BUTTON';
10238
10415
  key: string;
10239
10416
  [k: string]: unknown;
@@ -10257,7 +10434,7 @@ export interface ButtonControl {
10257
10434
  *
10258
10435
  *
10259
10436
  */
10260
- export interface I18NProperty76 {
10437
+ export interface I18NProperty77 {
10261
10438
  value: string;
10262
10439
  i18n?: string;
10263
10440
  [k: string]: unknown;
@@ -10290,58 +10467,6 @@ export interface TextControl {
10290
10467
  key: string;
10291
10468
  [k: string]: unknown;
10292
10469
  }
10293
- /**
10294
- *
10295
- *
10296
- * Defines a button which may appear in control extension points such as the property panel
10297
- *
10298
- * <p><b>Example</b></p>
10299
- *
10300
- *
10301
- *
10302
- *
10303
- *
10304
- * {
10305
- * "type": "button",
10306
- * "label": {
10307
- * "value": "My Custom Control 0"
10308
- * },
10309
- * "key": "my-custom-control-0"
10310
- * }
10311
- *
10312
- *
10313
- *
10314
- */
10315
- export interface ButtonControl1 {
10316
- label: I18NProperty77;
10317
- type: 'button' | 'BUTTON';
10318
- key: string;
10319
- [k: string]: unknown;
10320
- }
10321
- /**
10322
- *
10323
- *
10324
- * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
10325
- * and value in multiple places if you like, but identical keys must have identical values.
10326
- *
10327
- * <h3>Example</h3>
10328
- *
10329
- *
10330
- *
10331
- *
10332
- *
10333
- * {
10334
- * "value": "My text"
10335
- * }
10336
- *
10337
- *
10338
- *
10339
- */
10340
- export interface I18NProperty77 {
10341
- value: string;
10342
- i18n?: string;
10343
- [k: string]: unknown;
10344
- }
10345
10470
  /**
10346
10471
  *
10347
10472
  *
@@ -31310,11 +31435,162 @@ export interface I18NProperty83 {
31310
31435
  *
31311
31436
  */
31312
31437
  export interface MacroPropertyPanel1 {
31313
- controls?: (TextControl1 | ButtonControl2 | ControlGroup1 | ToggleGroup1)[];
31438
+ controls?: (ToggleGroup1 | ButtonControl2 | TextControl1 | ControlGroup1)[];
31314
31439
  cacheable?: boolean;
31315
31440
  url: string;
31316
31441
  [k: string]: unknown;
31317
31442
  }
31443
+ /**
31444
+ *
31445
+ *
31446
+ * Defines a ToggleGroup which may appear in control extension points such as the property panel
31447
+ *
31448
+ * <p><b>Example</b></p>
31449
+ *
31450
+ *
31451
+ *
31452
+ *
31453
+ *
31454
+ * [
31455
+ * {
31456
+ * "type": "togglegroup",
31457
+ * "macroParameter": "toggleGroupMacroParameter",
31458
+ * "controls": [
31459
+ * {
31460
+ * "type": "togglebutton",
31461
+ * "macroParameterValue": "macroParameterValue 0",
31462
+ * "label": {
31463
+ * "value": "My Custom Control 0"
31464
+ * },
31465
+ * "key": "my-custom-toggle-button-0"
31466
+ * },
31467
+ * {
31468
+ * "type": "togglebutton",
31469
+ * "macroParameterValue": "macroParameterValue 1",
31470
+ * "label": {
31471
+ * "value": "My Custom Control 1"
31472
+ * },
31473
+ * "key": "my-custom-toggle-button-1"
31474
+ * }
31475
+ * ]
31476
+ * }
31477
+ * ]
31478
+ *
31479
+ *
31480
+ *
31481
+ */
31482
+ export interface ToggleGroup1 {
31483
+ controls: ToggleButtonControl1[];
31484
+ macroParameter: string;
31485
+ type: 'togglegroup' | 'TOGGLEGROUP';
31486
+ [k: string]: unknown;
31487
+ }
31488
+ /**
31489
+ *
31490
+ *
31491
+ * Defines a toggle button which appears inside a ToggleGroup
31492
+ *
31493
+ * <p><b>Example</b></p>
31494
+ *
31495
+ *
31496
+ *
31497
+ *
31498
+ *
31499
+ * {
31500
+ * "type": "togglebutton",
31501
+ * "macroParameterValue": "macroParameterValue 0",
31502
+ * "label": {
31503
+ * "value": "My Custom Control 0"
31504
+ * },
31505
+ * "key": "my-custom-toggle-button-0"
31506
+ * }
31507
+ *
31508
+ *
31509
+ *
31510
+ */
31511
+ export interface ToggleButtonControl1 {
31512
+ macroParameterValue: string;
31513
+ label: I18NProperty84;
31514
+ type: 'togglebutton' | 'TOGGLEBUTTON';
31515
+ key: string;
31516
+ [k: string]: unknown;
31517
+ }
31518
+ /**
31519
+ *
31520
+ *
31521
+ * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
31522
+ * and value in multiple places if you like, but identical keys must have identical values.
31523
+ *
31524
+ * <h3>Example</h3>
31525
+ *
31526
+ *
31527
+ *
31528
+ *
31529
+ *
31530
+ * {
31531
+ * "value": "My text"
31532
+ * }
31533
+ *
31534
+ *
31535
+ *
31536
+ */
31537
+ export interface I18NProperty84 {
31538
+ value: string;
31539
+ i18n?: string;
31540
+ [k: string]: unknown;
31541
+ }
31542
+ /**
31543
+ *
31544
+ *
31545
+ * Defines a button which may appear in control extension points such as the property panel
31546
+ *
31547
+ * <p><b>Example</b></p>
31548
+ *
31549
+ *
31550
+ *
31551
+ *
31552
+ *
31553
+ * {
31554
+ * "type": "button",
31555
+ * "label": {
31556
+ * "value": "My Custom Control 0"
31557
+ * },
31558
+ * "key": "my-custom-control-0"
31559
+ * }
31560
+ *
31561
+ *
31562
+ *
31563
+ */
31564
+ export interface ButtonControl2 {
31565
+ label: I18NProperty85;
31566
+ type: 'button' | 'BUTTON';
31567
+ key: string;
31568
+ [k: string]: unknown;
31569
+ }
31570
+ /**
31571
+ *
31572
+ *
31573
+ * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
31574
+ * and value in multiple places if you like, but identical keys must have identical values.
31575
+ *
31576
+ * <h3>Example</h3>
31577
+ *
31578
+ *
31579
+ *
31580
+ *
31581
+ *
31582
+ * {
31583
+ * "value": "My text"
31584
+ * }
31585
+ *
31586
+ *
31587
+ *
31588
+ */
31589
+ export interface I18NProperty85 {
31590
+ value: string;
31591
+ i18n?: string;
31592
+ [k: string]: unknown;
31593
+ }
31318
31594
  /**
31319
31595
  *
31320
31596
  *
@@ -31343,58 +31619,6 @@ export interface TextControl1 {
31343
31619
  key: string;
31344
31620
  [k: string]: unknown;
31345
31621
  }
31346
- /**
31347
- *
31348
- *
31349
- * Defines a button which may appear in control extension points such as the property panel
31350
- *
31351
- * <p><b>Example</b></p>
31352
- *
31353
- *
31354
- *
31355
- *
31356
- *
31357
- * {
31358
- * "type": "button",
31359
- * "label": {
31360
- * "value": "My Custom Control 0"
31361
- * },
31362
- * "key": "my-custom-control-0"
31363
- * }
31364
- *
31365
- *
31366
- *
31367
- */
31368
- export interface ButtonControl2 {
31369
- label: I18NProperty84;
31370
- type: 'button' | 'BUTTON';
31371
- key: string;
31372
- [k: string]: unknown;
31373
- }
31374
- /**
31375
- *
31376
- *
31377
- * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
31378
- * and value in multiple places if you like, but identical keys must have identical values.
31379
- *
31380
- * <h3>Example</h3>
31381
- *
31382
- *
31383
- *
31384
- *
31385
- *
31386
- * {
31387
- * "value": "My text"
31388
- * }
31389
- *
31390
- *
31391
- *
31392
- */
31393
- export interface I18NProperty84 {
31394
- value: string;
31395
- i18n?: string;
31396
- [k: string]: unknown;
31397
- }
31398
31622
  /**
31399
31623
  *
31400
31624
  *
@@ -31459,107 +31683,8 @@ export interface ControlGroup1 {
31459
31683
  *
31460
31684
  */
31461
31685
  export interface ButtonControl3 {
31462
- label: I18NProperty85;
31463
- type: 'button' | 'BUTTON';
31464
- key: string;
31465
- [k: string]: unknown;
31466
- }
31467
- /**
31468
- *
31469
- *
31470
- * Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
31471
- * and value in multiple places if you like, but identical keys must have identical values.
31472
- *
31473
- * <h3>Example</h3>
31474
- *
31475
- *
31476
- *
31477
- *
31478
- *
31479
- * {
31480
- * "value": "My text"
31481
- * }
31482
- *
31483
- *
31484
- *
31485
- */
31486
- export interface I18NProperty85 {
31487
- value: string;
31488
- i18n?: string;
31489
- [k: string]: unknown;
31490
- }
31491
- /**
31492
- *
31493
- *
31494
- * Defines a ToggleGroup which may appear in control extension points such as the property panel
31495
- *
31496
- * <p><b>Example</b></p>
31497
- *
31498
- *
31499
- *
31500
- *
31501
- *
31502
- * [
31503
- * {
31504
- * "type": "togglegroup",
31505
- * "macroParameter": "toggleGroupMacroParameter",
31506
- * "controls": [
31507
- * {
31508
- * "type": "togglebutton",
31509
- * "macroParameterValue": "macroParameterValue 0",
31510
- * "label": {
31511
- * "value": "My Custom Control 0"
31512
- * },
31513
- * "key": "my-custom-toggle-button-0"
31514
- * },
31515
- * {
31516
- * "type": "togglebutton",
31517
- * "macroParameterValue": "macroParameterValue 1",
31518
- * "label": {
31519
- * "value": "My Custom Control 1"
31520
- * },
31521
- * "key": "my-custom-toggle-button-1"
31522
- * }
31523
- * ]
31524
- * }
31525
- * ]
31526
- *
31527
- *
31528
- *
31529
- */
31530
- export interface ToggleGroup1 {
31531
- controls: ToggleButtonControl1[];
31532
- macroParameter: string;
31533
- type: 'togglegroup' | 'TOGGLEGROUP';
31534
- [k: string]: unknown;
31535
- }
31536
- /**
31537
- *
31538
- *
31539
- * Defines a toggle button which appears inside a ToggleGroup
31540
- *
31541
- * <p><b>Example</b></p>
31542
- *
31543
- *
31544
- *
31545
- *
31546
- *
31547
- * {
31548
- * "type": "togglebutton",
31549
- * "macroParameterValue": "macroParameterValue 0",
31550
- * "label": {
31551
- * "value": "My Custom Control 0"
31552
- * },
31553
- * "key": "my-custom-toggle-button-0"
31554
- * }
31555
- *
31556
- *
31557
- *
31558
- */
31559
- export interface ToggleButtonControl1 {
31560
- macroParameterValue: string;
31561
31686
  label: I18NProperty86;
31562
- type: 'togglebutton' | 'TOGGLEBUTTON';
31687
+ type: 'button' | 'BUTTON';
31563
31688
  key: string;
31564
31689
  [k: string]: unknown;
31565
31690
  }
@@ -52436,10 +52561,74 @@ export interface I18NProperty91 {
52436
52561
  *
52437
52562
  */
52438
52563
  export interface WebItemTarget2 {
52439
- options?: DialogOptions4 | InlineDialogOptions2 | DialogModuleOptions2;
52564
+ options?: InlineDialogOptions2 | DialogModuleOptions2 | DialogOptions4;
52440
52565
  type?: 'page' | 'PAGE' | 'dialog' | 'DIALOG' | 'inlinedialog' | 'INLINEDIALOG' | 'dialogmodule' | 'DIALOGMODULE';
52441
52566
  [k: string]: unknown;
52442
52567
  }
52568
+ /**
52569
+ *
52570
+ *
52571
+ * Options for an inline dialog target
52572
+ *
52573
+ * <h3>Example</h3>
52574
+ *
52575
+ *
52576
+ *
52577
+ *
52578
+ *
52579
+ * {
52580
+ * "target": {
52581
+ * "type": "inlinedialog",
52582
+ * "options": {
52583
+ * "onHover": true,
52584
+ * "offsetX": "30px",
52585
+ * "offsetY": "20px"
52586
+ * }
52587
+ * }
52588
+ * }
52589
+ *
52590
+ *
52591
+ *
52592
+ */
52593
+ export interface InlineDialogOptions2 {
52594
+ offsetX?: string;
52595
+ offsetY?: string;
52596
+ width?: string;
52597
+ onTop?: boolean;
52598
+ showDelay?: number;
52599
+ closeOthers?: boolean;
52600
+ persistent?: boolean;
52601
+ onHover?: boolean;
52602
+ isRelativeToMouse?: boolean;
52603
+ [k: string]: unknown;
52604
+ }
52605
+ /**
52606
+ *
52607
+ *
52608
+ * Options for a web-item targeting a common <a href="../dialog/">dialog module</a>.
52609
+ *
52610
+ * <h3>Example</h3>
52611
+ *
52612
+ *
52613
+ *
52614
+ *
52615
+ *
52616
+ * {
52617
+ * "target": {
52618
+ * "type": "dialogmodule",
52619
+ * "options": {
52620
+ * "key": "dialog-module-key"
52621
+ * }
52622
+ * }
52623
+ * }
52624
+ *
52625
+ *
52626
+ *
52627
+ */
52628
+ export interface DialogModuleOptions2 {
52629
+ key: string;
52630
+ [k: string]: unknown;
52631
+ }
52443
52632
  /**
52444
52633
  *
52445
52634
  *
@@ -52538,70 +52727,6 @@ export interface I18NProperty92 {
52538
52727
  i18n?: string;
52539
52728
  [k: string]: unknown;
52540
52729
  }
52541
- /**
52542
- *
52543
- *
52544
- * Options for an inline dialog target
52545
- *
52546
- * <h3>Example</h3>
52547
- *
52548
- *
52549
- *
52550
- *
52551
- *
52552
- * {
52553
- * "target": {
52554
- * "type": "inlinedialog",
52555
- * "options": {
52556
- * "onHover": true,
52557
- * "offsetX": "30px",
52558
- * "offsetY": "20px"
52559
- * }
52560
- * }
52561
- * }
52562
- *
52563
- *
52564
- *
52565
- */
52566
- export interface InlineDialogOptions2 {
52567
- offsetX?: string;
52568
- offsetY?: string;
52569
- width?: string;
52570
- onTop?: boolean;
52571
- showDelay?: number;
52572
- closeOthers?: boolean;
52573
- persistent?: boolean;
52574
- onHover?: boolean;
52575
- isRelativeToMouse?: boolean;
52576
- [k: string]: unknown;
52577
- }
52578
- /**
52579
- *
52580
- *
52581
- * Options for a web-item targeting a common <a href="../dialog/">dialog module</a>.
52582
- *
52583
- * <h3>Example</h3>
52584
- *
52585
- *
52586
- *
52587
- *
52588
- *
52589
- * {
52590
- * "target": {
52591
- * "type": "dialogmodule",
52592
- * "options": {
52593
- * "key": "dialog-module-key"
52594
- * }
52595
- * }
52596
- * }
52597
- *
52598
- *
52599
- *
52600
- */
52601
- export interface DialogModuleOptions2 {
52602
- key: string;
52603
- [k: string]: unknown;
52604
- }
52605
52730
  /**
52606
52731
  *
52607
52732
  *