@resolution/jira-api-client 0.4.4 → 0.4.6

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 (336) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/README.md +60 -0
  3. package/lib/openapi/platform/BaseJiraPlatformApiClient.d.ts +118 -95
  4. package/lib/openapi/platform/BaseJiraPlatformApiClient.js +1073 -869
  5. package/lib/openapi/platform/BaseJiraPlatformApiClient.js.map +1 -1
  6. package/lib/openapi/platform/core/CommonHttpService.d.ts +2 -0
  7. package/lib/openapi/platform/core/CommonHttpService.js +9 -0
  8. package/lib/openapi/platform/core/CommonHttpService.js.map +1 -1
  9. package/lib/openapi/platform/models/common.d.ts +6 -0
  10. package/lib/openapi/platform/models/common.js +12 -1
  11. package/lib/openapi/platform/models/common.js.map +1 -1
  12. package/lib/openapi/platform/models/dynamicModules.d.ts +0 -9
  13. package/lib/openapi/platform/models/dynamicModules.js +0 -6
  14. package/lib/openapi/platform/models/dynamicModules.js.map +1 -1
  15. package/lib/openapi/platform/models/issueBulkOperations.d.ts +547 -0
  16. package/lib/openapi/platform/models/issueBulkOperations.js +437 -0
  17. package/lib/openapi/platform/models/issueBulkOperations.js.map +1 -0
  18. package/lib/openapi/platform/services/AnnouncementBannerService.d.ts +3 -3
  19. package/lib/openapi/platform/services/AnnouncementBannerService.js +65 -62
  20. package/lib/openapi/platform/services/AnnouncementBannerService.js.map +1 -1
  21. package/lib/openapi/platform/services/AppDataPoliciesService.d.ts +4 -4
  22. package/lib/openapi/platform/services/AppDataPoliciesService.js +70 -67
  23. package/lib/openapi/platform/services/AppDataPoliciesService.js.map +1 -1
  24. package/lib/openapi/platform/services/AppMigrationService.d.ts +6 -6
  25. package/lib/openapi/platform/services/AppMigrationService.js +139 -136
  26. package/lib/openapi/platform/services/AppMigrationService.js.map +1 -1
  27. package/lib/openapi/platform/services/AppPropertiesService.d.ts +12 -12
  28. package/lib/openapi/platform/services/AppPropertiesService.js +254 -251
  29. package/lib/openapi/platform/services/AppPropertiesService.js.map +1 -1
  30. package/lib/openapi/platform/services/ApplicationRolesService.d.ts +3 -3
  31. package/lib/openapi/platform/services/ApplicationRolesService.js +177 -174
  32. package/lib/openapi/platform/services/ApplicationRolesService.js.map +1 -1
  33. package/lib/openapi/platform/services/AuditRecordsService.d.ts +7 -7
  34. package/lib/openapi/platform/services/AuditRecordsService.js +97 -94
  35. package/lib/openapi/platform/services/AuditRecordsService.js.map +1 -1
  36. package/lib/openapi/platform/services/AvatarsService.d.ts +25 -31
  37. package/lib/openapi/platform/services/AvatarsService.js +412 -415
  38. package/lib/openapi/platform/services/AvatarsService.js.map +1 -1
  39. package/lib/openapi/platform/services/ClassificationLevelsService.d.ts +4 -4
  40. package/lib/openapi/platform/services/ClassificationLevelsService.js +79 -76
  41. package/lib/openapi/platform/services/ClassificationLevelsService.js.map +1 -1
  42. package/lib/openapi/platform/services/DashboardsService.d.ts +62 -50
  43. package/lib/openapi/platform/services/DashboardsService.js +983 -974
  44. package/lib/openapi/platform/services/DashboardsService.js.map +1 -1
  45. package/lib/openapi/platform/services/DynamicModulesService.d.ts +6 -6
  46. package/lib/openapi/platform/services/DynamicModulesService.js +68 -65
  47. package/lib/openapi/platform/services/DynamicModulesService.js.map +1 -1
  48. package/lib/openapi/platform/services/FilterSharingService.d.ts +11 -11
  49. package/lib/openapi/platform/services/FilterSharingService.js +512 -509
  50. package/lib/openapi/platform/services/FilterSharingService.js.map +1 -1
  51. package/lib/openapi/platform/services/FiltersService.d.ts +50 -50
  52. package/lib/openapi/platform/services/FiltersService.js +1262 -1259
  53. package/lib/openapi/platform/services/FiltersService.js.map +1 -1
  54. package/lib/openapi/platform/services/GroupAndUserPickerService.d.ts +10 -10
  55. package/lib/openapi/platform/services/GroupAndUserPickerService.js +112 -109
  56. package/lib/openapi/platform/services/GroupAndUserPickerService.js.map +1 -1
  57. package/lib/openapi/platform/services/GroupsService.d.ts +46 -46
  58. package/lib/openapi/platform/services/GroupsService.js +385 -382
  59. package/lib/openapi/platform/services/GroupsService.js.map +1 -1
  60. package/lib/openapi/platform/services/IssueAttachmentsService.d.ts +20 -20
  61. package/lib/openapi/platform/services/IssueAttachmentsService.js +644 -641
  62. package/lib/openapi/platform/services/IssueAttachmentsService.js.map +1 -1
  63. package/lib/openapi/platform/services/IssueBulkOperationsService.d.ts +325 -0
  64. package/lib/openapi/platform/services/IssueBulkOperationsService.js +353 -0
  65. package/lib/openapi/platform/services/IssueBulkOperationsService.js.map +1 -0
  66. package/lib/openapi/platform/services/IssueCommentPropertiesService.d.ts +8 -8
  67. package/lib/openapi/platform/services/IssueCommentPropertiesService.js +187 -184
  68. package/lib/openapi/platform/services/IssueCommentPropertiesService.js.map +1 -1
  69. package/lib/openapi/platform/services/IssueCommentsService.d.ts +22 -22
  70. package/lib/openapi/platform/services/IssueCommentsService.js +507 -504
  71. package/lib/openapi/platform/services/IssueCommentsService.js.map +1 -1
  72. package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.d.ts +11 -11
  73. package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.js +126 -123
  74. package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.js.map +1 -1
  75. package/lib/openapi/platform/services/IssueCustomFieldContextsService.d.ts +42 -42
  76. package/lib/openapi/platform/services/IssueCustomFieldContextsService.js +748 -745
  77. package/lib/openapi/platform/services/IssueCustomFieldContextsService.js.map +1 -1
  78. package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.d.ts +28 -28
  79. package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.js +535 -532
  80. package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.js.map +1 -1
  81. package/lib/openapi/platform/services/IssueCustomFieldOptionsService.d.ts +20 -20
  82. package/lib/openapi/platform/services/IssueCustomFieldOptionsService.js +358 -355
  83. package/lib/openapi/platform/services/IssueCustomFieldOptionsService.js.map +1 -1
  84. package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.d.ts +6 -6
  85. package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.js +86 -83
  86. package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.js.map +1 -1
  87. package/lib/openapi/platform/services/IssueFieldConfigurationsService.d.ts +45 -45
  88. package/lib/openapi/platform/services/IssueFieldConfigurationsService.js +689 -686
  89. package/lib/openapi/platform/services/IssueFieldConfigurationsService.js.map +1 -1
  90. package/lib/openapi/platform/services/IssueFieldsService.d.ts +32 -32
  91. package/lib/openapi/platform/services/IssueFieldsService.js +484 -481
  92. package/lib/openapi/platform/services/IssueFieldsService.js.map +1 -1
  93. package/lib/openapi/platform/services/IssueLinkTypesService.d.ts +9 -9
  94. package/lib/openapi/platform/services/IssueLinkTypesService.js +212 -209
  95. package/lib/openapi/platform/services/IssueLinkTypesService.js.map +1 -1
  96. package/lib/openapi/platform/services/IssueLinksService.d.ts +6 -6
  97. package/lib/openapi/platform/services/IssueLinksService.js +230 -227
  98. package/lib/openapi/platform/services/IssueLinksService.js.map +1 -1
  99. package/lib/openapi/platform/services/IssueNavigatorSettingsService.d.ts +3 -3
  100. package/lib/openapi/platform/services/IssueNavigatorSettingsService.js +72 -69
  101. package/lib/openapi/platform/services/IssueNavigatorSettingsService.js.map +1 -1
  102. package/lib/openapi/platform/services/IssueNotificationSchemesService.d.ts +27 -27
  103. package/lib/openapi/platform/services/IssueNotificationSchemesService.js +816 -813
  104. package/lib/openapi/platform/services/IssueNotificationSchemesService.js.map +1 -1
  105. package/lib/openapi/platform/services/IssuePrioritiesService.d.ts +22 -22
  106. package/lib/openapi/platform/services/IssuePrioritiesService.js +307 -304
  107. package/lib/openapi/platform/services/IssuePrioritiesService.js.map +1 -1
  108. package/lib/openapi/platform/services/IssuePropertiesService.d.ts +16 -16
  109. package/lib/openapi/platform/services/IssuePropertiesService.js +390 -387
  110. package/lib/openapi/platform/services/IssuePropertiesService.js.map +1 -1
  111. package/lib/openapi/platform/services/IssueRemoteLinksService.d.ts +13 -13
  112. package/lib/openapi/platform/services/IssueRemoteLinksService.js +368 -365
  113. package/lib/openapi/platform/services/IssueRemoteLinksService.js.map +1 -1
  114. package/lib/openapi/platform/services/IssueResolutionsService.d.ts +19 -19
  115. package/lib/openapi/platform/services/IssueResolutionsService.js +283 -280
  116. package/lib/openapi/platform/services/IssueResolutionsService.js.map +1 -1
  117. package/lib/openapi/platform/services/IssueSearchService.d.ts +24 -24
  118. package/lib/openapi/platform/services/IssueSearchService.js +826 -823
  119. package/lib/openapi/platform/services/IssueSearchService.js.map +1 -1
  120. package/lib/openapi/platform/services/IssueSecurityLevelService.d.ts +8 -8
  121. package/lib/openapi/platform/services/IssueSecurityLevelService.js +137 -134
  122. package/lib/openapi/platform/services/IssueSecurityLevelService.js.map +1 -1
  123. package/lib/openapi/platform/services/IssueSecuritySchemesService.d.ts +51 -51
  124. package/lib/openapi/platform/services/IssueSecuritySchemesService.js +610 -607
  125. package/lib/openapi/platform/services/IssueSecuritySchemesService.js.map +1 -1
  126. package/lib/openapi/platform/services/IssueTypePropertiesService.d.ts +8 -8
  127. package/lib/openapi/platform/services/IssueTypePropertiesService.js +175 -172
  128. package/lib/openapi/platform/services/IssueTypePropertiesService.js.map +1 -1
  129. package/lib/openapi/platform/services/IssueTypeSchemesService.d.ts +31 -31
  130. package/lib/openapi/platform/services/IssueTypeSchemesService.js +527 -524
  131. package/lib/openapi/platform/services/IssueTypeSchemesService.js.map +1 -1
  132. package/lib/openapi/platform/services/IssueTypeScreenSchemesService.d.ts +36 -36
  133. package/lib/openapi/platform/services/IssueTypeScreenSchemesService.js +508 -505
  134. package/lib/openapi/platform/services/IssueTypeScreenSchemesService.js.map +1 -1
  135. package/lib/openapi/platform/services/IssueTypesService.d.ts +22 -28
  136. package/lib/openapi/platform/services/IssueTypesService.js +424 -427
  137. package/lib/openapi/platform/services/IssueTypesService.js.map +1 -1
  138. package/lib/openapi/platform/services/IssueVotesService.d.ts +6 -6
  139. package/lib/openapi/platform/services/IssueVotesService.js +148 -145
  140. package/lib/openapi/platform/services/IssueVotesService.js.map +1 -1
  141. package/lib/openapi/platform/services/IssueWatchersService.d.ts +10 -10
  142. package/lib/openapi/platform/services/IssueWatchersService.js +197 -194
  143. package/lib/openapi/platform/services/IssueWatchersService.js.map +1 -1
  144. package/lib/openapi/platform/services/IssueWorklogPropertiesService.d.ts +8 -8
  145. package/lib/openapi/platform/services/IssueWorklogPropertiesService.js +199 -196
  146. package/lib/openapi/platform/services/IssueWorklogPropertiesService.js.map +1 -1
  147. package/lib/openapi/platform/services/IssueWorklogsService.d.ts +44 -44
  148. package/lib/openapi/platform/services/IssueWorklogsService.js +636 -633
  149. package/lib/openapi/platform/services/IssueWorklogsService.js.map +1 -1
  150. package/lib/openapi/platform/services/IssuesService.d.ts +71 -71
  151. package/lib/openapi/platform/services/IssuesService.js +1856 -1853
  152. package/lib/openapi/platform/services/IssuesService.js.map +1 -1
  153. package/lib/openapi/platform/services/JiraExpressionsService.d.ts +6 -6
  154. package/lib/openapi/platform/services/JiraExpressionsService.js +238 -235
  155. package/lib/openapi/platform/services/JiraExpressionsService.js.map +1 -1
  156. package/lib/openapi/platform/services/JiraSettingsService.d.ts +9 -9
  157. package/lib/openapi/platform/services/JiraSettingsService.js +279 -276
  158. package/lib/openapi/platform/services/JiraSettingsService.js.map +1 -1
  159. package/lib/openapi/platform/services/JqlFunctionsAppsService.d.ts +8 -8
  160. package/lib/openapi/platform/services/JqlFunctionsAppsService.js +107 -104
  161. package/lib/openapi/platform/services/JqlFunctionsAppsService.js.map +1 -1
  162. package/lib/openapi/platform/services/JqlService.d.ts +15 -15
  163. package/lib/openapi/platform/services/JqlService.js +635 -632
  164. package/lib/openapi/platform/services/JqlService.js.map +1 -1
  165. package/lib/openapi/platform/services/LabelsService.d.ts +4 -4
  166. package/lib/openapi/platform/services/LabelsService.js +41 -38
  167. package/lib/openapi/platform/services/LabelsService.js.map +1 -1
  168. package/lib/openapi/platform/services/LicenseMetricsService.d.ts +4 -4
  169. package/lib/openapi/platform/services/LicenseMetricsService.js +120 -117
  170. package/lib/openapi/platform/services/LicenseMetricsService.js.map +1 -1
  171. package/lib/openapi/platform/services/MyselfService.d.ts +14 -14
  172. package/lib/openapi/platform/services/MyselfService.js +321 -318
  173. package/lib/openapi/platform/services/MyselfService.js.map +1 -1
  174. package/lib/openapi/platform/services/PermissionSchemesService.d.ts +25 -25
  175. package/lib/openapi/platform/services/PermissionSchemesService.js +548 -545
  176. package/lib/openapi/platform/services/PermissionSchemesService.js.map +1 -1
  177. package/lib/openapi/platform/services/PermissionsService.d.ts +15 -15
  178. package/lib/openapi/platform/services/PermissionsService.js +235 -232
  179. package/lib/openapi/platform/services/PermissionsService.js.map +1 -1
  180. package/lib/openapi/platform/services/PrioritySchemesService.d.ts +34 -34
  181. package/lib/openapi/platform/services/PrioritySchemesService.js +571 -568
  182. package/lib/openapi/platform/services/PrioritySchemesService.js.map +1 -1
  183. package/lib/openapi/platform/services/ProjectAvatarsService.d.ts +11 -11
  184. package/lib/openapi/platform/services/ProjectAvatarsService.js +213 -210
  185. package/lib/openapi/platform/services/ProjectAvatarsService.js.map +1 -1
  186. package/lib/openapi/platform/services/ProjectCategoriesService.d.ts +9 -9
  187. package/lib/openapi/platform/services/ProjectCategoriesService.js +180 -177
  188. package/lib/openapi/platform/services/ProjectCategoriesService.js.map +1 -1
  189. package/lib/openapi/platform/services/ProjectClassificationLevelsService.d.ts +6 -6
  190. package/lib/openapi/platform/services/ProjectClassificationLevelsService.js +125 -122
  191. package/lib/openapi/platform/services/ProjectClassificationLevelsService.js.map +1 -1
  192. package/lib/openapi/platform/services/ProjectComponentsService.d.ts +28 -28
  193. package/lib/openapi/platform/services/ProjectComponentsService.js +1009 -1006
  194. package/lib/openapi/platform/services/ProjectComponentsService.js.map +1 -1
  195. package/lib/openapi/platform/services/ProjectEmailService.d.ts +4 -4
  196. package/lib/openapi/platform/services/ProjectEmailService.js +78 -75
  197. package/lib/openapi/platform/services/ProjectEmailService.js.map +1 -1
  198. package/lib/openapi/platform/services/ProjectFeaturesService.d.ts +4 -4
  199. package/lib/openapi/platform/services/ProjectFeaturesService.js +119 -116
  200. package/lib/openapi/platform/services/ProjectFeaturesService.js.map +1 -1
  201. package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.d.ts +8 -8
  202. package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.js +100 -97
  203. package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.js.map +1 -1
  204. package/lib/openapi/platform/services/ProjectPermissionSchemesService.d.ts +10 -10
  205. package/lib/openapi/platform/services/ProjectPermissionSchemesService.js +199 -196
  206. package/lib/openapi/platform/services/ProjectPermissionSchemesService.js.map +1 -1
  207. package/lib/openapi/platform/services/ProjectPropertiesService.d.ts +8 -8
  208. package/lib/openapi/platform/services/ProjectPropertiesService.js +172 -169
  209. package/lib/openapi/platform/services/ProjectPropertiesService.js.map +1 -1
  210. package/lib/openapi/platform/services/ProjectRoleActorsService.d.ts +18 -18
  211. package/lib/openapi/platform/services/ProjectRoleActorsService.js +362 -359
  212. package/lib/openapi/platform/services/ProjectRoleActorsService.js.map +1 -1
  213. package/lib/openapi/platform/services/ProjectRolesService.d.ts +21 -21
  214. package/lib/openapi/platform/services/ProjectRolesService.js +576 -573
  215. package/lib/openapi/platform/services/ProjectRolesService.js.map +1 -1
  216. package/lib/openapi/platform/services/ProjectTypesService.d.ts +6 -6
  217. package/lib/openapi/platform/services/ProjectTypesService.js +173 -170
  218. package/lib/openapi/platform/services/ProjectTypesService.js.map +1 -1
  219. package/lib/openapi/platform/services/ProjectVersionsService.d.ts +40 -40
  220. package/lib/openapi/platform/services/ProjectVersionsService.js +751 -748
  221. package/lib/openapi/platform/services/ProjectVersionsService.js.map +1 -1
  222. package/lib/openapi/platform/services/ProjectsService.d.ts +49 -49
  223. package/lib/openapi/platform/services/ProjectsService.js +1597 -1594
  224. package/lib/openapi/platform/services/ProjectsService.js.map +1 -1
  225. package/lib/openapi/platform/services/ScreenSchemesService.d.ts +14 -14
  226. package/lib/openapi/platform/services/ScreenSchemesService.js +177 -174
  227. package/lib/openapi/platform/services/ScreenSchemesService.js.map +1 -1
  228. package/lib/openapi/platform/services/ScreenTabFieldsService.d.ts +9 -9
  229. package/lib/openapi/platform/services/ScreenTabFieldsService.js +144 -141
  230. package/lib/openapi/platform/services/ScreenTabFieldsService.js.map +1 -1
  231. package/lib/openapi/platform/services/ScreenTabsService.d.ts +17 -17
  232. package/lib/openapi/platform/services/ScreenTabsService.js +229 -226
  233. package/lib/openapi/platform/services/ScreenTabsService.js.map +1 -1
  234. package/lib/openapi/platform/services/ScreensService.d.ts +23 -23
  235. package/lib/openapi/platform/services/ScreensService.js +281 -278
  236. package/lib/openapi/platform/services/ScreensService.js.map +1 -1
  237. package/lib/openapi/platform/services/ServerInfoService.d.ts +1 -1
  238. package/lib/openapi/platform/services/ServerInfoService.js +51 -48
  239. package/lib/openapi/platform/services/ServerInfoService.js.map +1 -1
  240. package/lib/openapi/platform/services/ServiceRegistryService.d.ts +2 -2
  241. package/lib/openapi/platform/services/ServiceRegistryService.js +30 -27
  242. package/lib/openapi/platform/services/ServiceRegistryService.js.map +1 -1
  243. package/lib/openapi/platform/services/StatusService.d.ts +17 -17
  244. package/lib/openapi/platform/services/StatusService.js +271 -268
  245. package/lib/openapi/platform/services/StatusService.js.map +1 -1
  246. package/lib/openapi/platform/services/TasksService.d.ts +4 -4
  247. package/lib/openapi/platform/services/TasksService.js +93 -90
  248. package/lib/openapi/platform/services/TasksService.js.map +1 -1
  249. package/lib/openapi/platform/services/TimeTrackingService.d.ts +7 -7
  250. package/lib/openapi/platform/services/TimeTrackingService.js +190 -187
  251. package/lib/openapi/platform/services/TimeTrackingService.js.map +1 -1
  252. package/lib/openapi/platform/services/UiModificationsAppsService.d.ts +11 -11
  253. package/lib/openapi/platform/services/UiModificationsAppsService.js +214 -211
  254. package/lib/openapi/platform/services/UiModificationsAppsService.js.map +1 -1
  255. package/lib/openapi/platform/services/UserPropertiesService.d.ts +20 -20
  256. package/lib/openapi/platform/services/UserPropertiesService.js +196 -193
  257. package/lib/openapi/platform/services/UserPropertiesService.js.map +1 -1
  258. package/lib/openapi/platform/services/UserSearchService.d.ts +61 -61
  259. package/lib/openapi/platform/services/UserSearchService.js +709 -706
  260. package/lib/openapi/platform/services/UserSearchService.js.map +1 -1
  261. package/lib/openapi/platform/services/UsersService.d.ts +51 -51
  262. package/lib/openapi/platform/services/UsersService.js +637 -634
  263. package/lib/openapi/platform/services/UsersService.js.map +1 -1
  264. package/lib/openapi/platform/services/WebhooksService.d.ts +14 -14
  265. package/lib/openapi/platform/services/WebhooksService.js +262 -259
  266. package/lib/openapi/platform/services/WebhooksService.js.map +1 -1
  267. package/lib/openapi/platform/services/WorkflowSchemeDraftsService.d.ts +30 -30
  268. package/lib/openapi/platform/services/WorkflowSchemeDraftsService.js +861 -858
  269. package/lib/openapi/platform/services/WorkflowSchemeDraftsService.js.map +1 -1
  270. package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.d.ts +4 -4
  271. package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.js +98 -95
  272. package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.js.map +1 -1
  273. package/lib/openapi/platform/services/WorkflowSchemesService.d.ts +45 -45
  274. package/lib/openapi/platform/services/WorkflowSchemesService.js +899 -896
  275. package/lib/openapi/platform/services/WorkflowSchemesService.js.map +1 -1
  276. package/lib/openapi/platform/services/WorkflowStatusCategoriesService.d.ts +3 -3
  277. package/lib/openapi/platform/services/WorkflowStatusCategoriesService.js +82 -79
  278. package/lib/openapi/platform/services/WorkflowStatusCategoriesService.js.map +1 -1
  279. package/lib/openapi/platform/services/WorkflowStatusesService.d.ts +3 -3
  280. package/lib/openapi/platform/services/WorkflowStatusesService.js +110 -107
  281. package/lib/openapi/platform/services/WorkflowStatusesService.js.map +1 -1
  282. package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.d.ts +14 -14
  283. package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.js +182 -179
  284. package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.js.map +1 -1
  285. package/lib/openapi/platform/services/WorkflowTransitionRulesService.d.ts +13 -13
  286. package/lib/openapi/platform/services/WorkflowTransitionRulesService.js +283 -280
  287. package/lib/openapi/platform/services/WorkflowTransitionRulesService.js.map +1 -1
  288. package/lib/openapi/platform/services/WorkflowsService.d.ts +33 -33
  289. package/lib/openapi/platform/services/WorkflowsService.js +2451 -2448
  290. package/lib/openapi/platform/services/WorkflowsService.js.map +1 -1
  291. package/lib/openapi/software/BaseJiraSoftwareApiClient.d.ts +13 -14
  292. package/lib/openapi/software/BaseJiraSoftwareApiClient.js +454 -429
  293. package/lib/openapi/software/BaseJiraSoftwareApiClient.js.map +1 -1
  294. package/lib/openapi/software/core/CommonHttpService.d.ts +2 -0
  295. package/lib/openapi/software/core/CommonHttpService.js +9 -0
  296. package/lib/openapi/software/core/CommonHttpService.js.map +1 -1
  297. package/lib/openapi/software/services/BacklogService.d.ts +4 -4
  298. package/lib/openapi/software/services/BacklogService.js +81 -78
  299. package/lib/openapi/software/services/BacklogService.js.map +1 -1
  300. package/lib/openapi/software/services/BoardService.d.ts +124 -124
  301. package/lib/openapi/software/services/BoardService.js +2048 -2045
  302. package/lib/openapi/software/services/BoardService.js.map +1 -1
  303. package/lib/openapi/software/services/BuildsService.d.ts +10 -10
  304. package/lib/openapi/software/services/BuildsService.js +164 -161
  305. package/lib/openapi/software/services/BuildsService.js.map +1 -1
  306. package/lib/openapi/software/services/DeploymentsService.d.ts +12 -12
  307. package/lib/openapi/software/services/DeploymentsService.js +192 -189
  308. package/lib/openapi/software/services/DeploymentsService.js.map +1 -1
  309. package/lib/openapi/software/services/DevOpsComponentsService.d.ts +8 -8
  310. package/lib/openapi/software/services/DevOpsComponentsService.js +145 -142
  311. package/lib/openapi/software/services/DevOpsComponentsService.js.map +1 -1
  312. package/lib/openapi/software/services/DevelopmentInformationService.d.ts +16 -16
  313. package/lib/openapi/software/services/DevelopmentInformationService.js +178 -175
  314. package/lib/openapi/software/services/DevelopmentInformationService.js.map +1 -1
  315. package/lib/openapi/software/services/EpicService.d.ts +26 -26
  316. package/lib/openapi/software/services/EpicService.js +597 -594
  317. package/lib/openapi/software/services/EpicService.js.map +1 -1
  318. package/lib/openapi/software/services/FeatureFlagsService.d.ts +10 -10
  319. package/lib/openapi/software/services/FeatureFlagsService.js +151 -148
  320. package/lib/openapi/software/services/FeatureFlagsService.js.map +1 -1
  321. package/lib/openapi/software/services/IssueService.d.ts +13 -13
  322. package/lib/openapi/software/services/IssueService.js +359 -356
  323. package/lib/openapi/software/services/IssueService.js.map +1 -1
  324. package/lib/openapi/software/services/OperationsService.d.ts +24 -24
  325. package/lib/openapi/software/services/OperationsService.js +301 -298
  326. package/lib/openapi/software/services/OperationsService.js.map +1 -1
  327. package/lib/openapi/software/services/RemoteLinksService.d.ts +15 -15
  328. package/lib/openapi/software/services/RemoteLinksService.js +160 -157
  329. package/lib/openapi/software/services/RemoteLinksService.js.map +1 -1
  330. package/lib/openapi/software/services/SecurityInformationService.d.ts +16 -16
  331. package/lib/openapi/software/services/SecurityInformationService.js +262 -259
  332. package/lib/openapi/software/services/SecurityInformationService.js.map +1 -1
  333. package/lib/openapi/software/services/SprintService.d.ts +33 -33
  334. package/lib/openapi/software/services/SprintService.js +594 -591
  335. package/lib/openapi/software/services/SprintService.js.map +1 -1
  336. package/package.json +4 -3
