@resolution/jira-api-client 0.7.8 → 0.10.0

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 (252) hide show
  1. package/README.md +5 -5
  2. package/lib/index.d.ts +2 -0
  3. package/lib/index.js +2 -0
  4. package/lib/index.js.map +1 -1
  5. package/lib/openapi/core/CommonHttpClient.d.ts +29 -0
  6. package/lib/openapi/core/CommonHttpClient.js +29 -1
  7. package/lib/openapi/core/CommonHttpClient.js.map +1 -1
  8. package/lib/openapi/platform/BaseJiraPlatformApiClient.d.ts +27 -7
  9. package/lib/openapi/platform/BaseJiraPlatformApiClient.js +45 -1
  10. package/lib/openapi/platform/BaseJiraPlatformApiClient.js.map +1 -1
  11. package/lib/openapi/platform/models/appMigration.d.ts +12 -0
  12. package/lib/openapi/platform/models/appMigration.js.map +1 -1
  13. package/lib/openapi/platform/models/appProperties.d.ts +4 -2
  14. package/lib/openapi/platform/models/appProperties.js.map +1 -1
  15. package/lib/openapi/platform/models/common.d.ts +7 -43
  16. package/lib/openapi/platform/models/common.js +1 -21
  17. package/lib/openapi/platform/models/common.js.map +1 -1
  18. package/lib/openapi/platform/models/dashboards.d.ts +0 -30
  19. package/lib/openapi/platform/models/dashboards.js +0 -18
  20. package/lib/openapi/platform/models/dashboards.js.map +1 -1
  21. package/lib/openapi/platform/models/dynamicModules.d.ts +55 -51
  22. package/lib/openapi/platform/models/dynamicModules.js.map +1 -1
  23. package/lib/openapi/platform/models/issueBulkOperations.d.ts +102 -0
  24. package/lib/openapi/platform/models/issueBulkOperations.js +56 -0
  25. package/lib/openapi/platform/models/issueBulkOperations.js.map +1 -1
  26. package/lib/openapi/platform/models/issueCustomFieldOptions.d.ts +1 -4
  27. package/lib/openapi/platform/models/issueCustomFieldOptions.js.map +1 -1
  28. package/lib/openapi/platform/models/issueSecurityLevel.d.ts +1 -1
  29. package/lib/openapi/platform/models/issueSecuritySchemes.d.ts +1 -1
  30. package/lib/openapi/platform/models/issues.d.ts +124 -10
  31. package/lib/openapi/platform/models/issues.js +78 -0
  32. package/lib/openapi/platform/models/issues.js.map +1 -1
  33. package/lib/openapi/platform/models/jiraExpressions.d.ts +8 -1
  34. package/lib/openapi/platform/models/jiraExpressions.js.map +1 -1
  35. package/lib/openapi/platform/models/jql.d.ts +8 -0
  36. package/lib/openapi/platform/models/jql.js.map +1 -1
  37. package/lib/openapi/platform/models/jqlFunctionsApps.d.ts +43 -1
  38. package/lib/openapi/platform/models/jqlFunctionsApps.js +52 -2
  39. package/lib/openapi/platform/models/jqlFunctionsApps.js.map +1 -1
  40. package/lib/openapi/platform/models/permissionSchemes.d.ts +3 -4
  41. package/lib/openapi/platform/models/permissionSchemes.js.map +1 -1
  42. package/lib/openapi/platform/models/plans.d.ts +268 -0
  43. package/lib/openapi/platform/models/plans.js +425 -0
  44. package/lib/openapi/platform/models/plans.js.map +1 -0
  45. package/lib/openapi/platform/models/projects.d.ts +1 -1
  46. package/lib/openapi/platform/models/projects.js +1 -0
  47. package/lib/openapi/platform/models/projects.js.map +1 -1
  48. package/lib/openapi/platform/models/serviceRegistry.d.ts +2 -0
  49. package/lib/openapi/platform/models/serviceRegistry.js.map +1 -1
  50. package/lib/openapi/platform/models/teamsInPlan.d.ts +79 -0
  51. package/lib/openapi/platform/models/teamsInPlan.js +86 -0
  52. package/lib/openapi/platform/models/teamsInPlan.js.map +1 -0
  53. package/lib/openapi/platform/models/workflows.d.ts +4 -0
  54. package/lib/openapi/platform/models/workflows.js +2 -0
  55. package/lib/openapi/platform/models/workflows.js.map +1 -1
  56. package/lib/openapi/platform/services/AnnouncementBannerService.d.ts +4 -4
  57. package/lib/openapi/platform/services/AppMigrationService.d.ts +87 -87
  58. package/lib/openapi/platform/services/AppMigrationService.js +49 -49
  59. package/lib/openapi/platform/services/AppPropertiesService.d.ts +17 -17
  60. package/lib/openapi/platform/services/AppPropertiesService.js +17 -17
  61. package/lib/openapi/platform/services/ApplicationRolesService.d.ts +2 -0
  62. package/lib/openapi/platform/services/ApplicationRolesService.js +2 -0
  63. package/lib/openapi/platform/services/ApplicationRolesService.js.map +1 -1
  64. package/lib/openapi/platform/services/DashboardsService.d.ts +64 -64
  65. package/lib/openapi/platform/services/FilterSharingService.d.ts +8 -4
  66. package/lib/openapi/platform/services/FilterSharingService.js +4 -0
  67. package/lib/openapi/platform/services/FilterSharingService.js.map +1 -1
  68. package/lib/openapi/platform/services/FiltersService.d.ts +21 -8
  69. package/lib/openapi/platform/services/FiltersService.js +8 -1
  70. package/lib/openapi/platform/services/FiltersService.js.map +1 -1
  71. package/lib/openapi/platform/services/GroupsService.d.ts +2 -2
  72. package/lib/openapi/platform/services/IssueAttachmentsService.d.ts +2 -0
  73. package/lib/openapi/platform/services/IssueAttachmentsService.js +2 -0
  74. package/lib/openapi/platform/services/IssueAttachmentsService.js.map +1 -1
  75. package/lib/openapi/platform/services/IssueBulkOperationsService.d.ts +293 -78
  76. package/lib/openapi/platform/services/IssueBulkOperationsService.js +244 -2
  77. package/lib/openapi/platform/services/IssueBulkOperationsService.js.map +1 -1
  78. package/lib/openapi/platform/services/IssueCommentsService.d.ts +42 -42
  79. package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.d.ts +29 -29
  80. package/lib/openapi/platform/services/IssueCustomFieldContextsService.d.ts +59 -59
  81. package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.d.ts +59 -59
  82. package/lib/openapi/platform/services/IssueCustomFieldOptionsService.d.ts +37 -37
  83. package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.d.ts +25 -25
  84. package/lib/openapi/platform/services/IssueFieldConfigurationsService.d.ts +47 -47
  85. package/lib/openapi/platform/services/IssueFieldsService.d.ts +12 -11
  86. package/lib/openapi/platform/services/IssueFieldsService.js +3 -1
  87. package/lib/openapi/platform/services/IssueFieldsService.js.map +1 -1
  88. package/lib/openapi/platform/services/IssueLinkTypesService.d.ts +6 -6
  89. package/lib/openapi/platform/services/IssueLinksService.d.ts +28 -28
  90. package/lib/openapi/platform/services/IssueNavigatorSettingsService.d.ts +2 -0
  91. package/lib/openapi/platform/services/IssueNavigatorSettingsService.js +2 -0
  92. package/lib/openapi/platform/services/IssueNavigatorSettingsService.js.map +1 -1
  93. package/lib/openapi/platform/services/IssueNotificationSchemesService.d.ts +26 -26
  94. package/lib/openapi/platform/services/IssuePrioritiesService.d.ts +16 -14
  95. package/lib/openapi/platform/services/IssuePrioritiesService.js +2 -0
  96. package/lib/openapi/platform/services/IssuePrioritiesService.js.map +1 -1
  97. package/lib/openapi/platform/services/IssuePropertiesService.d.ts +38 -38
  98. package/lib/openapi/platform/services/IssueRemoteLinksService.d.ts +44 -42
  99. package/lib/openapi/platform/services/IssueRemoteLinksService.js +2 -0
  100. package/lib/openapi/platform/services/IssueRemoteLinksService.js.map +1 -1
  101. package/lib/openapi/platform/services/IssueResolutionsService.d.ts +12 -10
  102. package/lib/openapi/platform/services/IssueResolutionsService.js +2 -0
  103. package/lib/openapi/platform/services/IssueResolutionsService.js.map +1 -1
  104. package/lib/openapi/platform/services/IssueSearchService.d.ts +28 -28
  105. package/lib/openapi/platform/services/IssueSecuritySchemesService.d.ts +58 -58
  106. package/lib/openapi/platform/services/IssueTypePropertiesService.d.ts +2 -2
  107. package/lib/openapi/platform/services/IssueTypeSchemesService.d.ts +24 -24
  108. package/lib/openapi/platform/services/IssueTypeScreenSchemesService.d.ts +39 -39
  109. package/lib/openapi/platform/services/IssueTypesService.d.ts +12 -6
  110. package/lib/openapi/platform/services/IssueTypesService.js +6 -0
  111. package/lib/openapi/platform/services/IssueTypesService.js.map +1 -1
  112. package/lib/openapi/platform/services/IssueWatchersService.d.ts +5 -5
  113. package/lib/openapi/platform/services/IssueWorklogsService.d.ts +59 -57
  114. package/lib/openapi/platform/services/IssueWorklogsService.js +2 -0
  115. package/lib/openapi/platform/services/IssueWorklogsService.js.map +1 -1
  116. package/lib/openapi/platform/services/IssuesService.d.ts +692 -590
  117. package/lib/openapi/platform/services/IssuesService.js +121 -0
  118. package/lib/openapi/platform/services/IssuesService.js.map +1 -1
  119. package/lib/openapi/platform/services/JiraExpressionsService.d.ts +95 -95
  120. package/lib/openapi/platform/services/JiraSettingsService.d.ts +6 -2
  121. package/lib/openapi/platform/services/JiraSettingsService.js +4 -0
  122. package/lib/openapi/platform/services/JiraSettingsService.js.map +1 -1
  123. package/lib/openapi/platform/services/JqlFunctionsAppsService.d.ts +125 -28
  124. package/lib/openapi/platform/services/JqlFunctionsAppsService.js +137 -20
  125. package/lib/openapi/platform/services/JqlFunctionsAppsService.js.map +1 -1
  126. package/lib/openapi/platform/services/JqlService.d.ts +36 -36
  127. package/lib/openapi/platform/services/MyselfService.d.ts +1 -1
  128. package/lib/openapi/platform/services/PermissionSchemesService.d.ts +32 -35
  129. package/lib/openapi/platform/services/PermissionSchemesService.js +2 -5
  130. package/lib/openapi/platform/services/PermissionSchemesService.js.map +1 -1
  131. package/lib/openapi/platform/services/PermissionsService.d.ts +21 -21
  132. package/lib/openapi/platform/services/PlansService.d.ts +389 -0
  133. package/lib/openapi/platform/services/PlansService.js +459 -0
  134. package/lib/openapi/platform/services/PlansService.js.map +1 -0
  135. package/lib/openapi/platform/services/PrioritySchemesService.d.ts +83 -83
  136. package/lib/openapi/platform/services/ProjectAvatarsService.d.ts +1 -1
  137. package/lib/openapi/platform/services/ProjectCategoriesService.d.ts +6 -4
  138. package/lib/openapi/platform/services/ProjectCategoriesService.js +2 -0
  139. package/lib/openapi/platform/services/ProjectCategoriesService.js.map +1 -1
  140. package/lib/openapi/platform/services/ProjectClassificationLevelsService.d.ts +1 -1
  141. package/lib/openapi/platform/services/ProjectComponentsService.d.ts +13 -11
  142. package/lib/openapi/platform/services/ProjectComponentsService.js +2 -0
  143. package/lib/openapi/platform/services/ProjectComponentsService.js.map +1 -1
  144. package/lib/openapi/platform/services/ProjectEmailService.d.ts +1 -1
  145. package/lib/openapi/platform/services/ProjectFeaturesService.d.ts +1 -1
  146. package/lib/openapi/platform/services/ProjectPermissionSchemesService.d.ts +1 -1
  147. package/lib/openapi/platform/services/ProjectPropertiesService.d.ts +2 -2
  148. package/lib/openapi/platform/services/ProjectRoleActorsService.d.ts +14 -14
  149. package/lib/openapi/platform/services/ProjectRolesService.d.ts +10 -6
  150. package/lib/openapi/platform/services/ProjectRolesService.js +4 -0
  151. package/lib/openapi/platform/services/ProjectRolesService.js.map +1 -1
  152. package/lib/openapi/platform/services/ProjectTypesService.d.ts +4 -0
  153. package/lib/openapi/platform/services/ProjectTypesService.js +4 -0
  154. package/lib/openapi/platform/services/ProjectTypesService.js.map +1 -1
  155. package/lib/openapi/platform/services/ProjectVersionsService.d.ts +29 -25
  156. package/lib/openapi/platform/services/ProjectVersionsService.js +5 -1
  157. package/lib/openapi/platform/services/ProjectVersionsService.js.map +1 -1
  158. package/lib/openapi/platform/services/ProjectsService.d.ts +30 -24
  159. package/lib/openapi/platform/services/ProjectsService.js +6 -0
  160. package/lib/openapi/platform/services/ProjectsService.js.map +1 -1
  161. package/lib/openapi/platform/services/ScreenSchemesService.d.ts +12 -12
  162. package/lib/openapi/platform/services/ScreenTabFieldsService.d.ts +1 -1
  163. package/lib/openapi/platform/services/ScreenTabsService.d.ts +1 -1
  164. package/lib/openapi/platform/services/ScreensService.d.ts +4 -4
  165. package/lib/openapi/platform/services/ServiceRegistryService.d.ts +2 -0
  166. package/lib/openapi/platform/services/ServiceRegistryService.js.map +1 -1
  167. package/lib/openapi/platform/services/StatusService.d.ts +24 -20
  168. package/lib/openapi/platform/services/StatusService.js +4 -0
  169. package/lib/openapi/platform/services/StatusService.js.map +1 -1
  170. package/lib/openapi/platform/services/TeamsInPlanService.d.ts +294 -0
  171. package/lib/openapi/platform/services/TeamsInPlanService.js +452 -0
  172. package/lib/openapi/platform/services/TeamsInPlanService.js.map +1 -0
  173. package/lib/openapi/platform/services/TimeTrackingService.d.ts +7 -5
  174. package/lib/openapi/platform/services/TimeTrackingService.js +2 -0
  175. package/lib/openapi/platform/services/TimeTrackingService.js.map +1 -1
  176. package/lib/openapi/platform/services/UiModificationsAppsService.d.ts +44 -44
  177. package/lib/openapi/platform/services/UserSearchService.d.ts +19 -8
  178. package/lib/openapi/platform/services/UserSearchService.js +15 -5
  179. package/lib/openapi/platform/services/UserSearchService.js.map +1 -1
  180. package/lib/openapi/platform/services/UsersService.d.ts +7 -1
  181. package/lib/openapi/platform/services/UsersService.js +6 -0
  182. package/lib/openapi/platform/services/UsersService.js.map +1 -1
  183. package/lib/openapi/platform/services/WebhooksService.d.ts +39 -39
  184. package/lib/openapi/platform/services/WorkflowSchemeDraftsService.d.ts +39 -39
  185. package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.d.ts +2 -2
  186. package/lib/openapi/platform/services/WorkflowSchemesService.d.ts +102 -100
  187. package/lib/openapi/platform/services/WorkflowSchemesService.js +2 -0
  188. package/lib/openapi/platform/services/WorkflowSchemesService.js.map +1 -1
  189. package/lib/openapi/platform/services/WorkflowStatusCategoriesService.d.ts +2 -0
  190. package/lib/openapi/platform/services/WorkflowStatusCategoriesService.js +2 -0
  191. package/lib/openapi/platform/services/WorkflowStatusCategoriesService.js.map +1 -1
  192. package/lib/openapi/platform/services/WorkflowStatusesService.d.ts +2 -0
  193. package/lib/openapi/platform/services/WorkflowStatusesService.js +2 -0
  194. package/lib/openapi/platform/services/WorkflowStatusesService.js.map +1 -1
  195. package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.d.ts +4 -2
  196. package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.js +2 -0
  197. package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.js.map +1 -1
  198. package/lib/openapi/platform/services/WorkflowTransitionRulesService.d.ts +48 -48
  199. package/lib/openapi/platform/services/WorkflowsService.d.ts +591 -589
  200. package/lib/openapi/platform/services/WorkflowsService.js +2 -0
  201. package/lib/openapi/platform/services/WorkflowsService.js.map +1 -1
  202. package/lib/openapi/serviceManagement/BaseJiraServiceManagementApiClient.d.ts +1 -1
  203. package/lib/openapi/serviceManagement/BaseJiraServiceManagementApiClient.js +3 -1
  204. package/lib/openapi/serviceManagement/BaseJiraServiceManagementApiClient.js.map +1 -1
  205. package/lib/openapi/serviceManagement/models/organization.d.ts +5 -0
  206. package/lib/openapi/serviceManagement/models/organization.js +1 -0
  207. package/lib/openapi/serviceManagement/models/organization.js.map +1 -1
  208. package/lib/openapi/serviceManagement/services/CustomerService.d.ts +2 -2
  209. package/lib/openapi/serviceManagement/services/KnowledgebaseService.d.ts +11 -7
  210. package/lib/openapi/serviceManagement/services/KnowledgebaseService.js +3 -1
  211. package/lib/openapi/serviceManagement/services/KnowledgebaseService.js.map +1 -1
  212. package/lib/openapi/serviceManagement/services/OrganizationService.d.ts +39 -33
  213. package/lib/openapi/serviceManagement/services/OrganizationService.js +24 -18
  214. package/lib/openapi/serviceManagement/services/OrganizationService.js.map +1 -1
  215. package/lib/openapi/serviceManagement/services/RequestService.d.ts +68 -68
  216. package/lib/openapi/serviceManagement/services/RequestService.js +3 -3
  217. package/lib/openapi/serviceManagement/services/ServicedeskService.d.ts +39 -32
  218. package/lib/openapi/serviceManagement/services/ServicedeskService.js +4 -2
  219. package/lib/openapi/serviceManagement/services/ServicedeskService.js.map +1 -1
  220. package/lib/openapi/software/BaseJiraSoftwareApiClient.js +2 -0
  221. package/lib/openapi/software/BaseJiraSoftwareApiClient.js.map +1 -1
  222. package/lib/openapi/software/models/board.d.ts +2 -3
  223. package/lib/openapi/software/models/board.js.map +1 -1
  224. package/lib/openapi/software/models/builds.d.ts +40 -2
  225. package/lib/openapi/software/models/builds.js.map +1 -1
  226. package/lib/openapi/software/models/common.d.ts +8 -2
  227. package/lib/openapi/software/models/common.js.map +1 -1
  228. package/lib/openapi/software/models/deployments.d.ts +36 -2
  229. package/lib/openapi/software/models/deployments.js.map +1 -1
  230. package/lib/openapi/software/models/devOpsComponents.d.ts +10 -4
  231. package/lib/openapi/software/models/devOpsComponents.js.map +1 -1
  232. package/lib/openapi/software/models/developmentInformation.d.ts +106 -0
  233. package/lib/openapi/software/models/developmentInformation.js.map +1 -1
  234. package/lib/openapi/software/models/featureFlags.d.ts +20 -4
  235. package/lib/openapi/software/models/featureFlags.js.map +1 -1
  236. package/lib/openapi/software/models/operations.d.ts +76 -16
  237. package/lib/openapi/software/models/operations.js.map +1 -1
  238. package/lib/openapi/software/models/remoteLinks.d.ts +49 -13
  239. package/lib/openapi/software/models/remoteLinks.js.map +1 -1
  240. package/lib/openapi/software/models/securityInformation.d.ts +60 -8
  241. package/lib/openapi/software/models/securityInformation.js.map +1 -1
  242. package/lib/openapi/software/services/BacklogService.d.ts +12 -12
  243. package/lib/openapi/software/services/BoardService.d.ts +14 -14
  244. package/lib/openapi/software/services/EpicService.d.ts +18 -18
  245. package/lib/openapi/software/services/IssueService.d.ts +8 -8
  246. package/lib/openapi/software/services/OperationsService.d.ts +8 -4
  247. package/lib/openapi/software/services/OperationsService.js.map +1 -1
  248. package/lib/openapi/software/services/RemoteLinksService.d.ts +4 -2
  249. package/lib/openapi/software/services/RemoteLinksService.js.map +1 -1
  250. package/lib/openapi/software/services/SprintService.d.ts +20 -20
  251. package/package.json +5 -4
  252. package/CHANGELOG.md +0 -430
