@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.
- package/README.md +5 -5
- package/lib/index.d.ts +2 -0
- package/lib/index.js +2 -0
- package/lib/index.js.map +1 -1
- package/lib/openapi/core/CommonHttpClient.d.ts +29 -0
- package/lib/openapi/core/CommonHttpClient.js +29 -1
- package/lib/openapi/core/CommonHttpClient.js.map +1 -1
- package/lib/openapi/platform/BaseJiraPlatformApiClient.d.ts +27 -7
- package/lib/openapi/platform/BaseJiraPlatformApiClient.js +45 -1
- package/lib/openapi/platform/BaseJiraPlatformApiClient.js.map +1 -1
- package/lib/openapi/platform/models/appMigration.d.ts +12 -0
- package/lib/openapi/platform/models/appMigration.js.map +1 -1
- package/lib/openapi/platform/models/appProperties.d.ts +4 -2
- package/lib/openapi/platform/models/appProperties.js.map +1 -1
- package/lib/openapi/platform/models/common.d.ts +7 -43
- package/lib/openapi/platform/models/common.js +1 -21
- package/lib/openapi/platform/models/common.js.map +1 -1
- package/lib/openapi/platform/models/dashboards.d.ts +0 -30
- package/lib/openapi/platform/models/dashboards.js +0 -18
- package/lib/openapi/platform/models/dashboards.js.map +1 -1
- package/lib/openapi/platform/models/dynamicModules.d.ts +55 -51
- package/lib/openapi/platform/models/dynamicModules.js.map +1 -1
- package/lib/openapi/platform/models/issueBulkOperations.d.ts +102 -0
- package/lib/openapi/platform/models/issueBulkOperations.js +56 -0
- package/lib/openapi/platform/models/issueBulkOperations.js.map +1 -1
- package/lib/openapi/platform/models/issueCustomFieldOptions.d.ts +1 -4
- package/lib/openapi/platform/models/issueCustomFieldOptions.js.map +1 -1
- package/lib/openapi/platform/models/issueSecurityLevel.d.ts +1 -1
- package/lib/openapi/platform/models/issueSecuritySchemes.d.ts +1 -1
- package/lib/openapi/platform/models/issues.d.ts +124 -10
- package/lib/openapi/platform/models/issues.js +78 -0
- package/lib/openapi/platform/models/issues.js.map +1 -1
- package/lib/openapi/platform/models/jiraExpressions.d.ts +8 -1
- package/lib/openapi/platform/models/jiraExpressions.js.map +1 -1
- package/lib/openapi/platform/models/jql.d.ts +8 -0
- package/lib/openapi/platform/models/jql.js.map +1 -1
- package/lib/openapi/platform/models/jqlFunctionsApps.d.ts +43 -1
- package/lib/openapi/platform/models/jqlFunctionsApps.js +52 -2
- package/lib/openapi/platform/models/jqlFunctionsApps.js.map +1 -1
- package/lib/openapi/platform/models/permissionSchemes.d.ts +3 -4
- package/lib/openapi/platform/models/permissionSchemes.js.map +1 -1
- package/lib/openapi/platform/models/plans.d.ts +268 -0
- package/lib/openapi/platform/models/plans.js +425 -0
- package/lib/openapi/platform/models/plans.js.map +1 -0
- package/lib/openapi/platform/models/projects.d.ts +1 -1
- package/lib/openapi/platform/models/projects.js +1 -0
- package/lib/openapi/platform/models/projects.js.map +1 -1
- package/lib/openapi/platform/models/serviceRegistry.d.ts +2 -0
- package/lib/openapi/platform/models/serviceRegistry.js.map +1 -1
- package/lib/openapi/platform/models/teamsInPlan.d.ts +79 -0
- package/lib/openapi/platform/models/teamsInPlan.js +86 -0
- package/lib/openapi/platform/models/teamsInPlan.js.map +1 -0
- package/lib/openapi/platform/models/workflows.d.ts +4 -0
- package/lib/openapi/platform/models/workflows.js +2 -0
- package/lib/openapi/platform/models/workflows.js.map +1 -1
- package/lib/openapi/platform/services/AnnouncementBannerService.d.ts +4 -4
- package/lib/openapi/platform/services/AppMigrationService.d.ts +87 -87
- package/lib/openapi/platform/services/AppMigrationService.js +49 -49
- package/lib/openapi/platform/services/AppPropertiesService.d.ts +17 -17
- package/lib/openapi/platform/services/AppPropertiesService.js +17 -17
- package/lib/openapi/platform/services/ApplicationRolesService.d.ts +2 -0
- package/lib/openapi/platform/services/ApplicationRolesService.js +2 -0
- package/lib/openapi/platform/services/ApplicationRolesService.js.map +1 -1
- package/lib/openapi/platform/services/DashboardsService.d.ts +64 -64
- package/lib/openapi/platform/services/FilterSharingService.d.ts +8 -4
- package/lib/openapi/platform/services/FilterSharingService.js +4 -0
- package/lib/openapi/platform/services/FilterSharingService.js.map +1 -1
- package/lib/openapi/platform/services/FiltersService.d.ts +21 -8
- package/lib/openapi/platform/services/FiltersService.js +8 -1
- package/lib/openapi/platform/services/FiltersService.js.map +1 -1
- package/lib/openapi/platform/services/GroupsService.d.ts +2 -2
- package/lib/openapi/platform/services/IssueAttachmentsService.d.ts +2 -0
- package/lib/openapi/platform/services/IssueAttachmentsService.js +2 -0
- package/lib/openapi/platform/services/IssueAttachmentsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueBulkOperationsService.d.ts +293 -78
- package/lib/openapi/platform/services/IssueBulkOperationsService.js +244 -2
- package/lib/openapi/platform/services/IssueBulkOperationsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCommentsService.d.ts +42 -42
- package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.d.ts +29 -29
- package/lib/openapi/platform/services/IssueCustomFieldContextsService.d.ts +59 -59
- package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.d.ts +59 -59
- package/lib/openapi/platform/services/IssueCustomFieldOptionsService.d.ts +37 -37
- package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.d.ts +25 -25
- package/lib/openapi/platform/services/IssueFieldConfigurationsService.d.ts +47 -47
- package/lib/openapi/platform/services/IssueFieldsService.d.ts +12 -11
- package/lib/openapi/platform/services/IssueFieldsService.js +3 -1
- package/lib/openapi/platform/services/IssueFieldsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueLinkTypesService.d.ts +6 -6
- package/lib/openapi/platform/services/IssueLinksService.d.ts +28 -28
- package/lib/openapi/platform/services/IssueNavigatorSettingsService.d.ts +2 -0
- package/lib/openapi/platform/services/IssueNavigatorSettingsService.js +2 -0
- package/lib/openapi/platform/services/IssueNavigatorSettingsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueNotificationSchemesService.d.ts +26 -26
- package/lib/openapi/platform/services/IssuePrioritiesService.d.ts +16 -14
- package/lib/openapi/platform/services/IssuePrioritiesService.js +2 -0
- package/lib/openapi/platform/services/IssuePrioritiesService.js.map +1 -1
- package/lib/openapi/platform/services/IssuePropertiesService.d.ts +38 -38
- package/lib/openapi/platform/services/IssueRemoteLinksService.d.ts +44 -42
- package/lib/openapi/platform/services/IssueRemoteLinksService.js +2 -0
- package/lib/openapi/platform/services/IssueRemoteLinksService.js.map +1 -1
- package/lib/openapi/platform/services/IssueResolutionsService.d.ts +12 -10
- package/lib/openapi/platform/services/IssueResolutionsService.js +2 -0
- package/lib/openapi/platform/services/IssueResolutionsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueSearchService.d.ts +28 -28
- package/lib/openapi/platform/services/IssueSecuritySchemesService.d.ts +58 -58
- package/lib/openapi/platform/services/IssueTypePropertiesService.d.ts +2 -2
- package/lib/openapi/platform/services/IssueTypeSchemesService.d.ts +24 -24
- package/lib/openapi/platform/services/IssueTypeScreenSchemesService.d.ts +39 -39
- package/lib/openapi/platform/services/IssueTypesService.d.ts +12 -6
- package/lib/openapi/platform/services/IssueTypesService.js +6 -0
- package/lib/openapi/platform/services/IssueTypesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueWatchersService.d.ts +5 -5
- package/lib/openapi/platform/services/IssueWorklogsService.d.ts +59 -57
- package/lib/openapi/platform/services/IssueWorklogsService.js +2 -0
- package/lib/openapi/platform/services/IssueWorklogsService.js.map +1 -1
- package/lib/openapi/platform/services/IssuesService.d.ts +692 -590
- package/lib/openapi/platform/services/IssuesService.js +121 -0
- package/lib/openapi/platform/services/IssuesService.js.map +1 -1
- package/lib/openapi/platform/services/JiraExpressionsService.d.ts +95 -95
- package/lib/openapi/platform/services/JiraSettingsService.d.ts +6 -2
- package/lib/openapi/platform/services/JiraSettingsService.js +4 -0
- package/lib/openapi/platform/services/JiraSettingsService.js.map +1 -1
- package/lib/openapi/platform/services/JqlFunctionsAppsService.d.ts +125 -28
- package/lib/openapi/platform/services/JqlFunctionsAppsService.js +137 -20
- package/lib/openapi/platform/services/JqlFunctionsAppsService.js.map +1 -1
- package/lib/openapi/platform/services/JqlService.d.ts +36 -36
- package/lib/openapi/platform/services/MyselfService.d.ts +1 -1
- package/lib/openapi/platform/services/PermissionSchemesService.d.ts +32 -35
- package/lib/openapi/platform/services/PermissionSchemesService.js +2 -5
- package/lib/openapi/platform/services/PermissionSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/PermissionsService.d.ts +21 -21
- package/lib/openapi/platform/services/PlansService.d.ts +389 -0
- package/lib/openapi/platform/services/PlansService.js +459 -0
- package/lib/openapi/platform/services/PlansService.js.map +1 -0
- package/lib/openapi/platform/services/PrioritySchemesService.d.ts +83 -83
- package/lib/openapi/platform/services/ProjectAvatarsService.d.ts +1 -1
- package/lib/openapi/platform/services/ProjectCategoriesService.d.ts +6 -4
- package/lib/openapi/platform/services/ProjectCategoriesService.js +2 -0
- package/lib/openapi/platform/services/ProjectCategoriesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectClassificationLevelsService.d.ts +1 -1
- package/lib/openapi/platform/services/ProjectComponentsService.d.ts +13 -11
- package/lib/openapi/platform/services/ProjectComponentsService.js +2 -0
- package/lib/openapi/platform/services/ProjectComponentsService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectEmailService.d.ts +1 -1
- package/lib/openapi/platform/services/ProjectFeaturesService.d.ts +1 -1
- package/lib/openapi/platform/services/ProjectPermissionSchemesService.d.ts +1 -1
- package/lib/openapi/platform/services/ProjectPropertiesService.d.ts +2 -2
- package/lib/openapi/platform/services/ProjectRoleActorsService.d.ts +14 -14
- package/lib/openapi/platform/services/ProjectRolesService.d.ts +10 -6
- package/lib/openapi/platform/services/ProjectRolesService.js +4 -0
- package/lib/openapi/platform/services/ProjectRolesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectTypesService.d.ts +4 -0
- package/lib/openapi/platform/services/ProjectTypesService.js +4 -0
- package/lib/openapi/platform/services/ProjectTypesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectVersionsService.d.ts +29 -25
- package/lib/openapi/platform/services/ProjectVersionsService.js +5 -1
- package/lib/openapi/platform/services/ProjectVersionsService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectsService.d.ts +30 -24
- package/lib/openapi/platform/services/ProjectsService.js +6 -0
- package/lib/openapi/platform/services/ProjectsService.js.map +1 -1
- package/lib/openapi/platform/services/ScreenSchemesService.d.ts +12 -12
- package/lib/openapi/platform/services/ScreenTabFieldsService.d.ts +1 -1
- package/lib/openapi/platform/services/ScreenTabsService.d.ts +1 -1
- package/lib/openapi/platform/services/ScreensService.d.ts +4 -4
- package/lib/openapi/platform/services/ServiceRegistryService.d.ts +2 -0
- package/lib/openapi/platform/services/ServiceRegistryService.js.map +1 -1
- package/lib/openapi/platform/services/StatusService.d.ts +24 -20
- package/lib/openapi/platform/services/StatusService.js +4 -0
- package/lib/openapi/platform/services/StatusService.js.map +1 -1
- package/lib/openapi/platform/services/TeamsInPlanService.d.ts +294 -0
- package/lib/openapi/platform/services/TeamsInPlanService.js +452 -0
- package/lib/openapi/platform/services/TeamsInPlanService.js.map +1 -0
- package/lib/openapi/platform/services/TimeTrackingService.d.ts +7 -5
- package/lib/openapi/platform/services/TimeTrackingService.js +2 -0
- package/lib/openapi/platform/services/TimeTrackingService.js.map +1 -1
- package/lib/openapi/platform/services/UiModificationsAppsService.d.ts +44 -44
- package/lib/openapi/platform/services/UserSearchService.d.ts +19 -8
- package/lib/openapi/platform/services/UserSearchService.js +15 -5
- package/lib/openapi/platform/services/UserSearchService.js.map +1 -1
- package/lib/openapi/platform/services/UsersService.d.ts +7 -1
- package/lib/openapi/platform/services/UsersService.js +6 -0
- package/lib/openapi/platform/services/UsersService.js.map +1 -1
- package/lib/openapi/platform/services/WebhooksService.d.ts +39 -39
- package/lib/openapi/platform/services/WorkflowSchemeDraftsService.d.ts +39 -39
- package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.d.ts +2 -2
- package/lib/openapi/platform/services/WorkflowSchemesService.d.ts +102 -100
- package/lib/openapi/platform/services/WorkflowSchemesService.js +2 -0
- package/lib/openapi/platform/services/WorkflowSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowStatusCategoriesService.d.ts +2 -0
- package/lib/openapi/platform/services/WorkflowStatusCategoriesService.js +2 -0
- package/lib/openapi/platform/services/WorkflowStatusCategoriesService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowStatusesService.d.ts +2 -0
- package/lib/openapi/platform/services/WorkflowStatusesService.js +2 -0
- package/lib/openapi/platform/services/WorkflowStatusesService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.d.ts +4 -2
- package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.js +2 -0
- package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowTransitionRulesService.d.ts +48 -48
- package/lib/openapi/platform/services/WorkflowsService.d.ts +591 -589
- package/lib/openapi/platform/services/WorkflowsService.js +2 -0
- package/lib/openapi/platform/services/WorkflowsService.js.map +1 -1
- package/lib/openapi/serviceManagement/BaseJiraServiceManagementApiClient.d.ts +1 -1
- package/lib/openapi/serviceManagement/BaseJiraServiceManagementApiClient.js +3 -1
- package/lib/openapi/serviceManagement/BaseJiraServiceManagementApiClient.js.map +1 -1
- package/lib/openapi/serviceManagement/models/organization.d.ts +5 -0
- package/lib/openapi/serviceManagement/models/organization.js +1 -0
- package/lib/openapi/serviceManagement/models/organization.js.map +1 -1
- package/lib/openapi/serviceManagement/services/CustomerService.d.ts +2 -2
- package/lib/openapi/serviceManagement/services/KnowledgebaseService.d.ts +11 -7
- package/lib/openapi/serviceManagement/services/KnowledgebaseService.js +3 -1
- package/lib/openapi/serviceManagement/services/KnowledgebaseService.js.map +1 -1
- package/lib/openapi/serviceManagement/services/OrganizationService.d.ts +39 -33
- package/lib/openapi/serviceManagement/services/OrganizationService.js +24 -18
- package/lib/openapi/serviceManagement/services/OrganizationService.js.map +1 -1
- package/lib/openapi/serviceManagement/services/RequestService.d.ts +68 -68
- package/lib/openapi/serviceManagement/services/RequestService.js +3 -3
- package/lib/openapi/serviceManagement/services/ServicedeskService.d.ts +39 -32
- package/lib/openapi/serviceManagement/services/ServicedeskService.js +4 -2
- package/lib/openapi/serviceManagement/services/ServicedeskService.js.map +1 -1
- package/lib/openapi/software/BaseJiraSoftwareApiClient.js +2 -0
- package/lib/openapi/software/BaseJiraSoftwareApiClient.js.map +1 -1
- package/lib/openapi/software/models/board.d.ts +2 -3
- package/lib/openapi/software/models/board.js.map +1 -1
- package/lib/openapi/software/models/builds.d.ts +40 -2
- package/lib/openapi/software/models/builds.js.map +1 -1
- package/lib/openapi/software/models/common.d.ts +8 -2
- package/lib/openapi/software/models/common.js.map +1 -1
- package/lib/openapi/software/models/deployments.d.ts +36 -2
- package/lib/openapi/software/models/deployments.js.map +1 -1
- package/lib/openapi/software/models/devOpsComponents.d.ts +10 -4
- package/lib/openapi/software/models/devOpsComponents.js.map +1 -1
- package/lib/openapi/software/models/developmentInformation.d.ts +106 -0
- package/lib/openapi/software/models/developmentInformation.js.map +1 -1
- package/lib/openapi/software/models/featureFlags.d.ts +20 -4
- package/lib/openapi/software/models/featureFlags.js.map +1 -1
- package/lib/openapi/software/models/operations.d.ts +76 -16
- package/lib/openapi/software/models/operations.js.map +1 -1
- package/lib/openapi/software/models/remoteLinks.d.ts +49 -13
- package/lib/openapi/software/models/remoteLinks.js.map +1 -1
- package/lib/openapi/software/models/securityInformation.d.ts +60 -8
- package/lib/openapi/software/models/securityInformation.js.map +1 -1
- package/lib/openapi/software/services/BacklogService.d.ts +12 -12
- package/lib/openapi/software/services/BoardService.d.ts +14 -14
- package/lib/openapi/software/services/EpicService.d.ts +18 -18
- package/lib/openapi/software/services/IssueService.d.ts +8 -8
- package/lib/openapi/software/services/OperationsService.d.ts +8 -4
- package/lib/openapi/software/services/OperationsService.js.map +1 -1
- package/lib/openapi/software/services/RemoteLinksService.d.ts +4 -2
- package/lib/openapi/software/services/RemoteLinksService.js.map +1 -1
- package/lib/openapi/software/services/SprintService.d.ts +20 -20
- package/package.json +5 -4
- package/CHANGELOG.md +0 -430
|
@@ -0,0 +1,459 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PlansService = void 0;
|
|
4
|
+
// DO NOT EDIT!
|
|
5
|
+
// This file is generated by "api-typescript-generator".
|
|
6
|
+
// To update this file run "yarn build:openapi".
|
|
7
|
+
const zod_1 = require("zod");
|
|
8
|
+
const commonHttpClient = require("../../core/CommonHttpClient");
|
|
9
|
+
const CommonHttpService_1 = require("../../core/CommonHttpService");
|
|
10
|
+
const plans_1 = require("../models/plans");
|
|
11
|
+
const validationSchemaStorage_1 = require("../validationSchemaStorage");
|
|
12
|
+
/**
|
|
13
|
+
* This resource represents plans. Use it to get, create, duplicate, update, trash
|
|
14
|
+
* and archive plans.
|
|
15
|
+
*
|
|
16
|
+
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-plans
|
|
17
|
+
* @category Services
|
|
18
|
+
*/
|
|
19
|
+
class PlansService extends CommonHttpService_1.CommonHttpService {
|
|
20
|
+
constructor() {
|
|
21
|
+
super(...arguments);
|
|
22
|
+
/**
|
|
23
|
+
* Archives a plan.
|
|
24
|
+
*
|
|
25
|
+
* **[Permissions](#permissions) required:** *Administer Jira* [global
|
|
26
|
+
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
27
|
+
*
|
|
28
|
+
* @returns Returned if the request is successful.
|
|
29
|
+
* @path PUT `/rest/api/3/plans/plan/{planId}/archive`
|
|
30
|
+
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-plans#api-rest-api-3-plans-plan-planid-archive-put
|
|
31
|
+
* @param params
|
|
32
|
+
*/
|
|
33
|
+
this.archivePlan = ({ planId, }) => {
|
|
34
|
+
return this.getClientInstance()
|
|
35
|
+
.request({
|
|
36
|
+
path: "/rest/api/3/plans/plan/{planId}/archive",
|
|
37
|
+
method: "PUT",
|
|
38
|
+
pathParams: {
|
|
39
|
+
planId,
|
|
40
|
+
},
|
|
41
|
+
})
|
|
42
|
+
.then(this.getClientInstance().responseHandler({
|
|
43
|
+
204: {
|
|
44
|
+
"application/json": "json",
|
|
45
|
+
},
|
|
46
|
+
}))
|
|
47
|
+
.then(commonHttpClient.castResponse())
|
|
48
|
+
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("PlansService.archivePlan.response")))
|
|
49
|
+
.then(commonHttpClient.getBody);
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* Creates a plan.
|
|
53
|
+
*
|
|
54
|
+
* **[Permissions](#permissions) required:** *Administer Jira* [global
|
|
55
|
+
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
56
|
+
*
|
|
57
|
+
* @returns Returned if the request is successful.
|
|
58
|
+
* @path POST `/rest/api/3/plans/plan`
|
|
59
|
+
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-plans#api-rest-api-3-plans-plan-post
|
|
60
|
+
* @param params
|
|
61
|
+
*/
|
|
62
|
+
this.createPlan = ({ createPlanRequest, }) => {
|
|
63
|
+
return this.getClientInstance()
|
|
64
|
+
.request({
|
|
65
|
+
path: "/rest/api/3/plans/plan",
|
|
66
|
+
method: "POST",
|
|
67
|
+
headers: {
|
|
68
|
+
"Content-Type": "application/json",
|
|
69
|
+
},
|
|
70
|
+
body: createPlanRequest,
|
|
71
|
+
})
|
|
72
|
+
.then(this.getClientInstance().responseHandler({
|
|
73
|
+
201: {
|
|
74
|
+
"application/json": "json",
|
|
75
|
+
},
|
|
76
|
+
}))
|
|
77
|
+
.then(commonHttpClient.castResponse())
|
|
78
|
+
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("PlansService.createPlan.response")))
|
|
79
|
+
.then(commonHttpClient.getBody);
|
|
80
|
+
};
|
|
81
|
+
/**
|
|
82
|
+
* Duplicates a plan.
|
|
83
|
+
*
|
|
84
|
+
* **[Permissions](#permissions) required:** *Administer Jira* [global
|
|
85
|
+
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
86
|
+
*
|
|
87
|
+
* @returns Returned if the request is successful.
|
|
88
|
+
* @path POST `/rest/api/3/plans/plan/{planId}/duplicate`
|
|
89
|
+
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-plans#api-rest-api-3-plans-plan-planid-duplicate-post
|
|
90
|
+
* @param params
|
|
91
|
+
*/
|
|
92
|
+
this.duplicatePlan = ({ planId, duplicatePlanRequest, }) => {
|
|
93
|
+
return this.getClientInstance()
|
|
94
|
+
.request({
|
|
95
|
+
path: "/rest/api/3/plans/plan/{planId}/duplicate",
|
|
96
|
+
method: "POST",
|
|
97
|
+
pathParams: {
|
|
98
|
+
planId,
|
|
99
|
+
},
|
|
100
|
+
headers: {
|
|
101
|
+
"Content-Type": "application/json",
|
|
102
|
+
},
|
|
103
|
+
body: duplicatePlanRequest,
|
|
104
|
+
})
|
|
105
|
+
.then(this.getClientInstance().responseHandler({
|
|
106
|
+
201: {
|
|
107
|
+
"application/json": "json",
|
|
108
|
+
},
|
|
109
|
+
}))
|
|
110
|
+
.then(commonHttpClient.castResponse())
|
|
111
|
+
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("PlansService.duplicatePlan.response")))
|
|
112
|
+
.then(commonHttpClient.getBody);
|
|
113
|
+
};
|
|
114
|
+
/**
|
|
115
|
+
* Returns a plan.
|
|
116
|
+
*
|
|
117
|
+
* **[Permissions](#permissions) required:** *Administer Jira* [global
|
|
118
|
+
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
119
|
+
*
|
|
120
|
+
* @returns Returned if the request is successful.
|
|
121
|
+
*
|
|
122
|
+
* example:
|
|
123
|
+
* ```
|
|
124
|
+
* {
|
|
125
|
+
* "crossProjectReleases": [
|
|
126
|
+
* {
|
|
127
|
+
* "name": "x-plr",
|
|
128
|
+
* "releaseIds": [
|
|
129
|
+
* 345
|
|
130
|
+
* ]
|
|
131
|
+
* }
|
|
132
|
+
* ],
|
|
133
|
+
* "customFields": [
|
|
134
|
+
* {
|
|
135
|
+
* "customFieldId": 34,
|
|
136
|
+
* "filter": false
|
|
137
|
+
* },
|
|
138
|
+
* {
|
|
139
|
+
* "customFieldId": 39,
|
|
140
|
+
* "filter": true
|
|
141
|
+
* }
|
|
142
|
+
* ],
|
|
143
|
+
* "exclusionRules": {
|
|
144
|
+
* "issueIds": [
|
|
145
|
+
* 1,
|
|
146
|
+
* 2
|
|
147
|
+
* ],
|
|
148
|
+
* "issueTypeIds": [
|
|
149
|
+
* 13,
|
|
150
|
+
* 23
|
|
151
|
+
* ],
|
|
152
|
+
* "numberOfDaysToShowCompletedIssues": 50,
|
|
153
|
+
* "releaseIds": [
|
|
154
|
+
* 14,
|
|
155
|
+
* 24
|
|
156
|
+
* ],
|
|
157
|
+
* "workStatusCategoryIds": [
|
|
158
|
+
* 12,
|
|
159
|
+
* 22
|
|
160
|
+
* ],
|
|
161
|
+
* "workStatusIds": [
|
|
162
|
+
* 11,
|
|
163
|
+
* 21
|
|
164
|
+
* ]
|
|
165
|
+
* },
|
|
166
|
+
* "id": 23,
|
|
167
|
+
* "issueSources": [
|
|
168
|
+
* {
|
|
169
|
+
* "type": "Project",
|
|
170
|
+
* "value": 12
|
|
171
|
+
* },
|
|
172
|
+
* {
|
|
173
|
+
* "type": "Filter",
|
|
174
|
+
* "value": 10293
|
|
175
|
+
* }
|
|
176
|
+
* ],
|
|
177
|
+
* "lastSaved": "2024-10-03T10:15:30Z",
|
|
178
|
+
* "leadAccountId": "628f5e86d5ec1f006ne7363x2s",
|
|
179
|
+
* "name": "Onset TBJ Plan",
|
|
180
|
+
* "permissions": [
|
|
181
|
+
* {
|
|
182
|
+
* "holder": {
|
|
183
|
+
* "type": "AccountId",
|
|
184
|
+
* "value": "04jekw86d5jjje006ne7363x2s"
|
|
185
|
+
* },
|
|
186
|
+
* "type": "Edit"
|
|
187
|
+
* }
|
|
188
|
+
* ],
|
|
189
|
+
* "scheduling": {
|
|
190
|
+
* "dependencies": "Concurrent",
|
|
191
|
+
* "endDate": {
|
|
192
|
+
* "dateCustomFieldId": 1098,
|
|
193
|
+
* "type": "DateCustomField"
|
|
194
|
+
* },
|
|
195
|
+
* "estimation": "Hours",
|
|
196
|
+
* "inferredDates": "ReleaseDates",
|
|
197
|
+
* "startDate": {
|
|
198
|
+
* "type": "TargetStartDate"
|
|
199
|
+
* }
|
|
200
|
+
* },
|
|
201
|
+
* "status": "Active"
|
|
202
|
+
* }
|
|
203
|
+
* ```
|
|
204
|
+
* @path GET `/rest/api/3/plans/plan/{planId}`
|
|
205
|
+
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-plans#api-rest-api-3-plans-plan-planid-get
|
|
206
|
+
* @param params
|
|
207
|
+
*/
|
|
208
|
+
this.getPlan = ({ planId, }) => {
|
|
209
|
+
return this.getClientInstance()
|
|
210
|
+
.request({
|
|
211
|
+
path: "/rest/api/3/plans/plan/{planId}",
|
|
212
|
+
method: "GET",
|
|
213
|
+
pathParams: {
|
|
214
|
+
planId,
|
|
215
|
+
},
|
|
216
|
+
})
|
|
217
|
+
.then(this.getClientInstance().responseHandler({
|
|
218
|
+
200: {
|
|
219
|
+
"application/json": "json",
|
|
220
|
+
},
|
|
221
|
+
}))
|
|
222
|
+
.then(commonHttpClient.castResponse())
|
|
223
|
+
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("PlansService.getPlan.response")))
|
|
224
|
+
.then(commonHttpClient.getBody);
|
|
225
|
+
};
|
|
226
|
+
/**
|
|
227
|
+
* Returns a [paginated](#pagination) list of plans.
|
|
228
|
+
*
|
|
229
|
+
* **[Permissions](#permissions) required:** *Administer Jira* [global
|
|
230
|
+
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
231
|
+
*
|
|
232
|
+
* @returns Returned if the request is successful.
|
|
233
|
+
*
|
|
234
|
+
* example:
|
|
235
|
+
* ```
|
|
236
|
+
* {
|
|
237
|
+
* "cursor": "",
|
|
238
|
+
* "isLast": true,
|
|
239
|
+
* "maxResults": 2,
|
|
240
|
+
* "nextPageCursor": "2",
|
|
241
|
+
* "total": 10,
|
|
242
|
+
* "values": [
|
|
243
|
+
* {
|
|
244
|
+
* "id": "100",
|
|
245
|
+
* "issueSources": [
|
|
246
|
+
* {
|
|
247
|
+
* "type": "Project",
|
|
248
|
+
* "value": 10000
|
|
249
|
+
* }
|
|
250
|
+
* ],
|
|
251
|
+
* "name": "Plan 1",
|
|
252
|
+
* "status": "Active"
|
|
253
|
+
* },
|
|
254
|
+
* {
|
|
255
|
+
* "id": "200",
|
|
256
|
+
* "issueSources": [
|
|
257
|
+
* {
|
|
258
|
+
* "type": "Board",
|
|
259
|
+
* "value": 20000
|
|
260
|
+
* }
|
|
261
|
+
* ],
|
|
262
|
+
* "name": "Plan 2",
|
|
263
|
+
* "status": "Trashed"
|
|
264
|
+
* }
|
|
265
|
+
* ]
|
|
266
|
+
* }
|
|
267
|
+
* ```
|
|
268
|
+
* @path GET `/rest/api/3/plans/plan`
|
|
269
|
+
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-plans#api-rest-api-3-plans-plan-get
|
|
270
|
+
* @param params
|
|
271
|
+
*/
|
|
272
|
+
this.getPlans = ({ includeTrashed, includeArchived, cursor, maxResults, } = {}) => {
|
|
273
|
+
return this.getClientInstance()
|
|
274
|
+
.request({
|
|
275
|
+
path: "/rest/api/3/plans/plan",
|
|
276
|
+
method: "GET",
|
|
277
|
+
query: {
|
|
278
|
+
includeTrashed,
|
|
279
|
+
includeArchived,
|
|
280
|
+
cursor,
|
|
281
|
+
maxResults,
|
|
282
|
+
},
|
|
283
|
+
})
|
|
284
|
+
.then(this.getClientInstance().responseHandler({
|
|
285
|
+
200: {
|
|
286
|
+
"application/json": "json",
|
|
287
|
+
},
|
|
288
|
+
}))
|
|
289
|
+
.then(commonHttpClient.castResponse())
|
|
290
|
+
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("PlansService.getPlans.response")))
|
|
291
|
+
.then(commonHttpClient.getBody);
|
|
292
|
+
};
|
|
293
|
+
/**
|
|
294
|
+
* Moves a plan to trash.
|
|
295
|
+
*
|
|
296
|
+
* **[Permissions](#permissions) required:** *Administer Jira* [global
|
|
297
|
+
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
298
|
+
*
|
|
299
|
+
* @returns Returned if the request is successful.
|
|
300
|
+
* @path PUT `/rest/api/3/plans/plan/{planId}/trash`
|
|
301
|
+
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-plans#api-rest-api-3-plans-plan-planid-trash-put
|
|
302
|
+
* @param params
|
|
303
|
+
*/
|
|
304
|
+
this.trashPlan = ({ planId, }) => {
|
|
305
|
+
return this.getClientInstance()
|
|
306
|
+
.request({
|
|
307
|
+
path: "/rest/api/3/plans/plan/{planId}/trash",
|
|
308
|
+
method: "PUT",
|
|
309
|
+
pathParams: {
|
|
310
|
+
planId,
|
|
311
|
+
},
|
|
312
|
+
})
|
|
313
|
+
.then(this.getClientInstance().responseHandler({
|
|
314
|
+
204: {
|
|
315
|
+
"application/json": "json",
|
|
316
|
+
},
|
|
317
|
+
}))
|
|
318
|
+
.then(commonHttpClient.castResponse())
|
|
319
|
+
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("PlansService.trashPlan.response")))
|
|
320
|
+
.then(commonHttpClient.getBody);
|
|
321
|
+
};
|
|
322
|
+
/**
|
|
323
|
+
* Updates any of the following details of a plan using [JSON
|
|
324
|
+
* Patch](https://datatracker.ietf.org/doc/html/rfc6902).
|
|
325
|
+
*
|
|
326
|
+
* * name
|
|
327
|
+
* * leadAccountId
|
|
328
|
+
* * scheduling
|
|
329
|
+
*
|
|
330
|
+
* * estimation with StoryPoints, Days or Hours as possible values
|
|
331
|
+
* * startDate
|
|
332
|
+
*
|
|
333
|
+
* * type with DueDate, TargetStartDate, TargetEndDate or
|
|
334
|
+
* DateCustomField as possible values
|
|
335
|
+
* * dateCustomFieldId
|
|
336
|
+
* * endDate
|
|
337
|
+
*
|
|
338
|
+
* * type with DueDate, TargetStartDate, TargetEndDate or
|
|
339
|
+
* DateCustomField as possible values
|
|
340
|
+
* * dateCustomFieldId
|
|
341
|
+
* * inferredDates with None, SprintDates or ReleaseDates as possible values
|
|
342
|
+
* * dependencies with Sequential or Concurrent as possible values
|
|
343
|
+
* * issueSources
|
|
344
|
+
*
|
|
345
|
+
* * type with Board, Project or Filter as possible values
|
|
346
|
+
* * value
|
|
347
|
+
* * exclusionRules
|
|
348
|
+
*
|
|
349
|
+
* * numberOfDaysToShowCompletedIssues
|
|
350
|
+
* * issueIds
|
|
351
|
+
* * workStatusIds
|
|
352
|
+
* * workStatusCategoryIds
|
|
353
|
+
* * issueTypeIds
|
|
354
|
+
* * releaseIds
|
|
355
|
+
* * crossProjectReleases
|
|
356
|
+
*
|
|
357
|
+
* * name
|
|
358
|
+
* * releaseIds
|
|
359
|
+
* * customFields
|
|
360
|
+
*
|
|
361
|
+
* * customFieldId
|
|
362
|
+
* * filter
|
|
363
|
+
* * permissions
|
|
364
|
+
*
|
|
365
|
+
* * type with View or Edit as possible values
|
|
366
|
+
* * holder
|
|
367
|
+
*
|
|
368
|
+
* * type with Group or AccountId as possible values
|
|
369
|
+
* * value
|
|
370
|
+
*
|
|
371
|
+
* **[Permissions](#permissions) required:** *Administer Jira* [global
|
|
372
|
+
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
373
|
+
*
|
|
374
|
+
* *Note that "add" operations do not respect array indexes in target locations.
|
|
375
|
+
* Call the "Get plan" endpoint to find out the order of array elements.*
|
|
376
|
+
*
|
|
377
|
+
* @returns Returned if the request is successful.
|
|
378
|
+
* @path PUT `/rest/api/3/plans/plan/{planId}`
|
|
379
|
+
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-plans#api-rest-api-3-plans-plan-planid-put
|
|
380
|
+
* @param params
|
|
381
|
+
*/
|
|
382
|
+
this.updatePlan = ({ planId, requestBody, }) => {
|
|
383
|
+
return this.getClientInstance()
|
|
384
|
+
.request({
|
|
385
|
+
path: "/rest/api/3/plans/plan/{planId}",
|
|
386
|
+
method: "PUT",
|
|
387
|
+
pathParams: {
|
|
388
|
+
planId,
|
|
389
|
+
},
|
|
390
|
+
headers: {
|
|
391
|
+
"Content-Type": "application/json-patch+json",
|
|
392
|
+
},
|
|
393
|
+
body: requestBody,
|
|
394
|
+
})
|
|
395
|
+
.then(this.getClientInstance().responseHandler({
|
|
396
|
+
204: {
|
|
397
|
+
"application/json": "json",
|
|
398
|
+
},
|
|
399
|
+
}))
|
|
400
|
+
.then(commonHttpClient.castResponse())
|
|
401
|
+
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("PlansService.updatePlan.response")))
|
|
402
|
+
.then(commonHttpClient.getBody);
|
|
403
|
+
};
|
|
404
|
+
}
|
|
405
|
+
static initialize() {
|
|
406
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("PlansService.getPlans.response", zod_1.z
|
|
407
|
+
.object({
|
|
408
|
+
status: zod_1.z.literal(200),
|
|
409
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
410
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("PageWithCursorGetPlanResponseForPage"),
|
|
411
|
+
})
|
|
412
|
+
.describe("PlansService.getPlans.response"));
|
|
413
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("PlansService.createPlan.response", zod_1.z
|
|
414
|
+
.object({
|
|
415
|
+
status: zod_1.z.literal(201),
|
|
416
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
417
|
+
body: zod_1.z.number().int(),
|
|
418
|
+
})
|
|
419
|
+
.describe("PlansService.createPlan.response"));
|
|
420
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("PlansService.getPlan.response", zod_1.z
|
|
421
|
+
.object({
|
|
422
|
+
status: zod_1.z.literal(200),
|
|
423
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
424
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("GetPlanResponse"),
|
|
425
|
+
})
|
|
426
|
+
.describe("PlansService.getPlan.response"));
|
|
427
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("PlansService.updatePlan.response", zod_1.z
|
|
428
|
+
.object({
|
|
429
|
+
status: zod_1.z.literal(204),
|
|
430
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
431
|
+
body: zod_1.z.unknown(),
|
|
432
|
+
})
|
|
433
|
+
.describe("PlansService.updatePlan.response"));
|
|
434
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("PlansService.archivePlan.response", zod_1.z
|
|
435
|
+
.object({
|
|
436
|
+
status: zod_1.z.literal(204),
|
|
437
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
438
|
+
body: zod_1.z.unknown(),
|
|
439
|
+
})
|
|
440
|
+
.describe("PlansService.archivePlan.response"));
|
|
441
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("PlansService.duplicatePlan.response", zod_1.z
|
|
442
|
+
.object({
|
|
443
|
+
status: zod_1.z.literal(201),
|
|
444
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
445
|
+
body: zod_1.z.number().int(),
|
|
446
|
+
})
|
|
447
|
+
.describe("PlansService.duplicatePlan.response"));
|
|
448
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("PlansService.trashPlan.response", zod_1.z
|
|
449
|
+
.object({
|
|
450
|
+
status: zod_1.z.literal(204),
|
|
451
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
452
|
+
body: zod_1.z.unknown(),
|
|
453
|
+
})
|
|
454
|
+
.describe("PlansService.trashPlan.response"));
|
|
455
|
+
validationSchemaStorage_1.validationSchemaStorage.registerOnce([plans_1.registerPlansValidationSchemas]);
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
exports.PlansService = PlansService;
|
|
459
|
+
//# sourceMappingURL=PlansService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlansService.js","sourceRoot":"","sources":["../../../../src/openapi/platform/services/PlansService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,gEAAgE;AAChE,oEAAiE;AACjE,2CAMyB;AACzB,wEAAqE;AACrE;;;;;;GAMG;AACH,MAAa,YAAa,SAAQ,qCAAiB;IAAnD;;QACE;;;;;;;;;;WAUG;QACH,gBAAW,GAAG,CAAC,EACb,MAAM,GAIP,EAAiB,EAAE;YAClB,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,yCAAyC;gBAC/C,MAAM,EAAE,KAAK;gBACb,UAAU,EAAE;oBACV,MAAM;iBACP;aACF,CAAC;iBACD,IAAI,CACH,IAAI,CAAC,iBAAiB,EAAE,CAAC,eAAe,CAAC;gBACvC,GAAG,EAAE;oBACH,kBAAkB,EAAE,MAAM;iBAC3B;aACF,CAAC,CACH;iBACA,IAAI,CACH,gBAAgB,CAAC,YAAY,EAIzB,CACL;iBACA,IAAI,CACH,IAAI,CAAC,iBAAiB,EAAE,CAAC,UAAU,CACjC,iDAAuB,CAAC,SAAS,CAC/B,mCAAmC,CACpC,CACF,CACF;iBACA,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;QACpC,CAAC,CAAC;QACF;;;;;;;;;;WAUG;QACH,eAAU,GAAG,CAAC,EACZ,iBAAiB,GA8ElB,EAAmB,EAAE;YACpB,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,wBAAwB;gBAC9B,MAAM,EAAE,MAAM;gBACd,OAAO,EAAE;oBACP,cAAc,EAAE,kBAAkB;iBACnC;gBACD,IAAI,EAAE,iBAAiB;aACxB,CAAC;iBACD,IAAI,CACH,IAA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,OAAO,EAAE;SAClB,CAAC;aACD,QAAQ,CAAC,kCAAkC,CAAC,CAChD,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,mCAAmC,EACnC,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,mCAAmC,CAAC,CACjD,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,qCAAqC,EACrC,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,MAAM,EAAE,CAAC,GAAG,EAAE;SACvB,CAAC;aACD,QAAQ,CAAC,qCAAqC,CAAC,CACnD,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,iCAAiC,EACjC,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,iCAAiC,CAAC,CAC/C,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC,CAAC,sCAA8B,CAAC,CAAC,CAAC;IACzE,CAAC;CACF;AAnrBD,oCAmrBC"}
|
|
@@ -60,28 +60,28 @@ export declare class PrioritySchemesService extends CommonHttpService {
|
|
|
60
60
|
/**
|
|
61
61
|
* @example
|
|
62
62
|
* {
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
|
-
* },
|
|
72
|
-
* "out": {}
|
|
63
|
+
* "defaultPriorityId": 10001,
|
|
64
|
+
* "description": "My priority scheme description",
|
|
65
|
+
* "mappings": {
|
|
66
|
+
* "in": {
|
|
67
|
+
* "10002": 10000,
|
|
68
|
+
* "10005": 10001,
|
|
69
|
+
* "10006": 10001,
|
|
70
|
+
* "10008": 10003
|
|
73
71
|
* },
|
|
74
|
-
* "
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
*
|
|
78
|
-
*
|
|
79
|
-
*
|
|
80
|
-
*
|
|
81
|
-
*
|
|
82
|
-
*
|
|
83
|
-
*
|
|
84
|
-
*
|
|
72
|
+
* "out": {}
|
|
73
|
+
* },
|
|
74
|
+
* "name": "My new priority scheme",
|
|
75
|
+
* "priorityIds": [
|
|
76
|
+
* 10000,
|
|
77
|
+
* 10001,
|
|
78
|
+
* 10003
|
|
79
|
+
* ],
|
|
80
|
+
* "projectIds": [
|
|
81
|
+
* 10005,
|
|
82
|
+
* 10006,
|
|
83
|
+
* 10007
|
|
84
|
+
* ]
|
|
85
85
|
* }
|
|
86
86
|
*/
|
|
87
87
|
createPrioritySchemeDetails: CreatePrioritySchemeDetails;
|
|
@@ -442,23 +442,23 @@ export declare class PrioritySchemesService extends CommonHttpService {
|
|
|
442
442
|
/**
|
|
443
443
|
* @example
|
|
444
444
|
* {
|
|
445
|
-
*
|
|
446
|
-
*
|
|
447
|
-
*
|
|
448
|
-
*
|
|
449
|
-
*
|
|
450
|
-
*
|
|
451
|
-
*
|
|
452
|
-
*
|
|
453
|
-
*
|
|
454
|
-
*
|
|
455
|
-
*
|
|
456
|
-
*
|
|
457
|
-
*
|
|
458
|
-
*
|
|
459
|
-
*
|
|
460
|
-
*
|
|
461
|
-
*
|
|
445
|
+
* "maxResults": 50,
|
|
446
|
+
* "priorities": {
|
|
447
|
+
* "add": [
|
|
448
|
+
* 10001,
|
|
449
|
+
* 10002
|
|
450
|
+
* ],
|
|
451
|
+
* "remove": [
|
|
452
|
+
* 10003
|
|
453
|
+
* ]
|
|
454
|
+
* },
|
|
455
|
+
* "projects": {
|
|
456
|
+
* "add": [
|
|
457
|
+
* 10021
|
|
458
|
+
* ]
|
|
459
|
+
* },
|
|
460
|
+
* "schemeId": 10005,
|
|
461
|
+
* "startAt": 0
|
|
462
462
|
* }
|
|
463
463
|
*/
|
|
464
464
|
suggestedMappingsRequestBean: SuggestedMappingsRequestBean;
|
|
@@ -566,55 +566,55 @@ export declare class PrioritySchemesService extends CommonHttpService {
|
|
|
566
566
|
/**
|
|
567
567
|
* @example
|
|
568
568
|
* {
|
|
569
|
-
*
|
|
570
|
-
*
|
|
571
|
-
*
|
|
572
|
-
*
|
|
573
|
-
*
|
|
574
|
-
* },
|
|
575
|
-
* "out": {
|
|
576
|
-
* "10004": 10001
|
|
577
|
-
* }
|
|
569
|
+
* "defaultPriorityId": 10001,
|
|
570
|
+
* "description": "My priority scheme description",
|
|
571
|
+
* "mappings": {
|
|
572
|
+
* "in": {
|
|
573
|
+
* "10005": 10002
|
|
578
574
|
* },
|
|
579
|
-
* "
|
|
580
|
-
*
|
|
581
|
-
*
|
|
582
|
-
*
|
|
583
|
-
*
|
|
584
|
-
*
|
|
585
|
-
*
|
|
586
|
-
*
|
|
587
|
-
*
|
|
588
|
-
*
|
|
589
|
-
*
|
|
590
|
-
* 10004
|
|
591
|
-
* ],
|
|
592
|
-
* "mappings": [
|
|
593
|
-
* {
|
|
594
|
-
* "in": {
|
|
595
|
-
* "10001": 10011
|
|
596
|
-
* },
|
|
597
|
-
* "out": {
|
|
598
|
-
* "10012": 10002
|
|
599
|
-
* }
|
|
600
|
-
* }
|
|
601
|
-
* ]
|
|
602
|
-
* }
|
|
575
|
+
* "out": {
|
|
576
|
+
* "10004": 10001
|
|
577
|
+
* }
|
|
578
|
+
* },
|
|
579
|
+
* "name": "My new priority scheme",
|
|
580
|
+
* "priorities": {
|
|
581
|
+
* "add": {
|
|
582
|
+
* "ids": [
|
|
583
|
+
* 10001,
|
|
584
|
+
* 10002
|
|
585
|
+
* ]
|
|
603
586
|
* },
|
|
604
|
-
* "
|
|
605
|
-
*
|
|
606
|
-
*
|
|
607
|
-
*
|
|
608
|
-
*
|
|
609
|
-
*
|
|
610
|
-
*
|
|
611
|
-
*
|
|
612
|
-
* "
|
|
613
|
-
*
|
|
614
|
-
*
|
|
615
|
-
*
|
|
587
|
+
* "remove": {
|
|
588
|
+
* "ids": [
|
|
589
|
+
* 10003,
|
|
590
|
+
* 10004
|
|
591
|
+
* ],
|
|
592
|
+
* "mappings": [
|
|
593
|
+
* {
|
|
594
|
+
* "in": {
|
|
595
|
+
* "10001": 10011
|
|
596
|
+
* },
|
|
597
|
+
* "out": {
|
|
598
|
+
* "10012": 10002
|
|
599
|
+
* }
|
|
616
600
|
* }
|
|
601
|
+
* ]
|
|
602
|
+
* }
|
|
603
|
+
* },
|
|
604
|
+
* "projects": {
|
|
605
|
+
* "add": {
|
|
606
|
+
* "ids": [
|
|
607
|
+
* 10101,
|
|
608
|
+
* 10102
|
|
609
|
+
* ]
|
|
610
|
+
* },
|
|
611
|
+
* "remove": {
|
|
612
|
+
* "ids": [
|
|
613
|
+
* 10103,
|
|
614
|
+
* 10104
|
|
615
|
+
* ]
|
|
617
616
|
* }
|
|
617
|
+
* }
|
|
618
618
|
* }
|
|
619
619
|
*/
|
|
620
620
|
updatePrioritySchemeRequestBean: UpdatePrioritySchemeRequestBean;
|