@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
@@ -15,73 +15,76 @@ const validationSchemaStorage_1 = require("../validationSchemaStorage");
15
15
  * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-app-data-policies
16
16
  */
17
17
  class AppDataPoliciesService extends CommonHttpService_1.CommonHttpService {
18
- /**
19
- * Returns data policies for the projects specified in the request.
20
- *
21
- * @returns Returned if the request is successful.
22
- *
23
- * example: {
24
- * "projectDataPolicies": [
25
- * {
26
- * "dataPolicy": {
27
- * "anyContentBlocked": false
28
- * },
29
- * "id": 1000
30
- * },
31
- * {
32
- * "dataPolicy": {
33
- * "anyContentBlocked": true
34
- * },
35
- * "id": 1001
36
- * }
37
- * ]
38
- * }
39
- * @path {GET} /rest/api/3/data-policy/project
40
- * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-app-data-policies#api-rest-api-3-data-policy-project-get
41
- */
42
- getPolicies({ ids, } = {}) {
43
- return this.getClientInstance()
44
- .request({
45
- path: "/rest/api/3/data-policy/project",
46
- method: "GET",
47
- query: {
48
- ids,
49
- },
50
- })
51
- .then(this.getClientInstance().responseHandler({
52
- 200: {
53
- "application/json": "json",
54
- },
55
- }))
56
- .then(commonHttpClient.castResponse())
57
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("AppDataPoliciesService.getPolicies.response"))
58
- .then(commonHttpClient.getBody);
59
- }
60
- /**
61
- * Returns data policy for the workspace.
62
- *
63
- * @returns Returned if the request is successful
64
- *
65
- * example: {
66
- * "anyContentBlocked": false
67
- * }
68
- * @path {GET} /rest/api/3/data-policy
69
- * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-app-data-policies#api-rest-api-3-data-policy-get
70
- */
71
- getPolicy() {
72
- return this.getClientInstance()
73
- .request({
74
- path: "/rest/api/3/data-policy",
75
- method: "GET",
76
- })
77
- .then(this.getClientInstance().responseHandler({
78
- 200: {
79
- "application/json": "json",
80
- },
81
- }))
82
- .then(commonHttpClient.castResponse())
83
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("AppDataPoliciesService.getPolicy.response"))
84
- .then(commonHttpClient.getBody);
18
+ constructor() {
19
+ super(...arguments);
20
+ /**
21
+ * Returns data policies for the projects specified in the request.
22
+ *
23
+ * @returns Returned if the request is successful.
24
+ *
25
+ * example: {
26
+ * "projectDataPolicies": [
27
+ * {
28
+ * "dataPolicy": {
29
+ * "anyContentBlocked": false
30
+ * },
31
+ * "id": 1000
32
+ * },
33
+ * {
34
+ * "dataPolicy": {
35
+ * "anyContentBlocked": true
36
+ * },
37
+ * "id": 1001
38
+ * }
39
+ * ]
40
+ * }
41
+ * @path {GET} /rest/api/3/data-policy/project
42
+ * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-app-data-policies#api-rest-api-3-data-policy-project-get
43
+ */
44
+ this.getPolicies = ({ ids, } = {}) => {
45
+ return this.getClientInstance()
46
+ .request({
47
+ path: "/rest/api/3/data-policy/project",
48
+ method: "GET",
49
+ query: {
50
+ ids,
51
+ },
52
+ })
53
+ .then(this.getClientInstance().responseHandler({
54
+ 200: {
55
+ "application/json": "json",
56
+ },
57
+ }))
58
+ .then(commonHttpClient.castResponse())
59
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("AppDataPoliciesService.getPolicies.response"))
60
+ .then(commonHttpClient.getBody);
61
+ };
62
+ /**
63
+ * Returns data policy for the workspace.
64
+ *
65
+ * @returns Returned if the request is successful
66
+ *
67
+ * example: {
68
+ * "anyContentBlocked": false
69
+ * }
70
+ * @path {GET} /rest/api/3/data-policy
71
+ * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-app-data-policies#api-rest-api-3-data-policy-get
72
+ */
73
+ this.getPolicy = () => {
74
+ return this.getClientInstance()
75
+ .request({
76
+ path: "/rest/api/3/data-policy",
77
+ method: "GET",
78
+ })
79
+ .then(this.getClientInstance().responseHandler({
80
+ 200: {
81
+ "application/json": "json",
82
+ },
83
+ }))
84
+ .then(commonHttpClient.castResponse())
85
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("AppDataPoliciesService.getPolicy.response"))
86
+ .then(commonHttpClient.getBody);
87
+ };
85
88
  }