@@ -1,5 +1,6 @@
1
+ import * as commonHttpClient from "../../core/CommonHttpClient";
1
2
  import { CommonHttpService } from "../../core/CommonHttpService";
2
- import { type JqlFunctionPrecomputationUpdateRequestBean, type PageBeanJqlFunctionPrecomputationBean } from "../models/jqlFunctionsApps";
3
+ import { type JqlFunctionPrecomputationGetByIdRequest, type JqlFunctionPrecomputationGetByIdResponse, type JqlFunctionPrecomputationUpdateRequestBean, type JqlFunctionPrecomputationUpdateResponse, type PageBean2JqlFunctionPrecomputationBean } from "../models/jqlFunctionsApps";
3
4
  /**
4
5
  * This resource represents JQL function's precomputations. Precomputation is a
5
6
  * mapping between custom function call and JQL fragment returned by this
@@ -32,30 +33,30 @@ export declare class JqlFunctionsAppsService extends CommonHttpService {
32
33
  * "total": 1,
33
34
  * "values": [
34
35
  * {
35
- * "id": "cf75a1b0-4ac6-4bd8-8a50-29a465a96520",
36
- * "value": "issue in (TEST-1, TEST-2, TEST-3)",
37
- * "functionKey": "ari:cloud:ecosystem::extension/00000000-1111-2222-3333-4444444/111111-2222-3333-4444-55555/static/issuesWithText",
38
- * "field": "issue",
39
- * "operator": "in",
40
- * "functionName": "issuesWithText",
41
36
  * "arguments": [
42
37
  * "Test"
43
38
  * ],
44
39
  * "created": "2023-10-14T05:25:20.000+0000",
40
+ * "field": "issue",
41
+ * "functionKey": "ari:cloud:ecosystem::extension/00000000-1111-2222-3333-4444444/111111-2222-3333-4444-55555/static/issuesWithText",
42
+ * "functionName": "issuesWithText",
43
+ * "id": "cf75a1b0-4ac6-4bd8-8a50-29a465a96520",
44
+ * "operator": "in",
45
45
  * "updated": "2023-10-14T05:25:20.000+0000",
46
- * "used": "2023-10-14T05:25:20.000+0000"
46
+ * "used": "2023-10-14T05:25:20.000+0000",
47
+ * "value": "issue in (TEST-1, TEST-2, TEST-3)"
47
48
  * },
48
49
  * {
49
- * "id": "2a854f11-d0e1-4260-aea8-64a562a7062a",
50
- * "error": "Error message to be displayed to the user",
51
- * "functionKey": "ari:cloud:ecosystem::extension/00000000-1111-2222-3333-4444444/111111-2222-3333-4444-55555/static/issuesWithText",
52
- * "field": "issue",
53
- * "operator": "=",
54
- * "functionName": "issuesWithText",
55
50
  * "arguments": [
56
51
  * "10001"
57
52
  * ],
58
53
  * "created": "2023-10-14T05:25:20.000+0000",
54
+ * "error": "Error message to be displayed to the user",
55
+ * "field": "issue",
56
+ * "functionKey": "ari:cloud:ecosystem::extension/00000000-1111-2222-3333-4444444/111111-2222-3333-4444-55555/static/issuesWithText",
57
+ * "functionName": "issuesWithText",
58
+ * "id": "2a854f11-d0e1-4260-aea8-64a562a7062a",
59
+ * "operator": "=",
59
60
  * "updated": "2023-10-14T05:25:20.000+0000",
60
61
  * "used": "2023-10-14T05:25:20.000+0000"
61
62
  * }
@@ -90,7 +91,87 @@ export declare class JqlFunctionsAppsService extends CommonHttpService {
90
91
  * * `updated` Sorts by the updated timestamp.
91
92
  */