@@ -31,7 +31,7 @@ export declare class WorkflowTransitionPropertiesService extends CommonHttpServi
31
31
  * @scopes-beta write:workflow.property:jira, read:workflow.property:jira
32
32
  * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-workflow-transition-properties#api-rest-api-3-workflow-transitions-transitionid-properties-post
33
33
  */
34
- createWorkflowTransitionProperty({ transitionId, key, workflowName, workflowMode, workflowTransitionProperty, }: {
34
+ createWorkflowTransitionProperty: ({ transitionId, key, workflowName, workflowMode, workflowTransitionProperty, }: {
35
35
  /**
36
36
  * The ID of the transition. To get the ID, view the workflow in text mode in the
37
37
  * Jira admin settings. The ID is shown next to the transition.
@@ -48,14 +48,14 @@ export declare class WorkflowTransitionPropertiesService extends CommonHttpServi
48
48
  * The workflow status. Set to *live* for inactive workflows or *draft* for draft
49
49
  * workflows. Active workflows cannot be edited.
50
50
  */
51
- workflowMode?: "live" | "draft";
51
+ workflowMode?: "live" | "draft" | undefined;
52
52
  /**
53
53
  * @example {
54
54
  * "value": "createissue"
55
55
  * }
56
56
  */
57
57
  workflowTransitionProperty: WorkflowTransitionProperty;
58
- }): Promise<WorkflowTransitionProperty>;
58
+ }) => Promise<WorkflowTransitionProperty>;
59
59
  /**
60
60
  * Deletes a property from a workflow transition. Transition properties are used
61
61
  * to change the behavior of a transition. For more information, see [Transition
@@ -70,7 +70,7 @@ export declare class WorkflowTransitionPropertiesService extends CommonHttpServi
70
70
  * @scopes-beta delete:workflow.property:jira
71
71
  * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-workflow-transition-properties#api-rest-api-3-workflow-transitions-transitionid-properties-delete
72
72
  */
