@@ -257,9 +257,6 @@ export const LicenseProfileResourceSchema = {
257257 id : {
258258 type : 'string' ,
259259 } ,
260- key : {
261- type : 'string' ,
262- } ,
263260 name : {
264261 type : 'string' ,
265262 } ,
@@ -349,7 +346,7 @@ export const IssueReleaseBranchResourceSchema = {
349346 key : {
350347 type : 'string' ,
351348 } ,
352- isPullRequest : {
349+ pullRequest : {
353350 type : 'boolean' ,
354351 } ,
355352 projectKey : {
@@ -918,6 +915,11 @@ export const JiraOrganizationBindingResourceSchema = {
918915 description : 'Creation timestamp' ,
919916 readOnly : true ,
920917 } ,
918+ isTokenShared : {
919+ type : 'boolean' ,
920+ description : 'TODO' ,
921+ readOnly : true ,
922+ } ,
921923 } ,
922924} as const ;
923925
@@ -2085,7 +2087,7 @@ export const LicensePolicyLicenseUpdateRestRequestSchema = {
20852087 policy : {
20862088 type : 'string' ,
20872089 description : 'The new status of this license.' ,
2088- enum : [ 'ALLOW ' , 'DENY ' ] ,
2090+ enum : [ 'DENY ' , 'ALLOW ' ] ,
20892091 } ,
20902092 } ,
20912093 required : [ 'policy' ] ,
@@ -2118,7 +2120,7 @@ export const LicensePolicyLicenseResourceSchema = {
21182120 policy : {
21192121 type : 'string' ,
21202122 description : 'The policy status of this license.' ,
2121- enum : [ 'ALLOW ' , 'DENY ' ] ,
2123+ enum : [ 'DENY ' , 'ALLOW ' ] ,
21222124 } ,
21232125 } ,
21242126} as const ;
@@ -2129,7 +2131,7 @@ export const LicenseProfileCategoryUpdateRestRequestSchema = {
21292131 policy : {
21302132 type : 'string' ,
21312133 description : 'The new status of this category.' ,
2132- enum : [ 'ALLOW ' , 'DENY ' ] ,
2134+ enum : [ 'DENY ' , 'ALLOW ' ] ,
21332135 } ,
21342136 } ,
21352137 required : [ 'policy' ] ,
@@ -2156,7 +2158,7 @@ export const LicenseProfileCategoryResourceSchema = {
21562158 policy : {
21572159 type : 'string' ,
21582160 description : 'The policy status of this category.' ,
2159- enum : [ 'ALLOW ' , 'DENY ' ] ,
2161+ enum : [ 'DENY ' , 'ALLOW ' ] ,
21602162 } ,
21612163 } ,
21622164} as const ;
@@ -2275,6 +2277,24 @@ export const PatchJiraOrganizationBindingRequestResourceSchema = {
22752277 required : [ 'jiraCloudId' , 'jiraInstanceUrl' , 'sonarOrganizationUuid' ] ,
22762278} as const ;
22772279
2280+ export const PatchJiraOrganizationBindingEditResourceSchema = {
2281+ type : 'object' ,
2282+ properties : {
2283+ sonarOrganizationUuid : {
2284+ type : 'string' ,
2285+ format : 'uuid' ,
2286+ description : 'Sonar organization UUID' ,
2287+ writeOnly : true ,
2288+ } ,
2289+ isTokenShared : {
2290+ type : 'boolean' ,
2291+ description : 'TODO' ,
2292+ writeOnly : true ,
2293+ } ,
2294+ } ,
2295+ required : [ 'isTokenShared' , 'sonarOrganizationUuid' ] ,
2296+ } as const ;
2297+
22782298export const RuleTypeMappingSchema = {
22792299 type : 'object' ,
22802300 properties : {
@@ -2659,6 +2679,35 @@ export const EmailConfigurationSearchRestResponseSchema = {
26592679 } ,
26602680} as const ;
26612681
2682+ export const CategorySchema = {
2683+ type : 'object' ,
2684+ properties : {
2685+ activeRules : {
2686+ type : 'integer' ,
2687+ format : 'int32' ,
2688+ } ,
2689+ issues : {
2690+ type : 'integer' ,
2691+ format : 'int32' ,
2692+ } ,
2693+ key : {
2694+ type : 'string' ,
2695+ } ,
2696+ } ,
2697+ } as const ;
2698+
2699+ export const GetAccessibilityReportResponseSchema = {
2700+ type : 'object' ,
2701+ properties : {
2702+ categories : {
2703+ type : 'array' ,
2704+ items : {
2705+ $ref : '#/components/schemas/Category' ,
2706+ } ,
2707+ } ,
2708+ } ,
2709+ } as const ;
2710+
26622711export const SelfTestHttpCallResourceSchema = {
26632712 type : 'object' ,
26642713 properties : {
@@ -2816,7 +2865,7 @@ export const BranchResourceSchema = {
28162865 key : {
28172866 type : 'string' ,
28182867 } ,
2819- isPullRequest : {
2868+ pullRequest : {
28202869 type : 'boolean' ,
28212870 } ,
28222871 projectKey : {
@@ -3664,9 +3713,6 @@ export const LicenseRestResponseSchema = {
36643713 licenseKey : {
36653714 type : 'string' ,
36663715 } ,
3667- expired : {
3668- type : 'boolean' ,
3669- } ,
36703716 validEdition : {
36713717 type : 'boolean' ,
36723718 } ,
@@ -3682,6 +3728,9 @@ export const LicenseRestResponseSchema = {
36823728 legacy : {
36833729 type : 'boolean' ,
36843730 } ,
3731+ expired : {
3732+ type : 'boolean' ,
3733+ } ,
36853734 disabled : {
36863735 type : 'boolean' ,
36873736 } ,
@@ -3839,7 +3888,19 @@ export const GroupsMembershipSearchRestResponseSchema = {
38393888 } ,
38403889} as const ;
38413890
3842- export const _eSchema = {
3891+ export const _aSchema = {
3892+ type : 'object' ,
3893+ properties : {
3894+ graphs : {
3895+ type : 'array' ,
3896+ items : {
3897+ $ref : '#/components/schemas/_h' ,
3898+ } ,
3899+ } ,
3900+ } ,
3901+ } as const ;
3902+
3903+ export const _hSchema = {
38433904 type : 'object' ,
38443905 properties : {
38453906 id : {
@@ -3865,18 +3926,6 @@ export const _eSchema = {
38653926 } ,
38663927} as const ;
38673928
3868- export const _pSchema = {
3869- type : 'object' ,
3870- properties : {
3871- graphs : {
3872- type : 'array' ,
3873- items : {
3874- $ref : '#/components/schemas/_e' ,
3875- } ,
3876- } ,
3877- } ,
3878- } as const ;
3879-
38803929export const JreInfoRestResponseSchema = {
38813930 type : 'object' ,
38823931 properties : {
0 commit comments