92
93
  orderBy?: string | undefined;
93
- }) => Promise<PageBeanJqlFunctionPrecomputationBean>;
94
+ }) => Promise<PageBean2JqlFunctionPrecomputationBean>;
95
+ /**
96
+ * Returns function precomputations by IDs, along with information about when they
97
+ * were created, updated, and last used. Each precomputation has a `value` \- the
98
+ * JQL fragment to replace the custom function clause with.
99
+ *
100
+ * **[Permissions](#permissions) required:** This API is only accessible to apps
101
+ * and apps can only inspect their own functions.
102
+ *
103
+ * The new `read:app-data:jira` OAuth scope is 100% optional now, and not using it
104
+ * won't break your app. However, we recommend adding it to your app's scope list
105
+ * because we will eventually make it mandatory.
106
+ *
107
+ * @returns Returned if the request is successful.
108
+ *
109
+ * example:
110
+ * ```
111
+ * {
112
+ * "notFoundPrecomputationIDs": [
113
+ * "cce1ef75-d566-40f8-a1a8-a9067f70ad69",
114
+ * "82583f5d-0a44-454b-a1f5-4e06838fbf80"
115
+ * ],
116
+ * "precomputations": [
117
+ * {
118
+ * "arguments": [
119
+ * "Test"
120
+ * ],
121
+ * "created": "2023-10-14T05:25:20.000+0000",
122
+ * "field": "issue",
123
+ * "functionKey": "ari:cloud:ecosystem::extension/00000000-1111-2222-3333-4444444/111111-2222-3333-4444-55555/static/issuesWithText",
124
+ * "functionName": "issuesWithText",
125
+ * "id": "cf75a1b0-4ac6-4bd8-8a50-29a465a96520",
126
+ * "operator": "in",
127
+ * "updated": "2023-10-14T05:25:20.000+0000",
128
+ * "used": "2023-10-14T05:25:20.000+0000",
129
+ * "value": "issue in (TEST-1, TEST-2, TEST-3)"
130
+ * },
131
+ * {
132
+ * "arguments": [
133
+ * "10001"
134
+ * ],
135
+ * "created": "2023-10-14T05:25:20.000+0000",
136
+ * "error": "Error message to be displayed to the user",
137
+ * "field": "issue",
138
+ * "functionKey": "ari:cloud:ecosystem::extension/00000000-1111-2222-3333-4444444/111111-2222-3333-4444-55555/static/issuesWithText",
139
+ * "functionName": "issuesWithText",
140
+ * "id": "2a854f11-d0e1-4260-aea8-64a562a7062a",
141
+ * "operator": "=",
142
+ * "updated": "2023-10-14T05:25:20.000+0000",
143
+ * "used": "2023-10-14T05:25:20.000+0000"
144
+ * }
145
+ * ]
146
+ * }
147
+ * ```
148
+ * @path POST `/rest/api/3/jql/function/computation/search`
149
+ * @scopes-current
150
+ * @scopes-beta read:app-data:jira
151
+ * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-jql-functions-apps-#api-rest-api-3-jql-function-computation-search-post
152
+ * @param params
153
+ */
154
+ getPrecomputationsById: ({ orderBy, jqlFunctionPrecomputationGetByIdRequest, }: {
155
+ /**
156
+ * [Order](#ordering) the results by a field:
157
+ *
158
+ * * `functionKey` Sorts by the functionKey.
159
+ * * `used` Sorts by the used timestamp.
160
+ * * `created` Sorts by the created timestamp.
161
+ * * `updated` Sorts by the updated timestamp.
162
+ */
163
+ orderBy?: string | undefined;
164
+ /**
165
+ * @example
166
+ * {
167
+ * "precomputationIDs": [
168
+ * "f2ef228b-367f-4c6b-bd9d-0d0e96b5bd7b",
169
+ * "2a854f11-d0e1-4260-aea8-64a562a7062a"
170
+ * ]
171
+ * }
172
+ */
173
+ jqlFunctionPrecomputationGetByIdRequest: JqlFunctionPrecomputationGetByIdRequest;
174
+ }) => Promise<JqlFunctionPrecomputationGetByIdResponse>;
94
175
  /**
95
176
  * Update the precomputation value of a function created by a Forge/Connect app.
96
177
  *
@@ -101,30 +182,46 @@ export declare class JqlFunctionsAppsService extends CommonHttpService {
101
182
  * it won't break your app. However, we recommend adding it to your app's scope
102
183
  * list because we will eventually make it mandatory.
103
184
  *
104
- * @returns Returned if the request is successful.
185
+ * @returns
186
+ * * status: 200, mediaType: application/json
187
+ *
188
+ * 200 response
189
+ *
190
+ * * status: 204, mediaType: application/json
191
+ *
192
+ * Returned if the request is successful.
105
193
  * @path POST `/rest/api/3/jql/function/computation`
106
194
  * @scopes-current
107
195
  * @scopes-beta write:app-data:jira
108
196
  * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-jql-functions-apps-#api-rest-api-3-jql-function-computation-post
109
197
  * @param params
110
198
  */
