@resolution/jira-api-client 0.5.2 → 0.5.4
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/CHANGELOG.md +22 -0
- package/README.md +51 -19
- package/lib/openapi/{platform/core → core}/CommonHttpClient.d.ts +54 -3
- package/lib/openapi/{serviceManagement/core → core}/CommonHttpClient.js +14 -0
- package/lib/openapi/core/CommonHttpClient.js.map +1 -0
- package/lib/openapi/{software/core → core}/CommonHttpService.d.ts +17 -0
- package/lib/openapi/{platform/core → core}/CommonHttpService.js +11 -0
- package/lib/openapi/core/CommonHttpService.js.map +1 -0
- package/lib/openapi/core/CommonValidationSchemaStorage.js.map +1 -0
- package/lib/openapi/platform/BaseJiraPlatformApiClient.d.ts +5 -5
- package/lib/openapi/platform/BaseJiraPlatformApiClient.js +3 -3
- package/lib/openapi/platform/BaseJiraPlatformApiClient.js.map +1 -1
- package/lib/openapi/platform/models/announcementBanner.d.ts +1 -1
- package/lib/openapi/platform/models/appDataPolicies.d.ts +1 -1
- package/lib/openapi/platform/models/appMigration.d.ts +13 -7
- package/lib/openapi/platform/models/appMigration.js.map +1 -1
- package/lib/openapi/platform/models/appProperties.d.ts +3 -2
- package/lib/openapi/platform/models/appProperties.js.map +1 -1
- package/lib/openapi/platform/models/auditRecords.d.ts +1 -1
- package/lib/openapi/platform/models/avatars.d.ts +1 -1
- package/lib/openapi/platform/models/classificationLevels.d.ts +1 -1
- package/lib/openapi/platform/models/common.d.ts +3 -5
- package/lib/openapi/platform/models/common.js.map +1 -1
- package/lib/openapi/platform/models/dashboards.d.ts +2 -3
- package/lib/openapi/platform/models/dashboards.js.map +1 -1
- package/lib/openapi/platform/models/dynamicModules.d.ts +5 -3
- package/lib/openapi/platform/models/dynamicModules.js.map +1 -1
- package/lib/openapi/platform/models/filterSharing.d.ts +1 -1
- package/lib/openapi/platform/models/filters.d.ts +1 -1
- package/lib/openapi/platform/models/groupAndUserPicker.d.ts +1 -1
- package/lib/openapi/platform/models/groups.d.ts +1 -1
- package/lib/openapi/platform/models/issueAttachments.d.ts +1 -1
- package/lib/openapi/platform/models/issueBulkOperations.d.ts +2 -3
- package/lib/openapi/platform/models/issueBulkOperations.js.map +1 -1
- package/lib/openapi/platform/models/issueCommentProperties.d.ts +1 -1
- package/lib/openapi/platform/models/issueComments.d.ts +1 -1
- package/lib/openapi/platform/models/issueCustomFieldConfigurationApps.d.ts +1 -1
- package/lib/openapi/platform/models/issueCustomFieldContexts.d.ts +1 -1
- package/lib/openapi/platform/models/issueCustomFieldOptions.d.ts +1 -1
- package/lib/openapi/platform/models/issueCustomFieldOptionsApps.d.ts +1 -1
- package/lib/openapi/platform/models/issueCustomFieldValuesApps.d.ts +1 -1
- package/lib/openapi/platform/models/issueFieldConfigurations.d.ts +1 -1
- package/lib/openapi/platform/models/issueFields.d.ts +1 -1
- package/lib/openapi/platform/models/issueLinkTypes.d.ts +1 -1
- package/lib/openapi/platform/models/issueLinks.d.ts +1 -1
- package/lib/openapi/platform/models/issueNotificationSchemes.d.ts +1 -1
- package/lib/openapi/platform/models/issuePriorities.d.ts +1 -1
- package/lib/openapi/platform/models/issueProperties.d.ts +1 -1
- package/lib/openapi/platform/models/issueRemoteLinks.d.ts +1 -1
- package/lib/openapi/platform/models/issueResolutions.d.ts +1 -1
- package/lib/openapi/platform/models/issueSearch.d.ts +2 -3
- package/lib/openapi/platform/models/issueSearch.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/issueTypeSchemes.d.ts +1 -1
- package/lib/openapi/platform/models/issueTypeScreenSchemes.d.ts +1 -1
- package/lib/openapi/platform/models/issueTypes.d.ts +1 -1
- package/lib/openapi/platform/models/issueVotes.d.ts +1 -1
- package/lib/openapi/platform/models/issueWatchers.d.ts +1 -1
- package/lib/openapi/platform/models/issueWorklogs.d.ts +1 -1
- package/lib/openapi/platform/models/issues.d.ts +16 -14
- package/lib/openapi/platform/models/issues.js.map +1 -1
- package/lib/openapi/platform/models/jiraExpressions.d.ts +8 -6
- package/lib/openapi/platform/models/jiraExpressions.js.map +1 -1
- package/lib/openapi/platform/models/jiraSettings.d.ts +1 -1
- package/lib/openapi/platform/models/jql.d.ts +9 -5
- package/lib/openapi/platform/models/jql.js.map +1 -1
- package/lib/openapi/platform/models/jqlFunctionsApps.d.ts +1 -1
- package/lib/openapi/platform/models/labels.d.ts +1 -1
- package/lib/openapi/platform/models/licenseMetrics.d.ts +1 -1
- package/lib/openapi/platform/models/myself.d.ts +1 -1
- package/lib/openapi/platform/models/permissionSchemes.d.ts +1 -1
- package/lib/openapi/platform/models/permissions.d.ts +2 -3
- package/lib/openapi/platform/models/permissions.js.map +1 -1
- package/lib/openapi/platform/models/prioritySchemes.d.ts +1 -1
- package/lib/openapi/platform/models/projectAvatars.d.ts +1 -1
- package/lib/openapi/platform/models/projectClassificationLevels.d.ts +1 -1
- package/lib/openapi/platform/models/projectComponents.d.ts +1 -1
- package/lib/openapi/platform/models/projectEmail.d.ts +1 -1
- package/lib/openapi/platform/models/projectFeatures.d.ts +1 -1
- package/lib/openapi/platform/models/projectPermissionSchemes.d.ts +1 -1
- package/lib/openapi/platform/models/projectRoleActors.d.ts +1 -1
- package/lib/openapi/platform/models/projectRoles.d.ts +1 -1
- package/lib/openapi/platform/models/projectTypes.d.ts +1 -1
- package/lib/openapi/platform/models/projectVersions.d.ts +1 -1
- package/lib/openapi/platform/models/projects.d.ts +1 -1
- package/lib/openapi/platform/models/screenSchemes.d.ts +2 -2
- package/lib/openapi/platform/models/screenSchemes.js +1 -1
- package/lib/openapi/platform/models/screenSchemes.js.map +1 -1
- package/lib/openapi/platform/models/screenTabFields.d.ts +1 -1
- package/lib/openapi/platform/models/screens.d.ts +1 -1
- package/lib/openapi/platform/models/serverInfo.d.ts +1 -1
- package/lib/openapi/platform/models/serviceRegistry.d.ts +3 -2
- package/lib/openapi/platform/models/serviceRegistry.js.map +1 -1
- package/lib/openapi/platform/models/status.d.ts +1 -1
- package/lib/openapi/platform/models/timeTracking.d.ts +1 -1
- package/lib/openapi/platform/models/uiModificationsApps.d.ts +1 -1
- package/lib/openapi/platform/models/userSearch.d.ts +1 -1
- package/lib/openapi/platform/models/users.d.ts +1 -1
- package/lib/openapi/platform/models/webhooks.d.ts +1 -1
- package/lib/openapi/platform/models/workflowSchemeDrafts.d.ts +1 -1
- package/lib/openapi/platform/models/workflowSchemeProjectAssociations.d.ts +1 -1
- package/lib/openapi/platform/models/workflowSchemes.d.ts +1 -1
- package/lib/openapi/platform/models/workflowTransitionProperties.d.ts +1 -1
- package/lib/openapi/platform/models/workflowTransitionRules.d.ts +1 -1
- package/lib/openapi/platform/models/workflows.d.ts +104 -70
- package/lib/openapi/platform/models/workflows.js +12 -0
- package/lib/openapi/platform/models/workflows.js.map +1 -1
- package/lib/openapi/platform/services/AnnouncementBannerService.d.ts +12 -9
- package/lib/openapi/platform/services/AnnouncementBannerService.js +10 -7
- package/lib/openapi/platform/services/AnnouncementBannerService.js.map +1 -1
- package/lib/openapi/platform/services/AppDataPoliciesService.d.ts +12 -5
- package/lib/openapi/platform/services/AppDataPoliciesService.js +13 -6
- package/lib/openapi/platform/services/AppDataPoliciesService.js.map +1 -1
- package/lib/openapi/platform/services/AppMigrationService.d.ts +13 -6
- package/lib/openapi/platform/services/AppMigrationService.js +12 -6
- package/lib/openapi/platform/services/AppMigrationService.js.map +1 -1
- package/lib/openapi/platform/services/AppPropertiesService.d.ts +43 -19
- package/lib/openapi/platform/services/AppPropertiesService.js +44 -20
- package/lib/openapi/platform/services/AppPropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/ApplicationRolesService.d.ts +20 -21
- package/lib/openapi/platform/services/ApplicationRolesService.js +21 -22
- package/lib/openapi/platform/services/ApplicationRolesService.js.map +1 -1
- package/lib/openapi/platform/services/AuditRecordsService.d.ts +7 -3
- package/lib/openapi/platform/services/AuditRecordsService.js +8 -4
- package/lib/openapi/platform/services/AuditRecordsService.js.map +1 -1
- package/lib/openapi/platform/services/AvatarsService.d.ts +45 -38
- package/lib/openapi/platform/services/AvatarsService.js +45 -38
- package/lib/openapi/platform/services/AvatarsService.js.map +1 -1
- package/lib/openapi/platform/services/ClassificationLevelsService.d.ts +16 -22
- package/lib/openapi/platform/services/ClassificationLevelsService.js +17 -23
- package/lib/openapi/platform/services/ClassificationLevelsService.js.map +1 -1
- package/lib/openapi/platform/services/DashboardsService.d.ts +140 -146
- package/lib/openapi/platform/services/DashboardsService.js +122 -130
- package/lib/openapi/platform/services/DashboardsService.js.map +1 -1
- package/lib/openapi/platform/services/DynamicModulesService.d.ts +6 -4
- package/lib/openapi/platform/services/DynamicModulesService.js +7 -5
- package/lib/openapi/platform/services/DynamicModulesService.js.map +1 -1
- package/lib/openapi/platform/services/FilterSharingService.d.ts +73 -96
- package/lib/openapi/platform/services/FilterSharingService.js +70 -95
- package/lib/openapi/platform/services/FilterSharingService.js.map +1 -1
- package/lib/openapi/platform/services/FiltersService.d.ts +179 -258
- package/lib/openapi/platform/services/FiltersService.js +174 -256
- package/lib/openapi/platform/services/FiltersService.js.map +1 -1
- package/lib/openapi/platform/services/GroupAndUserPickerService.d.ts +9 -7
- package/lib/openapi/platform/services/GroupAndUserPickerService.js +10 -8
- package/lib/openapi/platform/services/GroupAndUserPickerService.js.map +1 -1
- package/lib/openapi/platform/services/GroupsService.d.ts +43 -27
- package/lib/openapi/platform/services/GroupsService.js +40 -26
- package/lib/openapi/platform/services/GroupsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueAttachmentsService.d.ts +174 -170
- package/lib/openapi/platform/services/IssueAttachmentsService.js +175 -171
- package/lib/openapi/platform/services/IssueAttachmentsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueBulkOperationsService.d.ts +36 -20
- package/lib/openapi/platform/services/IssueBulkOperationsService.js +35 -20
- package/lib/openapi/platform/services/IssueBulkOperationsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCommentPropertiesService.d.ts +20 -10
- package/lib/openapi/platform/services/IssueCommentPropertiesService.js +21 -11
- package/lib/openapi/platform/services/IssueCommentPropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCommentsService.d.ts +66 -81
- package/lib/openapi/platform/services/IssueCommentsService.js +59 -71
- package/lib/openapi/platform/services/IssueCommentsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.d.ts +11 -5
- package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.js +10 -5
- package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCustomFieldContextsService.d.ts +72 -38
- package/lib/openapi/platform/services/IssueCustomFieldContextsService.js +55 -27
- package/lib/openapi/platform/services/IssueCustomFieldContextsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.d.ts +51 -29
- package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.js +48 -28
- package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCustomFieldOptionsService.d.ts +38 -17
- package/lib/openapi/platform/services/IssueCustomFieldOptionsService.js +33 -15
- package/lib/openapi/platform/services/IssueCustomFieldOptionsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.d.ts +9 -5
- package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.js +6 -4
- package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueFieldConfigurationsService.d.ts +78 -35
- package/lib/openapi/platform/services/IssueFieldConfigurationsService.js +63 -28
- package/lib/openapi/platform/services/IssueFieldConfigurationsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueFieldsService.d.ts +57 -47
- package/lib/openapi/platform/services/IssueFieldsService.js +52 -42
- package/lib/openapi/platform/services/IssueFieldsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueLinkTypesService.d.ts +30 -12
- package/lib/openapi/platform/services/IssueLinkTypesService.js +27 -11
- package/lib/openapi/platform/services/IssueLinkTypesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueLinksService.d.ts +21 -24
- package/lib/openapi/platform/services/IssueLinksService.js +20 -24
- package/lib/openapi/platform/services/IssueLinksService.js.map +1 -1
- package/lib/openapi/platform/services/IssueNavigatorSettingsService.d.ts +8 -4
- package/lib/openapi/platform/services/IssueNavigatorSettingsService.js +9 -5
- package/lib/openapi/platform/services/IssueNavigatorSettingsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueNotificationSchemesService.d.ts +64 -70
- package/lib/openapi/platform/services/IssueNotificationSchemesService.js +59 -68
- package/lib/openapi/platform/services/IssueNotificationSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/IssuePrioritiesService.d.ts +45 -27
- package/lib/openapi/platform/services/IssuePrioritiesService.js +38 -24
- package/lib/openapi/platform/services/IssuePrioritiesService.js.map +1 -1
- package/lib/openapi/platform/services/IssuePropertiesService.d.ts +34 -17
- package/lib/openapi/platform/services/IssuePropertiesService.js +29 -15
- package/lib/openapi/platform/services/IssuePropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueRemoteLinksService.d.ts +42 -28
- package/lib/openapi/platform/services/IssueRemoteLinksService.js +39 -27
- package/lib/openapi/platform/services/IssueRemoteLinksService.js.map +1 -1
- package/lib/openapi/platform/services/IssueResolutionsService.d.ts +40 -17
- package/lib/openapi/platform/services/IssueResolutionsService.js +33 -14
- package/lib/openapi/platform/services/IssueResolutionsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueSearchService.d.ts +86 -139
- package/lib/openapi/platform/services/IssueSearchService.js +81 -137
- package/lib/openapi/platform/services/IssueSearchService.js.map +1 -1
- package/lib/openapi/platform/services/IssueSecurityLevelService.d.ts +20 -19
- package/lib/openapi/platform/services/IssueSecurityLevelService.js +21 -20
- package/lib/openapi/platform/services/IssueSecurityLevelService.js.map +1 -1
- package/lib/openapi/platform/services/IssueSecuritySchemesService.d.ts +78 -40
- package/lib/openapi/platform/services/IssueSecuritySchemesService.js +65 -34
- package/lib/openapi/platform/services/IssueSecuritySchemesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueTypePropertiesService.d.ts +22 -11
- package/lib/openapi/platform/services/IssueTypePropertiesService.js +21 -11
- package/lib/openapi/platform/services/IssueTypePropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueTypeSchemesService.d.ts +53 -34
- package/lib/openapi/platform/services/IssueTypeSchemesService.js +42 -26
- package/lib/openapi/platform/services/IssueTypeSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueTypeScreenSchemesService.d.ts +56 -27
- package/lib/openapi/platform/services/IssueTypeScreenSchemesService.js +45 -22
- package/lib/openapi/platform/services/IssueTypeScreenSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueTypesService.d.ts +53 -42
- package/lib/openapi/platform/services/IssueTypesService.js +50 -41
- package/lib/openapi/platform/services/IssueTypesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueVotesService.d.ts +17 -17
- package/lib/openapi/platform/services/IssueVotesService.js +18 -18
- package/lib/openapi/platform/services/IssueVotesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueWatchersService.d.ts +20 -10
- package/lib/openapi/platform/services/IssueWatchersService.js +19 -10
- package/lib/openapi/platform/services/IssueWatchersService.js.map +1 -1
- package/lib/openapi/platform/services/IssueWorklogPropertiesService.d.ts +20 -13
- package/lib/openapi/platform/services/IssueWorklogPropertiesService.js +21 -14
- package/lib/openapi/platform/services/IssueWorklogPropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueWorklogsService.d.ts +69 -67
- package/lib/openapi/platform/services/IssueWorklogsService.js +64 -65
- package/lib/openapi/platform/services/IssueWorklogsService.js.map +1 -1
- package/lib/openapi/platform/services/IssuesService.d.ts +226 -228
- package/lib/openapi/platform/services/IssuesService.js +197 -209
- package/lib/openapi/platform/services/IssuesService.js.map +1 -1
- package/lib/openapi/platform/services/JiraExpressionsService.d.ts +25 -24
- package/lib/openapi/platform/services/JiraExpressionsService.js +21 -20
- package/lib/openapi/platform/services/JiraExpressionsService.js.map +1 -1
- package/lib/openapi/platform/services/JiraSettingsService.d.ts +21 -9
- package/lib/openapi/platform/services/JiraSettingsService.js +20 -9
- package/lib/openapi/platform/services/JiraSettingsService.js.map +1 -1
- package/lib/openapi/platform/services/JqlFunctionsAppsService.d.ts +13 -9
- package/lib/openapi/platform/services/JqlFunctionsAppsService.js +12 -9
- package/lib/openapi/platform/services/JqlFunctionsAppsService.js.map +1 -1
- package/lib/openapi/platform/services/JqlService.d.ts +55 -43
- package/lib/openapi/platform/services/JqlService.js +45 -33
- package/lib/openapi/platform/services/JqlService.js.map +1 -1
- package/lib/openapi/platform/services/LabelsService.d.ts +7 -3
- package/lib/openapi/platform/services/LabelsService.js +8 -4
- package/lib/openapi/platform/services/LabelsService.js.map +1 -1
- package/lib/openapi/platform/services/LicenseMetricsService.d.ts +17 -7
- package/lib/openapi/platform/services/LicenseMetricsService.js +18 -8
- package/lib/openapi/platform/services/LicenseMetricsService.js.map +1 -1
- package/lib/openapi/platform/services/MyselfService.d.ts +28 -21
- package/lib/openapi/platform/services/MyselfService.js +27 -21
- package/lib/openapi/platform/services/MyselfService.js.map +1 -1
- package/lib/openapi/platform/services/PermissionSchemesService.d.ts +67 -55
- package/lib/openapi/platform/services/PermissionSchemesService.js +62 -53
- package/lib/openapi/platform/services/PermissionSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/PermissionsService.d.ts +23 -11
- package/lib/openapi/platform/services/PermissionsService.js +22 -11
- package/lib/openapi/platform/services/PermissionsService.js.map +1 -1
- package/lib/openapi/platform/services/PrioritySchemesService.d.ts +60 -26
- package/lib/openapi/platform/services/PrioritySchemesService.js +54 -23
- package/lib/openapi/platform/services/PrioritySchemesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectAvatarsService.d.ts +27 -24
- package/lib/openapi/platform/services/ProjectAvatarsService.js +26 -24
- package/lib/openapi/platform/services/ProjectAvatarsService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectCategoriesService.d.ts +30 -12
- package/lib/openapi/platform/services/ProjectCategoriesService.js +27 -11
- package/lib/openapi/platform/services/ProjectCategoriesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectClassificationLevelsService.d.ts +17 -14
- package/lib/openapi/platform/services/ProjectClassificationLevelsService.js +15 -12
- package/lib/openapi/platform/services/ProjectClassificationLevelsService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectComponentsService.d.ts +198 -321
- package/lib/openapi/platform/services/ProjectComponentsService.js +195 -320
- package/lib/openapi/platform/services/ProjectComponentsService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectEmailService.d.ts +11 -5
- package/lib/openapi/platform/services/ProjectEmailService.js +10 -5
- package/lib/openapi/platform/services/ProjectEmailService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectFeaturesService.d.ts +23 -22
- package/lib/openapi/platform/services/ProjectFeaturesService.js +22 -22
- package/lib/openapi/platform/services/ProjectFeaturesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.d.ts +19 -7
- package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.js +20 -8
- package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectPermissionSchemesService.d.ts +32 -23
- package/lib/openapi/platform/services/ProjectPermissionSchemesService.js +31 -23
- package/lib/openapi/platform/services/ProjectPermissionSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectPropertiesService.d.ts +22 -11
- package/lib/openapi/platform/services/ProjectPropertiesService.js +21 -11
- package/lib/openapi/platform/services/ProjectPropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectRoleActorsService.d.ts +47 -33
- package/lib/openapi/platform/services/ProjectRoleActorsService.js +42 -31
- package/lib/openapi/platform/services/ProjectRoleActorsService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectRolesService.d.ts +67 -43
- package/lib/openapi/platform/services/ProjectRolesService.js +62 -41
- package/lib/openapi/platform/services/ProjectRolesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectTypesService.d.ts +29 -21
- package/lib/openapi/platform/services/ProjectTypesService.js +30 -22
- package/lib/openapi/platform/services/ProjectTypesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectVersionsService.d.ts +87 -36
- package/lib/openapi/platform/services/ProjectVersionsService.js +78 -32
- package/lib/openapi/platform/services/ProjectVersionsService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectsService.d.ts +207 -313
- package/lib/openapi/platform/services/ProjectsService.js +203 -310
- package/lib/openapi/platform/services/ProjectsService.js.map +1 -1
- package/lib/openapi/platform/services/ScreenSchemesService.d.ts +22 -11
- package/lib/openapi/platform/services/ScreenSchemesService.js +19 -10
- package/lib/openapi/platform/services/ScreenSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/ScreenTabFieldsService.d.ts +15 -7
- package/lib/openapi/platform/services/ScreenTabFieldsService.js +14 -7
- package/lib/openapi/platform/services/ScreenTabFieldsService.js.map +1 -1
- package/lib/openapi/platform/services/ScreenTabsService.d.ts +27 -11
- package/lib/openapi/platform/services/ScreenTabsService.js +26 -11
- package/lib/openapi/platform/services/ScreenTabsService.js.map +1 -1
- package/lib/openapi/platform/services/ScreensService.d.ts +42 -28
- package/lib/openapi/platform/services/ScreensService.js +38 -25
- package/lib/openapi/platform/services/ScreensService.js.map +1 -1
- package/lib/openapi/platform/services/ServerInfoService.d.ts +6 -3
- package/lib/openapi/platform/services/ServerInfoService.js +7 -4
- package/lib/openapi/platform/services/ServerInfoService.js.map +1 -1
- package/lib/openapi/platform/services/ServiceRegistryService.d.ts +5 -3
- package/lib/openapi/platform/services/ServiceRegistryService.js +4 -3
- package/lib/openapi/platform/services/ServiceRegistryService.js.map +1 -1
- package/lib/openapi/platform/services/StatusService.d.ts +29 -15
- package/lib/openapi/platform/services/StatusService.js +26 -14
- package/lib/openapi/platform/services/StatusService.js.map +1 -1
- package/lib/openapi/platform/services/TasksService.d.ts +9 -4
- package/lib/openapi/platform/services/TasksService.js +10 -5
- package/lib/openapi/platform/services/TasksService.js.map +1 -1
- package/lib/openapi/platform/services/TimeTrackingService.d.ts +31 -14
- package/lib/openapi/platform/services/TimeTrackingService.js +27 -12
- package/lib/openapi/platform/services/TimeTrackingService.js.map +1 -1
- package/lib/openapi/platform/services/UiModificationsAppsService.d.ts +26 -19
- package/lib/openapi/platform/services/UiModificationsAppsService.js +23 -18
- package/lib/openapi/platform/services/UiModificationsAppsService.js.map +1 -1
- package/lib/openapi/platform/services/UserPropertiesService.d.ts +20 -10
- package/lib/openapi/platform/services/UserPropertiesService.js +21 -11
- package/lib/openapi/platform/services/UserPropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/UserSearchService.d.ts +95 -126
- package/lib/openapi/platform/services/UserSearchService.js +96 -127
- package/lib/openapi/platform/services/UserSearchService.js.map +1 -1
- package/lib/openapi/platform/services/UsersService.d.ts +97 -95
- package/lib/openapi/platform/services/UsersService.js +96 -95
- package/lib/openapi/platform/services/UsersService.js.map +1 -1
- package/lib/openapi/platform/services/WebhooksService.d.ts +35 -18
- package/lib/openapi/platform/services/WebhooksService.js +30 -16
- package/lib/openapi/platform/services/WebhooksService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowSchemeDraftsService.d.ts +133 -147
- package/lib/openapi/platform/services/WorkflowSchemeDraftsService.js +124 -143
- package/lib/openapi/platform/services/WorkflowSchemeDraftsService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.d.ts +13 -10
- package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.js +12 -10
- package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowSchemesService.d.ts +121 -82
- package/lib/openapi/platform/services/WorkflowSchemesService.js +106 -75
- package/lib/openapi/platform/services/WorkflowSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowStatusCategoriesService.d.ts +12 -5
- package/lib/openapi/platform/services/WorkflowStatusCategoriesService.js +13 -6
- package/lib/openapi/platform/services/WorkflowStatusCategoriesService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowStatusesService.d.ts +12 -5
- package/lib/openapi/platform/services/WorkflowStatusesService.js +13 -6
- package/lib/openapi/platform/services/WorkflowStatusesService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.d.ts +25 -10
- package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.js +22 -9
- package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowTransitionRulesService.d.ts +25 -13
- package/lib/openapi/platform/services/WorkflowTransitionRulesService.js +22 -12
- package/lib/openapi/platform/services/WorkflowTransitionRulesService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowsService.d.ts +791 -693
- package/lib/openapi/platform/services/WorkflowsService.js +754 -644
- package/lib/openapi/platform/services/WorkflowsService.js.map +1 -1
- package/lib/openapi/platform/validationSchemaStorage.d.ts +1 -1
- package/lib/openapi/platform/validationSchemaStorage.js +1 -1
- package/lib/openapi/platform/validationSchemaStorage.js.map +1 -1
- package/lib/openapi/serviceManagement/BaseJiraServiceManagementApiClient.d.ts +3 -3
- package/lib/openapi/serviceManagement/BaseJiraServiceManagementApiClient.js +3 -3
- package/lib/openapi/serviceManagement/BaseJiraServiceManagementApiClient.js.map +1 -1
- package/lib/openapi/serviceManagement/models/assets.d.ts +1 -1
- package/lib/openapi/serviceManagement/models/common.d.ts +1 -1
- package/lib/openapi/serviceManagement/models/customer.d.ts +1 -1
- package/lib/openapi/serviceManagement/models/info.d.ts +1 -1
- package/lib/openapi/serviceManagement/models/knowledgebase.d.ts +1 -1
- package/lib/openapi/serviceManagement/models/organization.d.ts +1 -1
- package/lib/openapi/serviceManagement/models/request.d.ts +1 -1
- package/lib/openapi/serviceManagement/models/servicedesk.d.ts +4 -7
- package/lib/openapi/serviceManagement/models/servicedesk.js.map +1 -1
- package/lib/openapi/serviceManagement/services/AssetsService.d.ts +11 -8
- package/lib/openapi/serviceManagement/services/AssetsService.js +12 -9
- package/lib/openapi/serviceManagement/services/AssetsService.js.map +1 -1
- package/lib/openapi/serviceManagement/services/CustomerService.d.ts +17 -20
- package/lib/openapi/serviceManagement/services/CustomerService.js +16 -20
- package/lib/openapi/serviceManagement/services/CustomerService.js.map +1 -1
- package/lib/openapi/serviceManagement/services/InfoService.d.ts +6 -3
- package/lib/openapi/serviceManagement/services/InfoService.js +7 -4
- package/lib/openapi/serviceManagement/services/InfoService.js.map +1 -1
- package/lib/openapi/serviceManagement/services/KnowledgebaseService.d.ts +11 -11
- package/lib/openapi/serviceManagement/services/KnowledgebaseService.js +12 -12
- package/lib/openapi/serviceManagement/services/KnowledgebaseService.js.map +1 -1
- package/lib/openapi/serviceManagement/services/OrganizationService.d.ts +108 -104
- package/lib/openapi/serviceManagement/services/OrganizationService.js +97 -99
- package/lib/openapi/serviceManagement/services/OrganizationService.js.map +1 -1
- package/lib/openapi/serviceManagement/services/RequestService.d.ts +420 -578
- package/lib/openapi/serviceManagement/services/RequestService.js +405 -571
- package/lib/openapi/serviceManagement/services/RequestService.js.map +1 -1
- package/lib/openapi/serviceManagement/services/RequesttypeService.d.ts +25 -39
- package/lib/openapi/serviceManagement/services/RequesttypeService.js +26 -40
- package/lib/openapi/serviceManagement/services/RequesttypeService.js.map +1 -1
- package/lib/openapi/serviceManagement/services/ServicedeskService.d.ts +195 -215
- package/lib/openapi/serviceManagement/services/ServicedeskService.js +190 -213
- package/lib/openapi/serviceManagement/services/ServicedeskService.js.map +1 -1
- package/lib/openapi/serviceManagement/validationSchemaStorage.d.ts +1 -1
- package/lib/openapi/serviceManagement/validationSchemaStorage.js +1 -1
- package/lib/openapi/serviceManagement/validationSchemaStorage.js.map +1 -1
- package/lib/openapi/software/BaseJiraSoftwareApiClient.d.ts +2 -2
- package/lib/openapi/software/BaseJiraSoftwareApiClient.js +2 -2
- package/lib/openapi/software/BaseJiraSoftwareApiClient.js.map +1 -1
- package/lib/openapi/software/models/board.d.ts +4 -7
- package/lib/openapi/software/models/board.js.map +1 -1
- package/lib/openapi/software/models/builds.d.ts +39 -20
- package/lib/openapi/software/models/builds.js.map +1 -1
- package/lib/openapi/software/models/common.d.ts +8 -6
- package/lib/openapi/software/models/common.js.map +1 -1
- package/lib/openapi/software/models/deployments.d.ts +37 -18
- package/lib/openapi/software/models/deployments.js.map +1 -1
- package/lib/openapi/software/models/devOpsComponents.d.ts +7 -4
- package/lib/openapi/software/models/devOpsComponents.js.map +1 -1
- package/lib/openapi/software/models/developmentInformation.d.ts +107 -55
- package/lib/openapi/software/models/developmentInformation.js.map +1 -1
- package/lib/openapi/software/models/epic.d.ts +1 -1
- package/lib/openapi/software/models/featureFlags.d.ts +17 -9
- package/lib/openapi/software/models/featureFlags.js.map +1 -1
- package/lib/openapi/software/models/issue.d.ts +1 -1
- package/lib/openapi/software/models/operations.d.ts +61 -31
- package/lib/openapi/software/models/operations.js.map +1 -1
- package/lib/openapi/software/models/remoteLinks.d.ts +37 -19
- package/lib/openapi/software/models/remoteLinks.js.map +1 -1
- package/lib/openapi/software/models/securityInformation.d.ts +53 -27
- package/lib/openapi/software/models/securityInformation.js.map +1 -1
- package/lib/openapi/software/models/sprint.d.ts +1 -1
- package/lib/openapi/software/services/BacklogService.d.ts +14 -8
- package/lib/openapi/software/services/BacklogService.js +11 -7
- package/lib/openapi/software/services/BacklogService.js.map +1 -1
- package/lib/openapi/software/services/BoardService.d.ts +200 -204
- package/lib/openapi/software/services/BoardService.js +197 -203
- package/lib/openapi/software/services/BoardService.js.map +1 -1
- package/lib/openapi/software/services/BuildsService.d.ts +11 -9
- package/lib/openapi/software/services/BuildsService.js +12 -10
- package/lib/openapi/software/services/BuildsService.js.map +1 -1
- package/lib/openapi/software/services/DeploymentsService.d.ts +13 -13
- package/lib/openapi/software/services/DeploymentsService.js +14 -14
- package/lib/openapi/software/services/DeploymentsService.js.map +1 -1
- package/lib/openapi/software/services/DevOpsComponentsService.d.ts +33 -20
- package/lib/openapi/software/services/DevOpsComponentsService.js +12 -10
- package/lib/openapi/software/services/DevOpsComponentsService.js.map +1 -1
- package/lib/openapi/software/services/DevelopmentInformationService.d.ts +14 -9
- package/lib/openapi/software/services/DevelopmentInformationService.js +15 -10
- package/lib/openapi/software/services/DevelopmentInformationService.js.map +1 -1
- package/lib/openapi/software/services/EpicService.d.ts +67 -76
- package/lib/openapi/software/services/EpicService.js +60 -73
- package/lib/openapi/software/services/EpicService.js.map +1 -1
- package/lib/openapi/software/services/FeatureFlagsService.d.ts +11 -9
- package/lib/openapi/software/services/FeatureFlagsService.js +12 -10
- package/lib/openapi/software/services/FeatureFlagsService.js.map +1 -1
- package/lib/openapi/software/services/IssueService.d.ts +45 -44
- package/lib/openapi/software/services/IssueService.js +42 -43
- package/lib/openapi/software/services/IssueService.js.map +1 -1
- package/lib/openapi/software/services/OperationsService.d.ts +66 -38
- package/lib/openapi/software/services/OperationsService.js +23 -17
- package/lib/openapi/software/services/OperationsService.js.map +1 -1
- package/lib/openapi/software/services/RemoteLinksService.d.ts +18 -13
- package/lib/openapi/software/services/RemoteLinksService.js +12 -10
- package/lib/openapi/software/services/RemoteLinksService.js.map +1 -1
- package/lib/openapi/software/services/SecurityInformationService.d.ts +19 -13
- package/lib/openapi/software/services/SecurityInformationService.js +20 -14
- package/lib/openapi/software/services/SecurityInformationService.js.map +1 -1
- package/lib/openapi/software/services/SprintService.d.ts +79 -55
- package/lib/openapi/software/services/SprintService.js +70 -51
- package/lib/openapi/software/services/SprintService.js.map +1 -1
- package/lib/openapi/software/validationSchemaStorage.d.ts +1 -1
- package/lib/openapi/software/validationSchemaStorage.js +1 -1
- package/lib/openapi/software/validationSchemaStorage.js.map +1 -1
- package/package.json +3 -3
- package/lib/openapi/platform/core/CommonHttpClient.js +0 -390
- package/lib/openapi/platform/core/CommonHttpClient.js.map +0 -1
- package/lib/openapi/platform/core/CommonHttpService.d.ts +0 -9
- package/lib/openapi/platform/core/CommonHttpService.js.map +0 -1
- package/lib/openapi/platform/core/CommonValidationSchemaStorage.js.map +0 -1
- package/lib/openapi/serviceManagement/core/CommonHttpClient.d.ts +0 -196
- package/lib/openapi/serviceManagement/core/CommonHttpClient.js.map +0 -1
- package/lib/openapi/serviceManagement/core/CommonHttpService.d.ts +0 -9
- package/lib/openapi/serviceManagement/core/CommonHttpService.js +0 -29
- package/lib/openapi/serviceManagement/core/CommonHttpService.js.map +0 -1
- package/lib/openapi/serviceManagement/core/CommonValidationSchemaStorage.d.ts +0 -35
- package/lib/openapi/serviceManagement/core/CommonValidationSchemaStorage.js +0 -65
- package/lib/openapi/serviceManagement/core/CommonValidationSchemaStorage.js.map +0 -1
- package/lib/openapi/software/core/CommonHttpClient.d.ts +0 -196
- package/lib/openapi/software/core/CommonHttpClient.js +0 -390
- package/lib/openapi/software/core/CommonHttpClient.js.map +0 -1
- package/lib/openapi/software/core/CommonHttpService.js +0 -29
- package/lib/openapi/software/core/CommonHttpService.js.map +0 -1
- package/lib/openapi/software/core/CommonValidationSchemaStorage.d.ts +0 -35
- package/lib/openapi/software/core/CommonValidationSchemaStorage.js +0 -65
- package/lib/openapi/software/core/CommonValidationSchemaStorage.js.map +0 -1
- /package/lib/openapi/{platform/core → core}/CommonValidationSchemaStorage.d.ts +0 -0
- /package/lib/openapi/{platform/core → core}/CommonValidationSchemaStorage.js +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CommonHttpService } from "
|
|
1
|
+
import { CommonHttpService } from "../../core/CommonHttpService";
|
|
2
2
|
import { type BulkPermissionGrants, type BulkPermissionsRequestBean, type Permissions, type PermissionsKeysBean, type PermittedProjects } from "../models/permissions";
|
|
3
3
|
/**
|
|
4
4
|
* This resource represents permissions. Use it to obtain details of all
|
|
@@ -20,18 +20,20 @@ export declare class PermissionsService extends CommonHttpService {
|
|
|
20
20
|
*
|
|
21
21
|
* @returns Returned if the request is successful.
|
|
22
22
|
*
|
|
23
|
-
* example:
|
|
23
|
+
* example:
|
|
24
|
+
* ```
|
|
25
|
+
* {
|
|
24
26
|
* "permissions": {
|
|
25
27
|
* "BULK_CHANGE": {
|
|
26
|
-
* "description": "Ability to modify a collection of issues at once. For
|
|
27
|
-
* example, resolve multiple issues in one step.",
|
|
28
|
+
* "description": "Ability to modify a collection of issues at once. For example, resolve multiple issues in one step.",
|
|
28
29
|
* "key": "BULK_CHANGE",
|
|
29
30
|
* "name": "Bulk Change",
|
|
30
31
|
* "type": "GLOBAL"
|
|
31
32
|
* }
|
|
32
33
|
* }
|
|
33
34
|
* }
|
|
34
|
-
*
|
|
35
|
+
* ```
|
|
36
|
+
* @path GET `/rest/api/3/permissions`
|
|
35
37
|
* @scopes-current manage:jira-configuration
|
|
36
38
|
* @scopes-beta read:permission:jira
|
|
37
39
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-permissions#api-rest-api-3-permissions-get
|
|
@@ -73,7 +75,9 @@ export declare class PermissionsService extends CommonHttpService {
|
|
|
73
75
|
*
|
|
74
76
|
* @returns Returned if the request is successful.
|
|
75
77
|
*
|
|
76
|
-
* example:
|
|
78
|
+
* example:
|
|
79
|
+
* ```
|
|
80
|
+
* {
|
|
77
81
|
* "globalPermissions": [
|
|
78
82
|
* "ADMINISTER"
|
|
79
83
|
* ],
|
|
@@ -91,16 +95,19 @@ export declare class PermissionsService extends CommonHttpService {
|
|
|
91
95
|
* }
|
|
92
96
|
* ]
|
|
93
97
|
* }
|
|
94
|
-
*
|
|
98
|
+
* ```
|
|
99
|
+
* @path POST `/rest/api/3/permissions/check`
|
|
95
100
|
* @scopes-current
|
|
96
101
|
* @scopes-beta read:permission:jira
|
|
97
102
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-permissions#api-rest-api-3-permissions-check-post
|
|
103
|
+
* @param params
|
|
98
104
|
*/
|
|
99
105
|
getBulkPermissions: ({ bulkPermissionsRequestBean, }: {
|
|
100
106
|
/**
|
|
101
107
|
* Details of the permissions to check.
|
|
102
108
|
*
|
|
103
|
-
* @example
|
|
109
|
+
* @example
|
|
110
|
+
* {
|
|
104
111
|
* "accountId": "5b10a2844c20165700ede21g",
|
|
105
112
|
* "globalPermissions": [
|
|
106
113
|
* "ADMINISTER"
|
|
@@ -169,7 +176,9 @@ export declare class PermissionsService extends CommonHttpService {
|
|
|
169
176
|
*
|
|
170
177
|
* @returns Returned if the request is successful.
|
|
171
178
|
*
|
|
172
|
-
* example:
|
|
179
|
+
* example:
|
|
180
|
+
* ```
|
|
181
|
+
* {
|
|
173
182
|
* "permissions": {
|
|
174
183
|
* "EDIT_ISSUES": {
|
|
175
184
|
* "description": "Ability to edit issues.",
|
|
@@ -181,10 +190,12 @@ export declare class PermissionsService extends CommonHttpService {
|
|
|
181
190
|
* }
|
|
182
191
|
* }
|
|
183
192
|
* }
|
|
184
|
-
*
|
|
193
|
+
* ```
|
|
194
|
+
* @path GET `/rest/api/3/mypermissions`
|
|
185
195
|
* @scopes-current read:jira-work
|
|
186
196
|
* @scopes-beta read:permission:jira
|
|
187
197
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-permissions#api-rest-api-3-mypermissions-get
|
|
198
|
+
* @param params
|
|
188
199
|
*/
|
|
189
200
|
getMyPermissions: ({ projectKey, projectId, issueKey, issueId, permissions, projectUuid, projectConfigurationUuid, commentId, }?: {
|
|
190
201
|
/** The key of project. Ignored if `projectId` is provided. */
|
|
@@ -215,10 +226,11 @@ export declare class PermissionsService extends CommonHttpService {
|
|
|
215
226
|
* **[Permissions](#permissions) required:** None.
|
|
216
227
|
*
|
|
217
228
|
* @returns Returned if the request is successful.
|
|
218
|
-
* @path
|
|
229
|
+
* @path POST `/rest/api/3/permissions/project`
|
|
219
230
|
* @scopes-current read:jira-work
|
|
220
231
|
* @scopes-beta read:permission:jira, read:project:jira
|
|
221
232
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-permissions#api-rest-api-3-permissions-project-post
|
|
233
|
+
* @param params
|
|
222
234
|
*/
|
|
223
235
|
getPermittedProjects: ({ permissionsKeysBean, }: {
|
|
224
236
|
permissionsKeysBean: PermissionsKeysBean;
|
|
@@ -5,8 +5,8 @@ exports.PermissionsService = void 0;
|
|
|
5
5
|
// This file is generated by "api-typescript-generator".
|
|
6
6
|
// To update this file run "yarn build:openapi".
|
|
7
7
|
const zod_1 = require("zod");
|
|
8
|
-
const commonHttpClient = require("
|
|
9
|
-
const CommonHttpService_1 = require("
|
|
8
|
+
const commonHttpClient = require("../../core/CommonHttpClient");
|
|
9
|
+
const CommonHttpService_1 = require("../../core/CommonHttpService");
|
|
10
10
|
const permissions_1 = require("../models/permissions");
|
|
11
11
|
const validationSchemaStorage_1 = require("../validationSchemaStorage");
|
|
12
12
|
/**
|
|
@@ -31,18 +31,20 @@ class PermissionsService extends CommonHttpService_1.CommonHttpService {
|
|
|
31
31
|
*
|
|
32
32
|
* @returns Returned if the request is successful.
|
|
33
33
|
*
|
|
34
|
-
* example:
|
|
34
|
+
* example:
|
|
35
|
+
* ```
|
|
36
|
+
* {
|
|
35
37
|
* "permissions": {
|
|
36
38
|
* "BULK_CHANGE": {
|
|
37
|
-
* "description": "Ability to modify a collection of issues at once. For
|
|
38
|
-
* example, resolve multiple issues in one step.",
|
|
39
|
+
* "description": "Ability to modify a collection of issues at once. For example, resolve multiple issues in one step.",
|
|
39
40
|
* "key": "BULK_CHANGE",
|
|
40
41
|
* "name": "Bulk Change",
|
|
41
42
|
* "type": "GLOBAL"
|
|
42
43
|
* }
|
|
43
44
|
* }
|
|
44
45
|
* }
|
|
45
|
-
*
|
|
46
|
+
* ```
|
|
47
|
+
* @path GET `/rest/api/3/permissions`
|
|
46
48
|
* @scopes-current manage:jira-configuration
|
|
47
49
|
* @scopes-beta read:permission:jira
|
|
48
50
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-permissions#api-rest-api-3-permissions-get
|
|
@@ -98,7 +100,9 @@ class PermissionsService extends CommonHttpService_1.CommonHttpService {
|
|
|
98
100
|
*
|
|
99
101
|
* @returns Returned if the request is successful.
|
|
100
102
|
*
|
|
101
|
-
* example:
|
|
103
|
+
* example:
|
|
104
|
+
* ```
|
|
105
|
+
* {
|
|
102
106
|
* "globalPermissions": [
|
|
103
107
|
* "ADMINISTER"
|
|
104
108
|
* ],
|
|
@@ -116,10 +120,12 @@ class PermissionsService extends CommonHttpService_1.CommonHttpService {
|
|
|
116
120
|
* }
|
|
117
121
|
* ]
|
|
118
122
|
* }
|
|
119
|
-
*
|
|
123
|
+
* ```
|
|
124
|
+
* @path POST `/rest/api/3/permissions/check`
|
|
120
125
|
* @scopes-current
|
|
121
126
|
* @scopes-beta read:permission:jira
|
|
122
127
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-permissions#api-rest-api-3-permissions-check-post
|
|
128
|
+
* @param params
|
|
123
129
|
*/
|
|
124
130
|
this.getBulkPermissions = ({ bulkPermissionsRequestBean, }) => {
|
|
125
131
|
return this.getClientInstance()
|
|
@@ -183,7 +189,9 @@ class PermissionsService extends CommonHttpService_1.CommonHttpService {
|
|
|
183
189
|
*
|
|
184
190
|
* @returns Returned if the request is successful.
|
|
185
191
|
*
|
|
186
|
-
* example:
|
|
192
|
+
* example:
|
|
193
|
+
* ```
|
|
194
|
+
* {
|
|
187
195
|
* "permissions": {
|
|
188
196
|
* "EDIT_ISSUES": {
|
|
189
197
|
* "description": "Ability to edit issues.",
|
|
@@ -195,10 +203,12 @@ class PermissionsService extends CommonHttpService_1.CommonHttpService {
|
|
|
195
203
|
* }
|
|
196
204
|
* }
|
|
197
205
|
* }
|
|
198
|
-
*
|
|
206
|
+
* ```
|
|
207
|
+
* @path GET `/rest/api/3/mypermissions`
|
|
199
208
|
* @scopes-current read:jira-work
|
|
200
209
|
* @scopes-beta read:permission:jira
|
|
201
210
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-permissions#api-rest-api-3-mypermissions-get
|
|
211
|
+
* @param params
|
|
202
212
|
*/
|
|
203
213
|
this.getMyPermissions = ({ projectKey, projectId, issueKey, issueId, permissions, projectUuid, projectConfigurationUuid, commentId, } = {}) => {
|
|
204
214
|
return this.getClientInstance()
|
|
@@ -234,10 +244,11 @@ class PermissionsService extends CommonHttpService_1.CommonHttpService {
|
|
|
234
244
|
* **[Permissions](#permissions) required:** None.
|
|
235
245
|
*
|
|
236
246
|
* @returns Returned if the request is successful.
|
|
237
|
-
* @path
|
|
247
|
+
* @path POST `/rest/api/3/permissions/project`
|
|
238
248
|
* @scopes-current read:jira-work
|
|
239
249
|
* @scopes-beta read:permission:jira, read:project:jira
|
|
240
250
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-permissions#api-rest-api-3-permissions-project-post
|
|
251
|
+
* @param params
|
|
241
252
|
*/
|
|
242
253
|
this.getPermittedProjects = ({ permissionsKeysBean, }) => {
|
|
243
254
|
return this.getClientInstance()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PermissionsService.js","sourceRoot":"","sources":["../../../../src/openapi/platform/services/PermissionsService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,
|
|
1
|
+
{"version":3,"file":"PermissionsService.js","sourceRoot":"","sources":["../../../../src/openapi/platform/services/PermissionsService.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as commonHttpClient from "
|
|
2
|
-
import { CommonHttpService } from "
|
|
1
|
+
import * as commonHttpClient from "../../core/CommonHttpClient";
|
|
2
|
+
import { CommonHttpService } from "../../core/CommonHttpService";
|
|
3
3
|
import { type PageBeanProject } from "../models/common";
|
|
4
4
|
import { type CreatePrioritySchemeDetails, type PageBeanPrioritySchemeWithPaginatedPrioritiesAndProjects, type PageBeanPriorityWithSequence, type PrioritySchemeId, type SuggestedMappingsRequestBean, type UpdatePrioritySchemeRequestBean, type UpdatePrioritySchemeResponseBean } from "../models/prioritySchemes";
|
|
5
5
|
/**
|
|
@@ -15,19 +15,25 @@ export declare class PrioritySchemesService extends CommonHttpService {
|
|
|
15
15
|
* **[Permissions](#permissions) required:** *Administer Jira* [global
|
|
16
16
|
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
17
17
|
*
|
|
18
|
-
* @returns
|
|
18
|
+
* @returns
|
|
19
|
+
* * status: 201, mediaType: application/json
|
|
19
20
|
*
|
|
20
21
|
* Returned if the request is completed.
|
|
21
22
|
*
|
|
22
|
-
* example:
|
|
23
|
+
* example:
|
|
24
|
+
* ```
|
|
25
|
+
* {
|
|
23
26
|
* "id": "10001"
|
|
24
27
|
* }
|
|
28
|
+
* ```
|
|
25
29
|
*
|
|
26
30
|
* * status: 202, mediaType: application/json
|
|
27
31
|
*
|
|
28
32
|
* Returned if the request is accepted.
|
|
29
33
|
*
|
|
30
|
-
* example:
|
|
34
|
+
* example:
|
|
35
|
+
* ```
|
|
36
|
+
* {
|
|
31
37
|
* "id": "10001",
|
|
32
38
|
* "task": {
|
|
33
39
|
* "self": "https://your-domain.atlassian.net/rest/api/3/task/1",
|
|
@@ -44,12 +50,15 @@ export declare class PrioritySchemesService extends CommonHttpService {
|
|
|
44
50
|
* "lastUpdate": 1501708133000
|
|
45
51
|
* }
|
|
46
52
|
* }
|
|
47
|
-
*
|
|
53
|
+
* ```
|
|
54
|
+
* @path POST `/rest/api/3/priorityscheme`
|
|
48
55
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-priority-schemes#api-rest-api-3-priorityscheme-post
|
|
56
|
+
* @param params
|
|
49
57
|
*/
|
|
50
58
|
createPriorityScheme: ({ createPrioritySchemeDetails, }: {
|
|
51
59
|
/**
|
|
52
|
-
* @example
|
|
60
|
+
* @example
|
|
61
|
+
* {
|
|
53
62
|
* "defaultPriorityId": 10001,
|
|
54
63
|
* "description": "My priority scheme description",
|
|
55
64
|
* "mappings": {
|
|
@@ -91,8 +100,9 @@ export declare class PrioritySchemesService extends CommonHttpService {
|
|
|
91
100
|
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
92
101
|
*
|
|
93
102
|
* @returns Returned if the request is successful.
|
|
94
|
-
* @path
|
|
103
|
+
* @path DELETE `/rest/api/3/priorityscheme/{schemeId}`
|
|
95
104
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-priority-schemes#api-rest-api-3-priorityscheme-schemeid-delete
|
|
105
|
+
* @param params
|
|
96
106
|
*/
|
|
97
107
|
deletePriorityScheme: ({ schemeId, }: {
|
|
98
108
|
/** The priority scheme ID. */
|
|
@@ -106,7 +116,9 @@ export declare class PrioritySchemesService extends CommonHttpService {
|
|
|
106
116
|
*
|
|
107
117
|
* @returns Returned if the request is successful.
|
|
108
118
|
*
|
|
109
|
-
* example:
|
|
119
|
+
* example:
|
|
120
|
+
* ```
|
|
121
|
+
* {
|
|
110
122
|
* "isLast": true,
|
|
111
123
|
* "maxResults": 50,
|
|
112
124
|
* "startAt": 0,
|
|
@@ -138,8 +150,10 @@ export declare class PrioritySchemesService extends CommonHttpService {
|
|
|
138
150
|
* }
|
|
139
151
|
* ]
|
|
140
152
|
* }
|
|
141
|
-
*
|
|
153
|
+
* ```
|
|
154
|
+
* @path GET `/rest/api/3/priorityscheme/priorities/available`
|
|
142
155
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-priority-schemes#api-rest-api-3-priorityscheme-priorities-available-get
|
|
156
|
+
* @param params
|
|
143
157
|
*/
|
|
144
158
|
getAvailablePrioritiesByPriorityScheme: ({ startAt, maxResults, query, schemeId, exclude, }: {
|
|
145
159
|
/** The index of the first item to return in a page of results (page offset). */
|
|
@@ -160,7 +174,9 @@ export declare class PrioritySchemesService extends CommonHttpService {
|
|
|
160
174
|
*
|
|
161
175
|
* @returns Returned if the request is successful.
|
|
162
176
|
*
|
|
163
|
-
* example:
|
|
177
|
+
* example:
|
|
178
|
+
* ```
|
|
179
|
+
* {
|
|
164
180
|
* "isLast": true,
|
|
165
181
|
* "maxResults": 50,
|
|
166
182
|
* "startAt": 0,
|
|
@@ -192,8 +208,10 @@ export declare class PrioritySchemesService extends CommonHttpService {
|
|
|
192
208
|
* }
|
|
193
209
|
* ]
|
|
194
210
|
* }
|
|
195
|
-
*
|
|
211
|
+
* ```
|
|
212
|
+
* @path GET `/rest/api/3/priorityscheme/{schemeId}/priorities`
|
|
196
213
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-priority-schemes#api-rest-api-3-priorityscheme-schemeid-priorities-get
|
|
214
|
+
* @param params
|
|
197
215
|
*/
|
|
198
216
|
getPrioritiesByPriorityScheme: ({ schemeId, startAt, maxResults, }: {
|
|
199
217
|
/** The priority scheme ID. */
|
|
@@ -210,15 +228,16 @@ export declare class PrioritySchemesService extends CommonHttpService {
|
|
|
210
228
|
*
|
|
211
229
|
* @returns Returned if the request is successful.
|
|
212
230
|
*
|
|
213
|
-
* example:
|
|
231
|
+
* example:
|
|
232
|
+
* ```
|
|
233
|
+
* {
|
|
214
234
|
* "isLast": true,
|
|
215
235
|
* "maxResults": 50,
|
|
216
236
|
* "startAt": 0,
|
|
217
237
|
* "total": 1,
|
|
218
238
|
* "values": [
|
|
219
239
|
* {
|
|
220
|
-
* "description": "This is the default scheme used by all new and unassigned
|
|
221
|
-
* projects",
|
|
240
|
+
* "description": "This is the default scheme used by all new and unassigned projects",
|
|
222
241
|
* "id": "1",
|
|
223
242
|
* "isDefault": true,
|
|
224
243
|
* "name": "Default Priority Scheme",
|
|
@@ -284,8 +303,10 @@ export declare class PrioritySchemesService extends CommonHttpService {
|
|
|
284
303
|
* }
|
|
285
304
|
* ]
|
|
286
305
|
* }
|
|
287
|
-
*
|
|
306
|
+
* ```
|
|
307
|
+
* @path GET `/rest/api/3/priorityscheme`
|
|
288
308
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-priority-schemes#api-rest-api-3-priorityscheme-get
|
|
309
|
+
* @param params
|
|
289
310
|
*/
|
|
290
311
|
getPrioritySchemes: ({ startAt, maxResults, priorityId, schemeId, schemeName, onlyDefault, orderBy, expand, }?: {
|
|
291
312
|
/** The index of the first item to return in a page of results (page offset). */
|
|
@@ -322,7 +343,9 @@ export declare class PrioritySchemesService extends CommonHttpService {
|
|
|
322
343
|
*
|
|
323
344
|
* @returns Returned if the request is successful.
|
|
324
345
|
*
|
|
325
|
-
* example:
|
|
346
|
+
* example:
|
|
347
|
+
* ```
|
|
348
|
+
* {
|
|
326
349
|
* "isLast": true,
|
|
327
350
|
* "maxResults": 50,
|
|
328
351
|
* "startAt": 0,
|
|
@@ -349,8 +372,10 @@ export declare class PrioritySchemesService extends CommonHttpService {
|
|
|
349
372
|
* }
|
|
350
373
|
* ]
|
|
351
374
|
* }
|
|
352
|
-
*
|
|
375
|
+
* ```
|
|
376
|
+
* @path GET `/rest/api/3/priorityscheme/{schemeId}/projects`
|
|
353
377
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-priority-schemes#api-rest-api-3-priorityscheme-schemeid-projects-get
|
|
378
|
+
* @param params
|
|
354
379
|
*/
|
|
355
380
|
getProjectsByPriorityScheme: ({ schemeId, startAt, maxResults, projectId, query, }: {
|
|
356
381
|
/** The priority scheme ID. */
|
|
@@ -373,7 +398,9 @@ export declare class PrioritySchemesService extends CommonHttpService {
|
|
|
373
398
|
*
|
|
374
399
|
* @returns Returned if the request is successful.
|
|
375
400
|
*
|
|
376
|
-
* example:
|
|
401
|
+
* example:
|
|
402
|
+
* ```
|
|
403
|
+
* {
|
|
377
404
|
* "isLast": true,
|
|
378
405
|
* "maxResults": 50,
|
|
379
406
|
* "startAt": 0,
|
|
@@ -405,12 +432,15 @@ export declare class PrioritySchemesService extends CommonHttpService {
|
|
|
405
432
|
* }
|
|
406
433
|
* ]
|
|
407
434
|
* }
|
|
408
|
-
*
|
|
435
|
+
* ```
|
|
436
|
+
* @path POST `/rest/api/3/priorityscheme/mappings`
|
|
409
437
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-priority-schemes#api-rest-api-3-priorityscheme-mappings-post
|
|
438
|
+
* @param params
|
|
410
439
|
*/
|
|
411
440
|
suggestedPrioritiesForMappings: ({ suggestedMappingsRequestBean, }: {
|
|
412
441
|
/**
|
|
413
|
-
* @example
|
|
442
|
+
* @example
|
|
443
|
+
* {
|
|
414
444
|
* "maxResults": 50,
|
|
415
445
|
* "priorities": {
|
|
416
446
|
* "add": [
|
|
@@ -441,7 +471,9 @@ export declare class PrioritySchemesService extends CommonHttpService {
|
|
|
441
471
|
*
|
|
442
472
|
* @returns Returned if the request is accepted.
|
|
443
473
|
*
|
|
444
|
-
* example:
|
|
474
|
+
* example:
|
|
475
|
+
* ```
|
|
476
|
+
* {
|
|
445
477
|
* "task": {
|
|
446
478
|
* "self": "https://your-domain.atlassian.net/rest/api/3/task/1",
|
|
447
479
|
* "id": "1",
|
|
@@ -457,8 +489,7 @@ export declare class PrioritySchemesService extends CommonHttpService {
|
|
|
457
489
|
* "lastUpdate": 1501708133000
|
|
458
490
|
* },
|
|
459
491
|
* "updated": {
|
|
460
|
-
* "description": "This is the default scheme used by all new and unassigned
|
|
461
|
-
* projects",
|
|
492
|
+
* "description": "This is the default scheme used by all new and unassigned projects",
|
|
462
493
|
* "id": "1",
|
|
463
494
|
* "isDefault": true,
|
|
464
495
|
* "name": "Default Priority Scheme",
|
|
@@ -523,14 +554,17 @@ export declare class PrioritySchemesService extends CommonHttpService {
|
|
|
523
554
|
* }
|
|
524
555
|
* }
|
|
525
556
|
* }
|
|
526
|
-
*
|
|
557
|
+
* ```
|
|
558
|
+
* @path PUT `/rest/api/3/priorityscheme/{schemeId}`
|
|
527
559
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-priority-schemes#api-rest-api-3-priorityscheme-schemeid-put
|
|
560
|
+
* @param params
|
|
528
561
|
*/
|
|
529
562
|
updatePriorityScheme: ({ schemeId, updatePrioritySchemeRequestBean, }: {
|
|
530
563
|
/** The ID of the priority scheme. */
|
|
531
564
|
schemeId: number;
|
|
532
565
|
/**
|
|
533
|
-
* @example
|
|
566
|
+
* @example
|
|
567
|
+
* {
|
|
534
568
|
* "defaultPriorityId": 10001,
|
|
535
569
|
* "description": "My priority scheme description",
|
|
536
570
|
* "mappings": {
|
|
@@ -5,8 +5,8 @@ exports.PrioritySchemesService = void 0;
|
|
|
5
5
|
// This file is generated by "api-typescript-generator".
|
|
6
6
|
// To update this file run "yarn build:openapi".
|
|
7
7
|
const zod_1 = require("zod");
|
|
8
|
-
const commonHttpClient = require("
|
|
9
|
-
const CommonHttpService_1 = require("
|
|
8
|
+
const commonHttpClient = require("../../core/CommonHttpClient");
|
|
9
|
+
const CommonHttpService_1 = require("../../core/CommonHttpService");
|
|
10
10
|
const common_1 = require("../models/common");
|
|
11
11
|
const prioritySchemes_1 = require("../models/prioritySchemes");
|
|
12
12
|
const validationSchemaStorage_1 = require("../validationSchemaStorage");
|
|
@@ -25,19 +25,25 @@ class PrioritySchemesService extends CommonHttpService_1.CommonHttpService {
|
|
|
25
25
|
* **[Permissions](#permissions) required:** *Administer Jira* [global
|
|
26
26
|
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
27
27
|
*
|
|
28
|
-
* @returns
|
|
28
|
+
* @returns
|
|
29
|
+
* * status: 201, mediaType: application/json
|
|
29
30
|
*
|
|
30
31
|
* Returned if the request is completed.
|
|
31
32
|
*
|
|
32
|
-
* example:
|
|
33
|
+
* example:
|
|
34
|
+
* ```
|
|
35
|
+
* {
|
|
33
36
|
* "id": "10001"
|
|
34
37
|
* }
|
|
38
|
+
* ```
|
|
35
39
|
*
|
|
36
40
|
* * status: 202, mediaType: application/json
|
|
37
41
|
*
|
|
38
42
|
* Returned if the request is accepted.
|
|
39
43
|
*
|
|
40
|
-
* example:
|
|
44
|
+
* example:
|
|
45
|
+
* ```
|
|
46
|
+
* {
|
|
41
47
|
* "id": "10001",
|
|
42
48
|
* "task": {
|
|
43
49
|
* "self": "https://your-domain.atlassian.net/rest/api/3/task/1",
|
|
@@ -54,8 +60,10 @@ class PrioritySchemesService extends CommonHttpService_1.CommonHttpService {
|
|
|
54
60
|
* "lastUpdate": 1501708133000
|
|
55
61
|
* }
|
|
56
62
|
* }
|
|
57
|
-
*
|
|
63
|
+
* ```
|
|
64
|
+
* @path POST `/rest/api/3/priorityscheme`
|
|
58
65
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-priority-schemes#api-rest-api-3-priorityscheme-post
|
|
66
|
+
* @param params
|
|
59
67
|
*/
|
|
60
68
|
this.createPriorityScheme = ({ createPrioritySchemeDetails, }) => {
|
|
61
69
|
return this.getClientInstance()
|
|
@@ -89,8 +97,9 @@ class PrioritySchemesService extends CommonHttpService_1.CommonHttpService {
|
|
|
89
97
|
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
90
98
|
*
|
|
91
99
|
* @returns Returned if the request is successful.
|
|
92
|
-
* @path
|
|
100
|
+
* @path DELETE `/rest/api/3/priorityscheme/{schemeId}`
|
|
93
101
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-priority-schemes#api-rest-api-3-priorityscheme-schemeid-delete
|
|
102
|
+
* @param params
|
|
94
103
|
*/
|
|
95
104
|
this.deletePriorityScheme = ({ schemeId, }) => {
|
|
96
105
|
return this.getClientInstance()
|
|
@@ -118,7 +127,9 @@ class PrioritySchemesService extends CommonHttpService_1.CommonHttpService {
|
|
|
118
127
|
*
|
|
119
128
|
* @returns Returned if the request is successful.
|
|
120
129
|
*
|
|
121
|
-
* example:
|
|
130
|
+
* example:
|
|
131
|
+
* ```
|
|
132
|
+
* {
|
|
122
133
|
* "isLast": true,
|
|
123
134
|
* "maxResults": 50,
|
|
124
135
|
* "startAt": 0,
|
|
@@ -150,8 +161,10 @@ class PrioritySchemesService extends CommonHttpService_1.CommonHttpService {
|
|
|
150
161
|
* }
|
|
151
162
|
* ]
|
|
152
163
|
* }
|
|
153
|
-
*
|
|
164
|
+
* ```
|
|
165
|
+
* @path GET `/rest/api/3/priorityscheme/priorities/available`
|
|
154
166
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-priority-schemes#api-rest-api-3-priorityscheme-priorities-available-get
|
|
167
|
+
* @param params
|
|
155
168
|
*/
|
|
156
169
|
this.getAvailablePrioritiesByPriorityScheme = ({ startAt, maxResults, query, schemeId, exclude, }) => {
|
|
157
170
|
return this.getClientInstance()
|
|
@@ -182,7 +195,9 @@ class PrioritySchemesService extends CommonHttpService_1.CommonHttpService {
|
|
|
182
195
|
*
|
|
183
196
|
* @returns Returned if the request is successful.
|
|
184
197
|
*
|
|
185
|
-
* example:
|
|
198
|
+
* example:
|
|
199
|
+
* ```
|
|
200
|
+
* {
|
|
186
201
|
* "isLast": true,
|
|
187
202
|
* "maxResults": 50,
|
|
188
203
|
* "startAt": 0,
|
|
@@ -214,8 +229,10 @@ class PrioritySchemesService extends CommonHttpService_1.CommonHttpService {
|
|
|
214
229
|
* }
|
|
215
230
|
* ]
|
|
216
231
|
* }
|
|
217
|
-
*
|
|
232
|
+
* ```
|
|
233
|
+
* @path GET `/rest/api/3/priorityscheme/{schemeId}/priorities`
|
|
218
234
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-priority-schemes#api-rest-api-3-priorityscheme-schemeid-priorities-get
|
|
235
|
+
* @param params
|
|
219
236
|
*/
|
|
220
237
|
this.getPrioritiesByPriorityScheme = ({ schemeId, startAt, maxResults, }) => {
|
|
221
238
|
return this.getClientInstance()
|
|
@@ -246,15 +263,16 @@ class PrioritySchemesService extends CommonHttpService_1.CommonHttpService {
|
|
|
246
263
|
*
|
|
247
264
|
* @returns Returned if the request is successful.
|
|
248
265
|
*
|
|
249
|
-
* example:
|
|
266
|
+
* example:
|
|
267
|
+
* ```
|
|
268
|
+
* {
|
|
250
269
|
* "isLast": true,
|
|
251
270
|
* "maxResults": 50,
|
|
252
271
|
* "startAt": 0,
|
|
253
272
|
* "total": 1,
|
|
254
273
|
* "values": [
|
|
255
274
|
* {
|
|
256
|
-
* "description": "This is the default scheme used by all new and unassigned
|
|
257
|
-
* projects",
|
|
275
|
+
* "description": "This is the default scheme used by all new and unassigned projects",
|
|
258
276
|
* "id": "1",
|
|
259
277
|
* "isDefault": true,
|
|
260
278
|
* "name": "Default Priority Scheme",
|
|
@@ -320,8 +338,10 @@ class PrioritySchemesService extends CommonHttpService_1.CommonHttpService {
|
|
|
320
338
|
* }
|
|
321
339
|
* ]
|
|
322
340
|
* }
|
|
323
|
-
*
|
|
341
|
+
* ```
|
|
342
|
+
* @path GET `/rest/api/3/priorityscheme`
|
|
324
343
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-priority-schemes#api-rest-api-3-priorityscheme-get
|
|
344
|
+
* @param params
|
|
325
345
|
*/
|
|
326
346
|
this.getPrioritySchemes = ({ startAt, maxResults, priorityId, schemeId, schemeName, onlyDefault, orderBy, expand, } = {}) => {
|
|
327
347
|
return this.getClientInstance()
|
|
@@ -355,7 +375,9 @@ class PrioritySchemesService extends CommonHttpService_1.CommonHttpService {
|
|
|
355
375
|
*
|
|
356
376
|
* @returns Returned if the request is successful.
|
|
357
377
|
*
|
|
358
|
-
* example:
|
|
378
|
+
* example:
|
|
379
|
+
* ```
|
|
380
|
+
* {
|
|
359
381
|
* "isLast": true,
|
|
360
382
|
* "maxResults": 50,
|
|
361
383
|
* "startAt": 0,
|
|
@@ -382,8 +404,10 @@ class PrioritySchemesService extends CommonHttpService_1.CommonHttpService {
|
|
|
382
404
|
* }
|
|
383
405
|
* ]
|
|
384
406
|
* }
|
|
385
|
-
*
|
|
407
|
+
* ```
|
|
408
|
+
* @path GET `/rest/api/3/priorityscheme/{schemeId}/projects`
|
|
386
409
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-priority-schemes#api-rest-api-3-priorityscheme-schemeid-projects-get
|
|
410
|
+
* @param params
|
|
387
411
|
*/
|
|
388
412
|
this.getProjectsByPriorityScheme = ({ schemeId, startAt, maxResults, projectId, query, }) => {
|
|
389
413
|
return this.getClientInstance()
|
|
@@ -418,7 +442,9 @@ class PrioritySchemesService extends CommonHttpService_1.CommonHttpService {
|
|
|
418
442
|
*
|
|
419
443
|
* @returns Returned if the request is successful.
|
|
420
444
|
*
|
|
421
|
-
* example:
|
|
445
|
+
* example:
|
|
446
|
+
* ```
|
|
447
|
+
* {
|
|
422
448
|
* "isLast": true,
|
|
423
449
|
* "maxResults": 50,
|
|
424
450
|
* "startAt": 0,
|
|
@@ -450,8 +476,10 @@ class PrioritySchemesService extends CommonHttpService_1.CommonHttpService {
|
|
|
450
476
|
* }
|
|
451
477
|
* ]
|
|
452
478
|
* }
|
|
453
|
-
*
|
|
479
|
+
* ```
|
|
480
|
+
* @path POST `/rest/api/3/priorityscheme/mappings`
|
|
454
481
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-priority-schemes#api-rest-api-3-priorityscheme-mappings-post
|
|
482
|
+
* @param params
|
|
455
483
|
*/
|
|
456
484
|
this.suggestedPrioritiesForMappings = ({ suggestedMappingsRequestBean, }) => {
|
|
457
485
|
return this.getClientInstance()
|
|
@@ -481,7 +509,9 @@ class PrioritySchemesService extends CommonHttpService_1.CommonHttpService {
|
|
|
481
509
|
*
|
|
482
510
|
* @returns Returned if the request is accepted.
|
|
483
511
|
*
|
|
484
|
-
* example:
|
|
512
|
+
* example:
|
|
513
|
+
* ```
|
|
514
|
+
* {
|
|
485
515
|
* "task": {
|
|
486
516
|
* "self": "https://your-domain.atlassian.net/rest/api/3/task/1",
|
|
487
517
|
* "id": "1",
|
|
@@ -497,8 +527,7 @@ class PrioritySchemesService extends CommonHttpService_1.CommonHttpService {
|
|
|
497
527
|
* "lastUpdate": 1501708133000
|
|
498
528
|
* },
|
|
499
529
|
* "updated": {
|
|
500
|
-
* "description": "This is the default scheme used by all new and unassigned
|
|
501
|
-
* projects",
|
|
530
|
+
* "description": "This is the default scheme used by all new and unassigned projects",
|
|
502
531
|
* "id": "1",
|
|
503
532
|
* "isDefault": true,
|
|
504
533
|
* "name": "Default Priority Scheme",
|
|
@@ -563,8 +592,10 @@ class PrioritySchemesService extends CommonHttpService_1.CommonHttpService {
|
|
|
563
592
|
* }
|
|
564
593
|
* }
|
|
565
594
|
* }
|
|
566
|
-
*
|
|
595
|
+
* ```
|
|
596
|
+
* @path PUT `/rest/api/3/priorityscheme/{schemeId}`
|
|
567
597
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-priority-schemes#api-rest-api-3-priorityscheme-schemeid-put
|
|
598
|
+
* @param params
|
|
568
599
|
*/
|
|
569
600
|
this.updatePriorityScheme = ({ schemeId, updatePrioritySchemeRequestBean, }) => {
|
|
570
601
|
return this.getClientInstance()
|