73
- deleteWorkflowTransitionProperty({ transitionId, key, workflowName, workflowMode, }: {
73
+ deleteWorkflowTransitionProperty: ({ transitionId, key, workflowName, workflowMode, }: {
74
74
  /**
75
75
  * The ID of the transition. To get the ID, view the workflow in text mode in the
76
76
  * Jira admin settings. The ID is shown next to the transition.
@@ -87,8 +87,8 @@ export declare class WorkflowTransitionPropertiesService extends CommonHttpServi
87
87
  * The workflow status. Set to `live` for inactive workflows or `draft` for draft
88
88
  * workflows. Active workflows cannot be edited.
89
89
  */
90
- workflowMode?: "live" | "draft";
91
- }): Promise<void>;
90
+ workflowMode?: "live" | "draft" | undefined;
91
+ }) => Promise<void>;
92
92
  /**
93
93
  * Returns the properties on a workflow transition. Transition properties are used
94
94
  * to change the behavior of a transition. For more information, see [Transition
@@ -117,7 +117,7 @@ export declare class WorkflowTransitionPropertiesService extends CommonHttpServi
117
117
  * @scopes-beta read:workflow.property:jira
118
118
  * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-workflow-transition-properties#api-rest-api-3-workflow-transitions-transitionid-properties-get
119
119
  */
