@resolution/jira-api-client 0.4.4 → 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 (326) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/lib/openapi/platform/BaseJiraPlatformApiClient.d.ts +28 -4
  3. package/lib/openapi/platform/BaseJiraPlatformApiClient.js +24 -1
  4. package/lib/openapi/platform/BaseJiraPlatformApiClient.js.map +1 -1
  5. package/lib/openapi/platform/models/common.d.ts +6 -0
  6. package/lib/openapi/platform/models/common.js +12 -1
  7. package/lib/openapi/platform/models/common.js.map +1 -1
  8. package/lib/openapi/platform/models/dynamicModules.d.ts +0 -9
  9. package/lib/openapi/platform/models/dynamicModules.js +0 -6
  10. package/lib/openapi/platform/models/dynamicModules.js.map +1 -1
  11. package/lib/openapi/platform/models/issueBulkOperations.d.ts +547 -0
  12. package/lib/openapi/platform/models/issueBulkOperations.js +437 -0
  13. package/lib/openapi/platform/models/issueBulkOperations.js.map +1 -0
  14. package/lib/openapi/platform/services/AnnouncementBannerService.d.ts +3 -3
  15. package/lib/openapi/platform/services/AnnouncementBannerService.js +65 -62
  16. package/lib/openapi/platform/services/AnnouncementBannerService.js.map +1 -1
  17. package/lib/openapi/platform/services/AppDataPoliciesService.d.ts +4 -4
  18. package/lib/openapi/platform/services/AppDataPoliciesService.js +70 -67
  19. package/lib/openapi/platform/services/AppDataPoliciesService.js.map +1 -1
  20. package/lib/openapi/platform/services/AppMigrationService.d.ts +6 -6
  21. package/lib/openapi/platform/services/AppMigrationService.js +139 -136
  22. package/lib/openapi/platform/services/AppMigrationService.js.map +1 -1
  23. package/lib/openapi/platform/services/AppPropertiesService.d.ts +12 -12
  24. package/lib/openapi/platform/services/AppPropertiesService.js +254 -251
  25. package/lib/openapi/platform/services/AppPropertiesService.js.map +1 -1
  26. package/lib/openapi/platform/services/ApplicationRolesService.d.ts +3 -3
  27. package/lib/openapi/platform/services/ApplicationRolesService.js +177 -174
  28. package/lib/openapi/platform/services/ApplicationRolesService.js.map +1 -1
  29. package/lib/openapi/platform/services/AuditRecordsService.d.ts +7 -7
  30. package/lib/openapi/platform/services/AuditRecordsService.js +97 -94
  31. package/lib/openapi/platform/services/AuditRecordsService.js.map +1 -1
  32. package/lib/openapi/platform/services/AvatarsService.d.ts +25 -31
  33. package/lib/openapi/platform/services/AvatarsService.js +412 -415
  34. package/lib/openapi/platform/services/AvatarsService.js.map +1 -1
  35. package/lib/openapi/platform/services/ClassificationLevelsService.d.ts +4 -4
  36. package/lib/openapi/platform/services/ClassificationLevelsService.js +79 -76
  37. package/lib/openapi/platform/services/ClassificationLevelsService.js.map +1 -1
  38. package/lib/openapi/platform/services/DashboardsService.d.ts +62 -50
  39. package/lib/openapi/platform/services/DashboardsService.js +983 -974
  40. package/lib/openapi/platform/services/DashboardsService.js.map +1 -1
  41. package/lib/openapi/platform/services/DynamicModulesService.d.ts +6 -6
  42. package/lib/openapi/platform/services/DynamicModulesService.js +68 -65
  43. package/lib/openapi/platform/services/DynamicModulesService.js.map +1 -1
  44. package/lib/openapi/platform/services/FilterSharingService.d.ts +11 -11
  45. package/lib/openapi/platform/services/FilterSharingService.js +512 -509
  46. package/lib/openapi/platform/services/FilterSharingService.js.map +1 -1
  47. package/lib/openapi/platform/services/FiltersService.d.ts +50 -50
  48. package/lib/openapi/platform/services/FiltersService.js +1262 -1259
  49. package/lib/openapi/platform/services/FiltersService.js.map +1 -1
  50. package/lib/openapi/platform/services/GroupAndUserPickerService.d.ts +10 -10
  51. package/lib/openapi/platform/services/GroupAndUserPickerService.js +112 -109
  52. package/lib/openapi/platform/services/GroupAndUserPickerService.js.map +1 -1
  53. package/lib/openapi/platform/services/GroupsService.d.ts +46 -46
  54. package/lib/openapi/platform/services/GroupsService.js +385 -382
  55. package/lib/openapi/platform/services/GroupsService.js.map +1 -1
  56. package/lib/openapi/platform/services/IssueAttachmentsService.d.ts +20 -20
  57. package/lib/openapi/platform/services/IssueAttachmentsService.js +644 -641
  58. package/lib/openapi/platform/services/IssueAttachmentsService.js.map +1 -1
  59. package/lib/openapi/platform/services/IssueBulkOperationsService.d.ts +325 -0
  60. package/lib/openapi/platform/services/IssueBulkOperationsService.js +353 -0
  61. package/lib/openapi/platform/services/IssueBulkOperationsService.js.map +1 -0
  62. package/lib/openapi/platform/services/IssueCommentPropertiesService.d.ts +8 -8
  63. package/lib/openapi/platform/services/IssueCommentPropertiesService.js +187 -184
  64. package/lib/openapi/platform/services/IssueCommentPropertiesService.js.map +1 -1
  65. package/lib/openapi/platform/services/IssueCommentsService.d.ts +22 -22
  66. package/lib/openapi/platform/services/IssueCommentsService.js +507 -504
  67. package/lib/openapi/platform/services/IssueCommentsService.js.map +1 -1
  68. package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.d.ts +11 -11
  69. package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.js +126 -123
  70. package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.js.map +1 -1
  71. package/lib/openapi/platform/services/IssueCustomFieldContextsService.d.ts +42 -42
  72. package/lib/openapi/platform/services/IssueCustomFieldContextsService.js +748 -745
  73. package/lib/openapi/platform/services/IssueCustomFieldContextsService.js.map +1 -1
  74. package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.d.ts +28 -28
  75. package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.js +535 -532
  76. package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.js.map +1 -1
  77. package/lib/openapi/platform/services/IssueCustomFieldOptionsService.d.ts +20 -20
  78. package/lib/openapi/platform/services/IssueCustomFieldOptionsService.js +358 -355
  79. package/lib/openapi/platform/services/IssueCustomFieldOptionsService.js.map +1 -1
  80. package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.d.ts +6 -6
  81. package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.js +86 -83
  82. package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.js.map +1 -1
  83. package/lib/openapi/platform/services/IssueFieldConfigurationsService.d.ts +45 -45
  84. package/lib/openapi/platform/services/IssueFieldConfigurationsService.js +689 -686
  85. package/lib/openapi/platform/services/IssueFieldConfigurationsService.js.map +1 -1
  86. package/lib/openapi/platform/services/IssueFieldsService.d.ts +32 -32
  87. package/lib/openapi/platform/services/IssueFieldsService.js +484 -481
  88. package/lib/openapi/platform/services/IssueFieldsService.js.map +1 -1
  89. package/lib/openapi/platform/services/IssueLinkTypesService.d.ts +9 -9
  90. package/lib/openapi/platform/services/IssueLinkTypesService.js +212 -209
  91. package/lib/openapi/platform/services/IssueLinkTypesService.js.map +1 -1
  92. package/lib/openapi/platform/services/IssueLinksService.d.ts +6 -6
  93. package/lib/openapi/platform/services/IssueLinksService.js +230 -227
  94. package/lib/openapi/platform/services/IssueLinksService.js.map +1 -1
  95. package/lib/openapi/platform/services/IssueNavigatorSettingsService.d.ts +3 -3
  96. package/lib/openapi/platform/services/IssueNavigatorSettingsService.js +72 -69
  97. package/lib/openapi/platform/services/IssueNavigatorSettingsService.js.map +1 -1
  98. package/lib/openapi/platform/services/IssueNotificationSchemesService.d.ts +27 -27
  99. package/lib/openapi/platform/services/IssueNotificationSchemesService.js +816 -813
  100. package/lib/openapi/platform/services/IssueNotificationSchemesService.js.map +1 -1
  101. package/lib/openapi/platform/services/IssuePrioritiesService.d.ts +22 -22
  102. package/lib/openapi/platform/services/IssuePrioritiesService.js +307 -304
  103. package/lib/openapi/platform/services/IssuePrioritiesService.js.map +1 -1
  104. package/lib/openapi/platform/services/IssuePropertiesService.d.ts +16 -16
  105. package/lib/openapi/platform/services/IssuePropertiesService.js +390 -387
  106. package/lib/openapi/platform/services/IssuePropertiesService.js.map +1 -1
  107. package/lib/openapi/platform/services/IssueRemoteLinksService.d.ts +13 -13
  108. package/lib/openapi/platform/services/IssueRemoteLinksService.js +368 -365
  109. package/lib/openapi/platform/services/IssueRemoteLinksService.js.map +1 -1
  110. package/lib/openapi/platform/services/IssueResolutionsService.d.ts +19 -19
  111. package/lib/openapi/platform/services/IssueResolutionsService.js +283 -280
  112. package/lib/openapi/platform/services/IssueResolutionsService.js.map +1 -1
  113. package/lib/openapi/platform/services/IssueSearchService.d.ts +24 -24
  114. package/lib/openapi/platform/services/IssueSearchService.js +826 -823
  115. package/lib/openapi/platform/services/IssueSearchService.js.map +1 -1
  116. package/lib/openapi/platform/services/IssueSecurityLevelService.d.ts +8 -8
  117. package/lib/openapi/platform/services/IssueSecurityLevelService.js +137 -134
  118. package/lib/openapi/platform/services/IssueSecurityLevelService.js.map +1 -1
  119. package/lib/openapi/platform/services/IssueSecuritySchemesService.d.ts +51 -51
  120. package/lib/openapi/platform/services/IssueSecuritySchemesService.js +610 -607
  121. package/lib/openapi/platform/services/IssueSecuritySchemesService.js.map +1 -1
  122. package/lib/openapi/platform/services/IssueTypePropertiesService.d.ts +8 -8
  123. package/lib/openapi/platform/services/IssueTypePropertiesService.js +175 -172
  124. package/lib/openapi/platform/services/IssueTypePropertiesService.js.map +1 -1
  125. package/lib/openapi/platform/services/IssueTypeSchemesService.d.ts +31 -31
  126. package/lib/openapi/platform/services/IssueTypeSchemesService.js +527 -524
  127. package/lib/openapi/platform/services/IssueTypeSchemesService.js.map +1 -1
  128. package/lib/openapi/platform/services/IssueTypeScreenSchemesService.d.ts +36 -36
  129. package/lib/openapi/platform/services/IssueTypeScreenSchemesService.js +508 -505
  130. package/lib/openapi/platform/services/IssueTypeScreenSchemesService.js.map +1 -1
  131. package/lib/openapi/platform/services/IssueTypesService.d.ts +22 -28
  132. package/lib/openapi/platform/services/IssueTypesService.js +424 -427
  133. package/lib/openapi/platform/services/IssueTypesService.js.map +1 -1
  134. package/lib/openapi/platform/services/IssueVotesService.d.ts +6 -6
  135. package/lib/openapi/platform/services/IssueVotesService.js +148 -145
  136. package/lib/openapi/platform/services/IssueVotesService.js.map +1 -1
  137. package/lib/openapi/platform/services/IssueWatchersService.d.ts +10 -10
  138. package/lib/openapi/platform/services/IssueWatchersService.js +197 -194
  139. package/lib/openapi/platform/services/IssueWatchersService.js.map +1 -1
  140. package/lib/openapi/platform/services/IssueWorklogPropertiesService.d.ts +8 -8
  141. package/lib/openapi/platform/services/IssueWorklogPropertiesService.js +199 -196
  142. package/lib/openapi/platform/services/IssueWorklogPropertiesService.js.map +1 -1
  143. package/lib/openapi/platform/services/IssueWorklogsService.d.ts +44 -44
  144. package/lib/openapi/platform/services/IssueWorklogsService.js +636 -633
  145. package/lib/openapi/platform/services/IssueWorklogsService.js.map +1 -1
  146. package/lib/openapi/platform/services/IssuesService.d.ts +71 -71
  147. package/lib/openapi/platform/services/IssuesService.js +1856 -1853
  148. package/lib/openapi/platform/services/IssuesService.js.map +1 -1
  149. package/lib/openapi/platform/services/JiraExpressionsService.d.ts +6 -6
  150. package/lib/openapi/platform/services/JiraExpressionsService.js +238 -235
  151. package/lib/openapi/platform/services/JiraExpressionsService.js.map +1 -1
  152. package/lib/openapi/platform/services/JiraSettingsService.d.ts +9 -9
  153. package/lib/openapi/platform/services/JiraSettingsService.js +279 -276
  154. package/lib/openapi/platform/services/JiraSettingsService.js.map +1 -1
  155. package/lib/openapi/platform/services/JqlFunctionsAppsService.d.ts +8 -8
  156. package/lib/openapi/platform/services/JqlFunctionsAppsService.js +107 -104
  157. package/lib/openapi/platform/services/JqlFunctionsAppsService.js.map +1 -1
  158. package/lib/openapi/platform/services/JqlService.d.ts +15 -15
  159. package/lib/openapi/platform/services/JqlService.js +635 -632
  160. package/lib/openapi/platform/services/JqlService.js.map +1 -1
  161. package/lib/openapi/platform/services/LabelsService.d.ts +4 -4
  162. package/lib/openapi/platform/services/LabelsService.js +41 -38
  163. package/lib/openapi/platform/services/LabelsService.js.map +1 -1
  164. package/lib/openapi/platform/services/LicenseMetricsService.d.ts +4 -4
  165. package/lib/openapi/platform/services/LicenseMetricsService.js +120 -117
  166. package/lib/openapi/platform/services/LicenseMetricsService.js.map +1 -1
  167. package/lib/openapi/platform/services/MyselfService.d.ts +14 -14
  168. package/lib/openapi/platform/services/MyselfService.js +321 -318
  169. package/lib/openapi/platform/services/MyselfService.js.map +1 -1
  170. package/lib/openapi/platform/services/PermissionSchemesService.d.ts +25 -25
  171. package/lib/openapi/platform/services/PermissionSchemesService.js +548 -545
  172. package/lib/openapi/platform/services/PermissionSchemesService.js.map +1 -1
  173. package/lib/openapi/platform/services/PermissionsService.d.ts +15 -15
  174. package/lib/openapi/platform/services/PermissionsService.js +235 -232
  175. package/lib/openapi/platform/services/PermissionsService.js.map +1 -1
  176. package/lib/openapi/platform/services/PrioritySchemesService.d.ts +34 -34
  177. package/lib/openapi/platform/services/PrioritySchemesService.js +571 -568
  178. package/lib/openapi/platform/services/PrioritySchemesService.js.map +1 -1
  179. package/lib/openapi/platform/services/ProjectAvatarsService.d.ts +11 -11
  180. package/lib/openapi/platform/services/ProjectAvatarsService.js +213 -210
  181. package/lib/openapi/platform/services/ProjectAvatarsService.js.map +1 -1
  182. package/lib/openapi/platform/services/ProjectCategoriesService.d.ts +9 -9
  183. package/lib/openapi/platform/services/ProjectCategoriesService.js +180 -177
  184. package/lib/openapi/platform/services/ProjectCategoriesService.js.map +1 -1
  185. package/lib/openapi/platform/services/ProjectClassificationLevelsService.d.ts +6 -6
  186. package/lib/openapi/platform/services/ProjectClassificationLevelsService.js +125 -122
  187. package/lib/openapi/platform/services/ProjectClassificationLevelsService.js.map +1 -1
  188. package/lib/openapi/platform/services/ProjectComponentsService.d.ts +28 -28
  189. package/lib/openapi/platform/services/ProjectComponentsService.js +1009 -1006
  190. package/lib/openapi/platform/services/ProjectComponentsService.js.map +1 -1
  191. package/lib/openapi/platform/services/ProjectEmailService.d.ts +4 -4
  192. package/lib/openapi/platform/services/ProjectEmailService.js +78 -75
  193. package/lib/openapi/platform/services/ProjectEmailService.js.map +1 -1
  194. package/lib/openapi/platform/services/ProjectFeaturesService.d.ts +4 -4
  195. package/lib/openapi/platform/services/ProjectFeaturesService.js +119 -116
  196. package/lib/openapi/platform/services/ProjectFeaturesService.js.map +1 -1
  197. package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.d.ts +8 -8
  198. package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.js +100 -97
  199. package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.js.map +1 -1
  200. package/lib/openapi/platform/services/ProjectPermissionSchemesService.d.ts +10 -10
  201. package/lib/openapi/platform/services/ProjectPermissionSchemesService.js +199 -196
  202. package/lib/openapi/platform/services/ProjectPermissionSchemesService.js.map +1 -1
  203. package/lib/openapi/platform/services/ProjectPropertiesService.d.ts +8 -8
  204. package/lib/openapi/platform/services/ProjectPropertiesService.js +172 -169
  205. package/lib/openapi/platform/services/ProjectPropertiesService.js.map +1 -1
  206. package/lib/openapi/platform/services/ProjectRoleActorsService.d.ts +18 -18
  207. package/lib/openapi/platform/services/ProjectRoleActorsService.js +362 -359
  208. package/lib/openapi/platform/services/ProjectRoleActorsService.js.map +1 -1
  209. package/lib/openapi/platform/services/ProjectRolesService.d.ts +21 -21
  210. package/lib/openapi/platform/services/ProjectRolesService.js +576 -573
  211. package/lib/openapi/platform/services/ProjectRolesService.js.map +1 -1
  212. package/lib/openapi/platform/services/ProjectTypesService.d.ts +6 -6
  213. package/lib/openapi/platform/services/ProjectTypesService.js +173 -170
  214. package/lib/openapi/platform/services/ProjectTypesService.js.map +1 -1
  215. package/lib/openapi/platform/services/ProjectVersionsService.d.ts +40 -40
  216. package/lib/openapi/platform/services/ProjectVersionsService.js +751 -748
  217. package/lib/openapi/platform/services/ProjectVersionsService.js.map +1 -1
  218. package/lib/openapi/platform/services/ProjectsService.d.ts +49 -49
  219. package/lib/openapi/platform/services/ProjectsService.js +1597 -1594
  220. package/lib/openapi/platform/services/ProjectsService.js.map +1 -1
  221. package/lib/openapi/platform/services/ScreenSchemesService.d.ts +14 -14
  222. package/lib/openapi/platform/services/ScreenSchemesService.js +177 -174
  223. package/lib/openapi/platform/services/ScreenSchemesService.js.map +1 -1
  224. package/lib/openapi/platform/services/ScreenTabFieldsService.d.ts +9 -9
  225. package/lib/openapi/platform/services/ScreenTabFieldsService.js +144 -141
  226. package/lib/openapi/platform/services/ScreenTabFieldsService.js.map +1 -1
  227. package/lib/openapi/platform/services/ScreenTabsService.d.ts +17 -17
  228. package/lib/openapi/platform/services/ScreenTabsService.js +229 -226
  229. package/lib/openapi/platform/services/ScreenTabsService.js.map +1 -1
  230. package/lib/openapi/platform/services/ScreensService.d.ts +23 -23
  231. package/lib/openapi/platform/services/ScreensService.js +281 -278
  232. package/lib/openapi/platform/services/ScreensService.js.map +1 -1
  233. package/lib/openapi/platform/services/ServerInfoService.d.ts +1 -1
  234. package/lib/openapi/platform/services/ServerInfoService.js +51 -48
  235. package/lib/openapi/platform/services/ServerInfoService.js.map +1 -1
  236. package/lib/openapi/platform/services/ServiceRegistryService.d.ts +2 -2
  237. package/lib/openapi/platform/services/ServiceRegistryService.js +30 -27
  238. package/lib/openapi/platform/services/ServiceRegistryService.js.map +1 -1
  239. package/lib/openapi/platform/services/StatusService.d.ts +17 -17
  240. package/lib/openapi/platform/services/StatusService.js +271 -268
  241. package/lib/openapi/platform/services/StatusService.js.map +1 -1
  242. package/lib/openapi/platform/services/TasksService.d.ts +4 -4
  243. package/lib/openapi/platform/services/TasksService.js +93 -90
  244. package/lib/openapi/platform/services/TasksService.js.map +1 -1
  245. package/lib/openapi/platform/services/TimeTrackingService.d.ts +7 -7
  246. package/lib/openapi/platform/services/TimeTrackingService.js +190 -187
  247. package/lib/openapi/platform/services/TimeTrackingService.js.map +1 -1
  248. package/lib/openapi/platform/services/UiModificationsAppsService.d.ts +11 -11
  249. package/lib/openapi/platform/services/UiModificationsAppsService.js +214 -211
  250. package/lib/openapi/platform/services/UiModificationsAppsService.js.map +1 -1
  251. package/lib/openapi/platform/services/UserPropertiesService.d.ts +20 -20
  252. package/lib/openapi/platform/services/UserPropertiesService.js +196 -193
  253. package/lib/openapi/platform/services/UserPropertiesService.js.map +1 -1
  254. package/lib/openapi/platform/services/UserSearchService.d.ts +61 -61
  255. package/lib/openapi/platform/services/UserSearchService.js +709 -706
  256. package/lib/openapi/platform/services/UserSearchService.js.map +1 -1
  257. package/lib/openapi/platform/services/UsersService.d.ts +51 -51
  258. package/lib/openapi/platform/services/UsersService.js +637 -634
  259. package/lib/openapi/platform/services/UsersService.js.map +1 -1
  260. package/lib/openapi/platform/services/WebhooksService.d.ts +14 -14
  261. package/lib/openapi/platform/services/WebhooksService.js +262 -259
  262. package/lib/openapi/platform/services/WebhooksService.js.map +1 -1
  263. package/lib/openapi/platform/services/WorkflowSchemeDraftsService.d.ts +30 -30
  264. package/lib/openapi/platform/services/WorkflowSchemeDraftsService.js +861 -858
  265. package/lib/openapi/platform/services/WorkflowSchemeDraftsService.js.map +1 -1
  266. package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.d.ts +4 -4
  267. package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.js +98 -95
  268. package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.js.map +1 -1
  269. package/lib/openapi/platform/services/WorkflowSchemesService.d.ts +45 -45
  270. package/lib/openapi/platform/services/WorkflowSchemesService.js +899 -896
  271. package/lib/openapi/platform/services/WorkflowSchemesService.js.map +1 -1
  272. package/lib/openapi/platform/services/WorkflowStatusCategoriesService.d.ts +3 -3
  273. package/lib/openapi/platform/services/WorkflowStatusCategoriesService.js +82 -79
  274. package/lib/openapi/platform/services/WorkflowStatusCategoriesService.js.map +1 -1
  275. package/lib/openapi/platform/services/WorkflowStatusesService.d.ts +3 -3
  276. package/lib/openapi/platform/services/WorkflowStatusesService.js +110 -107
  277. package/lib/openapi/platform/services/WorkflowStatusesService.js.map +1 -1
  278. package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.d.ts +14 -14
  279. package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.js +182 -179
  280. package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.js.map +1 -1
  281. package/lib/openapi/platform/services/WorkflowTransitionRulesService.d.ts +13 -13
  282. package/lib/openapi/platform/services/WorkflowTransitionRulesService.js +283 -280
  283. package/lib/openapi/platform/services/WorkflowTransitionRulesService.js.map +1 -1
  284. package/lib/openapi/platform/services/WorkflowsService.d.ts +33 -33
  285. package/lib/openapi/platform/services/WorkflowsService.js +2451 -2448
  286. package/lib/openapi/platform/services/WorkflowsService.js.map +1 -1
  287. package/lib/openapi/software/services/BacklogService.d.ts +4 -4
  288. package/lib/openapi/software/services/BacklogService.js +81 -78
  289. package/lib/openapi/software/services/BacklogService.js.map +1 -1
  290. package/lib/openapi/software/services/BoardService.d.ts +124 -124
  291. package/lib/openapi/software/services/BoardService.js +2048 -2045
  292. package/lib/openapi/software/services/BoardService.js.map +1 -1
  293. package/lib/openapi/software/services/BuildsService.d.ts +10 -10
  294. package/lib/openapi/software/services/BuildsService.js +164 -161
  295. package/lib/openapi/software/services/BuildsService.js.map +1 -1
  296. package/lib/openapi/software/services/DeploymentsService.d.ts +12 -12
  297. package/lib/openapi/software/services/DeploymentsService.js +192 -189
  298. package/lib/openapi/software/services/DeploymentsService.js.map +1 -1
  299. package/lib/openapi/software/services/DevOpsComponentsService.d.ts +8 -8
  300. package/lib/openapi/software/services/DevOpsComponentsService.js +145 -142
  301. package/lib/openapi/software/services/DevOpsComponentsService.js.map +1 -1
  302. package/lib/openapi/software/services/DevelopmentInformationService.d.ts +16 -16
  303. package/lib/openapi/software/services/DevelopmentInformationService.js +178 -175
  304. package/lib/openapi/software/services/DevelopmentInformationService.js.map +1 -1
  305. package/lib/openapi/software/services/EpicService.d.ts +26 -26
  306. package/lib/openapi/software/services/EpicService.js +597 -594
  307. package/lib/openapi/software/services/EpicService.js.map +1 -1
  308. package/lib/openapi/software/services/FeatureFlagsService.d.ts +10 -10
  309. package/lib/openapi/software/services/FeatureFlagsService.js +151 -148
  310. package/lib/openapi/software/services/FeatureFlagsService.js.map +1 -1
  311. package/lib/openapi/software/services/IssueService.d.ts +13 -13
  312. package/lib/openapi/software/services/IssueService.js +359 -356
  313. package/lib/openapi/software/services/IssueService.js.map +1 -1
  314. package/lib/openapi/software/services/OperationsService.d.ts +24 -24
  315. package/lib/openapi/software/services/OperationsService.js +301 -298
  316. package/lib/openapi/software/services/OperationsService.js.map +1 -1
  317. package/lib/openapi/software/services/RemoteLinksService.d.ts +15 -15
  318. package/lib/openapi/software/services/RemoteLinksService.js +160 -157
  319. package/lib/openapi/software/services/RemoteLinksService.js.map +1 -1
  320. package/lib/openapi/software/services/SecurityInformationService.d.ts +16 -16
  321. package/lib/openapi/software/services/SecurityInformationService.js +262 -259
  322. package/lib/openapi/software/services/SecurityInformationService.js.map +1 -1
  323. package/lib/openapi/software/services/SprintService.d.ts +33 -33
  324. package/lib/openapi/software/services/SprintService.js +594 -591
  325. package/lib/openapi/software/services/SprintService.js.map +1 -1
  326. 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