86
89
  static initialize() {
87
90
  validationSchemaStorage_1.validationSchemaStorage.registerExtensible("AppDataPoliciesService.getPolicy.response", zod_1.z
@@ -1 +1 @@
1
- {"version":3,"file":"AppDataPoliciesService.js","sourceRoot":"","sources":["../../../../src/openapi/platform/services/AppDataPoliciesService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,+DAImC;AACnC,wEAAqE;AACrE;;;;GAIG;AACH,MAAa,sBAAuB,SAAQ,qCAAiB;IAC3D;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH,WAAW,CAAC,EACV,GAAG,MAID,EAAE;QACJ,OAAO,IAAI,CAAC,iBAAiB,EAAE;aAC5B,OAAO,CAAC;YACP,IAAI,EAAE,iCAAiC;YACvC,MAAM,EAAE,KAAK;YACb,KAAK,EAAE;gBACL,GAAG;aACJ;SACF,CAAC;aACD,IAAI,CACH,IAAI,CAAC,iBAAiB,EAAE,CAAC,eAAe,CAAC;YACvC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C,qBAAqB,CAAC;SAC1D,CAAC;aACD,QAAQ,CAAC,6CAA6C,CAAC,CAC3D,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC;YACnC,0DAAwC;SACzC,CAAC,CAAC;IACL,CAAC;CACF;AA3HD,wDA2HC"}
1
+ {"version":3,"file":"AppDataPoliciesService.js","sourceRoot":"","sources":["../../../../src/openapi/platform/services/AppDataPoliciesService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,+DAImC;AACnC,wEAAqE;AACrE;;;;GAIG;AACH,MAAa,sBAAuB,SAAQ,qCAAiB;IAA7D;;QACE;;;;;;;;;;;;;;;;;;;;;;;WAuBG;QACH,gBAAW,GAAG,CAAC,EACb,GAAG,MAID,EAAE,EAAgC,EAAE;YACtC,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,iCAAiC;gBACvC,MAAM,EAAE,KAAK;gBACb,KAAK,EAAE;oBACL,GAAG;iBACJ;aACF,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,6CAA6C,CAC9C,CACF;iBACA,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;QACpC,CAAC,CAAC;QACF;;;;;;;;;;WAUG;QACH,cAAS,GAAG,GAAiC,EAAE;YAC7C,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,yBAAyB;gBAC/B,MAAM,EAAE,KAAK;aACd,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,2CAA2C,CAC5C,CACF;iBACA,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;QACpC,CAAC,CAAC;IA0BJ,CAAC;IAzBC,MAAM,CAAC,UAAU;QACf,iDAAuB,CAAC,kBAAkB,CACxC,2CAA2C,EAC3C,OAAC;aACE,MAAM,CAAC;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,qBAAqB,CAAC;SAC1D,CAAC;aACD,QAAQ,CAAC,2CAA2C,CAAC,CACzD,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,6CAA6C,EAC7C,OAAC;aACE,MAAM,CAAC;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,qBAAqB,CAAC;SAC1D,CAAC;aACD,QAAQ,CAAC,6CAA6C,CAAC,CAC3D,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC;YACnC,0DAAwC;SACzC,CAAC,CAAC;IACL,CAAC;CACF;AA3HD,wDA2HC"}
@@ -24,7 +24,7 @@ export declare class AppMigrationService extends CommonHttpService {
24
24
  * @path {PUT} /rest/atlassian-connect/1/migration/field
25
25
  * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-app-migration#api-rest-atlassian-connect-1-migration-field-put
26
26
  */
27
- appIssueFieldValueUpdateResourceUpdateIssueFieldsPut({ atlassianTransferId, connectCustomFieldValues, }: {
27
+ appIssueFieldValueUpdateResourceUpdateIssueFieldsPut: ({ atlassianTransferId, connectCustomFieldValues, }: {
28
28
  /** The ID of the transfer. */
29
29
  atlassianTransferId: string;
30
30
  /**
@@ -70,7 +70,7 @@ export declare class AppMigrationService extends CommonHttpService {
70
70
  * }
71
71
  */
72
72
  connectCustomFieldValues: ConnectCustomFieldValues;
73
- }): Promise<unknown>;
73
+ }) => Promise<unknown>;
74
74
  /**
75
75
  * Updates the values of multiple entity properties for an object, up to 50
76
76
  * updates per request. This operation is for use by Connect apps during app
@@ -79,13 +79,13 @@ export declare class AppMigrationService extends CommonHttpService {
79
79
  * @path {PUT} /rest/atlassian-connect/1/migration/properties/{entityType}
80
80
  * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-app-migration#api-rest-atlassian-connect-1-migration-properties-entitytype-put
81
81
  */
82
- migrationResourceUpdateEntityPropertiesValuePut({ entityType, atlassianTransferId, entityPropertyDetailses, }: {
82
+ migrationResourceUpdateEntityPropertiesValuePut: ({ entityType, atlassianTransferId, entityPropertyDetailses, }: {
83
83
  /** The type indicating the object that contains the entity properties. */
84
84
  entityType: "IssueProperty" | "CommentProperty" | "DashboardItemProperty" | "IssueTypeProperty" | "ProjectProperty" | "UserProperty" | "WorklogProperty" | "BoardProperty" | "SprintProperty";
85
85
  /** The app migration transfer ID. */
86
86
  atlassianTransferId: string;
87
87
  entityPropertyDetailses: EntityPropertyDetails[];
88
- }): Promise<void>;
88
+ }) => Promise<void>;
89
89
  /**
90
90
  * Returns configurations for workflow transition rules migrated from server to
91
91
  * cloud and owned by the calling Connect app.
@@ -148,10 +148,10 @@ export declare class AppMigrationService extends CommonHttpService {
148
148
  * @path {POST} /rest/atlassian-connect/1/migration/workflow/rule/search
149
149
  * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-app-migration#api-rest-atlassian-connect-1-migration-workflow-rule-search-post
150
150
  */
151
- migrationResourceWorkflowRuleSearchPost({ atlassianTransferId, workflowRulesSearch, }: {
151
+ migrationResourceWorkflowRuleSearchPost: ({ atlassianTransferId, workflowRulesSearch, }: {
152
152
  /** The app migration transfer ID. */
153
153
  atlassianTransferId: string;
154
154
  workflowRulesSearch: WorkflowRulesSearch;
155
- }): Promise<WorkflowRulesSearchDetails>;
155
+ }) => Promise<WorkflowRulesSearchDetails>;
156
156
  static initialize(): void;
157
157
  }
@@ -22,142 +22,145 @@ const validationSchemaStorage_1 = require("../validationSchemaStorage");
22
22
  * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-app-migration
23
23
  */
24
24
  class AppMigrationService extends CommonHttpService_1.CommonHttpService {
25
- /**
26
- * Updates the value of a custom field added by Connect apps on one or more issues.
27
- * The values of up to 200 custom fields can be updated.
28
- *
29
- * **[Permissions](#permissions) required:** Only Connect apps can make this
30
- * request
31
- *
32
- * @returns Returned if the request is successful.
33
- * @path {PUT} /rest/atlassian-connect/1/migration/field
34
- * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-app-migration#api-rest-atlassian-connect-1-migration-field-put
35
- */
36
- appIssueFieldValueUpdateResourceUpdateIssueFieldsPut({ atlassianTransferId, connectCustomFieldValues, }) {
37
- return this.getClientInstance()
38
- .request({
39
- path: "/rest/atlassian-connect/1/migration/field",
40
- method: "PUT",
41
- headers: {
42
- "Atlassian-Transfer-Id": atlassianTransferId,
43
- "Content-Type": "application/json",
44
- },
45
- body: connectCustomFieldValues,
46
- })
47
- .then(this.getClientInstance().responseHandler({
48
- 200: {
49
- "application/json": "json",
50
- },
51
- }))
52
- .then(commonHttpClient.castResponse())
53
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("AppMigrationService.AppIssueFieldValueUpdateResource.updateIssueFields_put.response"))
54
- .then(commonHttpClient.getBody);
55
- }
56
- /**
57
- * Updates the values of multiple entity properties for an object, up to 50
58
- * updates per request. This operation is for use by Connect apps during app
59
- * migration.
60
- *
61
- * @path {PUT} /rest/atlassian-connect/1/migration/properties/{entityType}
62
- * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-app-migration#api-rest-atlassian-connect-1-migration-properties-entitytype-put
63
- */
64
- migrationResourceUpdateEntityPropertiesValuePut({ entityType, atlassianTransferId, entityPropertyDetailses, }) {
65
- return this.getClientInstance()
66
- .request({
67
- path: "/rest/atlassian-connect/1/migration/properties/{entityType}",
68
- method: "PUT",
69
- pathParams: {
70
- entityType,
71
- },
72
- headers: {
73
- "Atlassian-Transfer-Id": atlassianTransferId,
74
- "Content-Type": "application/json",
75
- },
76
- body: entityPropertyDetailses,
77
- })
78
- .then(commonHttpClient.discardResult);
79
- }
80
- /**
81
- * Returns configurations for workflow transition rules migrated from server to
82
- * cloud and owned by the calling Connect app.
83
- *
84
- * @returns Returned if the request is successful.
85
- *
86
- * example: {
87
- * "workflowEntityId": "a498d711-685d-428d-8c3e-bc03bb450ea7",
88
- * "invalidRules": [
89
- * "55d44f1d-c859-42e5-9c27-2c5ec3f340b1"
90
- * ],
91
- * "validRules": [
92
- * {
93
- * "workflowId": {
94
- * "name": "Workflow name",
95
- * "draft": true
96
- * },
97
- * "postFunctions": [
98
- * {
99
- * "id": "123",
100
- * "key": "WorkflowKey",
101
- * "configuration": {
102
- * "value": "WorkflowValidator"
103
- * },
104
- * "transition": {
105
- * "name": "transition",
106
- * "id": 123
107
- * }
108
- * }
109
- * ],
110
- * "conditions": [
111
- * {
112
- * "id": "123",
113
- * "key": "WorkflowKey",
114
- * "configuration": {
115
- * "value": "WorkflowValidator"
116
- * },
117
- * "transition": {
118
- * "name": "transition",
119
- * "id": 123
120
- * }
121
- * }
122
- * ],
123
- * "validators": [
124
- * {
125
- * "id": "123",
126
- * "key": "WorkflowKey",
127
- * "configuration": {
128
- * "value": "WorkflowValidator"
129
- * },
130
- * "transition": {
131
- * "name": "transition",
132
- * "id": 123
133
- * }
134
- * }
135
- * ]
136
- * }
137
- * ]
138
- * }
139
- * @path {POST} /rest/atlassian-connect/1/migration/workflow/rule/search
140
- * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-app-migration#api-rest-atlassian-connect-1-migration-workflow-rule-search-post
141
- */
142
- migrationResourceWorkflowRuleSearchPost({ atlassianTransferId, workflowRulesSearch, }) {
143
- return this.getClientInstance()
144
- .request({
145
- path: "/rest/atlassian-connect/1/migration/workflow/rule/search",
146
- method: "POST",
147
- headers: {
148
- "Atlassian-Transfer-Id": atlassianTransferId,
149
- "Content-Type": "application/json",
150
- },
151
- body: workflowRulesSearch,
152
- })
153
- .then(this.getClientInstance().responseHandler({
154
- 200: {
155
- "application/json": "json",
156
- },
157
- }))
158
- .then(commonHttpClient.castResponse())
159
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("AppMigrationService.MigrationResource.workflowRuleSearch_post.response"))
160
- .then(commonHttpClient.getBody);
25
+ constructor() {
26
+ super(...arguments);
27
+ /**
28
+ * Updates the value of a custom field added by Connect apps on one or more issues.
29
+ * The values of up to 200 custom fields can be updated.
30
+ *
31
+ * **[Permissions](#permissions) required:** Only Connect apps can make this
32
+ * request
33
+ *
34
+ * @returns Returned if the request is successful.
35
+ * @path {PUT} /rest/atlassian-connect/1/migration/field
36
+ * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-app-migration#api-rest-atlassian-connect-1-migration-field-put
37
+ */
38
+ this.appIssueFieldValueUpdateResourceUpdateIssueFieldsPut = ({ atlassianTransferId, connectCustomFieldValues, }) => {
39
+ return this.getClientInstance()
40
+ .request({
41
+ path: "/rest/atlassian-connect/1/migration/field",
42
+ method: "PUT",
43
+ headers: {
44
+ "Atlassian-Transfer-Id": atlassianTransferId,
45
+ "Content-Type": "application/json",
46
+ },
47
+ body: connectCustomFieldValues,
48
+ })
49
+ .then(this.getClientInstance().responseHandler({
50
+ 200: {
51
+ "application/json": "json",
52
+ },
53
+ }))
54
+ .then(commonHttpClient.castResponse())
55
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("AppMigrationService.AppIssueFieldValueUpdateResource.updateIssueFields_put.response"))
56
+ .then(commonHttpClient.getBody);
57
+ };
58
+ /**
59
+ * Updates the values of multiple entity properties for an object, up to 50
60
+ * updates per request. This operation is for use by Connect apps during app
61
+ * migration.
62
+ *
63
+ * @path {PUT} /rest/atlassian-connect/1/migration/properties/{entityType}
64
+ * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-app-migration#api-rest-atlassian-connect-1-migration-properties-entitytype-put
65
+ */
66
+ this.migrationResourceUpdateEntityPropertiesValuePut = ({ entityType, atlassianTransferId, entityPropertyDetailses, }) => {
67
+ return this.getClientInstance()
68
+ .request({
69
+ path: "/rest/atlassian-connect/1/migration/properties/{entityType}",
70
+ method: "PUT",
71
+ pathParams: {
72
+ entityType,
73
+ },
74
+ headers: {
75
+ "Atlassian-Transfer-Id": atlassianTransferId,
76
+ "Content-Type": "application/json",
77
+ },
78
+ body: entityPropertyDetailses,
79
+ })
80
+ .then(commonHttpClient.discardResult);
81
+ };
82
+ /**
83
+ * Returns configurations for workflow transition rules migrated from server to
84
+ * cloud and owned by the calling Connect app.
85
+ *
86
+ * @returns Returned if the request is successful.
87
+ *
88
+ * example: {
89
+ * "workflowEntityId": "a498d711-685d-428d-8c3e-bc03bb450ea7",
90
+ * "invalidRules": [
91
+ * "55d44f1d-c859-42e5-9c27-2c5ec3f340b1"
92
+ * ],
93
+ * "validRules": [
94
+ * {
95
+ * "workflowId": {
96
+ * "name": "Workflow name",
97
+ * "draft": true
98
+ * },
99
+ * "postFunctions": [
100
+ * {
101
+ * "id": "123",
102
+ * "key": "WorkflowKey",
103
+ * "configuration": {
104
+ * "value": "WorkflowValidator"
105
+ * },
106
+ * "transition": {
107
+ * "name": "transition",
108
+ * "id": 123
109
+ * }
110
+ * }
111
+ * ],
112
+ * "conditions": [
113
+ * {
114
+ * "id": "123",
115
+ * "key": "WorkflowKey",
116
+ * "configuration": {
117
+ * "value": "WorkflowValidator"
118
+ * },
119
+ * "transition": {
120
+ * "name": "transition",
121
+ * "id": 123
122
+ * }
123
+ * }
124
+ * ],
125
+ * "validators": [
126
+ * {
127
+ * "id": "123",
128
+ * "key": "WorkflowKey",
129
+ * "configuration": {
130
+ * "value": "WorkflowValidator"
131
+ * },
132
+ * "transition": {
133
+ * "name": "transition",
134
+ * "id": 123
135
+ * }
136
+ * }
137
+ * ]
138
+ * }
139
+ * ]
140
+ * }
141
+ * @path {POST} /rest/atlassian-connect/1/migration/workflow/rule/search
142
+ * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-app-migration#api-rest-atlassian-connect-1-migration-workflow-rule-search-post
143
+ */
144
+ this.migrationResourceWorkflowRuleSearchPost = ({ atlassianTransferId, workflowRulesSearch, }) => {
145
+ return this.getClientInstance()
146
+ .request({
147
+ path: "/rest/atlassian-connect/1/migration/workflow/rule/search",
148
+ method: "POST",
149
+ headers: {
150
+ "Atlassian-Transfer-Id": atlassianTransferId,
151
+ "Content-Type": "application/json",
152
+ },
153
+ body: workflowRulesSearch,
154
+ })
155
+ .then(this.getClientInstance().responseHandler({
156
+ 200: {
157
+ "application/json": "json",
158
+ },
159
+ }))
160
+ .then(commonHttpClient.castResponse())
161
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("AppMigrationService.MigrationResource.workflowRuleSearch_post.response"))
162
+ .then(commonHttpClient.getBody);
163
+ };
161
164
  }
162
165
  static initialize() {
163
166
  validationSchemaStorage_1.validationSchemaStorage.registerExtensible("AppMigrationService.AppIssueFieldValueUpdateResource.updateIssueFields_put.response", zod_1.z
@@ -1 +1 @@
1
- {"version":3,"file":"AppMigrationService.js","sourceRoot":"","sources":["../../../../src/openapi/platform/services/AppMigrationService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,yDAMgC;AAChC,wEAAqE;AACrE;;;;;;;;;;;GAWG;AACH,MAAa,mBAAoB,SAAQ,qCAAiB;IACxD;;;;;;;;;;OAUG;IACH,oDA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AAO,EAAE;gBACP,uBAAuB,EAAE,mBAAmB;gBAC5C,cAAc,EAAE,kBAAkB;aACnC;YACD,IAAI,EAAE,mBAAmB;SAC1B,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,wEAAwE,CACzE,CACF;aACA,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;IACpC,CAAC;IACD,MAAM,CAAC,UAAU;QACf,iDAAuB,CAAC,kBAAkB,CACxC,qFAAqF,EACrF,OAAC;aACE,MAAM,CAAC;YACN,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,OAAC,CAAC,OAAO,EAAE;SAClB,CAAC;aACD,QAAQ,CACP,qFAAqF,CACtF,CACJ,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,wEAAwE,EACxE,OAAC;aACE,MAAM,CAAC;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,wEAAwE,CACzE,CACJ,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC;YACnC,oDAAqC;SACtC,CAAC,CAAC;IACL,CAAC;CACF;AA1QD,kDA0QC"}
1
+ {"version":3,"file":"AppMigrationService.js","sourceRoot":"","sources":["../../../../src/openapi/platform/services/AppMigrationService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gD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,CAAC,IAAI,CAAC,4BAA4B,CAAC;SACjE,CAAC;aACD,QAAQ,CACP,wEAAwE,CACzE,CACJ,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC;YACnC,oDAAqC;SACtC,CAAC,CAAC;IACL,CAAC;CACF;AA1QD,kDA0QC"}
@@ -22,12 +22,12 @@ export declare class AppPropertiesService extends CommonHttpService {
22
22
  * @scopes-beta
23
23
  * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-app-properties#api-rest-atlassian-connect-1-addons-addonkey-properties-propertykey-delete
24
24
  */
25
- addonPropertiesResourceDeleteAddonPropertyDelete({ addonKey, propertyKey, }: {
25
+ addonPropertiesResourceDeleteAddonPropertyDelete: ({ addonKey, propertyKey, }: {
26
26
  /** The key of the app, as defined in its descriptor. */
27
27
  addonKey: string;
28
28
  /** The key of the property. */
29
29
  propertyKey: string;
30
- }): Promise<void>;
30
+ }) => Promise<void>;
31
31
  /**
32
32
  * Gets all the properties of an app.
33
33
  *
@@ -52,10 +52,10 @@ export declare class AppPropertiesService extends CommonHttpService {
52
52
  * @scopes-beta
53
53
  * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-app-properties#api-rest-atlassian-connect-1-addons-addonkey-properties-get
54
54
  */
55
- addonPropertiesResourceGetAddonPropertiesGet({ addonKey, }: {
55
+ addonPropertiesResourceGetAddonPropertiesGet: ({ addonKey, }: {
56
56
  /** The key of the app, as defined in its descriptor. */
57
57
  addonKey: string;
58
- }): Promise<PropertyKeys>;
58
+ }) => Promise<PropertyKeys>;
59
59
  /**
60
60
  * Returns the key and value of an app's property.
61
61
  *
@@ -77,12 +77,12 @@ export declare class AppPropertiesService extends CommonHttpService {
77
77
  * @scopes-beta
78
78
  * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-app-properties#api-rest-atlassian-connect-1-addons-addonkey-properties-propertykey-get
79
79
  */
80
- addonPropertiesResourceGetAddonPropertyGet({ addonKey, propertyKey, }: {
80
+ addonPropertiesResourceGetAddonPropertyGet: ({ addonKey, propertyKey, }: {
81
81
  /** The key of the app, as defined in its descriptor. */
82
82
  addonKey: string;
83
83
  /** The key of the property. */
84
84
  propertyKey: string;
85
- }): Promise<EntityProperty>;
85
+ }) => Promise<EntityProperty>;
86
86
  /**
87
87
  * Sets the value of an app's property. Use this resource to store custom data for
88
88
  * your app.
@@ -118,13 +118,13 @@ export declare class AppPropertiesService extends CommonHttpService {
118
118
  * @scopes-beta
119
119
  * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-app-properties#api-rest-atlassian-connect-1-addons-addonkey-properties-propertykey-put
120
120
  */
121
- addonPropertiesResourcePutAddonPropertyPut({ addonKey, propertyKey, requestBody, }: {
121
+ addonPropertiesResourcePutAddonPropertyPut: ({ addonKey, propertyKey, requestBody, }: {
122
122
  /** The key of the app, as defined in its descriptor. */
123
123
  addonKey: string;
124
124
  /** The key of the property. */
125
125
  propertyKey: string;
126
126
  requestBody: unknown;
127
- }): Promise<{
127
+ }) => Promise<{
128
128
  created: boolean;
129
129
  operationMessage: OperationMessage;
130
130
  }>;
@@ -138,10 +138,10 @@ export declare class AppPropertiesService extends CommonHttpService {
138
138
  * @scopes-beta
139
139
  * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-app-properties#api-rest-forge-1-app-properties-propertykey-delete
140
140
  */
141
- deleteForgeAppProperty({ propertyKey, }: {
141
+ deleteForgeAppProperty: ({ propertyKey, }: {
142
142
  /** The key of the property. */
143
143
  propertyKey: string;
144
- }): Promise<void>;
144
+ }) => Promise<void>;
145
145
  /**
146
146
  * Sets the value of a Forge app's property.
147
147
  * These values can be retrieved in [Jira
@@ -180,11 +180,11 @@ export declare class AppPropertiesService extends CommonHttpService {
180
180
  * @scopes-beta
181
181
  * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-app-properties#api-rest-forge-1-app-properties-propertykey-put
182
182
  */
183
- putForgeAppProperty({ propertyKey, requestBody, }: {
183
+ putForgeAppProperty: ({ propertyKey, requestBody, }: {
184
184
  /** The key of the property. */
185
185
  propertyKey: string;
186
186
  requestBody: unknown;
187
- }): Promise<{
187
+ }) => Promise<{
188
188
  created: boolean;
189
189
  operationMessage: OperationMessage;
190
190
  }>;