111
- updatePrecomputations: ({ jqlFunctionPrecomputationUpdateRequestBean, }: {
199
+ updatePrecomputations: ({ skipNotFoundPrecomputations, jqlFunctionPrecomputationUpdateRequestBean, }: {
200
+ skipNotFoundPrecomputations?: boolean | undefined;
112
201
  /**
113
202
  * @example
114
203
  * {
115
- * "values": [
116
- * {
117
- * "id": "f2ef228b-367f-4c6b-bd9d-0d0e96b5bd7b",
118
- * "value": "issue in (TEST-1, TEST-2, TEST-3)"
119
- * },
120
- * {
121
- * "error": "Error message to be displayed to the user",
122
- * "id": "2a854f11-d0e1-4260-aea8-64a562a7062a"
123
- * }
124
- * ]
204
+ * "values": [
205
+ * {
206
+ * "id": "f2ef228b-367f-4c6b-bd9d-0d0e96b5bd7b",
207
+ * "value": "issue in (TEST-1, TEST-2, TEST-3)"
208
+ * },
209
+ * {
210
+ * "error": "Error message to be displayed to the user",
211
+ * "id": "2a854f11-d0e1-4260-aea8-64a562a7062a"
212
+ * }
213
+ * ]
125
214
  * }
126
215
  */
127
216
  jqlFunctionPrecomputationUpdateRequestBean: JqlFunctionPrecomputationUpdateRequestBean;
128
- }) => Promise<void>;
217
+ }) => Promise<commonHttpClient.WithResponse<{
218
+ status: 200;
219
+ mediaType: "application/json";
220
+ body: JqlFunctionPrecomputationUpdateResponse;
221
+ } | {
222
+ status: 204;
223
+ mediaType: "application/json";
224
+ body: void;
225
+ }>>;
129
226
  protected static initialize(): void;
