@resolution/jira-api-client 0.4.2 → 0.4.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (327) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/README.md +4 -0
  3. package/lib/openapi/platform/BaseJiraPlatformApiClient.d.ts +28 -4
  4. package/lib/openapi/platform/BaseJiraPlatformApiClient.js +24 -1
  5. package/lib/openapi/platform/BaseJiraPlatformApiClient.js.map +1 -1
  6. package/lib/openapi/platform/models/common.d.ts +6 -0
  7. package/lib/openapi/platform/models/common.js +12 -1
  8. package/lib/openapi/platform/models/common.js.map +1 -1
  9. package/lib/openapi/platform/models/dynamicModules.d.ts +0 -9
  10. package/lib/openapi/platform/models/dynamicModules.js +0 -6
  11. package/lib/openapi/platform/models/dynamicModules.js.map +1 -1
  12. package/lib/openapi/platform/models/issueBulkOperations.d.ts +547 -0
  13. package/lib/openapi/platform/models/issueBulkOperations.js +437 -0
  14. package/lib/openapi/platform/models/issueBulkOperations.js.map +1 -0
  15. package/lib/openapi/platform/services/AnnouncementBannerService.d.ts +3 -3
  16. package/lib/openapi/platform/services/AnnouncementBannerService.js +65 -62
  17. package/lib/openapi/platform/services/AnnouncementBannerService.js.map +1 -1
  18. package/lib/openapi/platform/services/AppDataPoliciesService.d.ts +4 -4
  19. package/lib/openapi/platform/services/AppDataPoliciesService.js +70 -67
  20. package/lib/openapi/platform/services/AppDataPoliciesService.js.map +1 -1
  21. package/lib/openapi/platform/services/AppMigrationService.d.ts +6 -6
  22. package/lib/openapi/platform/services/AppMigrationService.js +139 -136
  23. package/lib/openapi/platform/services/AppMigrationService.js.map +1 -1
  24. package/lib/openapi/platform/services/AppPropertiesService.d.ts +12 -12
  25. package/lib/openapi/platform/services/AppPropertiesService.js +254 -251
  26. package/lib/openapi/platform/services/AppPropertiesService.js.map +1 -1
  27. package/lib/openapi/platform/services/ApplicationRolesService.d.ts +3 -3
  28. package/lib/openapi/platform/services/ApplicationRolesService.js +177 -174
  29. package/lib/openapi/platform/services/ApplicationRolesService.js.map +1 -1
  30. package/lib/openapi/platform/services/AuditRecordsService.d.ts +7 -7
  31. package/lib/openapi/platform/services/AuditRecordsService.js +97 -94
  32. package/lib/openapi/platform/services/AuditRecordsService.js.map +1 -1
  33. package/lib/openapi/platform/services/AvatarsService.d.ts +25 -31
  34. package/lib/openapi/platform/services/AvatarsService.js +412 -415
  35. package/lib/openapi/platform/services/AvatarsService.js.map +1 -1
  36. package/lib/openapi/platform/services/ClassificationLevelsService.d.ts +4 -4
  37. package/lib/openapi/platform/services/ClassificationLevelsService.js +79 -76
  38. package/lib/openapi/platform/services/ClassificationLevelsService.js.map +1 -1
  39. package/lib/openapi/platform/services/DashboardsService.d.ts +62 -50
  40. package/lib/openapi/platform/services/DashboardsService.js +983 -974
  41. package/lib/openapi/platform/services/DashboardsService.js.map +1 -1
  42. package/lib/openapi/platform/services/DynamicModulesService.d.ts +6 -6
  43. package/lib/openapi/platform/services/DynamicModulesService.js +68 -65
  44. package/lib/openapi/platform/services/DynamicModulesService.js.map +1 -1
  45. package/lib/openapi/platform/services/FilterSharingService.d.ts +11 -11
  46. package/lib/openapi/platform/services/FilterSharingService.js +512 -509
  47. package/lib/openapi/platform/services/FilterSharingService.js.map +1 -1
  48. package/lib/openapi/platform/services/FiltersService.d.ts +50 -50
  49. package/lib/openapi/platform/services/FiltersService.js +1262 -1259
  50. package/lib/openapi/platform/services/FiltersService.js.map +1 -1
  51. package/lib/openapi/platform/services/GroupAndUserPickerService.d.ts +10 -10
  52. package/lib/openapi/platform/services/GroupAndUserPickerService.js +112 -109
  53. package/lib/openapi/platform/services/GroupAndUserPickerService.js.map +1 -1
  54. package/lib/openapi/platform/services/GroupsService.d.ts +46 -46
  55. package/lib/openapi/platform/services/GroupsService.js +385 -382
  56. package/lib/openapi/platform/services/GroupsService.js.map +1 -1
  57. package/lib/openapi/platform/services/IssueAttachmentsService.d.ts +20 -20
  58. package/lib/openapi/platform/services/IssueAttachmentsService.js +644 -641
  59. package/lib/openapi/platform/services/IssueAttachmentsService.js.map +1 -1
  60. package/lib/openapi/platform/services/IssueBulkOperationsService.d.ts +325 -0
  61. package/lib/openapi/platform/services/IssueBulkOperationsService.js +353 -0
  62. package/lib/openapi/platform/services/IssueBulkOperationsService.js.map +1 -0
  63. package/lib/openapi/platform/services/IssueCommentPropertiesService.d.ts +8 -8
  64. package/lib/openapi/platform/services/IssueCommentPropertiesService.js +187 -184
  65. package/lib/openapi/platform/services/IssueCommentPropertiesService.js.map +1 -1
  66. package/lib/openapi/platform/services/IssueCommentsService.d.ts +22 -22
  67. package/lib/openapi/platform/services/IssueCommentsService.js +507 -504
  68. package/lib/openapi/platform/services/IssueCommentsService.js.map +1 -1
  69. package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.d.ts +11 -11
  70. package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.js +126 -123
  71. package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.js.map +1 -1
  72. package/lib/openapi/platform/services/IssueCustomFieldContextsService.d.ts +42 -42
  73. package/lib/openapi/platform/services/IssueCustomFieldContextsService.js +748 -745
  74. package/lib/openapi/platform/services/IssueCustomFieldContextsService.js.map +1 -1
  75. package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.d.ts +28 -28
  76. package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.js +535 -532
  77. package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.js.map +1 -1
  78. package/lib/openapi/platform/services/IssueCustomFieldOptionsService.d.ts +20 -20
  79. package/lib/openapi/platform/services/IssueCustomFieldOptionsService.js +358 -355
  80. package/lib/openapi/platform/services/IssueCustomFieldOptionsService.js.map +1 -1
  81. package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.d.ts +6 -6
  82. package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.js +86 -83
  83. package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.js.map +1 -1
  84. package/lib/openapi/platform/services/IssueFieldConfigurationsService.d.ts +45 -45
  85. package/lib/openapi/platform/services/IssueFieldConfigurationsService.js +689 -686
  86. package/lib/openapi/platform/services/IssueFieldConfigurationsService.js.map +1 -1
  87. package/lib/openapi/platform/services/IssueFieldsService.d.ts +32 -32
  88. package/lib/openapi/platform/services/IssueFieldsService.js +484 -481
  89. package/lib/openapi/platform/services/IssueFieldsService.js.map +1 -1
  90. package/lib/openapi/platform/services/IssueLinkTypesService.d.ts +9 -9
  91. package/lib/openapi/platform/services/IssueLinkTypesService.js +212 -209
  92. package/lib/openapi/platform/services/IssueLinkTypesService.js.map +1 -1
  93. package/lib/openapi/platform/services/IssueLinksService.d.ts +6 -6
  94. package/lib/openapi/platform/services/IssueLinksService.js +230 -227
  95. package/lib/openapi/platform/services/IssueLinksService.js.map +1 -1
  96. package/lib/openapi/platform/services/IssueNavigatorSettingsService.d.ts +3 -3
  97. package/lib/openapi/platform/services/IssueNavigatorSettingsService.js +72 -69
  98. package/lib/openapi/platform/services/IssueNavigatorSettingsService.js.map +1 -1
  99. package/lib/openapi/platform/services/IssueNotificationSchemesService.d.ts +27 -27
  100. package/lib/openapi/platform/services/IssueNotificationSchemesService.js +816 -813
  101. package/lib/openapi/platform/services/IssueNotificationSchemesService.js.map +1 -1
  102. package/lib/openapi/platform/services/IssuePrioritiesService.d.ts +22 -22
  103. package/lib/openapi/platform/services/IssuePrioritiesService.js +307 -304
  104. package/lib/openapi/platform/services/IssuePrioritiesService.js.map +1 -1
  105. package/lib/openapi/platform/services/IssuePropertiesService.d.ts +16 -16
  106. package/lib/openapi/platform/services/IssuePropertiesService.js +390 -387
  107. package/lib/openapi/platform/services/IssuePropertiesService.js.map +1 -1
  108. package/lib/openapi/platform/services/IssueRemoteLinksService.d.ts +13 -13
  109. package/lib/openapi/platform/services/IssueRemoteLinksService.js +368 -365
  110. package/lib/openapi/platform/services/IssueRemoteLinksService.js.map +1 -1
  111. package/lib/openapi/platform/services/IssueResolutionsService.d.ts +19 -19
  112. package/lib/openapi/platform/services/IssueResolutionsService.js +283 -280
  113. package/lib/openapi/platform/services/IssueResolutionsService.js.map +1 -1
  114. package/lib/openapi/platform/services/IssueSearchService.d.ts +24 -24
  115. package/lib/openapi/platform/services/IssueSearchService.js +826 -823
  116. package/lib/openapi/platform/services/IssueSearchService.js.map +1 -1
  117. package/lib/openapi/platform/services/IssueSecurityLevelService.d.ts +8 -8
  118. package/lib/openapi/platform/services/IssueSecurityLevelService.js +137 -134
  119. package/lib/openapi/platform/services/IssueSecurityLevelService.js.map +1 -1
  120. package/lib/openapi/platform/services/IssueSecuritySchemesService.d.ts +51 -51
  121. package/lib/openapi/platform/services/IssueSecuritySchemesService.js +610 -607
  122. package/lib/openapi/platform/services/IssueSecuritySchemesService.js.map +1 -1
  123. package/lib/openapi/platform/services/IssueTypePropertiesService.d.ts +8 -8
  124. package/lib/openapi/platform/services/IssueTypePropertiesService.js +175 -172
  125. package/lib/openapi/platform/services/IssueTypePropertiesService.js.map +1 -1
  126. package/lib/openapi/platform/services/IssueTypeSchemesService.d.ts +31 -31
  127. package/lib/openapi/platform/services/IssueTypeSchemesService.js +527 -524
  128. package/lib/openapi/platform/services/IssueTypeSchemesService.js.map +1 -1
  129. package/lib/openapi/platform/services/IssueTypeScreenSchemesService.d.ts +36 -36
  130. package/lib/openapi/platform/services/IssueTypeScreenSchemesService.js +508 -505
  131. package/lib/openapi/platform/services/IssueTypeScreenSchemesService.js.map +1 -1
  132. package/lib/openapi/platform/services/IssueTypesService.d.ts +22 -28
  133. package/lib/openapi/platform/services/IssueTypesService.js +424 -427
  134. package/lib/openapi/platform/services/IssueTypesService.js.map +1 -1
  135. package/lib/openapi/platform/services/IssueVotesService.d.ts +6 -6
  136. package/lib/openapi/platform/services/IssueVotesService.js +148 -145
  137. package/lib/openapi/platform/services/IssueVotesService.js.map +1 -1
  138. package/lib/openapi/platform/services/IssueWatchersService.d.ts +10 -10
  139. package/lib/openapi/platform/services/IssueWatchersService.js +197 -194
  140. package/lib/openapi/platform/services/IssueWatchersService.js.map +1 -1
  141. package/lib/openapi/platform/services/IssueWorklogPropertiesService.d.ts +8 -8
  142. package/lib/openapi/platform/services/IssueWorklogPropertiesService.js +199 -196
  143. package/lib/openapi/platform/services/IssueWorklogPropertiesService.js.map +1 -1
  144. package/lib/openapi/platform/services/IssueWorklogsService.d.ts +44 -44
  145. package/lib/openapi/platform/services/IssueWorklogsService.js +636 -633
  146. package/lib/openapi/platform/services/IssueWorklogsService.js.map +1 -1
  147. package/lib/openapi/platform/services/IssuesService.d.ts +71 -71
  148. package/lib/openapi/platform/services/IssuesService.js +1856 -1853
  149. package/lib/openapi/platform/services/IssuesService.js.map +1 -1
  150. package/lib/openapi/platform/services/JiraExpressionsService.d.ts +6 -6
  151. package/lib/openapi/platform/services/JiraExpressionsService.js +238 -235
  152. package/lib/openapi/platform/services/JiraExpressionsService.js.map +1 -1
  153. package/lib/openapi/platform/services/JiraSettingsService.d.ts +9 -9
  154. package/lib/openapi/platform/services/JiraSettingsService.js +279 -276
  155. package/lib/openapi/platform/services/JiraSettingsService.js.map +1 -1
  156. package/lib/openapi/platform/services/JqlFunctionsAppsService.d.ts +8 -8
  157. package/lib/openapi/platform/services/JqlFunctionsAppsService.js +107 -104
  158. package/lib/openapi/platform/services/JqlFunctionsAppsService.js.map +1 -1
  159. package/lib/openapi/platform/services/JqlService.d.ts +15 -15
  160. package/lib/openapi/platform/services/JqlService.js +635 -632
  161. package/lib/openapi/platform/services/JqlService.js.map +1 -1
  162. package/lib/openapi/platform/services/LabelsService.d.ts +4 -4
  163. package/lib/openapi/platform/services/LabelsService.js +41 -38
  164. package/lib/openapi/platform/services/LabelsService.js.map +1 -1
  165. package/lib/openapi/platform/services/LicenseMetricsService.d.ts +4 -4
  166. package/lib/openapi/platform/services/LicenseMetricsService.js +120 -117
  167. package/lib/openapi/platform/services/LicenseMetricsService.js.map +1 -1
  168. package/lib/openapi/platform/services/MyselfService.d.ts +14 -14
  169. package/lib/openapi/platform/services/MyselfService.js +321 -318
  170. package/lib/openapi/platform/services/MyselfService.js.map +1 -1
  171. package/lib/openapi/platform/services/PermissionSchemesService.d.ts +25 -25
  172. package/lib/openapi/platform/services/PermissionSchemesService.js +548 -545
  173. package/lib/openapi/platform/services/PermissionSchemesService.js.map +1 -1
  174. package/lib/openapi/platform/services/PermissionsService.d.ts +15 -15
  175. package/lib/openapi/platform/services/PermissionsService.js +235 -232
  176. package/lib/openapi/platform/services/PermissionsService.js.map +1 -1
  177. package/lib/openapi/platform/services/PrioritySchemesService.d.ts +34 -34
  178. package/lib/openapi/platform/services/PrioritySchemesService.js +571 -568
  179. package/lib/openapi/platform/services/PrioritySchemesService.js.map +1 -1
  180. package/lib/openapi/platform/services/ProjectAvatarsService.d.ts +11 -11
  181. package/lib/openapi/platform/services/ProjectAvatarsService.js +213 -210
  182. package/lib/openapi/platform/services/ProjectAvatarsService.js.map +1 -1
  183. package/lib/openapi/platform/services/ProjectCategoriesService.d.ts +9 -9
  184. package/lib/openapi/platform/services/ProjectCategoriesService.js +180 -177
  185. package/lib/openapi/platform/services/ProjectCategoriesService.js.map +1 -1
  186. package/lib/openapi/platform/services/ProjectClassificationLevelsService.d.ts +6 -6
  187. package/lib/openapi/platform/services/ProjectClassificationLevelsService.js +125 -122
  188. package/lib/openapi/platform/services/ProjectClassificationLevelsService.js.map +1 -1
  189. package/lib/openapi/platform/services/ProjectComponentsService.d.ts +28 -28
  190. package/lib/openapi/platform/services/ProjectComponentsService.js +1009 -1006
  191. package/lib/openapi/platform/services/ProjectComponentsService.js.map +1 -1
  192. package/lib/openapi/platform/services/ProjectEmailService.d.ts +4 -4
  193. package/lib/openapi/platform/services/ProjectEmailService.js +78 -75
  194. package/lib/openapi/platform/services/ProjectEmailService.js.map +1 -1
  195. package/lib/openapi/platform/services/ProjectFeaturesService.d.ts +4 -4
  196. package/lib/openapi/platform/services/ProjectFeaturesService.js +119 -116
  197. package/lib/openapi/platform/services/ProjectFeaturesService.js.map +1 -1
  198. package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.d.ts +8 -8
  199. package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.js +100 -97
  200. package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.js.map +1 -1
  201. package/lib/openapi/platform/services/ProjectPermissionSchemesService.d.ts +10 -10
  202. package/lib/openapi/platform/services/ProjectPermissionSchemesService.js +199 -196
  203. package/lib/openapi/platform/services/ProjectPermissionSchemesService.js.map +1 -1
  204. package/lib/openapi/platform/services/ProjectPropertiesService.d.ts +8 -8
  205. package/lib/openapi/platform/services/ProjectPropertiesService.js +172 -169
  206. package/lib/openapi/platform/services/ProjectPropertiesService.js.map +1 -1
  207. package/lib/openapi/platform/services/ProjectRoleActorsService.d.ts +18 -18
  208. package/lib/openapi/platform/services/ProjectRoleActorsService.js +362 -359
  209. package/lib/openapi/platform/services/ProjectRoleActorsService.js.map +1 -1
  210. package/lib/openapi/platform/services/ProjectRolesService.d.ts +21 -21
  211. package/lib/openapi/platform/services/ProjectRolesService.js +576 -573
  212. package/lib/openapi/platform/services/ProjectRolesService.js.map +1 -1
  213. package/lib/openapi/platform/services/ProjectTypesService.d.ts +6 -6
  214. package/lib/openapi/platform/services/ProjectTypesService.js +173 -170
  215. package/lib/openapi/platform/services/ProjectTypesService.js.map +1 -1
  216. package/lib/openapi/platform/services/ProjectVersionsService.d.ts +40 -40
  217. package/lib/openapi/platform/services/ProjectVersionsService.js +751 -748
  218. package/lib/openapi/platform/services/ProjectVersionsService.js.map +1 -1
  219. package/lib/openapi/platform/services/ProjectsService.d.ts +49 -49
  220. package/lib/openapi/platform/services/ProjectsService.js +1597 -1594
  221. package/lib/openapi/platform/services/ProjectsService.js.map +1 -1
  222. package/lib/openapi/platform/services/ScreenSchemesService.d.ts +14 -14
  223. package/lib/openapi/platform/services/ScreenSchemesService.js +177 -174
  224. package/lib/openapi/platform/services/ScreenSchemesService.js.map +1 -1
  225. package/lib/openapi/platform/services/ScreenTabFieldsService.d.ts +9 -9
  226. package/lib/openapi/platform/services/ScreenTabFieldsService.js +144 -141
  227. package/lib/openapi/platform/services/ScreenTabFieldsService.js.map +1 -1
  228. package/lib/openapi/platform/services/ScreenTabsService.d.ts +17 -17
  229. package/lib/openapi/platform/services/ScreenTabsService.js +229 -226
  230. package/lib/openapi/platform/services/ScreenTabsService.js.map +1 -1
  231. package/lib/openapi/platform/services/ScreensService.d.ts +23 -23
  232. package/lib/openapi/platform/services/ScreensService.js +281 -278
  233. package/lib/openapi/platform/services/ScreensService.js.map +1 -1
  234. package/lib/openapi/platform/services/ServerInfoService.d.ts +1 -1
  235. package/lib/openapi/platform/services/ServerInfoService.js +51 -48
  236. package/lib/openapi/platform/services/ServerInfoService.js.map +1 -1
  237. package/lib/openapi/platform/services/ServiceRegistryService.d.ts +2 -2
  238. package/lib/openapi/platform/services/ServiceRegistryService.js +30 -27
  239. package/lib/openapi/platform/services/ServiceRegistryService.js.map +1 -1
  240. package/lib/openapi/platform/services/StatusService.d.ts +17 -17
  241. package/lib/openapi/platform/services/StatusService.js +271 -268
  242. package/lib/openapi/platform/services/StatusService.js.map +1 -1
  243. package/lib/openapi/platform/services/TasksService.d.ts +4 -4
  244. package/lib/openapi/platform/services/TasksService.js +93 -90
  245. package/lib/openapi/platform/services/TasksService.js.map +1 -1
  246. package/lib/openapi/platform/services/TimeTrackingService.d.ts +7 -7
  247. package/lib/openapi/platform/services/TimeTrackingService.js +190 -187
  248. package/lib/openapi/platform/services/TimeTrackingService.js.map +1 -1
  249. package/lib/openapi/platform/services/UiModificationsAppsService.d.ts +11 -11
  250. package/lib/openapi/platform/services/UiModificationsAppsService.js +214 -211
  251. package/lib/openapi/platform/services/UiModificationsAppsService.js.map +1 -1
  252. package/lib/openapi/platform/services/UserPropertiesService.d.ts +20 -20
  253. package/lib/openapi/platform/services/UserPropertiesService.js +196 -193
  254. package/lib/openapi/platform/services/UserPropertiesService.js.map +1 -1
  255. package/lib/openapi/platform/services/UserSearchService.d.ts +61 -61
  256. package/lib/openapi/platform/services/UserSearchService.js +709 -706
  257. package/lib/openapi/platform/services/UserSearchService.js.map +1 -1
  258. package/lib/openapi/platform/services/UsersService.d.ts +51 -51
  259. package/lib/openapi/platform/services/UsersService.js +637 -634
  260. package/lib/openapi/platform/services/UsersService.js.map +1 -1
  261. package/lib/openapi/platform/services/WebhooksService.d.ts +14 -14
  262. package/lib/openapi/platform/services/WebhooksService.js +262 -259
  263. package/lib/openapi/platform/services/WebhooksService.js.map +1 -1
  264. package/lib/openapi/platform/services/WorkflowSchemeDraftsService.d.ts +30 -30
  265. package/lib/openapi/platform/services/WorkflowSchemeDraftsService.js +861 -858
  266. package/lib/openapi/platform/services/WorkflowSchemeDraftsService.js.map +1 -1
  267. package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.d.ts +4 -4
  268. package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.js +98 -95
  269. package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.js.map +1 -1
  270. package/lib/openapi/platform/services/WorkflowSchemesService.d.ts +45 -45
  271. package/lib/openapi/platform/services/WorkflowSchemesService.js +899 -896
  272. package/lib/openapi/platform/services/WorkflowSchemesService.js.map +1 -1
  273. package/lib/openapi/platform/services/WorkflowStatusCategoriesService.d.ts +3 -3
  274. package/lib/openapi/platform/services/WorkflowStatusCategoriesService.js +82 -79
  275. package/lib/openapi/platform/services/WorkflowStatusCategoriesService.js.map +1 -1
  276. package/lib/openapi/platform/services/WorkflowStatusesService.d.ts +3 -3
  277. package/lib/openapi/platform/services/WorkflowStatusesService.js +110 -107
  278. package/lib/openapi/platform/services/WorkflowStatusesService.js.map +1 -1
  279. package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.d.ts +14 -14
  280. package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.js +182 -179
  281. package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.js.map +1 -1
  282. package/lib/openapi/platform/services/WorkflowTransitionRulesService.d.ts +13 -13
  283. package/lib/openapi/platform/services/WorkflowTransitionRulesService.js +283 -280
  284. package/lib/openapi/platform/services/WorkflowTransitionRulesService.js.map +1 -1
  285. package/lib/openapi/platform/services/WorkflowsService.d.ts +33 -33
  286. package/lib/openapi/platform/services/WorkflowsService.js +2451 -2448
  287. package/lib/openapi/platform/services/WorkflowsService.js.map +1 -1
  288. package/lib/openapi/software/services/BacklogService.d.ts +4 -4
  289. package/lib/openapi/software/services/BacklogService.js +81 -78
  290. package/lib/openapi/software/services/BacklogService.js.map +1 -1
  291. package/lib/openapi/software/services/BoardService.d.ts +124 -124
  292. package/lib/openapi/software/services/BoardService.js +2048 -2045
  293. package/lib/openapi/software/services/BoardService.js.map +1 -1
  294. package/lib/openapi/software/services/BuildsService.d.ts +10 -10
  295. package/lib/openapi/software/services/BuildsService.js +164 -161
  296. package/lib/openapi/software/services/BuildsService.js.map +1 -1
  297. package/lib/openapi/software/services/DeploymentsService.d.ts +12 -12
  298. package/lib/openapi/software/services/DeploymentsService.js +192 -189
  299. package/lib/openapi/software/services/DeploymentsService.js.map +1 -1
  300. package/lib/openapi/software/services/DevOpsComponentsService.d.ts +8 -8
  301. package/lib/openapi/software/services/DevOpsComponentsService.js +145 -142
  302. package/lib/openapi/software/services/DevOpsComponentsService.js.map +1 -1
  303. package/lib/openapi/software/services/DevelopmentInformationService.d.ts +16 -16
  304. package/lib/openapi/software/services/DevelopmentInformationService.js +178 -175
  305. package/lib/openapi/software/services/DevelopmentInformationService.js.map +1 -1
  306. package/lib/openapi/software/services/EpicService.d.ts +26 -26
  307. package/lib/openapi/software/services/EpicService.js +597 -594
  308. package/lib/openapi/software/services/EpicService.js.map +1 -1
  309. package/lib/openapi/software/services/FeatureFlagsService.d.ts +10 -10
  310. package/lib/openapi/software/services/FeatureFlagsService.js +151 -148
  311. package/lib/openapi/software/services/FeatureFlagsService.js.map +1 -1
  312. package/lib/openapi/software/services/IssueService.d.ts +13 -13
  313. package/lib/openapi/software/services/IssueService.js +359 -356
  314. package/lib/openapi/software/services/IssueService.js.map +1 -1
  315. package/lib/openapi/software/services/OperationsService.d.ts +24 -24
  316. package/lib/openapi/software/services/OperationsService.js +301 -298
  317. package/lib/openapi/software/services/OperationsService.js.map +1 -1
  318. package/lib/openapi/software/services/RemoteLinksService.d.ts +15 -15
  319. package/lib/openapi/software/services/RemoteLinksService.js +160 -157
  320. package/lib/openapi/software/services/RemoteLinksService.js.map +1 -1
  321. package/lib/openapi/software/services/SecurityInformationService.d.ts +16 -16
  322. package/lib/openapi/software/services/SecurityInformationService.js +262 -259
  323. package/lib/openapi/software/services/SecurityInformationService.js.map +1 -1
  324. package/lib/openapi/software/services/SprintService.d.ts +33 -33
  325. package/lib/openapi/software/services/SprintService.js +594 -591
  326. package/lib/openapi/software/services/SprintService.js.map +1 -1
  327. package/package.json +4 -3
