@resolution/jira-api-client 0.5.2 → 0.5.4

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 (515) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/README.md +51 -19
  3. package/lib/openapi/{platform/core → core}/CommonHttpClient.d.ts +54 -3
  4. package/lib/openapi/{serviceManagement/core → core}/CommonHttpClient.js +14 -0
  5. package/lib/openapi/core/CommonHttpClient.js.map +1 -0
  6. package/lib/openapi/{software/core → core}/CommonHttpService.d.ts +17 -0
  7. package/lib/openapi/{platform/core → core}/CommonHttpService.js +11 -0
  8. package/lib/openapi/core/CommonHttpService.js.map +1 -0
  9. package/lib/openapi/core/CommonValidationSchemaStorage.js.map +1 -0
  10. package/lib/openapi/platform/BaseJiraPlatformApiClient.d.ts +5 -5
  11. package/lib/openapi/platform/BaseJiraPlatformApiClient.js +3 -3
  12. package/lib/openapi/platform/BaseJiraPlatformApiClient.js.map +1 -1
  13. package/lib/openapi/platform/models/announcementBanner.d.ts +1 -1
  14. package/lib/openapi/platform/models/appDataPolicies.d.ts +1 -1
  15. package/lib/openapi/platform/models/appMigration.d.ts +13 -7
  16. package/lib/openapi/platform/models/appMigration.js.map +1 -1
  17. package/lib/openapi/platform/models/appProperties.d.ts +3 -2
  18. package/lib/openapi/platform/models/appProperties.js.map +1 -1
  19. package/lib/openapi/platform/models/auditRecords.d.ts +1 -1
  20. package/lib/openapi/platform/models/avatars.d.ts +1 -1
  21. package/lib/openapi/platform/models/classificationLevels.d.ts +1 -1
  22. package/lib/openapi/platform/models/common.d.ts +3 -5
  23. package/lib/openapi/platform/models/common.js.map +1 -1
  24. package/lib/openapi/platform/models/dashboards.d.ts +2 -3
  25. package/lib/openapi/platform/models/dashboards.js.map +1 -1
  26. package/lib/openapi/platform/models/dynamicModules.d.ts +5 -3
  27. package/lib/openapi/platform/models/dynamicModules.js.map +1 -1
  28. package/lib/openapi/platform/models/filterSharing.d.ts +1 -1
  29. package/lib/openapi/platform/models/filters.d.ts +1 -1
  30. package/lib/openapi/platform/models/groupAndUserPicker.d.ts +1 -1
  31. package/lib/openapi/platform/models/groups.d.ts +1 -1
  32. package/lib/openapi/platform/models/issueAttachments.d.ts +1 -1
  33. package/lib/openapi/platform/models/issueBulkOperations.d.ts +2 -3
  34. package/lib/openapi/platform/models/issueBulkOperations.js.map +1 -1
  35. package/lib/openapi/platform/models/issueCommentProperties.d.ts +1 -1
  36. package/lib/openapi/platform/models/issueComments.d.ts +1 -1
  37. package/lib/openapi/platform/models/issueCustomFieldConfigurationApps.d.ts +1 -1
  38. package/lib/openapi/platform/models/issueCustomFieldContexts.d.ts +1 -1
  39. package/lib/openapi/platform/models/issueCustomFieldOptions.d.ts +1 -1
  40. package/lib/openapi/platform/models/issueCustomFieldOptionsApps.d.ts +1 -1
  41. package/lib/openapi/platform/models/issueCustomFieldValuesApps.d.ts +1 -1
  42. package/lib/openapi/platform/models/issueFieldConfigurations.d.ts +1 -1
  43. package/lib/openapi/platform/models/issueFields.d.ts +1 -1
  44. package/lib/openapi/platform/models/issueLinkTypes.d.ts +1 -1
  45. package/lib/openapi/platform/models/issueLinks.d.ts +1 -1
  46. package/lib/openapi/platform/models/issueNotificationSchemes.d.ts +1 -1
  47. package/lib/openapi/platform/models/issuePriorities.d.ts +1 -1
  48. package/lib/openapi/platform/models/issueProperties.d.ts +1 -1
  49. package/lib/openapi/platform/models/issueRemoteLinks.d.ts +1 -1
  50. package/lib/openapi/platform/models/issueResolutions.d.ts +1 -1
  51. package/lib/openapi/platform/models/issueSearch.d.ts +2 -3
  52. package/lib/openapi/platform/models/issueSearch.js.map +1 -1
  53. package/lib/openapi/platform/models/issueSecurityLevel.d.ts +1 -1
  54. package/lib/openapi/platform/models/issueSecuritySchemes.d.ts +1 -1
  55. package/lib/openapi/platform/models/issueTypeSchemes.d.ts +1 -1
  56. package/lib/openapi/platform/models/issueTypeScreenSchemes.d.ts +1 -1
  57. package/lib/openapi/platform/models/issueTypes.d.ts +1 -1
  58. package/lib/openapi/platform/models/issueVotes.d.ts +1 -1
  59. package/lib/openapi/platform/models/issueWatchers.d.ts +1 -1
  60. package/lib/openapi/platform/models/issueWorklogs.d.ts +1 -1
  61. package/lib/openapi/platform/models/issues.d.ts +16 -14
  62. package/lib/openapi/platform/models/issues.js.map +1 -1
  63. package/lib/openapi/platform/models/jiraExpressions.d.ts +8 -6
  64. package/lib/openapi/platform/models/jiraExpressions.js.map +1 -1
  65. package/lib/openapi/platform/models/jiraSettings.d.ts +1 -1
  66. package/lib/openapi/platform/models/jql.d.ts +9 -5
  67. package/lib/openapi/platform/models/jql.js.map +1 -1
  68. package/lib/openapi/platform/models/jqlFunctionsApps.d.ts +1 -1
  69. package/lib/openapi/platform/models/labels.d.ts +1 -1
  70. package/lib/openapi/platform/models/licenseMetrics.d.ts +1 -1
  71. package/lib/openapi/platform/models/myself.d.ts +1 -1
  72. package/lib/openapi/platform/models/permissionSchemes.d.ts +1 -1
  73. package/lib/openapi/platform/models/permissions.d.ts +2 -3
  74. package/lib/openapi/platform/models/permissions.js.map +1 -1
  75. package/lib/openapi/platform/models/prioritySchemes.d.ts +1 -1
  76. package/lib/openapi/platform/models/projectAvatars.d.ts +1 -1
  77. package/lib/openapi/platform/models/projectClassificationLevels.d.ts +1 -1
  78. package/lib/openapi/platform/models/projectComponents.d.ts +1 -1
  79. package/lib/openapi/platform/models/projectEmail.d.ts +1 -1
  80. package/lib/openapi/platform/models/projectFeatures.d.ts +1 -1
  81. package/lib/openapi/platform/models/projectPermissionSchemes.d.ts +1 -1
  82. package/lib/openapi/platform/models/projectRoleActors.d.ts +1 -1
  83. package/lib/openapi/platform/models/projectRoles.d.ts +1 -1
  84. package/lib/openapi/platform/models/projectTypes.d.ts +1 -1
  85. package/lib/openapi/platform/models/projectVersions.d.ts +1 -1
  86. package/lib/openapi/platform/models/projects.d.ts +1 -1
  87. package/lib/openapi/platform/models/screenSchemes.d.ts +2 -2
  88. package/lib/openapi/platform/models/screenSchemes.js +1 -1
  89. package/lib/openapi/platform/models/screenSchemes.js.map +1 -1
  90. package/lib/openapi/platform/models/screenTabFields.d.ts +1 -1
  91. package/lib/openapi/platform/models/screens.d.ts +1 -1
  92. package/lib/openapi/platform/models/serverInfo.d.ts +1 -1
  93. package/lib/openapi/platform/models/serviceRegistry.d.ts +3 -2
  94. package/lib/openapi/platform/models/serviceRegistry.js.map +1 -1
  95. package/lib/openapi/platform/models/status.d.ts +1 -1
  96. package/lib/openapi/platform/models/timeTracking.d.ts +1 -1
  97. package/lib/openapi/platform/models/uiModificationsApps.d.ts +1 -1
  98. package/lib/openapi/platform/models/userSearch.d.ts +1 -1
  99. package/lib/openapi/platform/models/users.d.ts +1 -1
  100. package/lib/openapi/platform/models/webhooks.d.ts +1 -1
  101. package/lib/openapi/platform/models/workflowSchemeDrafts.d.ts +1 -1
  102. package/lib/openapi/platform/models/workflowSchemeProjectAssociations.d.ts +1 -1
  103. package/lib/openapi/platform/models/workflowSchemes.d.ts +1 -1
  104. package/lib/openapi/platform/models/workflowTransitionProperties.d.ts +1 -1
  105. package/lib/openapi/platform/models/workflowTransitionRules.d.ts +1 -1
  106. package/lib/openapi/platform/models/workflows.d.ts +104 -70
  107. package/lib/openapi/platform/models/workflows.js +12 -0
  108. package/lib/openapi/platform/models/workflows.js.map +1 -1
  109. package/lib/openapi/platform/services/AnnouncementBannerService.d.ts +12 -9
  110. package/lib/openapi/platform/services/AnnouncementBannerService.js +10 -7
  111. package/lib/openapi/platform/services/AnnouncementBannerService.js.map +1 -1
  112. package/lib/openapi/platform/services/AppDataPoliciesService.d.ts +12 -5
  113. package/lib/openapi/platform/services/AppDataPoliciesService.js +13 -6
  114. package/lib/openapi/platform/services/AppDataPoliciesService.js.map +1 -1
  115. package/lib/openapi/platform/services/AppMigrationService.d.ts +13 -6
  116. package/lib/openapi/platform/services/AppMigrationService.js +12 -6
  117. package/lib/openapi/platform/services/AppMigrationService.js.map +1 -1
  118. package/lib/openapi/platform/services/AppPropertiesService.d.ts +43 -19
  119. package/lib/openapi/platform/services/AppPropertiesService.js +44 -20
  120. package/lib/openapi/platform/services/AppPropertiesService.js.map +1 -1
  121. package/lib/openapi/platform/services/ApplicationRolesService.d.ts +20 -21
  122. package/lib/openapi/platform/services/ApplicationRolesService.js +21 -22
  123. package/lib/openapi/platform/services/ApplicationRolesService.js.map +1 -1
  124. package/lib/openapi/platform/services/AuditRecordsService.d.ts +7 -3
  125. package/lib/openapi/platform/services/AuditRecordsService.js +8 -4
  126. package/lib/openapi/platform/services/AuditRecordsService.js.map +1 -1
  127. package/lib/openapi/platform/services/AvatarsService.d.ts +45 -38
  128. package/lib/openapi/platform/services/AvatarsService.js +45 -38
  129. package/lib/openapi/platform/services/AvatarsService.js.map +1 -1
  130. package/lib/openapi/platform/services/ClassificationLevelsService.d.ts +16 -22
  131. package/lib/openapi/platform/services/ClassificationLevelsService.js +17 -23
  132. package/lib/openapi/platform/services/ClassificationLevelsService.js.map +1 -1
  133. package/lib/openapi/platform/services/DashboardsService.d.ts +140 -146
  134. package/lib/openapi/platform/services/DashboardsService.js +122 -130
  135. package/lib/openapi/platform/services/DashboardsService.js.map +1 -1
  136. package/lib/openapi/platform/services/DynamicModulesService.d.ts +6 -4
  137. package/lib/openapi/platform/services/DynamicModulesService.js +7 -5
  138. package/lib/openapi/platform/services/DynamicModulesService.js.map +1 -1
  139. package/lib/openapi/platform/services/FilterSharingService.d.ts +73 -96
  140. package/lib/openapi/platform/services/FilterSharingService.js +70 -95
  141. package/lib/openapi/platform/services/FilterSharingService.js.map +1 -1
  142. package/lib/openapi/platform/services/FiltersService.d.ts +179 -258
  143. package/lib/openapi/platform/services/FiltersService.js +174 -256
  144. package/lib/openapi/platform/services/FiltersService.js.map +1 -1
  145. package/lib/openapi/platform/services/GroupAndUserPickerService.d.ts +9 -7
  146. package/lib/openapi/platform/services/GroupAndUserPickerService.js +10 -8
  147. package/lib/openapi/platform/services/GroupAndUserPickerService.js.map +1 -1
  148. package/lib/openapi/platform/services/GroupsService.d.ts +43 -27
  149. package/lib/openapi/platform/services/GroupsService.js +40 -26
  150. package/lib/openapi/platform/services/GroupsService.js.map +1 -1
  151. package/lib/openapi/platform/services/IssueAttachmentsService.d.ts +174 -170
  152. package/lib/openapi/platform/services/IssueAttachmentsService.js +175 -171
  153. package/lib/openapi/platform/services/IssueAttachmentsService.js.map +1 -1
  154. package/lib/openapi/platform/services/IssueBulkOperationsService.d.ts +36 -20
  155. package/lib/openapi/platform/services/IssueBulkOperationsService.js +35 -20
  156. package/lib/openapi/platform/services/IssueBulkOperationsService.js.map +1 -1
  157. package/lib/openapi/platform/services/IssueCommentPropertiesService.d.ts +20 -10
  158. package/lib/openapi/platform/services/IssueCommentPropertiesService.js +21 -11
  159. package/lib/openapi/platform/services/IssueCommentPropertiesService.js.map +1 -1
  160. package/lib/openapi/platform/services/IssueCommentsService.d.ts +66 -81
  161. package/lib/openapi/platform/services/IssueCommentsService.js +59 -71
  162. package/lib/openapi/platform/services/IssueCommentsService.js.map +1 -1
  163. package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.d.ts +11 -5
  164. package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.js +10 -5
  165. package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.js.map +1 -1
  166. package/lib/openapi/platform/services/IssueCustomFieldContextsService.d.ts +72 -38
  167. package/lib/openapi/platform/services/IssueCustomFieldContextsService.js +55 -27
  168. package/lib/openapi/platform/services/IssueCustomFieldContextsService.js.map +1 -1
  169. package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.d.ts +51 -29
  170. package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.js +48 -28
  171. package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.js.map +1 -1
  172. package/lib/openapi/platform/services/IssueCustomFieldOptionsService.d.ts +38 -17
  173. package/lib/openapi/platform/services/IssueCustomFieldOptionsService.js +33 -15
  174. package/lib/openapi/platform/services/IssueCustomFieldOptionsService.js.map +1 -1
  175. package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.d.ts +9 -5
  176. package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.js +6 -4
  177. package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.js.map +1 -1
  178. package/lib/openapi/platform/services/IssueFieldConfigurationsService.d.ts +78 -35
  179. package/lib/openapi/platform/services/IssueFieldConfigurationsService.js +63 -28
  180. package/lib/openapi/platform/services/IssueFieldConfigurationsService.js.map +1 -1
  181. package/lib/openapi/platform/services/IssueFieldsService.d.ts +57 -47
  182. package/lib/openapi/platform/services/IssueFieldsService.js +52 -42
  183. package/lib/openapi/platform/services/IssueFieldsService.js.map +1 -1
  184. package/lib/openapi/platform/services/IssueLinkTypesService.d.ts +30 -12
  185. package/lib/openapi/platform/services/IssueLinkTypesService.js +27 -11
  186. package/lib/openapi/platform/services/IssueLinkTypesService.js.map +1 -1
  187. package/lib/openapi/platform/services/IssueLinksService.d.ts +21 -24
  188. package/lib/openapi/platform/services/IssueLinksService.js +20 -24
  189. package/lib/openapi/platform/services/IssueLinksService.js.map +1 -1
  190. package/lib/openapi/platform/services/IssueNavigatorSettingsService.d.ts +8 -4
  191. package/lib/openapi/platform/services/IssueNavigatorSettingsService.js +9 -5
  192. package/lib/openapi/platform/services/IssueNavigatorSettingsService.js.map +1 -1
  193. package/lib/openapi/platform/services/IssueNotificationSchemesService.d.ts +64 -70
  194. package/lib/openapi/platform/services/IssueNotificationSchemesService.js +59 -68
  195. package/lib/openapi/platform/services/IssueNotificationSchemesService.js.map +1 -1
  196. package/lib/openapi/platform/services/IssuePrioritiesService.d.ts +45 -27
  197. package/lib/openapi/platform/services/IssuePrioritiesService.js +38 -24
  198. package/lib/openapi/platform/services/IssuePrioritiesService.js.map +1 -1
  199. package/lib/openapi/platform/services/IssuePropertiesService.d.ts +34 -17
  200. package/lib/openapi/platform/services/IssuePropertiesService.js +29 -15
  201. package/lib/openapi/platform/services/IssuePropertiesService.js.map +1 -1
  202. package/lib/openapi/platform/services/IssueRemoteLinksService.d.ts +42 -28
  203. package/lib/openapi/platform/services/IssueRemoteLinksService.js +39 -27
  204. package/lib/openapi/platform/services/IssueRemoteLinksService.js.map +1 -1
  205. package/lib/openapi/platform/services/IssueResolutionsService.d.ts +40 -17
  206. package/lib/openapi/platform/services/IssueResolutionsService.js +33 -14
  207. package/lib/openapi/platform/services/IssueResolutionsService.js.map +1 -1
  208. package/lib/openapi/platform/services/IssueSearchService.d.ts +86 -139
  209. package/lib/openapi/platform/services/IssueSearchService.js +81 -137
  210. package/lib/openapi/platform/services/IssueSearchService.js.map +1 -1
  211. package/lib/openapi/platform/services/IssueSecurityLevelService.d.ts +20 -19
  212. package/lib/openapi/platform/services/IssueSecurityLevelService.js +21 -20
  213. package/lib/openapi/platform/services/IssueSecurityLevelService.js.map +1 -1
  214. package/lib/openapi/platform/services/IssueSecuritySchemesService.d.ts +78 -40
  215. package/lib/openapi/platform/services/IssueSecuritySchemesService.js +65 -34
  216. package/lib/openapi/platform/services/IssueSecuritySchemesService.js.map +1 -1
  217. package/lib/openapi/platform/services/IssueTypePropertiesService.d.ts +22 -11
  218. package/lib/openapi/platform/services/IssueTypePropertiesService.js +21 -11
  219. package/lib/openapi/platform/services/IssueTypePropertiesService.js.map +1 -1
  220. package/lib/openapi/platform/services/IssueTypeSchemesService.d.ts +53 -34
  221. package/lib/openapi/platform/services/IssueTypeSchemesService.js +42 -26
  222. package/lib/openapi/platform/services/IssueTypeSchemesService.js.map +1 -1
  223. package/lib/openapi/platform/services/IssueTypeScreenSchemesService.d.ts +56 -27
  224. package/lib/openapi/platform/services/IssueTypeScreenSchemesService.js +45 -22
  225. package/lib/openapi/platform/services/IssueTypeScreenSchemesService.js.map +1 -1
  226. package/lib/openapi/platform/services/IssueTypesService.d.ts +53 -42
  227. package/lib/openapi/platform/services/IssueTypesService.js +50 -41
  228. package/lib/openapi/platform/services/IssueTypesService.js.map +1 -1
  229. package/lib/openapi/platform/services/IssueVotesService.d.ts +17 -17
  230. package/lib/openapi/platform/services/IssueVotesService.js +18 -18
  231. package/lib/openapi/platform/services/IssueVotesService.js.map +1 -1
  232. package/lib/openapi/platform/services/IssueWatchersService.d.ts +20 -10
  233. package/lib/openapi/platform/services/IssueWatchersService.js +19 -10
  234. package/lib/openapi/platform/services/IssueWatchersService.js.map +1 -1
  235. package/lib/openapi/platform/services/IssueWorklogPropertiesService.d.ts +20 -13
  236. package/lib/openapi/platform/services/IssueWorklogPropertiesService.js +21 -14
  237. package/lib/openapi/platform/services/IssueWorklogPropertiesService.js.map +1 -1
  238. package/lib/openapi/platform/services/IssueWorklogsService.d.ts +69 -67
  239. package/lib/openapi/platform/services/IssueWorklogsService.js +64 -65
  240. package/lib/openapi/platform/services/IssueWorklogsService.js.map +1 -1
  241. package/lib/openapi/platform/services/IssuesService.d.ts +226 -228
  242. package/lib/openapi/platform/services/IssuesService.js +197 -209
  243. package/lib/openapi/platform/services/IssuesService.js.map +1 -1
  244. package/lib/openapi/platform/services/JiraExpressionsService.d.ts +25 -24
  245. package/lib/openapi/platform/services/JiraExpressionsService.js +21 -20
  246. package/lib/openapi/platform/services/JiraExpressionsService.js.map +1 -1
  247. package/lib/openapi/platform/services/JiraSettingsService.d.ts +21 -9
  248. package/lib/openapi/platform/services/JiraSettingsService.js +20 -9
  249. package/lib/openapi/platform/services/JiraSettingsService.js.map +1 -1
  250. package/lib/openapi/platform/services/JqlFunctionsAppsService.d.ts +13 -9
  251. package/lib/openapi/platform/services/JqlFunctionsAppsService.js +12 -9
  252. package/lib/openapi/platform/services/JqlFunctionsAppsService.js.map +1 -1
  253. package/lib/openapi/platform/services/JqlService.d.ts +55 -43
  254. package/lib/openapi/platform/services/JqlService.js +45 -33
  255. package/lib/openapi/platform/services/JqlService.js.map +1 -1
  256. package/lib/openapi/platform/services/LabelsService.d.ts +7 -3
  257. package/lib/openapi/platform/services/LabelsService.js +8 -4
  258. package/lib/openapi/platform/services/LabelsService.js.map +1 -1
  259. package/lib/openapi/platform/services/LicenseMetricsService.d.ts +17 -7
  260. package/lib/openapi/platform/services/LicenseMetricsService.js +18 -8
  261. package/lib/openapi/platform/services/LicenseMetricsService.js.map +1 -1
  262. package/lib/openapi/platform/services/MyselfService.d.ts +28 -21
  263. package/lib/openapi/platform/services/MyselfService.js +27 -21
  264. package/lib/openapi/platform/services/MyselfService.js.map +1 -1
  265. package/lib/openapi/platform/services/PermissionSchemesService.d.ts +67 -55
  266. package/lib/openapi/platform/services/PermissionSchemesService.js +62 -53
  267. package/lib/openapi/platform/services/PermissionSchemesService.js.map +1 -1
  268. package/lib/openapi/platform/services/PermissionsService.d.ts +23 -11
  269. package/lib/openapi/platform/services/PermissionsService.js +22 -11
  270. package/lib/openapi/platform/services/PermissionsService.js.map +1 -1
  271. package/lib/openapi/platform/services/PrioritySchemesService.d.ts +60 -26
  272. package/lib/openapi/platform/services/PrioritySchemesService.js +54 -23
  273. package/lib/openapi/platform/services/PrioritySchemesService.js.map +1 -1
  274. package/lib/openapi/platform/services/ProjectAvatarsService.d.ts +27 -24
  275. package/lib/openapi/platform/services/ProjectAvatarsService.js +26 -24
  276. package/lib/openapi/platform/services/ProjectAvatarsService.js.map +1 -1
  277. package/lib/openapi/platform/services/ProjectCategoriesService.d.ts +30 -12
  278. package/lib/openapi/platform/services/ProjectCategoriesService.js +27 -11
  279. package/lib/openapi/platform/services/ProjectCategoriesService.js.map +1 -1
  280. package/lib/openapi/platform/services/ProjectClassificationLevelsService.d.ts +17 -14
  281. package/lib/openapi/platform/services/ProjectClassificationLevelsService.js +15 -12
  282. package/lib/openapi/platform/services/ProjectClassificationLevelsService.js.map +1 -1
  283. package/lib/openapi/platform/services/ProjectComponentsService.d.ts +198 -321
  284. package/lib/openapi/platform/services/ProjectComponentsService.js +195 -320
  285. package/lib/openapi/platform/services/ProjectComponentsService.js.map +1 -1
  286. package/lib/openapi/platform/services/ProjectEmailService.d.ts +11 -5
  287. package/lib/openapi/platform/services/ProjectEmailService.js +10 -5
  288. package/lib/openapi/platform/services/ProjectEmailService.js.map +1 -1
  289. package/lib/openapi/platform/services/ProjectFeaturesService.d.ts +23 -22
  290. package/lib/openapi/platform/services/ProjectFeaturesService.js +22 -22
  291. package/lib/openapi/platform/services/ProjectFeaturesService.js.map +1 -1
  292. package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.d.ts +19 -7
  293. package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.js +20 -8
  294. package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.js.map +1 -1
  295. package/lib/openapi/platform/services/ProjectPermissionSchemesService.d.ts +32 -23
  296. package/lib/openapi/platform/services/ProjectPermissionSchemesService.js +31 -23
  297. package/lib/openapi/platform/services/ProjectPermissionSchemesService.js.map +1 -1
  298. package/lib/openapi/platform/services/ProjectPropertiesService.d.ts +22 -11
  299. package/lib/openapi/platform/services/ProjectPropertiesService.js +21 -11
  300. package/lib/openapi/platform/services/ProjectPropertiesService.js.map +1 -1
  301. package/lib/openapi/platform/services/ProjectRoleActorsService.d.ts +47 -33
  302. package/lib/openapi/platform/services/ProjectRoleActorsService.js +42 -31
  303. package/lib/openapi/platform/services/ProjectRoleActorsService.js.map +1 -1
  304. package/lib/openapi/platform/services/ProjectRolesService.d.ts +67 -43
  305. package/lib/openapi/platform/services/ProjectRolesService.js +62 -41
  306. package/lib/openapi/platform/services/ProjectRolesService.js.map +1 -1
  307. package/lib/openapi/platform/services/ProjectTypesService.d.ts +29 -21
  308. package/lib/openapi/platform/services/ProjectTypesService.js +30 -22
  309. package/lib/openapi/platform/services/ProjectTypesService.js.map +1 -1
  310. package/lib/openapi/platform/services/ProjectVersionsService.d.ts +87 -36
  311. package/lib/openapi/platform/services/ProjectVersionsService.js +78 -32
  312. package/lib/openapi/platform/services/ProjectVersionsService.js.map +1 -1
  313. package/lib/openapi/platform/services/ProjectsService.d.ts +207 -313
  314. package/lib/openapi/platform/services/ProjectsService.js +203 -310
  315. package/lib/openapi/platform/services/ProjectsService.js.map +1 -1
  316. package/lib/openapi/platform/services/ScreenSchemesService.d.ts +22 -11
  317. package/lib/openapi/platform/services/ScreenSchemesService.js +19 -10
  318. package/lib/openapi/platform/services/ScreenSchemesService.js.map +1 -1
  319. package/lib/openapi/platform/services/ScreenTabFieldsService.d.ts +15 -7
  320. package/lib/openapi/platform/services/ScreenTabFieldsService.js +14 -7
  321. package/lib/openapi/platform/services/ScreenTabFieldsService.js.map +1 -1
  322. package/lib/openapi/platform/services/ScreenTabsService.d.ts +27 -11
  323. package/lib/openapi/platform/services/ScreenTabsService.js +26 -11
  324. package/lib/openapi/platform/services/ScreenTabsService.js.map +1 -1
  325. package/lib/openapi/platform/services/ScreensService.d.ts +42 -28
  326. package/lib/openapi/platform/services/ScreensService.js +38 -25
  327. package/lib/openapi/platform/services/ScreensService.js.map +1 -1
  328. package/lib/openapi/platform/services/ServerInfoService.d.ts +6 -3
  329. package/lib/openapi/platform/services/ServerInfoService.js +7 -4
  330. package/lib/openapi/platform/services/ServerInfoService.js.map +1 -1
  331. package/lib/openapi/platform/services/ServiceRegistryService.d.ts +5 -3
  332. package/lib/openapi/platform/services/ServiceRegistryService.js +4 -3
  333. package/lib/openapi/platform/services/ServiceRegistryService.js.map +1 -1
  334. package/lib/openapi/platform/services/StatusService.d.ts +29 -15
  335. package/lib/openapi/platform/services/StatusService.js +26 -14
  336. package/lib/openapi/platform/services/StatusService.js.map +1 -1
  337. package/lib/openapi/platform/services/TasksService.d.ts +9 -4
  338. package/lib/openapi/platform/services/TasksService.js +10 -5
  339. package/lib/openapi/platform/services/TasksService.js.map +1 -1
  340. package/lib/openapi/platform/services/TimeTrackingService.d.ts +31 -14
  341. package/lib/openapi/platform/services/TimeTrackingService.js +27 -12
  342. package/lib/openapi/platform/services/TimeTrackingService.js.map +1 -1
  343. package/lib/openapi/platform/services/UiModificationsAppsService.d.ts +26 -19
  344. package/lib/openapi/platform/services/UiModificationsAppsService.js +23 -18
  345. package/lib/openapi/platform/services/UiModificationsAppsService.js.map +1 -1
  346. package/lib/openapi/platform/services/UserPropertiesService.d.ts +20 -10
  347. package/lib/openapi/platform/services/UserPropertiesService.js +21 -11
  348. package/lib/openapi/platform/services/UserPropertiesService.js.map +1 -1
  349. package/lib/openapi/platform/services/UserSearchService.d.ts +95 -126
  350. package/lib/openapi/platform/services/UserSearchService.js +96 -127
  351. package/lib/openapi/platform/services/UserSearchService.js.map +1 -1
  352. package/lib/openapi/platform/services/UsersService.d.ts +97 -95
  353. package/lib/openapi/platform/services/UsersService.js +96 -95
  354. package/lib/openapi/platform/services/UsersService.js.map +1 -1
  355. package/lib/openapi/platform/services/WebhooksService.d.ts +35 -18
  356. package/lib/openapi/platform/services/WebhooksService.js +30 -16
  357. package/lib/openapi/platform/services/WebhooksService.js.map +1 -1
  358. package/lib/openapi/platform/services/WorkflowSchemeDraftsService.d.ts +133 -147
  359. package/lib/openapi/platform/services/WorkflowSchemeDraftsService.js +124 -143
  360. package/lib/openapi/platform/services/WorkflowSchemeDraftsService.js.map +1 -1
  361. package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.d.ts +13 -10
  362. package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.js +12 -10
  363. package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.js.map +1 -1
  364. package/lib/openapi/platform/services/WorkflowSchemesService.d.ts +121 -82
  365. package/lib/openapi/platform/services/WorkflowSchemesService.js +106 -75
  366. package/lib/openapi/platform/services/WorkflowSchemesService.js.map +1 -1
  367. package/lib/openapi/platform/services/WorkflowStatusCategoriesService.d.ts +12 -5
  368. package/lib/openapi/platform/services/WorkflowStatusCategoriesService.js +13 -6
  369. package/lib/openapi/platform/services/WorkflowStatusCategoriesService.js.map +1 -1
  370. package/lib/openapi/platform/services/WorkflowStatusesService.d.ts +12 -5
  371. package/lib/openapi/platform/services/WorkflowStatusesService.js +13 -6
  372. package/lib/openapi/platform/services/WorkflowStatusesService.js.map +1 -1
  373. package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.d.ts +25 -10
  374. package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.js +22 -9
  375. package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.js.map +1 -1
  376. package/lib/openapi/platform/services/WorkflowTransitionRulesService.d.ts +25 -13
  377. package/lib/openapi/platform/services/WorkflowTransitionRulesService.js +22 -12
  378. package/lib/openapi/platform/services/WorkflowTransitionRulesService.js.map +1 -1
  379. package/lib/openapi/platform/services/WorkflowsService.d.ts +791 -693
  380. package/lib/openapi/platform/services/WorkflowsService.js +754 -644
  381. package/lib/openapi/platform/services/WorkflowsService.js.map +1 -1
  382. package/lib/openapi/platform/validationSchemaStorage.d.ts +1 -1
  383. package/lib/openapi/platform/validationSchemaStorage.js +1 -1
  384. package/lib/openapi/platform/validationSchemaStorage.js.map +1 -1
  385. package/lib/openapi/serviceManagement/BaseJiraServiceManagementApiClient.d.ts +3 -3
  386. package/lib/openapi/serviceManagement/BaseJiraServiceManagementApiClient.js +3 -3
  387. package/lib/openapi/serviceManagement/BaseJiraServiceManagementApiClient.js.map +1 -1
  388. package/lib/openapi/serviceManagement/models/assets.d.ts +1 -1
  389. package/lib/openapi/serviceManagement/models/common.d.ts +1 -1
  390. package/lib/openapi/serviceManagement/models/customer.d.ts +1 -1
  391. package/lib/openapi/serviceManagement/models/info.d.ts +1 -1
  392. package/lib/openapi/serviceManagement/models/knowledgebase.d.ts +1 -1
  393. package/lib/openapi/serviceManagement/models/organization.d.ts +1 -1
  394. package/lib/openapi/serviceManagement/models/request.d.ts +1 -1
  395. package/lib/openapi/serviceManagement/models/servicedesk.d.ts +4 -7
  396. package/lib/openapi/serviceManagement/models/servicedesk.js.map +1 -1
  397. package/lib/openapi/serviceManagement/services/AssetsService.d.ts +11 -8
  398. package/lib/openapi/serviceManagement/services/AssetsService.js +12 -9
  399. package/lib/openapi/serviceManagement/services/AssetsService.js.map +1 -1
  400. package/lib/openapi/serviceManagement/services/CustomerService.d.ts +17 -20
  401. package/lib/openapi/serviceManagement/services/CustomerService.js +16 -20
  402. package/lib/openapi/serviceManagement/services/CustomerService.js.map +1 -1
  403. package/lib/openapi/serviceManagement/services/InfoService.d.ts +6 -3
  404. package/lib/openapi/serviceManagement/services/InfoService.js +7 -4
  405. package/lib/openapi/serviceManagement/services/InfoService.js.map +1 -1
  406. package/lib/openapi/serviceManagement/services/KnowledgebaseService.d.ts +11 -11
  407. package/lib/openapi/serviceManagement/services/KnowledgebaseService.js +12 -12
  408. package/lib/openapi/serviceManagement/services/KnowledgebaseService.js.map +1 -1
  409. package/lib/openapi/serviceManagement/services/OrganizationService.d.ts +108 -104
  410. package/lib/openapi/serviceManagement/services/OrganizationService.js +97 -99
  411. package/lib/openapi/serviceManagement/services/OrganizationService.js.map +1 -1
  412. package/lib/openapi/serviceManagement/services/RequestService.d.ts +420 -578
  413. package/lib/openapi/serviceManagement/services/RequestService.js +405 -571
  414. package/lib/openapi/serviceManagement/services/RequestService.js.map +1 -1
  415. package/lib/openapi/serviceManagement/services/RequesttypeService.d.ts +25 -39
  416. package/lib/openapi/serviceManagement/services/RequesttypeService.js +26 -40
  417. package/lib/openapi/serviceManagement/services/RequesttypeService.js.map +1 -1
  418. package/lib/openapi/serviceManagement/services/ServicedeskService.d.ts +195 -215
  419. package/lib/openapi/serviceManagement/services/ServicedeskService.js +190 -213
  420. package/lib/openapi/serviceManagement/services/ServicedeskService.js.map +1 -1
  421. package/lib/openapi/serviceManagement/validationSchemaStorage.d.ts +1 -1
  422. package/lib/openapi/serviceManagement/validationSchemaStorage.js +1 -1
  423. package/lib/openapi/serviceManagement/validationSchemaStorage.js.map +1 -1
  424. package/lib/openapi/software/BaseJiraSoftwareApiClient.d.ts +2 -2
  425. package/lib/openapi/software/BaseJiraSoftwareApiClient.js +2 -2
  426. package/lib/openapi/software/BaseJiraSoftwareApiClient.js.map +1 -1
  427. package/lib/openapi/software/models/board.d.ts +4 -7
  428. package/lib/openapi/software/models/board.js.map +1 -1
  429. package/lib/openapi/software/models/builds.d.ts +39 -20
  430. package/lib/openapi/software/models/builds.js.map +1 -1
  431. package/lib/openapi/software/models/common.d.ts +8 -6
  432. package/lib/openapi/software/models/common.js.map +1 -1
  433. package/lib/openapi/software/models/deployments.d.ts +37 -18
  434. package/lib/openapi/software/models/deployments.js.map +1 -1
  435. package/lib/openapi/software/models/devOpsComponents.d.ts +7 -4
  436. package/lib/openapi/software/models/devOpsComponents.js.map +1 -1
  437. package/lib/openapi/software/models/developmentInformation.d.ts +107 -55
  438. package/lib/openapi/software/models/developmentInformation.js.map +1 -1
  439. package/lib/openapi/software/models/epic.d.ts +1 -1
  440. package/lib/openapi/software/models/featureFlags.d.ts +17 -9
  441. package/lib/openapi/software/models/featureFlags.js.map +1 -1
  442. package/lib/openapi/software/models/issue.d.ts +1 -1
  443. package/lib/openapi/software/models/operations.d.ts +61 -31
  444. package/lib/openapi/software/models/operations.js.map +1 -1
  445. package/lib/openapi/software/models/remoteLinks.d.ts +37 -19
  446. package/lib/openapi/software/models/remoteLinks.js.map +1 -1
  447. package/lib/openapi/software/models/securityInformation.d.ts +53 -27
  448. package/lib/openapi/software/models/securityInformation.js.map +1 -1
  449. package/lib/openapi/software/models/sprint.d.ts +1 -1
  450. package/lib/openapi/software/services/BacklogService.d.ts +14 -8
  451. package/lib/openapi/software/services/BacklogService.js +11 -7
  452. package/lib/openapi/software/services/BacklogService.js.map +1 -1
  453. package/lib/openapi/software/services/BoardService.d.ts +200 -204
  454. package/lib/openapi/software/services/BoardService.js +197 -203
  455. package/lib/openapi/software/services/BoardService.js.map +1 -1
  456. package/lib/openapi/software/services/BuildsService.d.ts +11 -9
  457. package/lib/openapi/software/services/BuildsService.js +12 -10
  458. package/lib/openapi/software/services/BuildsService.js.map +1 -1
  459. package/lib/openapi/software/services/DeploymentsService.d.ts +13 -13
  460. package/lib/openapi/software/services/DeploymentsService.js +14 -14
  461. package/lib/openapi/software/services/DeploymentsService.js.map +1 -1
  462. package/lib/openapi/software/services/DevOpsComponentsService.d.ts +33 -20
  463. package/lib/openapi/software/services/DevOpsComponentsService.js +12 -10
  464. package/lib/openapi/software/services/DevOpsComponentsService.js.map +1 -1
  465. package/lib/openapi/software/services/DevelopmentInformationService.d.ts +14 -9
  466. package/lib/openapi/software/services/DevelopmentInformationService.js +15 -10
  467. package/lib/openapi/software/services/DevelopmentInformationService.js.map +1 -1
  468. package/lib/openapi/software/services/EpicService.d.ts +67 -76
  469. package/lib/openapi/software/services/EpicService.js +60 -73
  470. package/lib/openapi/software/services/EpicService.js.map +1 -1
  471. package/lib/openapi/software/services/FeatureFlagsService.d.ts +11 -9
  472. package/lib/openapi/software/services/FeatureFlagsService.js +12 -10
  473. package/lib/openapi/software/services/FeatureFlagsService.js.map +1 -1
  474. package/lib/openapi/software/services/IssueService.d.ts +45 -44
  475. package/lib/openapi/software/services/IssueService.js +42 -43
  476. package/lib/openapi/software/services/IssueService.js.map +1 -1
  477. package/lib/openapi/software/services/OperationsService.d.ts +66 -38
  478. package/lib/openapi/software/services/OperationsService.js +23 -17
  479. package/lib/openapi/software/services/OperationsService.js.map +1 -1
  480. package/lib/openapi/software/services/RemoteLinksService.d.ts +18 -13
  481. package/lib/openapi/software/services/RemoteLinksService.js +12 -10
  482. package/lib/openapi/software/services/RemoteLinksService.js.map +1 -1
  483. package/lib/openapi/software/services/SecurityInformationService.d.ts +19 -13
  484. package/lib/openapi/software/services/SecurityInformationService.js +20 -14
  485. package/lib/openapi/software/services/SecurityInformationService.js.map +1 -1
  486. package/lib/openapi/software/services/SprintService.d.ts +79 -55
  487. package/lib/openapi/software/services/SprintService.js +70 -51
  488. package/lib/openapi/software/services/SprintService.js.map +1 -1
  489. package/lib/openapi/software/validationSchemaStorage.d.ts +1 -1
  490. package/lib/openapi/software/validationSchemaStorage.js +1 -1
  491. package/lib/openapi/software/validationSchemaStorage.js.map +1 -1
  492. package/package.json +3 -3
  493. package/lib/openapi/platform/core/CommonHttpClient.js +0 -390
  494. package/lib/openapi/platform/core/CommonHttpClient.js.map +0 -1
  495. package/lib/openapi/platform/core/CommonHttpService.d.ts +0 -9
  496. package/lib/openapi/platform/core/CommonHttpService.js.map +0 -1
  497. package/lib/openapi/platform/core/CommonValidationSchemaStorage.js.map +0 -1
  498. package/lib/openapi/serviceManagement/core/CommonHttpClient.d.ts +0 -196
  499. package/lib/openapi/serviceManagement/core/CommonHttpClient.js.map +0 -1
  500. package/lib/openapi/serviceManagement/core/CommonHttpService.d.ts +0 -9
  501. package/lib/openapi/serviceManagement/core/CommonHttpService.js +0 -29
  502. package/lib/openapi/serviceManagement/core/CommonHttpService.js.map +0 -1
  503. package/lib/openapi/serviceManagement/core/CommonValidationSchemaStorage.d.ts +0 -35
  504. package/lib/openapi/serviceManagement/core/CommonValidationSchemaStorage.js +0 -65
  505. package/lib/openapi/serviceManagement/core/CommonValidationSchemaStorage.js.map +0 -1
  506. package/lib/openapi/software/core/CommonHttpClient.d.ts +0 -196
  507. package/lib/openapi/software/core/CommonHttpClient.js +0 -390
  508. package/lib/openapi/software/core/CommonHttpClient.js.map +0 -1
  509. package/lib/openapi/software/core/CommonHttpService.js +0 -29
  510. package/lib/openapi/software/core/CommonHttpService.js.map +0 -1
  511. package/lib/openapi/software/core/CommonValidationSchemaStorage.d.ts +0 -35
  512. package/lib/openapi/software/core/CommonValidationSchemaStorage.js +0 -65
  513. package/lib/openapi/software/core/CommonValidationSchemaStorage.js.map +0 -1
  514. /package/lib/openapi/{platform/core → core}/CommonValidationSchemaStorage.d.ts +0 -0
  515. /package/lib/openapi/{platform/core → core}/CommonValidationSchemaStorage.js +0 -0