130
227
  }
@@ -43,30 +43,30 @@ class JqlFunctionsAppsService extends CommonHttpService_1.CommonHttpService {
43
43
  * "total": 1,
44
44
  * "values": [
45
45
  * {
46
- * "id": "cf75a1b0-4ac6-4bd8-8a50-29a465a96520",
47
- * "value": "issue in (TEST-1, TEST-2, TEST-3)",
48
- * "functionKey": "ari:cloud:ecosystem::extension/00000000-1111-2222-3333-4444444/111111-2222-3333-4444-55555/static/issuesWithText",
49
- * "field": "issue",
50
- * "operator": "in",
51
- * "functionName": "issuesWithText",
52
46
  * "arguments": [
53
47
  * "Test"
54
48
  * ],
55
49
  * "created": "2023-10-14T05:25:20.000+0000",
50
+ * "field": "issue",
51
+ * "functionKey": "ari:cloud:ecosystem::extension/00000000-1111-2222-3333-4444444/111111-2222-3333-4444-55555/static/issuesWithText",
52
+ * "functionName": "issuesWithText",
53
+ * "id": "cf75a1b0-4ac6-4bd8-8a50-29a465a96520",
54
+ * "operator": "in",
56
55
  * "updated": "2023-10-14T05:25:20.000+0000",
57
- * "used": "2023-10-14T05:25:20.000+0000"
56
+ * "used": "2023-10-14T05:25:20.000+0000",
57
+ * "value": "issue in (TEST-1, TEST-2, TEST-3)"
58
58
  * },
59
59
  * {
60
- * "id": "2a854f11-d0e1-4260-aea8-64a562a7062a",
61
- * "error": "Error message to be displayed to the user",
62
- * "functionKey": "ari:cloud:ecosystem::extension/00000000-1111-2222-3333-4444444/111111-2222-3333-4444-55555/static/issuesWithText",
63
- * "field": "issue",
64
- * "operator": "=",
65
- * "functionName": "issuesWithText",
66
60
  * "arguments": [
67
61
  * "10001"
68
62
  * ],
69
63
  * "created": "2023-10-14T05:25:20.000+0000",
64
+ * "error": "Error message to be displayed to the user",
65
+ * "field": "issue",
66
+ * "functionKey": "ari:cloud:ecosystem::extension/00000000-1111-2222-3333-4444444/111111-2222-3333-4444-55555/static/issuesWithText",
67
+ * "functionName": "issuesWithText",
68
+ * "id": "2a854f11-d0e1-4260-aea8-64a562a7062a",
69
+ * "operator": "=",
70
70
  * "updated": "2023-10-14T05:25:20.000+0000",
71
71
  * "used": "2023-10-14T05:25:20.000+0000"
72
72
  * }
@@ -100,6 +100,87 @@ class JqlFunctionsAppsService extends CommonHttpService_1.CommonHttpService {
100
100
  .then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("JqlFunctionsAppsService.getPrecomputations.response")))
101
101
  .then(commonHttpClient.getBody);
102
102
  };
