@resolution/jira-api-client 0.4.4 → 0.4.5

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