120
- getWorkflowTransitionProperties({ transitionId, includeReservedKeys, key, workflowName, workflowMode, }: {
120
+ getWorkflowTransitionProperties: ({ transitionId, includeReservedKeys, key, workflowName, workflowMode, }: {
121
121
  /**
122
122
  * The ID of the transition. To get the ID, view the workflow in text mode in the
123
123
  * Jira administration console. The ID is shown next to the transition.
@@ -128,21 +128,21 @@ export declare class WorkflowTransitionPropertiesService extends CommonHttpServi
128
128
  * means they are not editable. To include these properties in the results, set
129
129
  * this parameter to *true*.
130
130
  */
131
- includeReservedKeys?: boolean;
131
+ includeReservedKeys?: boolean | undefined;
132
132
  /**
133
133
  * The key of the property being returned, also known as the name of the property.
134
134
  * If this parameter is not specified, all properties on the transition are
135
135
  * returned.
136
136
  */
137
- key?: string;
137
+ key?: string | undefined;
138
138
  /** The name of the workflow that the transition belongs to. */
139
139
  workflowName: string;
140
140
  /**
141
141
  * The workflow status. Set to *live* for active and inactive workflows, or
142
142
  * *draft* for draft workflows.
143
143
  */
144
- workflowMode?: "live" | "draft";
145
- }): Promise<WorkflowTransitionProperty>;
144
+ workflowMode?: "live" | "draft" | undefined;
145
+ }) => Promise<WorkflowTransitionProperty>;
146
146
  /**
147
147
  * Updates a workflow transition by changing the property value. Trying to update
148
148
  * a property that does not exist results in a new property being added to the
@@ -166,7 +166,7 @@ export declare class WorkflowTransitionPropertiesService extends CommonHttpServi
166
166
  * @scopes-beta write:workflow.property:jira, read:workflow.property:jira
167
167
  * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-workflow-transition-properties#api-rest-api-3-workflow-transitions-transitionid-properties-put
168
168
  */
