@resolution/jira-api-client 0.4.2 → 0.4.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (327) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/README.md +4 -0
  3. package/lib/openapi/platform/BaseJiraPlatformApiClient.d.ts +28 -4
  4. package/lib/openapi/platform/BaseJiraPlatformApiClient.js +24 -1
  5. package/lib/openapi/platform/BaseJiraPlatformApiClient.js.map +1 -1
  6. package/lib/openapi/platform/models/common.d.ts +6 -0
  7. package/lib/openapi/platform/models/common.js +12 -1
  8. package/lib/openapi/platform/models/common.js.map +1 -1
  9. package/lib/openapi/platform/models/dynamicModules.d.ts +0 -9
  10. package/lib/openapi/platform/models/dynamicModules.js +0 -6
  11. package/lib/openapi/platform/models/dynamicModules.js.map +1 -1
  12. package/lib/openapi/platform/models/issueBulkOperations.d.ts +547 -0
  13. package/lib/openapi/platform/models/issueBulkOperations.js +437 -0
  14. package/lib/openapi/platform/models/issueBulkOperations.js.map +1 -0
  15. package/lib/openapi/platform/services/AnnouncementBannerService.d.ts +3 -3
  16. package/lib/openapi/platform/services/AnnouncementBannerService.js +65 -62
  17. package/lib/openapi/platform/services/AnnouncementBannerService.js.map +1 -1
  18. package/lib/openapi/platform/services/AppDataPoliciesService.d.ts +4 -4
  19. package/lib/openapi/platform/services/AppDataPoliciesService.js +70 -67
  20. package/lib/openapi/platform/services/AppDataPoliciesService.js.map +1 -1
  21. package/lib/openapi/platform/services/AppMigrationService.d.ts +6 -6
  22. package/lib/openapi/platform/services/AppMigrationService.js +139 -136
  23. package/lib/openapi/platform/services/AppMigrationService.js.map +1 -1
  24. package/lib/openapi/platform/services/AppPropertiesService.d.ts +12 -12
  25. package/lib/openapi/platform/services/AppPropertiesService.js +254 -251
  26. package/lib/openapi/platform/services/AppPropertiesService.js.map +1 -1
  27. package/lib/openapi/platform/services/ApplicationRolesService.d.ts +3 -3
  28. package/lib/openapi/platform/services/ApplicationRolesService.js +177 -174
  29. package/lib/openapi/platform/services/ApplicationRolesService.js.map +1 -1
  30. package/lib/openapi/platform/services/AuditRecordsService.d.ts +7 -7
  31. package/lib/openapi/platform/services/AuditRecordsService.js +97 -94
  32. package/lib/openapi/platform/services/AuditRecordsService.js.map +1 -1
  33. package/lib/openapi/platform/services/AvatarsService.d.ts +25 -31
  34. package/lib/openapi/platform/services/AvatarsService.js +412 -415
  35. package/lib/openapi/platform/services/AvatarsService.js.map +1 -1
  36. package/lib/openapi/platform/services/ClassificationLevelsService.d.ts +4 -4
  37. package/lib/openapi/platform/services/ClassificationLevelsService.js +79 -76
  38. package/lib/openapi/platform/services/ClassificationLevelsService.js.map +1 -1
  39. package/lib/openapi/platform/services/DashboardsService.d.ts +62 -50
  40. package/lib/openapi/platform/services/DashboardsService.js +983 -974
  41. package/lib/openapi/platform/services/DashboardsService.js.map +1 -1
  42. package/lib/openapi/platform/services/DynamicModulesService.d.ts +6 -6
  43. package/lib/openapi/platform/services/DynamicModulesService.js +68 -65
  44. package/lib/openapi/platform/services/DynamicModulesService.js.map +1 -1
  45. package/lib/openapi/platform/services/FilterSharingService.d.ts +11 -11
  46. package/lib/openapi/platform/services/FilterSharingService.js +512 -509
  47. package/lib/openapi/platform/services/FilterSharingService.js.map +1 -1
  48. package/lib/openapi/platform/services/FiltersService.d.ts +50 -50
  49. package/lib/openapi/platform/services/FiltersService.js +1262 -1259
  50. package/lib/openapi/platform/services/FiltersService.js.map +1 -1
  51. package/lib/openapi/platform/services/GroupAndUserPickerService.d.ts +10 -10
  52. package/lib/openapi/platform/services/GroupAndUserPickerService.js +112 -109
  53. package/lib/openapi/platform/services/GroupAndUserPickerService.js.map +1 -1
  54. package/lib/openapi/platform/services/GroupsService.d.ts +46 -46
  55. package/lib/openapi/platform/services/GroupsService.js +385 -382
  56. package/lib/openapi/platform/services/GroupsService.js.map +1 -1
  57. package/lib/openapi/platform/services/IssueAttachmentsService.d.ts +20 -20
  58. package/lib/openapi/platform/services/IssueAttachmentsService.js +644 -641
  59. package/lib/openapi/platform/services/IssueAttachmentsService.js.map +1 -1
  60. package/lib/openapi/platform/services/IssueBulkOperationsService.d.ts +325 -0
  61. package/lib/openapi/platform/services/IssueBulkOperationsService.js +353 -0
  62. package/lib/openapi/platform/services/IssueBulkOperationsService.js.map +1 -0
  63. package/lib/openapi/platform/services/IssueCommentPropertiesService.d.ts +8 -8
  64. package/lib/openapi/platform/services/IssueCommentPropertiesService.js +187 -184
  65. package/lib/openapi/platform/services/IssueCommentPropertiesService.js.map +1 -1
  66. package/lib/openapi/platform/services/IssueCommentsService.d.ts +22 -22
  67. package/lib/openapi/platform/services/IssueCommentsService.js +507 -504
  68. package/lib/openapi/platform/services/IssueCommentsService.js.map +1 -1
  69. package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.d.ts +11 -11
  70. package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.js +126 -123
  71. package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.js.map +1 -1
  72. package/lib/openapi/platform/services/IssueCustomFieldContextsService.d.ts +42 -42
  73. package/lib/openapi/platform/services/IssueCustomFieldContextsService.js +748 -745
  74. package/lib/openapi/platform/services/IssueCustomFieldContextsService.js.map +1 -1
  75. package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.d.ts +28 -28
  76. package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.js +535 -532
  77. package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.js.map +1 -1
  78. package/lib/openapi/platform/services/IssueCustomFieldOptionsService.d.ts +20 -20
  79. package/lib/openapi/platform/services/IssueCustomFieldOptionsService.js +358 -355
  80. package/lib/openapi/platform/services/IssueCustomFieldOptionsService.js.map +1 -1
  81. package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.d.ts +6 -6
  82. package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.js +86 -83
  83. package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.js.map +1 -1
  84. package/lib/openapi/platform/services/IssueFieldConfigurationsService.d.ts +45 -45
  85. package/lib/openapi/platform/services/IssueFieldConfigurationsService.js +689 -686
  86. package/lib/openapi/platform/services/IssueFieldConfigurationsService.js.map +1 -1
  87. package/lib/openapi/platform/services/IssueFieldsService.d.ts +32 -32
  88. package/lib/openapi/platform/services/IssueFieldsService.js +484 -481
  89. package/lib/openapi/platform/services/IssueFieldsService.js.map +1 -1
  90. package/lib/openapi/platform/services/IssueLinkTypesService.d.ts +9 -9
  91. package/lib/openapi/platform/services/IssueLinkTypesService.js +212 -209
  92. package/lib/openapi/platform/services/IssueLinkTypesService.js.map +1 -1
  93. package/lib/openapi/platform/services/IssueLinksService.d.ts +6 -6
  94. package/lib/openapi/platform/services/IssueLinksService.js +230 -227
  95. package/lib/openapi/platform/services/IssueLinksService.js.map +1 -1
  96. package/lib/openapi/platform/services/IssueNavigatorSettingsService.d.ts +3 -3
  97. package/lib/openapi/platform/services/IssueNavigatorSettingsService.js +72 -69
  98. package/lib/openapi/platform/services/IssueNavigatorSettingsService.js.map +1 -1
  99. package/lib/openapi/platform/services/IssueNotificationSchemesService.d.ts +27 -27
  100. package/lib/openapi/platform/services/IssueNotificationSchemesService.js +816 -813
  101. package/lib/openapi/platform/services/IssueNotificationSchemesService.js.map +1 -1
  102. package/lib/openapi/platform/services/IssuePrioritiesService.d.ts +22 -22
  103. package/lib/openapi/platform/services/IssuePrioritiesService.js +307 -304
  104. package/lib/openapi/platform/services/IssuePrioritiesService.js.map +1 -1
  105. package/lib/openapi/platform/services/IssuePropertiesService.d.ts +16 -16
  106. package/lib/openapi/platform/services/IssuePropertiesService.js +390 -387
  107. package/lib/openapi/platform/services/IssuePropertiesService.js.map +1 -1
  108. package/lib/openapi/platform/services/IssueRemoteLinksService.d.ts +13 -13
  109. package/lib/openapi/platform/services/IssueRemoteLinksService.js +368 -365
  110. package/lib/openapi/platform/services/IssueRemoteLinksService.js.map +1 -1
  111. package/lib/openapi/platform/services/IssueResolutionsService.d.ts +19 -19
  112. package/lib/openapi/platform/services/IssueResolutionsService.js +283 -280
  113. package/lib/openapi/platform/services/IssueResolutionsService.js.map +1 -1
  114. package/lib/openapi/platform/services/IssueSearchService.d.ts +24 -24
  115. package/lib/openapi/platform/services/IssueSearchService.js +826 -823
  116. package/lib/openapi/platform/services/IssueSearchService.js.map +1 -1
  117. package/lib/openapi/platform/services/IssueSecurityLevelService.d.ts +8 -8
  118. package/lib/openapi/platform/services/IssueSecurityLevelService.js +137 -134
  119. package/lib/openapi/platform/services/IssueSecurityLevelService.js.map +1 -1
  120. package/lib/openapi/platform/services/IssueSecuritySchemesService.d.ts +51 -51
  121. package/lib/openapi/platform/services/IssueSecuritySchemesService.js +610 -607
  122. package/lib/openapi/platform/services/IssueSecuritySchemesService.js.map +1 -1
  123. package/lib/openapi/platform/services/IssueTypePropertiesService.d.ts +8 -8
  124. package/lib/openapi/platform/services/IssueTypePropertiesService.js +175 -172
  125. package/lib/openapi/platform/services/IssueTypePropertiesService.js.map +1 -1
  126. package/lib/openapi/platform/services/IssueTypeSchemesService.d.ts +31 -31
  127. package/lib/openapi/platform/services/IssueTypeSchemesService.js +527 -524
  128. package/lib/openapi/platform/services/IssueTypeSchemesService.js.map +1 -1
  129. package/lib/openapi/platform/services/IssueTypeScreenSchemesService.d.ts +36 -36
  130. package/lib/openapi/platform/services/IssueTypeScreenSchemesService.js +508 -505
  131. package/lib/openapi/platform/services/IssueTypeScreenSchemesService.js.map +1 -1
  132. package/lib/openapi/platform/services/IssueTypesService.d.ts +22 -28
  133. package/lib/openapi/platform/services/IssueTypesService.js +424 -427
  134. package/lib/openapi/platform/services/IssueTypesService.js.map +1 -1
  135. package/lib/openapi/platform/services/IssueVotesService.d.ts +6 -6
  136. package/lib/openapi/platform/services/IssueVotesService.js +148 -145
  137. package/lib/openapi/platform/services/IssueVotesService.js.map +1 -1
  138. package/lib/openapi/platform/services/IssueWatchersService.d.ts +10 -10
  139. package/lib/openapi/platform/services/IssueWatchersService.js +197 -194
  140. package/lib/openapi/platform/services/IssueWatchersService.js.map +1 -1
  141. package/lib/openapi/platform/services/IssueWorklogPropertiesService.d.ts +8 -8
  142. package/lib/openapi/platform/services/IssueWorklogPropertiesService.js +199 -196
  143. package/lib/openapi/platform/services/IssueWorklogPropertiesService.js.map +1 -1
  144. package/lib/openapi/platform/services/IssueWorklogsService.d.ts +44 -44
  145. package/lib/openapi/platform/services/IssueWorklogsService.js +636 -633
  146. package/lib/openapi/platform/services/IssueWorklogsService.js.map +1 -1
  147. package/lib/openapi/platform/services/IssuesService.d.ts +71 -71
  148. package/lib/openapi/platform/services/IssuesService.js +1856 -1853
  149. package/lib/openapi/platform/services/IssuesService.js.map +1 -1
  150. package/lib/openapi/platform/services/JiraExpressionsService.d.ts +6 -6
  151. package/lib/openapi/platform/services/JiraExpressionsService.js +238 -235
  152. package/lib/openapi/platform/services/JiraExpressionsService.js.map +1 -1
  153. package/lib/openapi/platform/services/JiraSettingsService.d.ts +9 -9
  154. package/lib/openapi/platform/services/JiraSettingsService.js +279 -276
  155. package/lib/openapi/platform/services/JiraSettingsService.js.map +1 -1
  156. package/lib/openapi/platform/services/JqlFunctionsAppsService.d.ts +8 -8
  157. package/lib/openapi/platform/services/JqlFunctionsAppsService.js +107 -104
  158. package/lib/openapi/platform/services/JqlFunctionsAppsService.js.map +1 -1
  159. package/lib/openapi/platform/services/JqlService.d.ts +15 -15
  160. package/lib/openapi/platform/services/JqlService.js +635 -632
  161. package/lib/openapi/platform/services/JqlService.js.map +1 -1
  162. package/lib/openapi/platform/services/LabelsService.d.ts +4 -4
  163. package/lib/openapi/platform/services/LabelsService.js +41 -38
  164. package/lib/openapi/platform/services/LabelsService.js.map +1 -1
  165. package/lib/openapi/platform/services/LicenseMetricsService.d.ts +4 -4
  166. package/lib/openapi/platform/services/LicenseMetricsService.js +120 -117
  167. package/lib/openapi/platform/services/LicenseMetricsService.js.map +1 -1
  168. package/lib/openapi/platform/services/MyselfService.d.ts +14 -14
  169. package/lib/openapi/platform/services/MyselfService.js +321 -318
  170. package/lib/openapi/platform/services/MyselfService.js.map +1 -1
  171. package/lib/openapi/platform/services/PermissionSchemesService.d.ts +25 -25
  172. package/lib/openapi/platform/services/PermissionSchemesService.js +548 -545
  173. package/lib/openapi/platform/services/PermissionSchemesService.js.map +1 -1
  174. package/lib/openapi/platform/services/PermissionsService.d.ts +15 -15
  175. package/lib/openapi/platform/services/PermissionsService.js +235 -232
  176. package/lib/openapi/platform/services/PermissionsService.js.map +1 -1
  177. package/lib/openapi/platform/services/PrioritySchemesService.d.ts +34 -34
  178. package/lib/openapi/platform/services/PrioritySchemesService.js +571 -568
  179. package/lib/openapi/platform/services/PrioritySchemesService.js.map +1 -1
  180. package/lib/openapi/platform/services/ProjectAvatarsService.d.ts +11 -11
  181. package/lib/openapi/platform/services/ProjectAvatarsService.js +213 -210
  182. package/lib/openapi/platform/services/ProjectAvatarsService.js.map +1 -1
  183. package/lib/openapi/platform/services/ProjectCategoriesService.d.ts +9 -9
  184. package/lib/openapi/platform/services/ProjectCategoriesService.js +180 -177
  185. package/lib/openapi/platform/services/ProjectCategoriesService.js.map +1 -1
  186. package/lib/openapi/platform/services/ProjectClassificationLevelsService.d.ts +6 -6
  187. package/lib/openapi/platform/services/ProjectClassificationLevelsService.js +125 -122
  188. package/lib/openapi/platform/services/ProjectClassificationLevelsService.js.map +1 -1
  189. package/lib/openapi/platform/services/ProjectComponentsService.d.ts +28 -28
  190. package/lib/openapi/platform/services/ProjectComponentsService.js +1009 -1006
  191. package/lib/openapi/platform/services/ProjectComponentsService.js.map +1 -1
  192. package/lib/openapi/platform/services/ProjectEmailService.d.ts +4 -4
  193. package/lib/openapi/platform/services/ProjectEmailService.js +78 -75
  194. package/lib/openapi/platform/services/ProjectEmailService.js.map +1 -1
  195. package/lib/openapi/platform/services/ProjectFeaturesService.d.ts +4 -4
  196. package/lib/openapi/platform/services/ProjectFeaturesService.js +119 -116
  197. package/lib/openapi/platform/services/ProjectFeaturesService.js.map +1 -1
  198. package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.d.ts +8 -8
  199. package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.js +100 -97
  200. package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.js.map +1 -1
  201. package/lib/openapi/platform/services/ProjectPermissionSchemesService.d.ts +10 -10
  202. package/lib/openapi/platform/services/ProjectPermissionSchemesService.js +199 -196
  203. package/lib/openapi/platform/services/ProjectPermissionSchemesService.js.map +1 -1
  204. package/lib/openapi/platform/services/ProjectPropertiesService.d.ts +8 -8
  205. package/lib/openapi/platform/services/ProjectPropertiesService.js +172 -169
  206. package/lib/openapi/platform/services/ProjectPropertiesService.js.map +1 -1
  207. package/lib/openapi/platform/services/ProjectRoleActorsService.d.ts +18 -18
  208. package/lib/openapi/platform/services/ProjectRoleActorsService.js +362 -359
  209. package/lib/openapi/platform/services/ProjectRoleActorsService.js.map +1 -1
  210. package/lib/openapi/platform/services/ProjectRolesService.d.ts +21 -21
  211. package/lib/openapi/platform/services/ProjectRolesService.js +576 -573
  212. package/lib/openapi/platform/services/ProjectRolesService.js.map +1 -1
  213. package/lib/openapi/platform/services/ProjectTypesService.d.ts +6 -6
  214. package/lib/openapi/platform/services/ProjectTypesService.js +173 -170
  215. package/lib/openapi/platform/services/ProjectTypesService.js.map +1 -1
  216. package/lib/openapi/platform/services/ProjectVersionsService.d.ts +40 -40
  217. package/lib/openapi/platform/services/ProjectVersionsService.js +751 -748
  218. package/lib/openapi/platform/services/ProjectVersionsService.js.map +1 -1
  219. package/lib/openapi/platform/services/ProjectsService.d.ts +49 -49
  220. package/lib/openapi/platform/services/ProjectsService.js +1597 -1594
  221. package/lib/openapi/platform/services/ProjectsService.js.map +1 -1
  222. package/lib/openapi/platform/services/ScreenSchemesService.d.ts +14 -14
  223. package/lib/openapi/platform/services/ScreenSchemesService.js +177 -174
  224. package/lib/openapi/platform/services/ScreenSchemesService.js.map +1 -1
  225. package/lib/openapi/platform/services/ScreenTabFieldsService.d.ts +9 -9
  226. package/lib/openapi/platform/services/ScreenTabFieldsService.js +144 -141
  227. package/lib/openapi/platform/services/ScreenTabFieldsService.js.map +1 -1
  228. package/lib/openapi/platform/services/ScreenTabsService.d.ts +17 -17
  229. package/lib/openapi/platform/services/ScreenTabsService.js +229 -226
  230. package/lib/openapi/platform/services/ScreenTabsService.js.map +1 -1
  231. package/lib/openapi/platform/services/ScreensService.d.ts +23 -23
  232. package/lib/openapi/platform/services/ScreensService.js +281 -278
  233. package/lib/openapi/platform/services/ScreensService.js.map +1 -1
  234. package/lib/openapi/platform/services/ServerInfoService.d.ts +1 -1
  235. package/lib/openapi/platform/services/ServerInfoService.js +51 -48
  236. package/lib/openapi/platform/services/ServerInfoService.js.map +1 -1
  237. package/lib/openapi/platform/services/ServiceRegistryService.d.ts +2 -2
  238. package/lib/openapi/platform/services/ServiceRegistryService.js +30 -27
  239. package/lib/openapi/platform/services/ServiceRegistryService.js.map +1 -1
  240. package/lib/openapi/platform/services/StatusService.d.ts +17 -17
  241. package/lib/openapi/platform/services/StatusService.js +271 -268
  242. package/lib/openapi/platform/services/StatusService.js.map +1 -1
  243. package/lib/openapi/platform/services/TasksService.d.ts +4 -4
  244. package/lib/openapi/platform/services/TasksService.js +93 -90
  245. package/lib/openapi/platform/services/TasksService.js.map +1 -1
  246. package/lib/openapi/platform/services/TimeTrackingService.d.ts +7 -7
  247. package/lib/openapi/platform/services/TimeTrackingService.js +190 -187
  248. package/lib/openapi/platform/services/TimeTrackingService.js.map +1 -1
  249. package/lib/openapi/platform/services/UiModificationsAppsService.d.ts +11 -11
  250. package/lib/openapi/platform/services/UiModificationsAppsService.js +214 -211
  251. package/lib/openapi/platform/services/UiModificationsAppsService.js.map +1 -1
  252. package/lib/openapi/platform/services/UserPropertiesService.d.ts +20 -20
  253. package/lib/openapi/platform/services/UserPropertiesService.js +196 -193
  254. package/lib/openapi/platform/services/UserPropertiesService.js.map +1 -1
  255. package/lib/openapi/platform/services/UserSearchService.d.ts +61 -61
  256. package/lib/openapi/platform/services/UserSearchService.js +709 -706
  257. package/lib/openapi/platform/services/UserSearchService.js.map +1 -1
  258. package/lib/openapi/platform/services/UsersService.d.ts +51 -51
  259. package/lib/openapi/platform/services/UsersService.js +637 -634
  260. package/lib/openapi/platform/services/UsersService.js.map +1 -1
  261. package/lib/openapi/platform/services/WebhooksService.d.ts +14 -14
  262. package/lib/openapi/platform/services/WebhooksService.js +262 -259
  263. package/lib/openapi/platform/services/WebhooksService.js.map +1 -1
  264. package/lib/openapi/platform/services/WorkflowSchemeDraftsService.d.ts +30 -30
  265. package/lib/openapi/platform/services/WorkflowSchemeDraftsService.js +861 -858
  266. package/lib/openapi/platform/services/WorkflowSchemeDraftsService.js.map +1 -1
  267. package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.d.ts +4 -4
  268. package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.js +98 -95
  269. package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.js.map +1 -1
  270. package/lib/openapi/platform/services/WorkflowSchemesService.d.ts +45 -45
  271. package/lib/openapi/platform/services/WorkflowSchemesService.js +899 -896
  272. package/lib/openapi/platform/services/WorkflowSchemesService.js.map +1 -1
  273. package/lib/openapi/platform/services/WorkflowStatusCategoriesService.d.ts +3 -3
  274. package/lib/openapi/platform/services/WorkflowStatusCategoriesService.js +82 -79
  275. package/lib/openapi/platform/services/WorkflowStatusCategoriesService.js.map +1 -1
  276. package/lib/openapi/platform/services/WorkflowStatusesService.d.ts +3 -3
  277. package/lib/openapi/platform/services/WorkflowStatusesService.js +110 -107
  278. package/lib/openapi/platform/services/WorkflowStatusesService.js.map +1 -1
  279. package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.d.ts +14 -14
  280. package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.js +182 -179
  281. package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.js.map +1 -1
  282. package/lib/openapi/platform/services/WorkflowTransitionRulesService.d.ts +13 -13
  283. package/lib/openapi/platform/services/WorkflowTransitionRulesService.js +283 -280
  284. package/lib/openapi/platform/services/WorkflowTransitionRulesService.js.map +1 -1
  285. package/lib/openapi/platform/services/WorkflowsService.d.ts +33 -33
  286. package/lib/openapi/platform/services/WorkflowsService.js +2451 -2448
  287. package/lib/openapi/platform/services/WorkflowsService.js.map +1 -1
  288. package/lib/openapi/software/services/BacklogService.d.ts +4 -4
  289. package/lib/openapi/software/services/BacklogService.js +81 -78
  290. package/lib/openapi/software/services/BacklogService.js.map +1 -1
  291. package/lib/openapi/software/services/BoardService.d.ts +124 -124
  292. package/lib/openapi/software/services/BoardService.js +2048 -2045
  293. package/lib/openapi/software/services/BoardService.js.map +1 -1
  294. package/lib/openapi/software/services/BuildsService.d.ts +10 -10
  295. package/lib/openapi/software/services/BuildsService.js +164 -161
  296. package/lib/openapi/software/services/BuildsService.js.map +1 -1
  297. package/lib/openapi/software/services/DeploymentsService.d.ts +12 -12
  298. package/lib/openapi/software/services/DeploymentsService.js +192 -189
  299. package/lib/openapi/software/services/DeploymentsService.js.map +1 -1
  300. package/lib/openapi/software/services/DevOpsComponentsService.d.ts +8 -8
  301. package/lib/openapi/software/services/DevOpsComponentsService.js +145 -142
  302. package/lib/openapi/software/services/DevOpsComponentsService.js.map +1 -1
  303. package/lib/openapi/software/services/DevelopmentInformationService.d.ts +16 -16
  304. package/lib/openapi/software/services/DevelopmentInformationService.js +178 -175
  305. package/lib/openapi/software/services/DevelopmentInformationService.js.map +1 -1
  306. package/lib/openapi/software/services/EpicService.d.ts +26 -26
  307. package/lib/openapi/software/services/EpicService.js +597 -594
  308. package/lib/openapi/software/services/EpicService.js.map +1 -1
  309. package/lib/openapi/software/services/FeatureFlagsService.d.ts +10 -10
  310. package/lib/openapi/software/services/FeatureFlagsService.js +151 -148
  311. package/lib/openapi/software/services/FeatureFlagsService.js.map +1 -1
  312. package/lib/openapi/software/services/IssueService.d.ts +13 -13
  313. package/lib/openapi/software/services/IssueService.js +359 -356
  314. package/lib/openapi/software/services/IssueService.js.map +1 -1
  315. package/lib/openapi/software/services/OperationsService.d.ts +24 -24
  316. package/lib/openapi/software/services/OperationsService.js +301 -298
  317. package/lib/openapi/software/services/OperationsService.js.map +1 -1
  318. package/lib/openapi/software/services/RemoteLinksService.d.ts +15 -15
  319. package/lib/openapi/software/services/RemoteLinksService.js +160 -157
  320. package/lib/openapi/software/services/RemoteLinksService.js.map +1 -1
  321. package/lib/openapi/software/services/SecurityInformationService.d.ts +16 -16
  322. package/lib/openapi/software/services/SecurityInformationService.js +262 -259
  323. package/lib/openapi/software/services/SecurityInformationService.js.map +1 -1
  324. package/lib/openapi/software/services/SprintService.d.ts +33 -33
  325. package/lib/openapi/software/services/SprintService.js +594 -591
  326. package/lib/openapi/software/services/SprintService.js.map +1 -1
  327. package/package.json +4 -3