@@ -25,511 +25,514 @@ const validationSchemaStorage_1 = require("../validationSchemaStorage");
25
25
  * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-type-screen-schemes
26
26
  */
27
27
  class IssueTypeScreenSchemesService extends CommonHttpService_1.CommonHttpService {
28
- /**
29
- * Appends issue type to screen scheme mappings to an issue type screen scheme.
30
- *
31
- * **[Permissions](#permissions) required:** *Administer Jira* [global
32
- * permission](https://confluence.atlassian.com/x/x4dKLg).
33
- *
34
- * @returns Returned if the request is successful.
35
- * @path {PUT} /rest/api/3/issuetypescreenscheme/{issueTypeScreenSchemeId}/mapping
36
- * @scopes-current manage:jira-configuration
37
- * @scopes-beta write:issue-type-screen-scheme:jira
38
- * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-type-screen-schemes#api-rest-api-3-issuetypescreenscheme-issuetypescreenschemeid-mapping-put
39
- */
40
- appendMappingsForIssueTypeScreenScheme({ issueTypeScreenSchemeId, issueTypeScreenSchemeMappingDetails, }) {
41
- return this.getClientInstance()
42
- .request({
43
- path: "/rest/api/3/issuetypescreenscheme/{issueTypeScreenSchemeId}/mapping",
44
- method: "PUT",
45
- pathParams: {
46
- issueTypeScreenSchemeId,
47
- },
48
- headers: {
49
- "Content-Type": "application/json",
50
- },
51
- body: issueTypeScreenSchemeMappingDetails,
52
- })
53
- .then(this.getClientInstance().responseHandler({
54
- 204: {
55
- "application/json": "json",
56
- },
57
- }))
58
- .then(commonHttpClient.castResponse())
59
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("IssueTypeScreenSchemesService.appendMappingsForIssueTypeScreenScheme.response"))
60
- .then(commonHttpClient.getBody);
61
- }
62
- /**
63
- * Assigns an issue type screen scheme to a project.
64
- *
65
- * Issue type screen schemes can only be assigned to classic projects.
66
- *
67
- * **[Permissions](#permissions) required:** *Administer Jira* [global
68
- * permission](https://confluence.atlassian.com/x/x4dKLg).
69
- *
70
- * @returns Returned if the request is successful.
71
- * @path {PUT} /rest/api/3/issuetypescreenscheme/project
72
- * @scopes-current manage:jira-configuration
73
- * @scopes-beta write:issue-type-screen-scheme:jira, write:project:jira
74
- * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-type-screen-schemes#api-rest-api-3-issuetypescreenscheme-project-put
75
- */
76
- assignIssueTypeScreenSchemeToProject({ issueTypeScreenSchemeProjectAssociation, }) {
77
- return this.getClientInstance()
78
- .request({
79
- path: "/rest/api/3/issuetypescreenscheme/project",
80
- method: "PUT",
81
- headers: {
82
- "Content-Type": "application/json",
83
- },
84
- body: issueTypeScreenSchemeProjectAssociation,
85
- })
86
- .then(this.getClientInstance().responseHandler({
87
- 204: {
88
- "application/json": "json",
89
- },
90
- }))
91
- .then(commonHttpClient.castResponse())
92
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("IssueTypeScreenSchemesService.assignIssueTypeScreenSchemeToProject.response"))
93
- .then(commonHttpClient.getBody);
94
- }
95
- /**
96
- * Creates an issue type screen scheme.
97
- *
98
- * **[Permissions](#permissions) required:** *Administer Jira* [global
99
- * permission](https://confluence.atlassian.com/x/x4dKLg).
100
- *
101
- * @returns Returned if the request is successful.
102
- *
103
- * example: {
104
- * "id": "10001"
105
- * }
106
- * @path {POST} /rest/api/3/issuetypescreenscheme
107
- * @scopes-current manage:jira-configuration
108
- * @scopes-beta write:issue-type-screen-scheme:jira
109
- * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-type-screen-schemes#api-rest-api-3-issuetypescreenscheme-post
110
- */
111
- createIssueTypeScreenScheme({ issueTypeScreenSchemeDetails, }) {
112
- return this.getClientInstance()
113
- .request({
114
- path: "/rest/api/3/issuetypescreenscheme",
115
- method: "POST",
116
- headers: {
117
- "Content-Type": "application/json",
118
- },
119
- body: issueTypeScreenSchemeDetails,
120
- })
121
- .then(this.getClientInstance().responseHandler({
122
- 201: {
123
- "application/json": "json",
124
- },
125
- }))
126
- .then(commonHttpClient.castResponse())
127
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("IssueTypeScreenSchemesService.createIssueTypeScreenScheme.response"))
128
- .then(commonHttpClient.getBody);
129
- }
130
- /**
131
- * Deletes an issue type screen scheme.
132
- *
133
- * **[Permissions](#permissions) required:** *Administer Jira* [global
134
- * permission](https://confluence.atlassian.com/x/x4dKLg).
135
- *
136
- * @returns Returned if the issue type screen scheme is deleted.
137
- * @path {DELETE} /rest/api/3/issuetypescreenscheme/{issueTypeScreenSchemeId}
138
- * @scopes-current manage:jira-configuration
139
- * @scopes-beta delete:issue-type-screen-scheme:jira
140
- * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-type-screen-schemes#api-rest-api-3-issuetypescreenscheme-issuetypescreenschemeid-delete
141
- */
142
- deleteIssueTypeScreenScheme({ issueTypeScreenSchemeId, }) {
143
- return this.getClientInstance()
144
- .request({
145
- path: "/rest/api/3/issuetypescreenscheme/{issueTypeScreenSchemeId}",
146
- method: "DELETE",
147
- pathParams: {
148
- issueTypeScreenSchemeId,
149
- },
150
- })
151
- .then(this.getClientInstance().responseHandler({
152
- 204: {
153
- "application/json": "json",
154
- },
155
- }))
156
- .then(commonHttpClient.castResponse())
157
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("IssueTypeScreenSchemesService.deleteIssueTypeScreenScheme.response"))
158
- .then(commonHttpClient.getBody);
159
- }
160
- /**
161
- * Returns a [paginated](#pagination) list of issue type screen scheme items.
162
- *
163
- * Only issue type screen schemes used in classic projects are returned.
164
- *
165
- * **[Permissions](#permissions) required:** *Administer Jira* [global
166
- * permission](https://confluence.atlassian.com/x/x4dKLg).
167
- *
168
- * @returns Returned if the request is successful.
169
- *
170
- * example: {
171
- * "isLast": true,
172
- * "maxResults": 100,
173
- * "startAt": 0,
174
- * "total": 4,
175
- * "values": [
176
- * {
177
- * "issueTypeId": "10000",
178
- * "issueTypeScreenSchemeId": "10020",
179
- * "screenSchemeId": "10010"
180
- * },
181
- * {
182
- * "issueTypeId": "10001",
183
- * "issueTypeScreenSchemeId": "10021",
184
- * "screenSchemeId": "10010"
185
- * },
186
- * {
187
- * "issueTypeId": "10002",
188
- * "issueTypeScreenSchemeId": "10022",
189
- * "screenSchemeId": "10010"
190
- * },
191
- * {
192
- * "issueTypeId": "default",
193
- * "issueTypeScreenSchemeId": "10023",
194
- * "screenSchemeId": "10011"
195
- * }
196
- * ]
197
- * }
198
- * @path {GET} /rest/api/3/issuetypescreenscheme/mapping
199
- * @scopes-current manage:jira-configuration
200
- * @scopes-beta read:issue-type-screen-scheme:jira
201
- * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-type-screen-schemes#api-rest-api-3-issuetypescreenscheme-mapping-get
202
- */
203
- getIssueTypeScreenSchemeMappings({ startAt, maxResults, issueTypeScreenSchemeId, } = {}) {
204
- return this.getClientInstance()
205
- .request({
206
- path: "/rest/api/3/issuetypescreenscheme/mapping",
207
- method: "GET",
208
- query: {
209
- startAt,
210
- maxResults,
211
- issueTypeScreenSchemeId,
212
- },
213
- })
214
- .then(this.getClientInstance().responseHandler({
215
- 200: {
216
- "application/json": "json",
217
- },
218
- }))
219
- .then(commonHttpClient.castResponse())
220
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("IssueTypeScreenSchemesService.getIssueTypeScreenSchemeMappings.response"))
221
- .then(commonHttpClient.getBody);
222
- }
223
- /**
224
- * Returns a [paginated](#pagination) list of issue type screen schemes and, for
225
- * each issue type screen scheme, a list of the projects that use it.
226
- *
227
- * Only issue type screen schemes used in classic projects are returned.
228
- *
229
- * **[Permissions](#permissions) required:** *Administer Jira* [global
230
- * permission](https://confluence.atlassian.com/x/x4dKLg).
231
- *
232
- * @returns Returned if the request is successful.
233
- *
234
- * example: {
235
- * "isLast": true,
236
- * "maxResults": 100,
237
- * "startAt": 0,
238
- * "total": 1,
239
- * "values": [
240
- * {
241
- * "issueTypeScreenScheme": {
242
- * "id": "1",
243
- * "name": "Default Issue Type Screen Scheme",
244
- * "description": "The default issue type screen scheme"
245
- * },
246
- * "projectIds": [
247
- * "10000",
248
- * "10001"
249
- * ]
250
- * }
251
- * ]
252
- * }
253
- * @path {GET} /rest/api/3/issuetypescreenscheme/project
254
- * @scopes-current manage:jira-configuration
255
- * @scopes-beta read:issue-type-screen-scheme:jira
256
- * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-type-screen-schemes#api-rest-api-3-issuetypescreenscheme-project-get
257
- */
258
- getIssueTypeScreenSchemeProjectAssociations({ startAt, maxResults, projectId, }) {
259
- return this.getClientInstance()
260
- .request({
261
- path: "/rest/api/3/issuetypescreenscheme/project",
262
- method: "GET",
263
- query: {
264
- startAt,
265
- maxResults,
266
- projectId,
267
- },
268
- })
269
- .then(this.getClientInstance().responseHandler({
270
- 200: {
271
- "application/json": "json",
272
- },
273
- }))
274
- .then(commonHttpClient.castResponse())
275
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("IssueTypeScreenSchemesService.getIssueTypeScreenSchemeProjectAssociations.response"))
276
- .then(commonHttpClient.getBody);
277
- }
278
- /**
279
- * Returns a [paginated](#pagination) list of issue type screen schemes.
280
- *
281
- * Only issue type screen schemes used in classic projects are returned.
282
- *
283
- * **[Permissions](#permissions) required:** *Administer Jira* [global
284
- * permission](https://confluence.atlassian.com/x/x4dKLg).
285
- *
286
- * @returns Returned if the request is successful.
287
- *
288
- * example: {
289
- * "isLast": true,
290
- * "maxResults": 100,
291
- * "startAt": 0,
292
- * "total": 2,
293
- * "values": [
294
- * {
295
- * "id": "1",
296
- * "name": "Default Issue Type Screen Scheme",
297
- * "description": "The default issue type screen scheme"
298
- * },
299
- * {
300
- * "id": "10000",
301
- * "name": "Office issue type screen scheme",
302
- * "description": "Managing office projects",
303
- * "projects": {
304
- * "isLast": true,
305
- * "maxResults": 100,
306
- * "startAt": 0,
307
- * "total": 1,
308
- * "values": [
309
- * {
310
- * "avatarUrls": {
311
- * "16x16": "secure/projectavatar?size=xsmall&pid=10000",
312
- * "24x24": "secure/projectavatar?size=small&pid=10000",
313
- * "32x32": "secure/projectavatar?size=medium&pid=10000",
314
- * "48x48": "secure/projectavatar?size=large&pid=10000"
315
- * },
316
- * "id": "10000",
317
- * "key": "EX",
318
- * "name": "Example",
319
- * "projectCategory": {
320
- * "description": "Project category description",
321
- * "id": "10000",
322
- * "name": "A project category"
323
- * },
324
- * "projectTypeKey": "ProjectTypeKey{key='software'}",
325
- * "self": "project/EX",
326
- * "simplified": false
327
- * }
328
- * ]
329
- * }
330
- * }
331
- * ]
332
- * }
333
- * @path {GET} /rest/api/3/issuetypescreenscheme
334
- * @scopes-current manage:jira-configuration
335
- * @scopes-beta read:issue-type-screen-scheme:jira
336
- * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-type-screen-schemes#api-rest-api-3-issuetypescreenscheme-get
337
- */
338
- getIssueTypeScreenSchemes({ startAt, maxResults, id, queryString, orderBy, expand, } = {}) {
339
- return this.getClientInstance()
340
- .request({
341
- path: "/rest/api/3/issuetypescreenscheme",
342
- method: "GET",
343
- query: {
344
- startAt,
345
- maxResults,
346
- id,
347
- queryString,
348
- orderBy,
349
- expand,
350
- },
351
- })
352
- .then(this.getClientInstance().responseHandler({
353
- 200: {
354
- "application/json": "json",
355
- },
356
- }))
357
- .then(commonHttpClient.castResponse())
358
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("IssueTypeScreenSchemesService.getIssueTypeScreenSchemes.response"))
359
- .then(commonHttpClient.getBody);
360
- }
361
- /**
362
- * Returns a [paginated](#pagination) list of projects associated with an issue
363
- * type screen scheme.
364
- *
365
- * Only company-managed projects associated with an issue type screen scheme are
366
- * returned.
367
- *
368
- * **[Permissions](#permissions) required:** *Administer Jira* [global
369
- * permission](https://confluence.atlassian.com/x/x4dKLg).
370
- *
371
- * @returns Returned if the request is successful.
372
- *
373
- * example: {
374
- * "isLast": true,
375
- * "maxResults": 100,
376
- * "startAt": 0,
377
- * "total": 1,
378
- * "values": [
379
- * {
380
- * "avatarUrls": {
381
- * "16x16": "secure/projectavatar?size=xsmall&pid=10000",
382
- * "24x24": "secure/projectavatar?size=small&pid=10000",
383
- * "32x32": "secure/projectavatar?size=medium&pid=10000",
384
- * "48x48": "secure/projectavatar?size=large&pid=10000"
385
- * },
386
- * "id": "10000",
387
- * "key": "EX",
388
- * "name": "Example",
389
- * "projectCategory": {
390
- * "description": "Project category description",
391
- * "id": "10000",
392
- * "name": "A project category"
393
- * },
394
- * "projectTypeKey": "ProjectTypeKey{key='software'}",
395
- * "self": "project/EX",
396
- * "simplified": false
397
- * }
398
- * ]
399
- * }
400
- * @path {GET} /rest/api/3/issuetypescreenscheme/{issueTypeScreenSchemeId}/project
401
- * @scopes-current manage:jira-configuration
402
- * @scopes-beta read:project:jira, read:avatar:jira, read:project-category:jira
403
- * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-type-screen-schemes#api-rest-api-3-issuetypescreenscheme-issuetypescreenschemeid-project-get
404
- */
405
- getProjectsForIssueTypeScreenScheme({ issueTypeScreenSchemeId, startAt, maxResults, query, }) {
406
- return this.getClientInstance()
407
- .request({
408
- path: "/rest/api/3/issuetypescreenscheme/{issueTypeScreenSchemeId}/project",
409
- method: "GET",
410
- pathParams: {
411
- issueTypeScreenSchemeId,
412
- },
413
- query: {
414
- startAt,
415
- maxResults,
416
- query,
417
- },
418
- })
419
- .then(this.getClientInstance().responseHandler({
420
- 200: {
421
- "application/json": "json",
422
- },
423
- }))
424
- .then(commonHttpClient.castResponse())
425
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("IssueTypeScreenSchemesService.getProjectsForIssueTypeScreenScheme.response"))
426
- .then(commonHttpClient.getBody);
427
- }
428
- /**
429
- * Removes issue type to screen scheme mappings from an issue type screen scheme.
430
- *
431
- * **[Permissions](#permissions) required:** *Administer Jira* [global
432
- * permission](https://confluence.atlassian.com/x/x4dKLg).
433
- *
434
- * @returns Returned if the screen scheme mappings are removed from the issue type screen
435
- * scheme.
436
- * @path {POST}
437
- * /rest/api/3/issuetypescreenscheme/{issueTypeScreenSchemeId}/mapping/remove
438
- * @scopes-current manage:jira-configuration
439
- * @scopes-beta write:issue-type-screen-scheme:jira
440
- * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-type-screen-schemes#api-rest-api-3-issuetypescreenscheme-issuetypescreenschemeid-mapping-remove-post
441
- */
442
- removeMappingsFromIssueTypeScreenScheme({ issueTypeScreenSchemeId, issueTypeIds, }) {
443
- return this.getClientInstance()
444
- .request({
445
- path: "/rest/api/3/issuetypescreenscheme/{issueTypeScreenSchemeId}/mapping/remove",
446
- method: "POST",
447
- pathParams: {
448
- issueTypeScreenSchemeId,
449
- },
450
- headers: {
451
- "Content-Type": "application/json",
452
- },
453
- body: issueTypeIds,
454
- })
455
- .then(this.getClientInstance().responseHandler({
456
- 204: {
457
- "application/json": "json",
458
- },
459
- }))
460
- .then(commonHttpClient.castResponse())
461
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("IssueTypeScreenSchemesService.removeMappingsFromIssueTypeScreenScheme.response"))
462
- .then(commonHttpClient.getBody);
463
- }
464
- /**
465
- * Updates the default screen scheme of an issue type screen scheme. The default
466
- * screen scheme is used for all unmapped issue types.
467
- *
468
- * **[Permissions](#permissions) required:** *Administer Jira* [global
469
- * permission](https://confluence.atlassian.com/x/x4dKLg).
470
- *
471
- * @returns Returned if the request is successful.
472
- * @path {PUT}
473
- * /rest/api/3/issuetypescreenscheme/{issueTypeScreenSchemeId}/mapping/default
474
- * @scopes-current manage:jira-configuration
475
- * @scopes-beta write:issue-type-screen-scheme:jira
476
- * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-type-screen-schemes#api-rest-api-3-issuetypescreenscheme-issuetypescreenschemeid-mapping-default-put
477
- */
478
- updateDefaultScreenScheme({ issueTypeScreenSchemeId, updateDefaultScreenScheme, }) {
479
- return this.getClientInstance()
480
- .request({
481
- path: "/rest/api/3/issuetypescreenscheme/{issueTypeScreenSchemeId}/mapping/default",
482
- method: "PUT",
483
- pathParams: {
484
- issueTypeScreenSchemeId,
485
- },
486
- headers: {
487
- "Content-Type": "application/json",
488
- },
489
- body: updateDefaultScreenScheme,
490
- })
491
- .then(this.getClientInstance().responseHandler({
492
- 204: {
493
- "application/json": "json",
494
- },
495
- }))
496
- .then(commonHttpClient.castResponse())
497
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("IssueTypeScreenSchemesService.updateDefaultScreenScheme.response"))
498
- .then(commonHttpClient.getBody);
499
- }
500
- /**
501
- * Updates an issue type screen scheme.
502
- *
503
- * **[Permissions](#permissions) required:** *Administer Jira* [global
504
- * permission](https://confluence.atlassian.com/x/x4dKLg).
505
- *
506
- * @returns Returned if the request is successful.
507
- * @path {PUT} /rest/api/3/issuetypescreenscheme/{issueTypeScreenSchemeId}
508
- * @scopes-current manage:jira-configuration
509
- * @scopes-beta write:issue-type-screen-scheme:jira
510
- * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-type-screen-schemes#api-rest-api-3-issuetypescreenscheme-issuetypescreenschemeid-put
511
- */
512
- updateIssueTypeScreenScheme({ issueTypeScreenSchemeId, issueTypeScreenSchemeUpdateDetails, }) {
513
- return this.getClientInstance()
514
- .request({
515
- path: "/rest/api/3/issuetypescreenscheme/{issueTypeScreenSchemeId}",
516
- method: "PUT",
517
- pathParams: {
518
- issueTypeScreenSchemeId,
519
- },
520
- headers: {
521
- "Content-Type": "application/json",
522
- },
523
- body: issueTypeScreenSchemeUpdateDetails,
524
- })
525
- .then(this.getClientInstance().responseHandler({
526
- 204: {
527
- "application/json": "json",
528
- },
529
- }))
530
- .then(commonHttpClient.castResponse())
531
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("IssueTypeScreenSchemesService.updateIssueTypeScreenScheme.response"))
532
- .then(commonHttpClient.getBody);
28
+ constructor() {
29
+ super(...arguments);
30
+ /**
31
+ * Appends issue type to screen scheme mappings to an issue type screen scheme.
32
+ *
33
+ * **[Permissions](#permissions) required:** *Administer Jira* [global
34
+ * permission](https://confluence.atlassian.com/x/x4dKLg).
35
+ *
36
+ * @returns Returned if the request is successful.
37
+ * @path {PUT} /rest/api/3/issuetypescreenscheme/{issueTypeScreenSchemeId}/mapping
38
+ * @scopes-current manage:jira-configuration
39
+ * @scopes-beta write:issue-type-screen-scheme:jira
40
+ * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-type-screen-schemes#api-rest-api-3-issuetypescreenscheme-issuetypescreenschemeid-mapping-put
41
+ */
42
+ this.appendMappingsForIssueTypeScreenScheme = ({ issueTypeScreenSchemeId, issueTypeScreenSchemeMappingDetails, }) => {
43
+ return this.getClientInstance()
44
+ .request({
45
+ path: "/rest/api/3/issuetypescreenscheme/{issueTypeScreenSchemeId}/mapping",
46
+ method: "PUT",
47
+ pathParams: {
48
+ issueTypeScreenSchemeId,
49
+ },
50
+ headers: {
51
+ "Content-Type": "application/json",
52
+ },
53
+ body: issueTypeScreenSchemeMappingDetails,
54
+ })
55
+ .then(this.getClientInstance().responseHandler({
56
+ 204: {
57
+ "application/json": "json",
58
+ },
59
+ }))
60
+ .then(commonHttpClient.castResponse())
61
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("IssueTypeScreenSchemesService.appendMappingsForIssueTypeScreenScheme.response"))
62
+ .then(commonHttpClient.getBody);
63
+ };
64
+ /**
65
+ * Assigns an issue type screen scheme to a project.
66
+ *
67
+ * Issue type screen schemes can only be assigned to classic projects.
68
+ *
69
+ * **[Permissions](#permissions) required:** *Administer Jira* [global
70
+ * permission](https://confluence.atlassian.com/x/x4dKLg).
71
+ *
72
+ * @returns Returned if the request is successful.
73
+ * @path {PUT} /rest/api/3/issuetypescreenscheme/project
74
+ * @scopes-current manage:jira-configuration
75
+ * @scopes-beta write:issue-type-screen-scheme:jira, write:project:jira
76
+ * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-type-screen-schemes#api-rest-api-3-issuetypescreenscheme-project-put
77
+ */
78
+ this.assignIssueTypeScreenSchemeToProject = ({ issueTypeScreenSchemeProjectAssociation, }) => {
79
+ return this.getClientInstance()
80
+ .request({
81
+ path: "/rest/api/3/issuetypescreenscheme/project",
82
+ method: "PUT",
83
+ headers: {
84
+ "Content-Type": "application/json",
85
+ },
86
+ body: issueTypeScreenSchemeProjectAssociation,
87
+ })
88
+ .then(this.getClientInstance().responseHandler({
89
+ 204: {
90
+ "application/json": "json",
91
+ },
92
+ }))
93
+ .then(commonHttpClient.castResponse())
94
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("IssueTypeScreenSchemesService.assignIssueTypeScreenSchemeToProject.response"))
95
+ .then(commonHttpClient.getBody);
96
+ };
97
+ /**
98
+ * Creates an issue type screen scheme.
99
+ *
100
+ * **[Permissions](#permissions) required:** *Administer Jira* [global
101
+ * permission](https://confluence.atlassian.com/x/x4dKLg).
102
+ *
103
+ * @returns Returned if the request is successful.
104
+ *
105
+ * example: {
106
+ * "id": "10001"
107
+ * }
108
+ * @path {POST} /rest/api/3/issuetypescreenscheme
109
+ * @scopes-current manage:jira-configuration
110
+ * @scopes-beta write:issue-type-screen-scheme:jira
111
+ * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-type-screen-schemes#api-rest-api-3-issuetypescreenscheme-post
112
+ */
113
+ this.createIssueTypeScreenScheme = ({ issueTypeScreenSchemeDetails, }) => {
114
+ return this.getClientInstance()
115
+ .request({
116
+ path: "/rest/api/3/issuetypescreenscheme",
117
+ method: "POST",
118
+ headers: {
119
+ "Content-Type": "application/json",
120
+ },
121
+ body: issueTypeScreenSchemeDetails,
122
+ })
123
+ .then(this.getClientInstance().responseHandler({
124
+ 201: {
125
+ "application/json": "json",
126
+ },
127
+ }))
128
+ .then(commonHttpClient.castResponse())
129
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("IssueTypeScreenSchemesService.createIssueTypeScreenScheme.response"))
130
+ .then(commonHttpClient.getBody);
131
+ };
132
+ /**
133
+ * Deletes an issue type screen scheme.
134
+ *
135
+ * **[Permissions](#permissions) required:** *Administer Jira* [global
136
+ * permission](https://confluence.atlassian.com/x/x4dKLg).
137
+ *
138
+ * @returns Returned if the issue type screen scheme is deleted.
139
+ * @path {DELETE} /rest/api/3/issuetypescreenscheme/{issueTypeScreenSchemeId}
140
+ * @scopes-current manage:jira-configuration
141
+ * @scopes-beta delete:issue-type-screen-scheme:jira
142
+ * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-type-screen-schemes#api-rest-api-3-issuetypescreenscheme-issuetypescreenschemeid-delete
143
+ */
144
+ this.deleteIssueTypeScreenScheme = ({ issueTypeScreenSchemeId, }) => {
145
+ return this.getClientInstance()
146
+ .request({
147
+ path: "/rest/api/3/issuetypescreenscheme/{issueTypeScreenSchemeId}",
148
+ method: "DELETE",
149
+ pathParams: {
150
+ issueTypeScreenSchemeId,
151
+ },
152
+ })
153
+ .then(this.getClientInstance().responseHandler({
154
+ 204: {
155
+ "application/json": "json",
156
+ },
157
+ }))
158
+ .then(commonHttpClient.castResponse())
159
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("IssueTypeScreenSchemesService.deleteIssueTypeScreenScheme.response"))
160
+ .then(commonHttpClient.getBody);
161
+ };
162
+ /**
163
+ * Returns a [paginated](#pagination) list of issue type screen scheme items.
164
+ *
165
+ * Only issue type screen schemes used in classic projects are returned.
166
+ *
167
+ * **[Permissions](#permissions) required:** *Administer Jira* [global
168
+ * permission](https://confluence.atlassian.com/x/x4dKLg).
169
+ *
170
+ * @returns Returned if the request is successful.
171
+ *
172
+ * example: {
173
+ * "isLast": true,
174
+ * "maxResults": 100,
175
+ * "startAt": 0,
176
+ * "total": 4,
177
+ * "values": [
178
+ * {
179
+ * "issueTypeId": "10000",
180
+ * "issueTypeScreenSchemeId": "10020",
181
+ * "screenSchemeId": "10010"
182
+ * },
183
+ * {
184
+ * "issueTypeId": "10001",
185
+ * "issueTypeScreenSchemeId": "10021",
186
+ * "screenSchemeId": "10010"
187
+ * },
188
+ * {
189
+ * "issueTypeId": "10002",
190
+ * "issueTypeScreenSchemeId": "10022",
191
+ * "screenSchemeId": "10010"
192
+ * },
193
+ * {
194
+ * "issueTypeId": "default",
195
+ * "issueTypeScreenSchemeId": "10023",
196
+ * "screenSchemeId": "10011"
197
+ * }
198
+ * ]
199
+ * }
200
+ * @path {GET} /rest/api/3/issuetypescreenscheme/mapping
201
+ * @scopes-current manage:jira-configuration
202
+ * @scopes-beta read:issue-type-screen-scheme:jira
203
+ * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-type-screen-schemes#api-rest-api-3-issuetypescreenscheme-mapping-get
204
+ */
205
+ this.getIssueTypeScreenSchemeMappings = ({ startAt, maxResults, issueTypeScreenSchemeId, } = {}) => {
206
+ return this.getClientInstance()
207
+ .request({
208
+ path: "/rest/api/3/issuetypescreenscheme/mapping",
209
+ method: "GET",
210
+ query: {
211
+ startAt,
212
+ maxResults,
213
+ issueTypeScreenSchemeId,
214
+ },
215
+ })
216
+ .then(this.getClientInstance().responseHandler({
217
+ 200: {
218
+ "application/json": "json",
219
+ },
220
+ }))
221
+ .then(commonHttpClient.castResponse())
222
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("IssueTypeScreenSchemesService.getIssueTypeScreenSchemeMappings.response"))
223
+ .then(commonHttpClient.getBody);
224
+ };
225
+ /**
226
+ * Returns a [paginated](#pagination) list of issue type screen schemes and, for
227
+ * each issue type screen scheme, a list of the projects that use it.
228
+ *
229
+ * Only issue type screen schemes used in classic projects are returned.
230
+ *
231
+ * **[Permissions](#permissions) required:** *Administer Jira* [global
232
+ * permission](https://confluence.atlassian.com/x/x4dKLg).
233
+ *
234
+ * @returns Returned if the request is successful.
235
+ *
236
+ * example: {
237
+ * "isLast": true,
238
+ * "maxResults": 100,
239
+ * "startAt": 0,
240
+ * "total": 1,
241
+ * "values": [
242
+ * {
243
+ * "issueTypeScreenScheme": {
244
+ * "id": "1",
245
+ * "name": "Default Issue Type Screen Scheme",
246
+ * "description": "The default issue type screen scheme"
247
+ * },
248
+ * "projectIds": [
249
+ * "10000",
250
+ * "10001"
251
+ * ]
252
+ * }
253
+ * ]
254
+ * }
255
+ * @path {GET} /rest/api/3/issuetypescreenscheme/project
256
+ * @scopes-current manage:jira-configuration
257
+ * @scopes-beta read:issue-type-screen-scheme:jira
258
+ * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-type-screen-schemes#api-rest-api-3-issuetypescreenscheme-project-get
259
+ */
260
+ this.getIssueTypeScreenSchemeProjectAssociations = ({ startAt, maxResults, projectId, }) => {
261
+ return this.getClientInstance()
262
+ .request({
263
+ path: "/rest/api/3/issuetypescreenscheme/project",
264
+ method: "GET",
265
+ query: {
266
+ startAt,
267
+ maxResults,
268
+ projectId,
269
+ },
270
+ })
271
+ .then(this.getClientInstance().responseHandler({
272
+ 200: {
273
+ "application/json": "json",
274
+ },
275
+ }))
276
+ .then(commonHttpClient.castResponse())
277
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("IssueTypeScreenSchemesService.getIssueTypeScreenSchemeProjectAssociations.response"))
278
+ .then(commonHttpClient.getBody);
279
+ };
280
+ /**
281
+ * Returns a [paginated](#pagination) list of issue type screen schemes.
282
+ *
283
+ * Only issue type screen schemes used in classic projects are returned.
284
+ *
285
+ * **[Permissions](#permissions) required:** *Administer Jira* [global
286
+ * permission](https://confluence.atlassian.com/x/x4dKLg).
287
+ *
288
+ * @returns Returned if the request is successful.
289
+ *
290
+ * example: {
291
+ * "isLast": true,
292
+ * "maxResults": 100,
293
+ * "startAt": 0,
294
+ * "total": 2,
295
+ * "values": [
296
+ * {
297
+ * "id": "1",
298
+ * "name": "Default Issue Type Screen Scheme",
299
+ * "description": "The default issue type screen scheme"
300
+ * },
301
+ * {
302
+ * "id": "10000",
303
+ * "name": "Office issue type screen scheme",
304
+ * "description": "Managing office projects",
305
+ * "projects": {
306
+ * "isLast": true,
307
+ * "maxResults": 100,
308
+ * "startAt": 0,
309
+ * "total": 1,
310
+ * "values": [
311
+ * {
312
+ * "avatarUrls": {
313
+ * "16x16": "secure/projectavatar?size=xsmall&pid=10000",
314
+ * "24x24": "secure/projectavatar?size=small&pid=10000",
315
+ * "32x32": "secure/projectavatar?size=medium&pid=10000",
316
+ * "48x48": "secure/projectavatar?size=large&pid=10000"
317
+ * },
318
+ * "id": "10000",
319
+ * "key": "EX",
320
+ * "name": "Example",
321
+ * "projectCategory": {
322
+ * "description": "Project category description",
323
+ * "id": "10000",
324
+ * "name": "A project category"
325
+ * },
326
+ * "projectTypeKey": "ProjectTypeKey{key='software'}",
327
+ * "self": "project/EX",
328
+ * "simplified": false
329
+ * }
330
+ * ]
331
+ * }
332
+ * }
333
+ * ]
334
+ * }
335
+ * @path {GET} /rest/api/3/issuetypescreenscheme
336
+ * @scopes-current manage:jira-configuration
337
+ * @scopes-beta read:issue-type-screen-scheme:jira
338
+ * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-type-screen-schemes#api-rest-api-3-issuetypescreenscheme-get
339
+ */
340
+ this.getIssueTypeScreenSchemes = ({ startAt, maxResults, id, queryString, orderBy, expand, } = {}) => {
341
+ return this.getClientInstance()
342
+ .request({
343
+ path: "/rest/api/3/issuetypescreenscheme",
344
+ method: "GET",
345
+ query: {
346
+ startAt,
347
+ maxResults,
348
+ id,
349
+ queryString,
350
+ orderBy,
351
+ expand,
352
+ },
353
+ })
354
+ .then(this.getClientInstance().responseHandler({
355
+ 200: {
356
+ "application/json": "json",
357
+ },
358
+ }))
359
+ .then(commonHttpClient.castResponse())
360
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("IssueTypeScreenSchemesService.getIssueTypeScreenSchemes.response"))
361
+ .then(commonHttpClient.getBody);
362
+ };
363
+ /**
364
+ * Returns a [paginated](#pagination) list of projects associated with an issue
365
+ * type screen scheme.
366
+ *
367
+ * Only company-managed projects associated with an issue type screen scheme are
368
+ * returned.
369
+ *
370
+ * **[Permissions](#permissions) required:** *Administer Jira* [global
371
+ * permission](https://confluence.atlassian.com/x/x4dKLg).
372
+ *
373
+ * @returns Returned if the request is successful.
374
+ *
375
+ * example: {
376
+ * "isLast": true,
377
+ * "maxResults": 100,
378
+ * "startAt": 0,
379
+ * "total": 1,
380
+ * "values": [
381
+ * {
382
+ * "avatarUrls": {
383
+ * "16x16": "secure/projectavatar?size=xsmall&pid=10000",
384
+ * "24x24": "secure/projectavatar?size=small&pid=10000",
385
+ * "32x32": "secure/projectavatar?size=medium&pid=10000",
386
+ * "48x48": "secure/projectavatar?size=large&pid=10000"
387
+ * },
388
+ * "id": "10000",
389
+ * "key": "EX",
390
+ * "name": "Example",
391
+ * "projectCategory": {
392
+ * "description": "Project category description",
393
+ * "id": "10000",
394
+ * "name": "A project category"
395
+ * },
396
+ * "projectTypeKey": "ProjectTypeKey{key='software'}",
397
+ * "self": "project/EX",
398
+ * "simplified": false
399
+ * }
400
+ * ]
401
+ * }
402
+ * @path {GET} /rest/api/3/issuetypescreenscheme/{issueTypeScreenSchemeId}/project
403
+ * @scopes-current manage:jira-configuration
404
+ * @scopes-beta read:project:jira, read:avatar:jira, read:project-category:jira
405
+ * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-type-screen-schemes#api-rest-api-3-issuetypescreenscheme-issuetypescreenschemeid-project-get
406
+ */
407
+ this.getProjectsForIssueTypeScreenScheme = ({ issueTypeScreenSchemeId, startAt, maxResults, query, }) => {
408
+ return this.getClientInstance()
409
+ .request({
410
+ path: "/rest/api/3/issuetypescreenscheme/{issueTypeScreenSchemeId}/project",
411
+ method: "GET",
412
+ pathParams: {
413
+ issueTypeScreenSchemeId,
414
+ },
415
+ query: {
416
+ startAt,
417
+ maxResults,
418
+ query,
419
+ },
420
+ })
421
+ .then(this.getClientInstance().responseHandler({
422
+ 200: {
423
+ "application/json": "json",
424
+ },
425
+ }))
426
+ .then(commonHttpClient.castResponse())
427
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("IssueTypeScreenSchemesService.getProjectsForIssueTypeScreenScheme.response"))
428
+ .then(commonHttpClient.getBody);
429
+ };
430
+ /**
431
+ * Removes issue type to screen scheme mappings from an issue type screen scheme.
432
+ *
433
+ * **[Permissions](#permissions) required:** *Administer Jira* [global
434
+ * permission](https://confluence.atlassian.com/x/x4dKLg).
435
+ *
436
+ * @returns Returned if the screen scheme mappings are removed from the issue type screen
437
+ * scheme.
438
+ * @path {POST}
439
+ * /rest/api/3/issuetypescreenscheme/{issueTypeScreenSchemeId}/mapping/remove
440
+ * @scopes-current manage:jira-configuration
441
+ * @scopes-beta write:issue-type-screen-scheme:jira
442
+ * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-type-screen-schemes#api-rest-api-3-issuetypescreenscheme-issuetypescreenschemeid-mapping-remove-post
443
+ */
444
+ this.removeMappingsFromIssueTypeScreenScheme = ({ issueTypeScreenSchemeId, issueTypeIds, }) => {
445
+ return this.getClientInstance()
446
+ .request({
447
+ path: "/rest/api/3/issuetypescreenscheme/{issueTypeScreenSchemeId}/mapping/remove",
448
+ method: "POST",
449
+ pathParams: {
450
+ issueTypeScreenSchemeId,
451
+ },
452
+ headers: {
453
+ "Content-Type": "application/json",
454
+ },
455
+ body: issueTypeIds,
456
+ })
457
+ .then(this.getClientInstance().responseHandler({
458
+ 204: {
459
+ "application/json": "json",
460
+ },
461
+ }))
462
+ .then(commonHttpClient.castResponse())
463
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("IssueTypeScreenSchemesService.removeMappingsFromIssueTypeScreenScheme.response"))
464
+ .then(commonHttpClient.getBody);
465
+ };
466
+ /**
467
+ * Updates the default screen scheme of an issue type screen scheme. The default
468
+ * screen scheme is used for all unmapped issue types.
469
+ *
470
+ * **[Permissions](#permissions) required:** *Administer Jira* [global
471
+ * permission](https://confluence.atlassian.com/x/x4dKLg).
472
+ *
473
+ * @returns Returned if the request is successful.
474
+ * @path {PUT}
475
+ * /rest/api/3/issuetypescreenscheme/{issueTypeScreenSchemeId}/mapping/default
476
+ * @scopes-current manage:jira-configuration
477
+ * @scopes-beta write:issue-type-screen-scheme:jira
478
+ * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-type-screen-schemes#api-rest-api-3-issuetypescreenscheme-issuetypescreenschemeid-mapping-default-put
479
+ */
480
+ this.updateDefaultScreenScheme = ({ issueTypeScreenSchemeId, updateDefaultScreenScheme, }) => {
481
+ return this.getClientInstance()
482
+ .request({
483
+ path: "/rest/api/3/issuetypescreenscheme/{issueTypeScreenSchemeId}/mapping/default",
484
+ method: "PUT",
485
+ pathParams: {
486
+ issueTypeScreenSchemeId,
487
+ },
488
+ headers: {
489
+ "Content-Type": "application/json",
490
+ },
491
+ body: updateDefaultScreenScheme,
492
+ })
493
+ .then(this.getClientInstance().responseHandler({
494
+ 204: {
495
+ "application/json": "json",
496
+ },
497
+ }))
498
+ .then(commonHttpClient.castResponse())
499
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("IssueTypeScreenSchemesService.updateDefaultScreenScheme.response"))
500
+ .then(commonHttpClient.getBody);
501
+ };
502
+ /**
503
+ * Updates an issue type screen scheme.
504
+ *
505
+ * **[Permissions](#permissions) required:** *Administer Jira* [global
506
+ * permission](https://confluence.atlassian.com/x/x4dKLg).
507
+ *
508
+ * @returns Returned if the request is successful.
509
+ * @path {PUT} /rest/api/3/issuetypescreenscheme/{issueTypeScreenSchemeId}
510
+ * @scopes-current manage:jira-configuration
511
+ * @scopes-beta write:issue-type-screen-scheme:jira
512
+ * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-type-screen-schemes#api-rest-api-3-issuetypescreenscheme-issuetypescreenschemeid-put
513
+ */
514
+ this.updateIssueTypeScreenScheme = ({ issueTypeScreenSchemeId, issueTypeScreenSchemeUpdateDetails, }) => {
515
+ return this.getClientInstance()
516
+ .request({
517
+ path: "/rest/api/3/issuetypescreenscheme/{issueTypeScreenSchemeId}",
518
+ method: "PUT",
519
+ pathParams: {
520
+ issueTypeScreenSchemeId,
521
+ },
522
+ headers: {
523
+ "Content-Type": "application/json",
524
+ },
525
+ body: issueTypeScreenSchemeUpdateDetails,
526
+ })
527
+ .then(this.getClientInstance().responseHandler({
528
+ 204: {
529
+ "application/json": "json",
530
+ },
531
+ }))
532
+ .then(commonHttpClient.castResponse())
533
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("IssueTypeScreenSchemesService.updateIssueTypeScreenScheme.response"))
534
+ .then(commonHttpClient.getBody);
535
+ };
533
536
  }
534
537
  static initialize() {
535
538
  validationSchemaStorage_1.validationSchemaStorage.registerExtensible("IssueTypeScreenSchemesService.getIssueTypeScreenSchemes.response", zod_1.z