@resolution/jira-api-client 0.4.4 → 0.4.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (326) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/lib/openapi/platform/BaseJiraPlatformApiClient.d.ts +28 -4
  3. package/lib/openapi/platform/BaseJiraPlatformApiClient.js +24 -1
  4. package/lib/openapi/platform/BaseJiraPlatformApiClient.js.map +1 -1
  5. package/lib/openapi/platform/models/common.d.ts +6 -0
  6. package/lib/openapi/platform/models/common.js +12 -1
  7. package/lib/openapi/platform/models/common.js.map +1 -1
  8. package/lib/openapi/platform/models/dynamicModules.d.ts +0 -9
  9. package/lib/openapi/platform/models/dynamicModules.js +0 -6
  10. package/lib/openapi/platform/models/dynamicModules.js.map +1 -1
  11. package/lib/openapi/platform/models/issueBulkOperations.d.ts +547 -0
  12. package/lib/openapi/platform/models/issueBulkOperations.js +437 -0
  13. package/lib/openapi/platform/models/issueBulkOperations.js.map +1 -0
  14. package/lib/openapi/platform/services/AnnouncementBannerService.d.ts +3 -3
  15. package/lib/openapi/platform/services/AnnouncementBannerService.js +65 -62
  16. package/lib/openapi/platform/services/AnnouncementBannerService.js.map +1 -1
  17. package/lib/openapi/platform/services/AppDataPoliciesService.d.ts +4 -4
  18. package/lib/openapi/platform/services/AppDataPoliciesService.js +70 -67
  19. package/lib/openapi/platform/services/AppDataPoliciesService.js.map +1 -1
  20. package/lib/openapi/platform/services/AppMigrationService.d.ts +6 -6
  21. package/lib/openapi/platform/services/AppMigrationService.js +139 -136
  22. package/lib/openapi/platform/services/AppMigrationService.js.map +1 -1
  23. package/lib/openapi/platform/services/AppPropertiesService.d.ts +12 -12
  24. package/lib/openapi/platform/services/AppPropertiesService.js +254 -251
  25. package/lib/openapi/platform/services/AppPropertiesService.js.map +1 -1
  26. package/lib/openapi/platform/services/ApplicationRolesService.d.ts +3 -3
  27. package/lib/openapi/platform/services/ApplicationRolesService.js +177 -174
  28. package/lib/openapi/platform/services/ApplicationRolesService.js.map +1 -1
  29. package/lib/openapi/platform/services/AuditRecordsService.d.ts +7 -7
  30. package/lib/openapi/platform/services/AuditRecordsService.js +97 -94
  31. package/lib/openapi/platform/services/AuditRecordsService.js.map +1 -1
  32. package/lib/openapi/platform/services/AvatarsService.d.ts +25 -31
  33. package/lib/openapi/platform/services/AvatarsService.js +412 -415
  34. package/lib/openapi/platform/services/AvatarsService.js.map +1 -1
  35. package/lib/openapi/platform/services/ClassificationLevelsService.d.ts +4 -4
  36. package/lib/openapi/platform/services/ClassificationLevelsService.js +79 -76
  37. package/lib/openapi/platform/services/ClassificationLevelsService.js.map +1 -1
  38. package/lib/openapi/platform/services/DashboardsService.d.ts +62 -50
  39. package/lib/openapi/platform/services/DashboardsService.js +983 -974
  40. package/lib/openapi/platform/services/DashboardsService.js.map +1 -1
  41. package/lib/openapi/platform/services/DynamicModulesService.d.ts +6 -6
  42. package/lib/openapi/platform/services/DynamicModulesService.js +68 -65
  43. package/lib/openapi/platform/services/DynamicModulesService.js.map +1 -1
  44. package/lib/openapi/platform/services/FilterSharingService.d.ts +11 -11
  45. package/lib/openapi/platform/services/FilterSharingService.js +512 -509
  46. package/lib/openapi/platform/services/FilterSharingService.js.map +1 -1
  47. package/lib/openapi/platform/services/FiltersService.d.ts +50 -50
  48. package/lib/openapi/platform/services/FiltersService.js +1262 -1259
  49. package/lib/openapi/platform/services/FiltersService.js.map +1 -1
  50. package/lib/openapi/platform/services/GroupAndUserPickerService.d.ts +10 -10
  51. package/lib/openapi/platform/services/GroupAndUserPickerService.js +112 -109
  52. package/lib/openapi/platform/services/GroupAndUserPickerService.js.map +1 -1
  53. package/lib/openapi/platform/services/GroupsService.d.ts +46 -46
  54. package/lib/openapi/platform/services/GroupsService.js +385 -382
  55. package/lib/openapi/platform/services/GroupsService.js.map +1 -1
  56. package/lib/openapi/platform/services/IssueAttachmentsService.d.ts +20 -20
  57. package/lib/openapi/platform/services/IssueAttachmentsService.js +644 -641
  58. package/lib/openapi/platform/services/IssueAttachmentsService.js.map +1 -1
  59. package/lib/openapi/platform/services/IssueBulkOperationsService.d.ts +325 -0
  60. package/lib/openapi/platform/services/IssueBulkOperationsService.js +353 -0
  61. package/lib/openapi/platform/services/IssueBulkOperationsService.js.map +1 -0
  62. package/lib/openapi/platform/services/IssueCommentPropertiesService.d.ts +8 -8
  63. package/lib/openapi/platform/services/IssueCommentPropertiesService.js +187 -184
  64. package/lib/openapi/platform/services/IssueCommentPropertiesService.js.map +1 -1
  65. package/lib/openapi/platform/services/IssueCommentsService.d.ts +22 -22
  66. package/lib/openapi/platform/services/IssueCommentsService.js +507 -504
  67. package/lib/openapi/platform/services/IssueCommentsService.js.map +1 -1
  68. package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.d.ts +11 -11
  69. package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.js +126 -123
  70. package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.js.map +1 -1
  71. package/lib/openapi/platform/services/IssueCustomFieldContextsService.d.ts +42 -42
  72. package/lib/openapi/platform/services/IssueCustomFieldContextsService.js +748 -745
  73. package/lib/openapi/platform/services/IssueCustomFieldContextsService.js.map +1 -1
  74. package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.d.ts +28 -28
  75. package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.js +535 -532
  76. package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.js.map +1 -1
  77. package/lib/openapi/platform/services/IssueCustomFieldOptionsService.d.ts +20 -20
  78. package/lib/openapi/platform/services/IssueCustomFieldOptionsService.js +358 -355
  79. package/lib/openapi/platform/services/IssueCustomFieldOptionsService.js.map +1 -1
  80. package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.d.ts +6 -6
  81. package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.js +86 -83
  82. package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.js.map +1 -1
  83. package/lib/openapi/platform/services/IssueFieldConfigurationsService.d.ts +45 -45
  84. package/lib/openapi/platform/services/IssueFieldConfigurationsService.js +689 -686
  85. package/lib/openapi/platform/services/IssueFieldConfigurationsService.js.map +1 -1
  86. package/lib/openapi/platform/services/IssueFieldsService.d.ts +32 -32
  87. package/lib/openapi/platform/services/IssueFieldsService.js +484 -481
  88. package/lib/openapi/platform/services/IssueFieldsService.js.map +1 -1
  89. package/lib/openapi/platform/services/IssueLinkTypesService.d.ts +9 -9
  90. package/lib/openapi/platform/services/IssueLinkTypesService.js +212 -209
  91. package/lib/openapi/platform/services/IssueLinkTypesService.js.map +1 -1
  92. package/lib/openapi/platform/services/IssueLinksService.d.ts +6 -6
  93. package/lib/openapi/platform/services/IssueLinksService.js +230 -227
  94. package/lib/openapi/platform/services/IssueLinksService.js.map +1 -1
  95. package/lib/openapi/platform/services/IssueNavigatorSettingsService.d.ts +3 -3
  96. package/lib/openapi/platform/services/IssueNavigatorSettingsService.js +72 -69
  97. package/lib/openapi/platform/services/IssueNavigatorSettingsService.js.map +1 -1
  98. package/lib/openapi/platform/services/IssueNotificationSchemesService.d.ts +27 -27
  99. package/lib/openapi/platform/services/IssueNotificationSchemesService.js +816 -813
  100. package/lib/openapi/platform/services/IssueNotificationSchemesService.js.map +1 -1
  101. package/lib/openapi/platform/services/IssuePrioritiesService.d.ts +22 -22
  102. package/lib/openapi/platform/services/IssuePrioritiesService.js +307 -304
  103. package/lib/openapi/platform/services/IssuePrioritiesService.js.map +1 -1
  104. package/lib/openapi/platform/services/IssuePropertiesService.d.ts +16 -16
  105. package/lib/openapi/platform/services/IssuePropertiesService.js +390 -387
  106. package/lib/openapi/platform/services/IssuePropertiesService.js.map +1 -1
  107. package/lib/openapi/platform/services/IssueRemoteLinksService.d.ts +13 -13
  108. package/lib/openapi/platform/services/IssueRemoteLinksService.js +368 -365
  109. package/lib/openapi/platform/services/IssueRemoteLinksService.js.map +1 -1
  110. package/lib/openapi/platform/services/IssueResolutionsService.d.ts +19 -19
  111. package/lib/openapi/platform/services/IssueResolutionsService.js +283 -280
  112. package/lib/openapi/platform/services/IssueResolutionsService.js.map +1 -1
  113. package/lib/openapi/platform/services/IssueSearchService.d.ts +24 -24
  114. package/lib/openapi/platform/services/IssueSearchService.js +826 -823
  115. package/lib/openapi/platform/services/IssueSearchService.js.map +1 -1
  116. package/lib/openapi/platform/services/IssueSecurityLevelService.d.ts +8 -8
  117. package/lib/openapi/platform/services/IssueSecurityLevelService.js +137 -134
  118. package/lib/openapi/platform/services/IssueSecurityLevelService.js.map +1 -1
  119. package/lib/openapi/platform/services/IssueSecuritySchemesService.d.ts +51 -51
  120. package/lib/openapi/platform/services/IssueSecuritySchemesService.js +610 -607
  121. package/lib/openapi/platform/services/IssueSecuritySchemesService.js.map +1 -1
  122. package/lib/openapi/platform/services/IssueTypePropertiesService.d.ts +8 -8
  123. package/lib/openapi/platform/services/IssueTypePropertiesService.js +175 -172
  124. package/lib/openapi/platform/services/IssueTypePropertiesService.js.map +1 -1
  125. package/lib/openapi/platform/services/IssueTypeSchemesService.d.ts +31 -31
  126. package/lib/openapi/platform/services/IssueTypeSchemesService.js +527 -524
  127. package/lib/openapi/platform/services/IssueTypeSchemesService.js.map +1 -1
  128. package/lib/openapi/platform/services/IssueTypeScreenSchemesService.d.ts +36 -36
  129. package/lib/openapi/platform/services/IssueTypeScreenSchemesService.js +508 -505
  130. package/lib/openapi/platform/services/IssueTypeScreenSchemesService.js.map +1 -1
  131. package/lib/openapi/platform/services/IssueTypesService.d.ts +22 -28
  132. package/lib/openapi/platform/services/IssueTypesService.js +424 -427
  133. package/lib/openapi/platform/services/IssueTypesService.js.map +1 -1
  134. package/lib/openapi/platform/services/IssueVotesService.d.ts +6 -6
  135. package/lib/openapi/platform/services/IssueVotesService.js +148 -145
  136. package/lib/openapi/platform/services/IssueVotesService.js.map +1 -1
  137. package/lib/openapi/platform/services/IssueWatchersService.d.ts +10 -10
  138. package/lib/openapi/platform/services/IssueWatchersService.js +197 -194
  139. package/lib/openapi/platform/services/IssueWatchersService.js.map +1 -1
  140. package/lib/openapi/platform/services/IssueWorklogPropertiesService.d.ts +8 -8
  141. package/lib/openapi/platform/services/IssueWorklogPropertiesService.js +199 -196
  142. package/lib/openapi/platform/services/IssueWorklogPropertiesService.js.map +1 -1
  143. package/lib/openapi/platform/services/IssueWorklogsService.d.ts +44 -44
  144. package/lib/openapi/platform/services/IssueWorklogsService.js +636 -633
  145. package/lib/openapi/platform/services/IssueWorklogsService.js.map +1 -1
  146. package/lib/openapi/platform/services/IssuesService.d.ts +71 -71
  147. package/lib/openapi/platform/services/IssuesService.js +1856 -1853
  148. package/lib/openapi/platform/services/IssuesService.js.map +1 -1
  149. package/lib/openapi/platform/services/JiraExpressionsService.d.ts +6 -6
  150. package/lib/openapi/platform/services/JiraExpressionsService.js +238 -235
  151. package/lib/openapi/platform/services/JiraExpressionsService.js.map +1 -1
  152. package/lib/openapi/platform/services/JiraSettingsService.d.ts +9 -9
  153. package/lib/openapi/platform/services/JiraSettingsService.js +279 -276
  154. package/lib/openapi/platform/services/JiraSettingsService.js.map +1 -1
  155. package/lib/openapi/platform/services/JqlFunctionsAppsService.d.ts +8 -8
  156. package/lib/openapi/platform/services/JqlFunctionsAppsService.js +107 -104
  157. package/lib/openapi/platform/services/JqlFunctionsAppsService.js.map +1 -1
  158. package/lib/openapi/platform/services/JqlService.d.ts +15 -15
  159. package/lib/openapi/platform/services/JqlService.js +635 -632
  160. package/lib/openapi/platform/services/JqlService.js.map +1 -1
  161. package/lib/openapi/platform/services/LabelsService.d.ts +4 -4
  162. package/lib/openapi/platform/services/LabelsService.js +41 -38
  163. package/lib/openapi/platform/services/LabelsService.js.map +1 -1
  164. package/lib/openapi/platform/services/LicenseMetricsService.d.ts +4 -4
  165. package/lib/openapi/platform/services/LicenseMetricsService.js +120 -117
  166. package/lib/openapi/platform/services/LicenseMetricsService.js.map +1 -1
  167. package/lib/openapi/platform/services/MyselfService.d.ts +14 -14
  168. package/lib/openapi/platform/services/MyselfService.js +321 -318
  169. package/lib/openapi/platform/services/MyselfService.js.map +1 -1
  170. package/lib/openapi/platform/services/PermissionSchemesService.d.ts +25 -25
  171. package/lib/openapi/platform/services/PermissionSchemesService.js +548 -545
  172. package/lib/openapi/platform/services/PermissionSchemesService.js.map +1 -1
  173. package/lib/openapi/platform/services/PermissionsService.d.ts +15 -15
  174. package/lib/openapi/platform/services/PermissionsService.js +235 -232
  175. package/lib/openapi/platform/services/PermissionsService.js.map +1 -1
  176. package/lib/openapi/platform/services/PrioritySchemesService.d.ts +34 -34
  177. package/lib/openapi/platform/services/PrioritySchemesService.js +571 -568
  178. package/lib/openapi/platform/services/PrioritySchemesService.js.map +1 -1
  179. package/lib/openapi/platform/services/ProjectAvatarsService.d.ts +11 -11
  180. package/lib/openapi/platform/services/ProjectAvatarsService.js +213 -210
  181. package/lib/openapi/platform/services/ProjectAvatarsService.js.map +1 -1
  182. package/lib/openapi/platform/services/ProjectCategoriesService.d.ts +9 -9
  183. package/lib/openapi/platform/services/ProjectCategoriesService.js +180 -177
  184. package/lib/openapi/platform/services/ProjectCategoriesService.js.map +1 -1
  185. package/lib/openapi/platform/services/ProjectClassificationLevelsService.d.ts +6 -6
  186. package/lib/openapi/platform/services/ProjectClassificationLevelsService.js +125 -122
  187. package/lib/openapi/platform/services/ProjectClassificationLevelsService.js.map +1 -1
  188. package/lib/openapi/platform/services/ProjectComponentsService.d.ts +28 -28
  189. package/lib/openapi/platform/services/ProjectComponentsService.js +1009 -1006
  190. package/lib/openapi/platform/services/ProjectComponentsService.js.map +1 -1
  191. package/lib/openapi/platform/services/ProjectEmailService.d.ts +4 -4
  192. package/lib/openapi/platform/services/ProjectEmailService.js +78 -75
  193. package/lib/openapi/platform/services/ProjectEmailService.js.map +1 -1
  194. package/lib/openapi/platform/services/ProjectFeaturesService.d.ts +4 -4
  195. package/lib/openapi/platform/services/ProjectFeaturesService.js +119 -116
  196. package/lib/openapi/platform/services/ProjectFeaturesService.js.map +1 -1
  197. package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.d.ts +8 -8
  198. package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.js +100 -97
  199. package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.js.map +1 -1
  200. package/lib/openapi/platform/services/ProjectPermissionSchemesService.d.ts +10 -10
  201. package/lib/openapi/platform/services/ProjectPermissionSchemesService.js +199 -196
  202. package/lib/openapi/platform/services/ProjectPermissionSchemesService.js.map +1 -1
  203. package/lib/openapi/platform/services/ProjectPropertiesService.d.ts +8 -8
  204. package/lib/openapi/platform/services/ProjectPropertiesService.js +172 -169
  205. package/lib/openapi/platform/services/ProjectPropertiesService.js.map +1 -1
  206. package/lib/openapi/platform/services/ProjectRoleActorsService.d.ts +18 -18
  207. package/lib/openapi/platform/services/ProjectRoleActorsService.js +362 -359
  208. package/lib/openapi/platform/services/ProjectRoleActorsService.js.map +1 -1
  209. package/lib/openapi/platform/services/ProjectRolesService.d.ts +21 -21
  210. package/lib/openapi/platform/services/ProjectRolesService.js +576 -573
  211. package/lib/openapi/platform/services/ProjectRolesService.js.map +1 -1
  212. package/lib/openapi/platform/services/ProjectTypesService.d.ts +6 -6
  213. package/lib/openapi/platform/services/ProjectTypesService.js +173 -170
  214. package/lib/openapi/platform/services/ProjectTypesService.js.map +1 -1
  215. package/lib/openapi/platform/services/ProjectVersionsService.d.ts +40 -40
  216. package/lib/openapi/platform/services/ProjectVersionsService.js +751 -748
  217. package/lib/openapi/platform/services/ProjectVersionsService.js.map +1 -1
  218. package/lib/openapi/platform/services/ProjectsService.d.ts +49 -49
  219. package/lib/openapi/platform/services/ProjectsService.js +1597 -1594
  220. package/lib/openapi/platform/services/ProjectsService.js.map +1 -1
  221. package/lib/openapi/platform/services/ScreenSchemesService.d.ts +14 -14
  222. package/lib/openapi/platform/services/ScreenSchemesService.js +177 -174
  223. package/lib/openapi/platform/services/ScreenSchemesService.js.map +1 -1
  224. package/lib/openapi/platform/services/ScreenTabFieldsService.d.ts +9 -9
  225. package/lib/openapi/platform/services/ScreenTabFieldsService.js +144 -141
  226. package/lib/openapi/platform/services/ScreenTabFieldsService.js.map +1 -1
  227. package/lib/openapi/platform/services/ScreenTabsService.d.ts +17 -17
  228. package/lib/openapi/platform/services/ScreenTabsService.js +229 -226
  229. package/lib/openapi/platform/services/ScreenTabsService.js.map +1 -1
  230. package/lib/openapi/platform/services/ScreensService.d.ts +23 -23
  231. package/lib/openapi/platform/services/ScreensService.js +281 -278
  232. package/lib/openapi/platform/services/ScreensService.js.map +1 -1
  233. package/lib/openapi/platform/services/ServerInfoService.d.ts +1 -1
  234. package/lib/openapi/platform/services/ServerInfoService.js +51 -48
  235. package/lib/openapi/platform/services/ServerInfoService.js.map +1 -1
  236. package/lib/openapi/platform/services/ServiceRegistryService.d.ts +2 -2
  237. package/lib/openapi/platform/services/ServiceRegistryService.js +30 -27
  238. package/lib/openapi/platform/services/ServiceRegistryService.js.map +1 -1
  239. package/lib/openapi/platform/services/StatusService.d.ts +17 -17
  240. package/lib/openapi/platform/services/StatusService.js +271 -268
  241. package/lib/openapi/platform/services/StatusService.js.map +1 -1
  242. package/lib/openapi/platform/services/TasksService.d.ts +4 -4
  243. package/lib/openapi/platform/services/TasksService.js +93 -90
  244. package/lib/openapi/platform/services/TasksService.js.map +1 -1
  245. package/lib/openapi/platform/services/TimeTrackingService.d.ts +7 -7
  246. package/lib/openapi/platform/services/TimeTrackingService.js +190 -187
  247. package/lib/openapi/platform/services/TimeTrackingService.js.map +1 -1
  248. package/lib/openapi/platform/services/UiModificationsAppsService.d.ts +11 -11
  249. package/lib/openapi/platform/services/UiModificationsAppsService.js +214 -211
  250. package/lib/openapi/platform/services/UiModificationsAppsService.js.map +1 -1
  251. package/lib/openapi/platform/services/UserPropertiesService.d.ts +20 -20
  252. package/lib/openapi/platform/services/UserPropertiesService.js +196 -193
  253. package/lib/openapi/platform/services/UserPropertiesService.js.map +1 -1
  254. package/lib/openapi/platform/services/UserSearchService.d.ts +61 -61
  255. package/lib/openapi/platform/services/UserSearchService.js +709 -706
  256. package/lib/openapi/platform/services/UserSearchService.js.map +1 -1
  257. package/lib/openapi/platform/services/UsersService.d.ts +51 -51
  258. package/lib/openapi/platform/services/UsersService.js +637 -634
  259. package/lib/openapi/platform/services/UsersService.js.map +1 -1
  260. package/lib/openapi/platform/services/WebhooksService.d.ts +14 -14
  261. package/lib/openapi/platform/services/WebhooksService.js +262 -259
  262. package/lib/openapi/platform/services/WebhooksService.js.map +1 -1
  263. package/lib/openapi/platform/services/WorkflowSchemeDraftsService.d.ts +30 -30
  264. package/lib/openapi/platform/services/WorkflowSchemeDraftsService.js +861 -858
  265. package/lib/openapi/platform/services/WorkflowSchemeDraftsService.js.map +1 -1
  266. package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.d.ts +4 -4
  267. package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.js +98 -95
  268. package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.js.map +1 -1
  269. package/lib/openapi/platform/services/WorkflowSchemesService.d.ts +45 -45
  270. package/lib/openapi/platform/services/WorkflowSchemesService.js +899 -896
  271. package/lib/openapi/platform/services/WorkflowSchemesService.js.map +1 -1
  272. package/lib/openapi/platform/services/WorkflowStatusCategoriesService.d.ts +3 -3
  273. package/lib/openapi/platform/services/WorkflowStatusCategoriesService.js +82 -79
  274. package/lib/openapi/platform/services/WorkflowStatusCategoriesService.js.map +1 -1
  275. package/lib/openapi/platform/services/WorkflowStatusesService.d.ts +3 -3
  276. package/lib/openapi/platform/services/WorkflowStatusesService.js +110 -107
  277. package/lib/openapi/platform/services/WorkflowStatusesService.js.map +1 -1
  278. package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.d.ts +14 -14
  279. package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.js +182 -179
  280. package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.js.map +1 -1
  281. package/lib/openapi/platform/services/WorkflowTransitionRulesService.d.ts +13 -13
  282. package/lib/openapi/platform/services/WorkflowTransitionRulesService.js +283 -280
  283. package/lib/openapi/platform/services/WorkflowTransitionRulesService.js.map +1 -1
  284. package/lib/openapi/platform/services/WorkflowsService.d.ts +33 -33
  285. package/lib/openapi/platform/services/WorkflowsService.js +2451 -2448
  286. package/lib/openapi/platform/services/WorkflowsService.js.map +1 -1
  287. package/lib/openapi/software/services/BacklogService.d.ts +4 -4
  288. package/lib/openapi/software/services/BacklogService.js +81 -78
  289. package/lib/openapi/software/services/BacklogService.js.map +1 -1
  290. package/lib/openapi/software/services/BoardService.d.ts +124 -124
  291. package/lib/openapi/software/services/BoardService.js +2048 -2045
  292. package/lib/openapi/software/services/BoardService.js.map +1 -1
  293. package/lib/openapi/software/services/BuildsService.d.ts +10 -10
  294. package/lib/openapi/software/services/BuildsService.js +164 -161
  295. package/lib/openapi/software/services/BuildsService.js.map +1 -1
  296. package/lib/openapi/software/services/DeploymentsService.d.ts +12 -12
  297. package/lib/openapi/software/services/DeploymentsService.js +192 -189
  298. package/lib/openapi/software/services/DeploymentsService.js.map +1 -1
  299. package/lib/openapi/software/services/DevOpsComponentsService.d.ts +8 -8
  300. package/lib/openapi/software/services/DevOpsComponentsService.js +145 -142
  301. package/lib/openapi/software/services/DevOpsComponentsService.js.map +1 -1
  302. package/lib/openapi/software/services/DevelopmentInformationService.d.ts +16 -16
  303. package/lib/openapi/software/services/DevelopmentInformationService.js +178 -175
  304. package/lib/openapi/software/services/DevelopmentInformationService.js.map +1 -1
  305. package/lib/openapi/software/services/EpicService.d.ts +26 -26
  306. package/lib/openapi/software/services/EpicService.js +597 -594
  307. package/lib/openapi/software/services/EpicService.js.map +1 -1
  308. package/lib/openapi/software/services/FeatureFlagsService.d.ts +10 -10
  309. package/lib/openapi/software/services/FeatureFlagsService.js +151 -148
  310. package/lib/openapi/software/services/FeatureFlagsService.js.map +1 -1
  311. package/lib/openapi/software/services/IssueService.d.ts +13 -13
  312. package/lib/openapi/software/services/IssueService.js +359 -356
  313. package/lib/openapi/software/services/IssueService.js.map +1 -1
  314. package/lib/openapi/software/services/OperationsService.d.ts +24 -24
  315. package/lib/openapi/software/services/OperationsService.js +301 -298
  316. package/lib/openapi/software/services/OperationsService.js.map +1 -1
  317. package/lib/openapi/software/services/RemoteLinksService.d.ts +15 -15
  318. package/lib/openapi/software/services/RemoteLinksService.js +160 -157
  319. package/lib/openapi/software/services/RemoteLinksService.js.map +1 -1
  320. package/lib/openapi/software/services/SecurityInformationService.d.ts +16 -16
  321. package/lib/openapi/software/services/SecurityInformationService.js +262 -259
  322. package/lib/openapi/software/services/SecurityInformationService.js.map +1 -1
  323. package/lib/openapi/software/services/SprintService.d.ts +33 -33
  324. package/lib/openapi/software/services/SprintService.js +594 -591
  325. package/lib/openapi/software/services/SprintService.js.map +1 -1
  326. package/package.json +4 -3