103
+ /**
104
+ * Returns function precomputations by IDs, along with information about when they
105
+ * were created, updated, and last used. Each precomputation has a `value` \- the
106
+ * JQL fragment to replace the custom function clause with.
107
+ *
108
+ * **[Permissions](#permissions) required:** This API is only accessible to apps
109
+ * and apps can only inspect their own functions.
110
+ *
111
+ * The new `read:app-data:jira` OAuth scope is 100% optional now, and not using it
112
+ * won't break your app. However, we recommend adding it to your app's scope list
113
+ * because we will eventually make it mandatory.
114
+ *
115
+ * @returns Returned if the request is successful.
116
+ *
117
+ * example:
118
+ * ```
119
+ * {
120
+ * "notFoundPrecomputationIDs": [
121
+ * "cce1ef75-d566-40f8-a1a8-a9067f70ad69",
122
+ * "82583f5d-0a44-454b-a1f5-4e06838fbf80"
123
+ * ],
124
+ * "precomputations": [
125
+ * {
126
+ * "arguments": [
127
+ * "Test"
128
+ * ],
129
+ * "created": "2023-10-14T05:25:20.000+0000",
130
+ * "field": "issue",
131
+ * "functionKey": "ari:cloud:ecosystem::extension/00000000-1111-2222-3333-4444444/111111-2222-3333-4444-55555/static/issuesWithText",
132
+ * "functionName": "issuesWithText",
133
+ * "id": "cf75a1b0-4ac6-4bd8-8a50-29a465a96520",
134
+ * "operator": "in",
135
+ * "updated": "2023-10-14T05:25:20.000+0000",
136
+ * "used": "2023-10-14T05:25:20.000+0000",
137
+ * "value": "issue in (TEST-1, TEST-2, TEST-3)"
138
+ * },
139
+ * {
140
+ * "arguments": [
141
+ * "10001"
142
+ * ],
143
+ * "created": "2023-10-14T05:25:20.000+0000",
144
+ * "error": "Error message to be displayed to the user",
145
+ * "field": "issue",
146
+ * "functionKey": "ari:cloud:ecosystem::extension/00000000-1111-2222-3333-4444444/111111-2222-3333-4444-55555/static/issuesWithText",
147
+ * "functionName": "issuesWithText",
148
+ * "id": "2a854f11-d0e1-4260-aea8-64a562a7062a",
149
+ * "operator": "=",
150
+ * "updated": "2023-10-14T05:25:20.000+0000",
151
+ * "used": "2023-10-14T05:25:20.000+0000"
152
+ * }
153
+ * ]
154
+ * }
155
+ * ```
156
+ * @path POST `/rest/api/3/jql/function/computation/search`
157
+ * @scopes-current
158
+ * @scopes-beta read:app-data:jira
159
+ * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-jql-functions-apps-#api-rest-api-3-jql-function-computation-search-post
160
+ * @param params
161
+ */
162
+ this.getPrecomputationsById = ({ orderBy, jqlFunctionPrecomputationGetByIdRequest, }) => {
163
+ return this.getClientInstance()
164
+ .request({
165
+ path: "/rest/api/3/jql/function/computation/search",
166
+ method: "POST",
167
+ query: {
168
+ orderBy,
169
+ },
170
+ headers: {
171
+ "Content-Type": "application/json",
172
+ },
173
+ body: jqlFunctionPrecomputationGetByIdRequest,
174
+ })
175
+ .then(this.getClientInstance().responseHandler({
176
+ 200: {
177
+ "application/json": "json",
178
+ },
179
+ }))
180
+ .then(commonHttpClient.castResponse())
181
+ .then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("JqlFunctionsAppsService.getPrecomputationsByID.response")))
182
+ .then(commonHttpClient.getBody);
183
+ };
103
184
  /**
104
185
  * Update the precomputation value of a function created by a Forge/Connect app.
105
186
  *
@@ -110,31 +191,43 @@ class JqlFunctionsAppsService extends CommonHttpService_1.CommonHttpService {
110
191
  * it won't break your app. However, we recommend adding it to your app's scope
111
192
  * list because we will eventually make it mandatory.
112
193
  *
113
- * @returns Returned if the request is successful.
194
+ * @returns
195
+ * * status: 200, mediaType: application/json
196
+ *
197
+ * 200 response
198
+ *
199
+ * * status: 204, mediaType: application/json
200
+ *
201
+ * Returned if the request is successful.
114
202
  * @path POST `/rest/api/3/jql/function/computation`
115
203
  * @scopes-current
116
204
  * @scopes-beta write:app-data:jira
117
205
  * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-jql-functions-apps-#api-rest-api-3-jql-function-computation-post
118
206
  * @param params
119
207
  */
120
- this.updatePrecomputations = ({ jqlFunctionPrecomputationUpdateRequestBean, }) => {
208
+ this.updatePrecomputations = ({ skipNotFoundPrecomputations, jqlFunctionPrecomputationUpdateRequestBean, }) => {
121
209
  return this.getClientInstance()
122
210
  .request({
123
211
  path: "/rest/api/3/jql/function/computation",
124
212
  method: "POST",
213
+ query: {
214
+ skipNotFoundPrecomputations,
215
+ },
125
216
  headers: {
126
217
  "Content-Type": "application/json",
127
218
  },
128
219
  body: jqlFunctionPrecomputationUpdateRequestBean,
129
220
  })
130
221
  .then(this.getClientInstance().responseHandler({
222
+ 200: {
223
+ "application/json": "json",
224
+ },
131
225
  204: {
132
226
  "application/json": "json",
133
227
  },
134
228
  }))
135
229
  .then(commonHttpClient.castResponse())
136
- .then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("JqlFunctionsAppsService.updatePrecomputations.response")))
137
- .then(commonHttpClient.getBody);
230
+ .then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("JqlFunctionsAppsService.updatePrecomputations.response")));
138
231
  };
139
232
  }
