@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
|
@@ -5,8 +5,8 @@ exports.IssueVotesService = 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 issueVotes_1 = require("../models/issueVotes");
|
|
11
11
|
const validationSchemaStorage_1 = require("../validationSchemaStorage");
|
|
12
12
|
/**
|
|
@@ -35,10 +35,11 @@ class IssueVotesService extends CommonHttpService_1.CommonHttpService {
|
|
|
35
35
|
* configured, issue-level security permission to view the issue.
|
|
36
36
|
*
|
|
37
37
|
* @returns Returned if the request is successful.
|
|
38
|
-
* @path
|
|
38
|
+
* @path POST `/rest/api/3/issue/{issueIdOrKey}/votes`
|
|
39
39
|
* @scopes-current write:jira-work
|
|
40
40
|
* @scopes-beta write:issue.vote:jira
|
|
41
41
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-votes#api-rest-api-3-issue-issueidorkey-votes-post
|
|
42
|
+
* @param params
|
|
42
43
|
*/
|
|
43
44
|
this.addVote = ({ issueIdOrKey, }) => {
|
|
44
45
|
return this.getClientInstance()
|
|
@@ -81,7 +82,9 @@ class IssueVotesService extends CommonHttpService_1.CommonHttpService {
|
|
|
81
82
|
*
|
|
82
83
|
* @returns Returned if the request is successful.
|
|
83
84
|
*
|
|
84
|
-
* example:
|
|
85
|
+
* example:
|
|
86
|
+
* ```
|
|
87
|
+
* {
|
|
85
88
|
* "hasVoted": true,
|
|
86
89
|
* "self": "https://your-domain.atlassian.net/rest/api/issue/MKY-1/votes",
|
|
87
90
|
* "voters": [
|
|
@@ -90,29 +93,25 @@ class IssueVotesService extends CommonHttpService_1.CommonHttpService {
|
|
|
90
93
|
* "accountType": "atlassian",
|
|
91
94
|
* "active": false,
|
|
92
95
|
* "avatarUrls": {
|
|
93
|
-
* "16x16":
|
|
94
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
95
|
-
* "
|
|
96
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
97
|
-
* "32x32":
|
|
98
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
99
|
-
* "48x48":
|
|
100
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
96
|
+
* "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
97
|
+
* "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
98
|
+
* "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
99
|
+
* "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
101
100
|
* },
|
|
102
101
|
* "displayName": "Mia Krystof",
|
|
103
102
|
* "key": "",
|
|
104
103
|
* "name": "",
|
|
105
|
-
* "self":
|
|
106
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
104
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
107
105
|
* }
|
|
108
106
|
* ],
|
|
109
107
|
* "votes": 24
|
|
110
108
|
* }
|
|
111
|
-
*
|
|
109
|
+
* ```
|
|
110
|
+
* @path GET `/rest/api/3/issue/{issueIdOrKey}/votes`
|
|
112
111
|
* @scopes-current read:jira-work
|
|
113
|
-
* @scopes-beta read:issue.vote:jira, read:user:jira, read:application-role:jira,
|
|
114
|
-
* read:avatar:jira, read:group:jira
|
|
112
|
+
* @scopes-beta read:issue.vote:jira, read:user:jira, read:application-role:jira, read:avatar:jira, read:group:jira
|
|
115
113
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-votes#api-rest-api-3-issue-issueidorkey-votes-get
|
|
114
|
+
* @param params
|
|
116
115
|
*/
|
|
117
116
|
this.getVotes = ({ issueIdOrKey, }) => {
|
|
118
117
|
return this.getClientInstance()
|
|
@@ -148,10 +147,11 @@ class IssueVotesService extends CommonHttpService_1.CommonHttpService {
|
|
|
148
147
|
* * If [issue-level security](https://confluence.atlassian.com/x/J4lKLg) is
|
|
149
148
|
* configured, issue-level security permission to view the issue.
|
|
150
149
|
*
|
|
151
|
-
* @path
|
|
150
|
+
* @path DELETE `/rest/api/3/issue/{issueIdOrKey}/votes`
|
|
152
151
|
* @scopes-current write:jira-work
|
|
153
152
|
* @scopes-beta write:issue.vote:jira
|
|
154
153
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-votes#api-rest-api-3-issue-issueidorkey-votes-delete
|
|
154
|
+
* @param params
|
|
155
155
|
*/
|
|
156
156
|
this.removeVote = ({ issueIdOrKey, }) => {
|
|
157
157
|
return this.getClientInstance()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IssueVotesService.js","sourceRoot":"","sources":["../../../../src/openapi/platform/services/IssueVotesService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,
|
|
1
|
+
{"version":3,"file":"IssueVotesService.js","sourceRoot":"","sources":["../../../../src/openapi/platform/services/IssueVotesService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,gEAAgE;AAChE,oEAAiE;AACjE,qDAG8B;AAC9B,wEAAqE;AACrE;;;;;GAKG;AACH,MAAa,iBAAkB,SAAQ,qCAAiB;IAAxD;;QACE;;;;;;;;;;;;;;;;;;;;;;WAsBG;QACH,YAAO,GAAG,CAAC,EACT,YAAY,GAIb,EAAiB,EAAE;YAClB,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,wCAAwC;gBAC9C,MAAM,EAAE,MAAM;gBACd,UAAU,EAAE;oBACV,YAAY;iBACb;aACF,CAAC;iBACD,IAAI,CACH,IAAI,CAAC,iBAAiB,EAAE,CAAC,eAAe,CAAC;gBACvC,GAAG,EAAE;oBACH,kBAAkB,EAA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ACE,MAAM,CAAC;YACN,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,OAAO,CAAC;SAC5C,CAAC;aACD,QAAQ,CAAC,qCAAqC,CAAC,CACnD,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,oCAAoC,EACpC,OAAC;aACE,MAAM,CAAC;YACN,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,OAAC,CAAC,OAAO,EAAE;SAClB,CAAC;aACD,QAAQ,CAAC,oCAAoC,CAAC,CAClD,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC,CAAC,gDAAmC,CAAC,CAAC,CAAC;IAC9E,CAAC;CACF;AA/MD,8CA+MC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CommonHttpService } from "
|
|
1
|
+
import { CommonHttpService } from "../../core/CommonHttpService";
|
|
2
2
|
import { type BulkIssueIsWatching, type IssueList, type Watchers } from "../models/issueWatchers";
|
|
3
3
|
/**
|
|
4
4
|
* This resource represents users watching an issue. Use it to get details of
|
|
@@ -28,10 +28,11 @@ export declare class IssueWatchersService extends CommonHttpService {
|
|
|
28
28
|
* that the issue is in.
|
|
29
29
|
*
|
|
30
30
|
* @returns Returned if the request is successful.
|
|
31
|
-
* @path
|
|
31
|
+
* @path POST `/rest/api/3/issue/{issueIdOrKey}/watchers`
|
|
32
32
|
* @scopes-current write:jira-work
|
|
33
33
|
* @scopes-beta write:issue.watcher:jira
|
|
34
34
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-watchers#api-rest-api-3-issue-issueidorkey-watchers-post
|
|
35
|
+
* @param params
|
|
35
36
|
*/
|
|
36
37
|
addWatcher: ({ issueIdOrKey, requestBody, }: {
|
|
37
38
|
/** The ID or key of the issue. */
|
|
@@ -65,7 +66,9 @@ export declare class IssueWatchersService extends CommonHttpService {
|
|
|
65
66
|
*
|
|
66
67
|
* @returns Returned if the request is successful
|
|
67
68
|
*
|
|
68
|
-
* example:
|
|
69
|
+
* example:
|
|
70
|
+
* ```
|
|
71
|
+
* {
|
|
69
72
|
* "isWatching": false,
|
|
70
73
|
* "self": "https://your-domain.atlassian.net/rest/api/3/issue/EX-1/watchers",
|
|
71
74
|
* "watchCount": 1,
|
|
@@ -74,15 +77,16 @@ export declare class IssueWatchersService extends CommonHttpService {
|
|
|
74
77
|
* "accountId": "5b10a2844c20165700ede21g",
|
|
75
78
|
* "active": false,
|
|
76
79
|
* "displayName": "Mia Krystof",
|
|
77
|
-
* "self":
|
|
78
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
80
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
79
81
|
* }
|
|
80
82
|
* ]
|
|
81
83
|
* }
|
|
82
|
-
*
|
|
84
|
+
* ```
|
|
85
|
+
* @path GET `/rest/api/3/issue/{issueIdOrKey}/watchers`
|
|
83
86
|
* @scopes-current read:jira-work
|
|
84
87
|
* @scopes-beta read:issue.watcher:jira, read:user:jira, read:avatar:jira
|
|
85
88
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-watchers#api-rest-api-3-issue-issueidorkey-watchers-get
|
|
89
|
+
* @param params
|
|
86
90
|
*/
|
|
87
91
|
getIssueWatchers: ({ issueIdOrKey, }: {
|
|
88
92
|
/** The ID or key of the issue. */
|
|
@@ -106,23 +110,28 @@ export declare class IssueWatchersService extends CommonHttpService {
|
|
|
106
110
|
*
|
|
107
111
|
* @returns Returned if the request is successful
|
|
108
112
|
*
|
|
109
|
-
* example:
|
|
113
|
+
* example:
|
|
114
|
+
* ```
|
|
115
|
+
* {
|
|
110
116
|
* "issuesIsWatching": {
|
|
111
117
|
* "10001": true,
|
|
112
118
|
* "10002": false,
|
|
113
119
|
* "10005": true
|
|
114
120
|
* }
|
|
115
121
|
* }
|
|
116
|
-
*
|
|
122
|
+
* ```
|
|
123
|
+
* @path POST `/rest/api/3/issue/watching`
|
|
117
124
|
* @scopes-current read:jira-work
|
|
118
125
|
* @scopes-beta read:issue.watcher:jira, read:user:jira
|
|
119
126
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-watchers#api-rest-api-3-issue-watching-post
|
|
127
|
+
* @param params
|
|
120
128
|
*/
|
|
121
129
|
getIsWatchingIssueBulk: ({ issueList, }: {
|
|
122
130
|
/**
|
|
123
131
|
* A list of issue IDs.
|
|
124
132
|
*
|
|
125
|
-
* @example
|
|
133
|
+
* @example
|
|
134
|
+
* {
|
|
126
135
|
* "issueIds": [
|
|
127
136
|
* "10001",
|
|
128
137
|
* "10002",
|
|
@@ -150,10 +159,11 @@ export declare class IssueWatchersService extends CommonHttpService {
|
|
|
150
159
|
* list* [project permission](https://confluence.atlassian.com/x/yodKLg) for the
|
|
151
160
|
* project that the issue is in.
|
|
152
161
|
*
|
|
153
|
-
* @path
|
|
162
|
+
* @path DELETE `/rest/api/3/issue/{issueIdOrKey}/watchers`
|
|
154
163
|
* @scopes-current write:jira-work
|
|
155
164
|
* @scopes-beta write:issue.watcher:jira
|
|
156
165
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-watchers#api-rest-api-3-issue-issueidorkey-watchers-delete
|
|
166
|
+
* @param params
|
|
157
167
|
*/
|
|
158
168
|
removeWatcher: ({ issueIdOrKey, username, accountId, }: {
|
|
159
169
|
/** The ID or key of the issue. */
|
|
@@ -5,8 +5,8 @@ exports.IssueWatchersService = 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 issueWatchers_1 = require("../models/issueWatchers");
|
|
11
11
|
const validationSchemaStorage_1 = require("../validationSchemaStorage");
|
|
12
12
|
/**
|
|
@@ -39,10 +39,11 @@ class IssueWatchersService extends CommonHttpService_1.CommonHttpService {
|
|
|
39
39
|
* that the issue is in.
|
|
40
40
|
*
|
|
41
41
|
* @returns Returned if the request is successful.
|
|
42
|
-
* @path
|
|
42
|
+
* @path POST `/rest/api/3/issue/{issueIdOrKey}/watchers`
|
|
43
43
|
* @scopes-current write:jira-work
|
|
44
44
|
* @scopes-beta write:issue.watcher:jira
|
|
45
45
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-watchers#api-rest-api-3-issue-issueidorkey-watchers-post
|
|
46
|
+
* @param params
|
|
46
47
|
*/
|
|
47
48
|
this.addWatcher = ({ issueIdOrKey, requestBody, }) => {
|
|
48
49
|
return this.getClientInstance()
|
|
@@ -89,7 +90,9 @@ class IssueWatchersService extends CommonHttpService_1.CommonHttpService {
|
|
|
89
90
|
*
|
|
90
91
|
* @returns Returned if the request is successful
|
|
91
92
|
*
|
|
92
|
-
* example:
|
|
93
|
+
* example:
|
|
94
|
+
* ```
|
|
95
|
+
* {
|
|
93
96
|
* "isWatching": false,
|
|
94
97
|
* "self": "https://your-domain.atlassian.net/rest/api/3/issue/EX-1/watchers",
|
|
95
98
|
* "watchCount": 1,
|
|
@@ -98,15 +101,16 @@ class IssueWatchersService extends CommonHttpService_1.CommonHttpService {
|
|
|
98
101
|
* "accountId": "5b10a2844c20165700ede21g",
|
|
99
102
|
* "active": false,
|
|
100
103
|
* "displayName": "Mia Krystof",
|
|
101
|
-
* "self":
|
|
102
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
104
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
103
105
|
* }
|
|
104
106
|
* ]
|
|
105
107
|
* }
|
|
106
|
-
*
|
|
108
|
+
* ```
|
|
109
|
+
* @path GET `/rest/api/3/issue/{issueIdOrKey}/watchers`
|
|
107
110
|
* @scopes-current read:jira-work
|
|
108
111
|
* @scopes-beta read:issue.watcher:jira, read:user:jira, read:avatar:jira
|
|
109
112
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-watchers#api-rest-api-3-issue-issueidorkey-watchers-get
|
|
113
|
+
* @param params
|
|
110
114
|
*/
|
|
111
115
|
this.getIssueWatchers = ({ issueIdOrKey, }) => {
|
|
112
116
|
return this.getClientInstance()
|
|
@@ -144,17 +148,21 @@ class IssueWatchersService extends CommonHttpService_1.CommonHttpService {
|
|
|
144
148
|
*
|
|
145
149
|
* @returns Returned if the request is successful
|
|
146
150
|
*
|
|
147
|
-
* example:
|
|
151
|
+
* example:
|
|
152
|
+
* ```
|
|
153
|
+
* {
|
|
148
154
|
* "issuesIsWatching": {
|
|
149
155
|
* "10001": true,
|
|
150
156
|
* "10002": false,
|
|
151
157
|
* "10005": true
|
|
152
158
|
* }
|
|
153
159
|
* }
|
|
154
|
-
*
|
|
160
|
+
* ```
|
|
161
|
+
* @path POST `/rest/api/3/issue/watching`
|
|
155
162
|
* @scopes-current read:jira-work
|
|
156
163
|
* @scopes-beta read:issue.watcher:jira, read:user:jira
|
|
157
164
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-watchers#api-rest-api-3-issue-watching-post
|
|
165
|
+
* @param params
|
|
158
166
|
*/
|
|
159
167
|
this.getIsWatchingIssueBulk = ({ issueList, }) => {
|
|
160
168
|
return this.getClientInstance()
|
|
@@ -193,10 +201,11 @@ class IssueWatchersService extends CommonHttpService_1.CommonHttpService {
|
|
|
193
201
|
* list* [project permission](https://confluence.atlassian.com/x/yodKLg) for the
|
|
194
202
|
* project that the issue is in.
|
|
195
203
|
*
|
|
196
|
-
* @path
|
|
204
|
+
* @path DELETE `/rest/api/3/issue/{issueIdOrKey}/watchers`
|
|
197
205
|
* @scopes-current write:jira-work
|
|
198
206
|
* @scopes-beta write:issue.watcher:jira
|
|
199
207
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-watchers#api-rest-api-3-issue-issueidorkey-watchers-delete
|
|
208
|
+
* @param params
|
|
200
209
|
*/
|
|
201
210
|
this.removeWatcher = ({ issueIdOrKey, username, accountId, }) => {
|
|
202
211
|
return this.getClientInstance()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IssueWatchersService.js","sourceRoot":"","sources":["../../../../src/openapi/platform/services/IssueWatchersService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,
|
|
1
|
+
{"version":3,"file":"IssueWatchersService.js","sourceRoot":"","sources":["../../../../src/openapi/platform/services/IssueWatchersService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,gEAAgE;AAChE,oEAAiE;AACjE,2DAKiC;AACjC,wEAAqE;AACrE;;;;;GAKG;AACH,MAAa,oBAAqB,SAAQ,qCAAiB;IAA3D;;QACE;;;;;;;;;;;;;;;;;;;;;;;;;;WA0BG;QACH,eAAU,GAAG,CAAC,EACZ,YAAY,EACZ,WAAW,GASZ,EAAiB,EAAE;YAClB,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,2CAA2C;gBACjD,MAAM,EAAE,MAAM;gBACd,UAAU,EAAE;oBACV,YAAY;iBACb;gBACD,OAAO,EAAE;oBACP,cAAc,EAAE,kBAAkB;iBACnC;gBACD,IAAI,EAAE,WAAW;aAClB,CAAC;iBACD,IAAI,CACH,IAAI,CAAC,iBAAiB,EAAE,CAAC,eAAe,CAAC;gB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D,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,sDAAsD,EACtD,OAAC;aACE,MAAM,CAAC;YACN,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,qBAAqB,CAAC;SAC1D,CAAC;aACD,QAAQ,CAAC,sDAAsD,CAAC,CACpE,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC;YACnC,sDAAsC;SACvC,CAAC,CAAC;IACL,CAAC;CACF;AAtUD,oDAsUC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CommonHttpService } from "
|
|
1
|
+
import { CommonHttpService } from "../../core/CommonHttpService";
|
|
2
2
|
import { type EntityProperty, type PropertyKeys } from "../models/common";
|
|
3
3
|
/**
|
|
4
4
|
* This resource represents [issue worklog](#api-group-Issue-worklogs) properties,
|
|
@@ -25,11 +25,11 @@ export declare class IssueWorklogPropertiesService extends CommonHttpService {
|
|
|
25
25
|
* * If the worklog has visibility restrictions, belongs to the group or has the
|
|
26
26
|
* role visibility is restricted to.
|
|
27
27
|
*
|
|
28
|
-
* @path {
|
|
29
|
-
* /rest/api/3/issue/{issueIdOrKey}/worklog/{worklogId}/properties/{propertyKey}
|
|
28
|
+
* @path DELETE `/rest/api/3/issue/{issueIdOrKey}/worklog/{worklogId}/properties/{propertyKey}`
|
|
30
29
|
* @scopes-current write:jira-work
|
|
31
30
|
* @scopes-beta delete:issue-worklog.property:jira
|
|
32
31
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-worklog-properties#api-rest-api-3-issue-issueidorkey-worklog-worklogid-properties-propertykey-delete
|
|
32
|
+
* @param params
|
|
33
33
|
*/
|
|
34
34
|
deleteWorklogProperty: ({ issueIdOrKey, worklogId, propertyKey, }: {
|
|
35
35
|
/** The ID or key of the issue. */
|
|
@@ -56,18 +56,21 @@ export declare class IssueWorklogPropertiesService extends CommonHttpService {
|
|
|
56
56
|
*
|
|
57
57
|
* @returns Returned if the request is successful.
|
|
58
58
|
*
|
|
59
|
-
* example:
|
|
59
|
+
* example:
|
|
60
|
+
* ```
|
|
61
|
+
* {
|
|
60
62
|
* "key": "issue.support",
|
|
61
63
|
* "value": {
|
|
62
64
|
* "system.conversation.id": "b1bf38be-5e94-4b40-a3b8-9278735ee1e6",
|
|
63
65
|
* "system.support.time": "1m"
|
|
64
66
|
* }
|
|
65
67
|
* }
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
+
* ```
|
|
69
|
+
* @path GET `/rest/api/3/issue/{issueIdOrKey}/worklog/{worklogId}/properties/{propertyKey}`
|
|
68
70
|
* @scopes-current read:jira-work
|
|
69
71
|
* @scopes-beta read:issue-worklog.property:jira
|
|
70
72
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-worklog-properties#api-rest-api-3-issue-issueidorkey-worklog-worklogid-properties-propertykey-get
|
|
73
|
+
* @param params
|
|
71
74
|
*/
|
|
72
75
|
getWorklogProperty: ({ issueIdOrKey, worklogId, propertyKey, }: {
|
|
73
76
|
/** The ID or key of the issue. */
|
|
@@ -94,19 +97,22 @@ export declare class IssueWorklogPropertiesService extends CommonHttpService {
|
|
|
94
97
|
*
|
|
95
98
|
* @returns Returned if the request is successful.
|
|
96
99
|
*
|
|
97
|
-
* example:
|
|
100
|
+
* example:
|
|
101
|
+
* ```
|
|
102
|
+
* {
|
|
98
103
|
* "keys": [
|
|
99
104
|
* {
|
|
100
105
|
* "key": "issue.support",
|
|
101
|
-
* "self":
|
|
102
|
-
* "https://your-domain.atlassian.net/rest/api/3/issue/EX-2/properties/issue.support"
|
|
106
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/issue/EX-2/properties/issue.support"
|
|
103
107
|
* }
|
|
104
108
|
* ]
|
|
105
109
|
* }
|
|
106
|
-
*
|
|
110
|
+
* ```
|
|
111
|
+
* @path GET `/rest/api/3/issue/{issueIdOrKey}/worklog/{worklogId}/properties`
|
|
107
112
|
* @scopes-current read:jira-work
|
|
108
113
|
* @scopes-beta read:issue-worklog.property:jira
|
|
109
114
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-worklog-properties#api-rest-api-3-issue-issueidorkey-worklog-worklogid-properties-get
|
|
115
|
+
* @param params
|
|
110
116
|
*/
|
|
111
117
|
getWorklogPropertyKeys: ({ issueIdOrKey, worklogId, }: {
|
|
112
118
|
/** The ID or key of the issue. */
|
|
@@ -137,18 +143,19 @@ export declare class IssueWorklogPropertiesService extends CommonHttpService {
|
|
|
137
143
|
* * If the worklog has visibility restrictions, belongs to the group or has the
|
|
138
144
|
* role visibility is restricted to.
|
|
139
145
|
*
|
|
140
|
-
* @returns
|
|
146
|
+
* @returns
|
|
147
|
+
* * status: 200, mediaType: application/json
|
|
141
148
|
*
|
|
142
149
|
* Returned if the worklog property is updated.
|
|
143
150
|
*
|
|
144
151
|
* * status: 201, mediaType: application/json
|
|
145
152
|
*
|
|
146
153
|
* Returned if the worklog property is created.
|
|
147
|
-
* @path {
|
|
148
|
-
* /rest/api/3/issue/{issueIdOrKey}/worklog/{worklogId}/properties/{propertyKey}
|
|
154
|
+
* @path PUT `/rest/api/3/issue/{issueIdOrKey}/worklog/{worklogId}/properties/{propertyKey}`
|
|
149
155
|
* @scopes-current write:jira-work
|
|
150
156
|
* @scopes-beta write:issue-worklog.property:jira
|
|
151
157
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-worklog-properties#api-rest-api-3-issue-issueidorkey-worklog-worklogid-properties-propertykey-put
|
|
158
|
+
* @param params
|
|
152
159
|
*/
|
|
153
160
|
setWorklogProperty: ({ issueIdOrKey, worklogId, propertyKey, requestBody, }: {
|
|
154
161
|
/** The ID or key of the issue. */
|
|
@@ -5,8 +5,8 @@ exports.IssueWorklogPropertiesService = 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 validationSchemaStorage_1 = require("../validationSchemaStorage");
|
|
12
12
|
/**
|
|
@@ -36,11 +36,11 @@ class IssueWorklogPropertiesService extends CommonHttpService_1.CommonHttpServic
|
|
|
36
36
|
* * If the worklog has visibility restrictions, belongs to the group or has the
|
|
37
37
|
* role visibility is restricted to.
|
|
38
38
|
*
|
|
39
|
-
* @path {
|
|
40
|
-
* /rest/api/3/issue/{issueIdOrKey}/worklog/{worklogId}/properties/{propertyKey}
|
|
39
|
+
* @path DELETE `/rest/api/3/issue/{issueIdOrKey}/worklog/{worklogId}/properties/{propertyKey}`
|
|
41
40
|
* @scopes-current write:jira-work
|
|
42
41
|
* @scopes-beta delete:issue-worklog.property:jira
|
|
43
42
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-worklog-properties#api-rest-api-3-issue-issueidorkey-worklog-worklogid-properties-propertykey-delete
|
|
43
|
+
* @param params
|
|
44
44
|
*/
|
|
45
45
|
this.deleteWorklogProperty = ({ issueIdOrKey, worklogId, propertyKey, }) => {
|
|
46
46
|
return this.getClientInstance()
|
|
@@ -72,18 +72,21 @@ class IssueWorklogPropertiesService extends CommonHttpService_1.CommonHttpServic
|
|
|
72
72
|
*
|
|
73
73
|
* @returns Returned if the request is successful.
|
|
74
74
|
*
|
|
75
|
-
* example:
|
|
75
|
+
* example:
|
|
76
|
+
* ```
|
|
77
|
+
* {
|
|
76
78
|
* "key": "issue.support",
|
|
77
79
|
* "value": {
|
|
78
80
|
* "system.conversation.id": "b1bf38be-5e94-4b40-a3b8-9278735ee1e6",
|
|
79
81
|
* "system.support.time": "1m"
|
|
80
82
|
* }
|
|
81
83
|
* }
|
|
82
|
-
*
|
|
83
|
-
*
|
|
84
|
+
* ```
|
|
85
|
+
* @path GET `/rest/api/3/issue/{issueIdOrKey}/worklog/{worklogId}/properties/{propertyKey}`
|
|
84
86
|
* @scopes-current read:jira-work
|
|
85
87
|
* @scopes-beta read:issue-worklog.property:jira
|
|
86
88
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-worklog-properties#api-rest-api-3-issue-issueidorkey-worklog-worklogid-properties-propertykey-get
|
|
89
|
+
* @param params
|
|
87
90
|
*/
|
|
88
91
|
this.getWorklogProperty = ({ issueIdOrKey, worklogId, propertyKey, }) => {
|
|
89
92
|
return this.getClientInstance()
|
|
@@ -122,19 +125,22 @@ class IssueWorklogPropertiesService extends CommonHttpService_1.CommonHttpServic
|
|
|
122
125
|
*
|
|
123
126
|
* @returns Returned if the request is successful.
|
|
124
127
|
*
|
|
125
|
-
* example:
|
|
128
|
+
* example:
|
|
129
|
+
* ```
|
|
130
|
+
* {
|
|
126
131
|
* "keys": [
|
|
127
132
|
* {
|
|
128
133
|
* "key": "issue.support",
|
|
129
|
-
* "self":
|
|
130
|
-
* "https://your-domain.atlassian.net/rest/api/3/issue/EX-2/properties/issue.support"
|
|
134
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/issue/EX-2/properties/issue.support"
|
|
131
135
|
* }
|
|
132
136
|
* ]
|
|
133
137
|
* }
|
|
134
|
-
*
|
|
138
|
+
* ```
|
|
139
|
+
* @path GET `/rest/api/3/issue/{issueIdOrKey}/worklog/{worklogId}/properties`
|
|
135
140
|
* @scopes-current read:jira-work
|
|
136
141
|
* @scopes-beta read:issue-worklog.property:jira
|
|
137
142
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-worklog-properties#api-rest-api-3-issue-issueidorkey-worklog-worklogid-properties-get
|
|
143
|
+
* @param params
|
|
138
144
|
*/
|
|
139
145
|
this.getWorklogPropertyKeys = ({ issueIdOrKey, worklogId, }) => {
|
|
140
146
|
return this.getClientInstance()
|
|
@@ -178,18 +184,19 @@ class IssueWorklogPropertiesService extends CommonHttpService_1.CommonHttpServic
|
|
|
178
184
|
* * If the worklog has visibility restrictions, belongs to the group or has the
|
|
179
185
|
* role visibility is restricted to.
|
|
180
186
|
*
|
|
181
|
-
* @returns
|
|
187
|
+
* @returns
|
|
188
|
+
* * status: 200, mediaType: application/json
|
|
182
189
|
*
|
|
183
190
|
* Returned if the worklog property is updated.
|
|
184
191
|
*
|
|
185
192
|
* * status: 201, mediaType: application/json
|
|
186
193
|
*
|
|
187
194
|
* Returned if the worklog property is created.
|
|
188
|
-
* @path {
|
|
189
|
-
* /rest/api/3/issue/{issueIdOrKey}/worklog/{worklogId}/properties/{propertyKey}
|
|
195
|
+
* @path PUT `/rest/api/3/issue/{issueIdOrKey}/worklog/{worklogId}/properties/{propertyKey}`
|
|
190
196
|
* @scopes-current write:jira-work
|
|
191
197
|
* @scopes-beta write:issue-worklog.property:jira
|
|
192
198
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-worklog-properties#api-rest-api-3-issue-issueidorkey-worklog-worklogid-properties-propertykey-put
|
|
199
|
+
* @param params
|
|
193
200
|
*/
|
|
194
201
|
this.setWorklogProperty = ({ issueIdOrKey, worklogId, propertyKey, requestBody, }) => {
|
|
195
202
|
return this.getClientInstance()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IssueWorklogPropertiesService.js","sourceRoot":"","sources":["../../../../src/openapi/platform/services/IssueWorklogPropertiesService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,
|
|
1
|
+
{"version":3,"file":"IssueWorklogPropertiesService.js","sourceRoot":"","sources":["../../../../src/openapi/platform/services/IssueWorklogPropertiesService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AA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