@@ -26,265 +26,268 @@ const validationSchemaStorage_1 = require("../validationSchemaStorage");
26
26
  * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-security-information
27
27
  */
28
28
  class SecurityInformationService extends CommonHttpService_1.CommonHttpService {
29
- /**
30
- * Bulk delete all linked Security Workspaces that match the given request.
31
- *
32
- * Only Connect apps that define the `jiraSecurityInfoProvider` module can access
33
- * this resource.
34
- * This resource requires the 'DELETE' scope for Connect apps.
35
- *
36
- * e.g. DELETE /bulk?workspaceIds=111-222-333,444-555-666
37
- *
38
- * @path {DELETE} /rest/security/1.0/linkedWorkspaces/bulk
39
- * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-security-information#api-rest-security-1-0-linkedworkspaces-bulk-delete
40
- */
41
- deleteLinkedWorkspaces({ authorization, }) {
42
- return this.getClientInstance()
43
- .request({
44
- path: "/rest/security/1.0/linkedWorkspaces/bulk",
45
- method: "DELETE",
46
- headers: {
47
- Authorization: authorization,
48
- },
49
- })
50
- .then(commonHttpClient.discardResult);
51
- }
52
- /**
53
- * Bulk delete all Vulnerabilities that match the given request.
54
- *
55
- * One or more query params must be supplied to specify Properties to delete by.
56
- * If more than one Property is provided, data will be deleted that matches ALL of
57
- * the Properties (e.g. treated as an AND).
58
- * Read the POST bulk endpoint documentation for more details.
59
- *
60
- * e.g. DELETE /bulkByProperties?accountId=account-123&createdBy=user-456
61
- *
62
- * Deletion is performed asynchronously. The GET vulnerability endpoint can be
63
- * used to confirm that data has been deleted successfully (if needed).
64
- *
65
- * Only Connect apps that define the `jiraSecurityInfoProvider` module can access
66
- * this resource.
67
- * This resource requires the 'DELETE' scope for Connect apps.
68
- *
69
- * @path {DELETE} /rest/security/1.0/bulkByProperties
70
- * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-security-information#api-rest-security-1-0-bulkbyproperties-delete
71
- */
72
- deleteVulnerabilitiesByProperty({ authorization, }) {
73
- return this.getClientInstance()
74
- .request({
75
- path: "/rest/security/1.0/bulkByProperties",
76
- method: "DELETE",
77
- headers: {
78
- Authorization: authorization,
79
- },
80
- })
81
- .then(commonHttpClient.discardResult);
82
- }
83
- /**
84
- * Delete the Vulnerability data currently stored for the given ID.
85
- *
86
- * Deletion is performed asynchronously. The GET vulnerability endpoint can be
87
- * used to confirm that data has been deleted successfully (if needed).
88
- *
89
- * Only Connect apps that define the `jiraSecurityInfoProvider` module can access
90
- * this resource.
91
- * This resource requires the 'DELETE' scope for Connect apps.
92
- *
93
- * @path {DELETE} /rest/security/1.0/vulnerability/{vulnerabilityId}
94
- * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-security-information#api-rest-security-1-0-vulnerability-vulnerabilityid-delete
95
- */
96
- deleteVulnerabilityById({ vulnerabilityId, authorization, }) {
97
- return this.getClientInstance()
98
- .request({
99
- path: "/rest/security/1.0/vulnerability/{vulnerabilityId}",
100
- method: "DELETE",
101
- pathParams: {
102
- vulnerabilityId,
103
- },
104
- headers: {
105
- Authorization: authorization,
106
- },
107
- })
108
- .then(commonHttpClient.discardResult);
109
- }
110
- /**
111
- * Retrieve a specific Security Workspace linked to the Jira site for the given
112
- * workspace ID.
113
- *
114
- * The result will be what is currently stored, ignoring any pending updates or
115
- * deletes.
116
- *
117
- * Only Connect apps that define the `jiraSecurityInfoProvider` module can access
118
- * this resource.
119
- * This resource requires the 'READ' scope for Connect apps.
120
- *
121
- * @returns The Security Workspace information stored for the given ID.
122
- * @path {GET} /rest/security/1.0/linkedWorkspaces/{workspaceId}
123
- * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-security-information#api-rest-security-1-0-linkedworkspaces-workspaceid-get
124
- */
125
- getLinkedWorkspaceById({ workspaceId, authorization, }) {
126
- return this.getClientInstance()
127
- .request({
128
- path: "/rest/security/1.0/linkedWorkspaces/{workspaceId}",
129
- method: "GET",
130
- pathParams: {
131
- workspaceId,
132
- },
133
- headers: {
134
- Authorization: authorization,
135
- },
136
- })
137
- .then(this.getClientInstance().responseHandler({
138
- 200: {
139
- "application/json": "json",
140
- },
141
- }))
142
- .then(commonHttpClient.castResponse())
143
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("SecurityInformationService.getLinkedWorkspaceById.response"))
144
- .then(commonHttpClient.getBody);
145
- }
146
- /**
147
- * Retrieve all Security Workspaces linked with the Jira site.
148
- *
149
- * The result will be what is currently stored, ignoring any pending updates or
150
- * deletes.
151
- *
152
- * Only Connect apps that define the `jiraSecurityInfoProvider` module can access
153
- * this resource.
154
- * This resource requires the 'READ' scope for Connect apps.
155
- *
156
- * @returns A list of all stored workspace IDs.
157
- * @path {GET} /rest/security/1.0/linkedWorkspaces
158
- * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-security-information#api-rest-security-1-0-linkedworkspaces-get
159
- */
160
- getLinkedWorkspaces({ authorization, }) {
161
- return this.getClientInstance()
162
- .request({
163
- path: "/rest/security/1.0/linkedWorkspaces",
164
- method: "GET",
165
- headers: {
166
- Authorization: authorization,
167
- },
168
- })
169
- .then(this.getClientInstance().responseHandler({
170
- 200: {
171
- "application/json": "json",
172
- },
173
- }))
174
- .then(commonHttpClient.castResponse())
175
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("SecurityInformationService.getLinkedWorkspaces.response"))
176
- .then(commonHttpClient.getBody);
177
- }
178
- /**
179
- * Retrieve the currently stored Vulnerability data for the given ID.
180
- *
181
- * The result will be what is currently stored, ignoring any pending updates or
182
- * deletes.
183
- *
184
- * Only Connect apps that define the `jiraSecurityInfoProvider` module can access
185
- * this resource.
186
- * This resource requires the 'READ' scope for Connect apps.
187
- *
188
- * @returns The Vulnerability data currently stored for the given ID.
189
- * @path {GET} /rest/security/1.0/vulnerability/{vulnerabilityId}
190
- * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-security-information#api-rest-security-1-0-vulnerability-vulnerabilityid-get
191
- */
192
- getVulnerabilityById({ vulnerabilityId, authorization, }) {
193
- return this.getClientInstance()
194
- .request({
195
- path: "/rest/security/1.0/vulnerability/{vulnerabilityId}",
196
- method: "GET",
197
- pathParams: {
198
- vulnerabilityId,
199
- },
200
- headers: {
201
- Authorization: authorization,
202
- },
203
- })
204
- .then(this.getClientInstance().responseHandler({
205
- 200: {
206
- "application/json": "json",
207
- },
208
- }))
209
- .then(commonHttpClient.castResponse())
210
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("SecurityInformationService.getVulnerabilityById.response"))
211
- .then(commonHttpClient.getBody);
212
- }
213
- /**
214
- * Update / Insert Vulnerability data.
215
- *
216
- * Vulnerabilities are identified by their ID, any existing Vulnerability data
217
- * with the same ID will be replaced if it exists and the updateSequenceNumber of
218
- * the existing data is less than the incoming data.
219
- *
220
- * Submissions are performed asynchronously. Most updates are available within a
221
- * short period of time but may take some time during peak load and/or maintenance
222
- * times. The GET vulnerability endpoint can be used to confirm that data has been
223
- * stored successfully (if needed).
224
- *
225
- * In the case of multiple Vulnerabilities being submitted in one request, each is
226
- * validated individually prior to submission. Details of Vulnerabilities that
227
- * failed submission (if any) are available in the response object.
228
- *
229
- * A maximum of 1000 vulnerabilities can be submitted in one request.
230
- *
231
- * Only Connect apps that define the `jiraSecurityInfoProvider` module can access
232
- * this resource.
233
- * This resource requires the 'WRITE' scope for Connect apps.
234
- *
235
- * @returns Submission accepted. Each Vulnerability submitted in a valid format will
236
- * eventually be available in Jira.
237
- *
238
- * Details of any Vulnerabilities that were submitted but failed submission (due
239
- * to data format problems, etc.) are available in the response object.
240
- * @path {POST} /rest/security/1.0/bulk
241
- * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-security-information#api-rest-security-1-0-bulk-post
242
- */
243
- submitVulnerabilities({ authorization, submitVulnerabilitiesRequest, }) {
244
- return this.getClientInstance()
245
- .request({
246
- path: "/rest/security/1.0/bulk",
247
- method: "POST",
248
- headers: {
249
- Authorization: authorization,
250
- "Content-Type": "application/json",
251
- },
252
- body: submitVulnerabilitiesRequest,
253
- })
254
- .then(this.getClientInstance().responseHandler({
255
- 202: {
256
- "application/json": "json",
257
- },
258
- }))
259
- .then(commonHttpClient.castResponse())
260
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("SecurityInformationService.submitVulnerabilities.response"))
261
- .then(commonHttpClient.getBody);
262
- }
263
- /**
264
- * Insert Security Workspace IDs to establish a relationship between them and the
265
- * Jira site the app is installed on. If a relationship between the workspace ID
266
- * and Jira already exists then the workspace ID will be ignored and Jira will
267
- * process the rest of the entries.
268
- *
269
- * Only Connect apps that define the `jiraSecurityInfoProvider` module can access
270
- * this resource.
271
- * This resource requires the 'WRITE' scope for Connect apps.
272
- *
273
- * @path {POST} /rest/security/1.0/linkedWorkspaces/bulk
274
- * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-security-information#api-rest-security-1-0-linkedworkspaces-bulk-post
275
- */
276
- submitWorkspaces({ authorization, submitSecurityWorkspacesRequest, }) {
277
- return this.getClientInstance()
278
- .request({
279
- path: "/rest/security/1.0/linkedWorkspaces/bulk",
280
- method: "POST",
281
- headers: {
282
- Authorization: authorization,
283
- "Content-Type": "application/json",
284
- },
285
- body: submitSecurityWorkspacesRequest,
286
- })
287
- .then(commonHttpClient.discardResult);
29
+ constructor() {
30
+ super(...arguments);
31
+ /**
32
+ * Bulk delete all linked Security Workspaces that match the given request.
33
+ *
34
+ * Only Connect apps that define the `jiraSecurityInfoProvider` module can access
35
+ * this resource.
36
+ * This resource requires the 'DELETE' scope for Connect apps.
37
+ *
38
+ * e.g. DELETE /bulk?workspaceIds=111-222-333,444-555-666
39
+ *
40
+ * @path {DELETE} /rest/security/1.0/linkedWorkspaces/bulk
41
+ * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-security-information#api-rest-security-1-0-linkedworkspaces-bulk-delete
42
+ */
43
+ this.deleteLinkedWorkspaces = ({ authorization, }) => {
44
+ return this.getClientInstance()
45
+ .request({
46
+ path: "/rest/security/1.0/linkedWorkspaces/bulk",
47
+ method: "DELETE",
48
+ headers: {
49
+ Authorization: authorization,
50
+ },
51
+ })
52
+ .then(commonHttpClient.discardResult);
53
+ };
54
+ /**
55
+ * Bulk delete all Vulnerabilities that match the given request.
56
+ *
57
+ * One or more query params must be supplied to specify Properties to delete by.
58
+ * If more than one Property is provided, data will be deleted that matches ALL of
59
+ * the Properties (e.g. treated as an AND).
60
+ * Read the POST bulk endpoint documentation for more details.
61
+ *
62
+ * e.g. DELETE /bulkByProperties?accountId=account-123&createdBy=user-456
63
+ *
64
+ * Deletion is performed asynchronously. The GET vulnerability endpoint can be
65
+ * used to confirm that data has been deleted successfully (if needed).
66
+ *
67
+ * Only Connect apps that define the `jiraSecurityInfoProvider` module can access
68
+ * this resource.
69
+ * This resource requires the 'DELETE' scope for Connect apps.
70
+ *
71
+ * @path {DELETE} /rest/security/1.0/bulkByProperties
72
+ * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-security-information#api-rest-security-1-0-bulkbyproperties-delete
73
+ */
74
+ this.deleteVulnerabilitiesByProperty = ({ authorization, }) => {
75
+ return this.getClientInstance()
76
+ .request({
77
+ path: "/rest/security/1.0/bulkByProperties",
78
+ method: "DELETE",
79
+ headers: {
80
+ Authorization: authorization,
81
+ },
82
+ })
83
+ .then(commonHttpClient.discardResult);
84
+ };
85
+ /**
86
+ * Delete the Vulnerability data currently stored for the given ID.
87
+ *
88
+ * Deletion is performed asynchronously. The GET vulnerability endpoint can be
89
+ * used to confirm that data has been deleted successfully (if needed).
90
+ *
91
+ * Only Connect apps that define the `jiraSecurityInfoProvider` module can access
92
+ * this resource.
93
+ * This resource requires the 'DELETE' scope for Connect apps.
94
+ *
95
+ * @path {DELETE} /rest/security/1.0/vulnerability/{vulnerabilityId}
96
+ * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-security-information#api-rest-security-1-0-vulnerability-vulnerabilityid-delete
97
+ */
98
+ this.deleteVulnerabilityById = ({ vulnerabilityId, authorization, }) => {
99
+ return this.getClientInstance()
100
+ .request({
101
+ path: "/rest/security/1.0/vulnerability/{vulnerabilityId}",
102
+ method: "DELETE",
103
+ pathParams: {
104
+ vulnerabilityId,
105
+ },
106
+ headers: {
107
+ Authorization: authorization,
108
+ },
109
+ })
110
+ .then(commonHttpClient.discardResult);
111
+ };
112
+ /**
113
+ * Retrieve a specific Security Workspace linked to the Jira site for the given
114
+ * workspace ID.
115
+ *
116
+ * The result will be what is currently stored, ignoring any pending updates or
117
+ * deletes.
118
+ *
119
+ * Only Connect apps that define the `jiraSecurityInfoProvider` module can access
120
+ * this resource.
121
+ * This resource requires the 'READ' scope for Connect apps.
122
+ *
123
+ * @returns The Security Workspace information stored for the given ID.
124
+ * @path {GET} /rest/security/1.0/linkedWorkspaces/{workspaceId}
125
+ * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-security-information#api-rest-security-1-0-linkedworkspaces-workspaceid-get
126
+ */
127
+ this.getLinkedWorkspaceById = ({ workspaceId, authorization, }) => {
128
+ return this.getClientInstance()
129
+ .request({
130
+ path: "/rest/security/1.0/linkedWorkspaces/{workspaceId}",
131
+ method: "GET",
132
+ pathParams: {
133
+ workspaceId,
134
+ },
135
+ headers: {
136
+ Authorization: authorization,
137
+ },
138
+ })
139
+ .then(this.getClientInstance().responseHandler({
140
+ 200: {
141
+ "application/json": "json",
142
+ },
143
+ }))
144
+ .then(commonHttpClient.castResponse())
145
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("SecurityInformationService.getLinkedWorkspaceById.response"))
146
+ .then(commonHttpClient.getBody);
147
+ };
148
+ /**
149
+ * Retrieve all Security Workspaces linked with the Jira site.
150
+ *
151
+ * The result will be what is currently stored, ignoring any pending updates or
152
+ * deletes.
153
+ *
154
+ * Only Connect apps that define the `jiraSecurityInfoProvider` module can access
155
+ * this resource.
156
+ * This resource requires the 'READ' scope for Connect apps.
157
+ *
158
+ * @returns A list of all stored workspace IDs.
159
+ * @path {GET} /rest/security/1.0/linkedWorkspaces
160
+ * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-security-information#api-rest-security-1-0-linkedworkspaces-get
161
+ */
162
+ this.getLinkedWorkspaces = ({ authorization, }) => {
163
+ return this.getClientInstance()
164
+ .request({
165
+ path: "/rest/security/1.0/linkedWorkspaces",
166
+ method: "GET",
167
+ headers: {
168
+ Authorization: authorization,
169
+ },
170
+ })
171
+ .then(this.getClientInstance().responseHandler({
172
+ 200: {
173
+ "application/json": "json",
174
+ },
175
+ }))
176
+ .then(commonHttpClient.castResponse())
177
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("SecurityInformationService.getLinkedWorkspaces.response"))
178
+ .then(commonHttpClient.getBody);
179
+ };
180
+ /**
181
+ * Retrieve the currently stored Vulnerability data for the given ID.
182
+ *
183
+ * The result will be what is currently stored, ignoring any pending updates or
184
+ * deletes.
185
+ *
186
+ * Only Connect apps that define the `jiraSecurityInfoProvider` module can access
187
+ * this resource.
188
+ * This resource requires the 'READ' scope for Connect apps.
189
+ *
190
+ * @returns The Vulnerability data currently stored for the given ID.
191
+ * @path {GET} /rest/security/1.0/vulnerability/{vulnerabilityId}
192
+ * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-security-information#api-rest-security-1-0-vulnerability-vulnerabilityid-get
193
+ */
194
+ this.getVulnerabilityById = ({ vulnerabilityId, authorization, }) => {
195
+ return this.getClientInstance()
196
+ .request({
197
+ path: "/rest/security/1.0/vulnerability/{vulnerabilityId}",
198
+ method: "GET",
199
+ pathParams: {
200
+ vulnerabilityId,
201
+ },
202
+ headers: {
203
+ Authorization: authorization,
204
+ },
205
+ })
206
+ .then(this.getClientInstance().responseHandler({
207
+ 200: {
208
+ "application/json": "json",
209
+ },
210
+ }))
211
+ .then(commonHttpClient.castResponse())
212
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("SecurityInformationService.getVulnerabilityById.response"))
213
+ .then(commonHttpClient.getBody);
214
+ };
215
+ /**
216
+ * Update / Insert Vulnerability data.
217
+ *
218
+ * Vulnerabilities are identified by their ID, any existing Vulnerability data
219
+ * with the same ID will be replaced if it exists and the updateSequenceNumber of
220
+ * the existing data is less than the incoming data.
221
+ *
222
+ * Submissions are performed asynchronously. Most updates are available within a
223
+ * short period of time but may take some time during peak load and/or maintenance
224
+ * times. The GET vulnerability endpoint can be used to confirm that data has been
225
+ * stored successfully (if needed).
226
+ *
227
+ * In the case of multiple Vulnerabilities being submitted in one request, each is
228
+ * validated individually prior to submission. Details of Vulnerabilities that
229
+ * failed submission (if any) are available in the response object.
230
+ *
231
+ * A maximum of 1000 vulnerabilities can be submitted in one request.
232
+ *
233
+ * Only Connect apps that define the `jiraSecurityInfoProvider` module can access
234
+ * this resource.
235
+ * This resource requires the 'WRITE' scope for Connect apps.
236
+ *
237
+ * @returns Submission accepted. Each Vulnerability submitted in a valid format will
238
+ * eventually be available in Jira.
239
+ *
240
+ * Details of any Vulnerabilities that were submitted but failed submission (due
241
+ * to data format problems, etc.) are available in the response object.
242
+ * @path {POST} /rest/security/1.0/bulk
243
+ * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-security-information#api-rest-security-1-0-bulk-post
244
+ */
245
+ this.submitVulnerabilities = ({ authorization, submitVulnerabilitiesRequest, }) => {
246
+ return this.getClientInstance()
247
+ .request({
248
+ path: "/rest/security/1.0/bulk",
249
+ method: "POST",
250
+ headers: {
251
+ Authorization: authorization,
252
+ "Content-Type": "application/json",
253
+ },
254
+ body: submitVulnerabilitiesRequest,
255
+ })
256
+ .then(this.getClientInstance().responseHandler({
257
+ 202: {
258
+ "application/json": "json",
259
+ },
260
+ }))
261
+ .then(commonHttpClient.castResponse())
262
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("SecurityInformationService.submitVulnerabilities.response"))
263
+ .then(commonHttpClient.getBody);
264
+ };
265
+ /**
266
+ * Insert Security Workspace IDs to establish a relationship between them and the
267
+ * Jira site the app is installed on. If a relationship between the workspace ID
268
+ * and Jira already exists then the workspace ID will be ignored and Jira will
269
+ * process the rest of the entries.
270
+ *
271
+ * Only Connect apps that define the `jiraSecurityInfoProvider` module can access
272
+ * this resource.
273
+ * This resource requires the 'WRITE' scope for Connect apps.
274
+ *
275
+ * @path {POST} /rest/security/1.0/linkedWorkspaces/bulk
276
+ * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-security-information#api-rest-security-1-0-linkedworkspaces-bulk-post
277
+ */
278
+ this.submitWorkspaces = ({ authorization, submitSecurityWorkspacesRequest, }) => {
279
+ return this.getClientInstance()
280
+ .request({
281
+ path: "/rest/security/1.0/linkedWorkspaces/bulk",
282
+ method: "POST",
283
+ headers: {
284
+ Authorization: authorization,
285
+ "Content-Type": "application/json",
286
+ },
287
+ body: submitSecurityWorkspacesRequest,
288
+ })
289
+ .then(commonHttpClient.discardResult);
290
+ };
288
291
  }