169
- updateWorkflowTransitionProperty({ transitionId, key, workflowName, workflowMode, workflowTransitionProperty, }: {
169
+ updateWorkflowTransitionProperty: ({ transitionId, key, workflowName, workflowMode, workflowTransitionProperty, }: {
170
170
  /**
171
171
  * The ID of the transition. To get the ID, view the workflow in text mode in the
172
172
  * Jira admin settings. The ID is shown next to the transition.
@@ -183,13 +183,13 @@ export declare class WorkflowTransitionPropertiesService extends CommonHttpServi
183
183
  * The workflow status. Set to `live` for inactive workflows or `draft` for draft
184
184
  * workflows. Active workflows cannot be edited.
185
185
  */
186
- workflowMode?: "live" | "draft";
186
+ workflowMode?: "live" | "draft" | undefined;
187
187
  /**
188
188
  * @example {
189
189
  * "value": "createissue"
190
190
  * }
191
191
  */
192
192
  workflowTransitionProperty: WorkflowTransitionProperty;
193
- }): Promise<WorkflowTransitionProperty>;
193
+ }) => Promise<WorkflowTransitionProperty>;
194
194
  static initialize(): void;
195
195
  }
@@ -19,185 +19,188 @@ const validationSchemaStorage_1 = require("../validationSchemaStorage");
19
19
  * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-workflow-transition-properties
20
20
  */
