@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
@@ -115,304 +115,307 @@ const validationSchemaStorage_1 = require("../validationSchemaStorage");
115
115
  * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-operations
116
116
  */
117
117
  class OperationsService extends CommonHttpService_1.CommonHttpService {
118
- /**
119
- * Bulk delete all Entties that match the given request.
120
- *
121
- * One or more query params must be supplied to specify Properties to delete by.
122
- * If more than one Property is provided, data will be deleted that matches ALL of
123
- * the Properties (e.g. treated as an AND).
124
- * See the documentation for the submitEntity operation for more details.
125
- *
126
- * e.g. DELETE /bulkByProperties?accountId=account-123&createdBy=user-456
127
- *
128
- * Deletion is performed asynchronously. The getIncidentById operation can be used
129
- * to confirm that data has been deleted successfully (if needed).
130
- *
131
- * Only Connect apps that define the `jiraOperationsInfoProvider` module can
132
- * access this resource.
133
- * This resource requires the 'DELETE' scope for Connect apps.
134
- *
135
- * @path {DELETE} /rest/operations/1.0/bulkByProperties
136
- * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-operations#api-rest-operations-1-0-bulkbyproperties-delete
137
- */
138
- deleteEntityByProperty({ authorization, }) {
139
- return this.getClientInstance()
140
- .request({
141
- path: "/rest/operations/1.0/bulkByProperties",
142
- method: "DELETE",
143
- headers: {
144
- Authorization: authorization,
145
- },
146
- })
147
- .then(commonHttpClient.discardResult);
148
- }
149
- /**
150
- * Delete the Incident data currently stored for the given ID.
151
- *
152
- * Deletion is performed asynchronously. The getIncidentById operation can be used
153
- * to confirm that data has been deleted successfully (if needed).
154
- *
155
- * Only Connect apps that define the `jiraOperationsInfoProvider` module can
156
- * access this resource.
157
- * This resource requires the 'DELETE' scope for Connect apps.
158
- *
159
- * @path {DELETE} /rest/operations/1.0/incidents/{incidentId}
160
- * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-operations#api-rest-operations-1-0-incidents-incidentid-delete
161
- */
162
- deleteIncidentById({ incidentId, authorization, }) {
163
- return this.getClientInstance()
164
- .request({
165
- path: "/rest/operations/1.0/incidents/{incidentId}",
166
- method: "DELETE",
167
- pathParams: {
168
- incidentId,
169
- },
170
- headers: {
171
- Authorization: authorization,
172
- },
173
- })
174
- .then(commonHttpClient.discardResult);
175
- }
176
- /**
177
- * Delete the Review data currently stored for the given ID.
178
- *
179
- * Deletion is performed asynchronously. The getReviewById operation can be used
180
- * to confirm that data has been deleted successfully (if needed).
181
- *
182
- * Only Connect apps that define the `jiraOperationsInfoProvider` module can
183
- * access this resource.
184
- * This resource requires the 'DELETE' scope for Connect apps.
185
- *
186
- * @path {DELETE} /rest/operations/1.0/post-incident-reviews/{reviewId}
187
- * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-operations#api-rest-operations-1-0-post-incident-reviews-reviewid-delete
188
- */
189
- deleteReviewById({ reviewId, authorization, }) {
190
- return this.getClientInstance()
191
- .request({
192
- path: "/rest/operations/1.0/post-incident-reviews/{reviewId}",
193
- method: "DELETE",
194
- pathParams: {
195
- reviewId,
196
- },
197
- headers: {
198
- Authorization: authorization,
199
- },
200
- })
201
- .then(commonHttpClient.discardResult);
202
- }
203
- /**
204
- * Bulk delete all Operations Workspaces that match the given request.
205
- *
206
- * Only Connect apps that define the `jiraOperationsInfoProvider` module can
207
- * access this resource.
208
- * This resource requires the 'DELETE' scope for Connect apps.
209
- *
210
- * e.g. DELETE /bulk?workspaceIds=111-222-333,444-555-666
211
- *
212
- * @path {DELETE} /rest/operations/1.0/linkedWorkspaces/bulk
213
- * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-operations#api-rest-operations-1-0-linkedworkspaces-bulk-delete
214
- */
215
- deleteWorkspaces({ authorization, }) {
216
- return this.getClientInstance()
217
- .request({
218
- path: "/rest/operations/1.0/linkedWorkspaces/bulk",
219
- method: "DELETE",
220
- headers: {
221
- Authorization: authorization,
222
- },
223
- })
224
- .then(commonHttpClient.discardResult);
225
- }
226
- /**
227
- * Retrieve the currently stored Incident data for the given ID.
228
- *
229
- * The result will be what is currently stored, ignoring any pending updates or
230
- * deletes.
231
- *
232
- * Only Connect apps that define the `jiraOperationsInfoProvider` module can
233
- * access this resource.
234
- * This resource requires the 'READ' scope for Connect apps.
235
- *
236
- * @returns The Incident data currently stored for the given ID.
237
- * @path {GET} /rest/operations/1.0/incidents/{incidentId}
238
- * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-operations#api-rest-operations-1-0-incidents-incidentid-get
239
- */
240
- getIncidentById({ incidentId, authorization, }) {
241
- return this.getClientInstance()
242
- .request({
243
- path: "/rest/operations/1.0/incidents/{incidentId}",
244
- method: "GET",
245
- pathParams: {
246
- incidentId,
247
- },
248
- headers: {
249
- Authorization: authorization,
250
- },
251
- })
252
- .then(this.getClientInstance().responseHandler({
253
- 200: {
254
- "application/json": "json",
255
- },
256
- }))
257
- .then(commonHttpClient.castResponse())
258
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("OperationsService.getIncidentById.response"))
259
- .then(commonHttpClient.getBody);
260
- }
261
- /**
262
- * Retrieve the currently stored Review data for the given ID.
263
- *
264
- * The result will be what is currently stored, ignoring any pending updates or
265
- * deletes.
266
- *
267
- * Only Connect apps that define the `jiraOperationsInfoProvider` module can
268
- * access this resource.
269
- * This resource requires the 'READ' scope for Connect apps.
270
- *
271
- * @returns The Review data currently stored for the given ID.
272
- * @path {GET} /rest/operations/1.0/post-incident-reviews/{reviewId}
273
- * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-operations#api-rest-operations-1-0-post-incident-reviews-reviewid-get
274
- */
275
- getReviewById({ reviewId, authorization, }) {
276
- return this.getClientInstance()
277
- .request({
278
- path: "/rest/operations/1.0/post-incident-reviews/{reviewId}",
279
- method: "GET",
280
- pathParams: {
281
- reviewId,
282
- },
283
- headers: {
284
- Authorization: authorization,
285
- },
286
- })
287
- .then(this.getClientInstance().responseHandler({
288
- 200: {
289
- "application/json": "json",
290
- },
291
- }))
292
- .then(commonHttpClient.castResponse())
293
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("OperationsService.getReviewById.response"))
294
- .then(commonHttpClient.getBody);
295
- }
296
- /**
297
- * Retrieve the either all Operations Workspace IDs associated with the Jira site
298
- * or a specific Operations Workspace ID for the given ID.
299
- *
300
- * The result will be what is currently stored, ignoring any pending updates or
301
- * deletes.
302
- *
303
- * e.g. GET /workspace?workspaceId=111-222-333
304
- *
305
- * Only Connect apps that define the `jiraOperationsInfoProvider` module can
306
- * access this resource.
307
- * This resource requires the 'READ' scope for Connect apps.
308
- *
309
- * @returns Either the ID provided if stored or a list of available IDs.
310
- * @path {GET} /rest/operations/1.0/linkedWorkspaces
311
- * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-operations#api-rest-operations-1-0-linkedworkspaces-get
312
- */
313
- getWorkspaces({ authorization, }) {
314
- return this.getClientInstance()
315
- .request({
316
- path: "/rest/operations/1.0/linkedWorkspaces",
317
- method: "GET",
318
- headers: {
319
- Authorization: authorization,
320
- },
321
- })
322
- .then(this.getClientInstance().responseHandler({
323
- 200: {
324
- "application/json": "json",
325
- },
326
- }))
327
- .then(commonHttpClient.castResponse())
328
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("OperationsService.getWorkspaces.response"))
329
- .then(commonHttpClient.getBody);
330
- }
331
- /**
332
- * Update / insert Incident or Review data.
333
- *
334
- * Incidents and reviews are identified by their ID, and existing Incident and
335
- * Review data for the same ID will be replaced if it exists and the
336
- * updateSequenceNumber of existing data is less than the incoming data.
337
- *
338
- * Submissions are performed asynchronously. Submitted data will eventually be
339
- * available in Jira; most updates are available within a short period of time,
340
- * but may take some time during peak load and/or maintenance times. The
341
- * getIncidentById or getReviewById operation can be used to confirm that data has
342
- * been stored successfully (if needed).
343
- *
344
- * In the case of multiple Incidents and Reviews being submitted in one request,
345
- * each is validated individually prior to submission. Details of which entities
346
- * failed submission (if any) are available in the response object.
347
- *
348
- * A maximum of 1000 incidents can be submitted in one request.
349
- *
350
- * Only Connect apps that define the `jiraOperationsInfoProvider` module can
351
- * access this resource.
352
- * This resource requires the 'WRITE' scope for Connect apps.
353
- *
354
- * @returns Submission accepted. Each submitted Incident that is of a valid format will be
355
- * eventually available in Jira.
356
- *
357
- * Details of which Incidents were submitted and which failed submission (due to
358
- * data format problems etc.) are available in the response object.
359
- * @path {POST} /rest/operations/1.0/bulk
360
- * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-operations#api-rest-operations-1-0-bulk-post
361
- */
362
- submitEntity({ authorization, submitIncidentsRequest, }) {
363
- return this.getClientInstance()
364
- .request({
365
- path: "/rest/operations/1.0/bulk",
366
- method: "POST",
367
- headers: {
368
- Authorization: authorization,
369
- "Content-Type": "application/json",
370
- },
371
- body: submitIncidentsRequest,
372
- })
373
- .then(this.getClientInstance().responseHandler({
374
- 202: {
375
- "application/json": "json",
376
- },
377
- }))
378
- .then(commonHttpClient.castResponse())
379
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("OperationsService.submitEntity.response"))
380
- .then(commonHttpClient.getBody);
381
- }
382
- /**
383
- * Insert Operations Workspace IDs to establish a relationship between them and
384
- * the Jira site the app is installed in. If a relationship between the Workspace
385
- * ID and Jira already exists then the workspace ID will be ignored and Jira will
386
- * process the rest of the entries.
387
- *
388
- * Only Connect apps that define the `jiraOperationsInfoProvider` module can
389
- * access this resource.
390
- * This resource requires the 'WRITE' scope for Connect apps.
391
- *
392
- * @returns Submission accepted. Each submitted Operations Workspace ID will be linked to
393
- * Jira.
394
- * @path {POST} /rest/operations/1.0/linkedWorkspaces/bulk
395
- * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-operations#api-rest-operations-1-0-linkedworkspaces-bulk-post
396
- */
397
- submitOperationsWorkspaces({ authorization, submitOperationsWorkspacesRequest, }) {
398
- return this.getClientInstance()
399
- .request({
400
- path: "/rest/operations/1.0/linkedWorkspaces/bulk",
401
- method: "POST",
402
- headers: {
403
- Authorization: authorization,
404
- "Content-Type": "application/json",
405
- },
406
- body: submitOperationsWorkspacesRequest,
407
- })
408
- .then(this.getClientInstance().responseHandler({
409
- 202: {
410
- "application/json": "json",
411
- },
412
- }))
413
- .then(commonHttpClient.castResponse())
414
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("OperationsService.submitOperationsWorkspaces.response"))
415
- .then(commonHttpClient.getBody);
118
+ constructor() {
119
+ super(...arguments);
120
+ /**
121
+ * Bulk delete all Entties that match the given request.
122
+ *
123
+ * One or more query params must be supplied to specify Properties to delete by.
124
+ * If more than one Property is provided, data will be deleted that matches ALL of
125
+ * the Properties (e.g. treated as an AND).
126
+ * See the documentation for the submitEntity operation for more details.
127
+ *
128
+ * e.g. DELETE /bulkByProperties?accountId=account-123&createdBy=user-456
129
+ *
130
+ * Deletion is performed asynchronously. The getIncidentById operation can be used
131
+ * to confirm that data has been deleted successfully (if needed).
132
+ *
133
+ * Only Connect apps that define the `jiraOperationsInfoProvider` module can
134
+ * access this resource.
135
+ * This resource requires the 'DELETE' scope for Connect apps.
136
+ *
137
+ * @path {DELETE} /rest/operations/1.0/bulkByProperties
138
+ * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-operations#api-rest-operations-1-0-bulkbyproperties-delete
139
+ */
140
+ this.deleteEntityByProperty = ({ authorization, }) => {
141
+ return this.getClientInstance()
142
+ .request({
143
+ path: "/rest/operations/1.0/bulkByProperties",
144
+ method: "DELETE",
145
+ headers: {
146
+ Authorization: authorization,
147
+ },
148
+ })
149
+ .then(commonHttpClient.discardResult);
150
+ };
151
+ /**
152
+ * Delete the Incident data currently stored for the given ID.
153
+ *
154
+ * Deletion is performed asynchronously. The getIncidentById operation can be used
155
+ * to confirm that data has been deleted successfully (if needed).
156
+ *
157
+ * Only Connect apps that define the `jiraOperationsInfoProvider` module can
158
+ * access this resource.
159
+ * This resource requires the 'DELETE' scope for Connect apps.
160
+ *
161
+ * @path {DELETE} /rest/operations/1.0/incidents/{incidentId}
162
+ * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-operations#api-rest-operations-1-0-incidents-incidentid-delete
163
+ */
164
+ this.deleteIncidentById = ({ incidentId, authorization, }) => {
165
+ return this.getClientInstance()
166
+ .request({
167
+ path: "/rest/operations/1.0/incidents/{incidentId}",
168
+ method: "DELETE",
169
+ pathParams: {
170
+ incidentId,
171
+ },
172
+ headers: {
173
+ Authorization: authorization,
174
+ },
175
+ })
176
+ .then(commonHttpClient.discardResult);
177
+ };
178
+ /**
179
+ * Delete the Review data currently stored for the given ID.
180
+ *
181
+ * Deletion is performed asynchronously. The getReviewById operation can be used
182
+ * to confirm that data has been deleted successfully (if needed).
183
+ *
184
+ * Only Connect apps that define the `jiraOperationsInfoProvider` module can
185
+ * access this resource.
186
+ * This resource requires the 'DELETE' scope for Connect apps.
187
+ *
188
+ * @path {DELETE} /rest/operations/1.0/post-incident-reviews/{reviewId}
189
+ * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-operations#api-rest-operations-1-0-post-incident-reviews-reviewid-delete
190
+ */
191
+ this.deleteReviewById = ({ reviewId, authorization, }) => {
192
+ return this.getClientInstance()
193
+ .request({
194
+ path: "/rest/operations/1.0/post-incident-reviews/{reviewId}",
195
+ method: "DELETE",
196
+ pathParams: {
197
+ reviewId,
198
+ },
199
+ headers: {
200
+ Authorization: authorization,
201
+ },
202
+ })
203
+ .then(commonHttpClient.discardResult);
204
+ };
205
+ /**
206
+ * Bulk delete all Operations Workspaces that match the given request.
207
+ *
208
+ * Only Connect apps that define the `jiraOperationsInfoProvider` module can
209
+ * access this resource.
210
+ * This resource requires the 'DELETE' scope for Connect apps.
211
+ *
212
+ * e.g. DELETE /bulk?workspaceIds=111-222-333,444-555-666
213
+ *
214
+ * @path {DELETE} /rest/operations/1.0/linkedWorkspaces/bulk
215
+ * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-operations#api-rest-operations-1-0-linkedworkspaces-bulk-delete
216
+ */
217
+ this.deleteWorkspaces = ({ authorization, }) => {
218
+ return this.getClientInstance()
219
+ .request({
220
+ path: "/rest/operations/1.0/linkedWorkspaces/bulk",
221
+ method: "DELETE",
222
+ headers: {
223
+ Authorization: authorization,
224
+ },
225
+ })
226
+ .then(commonHttpClient.discardResult);
227
+ };
228
+ /**
229
+ * Retrieve the currently stored Incident data for the given ID.
230
+ *
231
+ * The result will be what is currently stored, ignoring any pending updates or
232
+ * deletes.
233
+ *
234
+ * Only Connect apps that define the `jiraOperationsInfoProvider` module can
235
+ * access this resource.
236
+ * This resource requires the 'READ' scope for Connect apps.
237
+ *
238
+ * @returns The Incident data currently stored for the given ID.
239
+ * @path {GET} /rest/operations/1.0/incidents/{incidentId}
240
+ * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-operations#api-rest-operations-1-0-incidents-incidentid-get
241
+ */
242
+ this.getIncidentById = ({ incidentId, authorization, }) => {
243
+ return this.getClientInstance()
244
+ .request({
245
+ path: "/rest/operations/1.0/incidents/{incidentId}",
246
+ method: "GET",
247
+ pathParams: {
248
+ incidentId,
249
+ },
250
+ headers: {
251
+ Authorization: authorization,
252
+ },
253
+ })
254
+ .then(this.getClientInstance().responseHandler({
255
+ 200: {
256
+ "application/json": "json",
257
+ },
258
+ }))
259
+ .then(commonHttpClient.castResponse())
260
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("OperationsService.getIncidentById.response"))
261
+ .then(commonHttpClient.getBody);
262
+ };
263
+ /**
264
+ * Retrieve the currently stored Review data for the given ID.
265
+ *
266
+ * The result will be what is currently stored, ignoring any pending updates or
267
+ * deletes.
268
+ *
269
+ * Only Connect apps that define the `jiraOperationsInfoProvider` module can
270
+ * access this resource.
271
+ * This resource requires the 'READ' scope for Connect apps.
272
+ *
273
+ * @returns The Review data currently stored for the given ID.
274
+ * @path {GET} /rest/operations/1.0/post-incident-reviews/{reviewId}
275
+ * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-operations#api-rest-operations-1-0-post-incident-reviews-reviewid-get
276
+ */
277
+ this.getReviewById = ({ reviewId, authorization, }) => {
278
+ return this.getClientInstance()
279
+ .request({
280
+ path: "/rest/operations/1.0/post-incident-reviews/{reviewId}",
281
+ method: "GET",
282
+ pathParams: {
283
+ reviewId,
284
+ },
285
+ headers: {
286
+ Authorization: authorization,
287
+ },
288
+ })
289
+ .then(this.getClientInstance().responseHandler({
290
+ 200: {
291
+ "application/json": "json",
292
+ },
293
+ }))
294
+ .then(commonHttpClient.castResponse())
295
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("OperationsService.getReviewById.response"))
296
+ .then(commonHttpClient.getBody);
297
+ };
298
+ /**
299
+ * Retrieve the either all Operations Workspace IDs associated with the Jira site
300
+ * or a specific Operations Workspace ID for the given ID.
301
+ *
302
+ * The result will be what is currently stored, ignoring any pending updates or
303
+ * deletes.
304
+ *
305
+ * e.g. GET /workspace?workspaceId=111-222-333
306
+ *
307
+ * Only Connect apps that define the `jiraOperationsInfoProvider` module can
308
+ * access this resource.
309
+ * This resource requires the 'READ' scope for Connect apps.
310
+ *
311
+ * @returns Either the ID provided if stored or a list of available IDs.
312
+ * @path {GET} /rest/operations/1.0/linkedWorkspaces
313
+ * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-operations#api-rest-operations-1-0-linkedworkspaces-get
314
+ */
315
+ this.getWorkspaces = ({ authorization, }) => {
316
+ return this.getClientInstance()
317
+ .request({
318
+ path: "/rest/operations/1.0/linkedWorkspaces",
319
+ method: "GET",
320
+ headers: {
321
+ Authorization: authorization,
322
+ },
323
+ })
324
+ .then(this.getClientInstance().responseHandler({
325
+ 200: {
326
+ "application/json": "json",
327
+ },
328
+ }))
329
+ .then(commonHttpClient.castResponse())
330
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("OperationsService.getWorkspaces.response"))
331
+ .then(commonHttpClient.getBody);
332
+ };
333
+ /**
334
+ * Update / insert Incident or Review data.
335
+ *
336
+ * Incidents and reviews are identified by their ID, and existing Incident and
337
+ * Review data for the same ID will be replaced if it exists and the
338
+ * updateSequenceNumber of existing data is less than the incoming data.
339
+ *
340
+ * Submissions are performed asynchronously. Submitted data will eventually be
341
+ * available in Jira; most updates are available within a short period of time,
342
+ * but may take some time during peak load and/or maintenance times. The
343
+ * getIncidentById or getReviewById operation can be used to confirm that data has
344
+ * been stored successfully (if needed).
345
+ *
346
+ * In the case of multiple Incidents and Reviews being submitted in one request,
347
+ * each is validated individually prior to submission. Details of which entities
348
+ * failed submission (if any) are available in the response object.
349
+ *
350
+ * A maximum of 1000 incidents can be submitted in one request.
351
+ *
352
+ * Only Connect apps that define the `jiraOperationsInfoProvider` module can
353
+ * access this resource.
354
+ * This resource requires the 'WRITE' scope for Connect apps.
355
+ *
356
+ * @returns Submission accepted. Each submitted Incident that is of a valid format will be
357
+ * eventually available in Jira.
358
+ *
359
+ * Details of which Incidents were submitted and which failed submission (due to
360
+ * data format problems etc.) are available in the response object.
361
+ * @path {POST} /rest/operations/1.0/bulk
362
+ * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-operations#api-rest-operations-1-0-bulk-post
363
+ */
364
+ this.submitEntity = ({ authorization, submitIncidentsRequest, }) => {
365
+ return this.getClientInstance()
366
+ .request({
367
+ path: "/rest/operations/1.0/bulk",
368
+ method: "POST",
369
+ headers: {
370
+ Authorization: authorization,
371
+ "Content-Type": "application/json",
372
+ },
373
+ body: submitIncidentsRequest,
374
+ })
375
+ .then(this.getClientInstance().responseHandler({
376
+ 202: {
377
+ "application/json": "json",
378
+ },
379
+ }))
380
+ .then(commonHttpClient.castResponse())
381
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("OperationsService.submitEntity.response"))
382
+ .then(commonHttpClient.getBody);
383
+ };
384
+ /**
385
+ * Insert Operations Workspace IDs to establish a relationship between them and
386
+ * the Jira site the app is installed in. If a relationship between the Workspace
387
+ * ID and Jira already exists then the workspace ID will be ignored and Jira will
388
+ * process the rest of the entries.
389
+ *
390
+ * Only Connect apps that define the `jiraOperationsInfoProvider` module can
391
+ * access this resource.
392
+ * This resource requires the 'WRITE' scope for Connect apps.
393
+ *
394
+ * @returns Submission accepted. Each submitted Operations Workspace ID will be linked to
395
+ * Jira.
396
+ * @path {POST} /rest/operations/1.0/linkedWorkspaces/bulk
397
+ * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-operations#api-rest-operations-1-0-linkedworkspaces-bulk-post
398
+ */
399
+ this.submitOperationsWorkspaces = ({ authorization, submitOperationsWorkspacesRequest, }) => {
400
+ return this.getClientInstance()
401
+ .request({
402
+ path: "/rest/operations/1.0/linkedWorkspaces/bulk",
403
+ method: "POST",
404
+ headers: {
405
+ Authorization: authorization,
406
+ "Content-Type": "application/json",
407
+ },
408
+ body: submitOperationsWorkspacesRequest,
409
+ })
410
+ .then(this.getClientInstance().responseHandler({
411
+ 202: {
412
+ "application/json": "json",
413
+ },
414
+ }))
415
+ .then(commonHttpClient.castResponse())
416
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("OperationsService.submitOperationsWorkspaces.response"))
417
+ .then(commonHttpClient.getBody);
418
+ };
416
419
  }
417
420
  static initialize() {
418
421
  validationSchemaStorage_1.validationSchemaStorage.registerExtensible("OperationsService.submitEntity.response", zod_1.z