140
233
  static initialize() {
@@ -142,16 +235,40 @@ class JqlFunctionsAppsService extends CommonHttpService_1.CommonHttpService {
142
235
  .object({
143
236
  status: zod_1.z.literal(200),
144
237
  mediaType: zod_1.z.literal("application/json"),
145
- body: validationSchemaStorage_1.validationSchemaStorage.lazy("PageBeanJqlFunctionPrecomputationBean"),
238
+ body: validationSchemaStorage_1.validationSchemaStorage.lazy("PageBean2JqlFunctionPrecomputationBean"),
146
239
  })
147
240
  .describe("JqlFunctionsAppsService.getPrecomputations.response"));
148
241
  validationSchemaStorage_1.validationSchemaStorage.registerExtensible("JqlFunctionsAppsService.updatePrecomputations.response", zod_1.z
149
242
  .object({
150
- status: zod_1.z.literal(204),
151
- mediaType: zod_1.z.literal("application/json"),
243
+ status: zod_1.z.number(),
244
+ mediaType: zod_1.z.string(),
152
245
  body: zod_1.z.unknown(),
246
+ })
247
+ .superRefine(({ status: status, body: body }, ctx) => {
248
+ if (status === 200) {
249
+ validationSchemaStorage_1.validationSchemaStorage
250
+ .lazy("JqlFunctionPrecomputationUpdateResponse")
251
+ .parse(body);
252
+ }
253
+ else if (status === 204) {
254
+ zod_1.z.unknown().parse(body);
255
+ }
256
+ else {
257
+ ctx.addIssue({
258
+ code: zod_1.z.ZodIssueCode.custom,
259
+ path: ["status"],
260
+ message: `Unexpected status code: ${status}`,
261
+ });
262
+ }
153
263
  })
154
264
  .describe("JqlFunctionsAppsService.updatePrecomputations.response"));
265
+ validationSchemaStorage_1.validationSchemaStorage.registerExtensible("JqlFunctionsAppsService.getPrecomputationsByID.response", zod_1.z
266
+ .object({
267
+ status: zod_1.z.literal(200),
268
+ mediaType: zod_1.z.literal("application/json"),
269
+ body: validationSchemaStorage_1.validationSchemaStorage.lazy("JqlFunctionPrecomputationGetByIdResponse"),
270
+ })
271
+ .describe("JqlFunctionsAppsService.getPrecomputationsByID.response"));
155
272
  validationSchemaStorage_1.validationSchemaStorage.registerOnce([
156
273
  jqlFunctionsApps_1.registerJqlFunctionsAppsValidationSchemas,
157
274
  ]);
@@ -1 +1 @@
1
- {"version":3,"file":"JqlFunctionsAppsService.js","sourceRoot":"","sources":["../../../../src/openapi/platform/services/JqlFunctionsAppsService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,gEAAgE;AAChE,oEAAiE;AACjE,iEAIoC;AACpC,wEAAqE;AACrE;;;;;;;GAOG;AACH,MAAa,uBAAwB,SAAQ,qCAAiB;IAA9D;;QACE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WA0DG;QACH,uBAAkB,GAAG,CAAC,EACpB,WAAW,EACX,OAAO,EACP,UAAU,EACV,OAAO,MAuBL,EAAE,EAAkD,EAAE;YACxD,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,sCAAsC;gBAC5C,MAAM,EAAE,KAAK;gBACb,KAAK,EAAE;oBACL,WAAW;oBACX,OAAO;oBACP,UAAU;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AC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAChC,uCAAuC,CACxC;SACF,CAAC;aACD,QAAQ,CAAC,qDAAqD,CAAC,CACnE,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,wDAAwD,EACxD,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,CAAC,wDAAwD,CAAC,CACtE,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC;YACnC,4DAAyC;SAC1C,CAAC,CAAC;IACL,CAAC;CACF;AA1ND,0DA0NC"}
1
+ {"version":3,"file":"JqlFunctionsAppsService.js","sourceRoot":"","sources":["../../../../src/openapi/platform/services/JqlFunctionsAppsService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,gEAAgE;AAChE,oEAAiE;AACjE,iEAOoC;AACpC,wEAAqE;AACrE;;;;;;;GAOG;AACH,MAAa,uBAAwB,SAAQ,qCAAiB;IAA9D;;QACE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WA0DG;QACH,uBAAkB,GAAG,CAAC,EACpB,WAAW,EACX,OAAO,EACP,UAAU,EACV,OAAO,MAuBL,EAAE,EAAmD,EAAE;YACzD,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,sCAAsC;gBAC5C,MAAM,EAAE,KAAK;gBACb,KAAK,EAAE;oBACL,WAAW;oBACX,OAAO;oBACP,UAAU;oBACV,OAAO;iBACR;aACF,CAAC;iBACD,IAAI,CACH,IAAI,CAAC,iBAAiB,EAAE,CAAC,eAA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,EAAE,CAAC;gBACnB,iDAAuB;qBACpB,IAAI,CAAC,yCAAyC,CAAC;qBAC/C,KAAK,CAAC,IAAI,CAAC,CAAC;YACjB,CAAC;iBAAM,IAAI,MAAM,KAAK,GAAG,EAAE,CAAC;gBAC1B,OAAC,CAAC,OAAO,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;YAC1B,CAAC;iBAAM,CAAC;gBACN,GAAG,CAAC,QAAQ,CAAC;oBACX,IAAI,EAAE,OAAC,CAAC,YAAY,CAAC,MAAM;oBAC3B,IAAI,EAAE,CAAC,QAAQ,CAAC;oBAChB,OAAO,EAAE,2BAA2B,MAAM,EAAE;iBAC7C,CAAC,CAAC;YACL,CAAC;QACH,CAAC,CAAC;aACD,QAAQ,CAAC,wDAAwD,CAAC,CACtE,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,yDAAyD,EACzD,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,CAChC,0CAA0C,CAC3C;SACF,CAAC;aACD,QAAQ,CAAC,yDAAyD,CAAC,CACvE,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC;YACnC,4DAAyC;SAC1C,CAAC,CAAC;IACL,CAAC;CACF;AA7YD,0DA6YC"}
@@ -229,12 +229,12 @@ export declare class JqlService extends CommonHttpService {
229
229
  /**
230
230
  * @example
231
231
  * {
232
- * "includeCollapsedFields": true,
233
- * "projectIds": [
234
- * 10000,
235
- * 10001,
236
- * 10002
237
- * ]
232
+ * "includeCollapsedFields": true,
233
+ * "projectIds": [
234
+ * 10000,
235
+ * 10001,
236
+ * 10002
237
+ * ]
238
238
  * }
239
239
  */
240
240
  searchAutoCompleteFilter: SearchAutoCompleteFilter;
@@ -335,10 +335,10 @@ export declare class JqlService extends CommonHttpService {
335
335
  /**
336
336
  * @example
337
337
  * {
338
- * "queryStrings": [
339
- * "assignee = mia",
340
- * "issuetype = Bug AND assignee in (mia) AND reporter in (alana) order by lastViewed DESC"
341
- * ]
338
+ * "queryStrings": [
339
+ * "assignee = mia",
340
+ * "issuetype = Bug AND assignee in (mia) AND reporter in (alana) order by lastViewed DESC"
341
+ * ]
342
342
  * }
343
343
  */
344
344
  jqlPersonalDataMigrationRequest: JqlPersonalDataMigrationRequest;
@@ -541,15 +541,15 @@ export declare class JqlService extends CommonHttpService {
541
541
  /**
542
542
  * @example
543
543
  * {
544
- * "queries": [
545
- * "summary ~ test AND (labels in (urgent, blocker) OR lastCommentedBy = currentUser()) AND status CHANGED AFTER startOfMonth(-1M) ORDER BY updated DESC",
546
- * "issue.property[\"spaces here\"].value in (\"Service requests\", Incidents)",
547
- * "invalid query",
548
- * "summary = test",
549
- * "summary in test",
550
- * "project = INVALID",
551
- * "universe = 42"
552
- * ]
544
+ * "queries": [
545
+ * "summary ~ test AND (labels in (urgent, blocker) OR lastCommentedBy = currentUser()) AND status CHANGED AFTER startOfMonth(-1M) ORDER BY updated DESC",
546
+ * "issue.property[\"spaces here\"].value in (\"Service requests\", Incidents)",
547
+ * "invalid query",
548
+ * "summary = test",
549
+ * "summary in test",
550
+ * "project = INVALID",
551
+ * "universe = 42"
552
+ * ]
553
553
  * }
554
554
  */
555
555
  jqlQueriesToParse: JqlQueriesToParse;
@@ -619,23 +619,23 @@ export declare class JqlService extends CommonHttpService {
619
619
  /**
620
620
  * @example
621
621
  * {
622
- * "queries": [
623
- * {
624
- * "query": "project = 'Sample project'"
625
- * },
626
- * {
627
- * "accountId": "5b10ac8d82e05b22cc7d4ef5",
628
- * "query": "project = 'Sample project'"
629
- * },
630
- * {
631
- * "accountId": "cda2aa1395ac195d951b3387",
632
- * "query": "project = 'Sample project'"
633
- * },
634
- * {
635
- * "accountId": "5b10ac8d82e05b22cc7d4ef5",
636
- * "query": "invalid query"
637
- * }
638
- * ]
622
+ * "queries": [
623
+ * {
624
+ * "query": "project = 'Sample project'"
625
+ * },
626
+ * {
627
+ * "accountId": "5b10ac8d82e05b22cc7d4ef5",
628
+ * "query": "project = 'Sample project'"
629
+ * },
630
+ * {
631
+ * "accountId": "cda2aa1395ac195d951b3387",
632
+ * "query": "project = 'Sample project'"
633
+ * },
634
+ * {
635
+ * "accountId": "5b10ac8d82e05b22cc7d4ef5",
636
+ * "query": "invalid query"
637
+ * }
638
+ * ]
639
639
  * }
640
640
  */
641
641
  jqlQueriesToSanitize: JqlQueriesToSanitize;
@@ -192,7 +192,7 @@ export declare class MyselfService extends CommonHttpService {
192
192
  *
193
193
  * @example
194
194
  * {
195
- * "locale": "en_US"
195
+ * "locale": "en_US"
196
196
  * }
197
197
  */
198
198
  locale: Locale;
@@ -60,12 +60,12 @@ export declare class PermissionSchemesService extends CommonHttpService {
60
60
  *
61
61
  * @example
62
62
  * {
63
- * "holder": {
64
- * "parameter": "jira-core-users",
65
- * "type": "group",
66
- * "value": "ca85fac0-d974-40ca-a615-7af99c48d24f"
67
- * },
68
- * "permission": "ADMINISTER_PROJECTS"
63
+ * "holder": {
64
+ * "parameter": "jira-core-users",
65
+ * "type": "group",
66
+ * "value": "ca85fac0-d974-40ca-a615-7af99c48d24f"
67
+ * },
68
+ * "permission": "ADMINISTER_PROJECTS"
69
69
  * }
70
70
  */
71
71
  permissionGrant: PermissionGrant;
@@ -127,18 +127,18 @@ export declare class PermissionSchemesService extends CommonHttpService {
127
127
  *
128
128
  * @example
129
129
  * {
130
- * "description": "description",
131
- * "name": "Example permission scheme",
132
- * "permissions": [
133
- * {
134
- * "holder": {
135
- * "parameter": "jira-core-users",
136
- * "type": "group",
137
- * "value": "ca85fac0-d974-40ca-a615-7af99c48d24f"
138
- * },
139
- * "permission": "ADMINISTER_PROJECTS"
140
- * }
141
- * ]
130
+ * "description": "description",
131
+ * "name": "Example permission scheme",
132
+ * "permissions": [
133
+ * {
134
+ * "holder": {
135
+ * "parameter": "jira-core-users",
136
+ * "type": "group",
137
+ * "value": "ca85fac0-d974-40ca-a615-7af99c48d24f"
138
+ * },
139
+ * "permission": "ADMINISTER_PROJECTS"
140
+ * }
141
+ * ]
142
142
  * }
143
143
  */
144
144
  permissionScheme: PermissionScheme;
@@ -161,9 +161,7 @@ export declare class PermissionSchemesService extends CommonHttpService {
161
161
  }) => Promise<void>;
162
162
  /**
163
163
  * Deletes a permission grant from a permission scheme. See [About permission
164
- * schemes and
165
- * grants](../api-group-permission-schemes/#about-permission-schemes-and-grants)
166
- * for more details.
164
+ * schemes and grants](../services/PermissionSchemesService.ts) for more details.
167
165
  *
168
166
  * **[Permissions](#permissions) required:** *Administer Jira* [global
169
167
  * permission](https://confluence.atlassian.com/x/x4dKLg).
@@ -502,8 +500,7 @@ export declare class PermissionSchemesService extends CommonHttpService {
502
500
  * entity](#api-rest-api-3-permissionscheme-schemeId-permission-permissionId-delete).
503
501
  *
504
502
  * See [About permission schemes and
505
- * grants](../api-group-permission-schemes/#about-permission-schemes-and-grants)
506
- * for more details.
503
+ * grants](../services/PermissionSchemesService.ts) for more details.
507
504
  *
508
505
  * **[Permissions](#permissions) required:** *Administer Jira* [global
509
506
  * permission](https://confluence.atlassian.com/x/x4dKLg).
@@ -558,18 +555,18 @@ export declare class PermissionSchemesService extends CommonHttpService {
558
555
  /**
559
556
  * @example
560
557
  * {
561
- * "description": "description",
562
- * "name": "Example permission scheme",
563
- * "permissions": [
564
- * {
565
- * "holder": {
566
- * "parameter": "jira-core-users",
567
- * "type": "group",
568
- * "value": "ca85fac0-d974-40ca-a615-7af99c48d24f"
569
- * },
570
- * "permission": "ADMINISTER_PROJECTS"
571
- * }
572
- * ]
558
+ * "description": "description",
559
+ * "name": "Example permission scheme",
560
+ * "permissions": [
561
+ * {
562
+ * "holder": {
563
+ * "parameter": "jira-core-users",
564
+ * "type": "group",
565
+ * "value": "ca85fac0-d974-40ca-a615-7af99c48d24f"
566
+ * },
567
+ * "permission": "ADMINISTER_PROJECTS"
568
+ * }
569
+ * ]
573
570
  * }
574
571
  */
575
572
  permissionScheme: PermissionScheme;