21
21
  class WorkflowTransitionPropertiesService extends CommonHttpService_1.CommonHttpService {
22
- /**
23
- * Adds a property to a workflow transition. Transition properties are used to
24
- * change the behavior of a transition. For more information, see [Transition
25
- * properties](https://confluence.atlassian.com/x/zIhKLg#Advancedworkflowconfiguration-transitionproperties)
26
- * and [Workflow properties](https://confluence.atlassian.com/x/JYlKLg).
27
- *
28
- * **[Permissions](#permissions) required:** *Administer Jira* [global
29
- * permission](https://confluence.atlassian.com/x/x4dKLg).
30
- *
31
- * @returns 200 response
32
- *
33
- * example: {
34
- * "key": "jira.i18n.title",
35
- * "value": "some.title",
36
- * "id": "jira.i18n.title"
37
- * }
38
- * @path {POST} /rest/api/3/workflow/transitions/{transitionId}/properties
39
- * @scopes-current manage:jira-configuration
40
- * @scopes-beta write:workflow.property:jira, read:workflow.property:jira
41
- * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-workflow-transition-properties#api-rest-api-3-workflow-transitions-transitionid-properties-post
42
- */
43
- createWorkflowTransitionProperty({ transitionId, key, workflowName, workflowMode, workflowTransitionProperty, }) {
44
- return this.getClientInstance()
45
- .request({
46
- path: "/rest/api/3/workflow/transitions/{transitionId}/properties",
47
- method: "POST",
48
- pathParams: {
49
- transitionId,
50
- },
51
- query: {
52
- key,
53
- workflowName,
54
- workflowMode,
55
- },
56
- headers: {
57
- "Content-Type": "application/json",
58
- },
59
- body: workflowTransitionProperty,
60
- })
61
- .then(this.getClientInstance().responseHandler({
62
- 200: {
63
- "application/json": "json",
64
- },
65
- }))
66
- .then(commonHttpClient.castResponse())
67
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("WorkflowTransitionPropertiesService.createWorkflowTransitionProperty.response"))
68
- .then(commonHttpClient.getBody);
69
- }
70
- /**
71
- * Deletes a property from a workflow transition. Transition properties are used
72
- * to change the behavior of a transition. For more information, see [Transition
73
- * properties](https://confluence.atlassian.com/x/zIhKLg#Advancedworkflowconfiguration-transitionproperties)
74
- * and [Workflow properties](https://confluence.atlassian.com/x/JYlKLg).
75
- *
76
- * **[Permissions](#permissions) required:** *Administer Jira* [global
77
- * permission](https://confluence.atlassian.com/x/x4dKLg).
78
- *
79
- * @path {DELETE} /rest/api/3/workflow/transitions/{transitionId}/properties
80
- * @scopes-current manage:jira-configuration
81
- * @scopes-beta delete:workflow.property:jira
82
- * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-workflow-transition-properties#api-rest-api-3-workflow-transitions-transitionid-properties-delete
83
- */
84
- deleteWorkflowTransitionProperty({ transitionId, key, workflowName, workflowMode, }) {
85
- return this.getClientInstance()
86
- .request({
87
- path: "/rest/api/3/workflow/transitions/{transitionId}/properties",
88
- method: "DELETE",
89
- pathParams: {
90
- transitionId,
91
- },
92
- query: {
93
- key,
94
- workflowName,
95
- workflowMode,
96
- },
97
- })
98
- .then(commonHttpClient.discardResult);
99
- }
100
- /**
101
- * Returns the properties on a workflow transition. Transition properties are used
102
- * to change the behavior of a transition. For more information, see [Transition
103
- * properties](https://confluence.atlassian.com/x/zIhKLg#Advancedworkflowconfiguration-transitionproperties)
104
- * and [Workflow properties](https://confluence.atlassian.com/x/JYlKLg).
105
- *
106
- * **[Permissions](#permissions) required:** *Administer Jira* [global
107
- * permission](https://confluence.atlassian.com/x/x4dKLg).
108
- *
109
- * @returns 200 response
110
- *
111
- * example: [
112
- * {
113
- * "id": "jira.i18n.title",
114
- * "key": "jira.i18n.title",
115
- * "value": "some.title"
116
- * },
117
- * {
118
- * "id": "jira.permission",
119
- * "key": "jira.permission",
120
- * "value": "createissue"
121
- * }
122
- * ]
123
- * @path {GET} /rest/api/3/workflow/transitions/{transitionId}/properties
124
- * @scopes-current manage:jira-configuration
125
- * @scopes-beta read:workflow.property:jira
126
- * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-workflow-transition-properties#api-rest-api-3-workflow-transitions-transitionid-properties-get
127
- */
128
- getWorkflowTransitionProperties({ transitionId, includeReservedKeys, key, workflowName, workflowMode, }) {
129
- return this.getClientInstance()
130
- .request({
131
- path: "/rest/api/3/workflow/transitions/{transitionId}/properties",
132
- method: "GET",
133
- pathParams: {
134
- transitionId,
135
- },
136
- query: {
137
- includeReservedKeys,
138
- key,
139
- workflowName,
140
- workflowMode,
141
- },
142
- })
143
- .then(this.getClientInstance().responseHandler({
144
- 200: {
145
- "application/json": "json",
146
- },
147
- }))
148
- .then(commonHttpClient.castResponse())
149
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("WorkflowTransitionPropertiesService.getWorkflowTransitionProperties.response"))
150
- .then(commonHttpClient.getBody);
151
- }
152
- /**
153
- * Updates a workflow transition by changing the property value. Trying to update
154
- * a property that does not exist results in a new property being added to the
155
- * transition. Transition properties are used to change the behavior of a
156
- * transition. For more information, see [Transition
157
- * properties](https://confluence.atlassian.com/x/zIhKLg#Advancedworkflowconfiguration-transitionproperties)
158
- * and [Workflow properties](https://confluence.atlassian.com/x/JYlKLg).
159
- *
160
- * **[Permissions](#permissions) required:** *Administer Jira* [global
161
- * permission](https://confluence.atlassian.com/x/x4dKLg).
162
- *
163
- * @returns 200 response
164
- *
165
- * example: {
166
- * "key": "jira.i18n.title",
167
- * "value": "some.title",
168
- * "id": "jira.i18n.title"
169
- * }
170
- * @path {PUT} /rest/api/3/workflow/transitions/{transitionId}/properties
171
- * @scopes-current manage:jira-configuration
172
- * @scopes-beta write:workflow.property:jira, read:workflow.property:jira
173
- * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-workflow-transition-properties#api-rest-api-3-workflow-transitions-transitionid-properties-put
174
- */
175
- updateWorkflowTransitionProperty({ transitionId, key, workflowName, workflowMode, workflowTransitionProperty, }) {
176
- return this.getClientInstance()
177
- .request({
178
- path: "/rest/api/3/workflow/transitions/{transitionId}/properties",
179
- method: "PUT",
180
- pathParams: {
181
- transitionId,
182
- },
183
- query: {
184
- key,
185
- workflowName,
186
- workflowMode,
187
- },
188
- headers: {
189
- "Content-Type": "application/json",
190
- },
191
- body: workflowTransitionProperty,
192
- })
193
- .then(this.getClientInstance().responseHandler({
194
- 200: {
195
- "application/json": "json",
196
- },
197
- }))
198
- .then(commonHttpClient.castResponse())
199
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("WorkflowTransitionPropertiesService.updateWorkflowTransitionProperty.response"))
200
- .then(commonHttpClient.getBody);
22
+ constructor() {
23
+ super(...arguments);
24
+ /**
25
+ * Adds a property to a workflow transition. Transition properties are used to
26
+ * change the behavior of a transition. For more information, see [Transition
27
+ * properties](https://confluence.atlassian.com/x/zIhKLg#Advancedworkflowconfiguration-transitionproperties)
28
+ * and [Workflow properties](https://confluence.atlassian.com/x/JYlKLg).
29
+ *
30
+ * **[Permissions](#permissions) required:** *Administer Jira* [global
31
+ * permission](https://confluence.atlassian.com/x/x4dKLg).
32
+ *
33
+ * @returns 200 response
34
+ *
35
+ * example: {
36
+ * "key": "jira.i18n.title",
37
+ * "value": "some.title",
38
+ * "id": "jira.i18n.title"
39
+ * }
40
+ * @path {POST} /rest/api/3/workflow/transitions/{transitionId}/properties
41
+ * @scopes-current manage:jira-configuration
42
+ * @scopes-beta write:workflow.property:jira, read:workflow.property:jira
43
+ * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-workflow-transition-properties#api-rest-api-3-workflow-transitions-transitionid-properties-post
44
+ */
45
+ this.createWorkflowTransitionProperty = ({ transitionId, key, workflowName, workflowMode, workflowTransitionProperty, }) => {
46
+ return this.getClientInstance()
47
+ .request({
48
+ path: "/rest/api/3/workflow/transitions/{transitionId}/properties",
49
+ method: "POST",
50
+ pathParams: {
51
+ transitionId,
52
+ },
53
+ query: {
54
+ key,
55
+ workflowName,
56
+ workflowMode,
57
+ },
58
+ headers: {
59
+ "Content-Type": "application/json",
60
+ },
61
+ body: workflowTransitionProperty,
62
+ })
63
+ .then(this.getClientInstance().responseHandler({
64
+ 200: {
65
+ "application/json": "json",
66
+ },
67
+ }))
68
+ .then(commonHttpClient.castResponse())
69
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("WorkflowTransitionPropertiesService.createWorkflowTransitionProperty.response"))
70
+ .then(commonHttpClient.getBody);
71
+ };
72
+ /**
73
+ * Deletes a property from a workflow transition. Transition properties are used
74
+ * to change the behavior of a transition. For more information, see [Transition
75
+ * properties](https://confluence.atlassian.com/x/zIhKLg#Advancedworkflowconfiguration-transitionproperties)
76
+ * and [Workflow properties](https://confluence.atlassian.com/x/JYlKLg).
77
+ *
78
+ * **[Permissions](#permissions) required:** *Administer Jira* [global
79
+ * permission](https://confluence.atlassian.com/x/x4dKLg).
80
+ *
81
+ * @path {DELETE} /rest/api/3/workflow/transitions/{transitionId}/properties
82
+ * @scopes-current manage:jira-configuration
83
+ * @scopes-beta delete:workflow.property:jira
84
+ * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-workflow-transition-properties#api-rest-api-3-workflow-transitions-transitionid-properties-delete
85
+ */
86
+ this.deleteWorkflowTransitionProperty = ({ transitionId, key, workflowName, workflowMode, }) => {
87
+ return this.getClientInstance()
88
+ .request({
89
+ path: "/rest/api/3/workflow/transitions/{transitionId}/properties",
90
+ method: "DELETE",
91
+ pathParams: {
92
+ transitionId,
93
+ },
94
+ query: {
95
+ key,
96
+ workflowName,
97
+ workflowMode,
98
+ },
99
+ })
100
+ .then(commonHttpClient.discardResult);
101
+ };
102
+ /**
103
+ * Returns the properties on a workflow transition. Transition properties are used
104
+ * to change the behavior of a transition. For more information, see [Transition
105
+ * properties](https://confluence.atlassian.com/x/zIhKLg#Advancedworkflowconfiguration-transitionproperties)
106
+ * and [Workflow properties](https://confluence.atlassian.com/x/JYlKLg).
107
+ *
108
+ * **[Permissions](#permissions) required:** *Administer Jira* [global
109
+ * permission](https://confluence.atlassian.com/x/x4dKLg).
110
+ *
111
+ * @returns 200 response
112
+ *
113
+ * example: [
114
+ * {
115
+ * "id": "jira.i18n.title",
116
+ * "key": "jira.i18n.title",
117
+ * "value": "some.title"
118
+ * },
119
+ * {
120
+ * "id": "jira.permission",
121
+ * "key": "jira.permission",
122
+ * "value": "createissue"
123
+ * }
124
+ * ]
125
+ * @path {GET} /rest/api/3/workflow/transitions/{transitionId}/properties
126
+ * @scopes-current manage:jira-configuration
127
+ * @scopes-beta read:workflow.property:jira
128
+ * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-workflow-transition-properties#api-rest-api-3-workflow-transitions-transitionid-properties-get
129
+ */
130
+ this.getWorkflowTransitionProperties = ({ transitionId, includeReservedKeys, key, workflowName, workflowMode, }) => {
131
+ return this.getClientInstance()
132
+ .request({
133
+ path: "/rest/api/3/workflow/transitions/{transitionId}/properties",
134
+ method: "GET",
135
+ pathParams: {
136
+ transitionId,
137
+ },
138
+ query: {
139
+ includeReservedKeys,
140
+ key,
141
+ workflowName,
142
+ workflowMode,
143
+ },
144
+ })
145
+ .then(this.getClientInstance().responseHandler({
146
+ 200: {
147
+ "application/json": "json",
148
+ },
149
+ }))
150
+ .then(commonHttpClient.castResponse())
151
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("WorkflowTransitionPropertiesService.getWorkflowTransitionProperties.response"))
152
+ .then(commonHttpClient.getBody);
153
+ };
154
+ /**
155
+ * Updates a workflow transition by changing the property value. Trying to update
156
+ * a property that does not exist results in a new property being added to the
157
+ * transition. Transition properties are used to change the behavior of a
158
+ * transition. For more information, see [Transition
159
+ * properties](https://confluence.atlassian.com/x/zIhKLg#Advancedworkflowconfiguration-transitionproperties)
160
+ * and [Workflow properties](https://confluence.atlassian.com/x/JYlKLg).
161
+ *
162
+ * **[Permissions](#permissions) required:** *Administer Jira* [global
163
+ * permission](https://confluence.atlassian.com/x/x4dKLg).
164
+ *
165
+ * @returns 200 response
166
+ *
167
+ * example: {
168
+ * "key": "jira.i18n.title",
169
+ * "value": "some.title",
170
+ * "id": "jira.i18n.title"
171
+ * }
172
+ * @path {PUT} /rest/api/3/workflow/transitions/{transitionId}/properties
173
+ * @scopes-current manage:jira-configuration
174
+ * @scopes-beta write:workflow.property:jira, read:workflow.property:jira
175
+ * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-workflow-transition-properties#api-rest-api-3-workflow-transitions-transitionid-properties-put
176
+ */
177
+ this.updateWorkflowTransitionProperty = ({ transitionId, key, workflowName, workflowMode, workflowTransitionProperty, }) => {
178
+ return this.getClientInstance()
179
+ .request({
180
+ path: "/rest/api/3/workflow/transitions/{transitionId}/properties",
181
+ method: "PUT",
182
+ pathParams: {
183
+ transitionId,
184
+ },
185
+ query: {
186
+ key,
187
+ workflowName,
188
+ workflowMode,
189
+ },
190
+ headers: {
191
+ "Content-Type": "application/json",
192
+ },
193
+ body: workflowTransitionProperty,
194
+ })
195
+ .then(this.getClientInstance().responseHandler({
196
+ 200: {
197
+ "application/json": "json",
198
+ },
199
+ }))
200
+ .then(commonHttpClient.castResponse())
201
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("WorkflowTransitionPropertiesService.updateWorkflowTransitionProperty.response"))
202
+ .then(commonHttpClient.getBody);
203
+ };
201
204
  }