@@ -19,371 +19,374 @@ const validationSchemaStorage_1 = require("../validationSchemaStorage");
19
19
  * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-remote-links
20
20
  */
21
21
  class IssueRemoteLinksService extends CommonHttpService_1.CommonHttpService {
22
- /**
23
- * Creates or updates a remote issue link for an issue.
24
- *
25
- * If a `globalId` is provided and a remote issue link with that global ID is
26
- * found it is updated. Any fields without values in the request are set to null.
27
- * Otherwise, the remote issue link is created.
28
- *
29
- * This operation requires [issue linking to be
30
- * active](https://confluence.atlassian.com/x/yoXKM).
31
- *
32
- * This operation can be accessed anonymously.
33
- *
34
- * **[Permissions](#permissions) required:**
35
- *
36
- * * *Browse projects* and *Link issues* [project
37
- * permission](https://confluence.atlassian.com/x/yodKLg) for the project that the
38
- * issue is in.
39
- * * If [issue-level security](https://confluence.atlassian.com/x/J4lKLg) is
40
- * configured, issue-level security permission to view the issue.
41
- *
42
- * @returns * status: 200, mediaType: application/json
43
- *
44
- * Returned if the remote issue link is updated.
45
- *
46
- * example: {
47
- * "id": 10000,
48
- * "self":
49
- * "https://your-domain.atlassian.net/rest/api/issue/MKY-1/remotelink/10000"
50
- * }
51
- *
52
- * * status: 201, mediaType: application/json
53
- *
54
- * Returned if the remote issue link is created.
55
- *
56
- * example: {
57
- * "id": 10000,
58
- * "self":
59
- * "https://your-domain.atlassian.net/rest/api/issue/MKY-1/remotelink/10000"
60
- * }
61
- * @path {POST} /rest/api/3/issue/{issueIdOrKey}/remotelink
62
- * @scopes-current write:jira-work
63
- * @scopes-beta write:issue:jira, write:issue.remote-link:jira, read:issue.remote-link:jira
64
- * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-remote-links#api-rest-api-3-issue-issueidorkey-remotelink-post
65
- */
66
- createOrUpdateRemoteIssueLink({ issueIdOrKey, remoteIssueLinkRequest, }) {
67
- return this.getClientInstance()
68
- .request({
69
- path: "/rest/api/3/issue/{issueIdOrKey}/remotelink",
70
- method: "POST",
71
- pathParams: {
72
- issueIdOrKey,
73
- },
74
- headers: {
75
- "Content-Type": "application/json",
76
- },
77
- body: remoteIssueLinkRequest,
78
- })
79
- .then(this.getClientInstance().responseHandler({
80
- 200: {
81
- "application/json": "json",
82
- },
83
- 201: {
84
- "application/json": "json",
85
- },
86
- }))
87
- .then(commonHttpClient.castResponse())
88
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("IssueRemoteLinksService.createOrUpdateRemoteIssueLink.response"))
89
- .then(commonHttpClient.asCreatedResponse("remoteIssueLinkIdentifies"));
90
- }
91
- /**
92
- * Deletes the remote issue link from the issue using the link's global ID. Where
93
- * the global ID includes reserved URL characters these must be escaped in the
94
- * request. For example, pass `system=http://www.mycompany.com/support&id=1` as
95
- * `system%3Dhttp%3A%2F%2Fwww.mycompany.com%2Fsupport%26id%3D1`.
96
- *
97
- * This operation requires [issue linking to be
98
- * active](https://confluence.atlassian.com/x/yoXKM).
99
- *
100
- * This operation can be accessed anonymously.
101
- *
102
- * **[Permissions](#permissions) required:**
103
- *
104
- * * *Browse projects* and *Link issues* [project
105
- * permission](https://confluence.atlassian.com/x/yodKLg) for the project that the
106
- * issue is in.
107
- * * If [issue-level security](https://confluence.atlassian.com/x/J4lKLg) is
108
- * implemented, issue-level security permission to view the issue.
109
- *
110
- * @path {DELETE} /rest/api/3/issue/{issueIdOrKey}/remotelink
111
- * @scopes-current write:jira-work
112
- * @scopes-beta delete:issue.remote-link:jira, write:issue:jira
113
- * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-remote-links#api-rest-api-3-issue-issueidorkey-remotelink-delete
114
- */
115
- deleteRemoteIssueLinkByGlobalId({ issueIdOrKey, globalId, }) {
116
- return this.getClientInstance()
117
- .request({
118
- path: "/rest/api/3/issue/{issueIdOrKey}/remotelink",
119
- method: "DELETE",
120
- pathParams: {
121
- issueIdOrKey,
122
- },
123
- query: {
124
- globalId,
125
- },
126
- })
127
- .then(commonHttpClient.discardResult);
128
- }
129
- /**
130
- * Deletes a remote issue link from an issue.
131
- *
132
- * This operation requires [issue linking to be
133
- * active](https://confluence.atlassian.com/x/yoXKM).
134
- *
135
- * This operation can be accessed anonymously.
136
- *
137
- * **[Permissions](#permissions) required:**
138
- *
139
- * * *Browse projects*, *Edit issues*, and *Link issues* [project
140
- * permission](https://confluence.atlassian.com/x/yodKLg) for the project that the
141
- * issue is in.
142
- * * If [issue-level security](https://confluence.atlassian.com/x/J4lKLg) is
143
- * configured, issue-level security permission to view the issue.
144
- *
145
- * @path {DELETE} /rest/api/3/issue/{issueIdOrKey}/remotelink/{linkId}
146
- * @scopes-current write:jira-work
147
- * @scopes-beta delete:issue.remote-link:jira, write:issue:jira
148
- * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-remote-links#api-rest-api-3-issue-issueidorkey-remotelink-linkid-delete
149
- */
150
- deleteRemoteIssueLinkById({ issueIdOrKey, linkId, }) {
151
- return this.getClientInstance()
152
- .request({
153
- path: "/rest/api/3/issue/{issueIdOrKey}/remotelink/{linkId}",
154
- method: "DELETE",
155
- pathParams: {
156
- issueIdOrKey,
157
- linkId,
158
- },
159
- })
160
- .then(commonHttpClient.discardResult);
161
- }
162
- /**
163
- * Returns a remote issue link for an issue.
164
- *
165
- * This operation requires [issue linking to be
166
- * active](https://confluence.atlassian.com/x/yoXKM).
167
- *
168
- * This operation can be accessed anonymously.
169
- *
170
- * **[Permissions](#permissions) required:**
171
- *
172
- * * *Browse projects* [project
173
- * permission](https://confluence.atlassian.com/x/yodKLg) for the project that the
174
- * issue is in.
175
- * * If [issue-level security](https://confluence.atlassian.com/x/J4lKLg) is
176
- * configured, issue-level security permission to view the issue.
177
- *
178
- * @returns Returned if the request is successful.
179
- *
180
- * example: {
181
- * "application": {
182
- * "name": "My Acme Tracker",
183
- * "type": "com.acme.tracker"
184
- * },
185
- * "globalId": "system=http://www.mycompany.com/support&id=1",
186
- * "id": 10000,
187
- * "object": {
188
- * "icon": {
189
- * "title": "Support Ticket",
190
- * "url16x16": "http://www.mycompany.com/support/ticket.png"
191
- * },
192
- * "status": {
193
- * "icon": {
194
- * "link": "http://www.mycompany.com/support?id=1&details=closed",
195
- * "title": "Case Closed",
196
- * "url16x16": "http://www.mycompany.com/support/resolved.png"
197
- * },
198
- * "resolved": true
199
- * },
200
- * "summary": "Customer support issue",
201
- * "title": "TSTSUP-111",
202
- * "url": "http://www.mycompany.com/support?id=1"
203
- * },
204
- * "relationship": "causes",
205
- * "self":
206
- * "https://your-domain.atlassian.net/rest/api/issue/MKY-1/remotelink/10000"
207
- * }
208
- * @path {GET} /rest/api/3/issue/{issueIdOrKey}/remotelink/{linkId}
209
- * @scopes-current read:jira-work
210
- * @scopes-beta read:issue.remote-link:jira, read:status:jira
211
- * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-remote-links#api-rest-api-3-issue-issueidorkey-remotelink-linkid-get
212
- */
213
- getRemoteIssueLinkById({ issueIdOrKey, linkId, }) {
214
- return this.getClientInstance()
215
- .request({
216
- path: "/rest/api/3/issue/{issueIdOrKey}/remotelink/{linkId}",
217
- method: "GET",
218
- pathParams: {
219
- issueIdOrKey,
220
- linkId,
221
- },
222
- })
223
- .then(this.getClientInstance().responseHandler({
224
- 200: {
225
- "application/json": "json",
226
- },
227
- }))
228
- .then(commonHttpClient.castResponse())
229
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("IssueRemoteLinksService.getRemoteIssueLinkById.response"))
230
- .then(commonHttpClient.getBody);
231
- }
232
- /**
233
- * Returns the remote issue links for an issue. When a remote issue link global ID
234
- * is provided the record with that global ID is returned, otherwise all remote
235
- * issue links are returned. Where a global ID includes reserved URL characters
236
- * these must be escaped in the request. For example, pass
237
- * `system=http://www.mycompany.com/support&id=1` as
238
- * `system%3Dhttp%3A%2F%2Fwww.mycompany.com%2Fsupport%26id%3D1`.
239
- *
240
- * This operation requires [issue linking to be
241
- * active](https://confluence.atlassian.com/x/yoXKM).
242
- *
243
- * This operation can be accessed anonymously.
244
- *
245
- * **[Permissions](#permissions) required:**
246
- *
247
- * * *Browse projects* [project
248
- * permission](https://confluence.atlassian.com/x/yodKLg) for the project that the
249
- * issue is in.
250
- * * If [issue-level security](https://confluence.atlassian.com/x/J4lKLg) is
251
- * configured, issue-level security permission to view the issue.
252
- *
253
- * @returns Returned if the request is successful.
254
- *
255
- * example: [
256
- * {
257
- * "application": {
258
- * "name": "My Acme Tracker",
259
- * "type": "com.acme.tracker"
260
- * },
261
- * "globalId": "system=http://www.mycompany.com/support&id=1",
262
- * "id": 10000,
263
- * "object": {
264
- * "icon": {
265
- * "title": "Support Ticket",
266
- * "url16x16": "http://www.mycompany.com/support/ticket.png"
267
- * },
268
- * "status": {
269
- * "icon": {
270
- * "link": "http://www.mycompany.com/support?id=1&details=closed",
271
- * "title": "Case Closed",
272
- * "url16x16": "http://www.mycompany.com/support/resolved.png"
273
- * },
274
- * "resolved": true
275
- * },
276
- * "summary": "Customer support issue",
277
- * "title": "TSTSUP-111",
278
- * "url": "http://www.mycompany.com/support?id=1"
279
- * },
280
- * "relationship": "causes",
281
- * "self":
282
- * "https://your-domain.atlassian.net/rest/api/issue/MKY-1/remotelink/10000"
283
- * },
284
- * {
285
- * "application": {
286
- * "name": "My Acme Tester",
287
- * "type": "com.acme.tester"
288
- * },
289
- * "globalId": "system=http://www.anothercompany.com/tester&id=1234",
290
- * "id": 10001,
291
- * "object": {
292
- * "icon": {
293
- * "title": "Test Case",
294
- * "url16x16": "http://www.anothercompany.com/tester/images/testcase.gif"
295
- * },
296
- * "status": {
297
- * "icon": {
298
- * "link":
299
- * "http://www.anothercompany.com/tester/person?accountId=5b10a2844c20165700ede21g",
300
- * "title": "Tested by Mia Krystof",
301
- * "url16x16":
302
- * "http://www.anothercompany.com/tester/images/person/mia.gif"
303
- * },
304
- * "resolved": false
305
- * },
306
- * "summary": "Test that the submit button saves the item",
307
- * "title": "Test Case #1234",
308
- * "url": "http://www.anothercompany.com/tester/testcase/1234"
309
- * },
310
- * "relationship": "is tested by",
311
- * "self":
312
- * "https://your-domain.atlassian.net/rest/api/issue/MKY-1/remotelink/10001"
313
- * }
314
- * ]
315
- * @path {GET} /rest/api/3/issue/{issueIdOrKey}/remotelink
316
- * @scopes-current read:jira-work
317
- * @scopes-beta read:issue.remote-link:jira, read:status:jira
318
- * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-remote-links#api-rest-api-3-issue-issueidorkey-remotelink-get
319
- */
320
- getRemoteIssueLinks({ issueIdOrKey, globalId, }) {
321
- return this.getClientInstance()
322
- .request({
323
- path: "/rest/api/3/issue/{issueIdOrKey}/remotelink",
324
- method: "GET",
325
- pathParams: {
326
- issueIdOrKey,
327
- },
328
- query: {
329
- globalId,
330
- },
331
- })
332
- .then(this.getClientInstance().responseHandler({
333
- 200: {
334
- "application/json": "json",
335
- },
336
- }))
337
- .then(commonHttpClient.castResponse())
338
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("IssueRemoteLinksService.getRemoteIssueLinks.response"))
339
- .then(commonHttpClient.getBody);
340
- }
341
- /**
342
- * Updates a remote issue link for an issue.
343
- *
344
- * Note: Fields without values in the request are set to null.
345
- *
346
- * This operation requires [issue linking to be
347
- * active](https://confluence.atlassian.com/x/yoXKM).
348
- *
349
- * This operation can be accessed anonymously.
350
- *
351
- * **[Permissions](#permissions) required:**
352
- *
353
- * * *Browse projects* and *Link issues* [project
354
- * permission](https://confluence.atlassian.com/x/yodKLg) for the project that the
355
- * issue is in.
356
- * * If [issue-level security](https://confluence.atlassian.com/x/J4lKLg) is
357
- * configured, issue-level security permission to view the issue.
358
- *
359
- * @returns Returned if the request is successful.
360
- * @path {PUT} /rest/api/3/issue/{issueIdOrKey}/remotelink/{linkId}
361
- * @scopes-current write:jira-work
362
- * @scopes-beta write:issue:jira, write:issue.remote-link:jira
363
- * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-remote-links#api-rest-api-3-issue-issueidorkey-remotelink-linkid-put
364
- */
365
- updateRemoteIssueLink({ issueIdOrKey, linkId, remoteIssueLinkRequest, }) {
366
- return this.getClientInstance()
367
- .request({
368
- path: "/rest/api/3/issue/{issueIdOrKey}/remotelink/{linkId}",
369
- method: "PUT",
370
- pathParams: {
371
- issueIdOrKey,
372
- linkId,
373
- },
374
- headers: {
375
- "Content-Type": "application/json",
376
- },
377
- body: remoteIssueLinkRequest,
378
- })
379
- .then(this.getClientInstance().responseHandler({
380
- 204: {
381
- "application/json": "json",
382
- },
383
- }))
384
- .then(commonHttpClient.castResponse())
385
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("IssueRemoteLinksService.updateRemoteIssueLink.response"))
386
- .then(commonHttpClient.getBody);
22
+ constructor() {
23
+ super(...arguments);
24
+ /**
25
+ * Creates or updates a remote issue link for an issue.
26
+ *
27
+ * If a `globalId` is provided and a remote issue link with that global ID is
28
+ * found it is updated. Any fields without values in the request are set to null.
29
+ * Otherwise, the remote issue link is created.
30
+ *
31
+ * This operation requires [issue linking to be
32
+ * active](https://confluence.atlassian.com/x/yoXKM).
33
+ *
34
+ * This operation can be accessed anonymously.
35
+ *
36
+ * **[Permissions](#permissions) required:**
37
+ *
38
+ * * *Browse projects* and *Link issues* [project
39
+ * permission](https://confluence.atlassian.com/x/yodKLg) for the project that the
40
+ * issue is in.
41
+ * * If [issue-level security](https://confluence.atlassian.com/x/J4lKLg) is
42
+ * configured, issue-level security permission to view the issue.
43
+ *
44
+ * @returns * status: 200, mediaType: application/json
45
+ *
46
+ * Returned if the remote issue link is updated.
47
+ *
48
+ * example: {
49
+ * "id": 10000,
50
+ * "self":
51
+ * "https://your-domain.atlassian.net/rest/api/issue/MKY-1/remotelink/10000"
52
+ * }
53
+ *
54
+ * * status: 201, mediaType: application/json
55
+ *
56
+ * Returned if the remote issue link is created.
57
+ *
58
+ * example: {
59
+ * "id": 10000,
60
+ * "self":
61
+ * "https://your-domain.atlassian.net/rest/api/issue/MKY-1/remotelink/10000"
62
+ * }
63
+ * @path {POST} /rest/api/3/issue/{issueIdOrKey}/remotelink
64
+ * @scopes-current write:jira-work
65
+ * @scopes-beta write:issue:jira, write:issue.remote-link:jira, read:issue.remote-link:jira
66
+ * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-remote-links#api-rest-api-3-issue-issueidorkey-remotelink-post
67
+ */
68
+ this.createOrUpdateRemoteIssueLink = ({ issueIdOrKey, remoteIssueLinkRequest, }) => {
69
+ return this.getClientInstance()
70
+ .request({
71
+ path: "/rest/api/3/issue/{issueIdOrKey}/remotelink",
72
+ method: "POST",
73
+ pathParams: {
74
+ issueIdOrKey,
75
+ },
76
+ headers: {
77
+ "Content-Type": "application/json",
78
+ },
79
+ body: remoteIssueLinkRequest,
80
+ })
81
+ .then(this.getClientInstance().responseHandler({
82
+ 200: {
83
+ "application/json": "json",
84
+ },
85
+ 201: {
86
+ "application/json": "json",
87
+ },
88
+ }))
89
+ .then(commonHttpClient.castResponse())
90
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("IssueRemoteLinksService.createOrUpdateRemoteIssueLink.response"))
91
+ .then(commonHttpClient.asCreatedResponse("remoteIssueLinkIdentifies"));
92
+ };
93
+ /**
94
+ * Deletes the remote issue link from the issue using the link's global ID. Where
95
+ * the global ID includes reserved URL characters these must be escaped in the
96
+ * request. For example, pass `system=http://www.mycompany.com/support&id=1` as
97
+ * `system%3Dhttp%3A%2F%2Fwww.mycompany.com%2Fsupport%26id%3D1`.
98
+ *
99
+ * This operation requires [issue linking to be
100
+ * active](https://confluence.atlassian.com/x/yoXKM).
101
+ *
102
+ * This operation can be accessed anonymously.
103
+ *
104
+ * **[Permissions](#permissions) required:**
105
+ *
106
+ * * *Browse projects* and *Link issues* [project
107
+ * permission](https://confluence.atlassian.com/x/yodKLg) for the project that the
108
+ * issue is in.
109
+ * * If [issue-level security](https://confluence.atlassian.com/x/J4lKLg) is
110
+ * implemented, issue-level security permission to view the issue.
111
+ *
112
+ * @path {DELETE} /rest/api/3/issue/{issueIdOrKey}/remotelink
113
+ * @scopes-current write:jira-work
114
+ * @scopes-beta delete:issue.remote-link:jira, write:issue:jira
115
+ * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-remote-links#api-rest-api-3-issue-issueidorkey-remotelink-delete
116
+ */
117
+ this.deleteRemoteIssueLinkByGlobalId = ({ issueIdOrKey, globalId, }) => {
118
+ return this.getClientInstance()
119
+ .request({
120
+ path: "/rest/api/3/issue/{issueIdOrKey}/remotelink",
121
+ method: "DELETE",
122
+ pathParams: {
123
+ issueIdOrKey,
124
+ },
125
+ query: {
126
+ globalId,
127
+ },
128
+ })
129
+ .then(commonHttpClient.discardResult);
130
+ };
131
+ /**
132
+ * Deletes a remote issue link from an issue.
133
+ *
134
+ * This operation requires [issue linking to be
135
+ * active](https://confluence.atlassian.com/x/yoXKM).
136
+ *
137
+ * This operation can be accessed anonymously.
138
+ *
139
+ * **[Permissions](#permissions) required:**
140
+ *
141
+ * * *Browse projects*, *Edit issues*, and *Link issues* [project
142
+ * permission](https://confluence.atlassian.com/x/yodKLg) for the project that the
143
+ * issue is in.
144
+ * * If [issue-level security](https://confluence.atlassian.com/x/J4lKLg) is
145
+ * configured, issue-level security permission to view the issue.
146
+ *
147
+ * @path {DELETE} /rest/api/3/issue/{issueIdOrKey}/remotelink/{linkId}
148
+ * @scopes-current write:jira-work
149
+ * @scopes-beta delete:issue.remote-link:jira, write:issue:jira
150
+ * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-remote-links#api-rest-api-3-issue-issueidorkey-remotelink-linkid-delete
151
+ */
152
+ this.deleteRemoteIssueLinkById = ({ issueIdOrKey, linkId, }) => {
153
+ return this.getClientInstance()
154
+ .request({
155
+ path: "/rest/api/3/issue/{issueIdOrKey}/remotelink/{linkId}",
156
+ method: "DELETE",
157
+ pathParams: {
158
+ issueIdOrKey,
159
+ linkId,
160
+ },
161
+ })
162
+ .then(commonHttpClient.discardResult);
163
+ };
164
+ /**
165
+ * Returns a remote issue link for an issue.
166
+ *
167
+ * This operation requires [issue linking to be
168
+ * active](https://confluence.atlassian.com/x/yoXKM).
169
+ *
170
+ * This operation can be accessed anonymously.
171
+ *
172
+ * **[Permissions](#permissions) required:**
173
+ *
174
+ * * *Browse projects* [project
175
+ * permission](https://confluence.atlassian.com/x/yodKLg) for the project that the
176
+ * issue is in.
177
+ * * If [issue-level security](https://confluence.atlassian.com/x/J4lKLg) is
178
+ * configured, issue-level security permission to view the issue.
179
+ *
180
+ * @returns Returned if the request is successful.
181
+ *
182
+ * example: {
183
+ * "application": {
184
+ * "name": "My Acme Tracker",
185
+ * "type": "com.acme.tracker"
186
+ * },
187
+ * "globalId": "system=http://www.mycompany.com/support&id=1",
188
+ * "id": 10000,
189
+ * "object": {
190
+ * "icon": {
191
+ * "title": "Support Ticket",
192
+ * "url16x16": "http://www.mycompany.com/support/ticket.png"
193
+ * },
194
+ * "status": {
195
+ * "icon": {
196
+ * "link": "http://www.mycompany.com/support?id=1&details=closed",
197
+ * "title": "Case Closed",
198
+ * "url16x16": "http://www.mycompany.com/support/resolved.png"
199
+ * },
200
+ * "resolved": true
201
+ * },
202
+ * "summary": "Customer support issue",
203
+ * "title": "TSTSUP-111",
204
+ * "url": "http://www.mycompany.com/support?id=1"
205
+ * },
206
+ * "relationship": "causes",
207
+ * "self":
208
+ * "https://your-domain.atlassian.net/rest/api/issue/MKY-1/remotelink/10000"
209
+ * }
210
+ * @path {GET} /rest/api/3/issue/{issueIdOrKey}/remotelink/{linkId}
211
+ * @scopes-current read:jira-work
212
+ * @scopes-beta read:issue.remote-link:jira, read:status:jira
213
+ * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-remote-links#api-rest-api-3-issue-issueidorkey-remotelink-linkid-get
214
+ */
215
+ this.getRemoteIssueLinkById = ({ issueIdOrKey, linkId, }) => {
216
+ return this.getClientInstance()
217
+ .request({
218
+ path: "/rest/api/3/issue/{issueIdOrKey}/remotelink/{linkId}",
219
+ method: "GET",
220
+ pathParams: {
221
+ issueIdOrKey,
222
+ linkId,
223
+ },
224
+ })
225
+ .then(this.getClientInstance().responseHandler({
226
+ 200: {
227
+ "application/json": "json",
228
+ },
229
+ }))
230
+ .then(commonHttpClient.castResponse())
231
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("IssueRemoteLinksService.getRemoteIssueLinkById.response"))
232
+ .then(commonHttpClient.getBody);
233
+ };
234
+ /**
235
+ * Returns the remote issue links for an issue. When a remote issue link global ID
236
+ * is provided the record with that global ID is returned, otherwise all remote
237
+ * issue links are returned. Where a global ID includes reserved URL characters
238
+ * these must be escaped in the request. For example, pass
239
+ * `system=http://www.mycompany.com/support&id=1` as
240
+ * `system%3Dhttp%3A%2F%2Fwww.mycompany.com%2Fsupport%26id%3D1`.
241
+ *
242
+ * This operation requires [issue linking to be
243
+ * active](https://confluence.atlassian.com/x/yoXKM).
244
+ *
245
+ * This operation can be accessed anonymously.
246
+ *
247
+ * **[Permissions](#permissions) required:**
248
+ *
249
+ * * *Browse projects* [project
250
+ * permission](https://confluence.atlassian.com/x/yodKLg) for the project that the
251
+ * issue is in.
252
+ * * If [issue-level security](https://confluence.atlassian.com/x/J4lKLg) is
253
+ * configured, issue-level security permission to view the issue.
254
+ *
255
+ * @returns Returned if the request is successful.
256
+ *
257
+ * example: [
258
+ * {
259
+ * "application": {
260
+ * "name": "My Acme Tracker",
261
+ * "type": "com.acme.tracker"
262
+ * },
263
+ * "globalId": "system=http://www.mycompany.com/support&id=1",
264
+ * "id": 10000,
265
+ * "object": {
266
+ * "icon": {
267
+ * "title": "Support Ticket",
268
+ * "url16x16": "http://www.mycompany.com/support/ticket.png"
269
+ * },
270
+ * "status": {
271
+ * "icon": {
272
+ * "link": "http://www.mycompany.com/support?id=1&details=closed",
273
+ * "title": "Case Closed",
274
+ * "url16x16": "http://www.mycompany.com/support/resolved.png"
275
+ * },
276
+ * "resolved": true
277
+ * },
278
+ * "summary": "Customer support issue",
279
+ * "title": "TSTSUP-111",
280
+ * "url": "http://www.mycompany.com/support?id=1"
281
+ * },
282
+ * "relationship": "causes",
283
+ * "self":
284
+ * "https://your-domain.atlassian.net/rest/api/issue/MKY-1/remotelink/10000"
285
+ * },
286
+ * {
287
+ * "application": {
288
+ * "name": "My Acme Tester",
289
+ * "type": "com.acme.tester"
290
+ * },
291
+ * "globalId": "system=http://www.anothercompany.com/tester&id=1234",
292
+ * "id": 10001,
293
+ * "object": {
294
+ * "icon": {
295
+ * "title": "Test Case",
296
+ * "url16x16": "http://www.anothercompany.com/tester/images/testcase.gif"
297
+ * },
298
+ * "status": {
299
+ * "icon": {
300
+ * "link":
301
+ * "http://www.anothercompany.com/tester/person?accountId=5b10a2844c20165700ede21g",
302
+ * "title": "Tested by Mia Krystof",
303
+ * "url16x16":
304
+ * "http://www.anothercompany.com/tester/images/person/mia.gif"
305
+ * },
306
+ * "resolved": false
307
+ * },
308
+ * "summary": "Test that the submit button saves the item",
309
+ * "title": "Test Case #1234",
310
+ * "url": "http://www.anothercompany.com/tester/testcase/1234"
311
+ * },
312
+ * "relationship": "is tested by",
313
+ * "self":
314
+ * "https://your-domain.atlassian.net/rest/api/issue/MKY-1/remotelink/10001"
315
+ * }
316
+ * ]
317
+ * @path {GET} /rest/api/3/issue/{issueIdOrKey}/remotelink
318
+ * @scopes-current read:jira-work
319
+ * @scopes-beta read:issue.remote-link:jira, read:status:jira
320
+ * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-remote-links#api-rest-api-3-issue-issueidorkey-remotelink-get
321
+ */
322
+ this.getRemoteIssueLinks = ({ issueIdOrKey, globalId, }) => {
323
+ return this.getClientInstance()
324
+ .request({
325
+ path: "/rest/api/3/issue/{issueIdOrKey}/remotelink",
326
+ method: "GET",
327
+ pathParams: {
328
+ issueIdOrKey,
329
+ },
330
+ query: {
331
+ globalId,
332
+ },
333
+ })
334
+ .then(this.getClientInstance().responseHandler({
335
+ 200: {
336
+ "application/json": "json",
337
+ },
338
+ }))
339
+ .then(commonHttpClient.castResponse())
340
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("IssueRemoteLinksService.getRemoteIssueLinks.response"))
341
+ .then(commonHttpClient.getBody);
342
+ };
343
+ /**
344
+ * Updates a remote issue link for an issue.
345
+ *
346
+ * Note: Fields without values in the request are set to null.
347
+ *
348
+ * This operation requires [issue linking to be
349
+ * active](https://confluence.atlassian.com/x/yoXKM).
350
+ *
351
+ * This operation can be accessed anonymously.
352
+ *
353
+ * **[Permissions](#permissions) required:**
354
+ *
355
+ * * *Browse projects* and *Link issues* [project
356
+ * permission](https://confluence.atlassian.com/x/yodKLg) for the project that the
357
+ * issue is in.
358
+ * * If [issue-level security](https://confluence.atlassian.com/x/J4lKLg) is
359
+ * configured, issue-level security permission to view the issue.
360
+ *
361
+ * @returns Returned if the request is successful.
362
+ * @path {PUT} /rest/api/3/issue/{issueIdOrKey}/remotelink/{linkId}
363
+ * @scopes-current write:jira-work
364
+ * @scopes-beta write:issue:jira, write:issue.remote-link:jira
365
+ * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-remote-links#api-rest-api-3-issue-issueidorkey-remotelink-linkid-put
366
+ */
367
+ this.updateRemoteIssueLink = ({ issueIdOrKey, linkId, remoteIssueLinkRequest, }) => {
368
+ return this.getClientInstance()
369
+ .request({
370
+ path: "/rest/api/3/issue/{issueIdOrKey}/remotelink/{linkId}",
371
+ method: "PUT",
372
+ pathParams: {
373
+ issueIdOrKey,
374
+ linkId,
375
+ },
376
+ headers: {
377
+ "Content-Type": "application/json",
378
+ },
379
+ body: remoteIssueLinkRequest,
380
+ })
381
+ .then(this.getClientInstance().responseHandler({
382
+ 204: {
383
+ "application/json": "json",
384
+ },
385
+ }))
386
+ .then(commonHttpClient.castResponse())
387
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("IssueRemoteLinksService.updateRemoteIssueLink.response"))
388
+ .then(commonHttpClient.getBody);
389
+ };
387
390
  }
388
391
  static initialize() {
389
392
  validationSchemaStorage_1.validationSchemaStorage.registerExtensible("IssueRemoteLinksService.getRemoteIssueLinks.response", zod_1.z