@@ -5,8 +5,8 @@ exports.ProjectsService = void 0;
5
5
  // This file is generated by "api-typescript-generator".
6
6
  // To update this file run "yarn build:openapi".
7
7
  const zod_1 = require("zod");
8
- const commonHttpClient = require("../core/CommonHttpClient");
9
- const CommonHttpService_1 = require("../core/CommonHttpService");
8
+ const commonHttpClient = require("../../core/CommonHttpClient");
9
+ const CommonHttpService_1 = require("../../core/CommonHttpService");
10
10
  const common_1 = require("../models/common");
11
11
  const projects_1 = require("../models/projects");
12
12
  const validationSchemaStorage_1 = require("../validationSchemaStorage");
@@ -29,10 +29,11 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
29
29
  * permission](https://confluence.atlassian.com/x/x4dKLg).
30
30
  *
31
31
  * @returns Returned if the request is successful.
32
- * @path {POST} /rest/api/3/project/{projectIdOrKey}/archive
32
+ * @path POST `/rest/api/3/project/{projectIdOrKey}/archive`
33
33
  * @scopes-current manage:jira-project
34
34
  * @scopes-beta write:project:jira
35
35
  * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-projects#api-rest-api-3-project-projectidorkey-archive-post
36
+ * @param params
36
37
  */
37
38
  this.archiveProject = ({ projectIdOrKey, }) => {
38
39
  return this.getClientInstance()
@@ -116,15 +117,19 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
116
117
  *
117
118
  * @returns Returned if the project is created.
118
119
  *
119
- * example: {
120
+ * example:
121
+ * ```
122
+ * {
120
123
  * "id": 10010,
121
124
  * "key": "EX",
122
125
  * "self": "https://your-domain.atlassian.net/jira/rest/api/3/project/10042"
123
126
  * }
124
- * @path {POST} /rest/api/3/project
127
+ * ```
128
+ * @path POST `/rest/api/3/project`
125
129
  * @scopes-current manage:jira-configuration
126
130
  * @scopes-beta write:project:jira, read:project:jira
127
131
  * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-projects#api-rest-api-3-project-post
132
+ * @param params
128
133
  */
129
134
  this.createProject = ({ createProjectDetails, }) => {
130
135
  return this.getClientInstance()
@@ -154,10 +159,11 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
154
159
  * **[Permissions](#permissions) required:** *Administer Jira* [global
155
160
  * permission](https://confluence.atlassian.com/x/x4dKLg).
156
161
  *
157
- * @path {DELETE} /rest/api/3/project/{projectIdOrKey}
162
+ * @path DELETE `/rest/api/3/project/{projectIdOrKey}`
158
163
  * @scopes-current manage:jira-configuration
159
164
  * @scopes-beta delete:project:jira
160
165
  * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-projects#api-rest-api-3-project-projectidorkey-delete
166
+ * @param params
161
167
  */
162
168
  this.deleteProject = ({ projectIdOrKey, enableUndo, }) => {
163
169
  return this.getClientInstance()
@@ -187,10 +193,11 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
187
193
  * **[Permissions](#permissions) required:** *Administer Jira* [global
188
194
  * permission](https://confluence.atlassian.com/x/x4dKLg).
189
195
  *
190
- * @path {POST} /rest/api/3/project/{projectIdOrKey}/delete
196
+ * @path POST `/rest/api/3/project/{projectIdOrKey}/delete`
191
197
  * @scopes-current manage:jira-configuration
192
198
  * @scopes-beta write:project:jira, write:project.property:jira
193
199
  * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-projects#api-rest-api-3-project-projectidorkey-delete-post
200
+ * @param params
194
201
  */
195
202
  this.deleteProjectAsynchronously = ({ projectIdOrKey, }) => {
196
203
  return this.getClientInstance()
@@ -217,17 +224,15 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
217
224
  * @deprecated
218
225
  * @returns Returned if the request is successful.
219
226
  *
220
- * example: [
227
+ * example:
228
+ * ```
229
+ * [
221
230
  * {
222
231
  * "avatarUrls": {
223
- * "16x16":
224
- * "https://your-domain.atlassian.net/secure/projectavatar?size=xsmall&pid=10000",
225
- * "24x24":
226
- * "https://your-domain.atlassian.net/secure/projectavatar?size=small&pid=10000",
227
- * "32x32":
228
- * "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10000",
229
- * "48x48":
230
- * "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10000"
232
+ * "16x16": "https://your-domain.atlassian.net/secure/projectavatar?size=xsmall&pid=10000",
233
+ * "24x24": "https://your-domain.atlassian.net/secure/projectavatar?size=small&pid=10000",
234
+ * "32x32": "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10000",
235
+ * "48x48": "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10000"
231
236
  * },
232
237
  * "id": "10000",
233
238
  * "insight": {
@@ -240,8 +245,7 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
240
245
  * "description": "First Project Category",
241
246
  * "id": "10000",
242
247
  * "name": "FIRST",
243
- * "self":
244
- * "https://your-domain.atlassian.net/rest/api/3/projectCategory/10000"
248
+ * "self": "https://your-domain.atlassian.net/rest/api/3/projectCategory/10000"
245
249
  * },
246
250
  * "self": "https://your-domain.atlassian.net/rest/api/3/project/EX",
247
251
  * "simplified": false,
@@ -249,14 +253,10 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
249
253
  * },
250
254
  * {
251
255
  * "avatarUrls": {
252
- * "16x16":
253
- * "https://your-domain.atlassian.net/secure/projectavatar?size=xsmall&pid=10001",
254
- * "24x24":
255
- * "https://your-domain.atlassian.net/secure/projectavatar?size=small&pid=10001",
256
- * "32x32":
257
- * "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10001",
258
- * "48x48":
259
- * "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10001"
256
+ * "16x16": "https://your-domain.atlassian.net/secure/projectavatar?size=xsmall&pid=10001",
257
+ * "24x24": "https://your-domain.atlassian.net/secure/projectavatar?size=small&pid=10001",
258
+ * "32x32": "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10001",
259
+ * "48x48": "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10001"
260
260
  * },
261
261
  * "id": "10001",
262
262
  * "insight": {
@@ -269,21 +269,19 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
269
269
  * "description": "First Project Category",
270
270
  * "id": "10000",
271
271
  * "name": "FIRST",
272
- * "self":
273
- * "https://your-domain.atlassian.net/rest/api/3/projectCategory/10000"
272
+ * "self": "https://your-domain.atlassian.net/rest/api/3/projectCategory/10000"
274
273
  * },
275
274
  * "self": "https://your-domain.atlassian.net/rest/api/3/project/ABC",
276
275
  * "simplified": false,
277
276
  * "style": "CLASSIC"
278
277
  * }
279
278
  * ]
280
- * @path {GET} /rest/api/3/project
279
+ * ```
280
+ * @path GET `/rest/api/3/project`
281
281
  * @scopes-current read:jira-work
282
- * @scopes-beta read:issue-type:jira, read:project:jira, read:project.property:jira,
283
- * read:user:jira, read:application-role:jira, read:avatar:jira, read:group:jira,
284
- * read:issue-type-hierarchy:jira, read:project-category:jira,
285
- * read:project-version:jira, read:project.component:jira
282
+ * @scopes-beta read:issue-type:jira, read:project:jira, read:project.property:jira, read:user:jira, read:application-role:jira, read:avatar:jira, read:group:jira, read:issue-type-hierarchy:jira, read:project-category:jira, read:project-version:jira, read:project.component:jira
286
283
  * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-projects#api-rest-api-3-project-get
284
+ * @param params
287
285
  */
288
286
  this.getAllProjects = ({ expand, recent, properties, } = {}) => {
289
287
  return this.getClientInstance()
@@ -317,7 +315,9 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
317
315
  *
318
316
  * @returns Returned if the request is successful.
319
317
  *
320
- * example: [
318
+ * example:
319
+ * ```
320
+ * [
321
321
  * {
322
322
  * "id": "3",
323
323
  * "name": "Task",
@@ -325,8 +325,7 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
325
325
  * "statuses": [
326
326
  * {
327
327
  * "description": "The issue is currently being worked on.",
328
- * "iconUrl":
329
- * "https://your-domain.atlassian.net/images/icons/progress.gif",
328
+ * "iconUrl": "https://your-domain.atlassian.net/images/icons/progress.gif",
330
329
  * "id": "10000",
331
330
  * "name": "In Progress",
332
331
  * "self": "https://your-domain.atlassian.net/rest/api/3/status/10000"
@@ -342,10 +341,12 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
342
341
  * "subtask": false
343
342
  * }
344
343
  * ]
345
- * @path {GET} /rest/api/3/project/{projectIdOrKey}/statuses
344
+ * ```
345
+ * @path GET `/rest/api/3/project/{projectIdOrKey}/statuses`
346
346
  * @scopes-current read:jira-work
347
347
  * @scopes-beta read:issue-status:jira, read:issue-type:jira, read:status:jira
348
348
  * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-projects#api-rest-api-3-project-projectidorkey-statuses-get
349
+ * @param params
349
350
  */
350
351
  this.getAllStatuses = ({ projectIdOrKey, }) => {
351
352
  return this.getClientInstance()
@@ -383,7 +384,9 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
383
384
  *
384
385
  * @returns Returned if the request is successful.
385
386
  *
386
- * example: {
387
+ * example:
388
+ * ```
389
+ * {
387
390
  * "hierarchy": [
388
391
  * {
389
392
  * "issueTypes": [
@@ -430,10 +433,12 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
430
433
  * ],
431
434
  * "projectId": 10030
432
435
  * }
433
- * @path {GET} /rest/api/3/project/{projectId}/hierarchy
436
+ * ```
437
+ * @path GET `/rest/api/3/project/{projectId}/hierarchy`
434
438
  * @scopes-current read:jira-work
435
439
  * @scopes-beta read:issue-type:jira, read:issue-type-hierarchy:jira
436
440
  * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-projects#api-rest-api-3-project-projectid-hierarchy-get
441
+ * @param params
437
442
  */
438
443
  this.getHierarchy = ({ projectId, }) => {
439
444
  return this.getClientInstance()
@@ -463,7 +468,9 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
463
468
  *
464
469
  * @returns Returned if the request is successful.
465
470
  *
466
- * example: {
471
+ * example:
472
+ * ```
473
+ * {
467
474
  * "description": "description",
468
475
  * "expand": "notificationSchemeEvents,user,group,projectRole,field,all",
469
476
  * "id": 10100,
@@ -481,8 +488,7 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
481
488
  * "group": {
482
489
  * "groupId": "276f955c-63d7-42c8-9520-92d01dca0625",
483
490
  * "name": "jira-administrators",
484
- * "self":
485
- * "https://your-domain.atlassian.net/rest/api/3/group?groupId=276f955c-63d7-42c8-9520-92d01dca0625"
491
+ * "self": "https://your-domain.atlassian.net/rest/api/3/group?groupId=276f955c-63d7-42c8-9520-92d01dca0625"
486
492
  * },
487
493
  * "id": 1,
488
494
  * "notificationType": "Group",
@@ -499,12 +505,10 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
499
505
  * "notificationType": "ProjectRole",
500
506
  * "parameter": "10360",
501
507
  * "projectRole": {
502
- * "self":
503
- * "https://your-domain.atlassian.net/rest/api/3/project/MKY/role/10360",
508
+ * "self": "https://your-domain.atlassian.net/rest/api/3/project/MKY/role/10360",
504
509
  * "name": "Developers",
505
510
  * "id": 10360,
506
- * "description": "A project role that represents developers in a
507
- * project",
511
+ * "description": "A project role that represents developers in a project",
508
512
  * "actors": [
509
513
  * {
510
514
  * "actorGroup": {
@@ -554,8 +558,7 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
554
558
  * "accountId": "5b10a2844c20165700ede21g",
555
559
  * "active": false,
556
560
  * "displayName": "Mia Krystof",
557
- * "self":
558
- * "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
561
+ * "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
559
562
  * }
560
563
  * },
561
564
  * {
@@ -572,8 +575,7 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
572
575
  * "navigable": true,
573
576
  * "orderable": true,
574
577
  * "schema": {
575
- * "custom":
576
- * "com.atlassian.jira.plugin.system.customfieldtypes:project",
578
+ * "custom": "com.atlassian.jira.plugin.system.customfieldtypes:project",
577
579
  * "customId": 10101,
578
580
  * "type": "project"
579
581
  * },
@@ -589,8 +591,7 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
589
591
  * },
590
592
  * {
591
593
  * "event": {
592
- * "description": "Custom event that is published together with an issue
593
- * created event",
594
+ * "description": "Custom event that is published together with an issue created event",
594
595
  * "id": 20,
595
596
  * "name": "Custom event",
596
597
  * "templateEvent": {
@@ -605,8 +606,7 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
605
606
  * "group": {
606
607
  * "groupId": "276f955c-63d7-42c8-9520-92d01dca0625",
607
608
  * "name": "jira-administrators",
608
- * "self":
609
- * "https://your-domain.atlassian.net/rest/api/3/group?groupId=276f955c-63d7-42c8-9520-92d01dca0625"
609
+ * "self": "https://your-domain.atlassian.net/rest/api/3/group?groupId=276f955c-63d7-42c8-9520-92d01dca0625"
610
610
  * },
611
611
  * "id": 1,
612
612
  * "notificationType": "Group",
@@ -623,12 +623,10 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
623
623
  * "notificationType": "ProjectRole",
624
624
  * "parameter": "10360",
625
625
  * "projectRole": {
626
- * "self":
627
- * "https://your-domain.atlassian.net/rest/api/3/project/MKY/role/10360",
626
+ * "self": "https://your-domain.atlassian.net/rest/api/3/project/MKY/role/10360",
628
627
  * "name": "Developers",
629
628
  * "id": 10360,
630
- * "description": "A project role that represents developers in a
631
- * project",
629
+ * "description": "A project role that represents developers in a project",
632
630
  * "actors": [
633
631
  * {
634
632
  * "actorGroup": {
@@ -678,8 +676,7 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
678
676
  * "accountId": "5b10a2844c20165700ede21g",
679
677
  * "active": false,
680
678
  * "displayName": "Mia Krystof",
681
- * "self":
682
- * "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
679
+ * "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
683
680
  * }
684
681
  * },
685
682
  * {
@@ -696,8 +693,7 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
696
693
  * "navigable": true,
697
694
  * "orderable": true,
698
695
  * "schema": {
699
- * "custom":
700
- * "com.atlassian.jira.plugin.system.customfieldtypes:project",
696
+ * "custom": "com.atlassian.jira.plugin.system.customfieldtypes:project",
701
697
  * "customId": 10101,
702
698
  * "type": "project"
703
699
  * },
@@ -718,12 +714,12 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
718
714
  * ],
719
715
  * "self": "https://your-domain.atlassian.net/rest/api/3/notificationscheme"
720
716
  * }
721
- * @path {GET} /rest/api/3/project/{projectKeyOrId}/notificationscheme
717
+ * ```
718
+ * @path GET `/rest/api/3/project/{projectKeyOrId}/notificationscheme`
722
719
  * @scopes-current read:jira-work
723
- * @scopes-beta read:project-category:jira, read:project-role:jira, read:project:jira,
724
- * read:user:jira, read:group:jira, read:field:jira, read:avatar:jira,
725
- * read:field-configuration:jira, read:notification-scheme:jira
720
+ * @scopes-beta read:project-category:jira, read:project-role:jira, read:project:jira, read:user:jira, read:group:jira, read:field:jira, read:avatar:jira, read:field-configuration:jira, read:notification-scheme:jira
726
721
  * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-projects#api-rest-api-3-project-projectkeyorid-notificationscheme-get
722
+ * @param params
727
723
  */
728
724
  this.getNotificationSchemeForProject = ({ projectKeyOrId, expand, }) => {
729
725
  return this.getClientInstance()
@@ -757,41 +753,33 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
757
753
  *
758
754
  * @returns Returned if successful.
759
755
  *
760
- * example: {
756
+ * example:
757
+ * ```
758
+ * {
761
759
  * "assigneeType": "PROJECT_LEAD",
762
760
  * "avatarUrls": {
763
- * "16x16":
764
- * "https://your-domain.atlassian.net/secure/projectavatar?size=xsmall&pid=10000",
765
- * "24x24":
766
- * "https://your-domain.atlassian.net/secure/projectavatar?size=small&pid=10000",
767
- * "32x32":
768
- * "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10000",
769
- * "48x48":
770
- * "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10000"
761
+ * "16x16": "https://your-domain.atlassian.net/secure/projectavatar?size=xsmall&pid=10000",
762
+ * "24x24": "https://your-domain.atlassian.net/secure/projectavatar?size=small&pid=10000",
763
+ * "32x32": "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10000",
764
+ * "48x48": "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10000"
771
765
  * },
772
766
  * "components": [
773
767
  * {
774
- * "ari":
775
- * "ari:cloud:compass:fdb3fdec-4e70-be56-11ee-0242ac120002:component/fdb3fdec-4e70-11ee-be56-0242ac120002/fdb3fdec-11ee-4e70-be56-0242ac120002",
768
+ * "ari": "ari:cloud:compass:fdb3fdec-4e70-be56-11ee-0242ac120002:component/fdb3fdec-4e70-11ee-be56-0242ac120002/fdb3fdec-11ee-4e70-be56-0242ac120002",
776
769
  * "assignee": {
777
770
  * "accountId": "5b10a2844c20165700ede21g",
778
771
  * "accountType": "atlassian",
779
772
  * "active": false,
780
773
  * "avatarUrls": {
781
- * "16x16":
782
- * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
783
- * "24x24":
784
- * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
785
- * "32x32":
786
- * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
787
- * "48x48":
788
- * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
774
+ * "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
775
+ * "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
776
+ * "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
777
+ * "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
789
778
  * },
790
779
  * "displayName": "Mia Krystof",
791
780
  * "key": "",
792
781
  * "name": "",
793
- * "self":
794
- * "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
782
+ * "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
795
783
  * },
796
784
  * "assigneeType": "PROJECT_LEAD",
797
785
  * "description": "This is a Jira component",
@@ -802,20 +790,15 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
802
790
  * "accountType": "atlassian",
803
791
  * "active": false,
804
792
  * "avatarUrls": {
805
- * "16x16":
806
- * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
807
- * "24x24":
808
- * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
809
- * "32x32":
810
- * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
811
- * "48x48":
812
- * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
793
+ * "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
794
+ * "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
795
+ * "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
796
+ * "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
813
797
  * },
814
798
  * "displayName": "Mia Krystof",
815
799
  * "key": "",
816
800
  * "name": "",
817
- * "self":
818
- * "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
801
+ * "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
819
802
  * },
820
803
  * "metadata": {
821
804
  * "icon": "https://www.example.com/icon.png"
@@ -828,20 +811,15 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
828
811
  * "accountType": "atlassian",
829
812
  * "active": false,
830
813
  * "avatarUrls": {
831
- * "16x16":
832
- * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
833
- * "24x24":
834
- * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
835
- * "32x32":
836
- * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
837
- * "48x48":
838
- * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
814
+ * "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
815
+ * "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
816
+ * "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
817
+ * "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
839
818
  * },
840
819
  * "displayName": "Mia Krystof",
841
820
  * "key": "",
842
821
  * "name": "",
843
- * "self":
844
- * "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
822
+ * "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
845
823
  * },
846
824
  * "realAssigneeType": "PROJECT_LEAD",
847
825
  * "self": "https://your-domain.atlassian.net/rest/api/3/component/10000"
@@ -859,8 +837,7 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
859
837
  * "avatarId": 1,
860
838
  * "description": "A task that needs to be done.",
861
839
  * "hierarchyLevel": 0,
862
- * "iconUrl":
863
- * "https://your-domain.atlassian.net/secure/viewavatar?size=xsmall&avatarId=10299&avatarType=issuetype\",",
840
+ * "iconUrl": "https://your-domain.atlassian.net/secure/viewavatar?size=xsmall&avatarId=10299&avatarType=issuetype\",",
864
841
  * "id": "3",
865
842
  * "name": "Task",
866
843
  * "self": "https://your-domain.atlassian.net/rest/api/3/issueType/3",
@@ -871,8 +848,7 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
871
848
  * "description": "A problem with the software.",
872
849
  * "entityId": "9d7dd6f7-e8b6-4247-954b-7b2c9b2a5ba2",
873
850
  * "hierarchyLevel": 0,
874
- * "iconUrl":
875
- * "https://your-domain.atlassian.net/secure/viewavatar?size=xsmall&avatarId=10316&avatarType=issuetype\",",
851
+ * "iconUrl": "https://your-domain.atlassian.net/secure/viewavatar?size=xsmall&avatarId=10316&avatarType=issuetype\",",
876
852
  * "id": "1",
877
853
  * "name": "Bug",
878
854
  * "scope": {
@@ -891,20 +867,15 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
891
867
  * "accountType": "atlassian",
892
868
  * "active": false,
893
869
  * "avatarUrls": {
894
- * "16x16":
895
- * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
896
- * "24x24":
897
- * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
898
- * "32x32":
899
- * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
900
- * "48x48":
901
- * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
870
+ * "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
871
+ * "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
872
+ * "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
873
+ * "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
902
874
  * },
903
875
  * "displayName": "Mia Krystof",
904
876
  * "key": "",
905
877
  * "name": "",
906
- * "self":
907
- * "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
878
+ * "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
908
879
  * },
909
880
  * "name": "Example",
910
881
  * "projectCategory": {
@@ -917,8 +888,7 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
917
888
  * "propertyKey": "propertyValue"
918
889
  * },
919
890
  * "roles": {
920
- * "Developers":
921
- * "https://your-domain.atlassian.net/rest/api/3/project/EX/role/10000"
891
+ * "Developers": "https://your-domain.atlassian.net/rest/api/3/project/EX/role/10000"
922
892
  * },
923
893
  * "self": "https://your-domain.atlassian.net/rest/api/3/project/EX",
924
894
  * "simplified": false,
@@ -926,13 +896,12 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
926
896
  * "url": "https://www.example.com",
927
897
  * "versions": []
928
898
  * }
929
- * @path {GET} /rest/api/3/project/{projectIdOrKey}
899
+ * ```
900
+ * @path GET `/rest/api/3/project/{projectIdOrKey}`
930
901
  * @scopes-current read:jira-work
931
- * @scopes-beta read:issue-type:jira, read:project:jira, read:project.property:jira,
932
- * read:user:jira, read:application-role:jira, read:avatar:jira, read:group:jira,
933
- * read:issue-type-hierarchy:jira, read:project-category:jira,
934
- * read:project-version:jira, read:project.component:jira
902
+ * @scopes-beta read:issue-type:jira, read:project:jira, read:project.property:jira, read:user:jira, read:application-role:jira, read:avatar:jira, read:group:jira, read:issue-type-hierarchy:jira, read:project-category:jira, read:project-version:jira, read:project.component:jira
935
903
  * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-projects#api-rest-api-3-project-projectidorkey-get
904
+ * @param params
936
905
  */
937
906
  this.getProject = ({ projectIdOrKey, expand, properties, }) => {
938
907
  return this.getClientInstance()
@@ -974,17 +943,15 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
974
943
  *
975
944
  * @returns Returned if the request is successful.
976
945
  *
977
- * example: [
946
+ * example:
947
+ * ```
948
+ * [
978
949
  * {
979
950
  * "avatarUrls": {
980
- * "16x16":
981
- * "https://your-domain.atlassian.net/secure/projectavatar?size=xsmall&pid=10000",
982
- * "24x24":
983
- * "https://your-domain.atlassian.net/secure/projectavatar?size=small&pid=10000",
984
- * "32x32":
985
- * "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10000",
986
- * "48x48":
987
- * "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10000"
951
+ * "16x16": "https://your-domain.atlassian.net/secure/projectavatar?size=xsmall&pid=10000",
952
+ * "24x24": "https://your-domain.atlassian.net/secure/projectavatar?size=small&pid=10000",
953
+ * "32x32": "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10000",
954
+ * "48x48": "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10000"
988
955
  * },
989
956
  * "id": "10000",
990
957
  * "insight": {
@@ -997,8 +964,7 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
997
964
  * "description": "First Project Category",
998
965
  * "id": "10000",
999
966
  * "name": "FIRST",
1000
- * "self":
1001
- * "https://your-domain.atlassian.net/rest/api/3/projectCategory/10000"
967
+ * "self": "https://your-domain.atlassian.net/rest/api/3/projectCategory/10000"
1002
968
  * },
1003
969
  * "self": "https://your-domain.atlassian.net/rest/api/3/project/EX",
1004
970
  * "simplified": false,
@@ -1006,14 +972,10 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
1006
972
  * },
1007
973
  * {
1008
974
  * "avatarUrls": {
1009
- * "16x16":
1010
- * "https://your-domain.atlassian.net/secure/projectavatar?size=xsmall&pid=10001",
1011
- * "24x24":
1012
- * "https://your-domain.atlassian.net/secure/projectavatar?size=small&pid=10001",
1013
- * "32x32":
1014
- * "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10001",
1015
- * "48x48":
1016
- * "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10001"
975
+ * "16x16": "https://your-domain.atlassian.net/secure/projectavatar?size=xsmall&pid=10001",
976
+ * "24x24": "https://your-domain.atlassian.net/secure/projectavatar?size=small&pid=10001",
977
+ * "32x32": "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10001",
978
+ * "48x48": "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10001"
1017
979
  * },
1018
980
  * "id": "10001",
1019
981
  * "insight": {
@@ -1026,21 +988,19 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
1026
988
  * "description": "First Project Category",
1027
989
  * "id": "10000",
1028
990
  * "name": "FIRST",
1029
- * "self":
1030
- * "https://your-domain.atlassian.net/rest/api/3/projectCategory/10000"
991
+ * "self": "https://your-domain.atlassian.net/rest/api/3/projectCategory/10000"
1031
992
  * },
1032
993
  * "self": "https://your-domain.atlassian.net/rest/api/3/project/ABC",
1033
994
  * "simplified": false,
1034
995
  * "style": "CLASSIC"
1035
996
  * }
1036
997
  * ]
1037
- * @path {GET} /rest/api/3/project/recent
998
+ * ```
999
+ * @path GET `/rest/api/3/project/recent`
1038
1000
  * @scopes-current read:jira-work
1039
- * @scopes-beta read:issue-type:jira, read:project:jira, read:project.property:jira,
1040
- * read:user:jira, read:application-role:jira, read:avatar:jira, read:group:jira,
1041
- * read:issue-type-hierarchy:jira, read:project-category:jira,
1042
- * read:project-version:jira, read:project.component:jira
1001
+ * @scopes-beta read:issue-type:jira, read:project:jira, read:project.property:jira, read:user:jira, read:application-role:jira, read:avatar:jira, read:group:jira, read:issue-type-hierarchy:jira, read:project-category:jira, read:project-version:jira, read:project.component:jira
1043
1002
  * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-projects#api-rest-api-3-project-recent-get
1003
+ * @param params
1044
1004
  */
1045
1005
  this.getRecent = ({ expand, properties, } = {}) => {
1046
1006
  return this.getClientInstance()
@@ -1076,41 +1036,33 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
1076
1036
  *
1077
1037
  * @returns Returned if the request is successful.
1078
1038
  *
1079
- * example: {
1039
+ * example:
1040
+ * ```
1041
+ * {
1080
1042
  * "assigneeType": "PROJECT_LEAD",
1081
1043
  * "avatarUrls": {
1082
- * "16x16":
1083
- * "https://your-domain.atlassian.net/secure/projectavatar?size=xsmall&pid=10000",
1084
- * "24x24":
1085
- * "https://your-domain.atlassian.net/secure/projectavatar?size=small&pid=10000",
1086
- * "32x32":
1087
- * "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10000",
1088
- * "48x48":
1089
- * "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10000"
1044
+ * "16x16": "https://your-domain.atlassian.net/secure/projectavatar?size=xsmall&pid=10000",
1045
+ * "24x24": "https://your-domain.atlassian.net/secure/projectavatar?size=small&pid=10000",
1046
+ * "32x32": "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10000",
1047
+ * "48x48": "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10000"
1090
1048
  * },
1091
1049
  * "components": [
1092
1050
  * {
1093
- * "ari":
1094
- * "ari:cloud:compass:fdb3fdec-4e70-be56-11ee-0242ac120002:component/fdb3fdec-4e70-11ee-be56-0242ac120002/fdb3fdec-11ee-4e70-be56-0242ac120002",
1051
+ * "ari": "ari:cloud:compass:fdb3fdec-4e70-be56-11ee-0242ac120002:component/fdb3fdec-4e70-11ee-be56-0242ac120002/fdb3fdec-11ee-4e70-be56-0242ac120002",
1095
1052
  * "assignee": {
1096
1053
  * "accountId": "5b10a2844c20165700ede21g",
1097
1054
  * "accountType": "atlassian",
1098
1055
  * "active": false,
1099
1056
  * "avatarUrls": {
1100
- * "16x16":
1101
- * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
1102
- * "24x24":
1103
- * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
1104
- * "32x32":
1105
- * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
1106
- * "48x48":
1107
- * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
1057
+ * "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
1058
+ * "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
1059
+ * "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
1060
+ * "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
1108
1061
  * },
1109
1062
  * "displayName": "Mia Krystof",
1110
1063
  * "key": "",
1111
1064
  * "name": "",
1112
- * "self":
1113
- * "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
1065
+ * "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
1114
1066
  * },
1115
1067
  * "assigneeType": "PROJECT_LEAD",
1116
1068
  * "description": "This is a Jira component",
@@ -1121,20 +1073,15 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
1121
1073
  * "accountType": "atlassian",
1122
1074
  * "active": false,
1123
1075
  * "avatarUrls": {
1124
- * "16x16":
1125
- * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
1126
- * "24x24":
1127
- * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
1128
- * "32x32":
1129
- * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
1130
- * "48x48":
1131
- * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
1076
+ * "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
1077
+ * "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
1078
+ * "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
1079
+ * "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
1132
1080
  * },
1133
1081
  * "displayName": "Mia Krystof",
1134
1082
  * "key": "",
1135
1083
  * "name": "",
1136
- * "self":
1137
- * "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
1084
+ * "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
1138
1085
  * },
1139
1086
  * "metadata": {
1140
1087
  * "icon": "https://www.example.com/icon.png"
@@ -1147,20 +1094,15 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
1147
1094
  * "accountType": "atlassian",
1148
1095
  * "active": false,
1149
1096
  * "avatarUrls": {
1150
- * "16x16":
1151
- * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
1152
- * "24x24":
1153
- * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
1154
- * "32x32":
1155
- * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
1156
- * "48x48":
1157
- * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
1097
+ * "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
1098
+ * "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
1099
+ * "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
1100
+ * "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
1158
1101
  * },
1159
1102
  * "displayName": "Mia Krystof",
1160
1103
  * "key": "",
1161
1104
  * "name": "",
1162
- * "self":
1163
- * "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
1105
+ * "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
1164
1106
  * },
1165
1107
  * "realAssigneeType": "PROJECT_LEAD",
1166
1108
  * "self": "https://your-domain.atlassian.net/rest/api/3/component/10000"
@@ -1178,8 +1120,7 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
1178
1120
  * "avatarId": 1,
1179
1121
  * "description": "A task that needs to be done.",
1180
1122
  * "hierarchyLevel": 0,
1181
- * "iconUrl":
1182
- * "https://your-domain.atlassian.net/secure/viewavatar?size=xsmall&avatarId=10299&avatarType=issuetype\",",
1123
+ * "iconUrl": "https://your-domain.atlassian.net/secure/viewavatar?size=xsmall&avatarId=10299&avatarType=issuetype\",",
1183
1124
  * "id": "3",
1184
1125
  * "name": "Task",
1185
1126
  * "self": "https://your-domain.atlassian.net/rest/api/3/issueType/3",
@@ -1190,8 +1131,7 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
1190
1131
  * "description": "A problem with the software.",
1191
1132
  * "entityId": "9d7dd6f7-e8b6-4247-954b-7b2c9b2a5ba2",
1192
1133
  * "hierarchyLevel": 0,
1193
- * "iconUrl":
1194
- * "https://your-domain.atlassian.net/secure/viewavatar?size=xsmall&avatarId=10316&avatarType=issuetype\",",
1134
+ * "iconUrl": "https://your-domain.atlassian.net/secure/viewavatar?size=xsmall&avatarId=10316&avatarType=issuetype\",",
1195
1135
  * "id": "1",
1196
1136
  * "name": "Bug",
1197
1137
  * "scope": {
@@ -1210,20 +1150,15 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
1210
1150
  * "accountType": "atlassian",
1211
1151
  * "active": false,
1212
1152
  * "avatarUrls": {
1213
- * "16x16":
1214
- * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
1215
- * "24x24":
1216
- * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
1217
- * "32x32":
1218
- * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
1219
- * "48x48":
1220
- * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
1153
+ * "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
1154
+ * "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
1155
+ * "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
1156
+ * "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
1221
1157
  * },
1222
1158
  * "displayName": "Mia Krystof",
1223
1159
  * "key": "",
1224
1160
  * "name": "",
1225
- * "self":
1226
- * "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
1161
+ * "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
1227
1162
  * },
1228
1163
  * "name": "Example",
1229
1164
  * "projectCategory": {
@@ -1236,8 +1171,7 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
1236
1171
  * "propertyKey": "propertyValue"
1237
1172
  * },
1238
1173
  * "roles": {
1239
- * "Developers":
1240
- * "https://your-domain.atlassian.net/rest/api/3/project/EX/role/10000"
1174
+ * "Developers": "https://your-domain.atlassian.net/rest/api/3/project/EX/role/10000"
1241
1175
  * },
1242
1176
  * "self": "https://your-domain.atlassian.net/rest/api/3/project/EX",
1243
1177
  * "simplified": false,
@@ -1245,14 +1179,12 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
1245
1179
  * "url": "https://www.example.com",
1246
1180
  * "versions": []
1247
1181
  * }
1248
- * @path {POST} /rest/api/3/project/{projectIdOrKey}/restore
1182
+ * ```
1183
+ * @path POST `/rest/api/3/project/{projectIdOrKey}/restore`
1249
1184
  * @scopes-current manage:jira-configuration
1250
- * @scopes-beta read:issue-type:jira, read:project:jira, read:project.property:jira,
1251
- * read:user:jira, write:project:jira, read:application-role:jira,
1252
- * read:avatar:jira, read:group:jira, read:issue-type-hierarchy:jira,
1253
- * read:project-category:jira, read:project-version:jira,
1254
- * read:project.component:jira
1185
+ * @scopes-beta read:issue-type:jira, read:project:jira, read:project.property:jira, read:user:jira, write:project:jira, read:application-role:jira, read:avatar:jira, read:group:jira, read:issue-type-hierarchy:jira, read:project-category:jira, read:project-version:jira, read:project.component:jira
1255
1186
  * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-projects#api-rest-api-3-project-projectidorkey-restore-post
1187
+ * @param params
1256
1188
  */
1257
1189
  this.restore = ({ projectIdOrKey, }) => {
1258
1190
  return this.getClientInstance()
@@ -1289,26 +1221,22 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
1289
1221
  *
1290
1222
  * @returns Returned if the request is successful.
1291
1223
  *
1292
- * example: {
1224
+ * example:
1225
+ * ```
1226
+ * {
1293
1227
  * "isLast": false,
1294
1228
  * "maxResults": 2,
1295
- * "nextPage":
1296
- * "https://your-domain.atlassian.net/rest/api/3/project/search?startAt=2&maxResults=2",
1297
- * "self":
1298
- * "https://your-domain.atlassian.net/rest/api/3/project/search?startAt=0&maxResults=2",
1229
+ * "nextPage": "https://your-domain.atlassian.net/rest/api/3/project/search?startAt=2&maxResults=2",
1230
+ * "self": "https://your-domain.atlassian.net/rest/api/3/project/search?startAt=0&maxResults=2",
1299
1231
  * "startAt": 0,
1300
1232
  * "total": 7,
1301
1233
  * "values": [
1302
1234
  * {
1303
1235
  * "avatarUrls": {
1304
- * "16x16":
1305
- * "https://your-domain.atlassian.net/secure/projectavatar?size=xsmall&pid=10000",
1306
- * "24x24":
1307
- * "https://your-domain.atlassian.net/secure/projectavatar?size=small&pid=10000",
1308
- * "32x32":
1309
- * "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10000",
1310
- * "48x48":
1311
- * "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10000"
1236
+ * "16x16": "https://your-domain.atlassian.net/secure/projectavatar?size=xsmall&pid=10000",
1237
+ * "24x24": "https://your-domain.atlassian.net/secure/projectavatar?size=small&pid=10000",
1238
+ * "32x32": "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10000",
1239
+ * "48x48": "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10000"
1312
1240
  * },
1313
1241
  * "id": "10000",
1314
1242
  * "insight": {
@@ -1321,8 +1249,7 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
1321
1249
  * "description": "First Project Category",
1322
1250
  * "id": "10000",
1323
1251
  * "name": "FIRST",
1324
- * "self":
1325
- * "https://your-domain.atlassian.net/rest/api/3/projectCategory/10000"
1252
+ * "self": "https://your-domain.atlassian.net/rest/api/3/projectCategory/10000"
1326
1253
  * },
1327
1254
  * "self": "https://your-domain.atlassian.net/rest/api/3/project/EX",
1328
1255
  * "simplified": false,
@@ -1330,14 +1257,10 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
1330
1257
  * },
1331
1258
  * {
1332
1259
  * "avatarUrls": {
1333
- * "16x16":
1334
- * "https://your-domain.atlassian.net/secure/projectavatar?size=xsmall&pid=10001",
1335
- * "24x24":
1336
- * "https://your-domain.atlassian.net/secure/projectavatar?size=small&pid=10001",
1337
- * "32x32":
1338
- * "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10001",
1339
- * "48x48":
1340
- * "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10001"
1260
+ * "16x16": "https://your-domain.atlassian.net/secure/projectavatar?size=xsmall&pid=10001",
1261
+ * "24x24": "https://your-domain.atlassian.net/secure/projectavatar?size=small&pid=10001",
1262
+ * "32x32": "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10001",
1263
+ * "48x48": "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10001"
1341
1264
  * },
1342
1265
  * "id": "10001",
1343
1266
  * "insight": {
@@ -1350,8 +1273,7 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
1350
1273
  * "description": "First Project Category",
1351
1274
  * "id": "10000",
1352
1275
  * "name": "FIRST",
1353
- * "self":
1354
- * "https://your-domain.atlassian.net/rest/api/3/projectCategory/10000"
1276
+ * "self": "https://your-domain.atlassian.net/rest/api/3/projectCategory/10000"
1355
1277
  * },
1356
1278
  * "self": "https://your-domain.atlassian.net/rest/api/3/project/ABC",
1357
1279
  * "simplified": false,
@@ -1359,13 +1281,12 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
1359
1281
  * }
1360
1282
  * ]
1361
1283
  * }
1362
- * @path {GET} /rest/api/3/project/search
1284
+ * ```
1285
+ * @path GET `/rest/api/3/project/search`
1363
1286
  * @scopes-current read:jira-work
1364
- * @scopes-beta read:issue-type:jira, read:project:jira, read:project.property:jira,
1365
- * read:user:jira, read:application-role:jira, read:avatar:jira, read:group:jira,
1366
- * read:issue-type-hierarchy:jira, read:project-category:jira,
1367
- * read:project-version:jira, read:project.component:jira
1287
+ * @scopes-beta read:issue-type:jira, read:project:jira, read:project.property:jira, read:user:jira, read:application-role:jira, read:avatar:jira, read:group:jira, read:issue-type-hierarchy:jira, read:project-category:jira, read:project-version:jira, read:project.component:jira
1368
1288
  * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-projects#api-rest-api-3-project-search-get
1289
+ * @param params
1369
1290
  */
1370
1291
  this.searchProjects = ({ startAt, maxResults, orderBy, id, keys, query, typeKey, categoryId, action, expand, status, properties, propertyQuery, } = {}) => {
1371
1292
  return this.getClientInstance()
@@ -1412,41 +1333,33 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
1412
1333
  *
1413
1334
  * @returns Returned if the project is updated.
1414
1335
  *
1415
- * example: {
1336
+ * example:
1337
+ * ```
1338
+ * {
1416
1339
  * "assigneeType": "PROJECT_LEAD",
1417
1340
  * "avatarUrls": {
1418
- * "16x16":
1419
- * "https://your-domain.atlassian.net/secure/projectavatar?size=xsmall&pid=10000",
1420
- * "24x24":
1421
- * "https://your-domain.atlassian.net/secure/projectavatar?size=small&pid=10000",
1422
- * "32x32":
1423
- * "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10000",
1424
- * "48x48":
1425
- * "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10000"
1341
+ * "16x16": "https://your-domain.atlassian.net/secure/projectavatar?size=xsmall&pid=10000",
1342
+ * "24x24": "https://your-domain.atlassian.net/secure/projectavatar?size=small&pid=10000",
1343
+ * "32x32": "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10000",
1344
+ * "48x48": "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10000"
1426
1345
  * },
1427
1346
  * "components": [
1428
1347
  * {
1429
- * "ari":
1430
- * "ari:cloud:compass:fdb3fdec-4e70-be56-11ee-0242ac120002:component/fdb3fdec-4e70-11ee-be56-0242ac120002/fdb3fdec-11ee-4e70-be56-0242ac120002",
1348
+ * "ari": "ari:cloud:compass:fdb3fdec-4e70-be56-11ee-0242ac120002:component/fdb3fdec-4e70-11ee-be56-0242ac120002/fdb3fdec-11ee-4e70-be56-0242ac120002",
1431
1349
  * "assignee": {
1432
1350
  * "accountId": "5b10a2844c20165700ede21g",
1433
1351
  * "accountType": "atlassian",
1434
1352
  * "active": false,
1435
1353
  * "avatarUrls": {
1436
- * "16x16":
1437
- * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
1438
- * "24x24":
1439
- * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
1440
- * "32x32":
1441
- * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
1442
- * "48x48":
1443
- * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
1354
+ * "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
1355
+ * "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
1356
+ * "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
1357
+ * "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
1444
1358
  * },
1445
1359
  * "displayName": "Mia Krystof",
1446
1360
  * "key": "",
1447
1361
  * "name": "",
1448
- * "self":
1449
- * "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
1362
+ * "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
1450
1363
  * },
1451
1364
  * "assigneeType": "PROJECT_LEAD",
1452
1365
  * "description": "This is a Jira component",
@@ -1457,20 +1370,15 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
1457
1370
  * "accountType": "atlassian",
1458
1371
  * "active": false,
1459
1372
  * "avatarUrls": {
1460
- * "16x16":
1461
- * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
1462
- * "24x24":
1463
- * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
1464
- * "32x32":
1465
- * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
1466
- * "48x48":
1467
- * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
1373
+ * "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
1374
+ * "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
1375
+ * "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
1376
+ * "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
1468
1377
  * },
1469
1378
  * "displayName": "Mia Krystof",
1470
1379
  * "key": "",
1471
1380
  * "name": "",
1472
- * "self":
1473
- * "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
1381
+ * "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
1474
1382
  * },
1475
1383
  * "metadata": {
1476
1384
  * "icon": "https://www.example.com/icon.png"
@@ -1483,20 +1391,15 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
1483
1391
  * "accountType": "atlassian",
1484
1392
  * "active": false,
1485
1393
  * "avatarUrls": {
1486
- * "16x16":
1487
- * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
1488
- * "24x24":
1489
- * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
1490
- * "32x32":
1491
- * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
1492
- * "48x48":
1493
- * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
1394
+ * "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
1395
+ * "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
1396
+ * "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
1397
+ * "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
1494
1398
  * },
1495
1399
  * "displayName": "Mia Krystof",
1496
1400
  * "key": "",
1497
1401
  * "name": "",
1498
- * "self":
1499
- * "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
1402
+ * "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
1500
1403
  * },
1501
1404
  * "realAssigneeType": "PROJECT_LEAD",
1502
1405
  * "self": "https://your-domain.atlassian.net/rest/api/3/component/10000"
@@ -1514,8 +1417,7 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
1514
1417
  * "avatarId": 1,
1515
1418
  * "description": "A task that needs to be done.",
1516
1419
  * "hierarchyLevel": 0,
1517
- * "iconUrl":
1518
- * "https://your-domain.atlassian.net/secure/viewavatar?size=xsmall&avatarId=10299&avatarType=issuetype\",",
1420
+ * "iconUrl": "https://your-domain.atlassian.net/secure/viewavatar?size=xsmall&avatarId=10299&avatarType=issuetype\",",
1519
1421
  * "id": "3",
1520
1422
  * "name": "Task",
1521
1423
  * "self": "https://your-domain.atlassian.net/rest/api/3/issueType/3",
@@ -1526,8 +1428,7 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
1526
1428
  * "description": "A problem with the software.",
1527
1429
  * "entityId": "9d7dd6f7-e8b6-4247-954b-7b2c9b2a5ba2",
1528
1430
  * "hierarchyLevel": 0,
1529
- * "iconUrl":
1530
- * "https://your-domain.atlassian.net/secure/viewavatar?size=xsmall&avatarId=10316&avatarType=issuetype\",",
1431
+ * "iconUrl": "https://your-domain.atlassian.net/secure/viewavatar?size=xsmall&avatarId=10316&avatarType=issuetype\",",
1531
1432
  * "id": "1",
1532
1433
  * "name": "Bug",
1533
1434
  * "scope": {
@@ -1546,20 +1447,15 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
1546
1447
  * "accountType": "atlassian",
1547
1448
  * "active": false,
1548
1449
  * "avatarUrls": {
1549
- * "16x16":
1550
- * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
1551
- * "24x24":
1552
- * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
1553
- * "32x32":
1554
- * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
1555
- * "48x48":
1556
- * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
1450
+ * "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
1451
+ * "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
1452
+ * "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
1453
+ * "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
1557
1454
  * },
1558
1455
  * "displayName": "Mia Krystof",
1559
1456
  * "key": "",
1560
1457
  * "name": "",
1561
- * "self":
1562
- * "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
1458
+ * "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
1563
1459
  * },
1564
1460
  * "name": "Example",
1565
1461
  * "projectCategory": {
@@ -1572,8 +1468,7 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
1572
1468
  * "propertyKey": "propertyValue"
1573
1469
  * },
1574
1470
  * "roles": {
1575
- * "Developers":
1576
- * "https://your-domain.atlassian.net/rest/api/3/project/EX/role/10000"
1471
+ * "Developers": "https://your-domain.atlassian.net/rest/api/3/project/EX/role/10000"
1577
1472
  * },
1578
1473
  * "self": "https://your-domain.atlassian.net/rest/api/3/project/EX",
1579
1474
  * "simplified": false,
@@ -1581,14 +1476,12 @@ class ProjectsService extends CommonHttpService_1.CommonHttpService {
1581
1476
  * "url": "https://www.example.com",
1582
1477
  * "versions": []
1583
1478
  * }
1584
- * @path {PUT} /rest/api/3/project/{projectIdOrKey}
1479
+ * ```
1480
+ * @path PUT `/rest/api/3/project/{projectIdOrKey}`
1585
1481
  * @scopes-current manage:jira-project
1586
- * @scopes-beta read:issue-type:jira, read:project:jira, read:project.property:jira,
1587
- * read:user:jira, write:project:jira, write:project.avatar:jira,
1588
- * read:application-role:jira, read:avatar:jira, read:group:jira,
1589
- * read:issue-type-hierarchy:jira, read:project-category:jira,
1590
- * read:project-version:jira, read:project.component:jira
1482
+ * @scopes-beta read:issue-type:jira, read:project:jira, read:project.property:jira, read:user:jira, write:project:jira, write:project.avatar:jira, read:application-role:jira, read:avatar:jira, read:group:jira, read:issue-type-hierarchy:jira, read:project-category:jira, read:project-version:jira, read:project.component:jira
1591
1483
  * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-projects#api-rest-api-3-project-projectidorkey-put
1484
+ * @param params
1592
1485
  */
1593
1486
  this.updateProject = ({ projectIdOrKey, expand, updateProjectDetails, }) => {
1594
1487
  return this.getClientInstance()