@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
@@ -22,638 +22,641 @@ const validationSchemaStorage_1 = require("../validationSchemaStorage");
22
22
  * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-jql
23
23
  */
24
24
  class JqlService extends CommonHttpService_1.CommonHttpService {
25
- /**
26
- * Returns reference data for JQL searches. This is a downloadable version of the
27
- * documentation provided in [Advanced searching - fields
28
- * reference](https://confluence.atlassian.com/x/gwORLQ) and [Advanced searching -
29
- * functions reference](https://confluence.atlassian.com/x/hgORLQ), along with a
30
- * list of JQL-reserved words. Use this information to assist with the
31
- * programmatic creation of JQL queries or the validation of queries built in a
32
- * custom query builder.
33
- *
34
- * To filter visible field details by project or collapse non-unique fields by
35
- * field type then [Get field reference data
36
- * (POST)](#api-rest-api-3-jql-autocompletedata-post) can be used.
37
- *
38
- * This operation can be accessed anonymously.
39
- *
40
- * **[Permissions](#permissions) required:** None.
41
- *
42
- * @returns Returned if the request is successful.
43
- *
44
- * example: {
45
- * "jqlReservedWords": [
46
- * "empty",
47
- * "and",
48
- * "or",
49
- * "in",
50
- * "distinct"
51
- * ],
52
- * "visibleFieldNames": [
53
- * {
54
- * "displayName": "summary",
55
- * "operators": [
56
- * "~",
57
- * "!~",
58
- * "is",
59
- * "is not"
60
- * ],
61
- * "orderable": "true",
62
- * "searchable": "true",
63
- * "types": [
64
- * "java.lang.String"
65
- * ],
66
- * "value": "summary"
67
- * },
68
- * {
69
- * "auto": "true",
70
- * "cfid": "cf[10880]",
71
- * "displayName": "Sprint - cf[10880]",
72
- * "operators": [
73
- * "=",
74
- * "!=",
75
- * "in",
76
- * "not in",
77
- * "is",
78
- * "is not"
79
- * ],
80
- * "orderable": "true",
81
- * "searchable": "true",
82
- * "types": [
83
- * "com.atlassian.greenhopper.service.sprint.Sprint"
84
- * ],
85
- * "value": "Sprint"
86
- * }
87
- * ],
88
- * "visibleFunctionNames": [
89
- * {
90
- * "displayName": "standardIssueTypes()",
91
- * "isList": "true",
92
- * "types": [
93
- * "com.atlassian.jira.issue.issuetype.IssueType"
94
- * ],
95
- * "value": "standardIssueTypes()"
96
- * },
97
- * {
98
- * "displayName": "issuesWithText()",
99
- * "supportsListAndSingleValueOperators": "true",
100
- * "types": [
101
- * "com.atlassian.jira.issue.issuetype.IssueType"
102
- * ],
103
- * "value": "issuesWithText()"
104
- * }
105
- * ]
106
- * }
107
- * @path {GET} /rest/api/3/jql/autocompletedata
108
- * @scopes-current read:jira-work
109
- * @scopes-beta read:field:jira
110
- * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-jql#api-rest-api-3-jql-autocompletedata-get
111
- */
112
- getAutoComplete() {
113
- return this.getClientInstance()
114
- .request({
115
- path: "/rest/api/3/jql/autocompletedata",
116
- method: "GET",
117
- })
118
- .then(this.getClientInstance().responseHandler({
119
- 200: {
120
- "application/json": "json",
121
- },
122
- }))
123
- .then(commonHttpClient.castResponse())
124
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("JqlService.getAutoComplete.response"))
125
- .then(commonHttpClient.getBody);
126
- }
127
- /**
128
- * Returns reference data for JQL searches. This is a downloadable version of the
129
- * documentation provided in [Advanced searching - fields
130
- * reference](https://confluence.atlassian.com/x/gwORLQ) and [Advanced searching -
131
- * functions reference](https://confluence.atlassian.com/x/hgORLQ), along with a
132
- * list of JQL-reserved words. Use this information to assist with the
133
- * programmatic creation of JQL queries or the validation of queries built in a
134
- * custom query builder.
135
- *
136
- * This operation can filter the custom fields returned by project. Invalid
137
- * project IDs in `projectIds` are ignored. System fields are always returned.
138
- *
139
- * It can also return the collapsed field for custom fields. Collapsed fields
140
- * enable searches to be performed across all fields with the same name and of the
141
- * same field type. For example, the collapsed field `Component -
142
- * Component[Dropdown]` enables dropdown fields `Component - cf[10061]` and
143
- * `Component - cf[10062]` to be searched simultaneously.
144
- *
145
- * **[Permissions](#permissions) required:** None.
146
- *
147
- * @returns Returned if the request is successful.
148
- *
149
- * example: {
150
- * "jqlReservedWords": [
151
- * "empty",
152
- * "and",
153
- * "or",
154
- * "in",
155
- * "distinct"
156
- * ],
157
- * "visibleFieldNames": [
158
- * {
159
- * "displayName": "summary",
160
- * "operators": [
161
- * "~",
162
- * "!~",
163
- * "is",
164
- * "is not"
165
- * ],
166
- * "orderable": "true",
167
- * "searchable": "true",
168
- * "types": [
169
- * "java.lang.String"
170
- * ],
171
- * "value": "summary"
172
- * },
173
- * {
174
- * "auto": "true",
175
- * "cfid": "cf[10061]",
176
- * "displayName": "Component - cf[10061]",
177
- * "operators": [
178
- * "=",
179
- * "!=",
180
- * "in",
181
- * "not in",
182
- * "is",
183
- * "is not"
184
- * ],
185
- * "orderable": "true",
186
- * "types": [
187
- * "com.atlassian.jira.issue.customfields.option.Option"
188
- * ],
189
- * "value": "cf[10061]"
190
- * },
191
- * {
192
- * "auto": "true",
193
- * "cfid": "cf[10062]",
194
- * "displayName": "Component - cf[10062]",
195
- * "operators": [
196
- * "=",
197
- * "!=",
198
- * "in",
199
- * "not in",
200
- * "is",
201
- * "is not"
202
- * ],
203
- * "orderable": "true",
204
- * "types": [
205
- * "com.atlassian.jira.issue.customfields.option.Option"
206
- * ],
207
- * "value": "cf[10062]"
208
- * },
209
- * {
210
- * "auto": "true",
211
- * "displayName": "Component - Component[Dropdown]",
212
- * "operators": [
213
- * "=",
214
- * "!=",
215
- * "in",
216
- * "not in",
217
- * "is",
218
- * "is not"
219
- * ],
220
- * "searchable": "true",
221
- * "types": [
222
- * "com.atlassian.jira.issue.customfields.option.Option"
223
- * ],
224
- * "value": "\"Component[Dropdown]\""
225
- * }
226
- * ],
227
- * "visibleFunctionNames": [
228
- * {
229
- * "displayName": "standardIssueTypes()",
230
- * "isList": "true",
231
- * "types": [
232
- * "com.atlassian.jira.issue.issuetype.IssueType"
233
- * ],
234
- * "value": "standardIssueTypes()"
235
- * }
236
- * ]
237
- * }
238
- * @path {POST} /rest/api/3/jql/autocompletedata
239
- * @scopes-current read:jira-work
240
- * @scopes-beta read:field:jira
241
- * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-jql#api-rest-api-3-jql-autocompletedata-post
242
- */
243
- getAutoCompletePost({ searchAutoCompleteFilter, }) {
244
- return this.getClientInstance()
245
- .request({
246
- path: "/rest/api/3/jql/autocompletedata",
247
- method: "POST",
248
- headers: {
249
- "Content-Type": "application/json",
250
- },
251
- body: searchAutoCompleteFilter,
252
- })
253
- .then(this.getClientInstance().responseHandler({
254
- 200: {
255
- "application/json": "json",
256
- },
257
- }))
258
- .then(commonHttpClient.castResponse())
259
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("JqlService.getAutoCompletePost.response"))
260
- .then(commonHttpClient.getBody);
261
- }
262
- /**
263
- * Returns the JQL search auto complete suggestions for a field.
264
- *
265
- * Suggestions can be obtained by providing:
266
- *
267
- * * `fieldName` to get a list of all values for the field.
268
- * * `fieldName` and `fieldValue` to get a list of values containing the text in
269
- * `fieldValue`.
270
- * * `fieldName` and `predicateName` to get a list of all predicate values for
271
- * the field.
272
- * * `fieldName`, `predicateName`, and `predicateValue` to get a list of
273
- * predicate values containing the text in `predicateValue`.
274
- *
275
- * This operation can be accessed anonymously.
276
- *
277
- * **[Permissions](#permissions) required:** None.
278
- *
279
- * @returns Returned if the request is successful.
280
- *
281
- * example: {
282
- * "results": [
283
- * {
284
- * "displayName": "<b>Ac</b>tiveObjects (AO)",
285
- * "value": "ActiveObjects"
286
- * },
287
- * {
288
- * "displayName": "Atlassian Connect (<b>AC</b>)",
289
- * "value": "Atlassian Connect"
290
- * },
291
- * {
292
- * "displayName": "Atlassian Connect in Jira (<b>AC</b>JIRA)",
293
- * "value": "Atlassian Connect in Jira"
294
- * }
295
- * ]
296
- * }
297
- * @path {GET} /rest/api/3/jql/autocompletedata/suggestions
298
- * @scopes-current read:jira-work
299
- * @scopes-beta read:issue-details:jira
300
- * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-jql#api-rest-api-3-jql-autocompletedata-suggestions-get
301
- */
302
- getFieldAutoCompleteForQueryString({ fieldName, fieldValue, predicateName, predicateValue, } = {}) {
303
- return this.getClientInstance()
304
- .request({
305
- path: "/rest/api/3/jql/autocompletedata/suggestions",
306
- method: "GET",
307
- query: {
308
- fieldName,
309
- fieldValue,
310
- predicateName,
311
- predicateValue,
312
- },
313
- })
314
- .then(this.getClientInstance().responseHandler({
315
- 200: {
316
- "application/json": "json",
317
- },
318
- }))
319
- .then(commonHttpClient.castResponse())
320
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("JqlService.getFieldAutoCompleteForQueryString.response"))
321
- .then(commonHttpClient.getBody);
322
- }
323
- /**
324
- * Converts one or more JQL queries with user identifiers (username or user key)
325
- * to equivalent JQL queries with account IDs.
326
- *
327
- * You may wish to use this operation if your system stores JQL queries and you
328
- * want to make them GDPR-compliant. For more information about GDPR-related
329
- * changes, see the [migration
330
- * guide](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/).
331
- *
332
- * **[Permissions](#permissions) required:** Permission to access Jira.
333
- *
334
- * @returns Returned if the request is successful. Note that the JQL queries are returned
335
- * in the same order that they were passed.
336
- *
337
- * example: {
338
- * "queriesWithUnknownUsers": [
339
- * {
340
- * "convertedQuery": "assignee = unknown",
341
- * "originalQuery": "assignee = mia"
342
- * }
343
- * ],
344
- * "queryStrings": [
345
- * "issuetype = Bug AND assignee in (abcde-12345) AND reporter in
346
- * (abc551-c4e99) order by lastViewed DESC"
347
- * ]
348
- * }
349
- * @path {POST} /rest/api/3/jql/pdcleaner
350
- * @scopes-current read:jira-user
351
- * @scopes-beta read:user:jira, read:jql:jira, validate:jql:jira
352
- * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-jql#api-rest-api-3-jql-pdcleaner-post
353
- */
354
- migrateQueries({ jqlPersonalDataMigrationRequest, }) {
355
- return this.getClientInstance()
356
- .request({
357
- path: "/rest/api/3/jql/pdcleaner",
358
- method: "POST",
359
- headers: {
360
- "Content-Type": "application/json",
361
- },
362
- body: jqlPersonalDataMigrationRequest,
363
- })
364
- .then(this.getClientInstance().responseHandler({
365
- 200: {
366
- "application/json": "json",
367
- },
368
- }))
369
- .then(commonHttpClient.castResponse())
370
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("JqlService.migrateQueries.response"))
371
- .then(commonHttpClient.getBody);
372
- }
373
- /**
374
- * Parses and validates JQL queries.
375
- *
376
- * Validation is performed in context of the current user.
377
- *
378
- * This operation can be accessed anonymously.
379
- *
380
- * **[Permissions](#permissions) required:** None.
381
- *
382
- * @returns Returned if the request is successful.
383
- *
384
- * example: {
385
- * "queries": [
386
- * {
387
- * "query": "summary ~ test AND (labels in (urgent, blocker) OR
388
- * lastCommentedBy = currentUser()) AND status CHANGED AFTER -5d ORDER BY updated
389
- * DESC",
390
- * "structure": {
391
- * "orderBy": {
392
- * "fields": [
393
- * {
394
- * "direction": "desc",
395
- * "field": {
396
- * "encodedName": "updated",
397
- * "name": "updated"
398
- * }
399
- * }
400
- * ]
401
- * },
402
- * "where": {
403
- * "clauses": [
404
- * {
405
- * "field": {
406
- * "encodedName": "summary",
407
- * "name": "summary"
408
- * },
409
- * "operand": {
410
- * "encodedValue": "test",
411
- * "value": "test"
412
- * },
413
- * "operator": "~"
414
- * },
415
- * {
416
- * "clauses": [
417
- * {
418
- * "field": {
419
- * "encodedName": "labels",
420
- * "name": "labels"
421
- * },
422
- * "operand": {
423
- * "encodedOperand": "urgent, blocker)",
424
- * "values": [
425
- * {
426
- * "encodedValue": "urgent",
427
- * "value": "urgent"
428
- * },
429
- * {
430
- * "encodedValue": "blocker",
431
- * "value": "blocker"
432
- * }
433
- * ]
434
- * },
435
- * "operator": "in"
436
- * },
437
- * {
438
- * "field": {
439
- * "encodedName": "lastCommentedBy",
440
- * "name": "lastCommentedBy",
441
- * "property": [
442
- * {
443
- * "entity": "issue",
444
- * "key": "propertyKey",
445
- * "path": "path.in.property",
446
- * "type": "user"
447
- * }
448
- * ]
449
- * },
450
- * "operand": {
451
- * "arguments": [],
452
- * "encodedOperand": "currentUser()",
453
- * "function": "currentUser"
454
- * },
455
- * "operator": "="
456
- * }
457
- * ],
458
- * "operator": "or"
459
- * },
460
- * {
461
- * "field": {
462
- * "encodedName": "status",
463
- * "name": "status"
464
- * },
465
- * "operator": "changed",
466
- * "predicates": [
467
- * {
468
- * "operand": {
469
- * "arguments": [
470
- * "-1M"
471
- * ],
472
- * "encodedOperand": "startOfMonth(-1M)",
473
- * "function": "startOfMonth"
474
- * },
475
- * "operator": "after"
476
- * }
477
- * ]
478
- * }
479
- * ],
480
- * "operator": "and"
481
- * }
482
- * }
483
- * },
484
- * {
485
- * "query": "issue.property[\"spaces here\"].value in (\"Service requests\",
486
- * Incidents)",
487
- * "structure": {
488
- * "where": {
489
- * "field": {
490
- * "encodedName": "issue.property[\"spaces here\"].value",
491
- * "name": "issue.property[spaces here].value",
492
- * "property": [
493
- * {
494
- * "entity": "issue",
495
- * "key": "spaces here",
496
- * "path": "value"
497
- * }
498
- * ]
499
- * },
500
- * "operand": {
501
- * "encodedOperand": "(\"Service requests\", Incidents)",
502
- * "values": [
503
- * {
504
- * "encodedValue": "\"Service requests\"",
505
- * "value": "Service requests"
506
- * },
507
- * {
508
- * "encodedValue": "Incidents",
509
- * "value": "Incidents"
510
- * }
511
- * ]
512
- * },
513
- * "operator": "in"
514
- * }
515
- * }
516
- * },
517
- * {
518
- * "errors": [
519
- * "Error in the JQL Query: Expecting operator but got 'query'. The valid
520
- * operators are '=', '!=', '<', '>', '<=', '>=', '~', '!~', 'IN', 'NOT IN', 'IS'
521
- * and 'IS NOT'. (line 1, character 9)"
522
- * ],
523
- * "query": "invalid query"
524
- * },
525
- * {
526
- * "errors": [
527
- * "The operator '=' is not supported by the 'summary' field."
528
- * ],
529
- * "query": "summary = test"
530
- * },
531
- * {
532
- * "errors": [
533
- * "Operator 'in' does not support the non-list value '\"test\"' for field
534
- * 'summary'."
535
- * ],
536
- * "query": "summary in test"
537
- * },
538
- * {
539
- * "errors": [
540
- * "The value 'INVALID' does not exist for the field 'project'."
541
- * ],
542
- * "query": "project = INVALID"
543
- * },
544
- * {
545
- * "errors": [
546
- * "Field 'universe' does not exist or you do not have permission to view
547
- * it."
548
- * ],
549
- * "query": "universe = 42"
550
- * }
551
- * ]
552
- * }
553
- * @path {POST} /rest/api/3/jql/parse
554
- * @scopes-current read:jira-work
555
- * @scopes-beta read:field:jira, validate:jql:jira, read:jql:jira
556
- * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-jql#api-rest-api-3-jql-parse-post
557
- */
558
- parseJqlQueries({ validation, jqlQueriesToParse, }) {
559
- return this.getClientInstance()
560
- .request({
561
- path: "/rest/api/3/jql/parse",
562
- method: "POST",
563
- query: {
564
- validation,
565
- },
566
- headers: {
567
- "Content-Type": "application/json",
568
- },
569
- body: jqlQueriesToParse,
570
- })
571
- .then(this.getClientInstance().responseHandler({
572
- 200: {
573
- "application/json": "json",
574
- },
575
- }))
576
- .then(commonHttpClient.castResponse())
577
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("JqlService.parseJqlQueries.response"))
578
- .then(commonHttpClient.getBody);
579
- }
580
- /**
581
- * Sanitizes one or more JQL queries by converting readable details into IDs where
582
- * a user doesn't have permission to view the entity.
583
- *
584
- * For example, if the query contains the clause *project = 'Secret project'*, and
585
- * a user does not have browse permission for the project "Secret project", the
586
- * sanitized query replaces the clause with *project = 12345"* (where 12345 is the
587
- * ID of the project). If a user has the required permission, the clause is not
588
- * sanitized. If the account ID is null, sanitizing is performed for an anonymous
589
- * user.
590
- *
591
- * Note that sanitization doesn't make the queries GDPR-compliant, because it
592
- * doesn't remove user identifiers (username or user key). If you need to make
593
- * queries GDPR-compliant, use [Convert user identifiers to account IDs in JQL
594
- * queries](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-jql/#api-rest-api-3-jql-sanitize-post).
595
- *
596
- * Before sanitization each JQL query is parsed. The queries are returned in the
597
- * same order that they were passed.
598
- *
599
- * **[Permissions](#permissions) required:** *Administer Jira* [global
600
- * permission](https://confluence.atlassian.com/x/x4dKLg).
601
- *
602
- * @returns Returned if the request is successful.
603
- *
604
- * example: {
605
- * "queries": [
606
- * {
607
- * "initialQuery": "project = 'Sample project'",
608
- * "sanitizedQuery": "project = 12345"
609
- * },
610
- * {
611
- * "initialQuery": "project = 'Sample project'",
612
- * "sanitizedQuery": "project = 'Sample project'",
613
- * "accountId": "5b10ac8d82e05b22cc7d4ef5"
614
- * },
615
- * {
616
- * "initialQuery": "project = 'Sample project'",
617
- * "sanitizedQuery": "project = 12345",
618
- * "accountId": "cda2aa1395ac195d951b3387"
619
- * },
620
- * {
621
- * "initialQuery": "non-parsable query",
622
- * "errors": {
623
- * "errorMessages": [
624
- * "Error in the JQL Query: Expecting operator but got 'query'. The
625
- * valid operators are '=', '!=', '<', '>', '<=', '>=', '~', '!~', 'IN', 'NOT IN',
626
- * 'IS' and 'IS NOT'. (line 1, character 9)"
627
- * ],
628
- * "errors": {}
629
- * },
630
- * "accountId": "5b10ac8d82e05b22cc7d4ef5"
631
- * }
632
- * ]
633
- * }
634
- * @path {POST} /rest/api/3/jql/sanitize
635
- * @scopes-current manage:jira-configuration
636
- * @scopes-beta read:jql:jira
637
- * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-jql#api-rest-api-3-jql-sanitize-post
638
- */
639
- sanitiseJqlQueries({ jqlQueriesToSanitize, }) {
640
- return this.getClientInstance()
641
- .request({
642
- path: "/rest/api/3/jql/sanitize",
643
- method: "POST",
644
- headers: {
645
- "Content-Type": "application/json",
646
- },
647
- body: jqlQueriesToSanitize,
648
- })
649
- .then(this.getClientInstance().responseHandler({
650
- 200: {
651
- "application/json": "json",
652
- },
653
- }))
654
- .then(commonHttpClient.castResponse())
655
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("JqlService.sanitiseJqlQueries.response"))
656
- .then(commonHttpClient.getBody);
25
+ constructor() {
26
+ super(...arguments);
27
+ /**
28
+ * Returns reference data for JQL searches. This is a downloadable version of the
29
+ * documentation provided in [Advanced searching - fields
30
+ * reference](https://confluence.atlassian.com/x/gwORLQ) and [Advanced searching -
31
+ * functions reference](https://confluence.atlassian.com/x/hgORLQ), along with a
32
+ * list of JQL-reserved words. Use this information to assist with the
33
+ * programmatic creation of JQL queries or the validation of queries built in a
34
+ * custom query builder.
35
+ *
36
+ * To filter visible field details by project or collapse non-unique fields by
37
+ * field type then [Get field reference data
38
+ * (POST)](#api-rest-api-3-jql-autocompletedata-post) can be used.
39
+ *
40
+ * This operation can be accessed anonymously.
41
+ *
42
+ * **[Permissions](#permissions) required:** None.
43
+ *
44
+ * @returns Returned if the request is successful.
45
+ *
46
+ * example: {
47
+ * "jqlReservedWords": [
48
+ * "empty",
49
+ * "and",
50
+ * "or",
51
+ * "in",
52
+ * "distinct"
53
+ * ],
54
+ * "visibleFieldNames": [
55
+ * {
56
+ * "displayName": "summary",
57
+ * "operators": [
58
+ * "~",
59
+ * "!~",
60
+ * "is",
61
+ * "is not"
62
+ * ],
63
+ * "orderable": "true",
64
+ * "searchable": "true",
65
+ * "types": [
66
+ * "java.lang.String"
67
+ * ],
68
+ * "value": "summary"
69
+ * },
70
+ * {
71
+ * "auto": "true",
72
+ * "cfid": "cf[10880]",
73
+ * "displayName": "Sprint - cf[10880]",
74
+ * "operators": [
75
+ * "=",
76
+ * "!=",
77
+ * "in",
78
+ * "not in",
79
+ * "is",
80
+ * "is not"
81
+ * ],
82
+ * "orderable": "true",
83
+ * "searchable": "true",
84
+ * "types": [
85
+ * "com.atlassian.greenhopper.service.sprint.Sprint"
86
+ * ],
87
+ * "value": "Sprint"
88
+ * }
89
+ * ],
90
+ * "visibleFunctionNames": [
91
+ * {
92
+ * "displayName": "standardIssueTypes()",
93
+ * "isList": "true",
94
+ * "types": [
95
+ * "com.atlassian.jira.issue.issuetype.IssueType"
96
+ * ],
97
+ * "value": "standardIssueTypes()"
98
+ * },
99
+ * {
100
+ * "displayName": "issuesWithText()",
101
+ * "supportsListAndSingleValueOperators": "true",
102
+ * "types": [
103
+ * "com.atlassian.jira.issue.issuetype.IssueType"
104
+ * ],
105
+ * "value": "issuesWithText()"
106
+ * }
107
+ * ]
108
+ * }
109
+ * @path {GET} /rest/api/3/jql/autocompletedata
110
+ * @scopes-current read:jira-work
111
+ * @scopes-beta read:field:jira
112
+ * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-jql#api-rest-api-3-jql-autocompletedata-get
113
+ */
114
+ this.getAutoComplete = () => {
115
+ return this.getClientInstance()
116
+ .request({
117
+ path: "/rest/api/3/jql/autocompletedata",
118
+ method: "GET",
119
+ })
120
+ .then(this.getClientInstance().responseHandler({
121
+ 200: {
122
+ "application/json": "json",
123
+ },
124
+ }))
125
+ .then(commonHttpClient.castResponse())
126
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("JqlService.getAutoComplete.response"))
127
+ .then(commonHttpClient.getBody);
128
+ };
129
+ /**
130
+ * Returns reference data for JQL searches. This is a downloadable version of the
131
+ * documentation provided in [Advanced searching - fields
132
+ * reference](https://confluence.atlassian.com/x/gwORLQ) and [Advanced searching -
133
+ * functions reference](https://confluence.atlassian.com/x/hgORLQ), along with a
134
+ * list of JQL-reserved words. Use this information to assist with the
135
+ * programmatic creation of JQL queries or the validation of queries built in a
136
+ * custom query builder.
137
+ *
138
+ * This operation can filter the custom fields returned by project. Invalid
139
+ * project IDs in `projectIds` are ignored. System fields are always returned.
140
+ *
141
+ * It can also return the collapsed field for custom fields. Collapsed fields
142
+ * enable searches to be performed across all fields with the same name and of the
143
+ * same field type. For example, the collapsed field `Component -
144
+ * Component[Dropdown]` enables dropdown fields `Component - cf[10061]` and
145
+ * `Component - cf[10062]` to be searched simultaneously.
146
+ *
147
+ * **[Permissions](#permissions) required:** None.
148
+ *
149
+ * @returns Returned if the request is successful.
150
+ *
151
+ * example: {
152
+ * "jqlReservedWords": [
153
+ * "empty",
154
+ * "and",
155
+ * "or",
156
+ * "in",
157
+ * "distinct"
158
+ * ],
159
+ * "visibleFieldNames": [
160
+ * {
161
+ * "displayName": "summary",
162
+ * "operators": [
163
+ * "~",
164
+ * "!~",
165
+ * "is",
166
+ * "is not"
167
+ * ],
168
+ * "orderable": "true",
169
+ * "searchable": "true",
170
+ * "types": [
171
+ * "java.lang.String"
172
+ * ],
173
+ * "value": "summary"
174
+ * },
175
+ * {
176
+ * "auto": "true",
177
+ * "cfid": "cf[10061]",
178
+ * "displayName": "Component - cf[10061]",
179
+ * "operators": [
180
+ * "=",
181
+ * "!=",
182
+ * "in",
183
+ * "not in",
184
+ * "is",
185
+ * "is not"
186
+ * ],
187
+ * "orderable": "true",
188
+ * "types": [
189
+ * "com.atlassian.jira.issue.customfields.option.Option"
190
+ * ],
191
+ * "value": "cf[10061]"
192
+ * },
193
+ * {
194
+ * "auto": "true",
195
+ * "cfid": "cf[10062]",
196
+ * "displayName": "Component - cf[10062]",
197
+ * "operators": [
198
+ * "=",
199
+ * "!=",
200
+ * "in",
201
+ * "not in",
202
+ * "is",
203
+ * "is not"
204
+ * ],
205
+ * "orderable": "true",
206
+ * "types": [
207
+ * "com.atlassian.jira.issue.customfields.option.Option"
208
+ * ],
209
+ * "value": "cf[10062]"
210
+ * },
211
+ * {
212
+ * "auto": "true",
213
+ * "displayName": "Component - Component[Dropdown]",
214
+ * "operators": [
215
+ * "=",
216
+ * "!=",
217
+ * "in",
218
+ * "not in",
219
+ * "is",
220
+ * "is not"
221
+ * ],
222
+ * "searchable": "true",
223
+ * "types": [
224
+ * "com.atlassian.jira.issue.customfields.option.Option"
225
+ * ],
226
+ * "value": "\"Component[Dropdown]\""
227
+ * }
228
+ * ],
229
+ * "visibleFunctionNames": [
230
+ * {
231
+ * "displayName": "standardIssueTypes()",
232
+ * "isList": "true",
233
+ * "types": [
234
+ * "com.atlassian.jira.issue.issuetype.IssueType"
235
+ * ],
236
+ * "value": "standardIssueTypes()"
237
+ * }
238
+ * ]
239
+ * }
240
+ * @path {POST} /rest/api/3/jql/autocompletedata
241
+ * @scopes-current read:jira-work
242
+ * @scopes-beta read:field:jira
243
+ * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-jql#api-rest-api-3-jql-autocompletedata-post
244
+ */
245
+ this.getAutoCompletePost = ({ searchAutoCompleteFilter, }) => {
246
+ return this.getClientInstance()
247
+ .request({
248
+ path: "/rest/api/3/jql/autocompletedata",
249
+ method: "POST",
250
+ headers: {
251
+ "Content-Type": "application/json",
252
+ },
253
+ body: searchAutoCompleteFilter,
254
+ })
255
+ .then(this.getClientInstance().responseHandler({
256
+ 200: {
257
+ "application/json": "json",
258
+ },
259
+ }))
260
+ .then(commonHttpClient.castResponse())
261
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("JqlService.getAutoCompletePost.response"))
262
+ .then(commonHttpClient.getBody);
263
+ };
264
+ /**
265
+ * Returns the JQL search auto complete suggestions for a field.
266
+ *
267
+ * Suggestions can be obtained by providing:
268
+ *
269
+ * * `fieldName` to get a list of all values for the field.
270
+ * * `fieldName` and `fieldValue` to get a list of values containing the text in
271
+ * `fieldValue`.
272
+ * * `fieldName` and `predicateName` to get a list of all predicate values for
273
+ * the field.
274
+ * * `fieldName`, `predicateName`, and `predicateValue` to get a list of
275
+ * predicate values containing the text in `predicateValue`.
276
+ *
277
+ * This operation can be accessed anonymously.
278
+ *
279
+ * **[Permissions](#permissions) required:** None.
280
+ *
281
+ * @returns Returned if the request is successful.
282
+ *
283
+ * example: {
284
+ * "results": [
285
+ * {
286
+ * "displayName": "<b>Ac</b>tiveObjects (AO)",
287
+ * "value": "ActiveObjects"
288
+ * },
289
+ * {
290
+ * "displayName": "Atlassian Connect (<b>AC</b>)",
291
+ * "value": "Atlassian Connect"
292
+ * },
293
+ * {
294
+ * "displayName": "Atlassian Connect in Jira (<b>AC</b>JIRA)",
295
+ * "value": "Atlassian Connect in Jira"
296
+ * }
297
+ * ]
298
+ * }
299
+ * @path {GET} /rest/api/3/jql/autocompletedata/suggestions
300
+ * @scopes-current read:jira-work
301
+ * @scopes-beta read:issue-details:jira
302
+ * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-jql#api-rest-api-3-jql-autocompletedata-suggestions-get
303
+ */
304
+ this.getFieldAutoCompleteForQueryString = ({ fieldName, fieldValue, predicateName, predicateValue, } = {}) => {
305
+ return this.getClientInstance()
306
+ .request({
307
+ path: "/rest/api/3/jql/autocompletedata/suggestions",
308
+ method: "GET",
309
+ query: {
310
+ fieldName,
311
+ fieldValue,
312
+ predicateName,
313
+ predicateValue,
314
+ },
315
+ })
316
+ .then(this.getClientInstance().responseHandler({
317
+ 200: {
318
+ "application/json": "json",
319
+ },
320
+ }))
321
+ .then(commonHttpClient.castResponse())
322
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("JqlService.getFieldAutoCompleteForQueryString.response"))
323
+ .then(commonHttpClient.getBody);
324
+ };
325
+ /**
326
+ * Converts one or more JQL queries with user identifiers (username or user key)
327
+ * to equivalent JQL queries with account IDs.
328
+ *
329
+ * You may wish to use this operation if your system stores JQL queries and you
330
+ * want to make them GDPR-compliant. For more information about GDPR-related
331
+ * changes, see the [migration
332
+ * guide](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/).
333
+ *
334
+ * **[Permissions](#permissions) required:** Permission to access Jira.
335
+ *
336
+ * @returns Returned if the request is successful. Note that the JQL queries are returned
337
+ * in the same order that they were passed.
338
+ *
339
+ * example: {
340
+ * "queriesWithUnknownUsers": [
341
+ * {
342
+ * "convertedQuery": "assignee = unknown",
343
+ * "originalQuery": "assignee = mia"
344
+ * }
345
+ * ],
346
+ * "queryStrings": [
347
+ * "issuetype = Bug AND assignee in (abcde-12345) AND reporter in
348
+ * (abc551-c4e99) order by lastViewed DESC"
349
+ * ]
350
+ * }
351
+ * @path {POST} /rest/api/3/jql/pdcleaner
352
+ * @scopes-current read:jira-user
353
+ * @scopes-beta read:user:jira, read:jql:jira, validate:jql:jira
354
+ * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-jql#api-rest-api-3-jql-pdcleaner-post
355
+ */
356
+ this.migrateQueries = ({ jqlPersonalDataMigrationRequest, }) => {
357
+ return this.getClientInstance()
358
+ .request({
359
+ path: "/rest/api/3/jql/pdcleaner",
360
+ method: "POST",
361
+ headers: {
362
+ "Content-Type": "application/json",
363
+ },
364
+ body: jqlPersonalDataMigrationRequest,
365
+ })
366
+ .then(this.getClientInstance().responseHandler({
367
+ 200: {
368
+ "application/json": "json",
369
+ },
370
+ }))
371
+ .then(commonHttpClient.castResponse())
372
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("JqlService.migrateQueries.response"))
373
+ .then(commonHttpClient.getBody);
374
+ };
375
+ /**
376
+ * Parses and validates JQL queries.
377
+ *
378
+ * Validation is performed in context of the current user.
379
+ *
380
+ * This operation can be accessed anonymously.
381
+ *
382
+ * **[Permissions](#permissions) required:** None.
383
+ *
384
+ * @returns Returned if the request is successful.
385
+ *
386
+ * example: {
387
+ * "queries": [
388
+ * {
389
+ * "query": "summary ~ test AND (labels in (urgent, blocker) OR
390
+ * lastCommentedBy = currentUser()) AND status CHANGED AFTER -5d ORDER BY updated
391
+ * DESC",
392
+ * "structure": {
393
+ * "orderBy": {
394
+ * "fields": [
395
+ * {
396
+ * "direction": "desc",
397
+ * "field": {
398
+ * "encodedName": "updated",
399
+ * "name": "updated"
400
+ * }
401
+ * }
402
+ * ]
403
+ * },
404
+ * "where": {
405
+ * "clauses": [
406
+ * {
407
+ * "field": {
408
+ * "encodedName": "summary",
409
+ * "name": "summary"
410
+ * },
411
+ * "operand": {
412
+ * "encodedValue": "test",
413
+ * "value": "test"
414
+ * },
415
+ * "operator": "~"
416
+ * },
417
+ * {
418
+ * "clauses": [
419
+ * {
420
+ * "field": {
421
+ * "encodedName": "labels",
422
+ * "name": "labels"
423
+ * },
424
+ * "operand": {
425
+ * "encodedOperand": "urgent, blocker)",
426
+ * "values": [
427
+ * {
428
+ * "encodedValue": "urgent",
429
+ * "value": "urgent"
430
+ * },
431
+ * {
432
+ * "encodedValue": "blocker",
433
+ * "value": "blocker"
434
+ * }
435
+ * ]
436
+ * },
437
+ * "operator": "in"
438
+ * },
439
+ * {
440
+ * "field": {
441
+ * "encodedName": "lastCommentedBy",
442
+ * "name": "lastCommentedBy",
443
+ * "property": [
444
+ * {
445
+ * "entity": "issue",
446
+ * "key": "propertyKey",
447
+ * "path": "path.in.property",
448
+ * "type": "user"
449
+ * }
450
+ * ]
451
+ * },
452
+ * "operand": {
453
+ * "arguments": [],
454
+ * "encodedOperand": "currentUser()",
455
+ * "function": "currentUser"
456
+ * },
457
+ * "operator": "="
458
+ * }
459
+ * ],
460
+ * "operator": "or"
461
+ * },
462
+ * {
463
+ * "field": {
464
+ * "encodedName": "status",
465
+ * "name": "status"
466
+ * },
467
+ * "operator": "changed",
468
+ * "predicates": [
469
+ * {
470
+ * "operand": {
471
+ * "arguments": [
472
+ * "-1M"
473
+ * ],
474
+ * "encodedOperand": "startOfMonth(-1M)",
475
+ * "function": "startOfMonth"
476
+ * },
477
+ * "operator": "after"
478
+ * }
479
+ * ]
480
+ * }
481
+ * ],
482
+ * "operator": "and"
483
+ * }
484
+ * }
485
+ * },
486
+ * {
487
+ * "query": "issue.property[\"spaces here\"].value in (\"Service requests\",
488
+ * Incidents)",
489
+ * "structure": {
490
+ * "where": {
491
+ * "field": {
492
+ * "encodedName": "issue.property[\"spaces here\"].value",
493
+ * "name": "issue.property[spaces here].value",
494
+ * "property": [
495
+ * {
496
+ * "entity": "issue",
497
+ * "key": "spaces here",
498
+ * "path": "value"
499
+ * }
500
+ * ]
501
+ * },
502
+ * "operand": {
503
+ * "encodedOperand": "(\"Service requests\", Incidents)",
504
+ * "values": [
505
+ * {
506
+ * "encodedValue": "\"Service requests\"",
507
+ * "value": "Service requests"
508
+ * },
509
+ * {
510
+ * "encodedValue": "Incidents",
511
+ * "value": "Incidents"
512
+ * }
513
+ * ]
514
+ * },
515
+ * "operator": "in"
516
+ * }
517
+ * }
518
+ * },
519
+ * {
520
+ * "errors": [
521
+ * "Error in the JQL Query: Expecting operator but got 'query'. The valid
522
+ * operators are '=', '!=', '<', '>', '<=', '>=', '~', '!~', 'IN', 'NOT IN', 'IS'
523
+ * and 'IS NOT'. (line 1, character 9)"
524
+ * ],
525
+ * "query": "invalid query"
526
+ * },
527
+ * {
528
+ * "errors": [
529
+ * "The operator '=' is not supported by the 'summary' field."
530
+ * ],
531
+ * "query": "summary = test"
532
+ * },
533
+ * {
534
+ * "errors": [
535
+ * "Operator 'in' does not support the non-list value '\"test\"' for field
536
+ * 'summary'."
537
+ * ],
538
+ * "query": "summary in test"
539
+ * },
540
+ * {
541
+ * "errors": [
542
+ * "The value 'INVALID' does not exist for the field 'project'."
543
+ * ],
544
+ * "query": "project = INVALID"
545
+ * },
546
+ * {
547
+ * "errors": [
548
+ * "Field 'universe' does not exist or you do not have permission to view
549
+ * it."
550
+ * ],
551
+ * "query": "universe = 42"
552
+ * }
553
+ * ]
554
+ * }
555
+ * @path {POST} /rest/api/3/jql/parse
556
+ * @scopes-current read:jira-work
557
+ * @scopes-beta read:field:jira, validate:jql:jira, read:jql:jira
558
+ * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-jql#api-rest-api-3-jql-parse-post
559
+ */
560
+ this.parseJqlQueries = ({ validation, jqlQueriesToParse, }) => {
561
+ return this.getClientInstance()
562
+ .request({
563
+ path: "/rest/api/3/jql/parse",
564
+ method: "POST",
565
+ query: {
566
+ validation,
567
+ },
568
+ headers: {
569
+ "Content-Type": "application/json",
570
+ },
571
+ body: jqlQueriesToParse,
572
+ })
573
+ .then(this.getClientInstance().responseHandler({
574
+ 200: {
575
+ "application/json": "json",
576
+ },
577
+ }))
578
+ .then(commonHttpClient.castResponse())
579
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("JqlService.parseJqlQueries.response"))
580
+ .then(commonHttpClient.getBody);
581
+ };
582
+ /**
583
+ * Sanitizes one or more JQL queries by converting readable details into IDs where
584
+ * a user doesn't have permission to view the entity.
585
+ *
586
+ * For example, if the query contains the clause *project = 'Secret project'*, and
587
+ * a user does not have browse permission for the project "Secret project", the
588
+ * sanitized query replaces the clause with *project = 12345"* (where 12345 is the
589
+ * ID of the project). If a user has the required permission, the clause is not
590
+ * sanitized. If the account ID is null, sanitizing is performed for an anonymous
591
+ * user.
592
+ *
593
+ * Note that sanitization doesn't make the queries GDPR-compliant, because it
594
+ * doesn't remove user identifiers (username or user key). If you need to make
595
+ * queries GDPR-compliant, use [Convert user identifiers to account IDs in JQL
596
+ * queries](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-jql/#api-rest-api-3-jql-sanitize-post).
597
+ *
598
+ * Before sanitization each JQL query is parsed. The queries are returned in the
599
+ * same order that they were passed.
600
+ *
601
+ * **[Permissions](#permissions) required:** *Administer Jira* [global
602
+ * permission](https://confluence.atlassian.com/x/x4dKLg).
603
+ *
604
+ * @returns Returned if the request is successful.
605
+ *
606
+ * example: {
607
+ * "queries": [
608
+ * {
609
+ * "initialQuery": "project = 'Sample project'",
610
+ * "sanitizedQuery": "project = 12345"
611
+ * },
612
+ * {
613
+ * "initialQuery": "project = 'Sample project'",
614
+ * "sanitizedQuery": "project = 'Sample project'",
615
+ * "accountId": "5b10ac8d82e05b22cc7d4ef5"
616
+ * },
617
+ * {
618
+ * "initialQuery": "project = 'Sample project'",
619
+ * "sanitizedQuery": "project = 12345",
620
+ * "accountId": "cda2aa1395ac195d951b3387"
621
+ * },
622
+ * {
623
+ * "initialQuery": "non-parsable query",
624
+ * "errors": {
625
+ * "errorMessages": [
626
+ * "Error in the JQL Query: Expecting operator but got 'query'. The
627
+ * valid operators are '=', '!=', '<', '>', '<=', '>=', '~', '!~', 'IN', 'NOT IN',
628
+ * 'IS' and 'IS NOT'. (line 1, character 9)"
629
+ * ],
630
+ * "errors": {}
631
+ * },
632
+ * "accountId": "5b10ac8d82e05b22cc7d4ef5"
633
+ * }
634
+ * ]
635
+ * }
636
+ * @path {POST} /rest/api/3/jql/sanitize
637
+ * @scopes-current manage:jira-configuration
638
+ * @scopes-beta read:jql:jira
639
+ * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-jql#api-rest-api-3-jql-sanitize-post
640
+ */
641
+ this.sanitiseJqlQueries = ({ jqlQueriesToSanitize, }) => {
642
+ return this.getClientInstance()
643
+ .request({
644
+ path: "/rest/api/3/jql/sanitize",
645
+ method: "POST",
646
+ headers: {
647
+ "Content-Type": "application/json",
648
+ },
649
+ body: jqlQueriesToSanitize,
650
+ })
651
+ .then(this.getClientInstance().responseHandler({
652
+ 200: {
653
+ "application/json": "json",
654
+ },
655
+ }))
656
+ .then(commonHttpClient.castResponse())
657
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("JqlService.sanitiseJqlQueries.response"))
658
+ .then(commonHttpClient.getBody);
659
+ };
657
660
  }
658
661
  static initialize() {
659
662
  validationSchemaStorage_1.validationSchemaStorage.registerExtensible("JqlService.getAutoComplete.response", zod_1.z