@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
@@ -1 +1 @@
1
- {"version":3,"file":"PermissionSchemesService.js","sourceRoot":"","sources":["../../../../src/openapi/platform/services/PermissionSchemesService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,6CAG0B;AAC1B,mEAKqC;AACrC,wEAAqE;AACrE;;;;;;GAMG;AACH,MAAa,wBAAyB,SAAQ,qCAAiB;IAC7D;;;;;;;;;;;;;;;;;;;;;;;;;;OA0BG;IACH,qBAAqB,CAAC,EACpB,QAAQ,EACR,MAAM,EACN,eAAe,GA+BhB;QACC,OAAO,IAAI,CAAC,iBAAiB,EAAE;aAC5B,OAAO,CAAC;YACP,IAAI,EAAE,oDAAoD;YAC1D,MAAM,EAAE,MAAM;YACd,UAAU,EAAE;gBACV,QAAQ;aACT;YACD,KAAK,EAAE;gBACL,MAAM;aACP;YACD,OAAO,EAAE;gBACP,cAAc,EAAE,kBAAkB;aACnC;YACD,IAAI,EAAE,eAAe;SACtB,CAAC;aACD,IAAI,CACH,IAAI,CAAC,iBAAiB,EAAE,CAAC,eAAe,CAAC;YACvC,G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E,MAAM,CAAC;YACN,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,iBAAiB,CAAC;SACtD,CAAC;aACD,QAAQ,CAAC,yDAAyD,CAAC,CACvE,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,4DAA4D,EAC5D,OAAC;aACE,MAAM,CAAC;YACN,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,iBAAiB,CAAC;SACtD,CAAC;aACD,QAAQ,CAAC,4DAA4D,CAAC,CAC1E,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC;YACnC,8DAA0C;YAC1C,wCAA+B;SAChC,CAAC,CAAC;IACL,CAAC;CACF;AA/4BD,4DA+4BC"}
1
+ {"version":3,"file":"PermissionSchemesService.js","sourceRoot":"","sources":["../../../../src/openapi/platform/services/PermissionSchemesService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,6CAG0B;AAC1B,mEAKqC;AACrC,wEAAqE;AACrE;;;;;;GAMG;AACH,MAAa,wBAAyB,SAAQ,qCAAiB;IAA/D;;QACE;;;;;;;;;;;;;;;;;;;;;;;;;;WA0BG;QACH,0BAAqB,GAAG,CAAC,EACvB,QAAQ,EACR,MAAM,EACN,eAAe,GA+BhB,EAA4B,EAAE;YAC7B,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,oDAAoD;gBAC1D,MAAM,EAAE,MAAM;gBACd,UAAU,EAAE;oBACV,QAAQ;iBACT;gBACD,KAAK,EAA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
36
36
  * @scopes-beta read:permission:jira
37
37
  * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-permissions#api-rest-api-3-permissions-get
38
38
  */
39
- getAllPermissions(): Promise<Permissions>;
39
+ getAllPermissions: () => Promise<Permissions>;
40
40
  /**
41
41
  * Returns:
42
42
  *
@@ -96,7 +96,7 @@ export declare class PermissionsService extends CommonHttpService {
96
96
  * @scopes-beta read:permission:jira
97
97
  * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-permissions#api-rest-api-3-permissions-check-post
98
98
  */
99
- getBulkPermissions({ bulkPermissionsRequestBean, }: {
99
+ getBulkPermissions: ({ bulkPermissionsRequestBean, }: {
100
100
  /**
101
101
  * Details of the permissions to check.
102
102
  *
@@ -125,7 +125,7 @@ export declare class PermissionsService extends CommonHttpService {
125
125
  * }
126
126
  */
127
127
  bulkPermissionsRequestBean: BulkPermissionsRequestBean;
128
- }): Promise<BulkPermissionGrants>;
128
+ }) => Promise<BulkPermissionGrants>;
129
129
  /**
130
130
  * Returns a list of permissions indicating which permissions the user has.
131
131
  * Details of the user's permissions can be obtained in a global, project, issue
@@ -179,26 +179,26 @@ export declare class PermissionsService extends CommonHttpService {
179
179
  * @scopes-beta read:permission:jira
180
180
  * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-permissions#api-rest-api-3-mypermissions-get
181
181
  */
182
- getMyPermissions({ projectKey, projectId, issueKey, issueId, permissions, projectUuid, projectConfigurationUuid, commentId, }?: {
182
+ getMyPermissions: ({ projectKey, projectId, issueKey, issueId, permissions, projectUuid, projectConfigurationUuid, commentId, }?: {
183
183
  /** The key of project. Ignored if `projectId` is provided. */
184
- projectKey?: string;
184
+ projectKey?: string | undefined;
185
185
  /** The ID of project. */
186
- projectId?: string;
186
+ projectId?: string | undefined;
187
187
  /** The key of the issue. Ignored if `issueId` is provided. */
188
- issueKey?: string;
188
+ issueKey?: string | undefined;
189
189
  /** The ID of the issue. */
190
- issueId?: string;
190
+ issueId?: string | undefined;
191
191
  /**
192
192
  * A list of permission keys. (Required) This parameter accepts a comma-separated
193
193
  * list. To get the list of available permissions, use [Get all
194
194
  * permissions](#api-rest-api-3-permissions-get).
195
195
  */
196
- permissions?: string;
197
- projectUuid?: string;
198
- projectConfigurationUuid?: string;
196
+ permissions?: string | undefined;
197
+ projectUuid?: string | undefined;
198
+ projectConfigurationUuid?: string | undefined;
199
199
  /** The ID of the comment. */
200
- commentId?: string;
201
- }): Promise<Permissions>;
200
+ commentId?: string | undefined;
201
+ }) => Promise<Permissions>;
202
202
  /**
203
203
  * Returns all the projects where the user is granted a list of project
204
204
  * permissions.
@@ -213,8 +213,8 @@ export declare class PermissionsService extends CommonHttpService {
213
213
  * @scopes-beta read:permission:jira, read:project:jira
214
214
  * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-permissions#api-rest-api-3-permissions-project-post
215
215
  */
216
- getPermittedProjects({ permissionsKeysBean, }: {
216
+ getPermittedProjects: ({ permissionsKeysBean, }: {
217
217
  permissionsKeysBean: PermissionsKeysBean;
218
- }): Promise<PermittedProjects>;
218
+ }) => Promise<PermittedProjects>;
219
219
  static initialize(): void;
220
220
  }
@@ -16,238 +16,241 @@ const validationSchemaStorage_1 = require("../validationSchemaStorage");
16
16
  * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-permissions
17
17
  */
18
18
  class PermissionsService extends CommonHttpService_1.CommonHttpService {
19
- /**
20
- * Returns all permissions, including:
21
- *
22
- * * global permissions.
23
- * * project permissions.
24
- * * global permissions added by plugins.
25
- *
26
- * This operation can be accessed anonymously.
27
- *
28
- * **[Permissions](#permissions) required:** None.
29
- *
30
- * @returns Returned if the request is successful.
31
- *
32
- * example: {
33
- * "permissions": {
34
- * "BULK_CHANGE": {
35
- * "description": "Ability to modify a collection of issues at once. For
36
- * example, resolve multiple issues in one step.",
37
- * "key": "BULK_CHANGE",
38
- * "name": "Bulk Change",
39
- * "type": "GLOBAL"
40
- * }
41
- * }
42
- * }
43
- * @path {GET} /rest/api/3/permissions
44
- * @scopes-current manage:jira-configuration
45
- * @scopes-beta read:permission:jira
46
- * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-permissions#api-rest-api-3-permissions-get
47
- */
48
- getAllPermissions() {
49
- return this.getClientInstance()
50
- .request({
51
- path: "/rest/api/3/permissions",
52
- method: "GET",
53
- })
54
- .then(this.getClientInstance().responseHandler({
55
- 200: {
56
- "application/json": "json",
57
- },
58
- }))
59
- .then(commonHttpClient.castResponse())
60
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("PermissionsService.getAllPermissions.response"))
61
- .then(commonHttpClient.getBody);
62
- }
63
- /**
64
- * Returns:
65
- *
66
- * * for a list of global permissions, the global permissions granted to a user.
67
- * * for a list of project permissions and lists of projects and issues, for
68
- * each project permission a list of the projects and issues a user can access or
69
- * manipulate.
70
- *
71
- * If no account ID is provided, the operation returns details for the logged in
72
- * user.
73
- *
74
- * Note that:
75
- *
76
- * * Invalid project and issue IDs are ignored.
77
- * * A maximum of 1000 projects and 1000 issues can be checked.
78
- * * Null values in `globalPermissions`, `projectPermissions`,
79
- * `projectPermissions.projects`, and `projectPermissions.issues` are ignored.
80
- * * Empty strings in `projectPermissions.permissions` are ignored.
81
- *
82
- * **Deprecation notice:** The required OAuth 2.0 scopes will be updated on June
83
- * 15, 2024.
84
- *
85
- * * **Classic**: `read:jira-work`
86
- * * **Granular**: `read:permission:jira`
87
- *
88
- * This operation can be accessed anonymously.
89
- *
90
- * **[Permissions](#permissions) required:** *Administer Jira* [global
91
- * permission](https://confluence.atlassian.com/x/x4dKLg) to check the permissions
92
- * for other users, otherwise none. However, Connect apps can make a call from the
93
- * app server to the product to obtain permission details for any user, without
94
- * admin permission. This Connect app ability doesn't apply to calls made using
95
- * AP.request() in a browser.
96
- *
97
- * @returns Returned if the request is successful.
98
- *
99
- * example: {
100
- * "globalPermissions": [
101
- * "ADMINISTER"
102
- * ],
103
- * "projectPermissions": [
104
- * {
105
- * "issues": [
106
- * 10010,
107
- * 10013,
108
- * 10014
109
- * ],
110
- * "permission": "EDIT_ISSUES",
111
- * "projects": [
112
- * 10001
113
- * ]
114
- * }
115
- * ]
116
- * }
117
- * @path {POST} /rest/api/3/permissions/check
118
- * @scopes-current
119
- * @scopes-beta read:permission:jira
120
- * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-permissions#api-rest-api-3-permissions-check-post
121
- */
122
- getBulkPermissions({ bulkPermissionsRequestBean, }) {
123
- return this.getClientInstance()
124
- .request({
125
- path: "/rest/api/3/permissions/check",
126
- method: "POST",
127
- headers: {
128
- "Content-Type": "application/json",
129
- },
130
- body: bulkPermissionsRequestBean,
131
- })
132
- .then(this.getClientInstance().responseHandler({
133
- 200: {
134
- "application/json": "json",
135
- },
136
- }))
137
- .then(commonHttpClient.castResponse())
138
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("PermissionsService.getBulkPermissions.response"))
139
- .then(commonHttpClient.getBody);
140
- }
141
- /**
142
- * Returns a list of permissions indicating which permissions the user has.
143
- * Details of the user's permissions can be obtained in a global, project, issue
144
- * or comment context.
145
- *
146
- * The user is reported as having a project permission:
147
- *
148
- * * in the global context, if the user has the project permission in any
149
- * project.
150
- * * for a project, where the project permission is determined using issue data,
151
- * if the user meets the permission's criteria for any issue in the project.
152
- * Otherwise, if the user has the project permission in the project.
153
- * * for an issue, where a project permission is determined using issue data, if
154
- * the user has the permission in the issue. Otherwise, if the user has the
155
- * project permission in the project containing the issue.
156
- * * for a comment, where the user has both the permission to browse the comment
157
- * and the project permission for the comment's parent issue. Only the
158
- * BROWSE\_PROJECTS permission is supported. If a `commentId` is provided whose
159
- * `permissions` does not equal BROWSE\_PROJECTS, a 400 error will be returned.
160
- *
161
- * This means that users may be shown as having an issue permission (such as
162
- * EDIT\_ISSUES) in the global context or a project context but may not have the
163
- * permission for any or all issues. For example, if Reporters have the
164
- * EDIT\_ISSUES permission a user would be shown as having this permission in the
165
- * global context or the context of a project, because any user can be a reporter.
166
- * However, if they are not the user who reported the issue queried they would not
167
- * have EDIT\_ISSUES permission for that issue.
168
- *
169
- * Global permissions are unaffected by context.
170
- *
171
- * This operation can be accessed anonymously.
172
- *
173
- * **[Permissions](#permissions) required:** None.
174
- *
175
- * @returns Returned if the request is successful.
176
- *
177
- * example: {
178
- * "permissions": {
179
- * "EDIT_ISSUES": {
180
- * "description": "Ability to edit issues.",
181
- * "havePermission": true,
182
- * "id": "12",
183
- * "key": "EDIT_ISSUES",
184
- * "name": "Edit Issues",
185
- * "type": "PROJECT"
186
- * }
187
- * }
188
- * }
189
- * @path {GET} /rest/api/3/mypermissions
190
- * @scopes-current read:jira-work
191
- * @scopes-beta read:permission:jira
192
- * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-permissions#api-rest-api-3-mypermissions-get
193
- */
194
- getMyPermissions({ projectKey, projectId, issueKey, issueId, permissions, projectUuid, projectConfigurationUuid, commentId, } = {}) {
195
- return this.getClientInstance()
196
- .request({
197
- path: "/rest/api/3/mypermissions",
198
- method: "GET",
199
- query: {
200
- projectKey,
201
- projectId,
202
- issueKey,
203
- issueId,
204
- permissions,
205
- projectUuid,
206
- projectConfigurationUuid,
207
- commentId,
208
- },
209
- })
210
- .then(this.getClientInstance().responseHandler({
211
- 200: {
212
- "application/json": "json",
213
- },
214
- }))
215
- .then(commonHttpClient.castResponse())
216
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("PermissionsService.getMyPermissions.response"))
217
- .then(commonHttpClient.getBody);
218
- }
219
- /**
220
- * Returns all the projects where the user is granted a list of project
221
- * permissions.
222
- *
223
- * This operation can be accessed anonymously.
224
- *
225
- * **[Permissions](#permissions) required:** None.
226
- *
227
- * @returns Returned if the request is successful.
228
- * @path {POST} /rest/api/3/permissions/project
229
- * @scopes-current read:jira-work
230
- * @scopes-beta read:permission:jira, read:project:jira
231
- * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-permissions#api-rest-api-3-permissions-project-post
232
- */
233
- getPermittedProjects({ permissionsKeysBean, }) {
234
- return this.getClientInstance()
235
- .request({
236
- path: "/rest/api/3/permissions/project",
237
- method: "POST",
238
- headers: {
239
- "Content-Type": "application/json",
240
- },
241
- body: permissionsKeysBean,
242
- })
243
- .then(this.getClientInstance().responseHandler({
244
- 200: {
245
- "application/json": "json",
246
- },
247
- }))
248
- .then(commonHttpClient.castResponse())
249
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("PermissionsService.getPermittedProjects.response"))
250
- .then(commonHttpClient.getBody);
19
+ constructor() {
20
+ super(...arguments);
21
+ /**
22
+ * Returns all permissions, including:
23
+ *
24
+ * * global permissions.
25
+ * * project permissions.
26
+ * * global permissions added by plugins.
27
+ *
28
+ * This operation can be accessed anonymously.
29
+ *
30
+ * **[Permissions](#permissions) required:** None.
31
+ *
32
+ * @returns Returned if the request is successful.
33
+ *
34
+ * example: {
35
+ * "permissions": {
36
+ * "BULK_CHANGE": {
37
+ * "description": "Ability to modify a collection of issues at once. For
38
+ * example, resolve multiple issues in one step.",
39
+ * "key": "BULK_CHANGE",
40
+ * "name": "Bulk Change",
41
+ * "type": "GLOBAL"
42
+ * }
43
+ * }
44
+ * }
45
+ * @path {GET} /rest/api/3/permissions
46
+ * @scopes-current manage:jira-configuration
47
+ * @scopes-beta read:permission:jira
48
+ * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-permissions#api-rest-api-3-permissions-get
49
+ */
50
+ this.getAllPermissions = () => {
51
+ return this.getClientInstance()
52
+ .request({
53
+ path: "/rest/api/3/permissions",
54
+ method: "GET",
55
+ })
56
+ .then(this.getClientInstance().responseHandler({
57
+ 200: {
58
+ "application/json": "json",
59
+ },
60
+ }))
61
+ .then(commonHttpClient.castResponse())
62
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("PermissionsService.getAllPermissions.response"))
63
+ .then(commonHttpClient.getBody);
64
+ };
65
+ /**
66
+ * Returns:
67
+ *
68
+ * * for a list of global permissions, the global permissions granted to a user.
69
+ * * for a list of project permissions and lists of projects and issues, for
70
+ * each project permission a list of the projects and issues a user can access or
71
+ * manipulate.
72
+ *
73
+ * If no account ID is provided, the operation returns details for the logged in
74
+ * user.
75
+ *
76
+ * Note that:
77
+ *
78
+ * * Invalid project and issue IDs are ignored.
79
+ * * A maximum of 1000 projects and 1000 issues can be checked.
80
+ * * Null values in `globalPermissions`, `projectPermissions`,
81
+ * `projectPermissions.projects`, and `projectPermissions.issues` are ignored.
82
+ * * Empty strings in `projectPermissions.permissions` are ignored.
83
+ *
84
+ * **Deprecation notice:** The required OAuth 2.0 scopes will be updated on June
85
+ * 15, 2024.
86
+ *
87
+ * * **Classic**: `read:jira-work`
88
+ * * **Granular**: `read:permission:jira`
89
+ *
90
+ * This operation can be accessed anonymously.
91
+ *
92
+ * **[Permissions](#permissions) required:** *Administer Jira* [global
93
+ * permission](https://confluence.atlassian.com/x/x4dKLg) to check the permissions
94
+ * for other users, otherwise none. However, Connect apps can make a call from the
95
+ * app server to the product to obtain permission details for any user, without
96
+ * admin permission. This Connect app ability doesn't apply to calls made using
97
+ * AP.request() in a browser.
98
+ *
99
+ * @returns Returned if the request is successful.
100
+ *
101
+ * example: {
102
+ * "globalPermissions": [
103
+ * "ADMINISTER"
104
+ * ],
105
+ * "projectPermissions": [
106
+ * {
107
+ * "issues": [
108
+ * 10010,
109
+ * 10013,
110
+ * 10014
111
+ * ],
112
+ * "permission": "EDIT_ISSUES",
113
+ * "projects": [
114
+ * 10001
115
+ * ]
116
+ * }
117
+ * ]
118
+ * }
119
+ * @path {POST} /rest/api/3/permissions/check
120
+ * @scopes-current
121
+ * @scopes-beta read:permission:jira
122
+ * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-permissions#api-rest-api-3-permissions-check-post
123
+ */
124
+ this.getBulkPermissions = ({ bulkPermissionsRequestBean, }) => {
125
+ return this.getClientInstance()
126
+ .request({
127
+ path: "/rest/api/3/permissions/check",
128
+ method: "POST",
129
+ headers: {
130
+ "Content-Type": "application/json",
131
+ },
132
+ body: bulkPermissionsRequestBean,
133
+ })
134
+ .then(this.getClientInstance().responseHandler({
135
+ 200: {
136
+ "application/json": "json",
137
+ },
138
+ }))
139
+ .then(commonHttpClient.castResponse())
140
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("PermissionsService.getBulkPermissions.response"))
141
+ .then(commonHttpClient.getBody);
142
+ };
143
+ /**
144
+ * Returns a list of permissions indicating which permissions the user has.
145
+ * Details of the user's permissions can be obtained in a global, project, issue
146
+ * or comment context.
147
+ *
148
+ * The user is reported as having a project permission:
149
+ *
150
+ * * in the global context, if the user has the project permission in any
151
+ * project.
152
+ * * for a project, where the project permission is determined using issue data,
153
+ * if the user meets the permission's criteria for any issue in the project.
154
+ * Otherwise, if the user has the project permission in the project.
155
+ * * for an issue, where a project permission is determined using issue data, if
156
+ * the user has the permission in the issue. Otherwise, if the user has the
157
+ * project permission in the project containing the issue.
158
+ * * for a comment, where the user has both the permission to browse the comment
159
+ * and the project permission for the comment's parent issue. Only the
160
+ * BROWSE\_PROJECTS permission is supported. If a `commentId` is provided whose
161
+ * `permissions` does not equal BROWSE\_PROJECTS, a 400 error will be returned.
162
+ *
163
+ * This means that users may be shown as having an issue permission (such as
164
+ * EDIT\_ISSUES) in the global context or a project context but may not have the
165
+ * permission for any or all issues. For example, if Reporters have the
166
+ * EDIT\_ISSUES permission a user would be shown as having this permission in the
167
+ * global context or the context of a project, because any user can be a reporter.
168
+ * However, if they are not the user who reported the issue queried they would not
169
+ * have EDIT\_ISSUES permission for that issue.
170
+ *
171
+ * Global permissions are unaffected by context.
172
+ *
173
+ * This operation can be accessed anonymously.
174
+ *
175
+ * **[Permissions](#permissions) required:** None.
176
+ *
177
+ * @returns Returned if the request is successful.
178
+ *
179
+ * example: {
180
+ * "permissions": {
181
+ * "EDIT_ISSUES": {
182
+ * "description": "Ability to edit issues.",
183
+ * "havePermission": true,
184
+ * "id": "12",
185
+ * "key": "EDIT_ISSUES",
186
+ * "name": "Edit Issues",
187
+ * "type": "PROJECT"
188
+ * }
189
+ * }
190
+ * }
191
+ * @path {GET} /rest/api/3/mypermissions
192
+ * @scopes-current read:jira-work
193
+ * @scopes-beta read:permission:jira
194
+ * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-permissions#api-rest-api-3-mypermissions-get
195
+ */
196
+ this.getMyPermissions = ({ projectKey, projectId, issueKey, issueId, permissions, projectUuid, projectConfigurationUuid, commentId, } = {}) => {
197
+ return this.getClientInstance()
198
+ .request({
199
+ path: "/rest/api/3/mypermissions",
200
+ method: "GET",
201
+ query: {
202
+ projectKey,
203
+ projectId,
204
+ issueKey,
205
+ issueId,
206
+ permissions,
207
+ projectUuid,
208
+ projectConfigurationUuid,
209
+ commentId,
210
+ },
211
+ })
212
+ .then(this.getClientInstance().responseHandler({
213
+ 200: {
214
+ "application/json": "json",
215
+ },
216
+ }))
217
+ .then(commonHttpClient.castResponse())
218
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("PermissionsService.getMyPermissions.response"))
219
+ .then(commonHttpClient.getBody);
220
+ };
221
+ /**
222
+ * Returns all the projects where the user is granted a list of project
223
+ * permissions.
224
+ *
225
+ * This operation can be accessed anonymously.
226
+ *
227
+ * **[Permissions](#permissions) required:** None.
228
+ *
229
+ * @returns Returned if the request is successful.
230
+ * @path {POST} /rest/api/3/permissions/project
231
+ * @scopes-current read:jira-work
232
+ * @scopes-beta read:permission:jira, read:project:jira
233
+ * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-permissions#api-rest-api-3-permissions-project-post
234
+ */
235
+ this.getPermittedProjects = ({ permissionsKeysBean, }) => {
236
+ return this.getClientInstance()
237
+ .request({
238
+ path: "/rest/api/3/permissions/project",
239
+ method: "POST",
240
+ headers: {
241
+ "Content-Type": "application/json",
242
+ },
243
+ body: permissionsKeysBean,
244
+ })
245
+ .then(this.getClientInstance().responseHandler({
246
+ 200: {
247
+ "application/json": "json",
248
+ },
249
+ }))
250
+ .then(commonHttpClient.castResponse())
251
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("PermissionsService.getPermittedProjects.response"))
252
+ .then(commonHttpClient.getBody);
253
+ };
251
254
  }
252
255
  static initialize() {
253
256
  validationSchemaStorage_1.validationSchemaStorage.registerExtensible("PermissionsService.getMyPermissions.response", zod_1.z