@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
|
@@ -158,9 +158,7 @@ class PermissionSchemesService extends CommonHttpService_1.CommonHttpService {
|
|
|
158
158
|
};
|
|
159
159
|
/**
|
|
160
160
|
* Deletes a permission grant from a permission scheme. See [About permission
|
|
161
|
-
* schemes and
|
|
162
|
-
* grants](../api-group-permission-schemes/#about-permission-schemes-and-grants)
|
|
163
|
-
* for more details.
|
|
161
|
+
* schemes and grants](../services/PermissionSchemesService.ts) for more details.
|
|
164
162
|
*
|
|
165
163
|
* **[Permissions](#permissions) required:** *Administer Jira* [global
|
|
166
164
|
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
@@ -515,8 +513,7 @@ class PermissionSchemesService extends CommonHttpService_1.CommonHttpService {
|
|
|
515
513
|
* entity](#api-rest-api-3-permissionscheme-schemeId-permission-permissionId-delete).
|
|
516
514
|
*
|
|
517
515
|
* See [About permission schemes and
|
|
518
|
-
* grants](../
|
|
519
|
-
* for more details.
|
|
516
|
+
* grants](../services/PermissionSchemesService.ts) for more details.
|
|
520
517
|
*
|
|
521
518
|
* **[Permissions](#permissions) required:** *Administer Jira* [global
|
|
522
519
|
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PermissionSchemesService.js","sourceRoot":"","sources":["../../../../src/openapi/platform/services/PermissionSchemesService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,gEAAgE;AAChE,oEAAiE;AACjE,6CAG0B;AAC1B,mEAKqC;AACrC,wEAAqE;AACrE;;;;;;;GAOG;AACH,MAAa,wBAAyB,SAAQ,qCAAiB;IAA/D;;QACE;;;;;;;;;;;;;;;;;;;;;;;;;;;WA2BG;QACH,0BAAqB,GAAG,CAAC,EACvB,QAAQ,EACR,MAAM,EACN,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CAAC,iBAAiB,EAAE,CAAC,UAAU,CACjC,iDAAuB,CAAC,SAAS,CAC/B,0DAA0D,CAC3D,CACF,CACF;iBACA,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;QACpC,CAAC,CAAC;QACF;;;;;;;;;;;WAWG;QACH,2BAAsB,GAAG,CAAC,EACxB,QAAQ,GAIT,EAAiB,EAAE;YAClB,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,yCAAyC;gBAC/C,MAAM,EAAE,QAAQ;gBAChB,UAAU,EAAE;oBACV,QAAQ;iBACT;aACF,CAAC;iBACD,IAAI,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC;QAC1C,CAAC,CAAC;QACF
|
|
1
|
+
{"version":3,"file":"PermissionSchemesService.js","sourceRoot":"","sources":["../../../../src/openapi/platform/services/PermissionSchemesService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,gEAAgE;AAChE,oEAAiE;AACjE,6CAG0B;AAC1B,mEAKqC;AACrC,wEAAqE;AACrE;;;;;;;GAOG;AACH,MAAa,wBAAyB,SAAQ,qCAAiB;IAA/D;;QACE;;;;;;;;;;;;;;;;;;;;;;;;;;;WA2BG;QACH,0BAAqB,GAAG,CAAC,EACvB,QAAQ,EACR,MAAM,EACN,eAAe,GAgChB,EAA4B,EAAE;YAC7B,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,oDAAoD;gBAC1D,MAAM,EAAE,MAAM;gBACd,UAAU,EAAE;oBACV,QAAQ;iBACT;gBACD,KAAK,EAAE;oBACL,MAAM;iBACP;gBACD,OAAO,EAAE;oBACP,cAAc,EAAE,kBAAkB;iBACnC;gBACD,IAAI,EAAE,eAAe;aACtB,CAAC;iBACD,IAAI,CACH,IAAI,CAAC,iBAAiB,EAAE,CAAC,eAAe,CAAC;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A4D,CAAC,CAC1E,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC;YACnC,8DAA0C;YAC1C,wCAA+B;SAChC,CAAC,CAAC;IACL,CAAC;CACF;AAt6BD,4DAs6BC"}
|
|
@@ -109,27 +109,27 @@ export declare class PermissionsService extends CommonHttpService {
|
|
|
109
109
|
*
|
|
110
110
|
* @example
|
|
111
111
|
* {
|
|
112
|
-
*
|
|
113
|
-
*
|
|
114
|
-
*
|
|
115
|
-
*
|
|
116
|
-
*
|
|
117
|
-
*
|
|
118
|
-
*
|
|
119
|
-
*
|
|
120
|
-
*
|
|
121
|
-
*
|
|
122
|
-
*
|
|
123
|
-
*
|
|
124
|
-
*
|
|
125
|
-
*
|
|
126
|
-
*
|
|
127
|
-
*
|
|
128
|
-
*
|
|
129
|
-
*
|
|
130
|
-
*
|
|
131
|
-
*
|
|
132
|
-
*
|
|
112
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
113
|
+
* "globalPermissions": [
|
|
114
|
+
* "ADMINISTER"
|
|
115
|
+
* ],
|
|
116
|
+
* "projectPermissions": [
|
|
117
|
+
* {
|
|
118
|
+
* "issues": [
|
|
119
|
+
* 10010,
|
|
120
|
+
* 10011,
|
|
121
|
+
* 10012,
|
|
122
|
+
* 10013,
|
|
123
|
+
* 10014
|
|
124
|
+
* ],
|
|
125
|
+
* "permissions": [
|
|
126
|
+
* "EDIT_ISSUES"
|
|
127
|
+
* ],
|
|
128
|
+
* "projects": [
|
|
129
|
+
* 10001
|
|
130
|
+
* ]
|
|
131
|
+
* }
|
|
132
|
+
* ]
|
|
133
133
|
* }
|
|
134
134
|
*/
|
|
135
135
|
bulkPermissionsRequestBean: BulkPermissionsRequestBean;
|
|
@@ -0,0 +1,389 @@
|
|
|
1
|
+
import { CommonHttpService } from "../../core/CommonHttpService";
|
|
2
|
+
import { type CreatePlanRequest, type DuplicatePlanRequest, type GetPlanResponse, type PageWithCursorGetPlanResponseForPage } from "../models/plans";
|
|
3
|
+
/**
|
|
4
|
+
* This resource represents plans. Use it to get, create, duplicate, update, trash
|
|
5
|
+
* and archive plans.
|
|
6
|
+
*
|
|
7
|
+
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-plans
|
|
8
|
+
* @category Services
|
|
9
|
+
*/
|
|
10
|
+
export declare class PlansService extends CommonHttpService {
|
|
11
|
+
/**
|
|
12
|
+
* Archives a plan.
|
|
13
|
+
*
|
|
14
|
+
* **[Permissions](#permissions) required:** *Administer Jira* [global
|
|
15
|
+
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
16
|
+
*
|
|
17
|
+
* @returns Returned if the request is successful.
|
|
18
|
+
* @path PUT `/rest/api/3/plans/plan/{planId}/archive`
|
|
19
|
+
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-plans#api-rest-api-3-plans-plan-planid-archive-put
|
|
20
|
+
* @param params
|
|
21
|
+
*/
|
|
22
|
+
archivePlan: ({ planId, }: {
|
|
23
|
+
/** The ID of the plan. */
|
|
24
|
+
planId: number;
|
|
25
|
+
}) => Promise<void>;
|
|
26
|
+
/**
|
|
27
|
+
* Creates a plan.
|
|
28
|
+
*
|
|
29
|
+
* **[Permissions](#permissions) required:** *Administer Jira* [global
|
|
30
|
+
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
31
|
+
*
|
|
32
|
+
* @returns Returned if the request is successful.
|
|
33
|
+
* @path POST `/rest/api/3/plans/plan`
|
|
34
|
+
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-plans#api-rest-api-3-plans-plan-post
|
|
35
|
+
* @param params
|
|
36
|
+
*/
|
|
37
|
+
createPlan: ({ createPlanRequest, }: {
|
|
38
|
+
/**
|
|
39
|
+
* @example
|
|
40
|
+
* {
|
|
41
|
+
* "crossProjectReleases": [
|
|
42
|
+
* {
|
|
43
|
+
* "name": "AB and BC merge",
|
|
44
|
+
* "releaseIds": [
|
|
45
|
+
* 29,
|
|
46
|
+
* 39
|
|
47
|
+
* ]
|
|
48
|
+
* }
|
|
49
|
+
* ],
|
|
50
|
+
* "customFields": [
|
|
51
|
+
* {
|
|
52
|
+
* "customFieldId": 2335,
|
|
53
|
+
* "filter": true
|
|
54
|
+
* }
|
|
55
|
+
* ],
|
|
56
|
+
* "exclusionRules": {
|
|
57
|
+
* "issueIds": [
|
|
58
|
+
* 2,
|
|
59
|
+
* 3
|
|
60
|
+
* ],
|
|
61
|
+
* "issueTypeIds": [
|
|
62
|
+
* 32,
|
|
63
|
+
* 33
|
|
64
|
+
* ],
|
|
65
|
+
* "numberOfDaysToShowCompletedIssues": 50,
|
|
66
|
+
* "releaseIds": [
|
|
67
|
+
* 42,
|
|
68
|
+
* 43
|
|
69
|
+
* ],
|
|
70
|
+
* "workStatusCategoryIds": [
|
|
71
|
+
* 22,
|
|
72
|
+
* 23
|
|
73
|
+
* ],
|
|
74
|
+
* "workStatusIds": [
|
|
75
|
+
* 12,
|
|
76
|
+
* 13
|
|
77
|
+
* ]
|
|
78
|
+
* },
|
|
79
|
+
* "issueSources": [
|
|
80
|
+
* {
|
|
81
|
+
* "type": "Project",
|
|
82
|
+
* "value": 12
|
|
83
|
+
* },
|
|
84
|
+
* {
|
|
85
|
+
* "type": "Board",
|
|
86
|
+
* "value": 462
|
|
87
|
+
* }
|
|
88
|
+
* ],
|
|
89
|
+
* "leadAccountId": "abc-12-rbji",
|
|
90
|
+
* "name": "ABC Quaterly plan",
|
|
91
|
+
* "permissions": [
|
|
92
|
+
* {
|
|
93
|
+
* "holder": {
|
|
94
|
+
* "type": "AccountId",
|
|
95
|
+
* "value": "234-tgj-343"
|
|
96
|
+
* },
|
|
97
|
+
* "type": "Edit"
|
|
98
|
+
* }
|
|
99
|
+
* ],
|
|
100
|
+
* "scheduling": {
|
|
101
|
+
* "dependencies": "Sequential",
|
|
102
|
+
* "endDate": {
|
|
103
|
+
* "type": "DueDate"
|
|
104
|
+
* },
|
|
105
|
+
* "estimation": "Days",
|
|
106
|
+
* "inferredDates": "ReleaseDates",
|
|
107
|
+
* "startDate": {
|
|
108
|
+
* "type": "TargetStartDate"
|
|
109
|
+
* }
|
|
110
|
+
* }
|
|
111
|
+
* }
|
|
112
|
+
*/
|
|
113
|
+
createPlanRequest: CreatePlanRequest;
|
|
114
|
+
}) => Promise<number>;
|
|
115
|
+
/**
|
|
116
|
+
* Duplicates a plan.
|
|
117
|
+
*
|
|
118
|
+
* **[Permissions](#permissions) required:** *Administer Jira* [global
|
|
119
|
+
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
120
|
+
*
|
|
121
|
+
* @returns Returned if the request is successful.
|
|
122
|
+
* @path POST `/rest/api/3/plans/plan/{planId}/duplicate`
|
|
123
|
+
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-plans#api-rest-api-3-plans-plan-planid-duplicate-post
|
|
124
|
+
* @param params
|
|
125
|
+
*/
|
|
126
|
+
duplicatePlan: ({ planId, duplicatePlanRequest, }: {
|
|
127
|
+
/** The ID of the plan. */
|
|
128
|
+
planId: number;
|
|
129
|
+
/**
|
|
130
|
+
* @example
|
|
131
|
+
* {
|
|
132
|
+
* "name": "Copied Plan"
|
|
133
|
+
* }
|
|
134
|
+
*/
|
|
135
|
+
duplicatePlanRequest: DuplicatePlanRequest;
|
|
136
|
+
}) => Promise<number>;
|
|
137
|
+
/**
|
|
138
|
+
* Returns a plan.
|
|
139
|
+
*
|
|
140
|
+
* **[Permissions](#permissions) required:** *Administer Jira* [global
|
|
141
|
+
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
142
|
+
*
|
|
143
|
+
* @returns Returned if the request is successful.
|
|
144
|
+
*
|
|
145
|
+
* example:
|
|
146
|
+
* ```
|
|
147
|
+
* {
|
|
148
|
+
* "crossProjectReleases": [
|
|
149
|
+
* {
|
|
150
|
+
* "name": "x-plr",
|
|
151
|
+
* "releaseIds": [
|
|
152
|
+
* 345
|
|
153
|
+
* ]
|
|
154
|
+
* }
|
|
155
|
+
* ],
|
|
156
|
+
* "customFields": [
|
|
157
|
+
* {
|
|
158
|
+
* "customFieldId": 34,
|
|
159
|
+
* "filter": false
|
|
160
|
+
* },
|
|
161
|
+
* {
|
|
162
|
+
* "customFieldId": 39,
|
|
163
|
+
* "filter": true
|
|
164
|
+
* }
|
|
165
|
+
* ],
|
|
166
|
+
* "exclusionRules": {
|
|
167
|
+
* "issueIds": [
|
|
168
|
+
* 1,
|
|
169
|
+
* 2
|
|
170
|
+
* ],
|
|
171
|
+
* "issueTypeIds": [
|
|
172
|
+
* 13,
|
|
173
|
+
* 23
|
|
174
|
+
* ],
|
|
175
|
+
* "numberOfDaysToShowCompletedIssues": 50,
|
|
176
|
+
* "releaseIds": [
|
|
177
|
+
* 14,
|
|
178
|
+
* 24
|
|
179
|
+
* ],
|
|
180
|
+
* "workStatusCategoryIds": [
|
|
181
|
+
* 12,
|
|
182
|
+
* 22
|
|
183
|
+
* ],
|
|
184
|
+
* "workStatusIds": [
|
|
185
|
+
* 11,
|
|
186
|
+
* 21
|
|
187
|
+
* ]
|
|
188
|
+
* },
|
|
189
|
+
* "id": 23,
|
|
190
|
+
* "issueSources": [
|
|
191
|
+
* {
|
|
192
|
+
* "type": "Project",
|
|
193
|
+
* "value": 12
|
|
194
|
+
* },
|
|
195
|
+
* {
|
|
196
|
+
* "type": "Filter",
|
|
197
|
+
* "value": 10293
|
|
198
|
+
* }
|
|
199
|
+
* ],
|
|
200
|
+
* "lastSaved": "2024-10-03T10:15:30Z",
|
|
201
|
+
* "leadAccountId": "628f5e86d5ec1f006ne7363x2s",
|
|
202
|
+
* "name": "Onset TBJ Plan",
|
|
203
|
+
* "permissions": [
|
|
204
|
+
* {
|
|
205
|
+
* "holder": {
|
|
206
|
+
* "type": "AccountId",
|
|
207
|
+
* "value": "04jekw86d5jjje006ne7363x2s"
|
|
208
|
+
* },
|
|
209
|
+
* "type": "Edit"
|
|
210
|
+
* }
|
|
211
|
+
* ],
|
|
212
|
+
* "scheduling": {
|
|
213
|
+
* "dependencies": "Concurrent",
|
|
214
|
+
* "endDate": {
|
|
215
|
+
* "dateCustomFieldId": 1098,
|
|
216
|
+
* "type": "DateCustomField"
|
|
217
|
+
* },
|
|
218
|
+
* "estimation": "Hours",
|
|
219
|
+
* "inferredDates": "ReleaseDates",
|
|
220
|
+
* "startDate": {
|
|
221
|
+
* "type": "TargetStartDate"
|
|
222
|
+
* }
|
|
223
|
+
* },
|
|
224
|
+
* "status": "Active"
|
|
225
|
+
* }
|
|
226
|
+
* ```
|
|
227
|
+
* @path GET `/rest/api/3/plans/plan/{planId}`
|
|
228
|
+
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-plans#api-rest-api-3-plans-plan-planid-get
|
|
229
|
+
* @param params
|
|
230
|
+
*/
|
|
231
|
+
getPlan: ({ planId, }: {
|
|
232
|
+
/** The ID of the plan. */
|
|
233
|
+
planId: number;
|
|
234
|
+
}) => Promise<GetPlanResponse>;
|
|
235
|
+
/**
|
|
236
|
+
* Returns a [paginated](#pagination) list of plans.
|
|
237
|
+
*
|
|
238
|
+
* **[Permissions](#permissions) required:** *Administer Jira* [global
|
|
239
|
+
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
240
|
+
*
|
|
241
|
+
* @returns Returned if the request is successful.
|
|
242
|
+
*
|
|
243
|
+
* example:
|
|
244
|
+
* ```
|
|
245
|
+
* {
|
|
246
|
+
* "cursor": "",
|
|
247
|
+
* "isLast": true,
|
|
248
|
+
* "maxResults": 2,
|
|
249
|
+
* "nextPageCursor": "2",
|
|
250
|
+
* "total": 10,
|
|
251
|
+
* "values": [
|
|
252
|
+
* {
|
|
253
|
+
* "id": "100",
|
|
254
|
+
* "issueSources": [
|
|
255
|
+
* {
|
|
256
|
+
* "type": "Project",
|
|
257
|
+
* "value": 10000
|
|
258
|
+
* }
|
|
259
|
+
* ],
|
|
260
|
+
* "name": "Plan 1",
|
|
261
|
+
* "status": "Active"
|
|
262
|
+
* },
|
|
263
|
+
* {
|
|
264
|
+
* "id": "200",
|
|
265
|
+
* "issueSources": [
|
|
266
|
+
* {
|
|
267
|
+
* "type": "Board",
|
|
268
|
+
* "value": 20000
|
|
269
|
+
* }
|
|
270
|
+
* ],
|
|
271
|
+
* "name": "Plan 2",
|
|
272
|
+
* "status": "Trashed"
|
|
273
|
+
* }
|
|
274
|
+
* ]
|
|
275
|
+
* }
|
|
276
|
+
* ```
|
|
277
|
+
* @path GET `/rest/api/3/plans/plan`
|
|
278
|
+
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-plans#api-rest-api-3-plans-plan-get
|
|
279
|
+
* @param params
|
|
280
|
+
*/
|
|
281
|
+
getPlans: ({ includeTrashed, includeArchived, cursor, maxResults, }?: {
|
|
282
|
+
/** Whether to include trashed plans in the results. */
|
|
283
|
+
includeTrashed?: boolean | undefined;
|
|
284
|
+
/** Whether to include archived plans in the results. */
|
|
285
|
+
includeArchived?: boolean | undefined;
|
|
286
|
+
/** The cursor to start from. If not provided, the first page will be returned. */
|
|
287
|
+
cursor?: string | undefined;
|
|
288
|
+
/**
|
|
289
|
+
* The maximum number of plans to return per page. The maximum value is 50. The
|
|
290
|
+
* default value is 50.
|
|
291
|
+
*/
|
|
292
|
+
maxResults?: number | undefined;
|
|
293
|
+
}) => Promise<PageWithCursorGetPlanResponseForPage>;
|
|
294
|
+
/**
|
|
295
|
+
* Moves a plan to trash.
|
|
296
|
+
*
|
|
297
|
+
* **[Permissions](#permissions) required:** *Administer Jira* [global
|
|
298
|
+
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
299
|
+
*
|
|
300
|
+
* @returns Returned if the request is successful.
|
|
301
|
+
* @path PUT `/rest/api/3/plans/plan/{planId}/trash`
|
|
302
|
+
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-plans#api-rest-api-3-plans-plan-planid-trash-put
|
|
303
|
+
* @param params
|
|
304
|
+
*/
|
|
305
|
+
trashPlan: ({ planId, }: {
|
|
306
|
+
/** The ID of the plan. */
|
|
307
|
+
planId: number;
|
|
308
|
+
}) => Promise<void>;
|
|
309
|
+
/**
|
|
310
|
+
* Updates any of the following details of a plan using [JSON
|
|
311
|
+
* Patch](https://datatracker.ietf.org/doc/html/rfc6902).
|
|
312
|
+
*
|
|
313
|
+
* * name
|
|
314
|
+
* * leadAccountId
|
|
315
|
+
* * scheduling
|
|
316
|
+
*
|
|
317
|
+
* * estimation with StoryPoints, Days or Hours as possible values
|
|
318
|
+
* * startDate
|
|
319
|
+
*
|
|
320
|
+
* * type with DueDate, TargetStartDate, TargetEndDate or
|
|
321
|
+
* DateCustomField as possible values
|
|
322
|
+
* * dateCustomFieldId
|
|
323
|
+
* * endDate
|
|
324
|
+
*
|
|
325
|
+
* * type with DueDate, TargetStartDate, TargetEndDate or
|
|
326
|
+
* DateCustomField as possible values
|
|
327
|
+
* * dateCustomFieldId
|
|
328
|
+
* * inferredDates with None, SprintDates or ReleaseDates as possible values
|
|
329
|
+
* * dependencies with Sequential or Concurrent as possible values
|
|
330
|
+
* * issueSources
|
|
331
|
+
*
|
|
332
|
+
* * type with Board, Project or Filter as possible values
|
|
333
|
+
* * value
|
|
334
|
+
* * exclusionRules
|
|
335
|
+
*
|
|
336
|
+
* * numberOfDaysToShowCompletedIssues
|
|
337
|
+
* * issueIds
|
|
338
|
+
* * workStatusIds
|
|
339
|
+
* * workStatusCategoryIds
|
|
340
|
+
* * issueTypeIds
|
|
341
|
+
* * releaseIds
|
|
342
|
+
* * crossProjectReleases
|
|
343
|
+
*
|
|
344
|
+
* * name
|
|
345
|
+
* * releaseIds
|
|
346
|
+
* * customFields
|
|
347
|
+
*
|
|
348
|
+
* * customFieldId
|
|
349
|
+
* * filter
|
|
350
|
+
* * permissions
|
|
351
|
+
*
|
|
352
|
+
* * type with View or Edit as possible values
|
|
353
|
+
* * holder
|
|
354
|
+
*
|
|
355
|
+
* * type with Group or AccountId as possible values
|
|
356
|
+
* * value
|
|
357
|
+
*
|
|
358
|
+
* **[Permissions](#permissions) required:** *Administer Jira* [global
|
|
359
|
+
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
360
|
+
*
|
|
361
|
+
* *Note that "add" operations do not respect array indexes in target locations.
|
|
362
|
+
* Call the "Get plan" endpoint to find out the order of array elements.*
|
|
363
|
+
*
|
|
364
|
+
* @returns Returned if the request is successful.
|
|
365
|
+
* @path PUT `/rest/api/3/plans/plan/{planId}`
|
|
366
|
+
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-plans#api-rest-api-3-plans-plan-planid-put
|
|
367
|
+
* @param params
|
|
368
|
+
*/
|
|
369
|
+
updatePlan: ({ planId, requestBody, }: {
|
|
370
|
+
/** The ID of the plan. */
|
|
371
|
+
planId: number;
|
|
372
|
+
/**
|
|
373
|
+
* @example
|
|
374
|
+
* ```
|
|
375
|
+
* [
|
|
376
|
+
* {
|
|
377
|
+
* "op": "replace",
|
|
378
|
+
* "path": "/scheduling/estimation",
|
|
379
|
+
* "value": "Days"
|
|
380
|
+
* }
|
|
381
|
+
* ]
|
|
382
|
+
* ```
|
|
383
|
+
*/
|
|
384
|
+
requestBody: {
|
|
385
|
+
[key: string]: unknown;
|
|
386
|
+
};
|
|
387
|
+
}) => Promise<void>;
|
|
388
|
+
protected static initialize(): void;
|
|
389
|
+
}
|