@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
@@ -20,393 +20,396 @@ const validationSchemaStorage_1 = require("../validationSchemaStorage");
20
20
  * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-properties
21
21
  */
22
22
  class IssuePropertiesService extends CommonHttpService_1.CommonHttpService {
23
- /**
24
- * Deletes a property value from multiple issues. The issues to be updated can be
25
- * specified by filter criteria.
26
- *
27
- * The criteria the filter used to identify eligible issues are:
28
- *
29
- * * `entityIds` Only issues from this list are eligible.
30
- * * `currentValue` Only issues with the property set to this value are eligible.
31
- *
32
- * If both criteria is specified, they are joined with the logical *AND*: only
33
- * issues that satisfy both criteria are considered eligible.
34
- *
35
- * If no filter criteria are specified, all the issues visible to the user and
36
- * where the user has the EDIT\_ISSUES permission for the issue are considered
37
- * eligible.
38
- *
39
- * This operation is:
40
- *
41
- * * transactional, either the property is deleted from all eligible issues or,
42
- * when errors occur, no properties are deleted.
43
- * * [asynchronous](#async). Follow the `location` link in the response to
44
- * determine the status of the task and use [Get
45
- * task](#api-rest-api-3-task-taskId-get) to obtain subsequent updates.
46
- *
47
- * **[Permissions](#permissions) required:**
48
- *
49
- * * *Browse projects* [ project
50
- * permission](https://confluence.atlassian.com/x/yodKLg) for each project
51
- * containing issues.
52
- * * If [issue-level security](https://confluence.atlassian.com/x/J4lKLg) is
53
- * configured, issue-level security permission to view the issue.
54
- * * *Edit issues* [project
55
- * permission](https://confluence.atlassian.com/x/yodKLg) for each issue.
56
- *
57
- * @path {DELETE} /rest/api/3/issue/properties/{propertyKey}
58
- * @scopes-current write:jira-work
59
- * @scopes-beta delete:issue.property:jira
60
- * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-properties#api-rest-api-3-issue-properties-propertykey-delete
61
- */
62
- bulkDeleteIssueProperty({ propertyKey, issueFilterForBulkPropertyDelete, }) {
63
- return this.getClientInstance()
64
- .request({
65
- path: "/rest/api/3/issue/properties/{propertyKey}",
66
- method: "DELETE",
67
- pathParams: {
68
- propertyKey,
69
- },
70
- headers: {
71
- "Content-Type": "application/json",
72
- },
73
- body: issueFilterForBulkPropertyDelete,
74
- })
75
- .then(commonHttpClient.discardResult);
76
- }
77
- /**
78
- * Sets or updates entity property values on issues. Up to 10 entity properties
79
- * can be specified for each issue and up to 100 issues included in the request.
80
- *
81
- * The value of the request body must be a
82
- * [valid](http://tools.ietf.org/html/rfc4627), non-empty JSON.
83
- *
84
- * This operation is:
85
- *
86
- * * [asynchronous](#async). Follow the `location` link in the response to
87
- * determine the status of the task and use [Get
88
- * task](#api-rest-api-3-task-taskId-get) to obtain subsequent updates.
89
- * * non-transactional. Updating some entities may fail. Such information will
90
- * available in the task result.
91
- *
92
- * **[Permissions](#permissions) required:**
93
- *
94
- * * *Browse projects* and *Edit issues* [project
95
- * permissions](https://confluence.atlassian.com/x/yodKLg) for the project
96
- * containing the issue.
97
- * * If [issue-level security](https://confluence.atlassian.com/x/J4lKLg) is
98
- * configured, issue-level security permission to view the issue.
99
- *
100
- * @path {POST} /rest/api/3/issue/properties/multi
101
- * @scopes-current write:jira-work
102
- * @scopes-beta write:issue.property:jira
103
- * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-properties#api-rest-api-3-issue-properties-multi-post
104
- */
105
- bulkSetIssuePropertiesByIssue({ multiIssueEntityProperties, }) {
106
- return this.getClientInstance()
107
- .request({
108
- path: "/rest/api/3/issue/properties/multi",
109
- method: "POST",
110
- headers: {
111
- "Content-Type": "application/json",
112
- },
113
- body: multiIssueEntityProperties,
114
- })
115
- .then(commonHttpClient.discardResult);
116
- }
117
- /**
118
- * Sets a property value on multiple issues.
119
- *
120
- * The value set can be a constant or determined by a [Jira
121
- * expression](https://developer.atlassian.com/cloud/jira/platform/jira-expressions/).
122
- * Expressions must be computable with constant complexity when applied to a set
123
- * of issues. Expressions must also comply with the
124
- * [restrictions](https://developer.atlassian.com/cloud/jira/platform/jira-expressions/#restrictions)
125
- * that apply to all Jira expressions.
126
- *
127
- * The issues to be updated can be specified by a filter.
128
- *
129
- * The filter identifies issues eligible for update using these criteria:
130
- *
131
- * * `entityIds` Only issues from this list are eligible.
132
- * * `currentValue` Only issues with the property set to this value are eligible.
133
- * * `hasProperty`:
134
- *
135
- * * If *true*, only issues with the property are eligible.
136
- * * If *false*, only issues without the property are eligible.
137
- *
138
- * If more than one criteria is specified, they are joined with the logical *AND*:
139
- * only issues that satisfy all criteria are eligible.
140
- *
141
- * If an invalid combination of criteria is provided, an error is returned. For
142
- * example, specifying a `currentValue` and `hasProperty` as *false* would not
143
- * match any issues (because without the property the property cannot have a
144
- * value).
145
- *
146
- * The filter is optional. Without the filter all the issues visible to the user
147
- * and where the user has the EDIT\_ISSUES permission for the issue are considered
148
- * eligible.
149
- *
150
- * This operation is:
151
- *
152
- * * transactional, either all eligible issues are updated or, when errors
153
- * occur, none are updated.
154
- * * [asynchronous](#async). Follow the `location` link in the response to
155
- * determine the status of the task and use [Get
156
- * task](#api-rest-api-3-task-taskId-get) to obtain subsequent updates.
157
- *
158
- * **[Permissions](#permissions) required:**
159
- *
160
- * * *Browse projects* [project
161
- * permission](https://confluence.atlassian.com/x/yodKLg) for each project
162
- * containing issues.
163
- * * If [issue-level security](https://confluence.atlassian.com/x/J4lKLg) is
164
- * configured, issue-level security permission to view the issue.
165
- * * *Edit issues* [project
166
- * permission](https://confluence.atlassian.com/x/yodKLg) for each issue.
167
- *
168
- * @path {PUT} /rest/api/3/issue/properties/{propertyKey}
169
- * @scopes-current write:jira-work
170
- * @scopes-beta read:jira-expressions:jira, write:issue.property:jira
171
- * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-properties#api-rest-api-3-issue-properties-propertykey-put
172
- */
173
- bulkSetIssueProperty({ propertyKey, bulkIssuePropertyUpdateRequest, }) {
174
- return this.getClientInstance()
175
- .request({
176
- path: "/rest/api/3/issue/properties/{propertyKey}",
177
- method: "PUT",
178
- pathParams: {
179
- propertyKey,
180
- },
181
- headers: {
182
- "Content-Type": "application/json",
183
- },
184
- body: bulkIssuePropertyUpdateRequest,
185
- })
186
- .then(commonHttpClient.discardResult);
187
- }
188
- /**
189
- * Sets or updates a list of entity property values on issues. A list of up to 10
190
- * entity properties can be specified along with up to 10,000 issues on which to
191
- * set or update that list of entity properties.
192
- *
193
- * The value of the request body must be a
194
- * [valid](http://tools.ietf.org/html/rfc4627), non-empty JSON. The maximum length
195
- * of single issue property value is 32768 characters. This operation can be
196
- * accessed anonymously.
197
- *
198
- * This operation is:
199
- *
200
- * * transactional, either all properties are updated in all eligible issues or,
201
- * when errors occur, no properties are updated.
202
- * * [asynchronous](#async). Follow the `location` link in the response to
203
- * determine the status of the task and use [Get
204
- * task](#api-rest-api-3-task-taskId-get) to obtain subsequent updates.
205
- *
206
- * **[Permissions](#permissions) required:**
207
- *
208
- * * *Browse projects* and *Edit issues* [project
209
- * permissions](https://confluence.atlassian.com/x/yodKLg) for the project
210
- * containing the issue.
211
- * * If [issue-level security](https://confluence.atlassian.com/x/J4lKLg) is
212
- * configured, issue-level security permission to view the issue.
213
- *
214
- * @path {POST} /rest/api/3/issue/properties
215
- * @scopes-current write:jira-work
216
- * @scopes-beta write:issue.property:jira
217
- * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-properties#api-rest-api-3-issue-properties-post
218
- */
219
- bulkSetIssuesPropertiesList({ issueEntityProperties, }) {
220
- return this.getClientInstance()
221
- .request({
222
- path: "/rest/api/3/issue/properties",
223
- method: "POST",
224
- headers: {
225
- "Content-Type": "application/json",
226
- },
227
- body: issueEntityProperties,
228
- })
229
- .then(commonHttpClient.discardResult);
230
- }
231
- /**
232
- * Deletes an issue's property.
233
- *
234
- * This operation can be accessed anonymously.
235
- *
236
- * **[Permissions](#permissions) required:**
237
- *
238
- * * *Browse projects* and *Edit issues* [project
239
- * permissions](https://confluence.atlassian.com/x/yodKLg) for the project
240
- * containing the issue.
241
- * * If [issue-level security](https://confluence.atlassian.com/x/J4lKLg) is
242
- * configured, issue-level security permission to view the issue.
243
- *
244
- * @path {DELETE} /rest/api/3/issue/{issueIdOrKey}/properties/{propertyKey}
245
- * @scopes-current write:jira-work
246
- * @scopes-beta delete:issue.property:jira
247
- * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-properties#api-rest-api-3-issue-issueidorkey-properties-propertykey-delete
248
- */
249
- deleteIssueProperty({ issueIdOrKey, propertyKey, }) {
250
- return this.getClientInstance()
251
- .request({
252
- path: "/rest/api/3/issue/{issueIdOrKey}/properties/{propertyKey}",
253
- method: "DELETE",
254
- pathParams: {
255
- issueIdOrKey,
256
- propertyKey,
257
- },
258
- })
259
- .then(commonHttpClient.discardResult);
260
- }
261
- /**
262
- * Returns the key and value of an issue's property.
263
- *
264
- * This operation can be accessed anonymously.
265
- *
266
- * **[Permissions](#permissions) required:**
267
- *
268
- * * *Browse projects* [project
269
- * permission](https://confluence.atlassian.com/x/yodKLg) for the project
270
- * containing the issue.
271
- * * If [issue-level security](https://confluence.atlassian.com/x/J4lKLg) is
272
- * configured, issue-level security permission to view the issue.
273
- *
274
- * @returns Returned if the request is successful.
275
- *
276
- * example: {
277
- * "key": "issue.support",
278
- * "value": {
279
- * "system.conversation.id": "b1bf38be-5e94-4b40-a3b8-9278735ee1e6",
280
- * "system.support.time": "1m"
281
- * }
282
- * }
283
- * @path {GET} /rest/api/3/issue/{issueIdOrKey}/properties/{propertyKey}
284
- * @scopes-current read:jira-work
285
- * @scopes-beta read:issue.property:jira
286
- * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-properties#api-rest-api-3-issue-issueidorkey-properties-propertykey-get
287
- */
288
- getIssueProperty({ issueIdOrKey, propertyKey, }) {
289
- return this.getClientInstance()
290
- .request({
291
- path: "/rest/api/3/issue/{issueIdOrKey}/properties/{propertyKey}",
292
- method: "GET",
293
- pathParams: {
294
- issueIdOrKey,
295
- propertyKey,
296
- },
297
- })
298
- .then(this.getClientInstance().responseHandler({
299
- 200: {
300
- "application/json": "json",
301
- },
302
- }))
303
- .then(commonHttpClient.castResponse())
304
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("IssuePropertiesService.getIssueProperty.response"))
305
- .then(commonHttpClient.getBody);
306
- }
307
- /**
308
- * Returns the URLs and keys of an issue's properties.
309
- *
310
- * This operation can be accessed anonymously.
311
- *
312
- * **[Permissions](#permissions) required:** Property details are only returned
313
- * where the user has:
314
- *
315
- * * *Browse projects* [project
316
- * permission](https://confluence.atlassian.com/x/yodKLg) for the project
317
- * containing the issue.
318
- * * If [issue-level security](https://confluence.atlassian.com/x/J4lKLg) is
319
- * configured, issue-level security permission to view the issue.
320
- *
321
- * @returns Returned if the request is successful.
322
- *
323
- * example: {
324
- * "keys": [
325
- * {
326
- * "key": "issue.support",
327
- * "self":
328
- * "https://your-domain.atlassian.net/rest/api/3/issue/EX-2/properties/issue.support"
329
- * }
330
- * ]
331
- * }
332
- * @path {GET} /rest/api/3/issue/{issueIdOrKey}/properties
333
- * @scopes-current read:jira-work
334
- * @scopes-beta read:issue.property:jira
335
- * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-properties#api-rest-api-3-issue-issueidorkey-properties-get
336
- */
337
- getIssuePropertyKeys({ issueIdOrKey, }) {
338
- return this.getClientInstance()
339
- .request({
340
- path: "/rest/api/3/issue/{issueIdOrKey}/properties",
341
- method: "GET",
342
- pathParams: {
343
- issueIdOrKey,
344
- },
345
- })
346
- .then(this.getClientInstance().responseHandler({
347
- 200: {
348
- "application/json": "json",
349
- },
350
- }))
351
- .then(commonHttpClient.castResponse())
352
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("IssuePropertiesService.getIssuePropertyKeys.response"))
353
- .then(commonHttpClient.getBody);
354
- }
355
- /**
356
- * Sets the value of an issue's property. Use this resource to store custom data
357
- * against an issue.
358
- *
359
- * The value of the request body must be a
360
- * [valid](http://tools.ietf.org/html/rfc4627), non-empty JSON blob. The maximum
361
- * length is 32768 characters.
362
- *
363
- * This operation can be accessed anonymously.
364
- *
365
- * **[Permissions](#permissions) required:**
366
- *
367
- * * *Browse projects* and *Edit issues* [project
368
- * permissions](https://confluence.atlassian.com/x/yodKLg) for the project
369
- * containing the issue.
370
- * * If [issue-level security](https://confluence.atlassian.com/x/J4lKLg) is
371
- * configured, issue-level security permission to view the issue.
372
- *
373
- * @returns * status: 200, mediaType: application/json
374
- *
375
- * Returned if the issue property is updated.
376
- *
377
- * * status: 201, mediaType: application/json
378
- *
379
- * Returned if the issue property is created.
380
- * @path {PUT} /rest/api/3/issue/{issueIdOrKey}/properties/{propertyKey}
381
- * @scopes-current write:jira-work
382
- * @scopes-beta write:issue.property:jira
383
- * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-properties#api-rest-api-3-issue-issueidorkey-properties-propertykey-put
384
- */
385
- setIssueProperty({ issueIdOrKey, propertyKey, requestBody, }) {
386
- return this.getClientInstance()
387
- .request({
388
- path: "/rest/api/3/issue/{issueIdOrKey}/properties/{propertyKey}",
389
- method: "PUT",
390
- pathParams: {
391
- issueIdOrKey,
392
- propertyKey,
393
- },
394
- headers: {
395
- "Content-Type": "application/json",
396
- },
397
- body: requestBody,
398
- })
399
- .then(this.getClientInstance().responseHandler({
400
- 200: {
401
- "application/json": "json",
402
- },
403
- 201: {
404
- "application/json": "json",
405
- },
406
- }))
407
- .then(commonHttpClient.castResponse())
408
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("IssuePropertiesService.setIssueProperty.response"))
409
- .then(commonHttpClient.asCreatedResponse("body"));
23
+ constructor() {
24
+ super(...arguments);
25
+ /**
26
+ * Deletes a property value from multiple issues. The issues to be updated can be
27
+ * specified by filter criteria.
28
+ *
29
+ * The criteria the filter used to identify eligible issues are:
30
+ *
31
+ * * `entityIds` Only issues from this list are eligible.
32
+ * * `currentValue` Only issues with the property set to this value are eligible.
33
+ *
34
+ * If both criteria is specified, they are joined with the logical *AND*: only
35
+ * issues that satisfy both criteria are considered eligible.
36
+ *
37
+ * If no filter criteria are specified, all the issues visible to the user and
38
+ * where the user has the EDIT\_ISSUES permission for the issue are considered
39
+ * eligible.
40
+ *
41
+ * This operation is:
42
+ *
43
+ * * transactional, either the property is deleted from all eligible issues or,
44
+ * when errors occur, no properties are deleted.
45
+ * * [asynchronous](#async). Follow the `location` link in the response to
46
+ * determine the status of the task and use [Get
47
+ * task](#api-rest-api-3-task-taskId-get) to obtain subsequent updates.
48
+ *
49
+ * **[Permissions](#permissions) required:**
50
+ *
51
+ * * *Browse projects* [ project
52
+ * permission](https://confluence.atlassian.com/x/yodKLg) for each project
53
+ * containing issues.
54
+ * * If [issue-level security](https://confluence.atlassian.com/x/J4lKLg) is
55
+ * configured, issue-level security permission to view the issue.
56
+ * * *Edit issues* [project
57
+ * permission](https://confluence.atlassian.com/x/yodKLg) for each issue.
58
+ *
59
+ * @path {DELETE} /rest/api/3/issue/properties/{propertyKey}
60
+ * @scopes-current write:jira-work
61
+ * @scopes-beta delete:issue.property:jira
62
+ * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-properties#api-rest-api-3-issue-properties-propertykey-delete
63
+ */
64
+ this.bulkDeleteIssueProperty = ({ propertyKey, issueFilterForBulkPropertyDelete, }) => {
65
+ return this.getClientInstance()
66
+ .request({
67
+ path: "/rest/api/3/issue/properties/{propertyKey}",
68
+ method: "DELETE",
69
+ pathParams: {
70
+ propertyKey,
71
+ },
72
+ headers: {
73
+ "Content-Type": "application/json",
74
+ },
75
+ body: issueFilterForBulkPropertyDelete,
76
+ })
77
+ .then(commonHttpClient.discardResult);
78
+ };
79
+ /**
80
+ * Sets or updates entity property values on issues. Up to 10 entity properties
81
+ * can be specified for each issue and up to 100 issues included in the request.
82
+ *
83
+ * The value of the request body must be a
84
+ * [valid](http://tools.ietf.org/html/rfc4627), non-empty JSON.
85
+ *
86
+ * This operation is:
87
+ *
88
+ * * [asynchronous](#async). Follow the `location` link in the response to
89
+ * determine the status of the task and use [Get
90
+ * task](#api-rest-api-3-task-taskId-get) to obtain subsequent updates.
91
+ * * non-transactional. Updating some entities may fail. Such information will
92
+ * available in the task result.
93
+ *
94
+ * **[Permissions](#permissions) required:**
95
+ *
96
+ * * *Browse projects* and *Edit issues* [project
97
+ * permissions](https://confluence.atlassian.com/x/yodKLg) for the project
98
+ * containing the issue.
99
+ * * If [issue-level security](https://confluence.atlassian.com/x/J4lKLg) is
100
+ * configured, issue-level security permission to view the issue.
101
+ *
102
+ * @path {POST} /rest/api/3/issue/properties/multi
103
+ * @scopes-current write:jira-work
104
+ * @scopes-beta write:issue.property:jira
105
+ * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-properties#api-rest-api-3-issue-properties-multi-post
106
+ */
107
+ this.bulkSetIssuePropertiesByIssue = ({ multiIssueEntityProperties, }) => {
108
+ return this.getClientInstance()
109
+ .request({
110
+ path: "/rest/api/3/issue/properties/multi",
111
+ method: "POST",
112
+ headers: {
113
+ "Content-Type": "application/json",
114
+ },
115
+ body: multiIssueEntityProperties,
116
+ })
117
+ .then(commonHttpClient.discardResult);
118
+ };
119
+ /**
120
+ * Sets a property value on multiple issues.
121
+ *
122
+ * The value set can be a constant or determined by a [Jira
123
+ * expression](https://developer.atlassian.com/cloud/jira/platform/jira-expressions/).
124
+ * Expressions must be computable with constant complexity when applied to a set
125
+ * of issues. Expressions must also comply with the
126
+ * [restrictions](https://developer.atlassian.com/cloud/jira/platform/jira-expressions/#restrictions)
127
+ * that apply to all Jira expressions.
128
+ *
129
+ * The issues to be updated can be specified by a filter.
130
+ *
131
+ * The filter identifies issues eligible for update using these criteria:
132
+ *
133
+ * * `entityIds` Only issues from this list are eligible.
134
+ * * `currentValue` Only issues with the property set to this value are eligible.
135
+ * * `hasProperty`:
136
+ *
137
+ * * If *true*, only issues with the property are eligible.
138
+ * * If *false*, only issues without the property are eligible.
139
+ *
140
+ * If more than one criteria is specified, they are joined with the logical *AND*:
141
+ * only issues that satisfy all criteria are eligible.
142
+ *
143
+ * If an invalid combination of criteria is provided, an error is returned. For
144
+ * example, specifying a `currentValue` and `hasProperty` as *false* would not
145
+ * match any issues (because without the property the property cannot have a
146
+ * value).
147
+ *
148
+ * The filter is optional. Without the filter all the issues visible to the user
149
+ * and where the user has the EDIT\_ISSUES permission for the issue are considered
150
+ * eligible.
151
+ *
152
+ * This operation is:
153
+ *
154
+ * * transactional, either all eligible issues are updated or, when errors
155
+ * occur, none are updated.
156
+ * * [asynchronous](#async). Follow the `location` link in the response to
157
+ * determine the status of the task and use [Get
158
+ * task](#api-rest-api-3-task-taskId-get) to obtain subsequent updates.
159
+ *
160
+ * **[Permissions](#permissions) required:**
161
+ *
162
+ * * *Browse projects* [project
163
+ * permission](https://confluence.atlassian.com/x/yodKLg) for each project
164
+ * containing issues.
165
+ * * If [issue-level security](https://confluence.atlassian.com/x/J4lKLg) is
166
+ * configured, issue-level security permission to view the issue.
167
+ * * *Edit issues* [project
168
+ * permission](https://confluence.atlassian.com/x/yodKLg) for each issue.
169
+ *
170
+ * @path {PUT} /rest/api/3/issue/properties/{propertyKey}
171
+ * @scopes-current write:jira-work
172
+ * @scopes-beta read:jira-expressions:jira, write:issue.property:jira
173
+ * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-properties#api-rest-api-3-issue-properties-propertykey-put
174
+ */
175
+ this.bulkSetIssueProperty = ({ propertyKey, bulkIssuePropertyUpdateRequest, }) => {
176
+ return this.getClientInstance()
177
+ .request({
178
+ path: "/rest/api/3/issue/properties/{propertyKey}",
179
+ method: "PUT",
180
+ pathParams: {
181
+ propertyKey,
182
+ },
183
+ headers: {
184
+ "Content-Type": "application/json",
185
+ },
186
+ body: bulkIssuePropertyUpdateRequest,
187
+ })
188
+ .then(commonHttpClient.discardResult);
189
+ };
190
+ /**
191
+ * Sets or updates a list of entity property values on issues. A list of up to 10
192
+ * entity properties can be specified along with up to 10,000 issues on which to
193
+ * set or update that list of entity properties.
194
+ *
195
+ * The value of the request body must be a
196
+ * [valid](http://tools.ietf.org/html/rfc4627), non-empty JSON. The maximum length
197
+ * of single issue property value is 32768 characters. This operation can be
198
+ * accessed anonymously.
199
+ *
200
+ * This operation is:
201
+ *
202
+ * * transactional, either all properties are updated in all eligible issues or,
203
+ * when errors occur, no properties are updated.
204
+ * * [asynchronous](#async). Follow the `location` link in the response to
205
+ * determine the status of the task and use [Get
206
+ * task](#api-rest-api-3-task-taskId-get) to obtain subsequent updates.
207
+ *
208
+ * **[Permissions](#permissions) required:**
209
+ *
210
+ * * *Browse projects* and *Edit issues* [project
211
+ * permissions](https://confluence.atlassian.com/x/yodKLg) for the project
212
+ * containing the issue.
213
+ * * If [issue-level security](https://confluence.atlassian.com/x/J4lKLg) is
214
+ * configured, issue-level security permission to view the issue.
215
+ *
216
+ * @path {POST} /rest/api/3/issue/properties
217
+ * @scopes-current write:jira-work
218
+ * @scopes-beta write:issue.property:jira
219
+ * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-properties#api-rest-api-3-issue-properties-post
220
+ */
221
+ this.bulkSetIssuesPropertiesList = ({ issueEntityProperties, }) => {
222
+ return this.getClientInstance()
223
+ .request({
224
+ path: "/rest/api/3/issue/properties",
225
+ method: "POST",
226
+ headers: {
227
+ "Content-Type": "application/json",
228
+ },
229
+ body: issueEntityProperties,
230
+ })
231
+ .then(commonHttpClient.discardResult);
232
+ };
233
+ /**
234
+ * Deletes an issue's property.
235
+ *
236
+ * This operation can be accessed anonymously.
237
+ *
238
+ * **[Permissions](#permissions) required:**
239
+ *
240
+ * * *Browse projects* and *Edit issues* [project
241
+ * permissions](https://confluence.atlassian.com/x/yodKLg) for the project
242
+ * containing the issue.
243
+ * * If [issue-level security](https://confluence.atlassian.com/x/J4lKLg) is
244
+ * configured, issue-level security permission to view the issue.
245
+ *
246
+ * @path {DELETE} /rest/api/3/issue/{issueIdOrKey}/properties/{propertyKey}
247
+ * @scopes-current write:jira-work
248
+ * @scopes-beta delete:issue.property:jira
249
+ * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-properties#api-rest-api-3-issue-issueidorkey-properties-propertykey-delete
250
+ */
251
+ this.deleteIssueProperty = ({ issueIdOrKey, propertyKey, }) => {
252
+ return this.getClientInstance()
253
+ .request({
254
+ path: "/rest/api/3/issue/{issueIdOrKey}/properties/{propertyKey}",
255
+ method: "DELETE",
256
+ pathParams: {
257
+ issueIdOrKey,
258
+ propertyKey,
259
+ },
260
+ })
261
+ .then(commonHttpClient.discardResult);
262
+ };
263
+ /**
264
+ * Returns the key and value of an issue's property.
265
+ *
266
+ * This operation can be accessed anonymously.
267
+ *
268
+ * **[Permissions](#permissions) required:**
269
+ *
270
+ * * *Browse projects* [project
271
+ * permission](https://confluence.atlassian.com/x/yodKLg) for the project
272
+ * containing the issue.
273
+ * * If [issue-level security](https://confluence.atlassian.com/x/J4lKLg) is
274
+ * configured, issue-level security permission to view the issue.
275
+ *
276
+ * @returns Returned if the request is successful.
277
+ *
278
+ * example: {
279
+ * "key": "issue.support",
280
+ * "value": {
281
+ * "system.conversation.id": "b1bf38be-5e94-4b40-a3b8-9278735ee1e6",
282
+ * "system.support.time": "1m"
283
+ * }
284
+ * }
285
+ * @path {GET} /rest/api/3/issue/{issueIdOrKey}/properties/{propertyKey}
286
+ * @scopes-current read:jira-work
287
+ * @scopes-beta read:issue.property:jira
288
+ * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-properties#api-rest-api-3-issue-issueidorkey-properties-propertykey-get
289
+ */
290
+ this.getIssueProperty = ({ issueIdOrKey, propertyKey, }) => {
291
+ return this.getClientInstance()
292
+ .request({
293
+ path: "/rest/api/3/issue/{issueIdOrKey}/properties/{propertyKey}",
294
+ method: "GET",
295
+ pathParams: {
296
+ issueIdOrKey,
297
+ propertyKey,
298
+ },
299
+ })
300
+ .then(this.getClientInstance().responseHandler({
301
+ 200: {
302
+ "application/json": "json",
303
+ },
304
+ }))
305
+ .then(commonHttpClient.castResponse())
306
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("IssuePropertiesService.getIssueProperty.response"))
307
+ .then(commonHttpClient.getBody);
308
+ };
309
+ /**
310
+ * Returns the URLs and keys of an issue's properties.
311
+ *
312
+ * This operation can be accessed anonymously.
313
+ *
314
+ * **[Permissions](#permissions) required:** Property details are only returned
315
+ * where the user has:
316
+ *
317
+ * * *Browse projects* [project
318
+ * permission](https://confluence.atlassian.com/x/yodKLg) for the project
319
+ * containing the issue.
320
+ * * If [issue-level security](https://confluence.atlassian.com/x/J4lKLg) is
321
+ * configured, issue-level security permission to view the issue.
322
+ *
323
+ * @returns Returned if the request is successful.
324
+ *
325
+ * example: {
326
+ * "keys": [
327
+ * {
328
+ * "key": "issue.support",
329
+ * "self":
330
+ * "https://your-domain.atlassian.net/rest/api/3/issue/EX-2/properties/issue.support"
331
+ * }
332
+ * ]
333
+ * }
334
+ * @path {GET} /rest/api/3/issue/{issueIdOrKey}/properties
335
+ * @scopes-current read:jira-work
336
+ * @scopes-beta read:issue.property:jira
337
+ * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-properties#api-rest-api-3-issue-issueidorkey-properties-get
338
+ */
339
+ this.getIssuePropertyKeys = ({ issueIdOrKey, }) => {
340
+ return this.getClientInstance()
341
+ .request({
342
+ path: "/rest/api/3/issue/{issueIdOrKey}/properties",
343
+ method: "GET",
344
+ pathParams: {
345
+ issueIdOrKey,
346
+ },
347
+ })
348
+ .then(this.getClientInstance().responseHandler({
349
+ 200: {
350
+ "application/json": "json",
351
+ },
352
+ }))
353
+ .then(commonHttpClient.castResponse())
354
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("IssuePropertiesService.getIssuePropertyKeys.response"))
355
+ .then(commonHttpClient.getBody);
356
+ };
357
+ /**
358
+ * Sets the value of an issue's property. Use this resource to store custom data
359
+ * against an issue.
360
+ *
361
+ * The value of the request body must be a
362
+ * [valid](http://tools.ietf.org/html/rfc4627), non-empty JSON blob. The maximum
363
+ * length is 32768 characters.
364
+ *
365
+ * This operation can be accessed anonymously.
366
+ *
367
+ * **[Permissions](#permissions) required:**
368
+ *
369
+ * * *Browse projects* and *Edit issues* [project
370
+ * permissions](https://confluence.atlassian.com/x/yodKLg) for the project
371
+ * containing the issue.
372
+ * * If [issue-level security](https://confluence.atlassian.com/x/J4lKLg) is
373
+ * configured, issue-level security permission to view the issue.
374
+ *
375
+ * @returns * status: 200, mediaType: application/json
376
+ *
377
+ * Returned if the issue property is updated.
378
+ *
379
+ * * status: 201, mediaType: application/json
380
+ *
381
+ * Returned if the issue property is created.
382
+ * @path {PUT} /rest/api/3/issue/{issueIdOrKey}/properties/{propertyKey}
383
+ * @scopes-current write:jira-work
384
+ * @scopes-beta write:issue.property:jira
385
+ * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-properties#api-rest-api-3-issue-issueidorkey-properties-propertykey-put
386
+ */
387
+ this.setIssueProperty = ({ issueIdOrKey, propertyKey, requestBody, }) => {
388
+ return this.getClientInstance()
389
+ .request({
390
+ path: "/rest/api/3/issue/{issueIdOrKey}/properties/{propertyKey}",
391
+ method: "PUT",
392
+ pathParams: {
393
+ issueIdOrKey,
394
+ propertyKey,
395
+ },
396
+ headers: {
397
+ "Content-Type": "application/json",
398
+ },
399
+ body: requestBody,
400
+ })
401
+ .then(this.getClientInstance().responseHandler({
402
+ 200: {
403
+ "application/json": "json",
404
+ },
405
+ 201: {
406
+ "application/json": "json",
407
+ },
408
+ }))
409
+ .then(commonHttpClient.castResponse())
410
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("IssuePropertiesService.setIssueProperty.response"))
411
+ .then(commonHttpClient.asCreatedResponse("body"));
412
+ };
410
413
  }
411
414
  static initialize() {
412
415
  validationSchemaStorage_1.validationSchemaStorage.registerExtensible("IssuePropertiesService.getIssuePropertyKeys.response", zod_1.z