202
205
  static initialize() {
203
206
  validationSchemaStorage_1.validationSchemaStorage.registerExtensible("WorkflowTransitionPropertiesService.getWorkflowTransitionProperties.response", zod_1.z
@@ -1 +1 @@
1
- {"version":3,"file":"WorkflowTransitionPropertiesService.js","sourceRoot":"","sources":["../../../../src/openapi/platform/services/WorkflowTransitionPropertiesService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,yFAGgD;AAChD,wEAAqE;AACrE;;;;;;;;GAQG;AACH,MAAa,mCAAoC,SAAQ,qCAAiB;IACxE;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,gCAAgC,CAAC,EAC/B,YAAY,EACZ,GAAG,EACH,YAAY,EACZ,YAAY,EACZ,0BAA0B,GAyB3B;QACC,OAAO,IAAI,CAAC,iBAAiB,EAAE;aAC5B,OAAO,CAAC;YACP,IAAI,EAAE,4DAA4D;YAClE,MAAM,EAAE,MAAM;YACd,UAAU,EAAE;gBACV,YAAY;aACb;YACD,KAAK,EAAE;gBACL,GAAG;gBACH,YAAY;gBACZ,YAAY;aACb;YACD,OAAO,EAAE;gBACP,cAAc,EAAE,kBAAkB;aACnC;YACD,IAAI,EAAE,0BAA0B;SACjC,CAAC;aACD,IAAI,CACH,IAAI,CAAC,iBAAiB,EAAE,CAAC,eAAe,CAAC;YACvC,GAAG,EAAE;gBACH,kBAAkB,EAAE,MAAM;aAC3B;SACF,CAAC,CACH;aACA,IAAI,CACH,gBAAgB,CAAC,YAAY,EAIzB,CACL;aACA,IAAI,CACH,iDAAuB,CAAC,SAAS,CAC/B,+EAA+E,CAChF,CACF;aACA,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;IACpC,CAAC;IACD;;;;;;;;;;;;;OAaG;IACH,gCAAgC,CAAC,EAC/B,YAAY,EACZ,GAAG,EACH,YAAY,EACZ,YAAY,GAmBb;QACC,OAAO,IAAI,CAAC,iBAAiB,EAAE;aAC5B,OAAO,CAAC;YACP,IAAI,EAAE,4DAA4D;YAClE,MAAM,EAAE,QAAQ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,CAAC,YAAY,CAAC;YACnC,oFAAqD;SACtD,CAAC,CAAC;IACL,CAAC;CACF;AApXD,kFAoXC"}
1
+ {"version":3,"file":"WorkflowTransitionPropertiesService.js","sourceRoot":"","sources":["../../../../src/openapi/platform/services/WorkflowTransitionPropertiesService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,yFAGgD;AAChD,wEAAqE;AACrE;;;;;;;;GAQG;AACH,MAAa,mCAAoC,SAAQ,qCAAiB;IAA1E;;QACE;;;;;;;;;;;;;;;;;;;;WAoBG;QACH,qCAAgC,GAAG,CAAC,EAClC,YAAY,EACZ,GAAG,EACH,YAAY,EACZ,YAAY,EACZ,0BAA0B,GAyB3B,EAAuC,EAAE;YACxC,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,4DAA4D;gBAClE,MAAM,EAAE,MAAM;gBACd,UAAU,EAAE;oBACV,YAAY;iBACb;gBACD,KAAK,EAAE;oBACL,GAAG;oBACH,YAAY;oBACZ,YAAY;iBACb;gBACD,OAAO,EAAE;oBACP,cAAc,EAAE,kBAAkB;iBACnC;gBACD,IAAI,EAAE,0BAA0B;aACjC,CAAC;iBACD,IAAI,CACH,IAAI,CAAC,iBAAiB,EAAE,CAAC,eAAe,CAAC;gBACvC,GAAG,EAAE;oBACH,kBAAkB,EAAE,MAAM;iBAC3B;aACF,CAAC,CACH;iBACA,IAAI,CACH,gBAAgB,CAAC,YAAY,EAIzB,CACL;iBACA,IAAI,CACH,iDAAuB,CAAC,SAAS,CAC/B,+EAA+E,CAChF,CACF;iBACA,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;QACpC,CAAC,CAAC;QACF;;;;;;;;;;;;;WAaG;QACH,qCAAgC,GAAG,CAAC,EAClC,YAAY,EACZ,GAAG,EACH,YAAY,EACZ,YAAY,GAmBb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AC;YACN,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,4BAA4B,CAAC;SACjE,CAAC;aACD,QAAQ,CACP,+EAA+E,CAChF,CACJ,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC;YACnC,oFAAqD;SACtD,CAAC,CAAC;IACL,CAAC;CACF;AApXD,kFAoXC"}
@@ -66,7 +66,7 @@ export declare class WorkflowTransitionRulesService extends CommonHttpService {
66
66
  * @path {PUT} /rest/api/3/workflow/rule/config/delete
67
67
  * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-workflow-transition-rules#api-rest-api-3-workflow-rule-config-delete-put
68
68
  */
69
- deleteWorkflowTransitionRuleConfigurations({ workflowsWithTransitionRulesDetails, }: {
69
+ deleteWorkflowTransitionRuleConfigurations: ({ workflowsWithTransitionRulesDetails, }: {
70
70
  /**
71
71
  * @example {
72
72
  * "workflows": [
@@ -85,7 +85,7 @@ export declare class WorkflowTransitionRulesService extends CommonHttpService {
85
85
  * }
86
86
  */
87
87
  workflowsWithTransitionRulesDetails: WorkflowsWithTransitionRulesDetails;
88
- }): Promise<WorkflowTransitionRulesUpdateErrors>;
88
+ }) => Promise<WorkflowTransitionRulesUpdateErrors>;
89
89
  /**
90
90
  * Returns a [paginated](#pagination) list of workflows with transition rules. The
91
91
  * workflows can be filtered to return only those containing workflow transition
@@ -175,34 +175,34 @@ export declare class WorkflowTransitionRulesService extends CommonHttpService {
175
175
  * @scopes-beta read:workflow:jira
176
176
  * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-workflow-transition-rules#api-rest-api-3-workflow-rule-config-get
177
177
  */
178
- getWorkflowTransitionRuleConfigurations({ startAt, maxResults, types, keys, workflowNames, withTags, draft, expand, }: {
178
+ getWorkflowTransitionRuleConfigurations: ({ startAt, maxResults, types, keys, workflowNames, withTags, draft, expand, }: {
179
179
  /** The index of the first item to return in a page of results (page offset). */
180
- startAt?: number;
180
+ startAt?: number | undefined;
181
181
  /** The maximum number of items to return per page. */
182
- maxResults?: number;
182
+ maxResults?: number | undefined;
183
183
  /** The types of the transition rules to return. */
184
184
  types: ("postfunction" | "condition" | "validator")[];
185
185
  /**
186
186
  * The transition rule class keys, as defined in the Connect or the Forge app
187
187
  * descriptor, of the transition rules to return.
188
188
  */
189
- keys?: string[];
189
+ keys?: string[] | undefined;
190
190
  /** The list of workflow names to filter by. */
191
- workflowNames?: string[];
191
+ workflowNames?: string[] | undefined;
192
192
  /** The list of `tags` to filter by. */
193
- withTags?: string[];
193
+ withTags?: string[] | undefined;
194
194
  /**
195
195
  * Whether draft or published workflows are returned. If not provided, both
196
196
  * workflow types are returned.
197
197
  */
198
- draft?: boolean;
198
+ draft?: boolean | undefined;
199
199
  /**
200
200
  * Use [expand](#expansion) to include additional information in the response.
201
201
  * This parameter accepts `transition`, which, for each rule, returns information
202
202
  * about the transition the rule is assigned to.
203
203
  */
204
- expand?: string;
205
- }): Promise<PageBeanWorkflowTransitionRules>;
204
+ expand?: string | undefined;
205
+ }) => Promise<PageBeanWorkflowTransitionRules>;
206
206
  /**
207
207
  * Updates configuration of workflow transition rules. The following rule types
208
208
  * are supported:
@@ -276,7 +276,7 @@ export declare class WorkflowTransitionRulesService extends CommonHttpService {
276
276
  * @scopes-beta write:workflow:jira
277
277
  * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-workflow-transition-rules#api-rest-api-3-workflow-rule-config-put
278
278
  */
279
- updateWorkflowTransitionRuleConfigurations({ workflowTransitionRulesUpdate, }: {
279
+ updateWorkflowTransitionRuleConfigurations: ({ workflowTransitionRulesUpdate, }: {
280
280
  /**
281
281
  * @example {
282
282
  * "workflows": [
@@ -319,6 +319,6 @@ export declare class WorkflowTransitionRulesService extends CommonHttpService {
319
319
  * }
320
320
  */
321
321
  workflowTransitionRulesUpdate: WorkflowTransitionRulesUpdate;
322
- }): Promise<WorkflowTransitionRulesUpdateErrors>;
322
+ }) => Promise<WorkflowTransitionRulesUpdateErrors>;
323
323
  static initialize(): void;
324
324
  }