289
292
  static initialize() {
290
293
  validationSchemaStorage_1.validationSchemaStorage.registerExtensible("SecurityInformationService.submitVulnerabilities.response", zod_1.z
@@ -1 +1 @@
1
- {"version":3,"file":"SecurityInformationService.js","sourceRoot":"","sources":["../../../../src/openapi/software/services/SecurityInformationService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,uEAQuC;AACvC,wEAAqE;AACrE;;;;;;;;;;;;;;;GAeG;AACH,MAAa,0BAA2B,SAAQ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ationService.js","sourceRoot":"","sources":["../../../../src/openapi/software/services/SecurityInformationService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,uEAQuC;AACvC,wEAAqE;AACrE;;;;;;;;;;;;;;;GAeG;AACH,MAAa,0BAA2B,SAAQ,qCAAiB;IAAjE;;QACE;;;;;;;;;;;WAWG;QACH,2BAAsB,GAAG,CAAC,EACxB,aAAa,GAcd,EAAiB,EAAE;YAClB,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,0CAA0C;gBAChD,MAAM,EAAE,QAAQ;gBAChB,OAAO,EAAE;oBACP,aAAa,EAAE,aAAa;iBAC7B;aACF,CAAC;iBACD,IAAI,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC;QAC1C,CAAC,CAAC;QACF;;;;;;;;;;;;;;;;;;;WAmBG;QACH,oCAA+B,GAAG,CAAC,EACjC,aAAa,GAad,EAAiB,EAAE;YAClB,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,qCAAqC;gBAC3C,MAAM,EAAE,QAAQ;gBAChB,OAAO,EAAE;oBACP,aAAa,EAAE,aAAa;iBAC7B;aACF,CAAC;iBACD,IAAI,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC;QAC1C,CAAC,CAAC;QACF;;;;;;;;;;;;WAYG;QACH,4BAAuB,GAAG,CAAC,EACzB,eAAe,EACf,aAAa,GAed,EAAiB,EAAE;YAClB,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,oDAAoD;gBAC1D,MAAM,EAAE,QAAQ;gBAChB,UAAU,EAAE;oBACV,eAAe;iBAChB;gBACD,OAAO,EAAE;oBACP,aAAa,EAAE,aAAa;iBAC7B;aACF,CAAC;iBACD,IAAI,CA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