@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 CreateUiModificationDetails, type PageBeanUiModificationDetails, type UiModificationIdentifiers, type UpdateUiModificationDetails } from "../models/uiModificationsApps";
|
|
3
3
|
/**
|
|
4
4
|
* UI modifications is a feature available for **Forge apps only**. It enables
|
|
@@ -25,19 +25,23 @@ export declare class UiModificationsAppsService extends CommonHttpService {
|
|
|
25
25
|
*
|
|
26
26
|
* @returns Returned if the UI modification is created.
|
|
27
27
|
*
|
|
28
|
-
* example:
|
|
28
|
+
* example:
|
|
29
|
+
* ```
|
|
30
|
+
* {
|
|
29
31
|
* "id": "d7dbda8a-6239-4b63-8e13-a5ef975c8e61",
|
|
30
|
-
* "self":
|
|
31
|
-
* "https://api.atlassian.com/ex/jira/{cloudid}/rest/api/2/uiModifications/d7dbda8a-6239-4b63-8e13-a5ef975c8e61"
|
|
32
|
+
* "self": "`https://api.atlassian.com/ex/jira/{cloudid}/rest/api/2/uiModifications/d7dbda8a-6239-4b63-8e13-a5ef975c8e61`"
|
|
32
33
|
* }
|
|
33
|
-
*
|
|
34
|
+
* ```
|
|
35
|
+
* @path POST `/rest/api/3/uiModifications`
|
|
34
36
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-ui-modifications-apps-#api-rest-api-3-uimodifications-post
|
|
37
|
+
* @param params
|
|
35
38
|
*/
|
|
36
39
|
createUiModification: ({ createUiModificationDetails, }: {
|
|
37
40
|
/**
|
|
38
41
|
* Details of the UI modification.
|
|
39
42
|
*
|
|
40
|
-
* @example
|
|
43
|
+
* @example
|
|
44
|
+
* {
|
|
41
45
|
* "contexts": [
|
|
42
46
|
* {
|
|
43
47
|
* "issueTypeId": "10000",
|
|
@@ -69,8 +73,9 @@ export declare class UiModificationsAppsService extends CommonHttpService {
|
|
|
69
73
|
* **[Permissions](#permissions) required:** None.
|
|
70
74
|
*
|
|
71
75
|
* @returns Returned if the UI modification is deleted.
|
|
72
|
-
* @path
|
|
76
|
+
* @path DELETE `/rest/api/3/uiModifications/{uiModificationId}`
|
|
73
77
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-ui-modifications-apps-#api-rest-api-3-uimodifications-uimodificationid-delete
|
|
78
|
+
* @param params
|
|
74
79
|
*/
|
|
75
80
|
deleteUiModification: ({ uiModificationId, }: {
|
|
76
81
|
/** The ID of the UI modification. */
|
|
@@ -83,7 +88,9 @@ export declare class UiModificationsAppsService extends CommonHttpService {
|
|
|
83
88
|
*
|
|
84
89
|
* @returns Returned if the request is successful.
|
|
85
90
|
*
|
|
86
|
-
* example:
|
|
91
|
+
* example:
|
|
92
|
+
* ```
|
|
93
|
+
* {
|
|
87
94
|
* "isLast": true,
|
|
88
95
|
* "maxResults": 100,
|
|
89
96
|
* "startAt": 0,
|
|
@@ -93,8 +100,7 @@ export declare class UiModificationsAppsService extends CommonHttpService {
|
|
|
93
100
|
* "id": "d7dbda8a-6239-4b63-8e13-a5ef975c8e61",
|
|
94
101
|
* "name": "Reveal Story Points",
|
|
95
102
|
* "description": "Reveals Story Points field when any Sprint is selected.",
|
|
96
|
-
* "self":
|
|
97
|
-
* "https://api.atlassian.com/ex/jira/{cloudid}/rest/api/2/uiModifications/d7dbda8a-6239-4b63-8e13-a5ef975c8e61",
|
|
103
|
+
* "self": "`https://api.atlassian.com/ex/jira/{cloudid}/rest/api/2/uiModifications/d7dbda8a-6239-4b63-8e13-a5ef975c8e61`",
|
|
98
104
|
* "data": "{field: 'Story Points', config: {hidden: false}}",
|
|
99
105
|
* "contexts": [
|
|
100
106
|
* {
|
|
@@ -117,8 +123,7 @@ export declare class UiModificationsAppsService extends CommonHttpService {
|
|
|
117
123
|
* "id": "e4fe8db5-f82f-416b-a3aa-b260b55da577",
|
|
118
124
|
* "name": "Set Assignee",
|
|
119
125
|
* "description": "Sets the Assignee field automatically.",
|
|
120
|
-
* "self":
|
|
121
|
-
* "https://api.atlassian.com/ex/jira/{cloudid}/rest/api/2/uiModifications/e4fe8db5-f82f-416b-a3aa-b260b55da577",
|
|
126
|
+
* "self": "`https://api.atlassian.com/ex/jira/{cloudid}/rest/api/2/uiModifications/e4fe8db5-f82f-416b-a3aa-b260b55da577`",
|
|
122
127
|
* "contexts": [
|
|
123
128
|
* {
|
|
124
129
|
* "id": "8b3740f9-8780-4958-8228-69dcfbda11d9",
|
|
@@ -133,16 +138,14 @@ export declare class UiModificationsAppsService extends CommonHttpService {
|
|
|
133
138
|
* "id": "1453f993-79ce-4389-a36d-eb72d5c85dd6",
|
|
134
139
|
* "name": "Hide Labels",
|
|
135
140
|
* "description": "Hides Labels if any component is provided.",
|
|
136
|
-
* "self":
|
|
137
|
-
* "https://api.atlassian.com/ex/jira/{cloudid}/rest/api/2/uiModifications/1453f993-79ce-4389-a36d-eb72d5c85dd6",
|
|
141
|
+
* "self": "`https://api.atlassian.com/ex/jira/{cloudid}/rest/api/2/uiModifications/1453f993-79ce-4389-a36d-eb72d5c85dd6`",
|
|
138
142
|
* "contexts": []
|
|
139
143
|
* },
|
|
140
144
|
* {
|
|
141
145
|
* "id": "d3f4097e-8d8e-451e-9fb6-27c3c8c3bfff",
|
|
142
146
|
* "name": "Wildcard example",
|
|
143
147
|
* "description": "This context is applied to all issue types",
|
|
144
|
-
* "self":
|
|
145
|
-
* "https://api.atlassian.com/ex/jira/{cloudid}/rest/api/2/uiModifications/d3f4097e-8d8e-451e-9fb6-27c3c8c3bfff",
|
|
148
|
+
* "self": "`https://api.atlassian.com/ex/jira/{cloudid}/rest/api/2/uiModifications/d3f4097e-8d8e-451e-9fb6-27c3c8c3bfff`",
|
|
146
149
|
* "contexts": [
|
|
147
150
|
* {
|
|
148
151
|
* "id": "521f2181-5d5e-46ea-9fc9-871bbf245b8b",
|
|
@@ -155,8 +158,10 @@ export declare class UiModificationsAppsService extends CommonHttpService {
|
|
|
155
158
|
* }
|
|
156
159
|
* ]
|
|
157
160
|
* }
|
|
158
|
-
*
|
|
161
|
+
* ```
|
|
162
|
+
* @path GET `/rest/api/3/uiModifications`
|
|
159
163
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-ui-modifications-apps-#api-rest-api-3-uimodifications-get
|
|
164
|
+
* @param params
|
|
160
165
|
*/
|
|
161
166
|
getUiModifications: ({ startAt, maxResults, expand, }?: {
|
|
162
167
|
/** The index of the first item to return in a page of results (page offset). */
|
|
@@ -186,8 +191,9 @@ export declare class UiModificationsAppsService extends CommonHttpService {
|
|
|
186
191
|
* projects, if the UI modification is created with contexts.
|
|
187
192
|
*
|
|
188
193
|
* @returns Returned if the UI modification is updated.
|
|
189
|
-
* @path
|
|
194
|
+
* @path PUT `/rest/api/3/uiModifications/{uiModificationId}`
|
|
190
195
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-ui-modifications-apps-#api-rest-api-3-uimodifications-uimodificationid-put
|
|
196
|
+
* @param params
|
|
191
197
|
*/
|
|
192
198
|
updateUiModification: ({ uiModificationId, updateUiModificationDetails, }: {
|
|
193
199
|
/** The ID of the UI modification. */
|
|
@@ -195,7 +201,8 @@ export declare class UiModificationsAppsService extends CommonHttpService {
|
|
|
195
201
|
/**
|
|
196
202
|
* Details of the UI modification.
|
|
197
203
|
*
|
|
198
|
-
* @example
|
|
204
|
+
* @example
|
|
205
|
+
* {
|
|
199
206
|
* "contexts": [
|
|
200
207
|
* {
|
|
201
208
|
* "issueTypeId": "10000",
|
|
@@ -5,8 +5,8 @@ exports.UiModificationsAppsService = 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 uiModificationsApps_1 = require("../models/uiModificationsApps");
|
|
11
11
|
const validationSchemaStorage_1 = require("../validationSchemaStorage");
|
|
12
12
|
/**
|
|
@@ -36,13 +36,16 @@ class UiModificationsAppsService extends CommonHttpService_1.CommonHttpService {
|
|
|
36
36
|
*
|
|
37
37
|
* @returns Returned if the UI modification is created.
|
|
38
38
|
*
|
|
39
|
-
* example:
|
|
39
|
+
* example:
|
|
40
|
+
* ```
|
|
41
|
+
* {
|
|
40
42
|
* "id": "d7dbda8a-6239-4b63-8e13-a5ef975c8e61",
|
|
41
|
-
* "self":
|
|
42
|
-
* "https://api.atlassian.com/ex/jira/{cloudid}/rest/api/2/uiModifications/d7dbda8a-6239-4b63-8e13-a5ef975c8e61"
|
|
43
|
+
* "self": "`https://api.atlassian.com/ex/jira/{cloudid}/rest/api/2/uiModifications/d7dbda8a-6239-4b63-8e13-a5ef975c8e61`"
|
|
43
44
|
* }
|
|
44
|
-
*
|
|
45
|
+
* ```
|
|
46
|
+
* @path POST `/rest/api/3/uiModifications`
|
|
45
47
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-ui-modifications-apps-#api-rest-api-3-uimodifications-post
|
|
48
|
+
* @param params
|
|
46
49
|
*/
|
|
47
50
|
this.createUiModification = ({ createUiModificationDetails, }) => {
|
|
48
51
|
return this.getClientInstance()
|
|
@@ -70,8 +73,9 @@ class UiModificationsAppsService extends CommonHttpService_1.CommonHttpService {
|
|
|
70
73
|
* **[Permissions](#permissions) required:** None.
|
|
71
74
|
*
|
|
72
75
|
* @returns Returned if the UI modification is deleted.
|
|
73
|
-
* @path
|
|
76
|
+
* @path DELETE `/rest/api/3/uiModifications/{uiModificationId}`
|
|
74
77
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-ui-modifications-apps-#api-rest-api-3-uimodifications-uimodificationid-delete
|
|
78
|
+
* @param params
|
|
75
79
|
*/
|
|
76
80
|
this.deleteUiModification = ({ uiModificationId, }) => {
|
|
77
81
|
return this.getClientInstance()
|
|
@@ -98,7 +102,9 @@ class UiModificationsAppsService extends CommonHttpService_1.CommonHttpService {
|
|
|
98
102
|
*
|
|
99
103
|
* @returns Returned if the request is successful.
|
|
100
104
|
*
|
|
101
|
-
* example:
|
|
105
|
+
* example:
|
|
106
|
+
* ```
|
|
107
|
+
* {
|
|
102
108
|
* "isLast": true,
|
|
103
109
|
* "maxResults": 100,
|
|
104
110
|
* "startAt": 0,
|
|
@@ -108,8 +114,7 @@ class UiModificationsAppsService extends CommonHttpService_1.CommonHttpService {
|
|
|
108
114
|
* "id": "d7dbda8a-6239-4b63-8e13-a5ef975c8e61",
|
|
109
115
|
* "name": "Reveal Story Points",
|
|
110
116
|
* "description": "Reveals Story Points field when any Sprint is selected.",
|
|
111
|
-
* "self":
|
|
112
|
-
* "https://api.atlassian.com/ex/jira/{cloudid}/rest/api/2/uiModifications/d7dbda8a-6239-4b63-8e13-a5ef975c8e61",
|
|
117
|
+
* "self": "`https://api.atlassian.com/ex/jira/{cloudid}/rest/api/2/uiModifications/d7dbda8a-6239-4b63-8e13-a5ef975c8e61`",
|
|
113
118
|
* "data": "{field: 'Story Points', config: {hidden: false}}",
|
|
114
119
|
* "contexts": [
|
|
115
120
|
* {
|
|
@@ -132,8 +137,7 @@ class UiModificationsAppsService extends CommonHttpService_1.CommonHttpService {
|
|
|
132
137
|
* "id": "e4fe8db5-f82f-416b-a3aa-b260b55da577",
|
|
133
138
|
* "name": "Set Assignee",
|
|
134
139
|
* "description": "Sets the Assignee field automatically.",
|
|
135
|
-
* "self":
|
|
136
|
-
* "https://api.atlassian.com/ex/jira/{cloudid}/rest/api/2/uiModifications/e4fe8db5-f82f-416b-a3aa-b260b55da577",
|
|
140
|
+
* "self": "`https://api.atlassian.com/ex/jira/{cloudid}/rest/api/2/uiModifications/e4fe8db5-f82f-416b-a3aa-b260b55da577`",
|
|
137
141
|
* "contexts": [
|
|
138
142
|
* {
|
|
139
143
|
* "id": "8b3740f9-8780-4958-8228-69dcfbda11d9",
|
|
@@ -148,16 +152,14 @@ class UiModificationsAppsService extends CommonHttpService_1.CommonHttpService {
|
|
|
148
152
|
* "id": "1453f993-79ce-4389-a36d-eb72d5c85dd6",
|
|
149
153
|
* "name": "Hide Labels",
|
|
150
154
|
* "description": "Hides Labels if any component is provided.",
|
|
151
|
-
* "self":
|
|
152
|
-
* "https://api.atlassian.com/ex/jira/{cloudid}/rest/api/2/uiModifications/1453f993-79ce-4389-a36d-eb72d5c85dd6",
|
|
155
|
+
* "self": "`https://api.atlassian.com/ex/jira/{cloudid}/rest/api/2/uiModifications/1453f993-79ce-4389-a36d-eb72d5c85dd6`",
|
|
153
156
|
* "contexts": []
|
|
154
157
|
* },
|
|
155
158
|
* {
|
|
156
159
|
* "id": "d3f4097e-8d8e-451e-9fb6-27c3c8c3bfff",
|
|
157
160
|
* "name": "Wildcard example",
|
|
158
161
|
* "description": "This context is applied to all issue types",
|
|
159
|
-
* "self":
|
|
160
|
-
* "https://api.atlassian.com/ex/jira/{cloudid}/rest/api/2/uiModifications/d3f4097e-8d8e-451e-9fb6-27c3c8c3bfff",
|
|
162
|
+
* "self": "`https://api.atlassian.com/ex/jira/{cloudid}/rest/api/2/uiModifications/d3f4097e-8d8e-451e-9fb6-27c3c8c3bfff`",
|
|
161
163
|
* "contexts": [
|
|
162
164
|
* {
|
|
163
165
|
* "id": "521f2181-5d5e-46ea-9fc9-871bbf245b8b",
|
|
@@ -170,8 +172,10 @@ class UiModificationsAppsService extends CommonHttpService_1.CommonHttpService {
|
|
|
170
172
|
* }
|
|
171
173
|
* ]
|
|
172
174
|
* }
|
|
173
|
-
*
|
|
175
|
+
* ```
|
|
176
|
+
* @path GET `/rest/api/3/uiModifications`
|
|
174
177
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-ui-modifications-apps-#api-rest-api-3-uimodifications-get
|
|
178
|
+
* @param params
|
|
175
179
|
*/
|
|
176
180
|
this.getUiModifications = ({ startAt, maxResults, expand, } = {}) => {
|
|
177
181
|
return this.getClientInstance()
|
|
@@ -207,8 +211,9 @@ class UiModificationsAppsService extends CommonHttpService_1.CommonHttpService {
|
|
|
207
211
|
* projects, if the UI modification is created with contexts.
|
|
208
212
|
*
|
|
209
213
|
* @returns Returned if the UI modification is updated.
|
|
210
|
-
* @path
|
|
214
|
+
* @path PUT `/rest/api/3/uiModifications/{uiModificationId}`
|
|
211
215
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-ui-modifications-apps-#api-rest-api-3-uimodifications-uimodificationid-put
|
|
216
|
+
* @param params
|
|
212
217
|
*/
|
|
213
218
|
this.updateUiModification = ({ uiModificationId, updateUiModificationDetails, }) => {
|
|
214
219
|
return this.getClientInstance()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UiModificationsAppsService.js","sourceRoot":"","sources":["../../../../src/openapi/platform/services/UiModificationsAppsService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,
|
|
1
|
+
{"version":3,"file":"UiModificationsAppsService.js","sourceRoot":"","sources":["../../../../src/openapi/platform/services/UiModificationsAppsService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,gEAAgE;AAChE,oEAAiE;AACjE,uEAMuC;AACvC,wEAAqE;AACrE;;;;;;;GAOG;AACH,MAAa,0BAA2B,SAAQ,qCAAiB;IAAjE;;QACE;;;;;;;;;;;;;;;;;;;;;;;;;;WA0BG;QACH,yBAAoB,GAAG,CAAC,EACtB,2BAA2B,GA8B5B,EAAsC,EAAE;YACvC,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,6BAA6B;gBACnC,MAAM,EAAE,MAAM;gBACd,OAAO,EAAE;oBACP,cAAc,EAAE,kBAAkB;iBACnC;gBACD,IAAI,EAAE,2BAA2B;aAClC,CAAC;iBACD,IAAI,CACH,IAAI,CAAC,iBAAiB,EAAE,CAAC,eAAe,CAAC;gBACvC,GAAG,EAAE;oBACH,kBAAkB,EAAE,MAAM;iBAC3B;aACF,CAAC,CACH;iBACA,IAAI,CACH,gBAAgB,CAAC,YAAY,EAIzB,CACL;iBACA,IAAI,CACH,iDAAuB,CAAC,SAAS,CAC/B,0DAA0D,CAC3D,CACF;iBACA,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;QACpC,CAAC,CAAC;QACF;;;;;;;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A2B,CAAC;SAChE,CAAC;aACD,QAAQ,CAAC,0DAA0D,CAAC,CACxE,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,0DAA0D,EAC1D,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,0DAA0D,CAAC,CACxE,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,0DAA0D,EAC1D,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,0DAA0D,CAAC,CACxE,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC;YACnC,kEAA4C;SAC7C,CAAC,CAAC;IACL,CAAC;CACF;AAxYD,gEAwYC"}
|
|
@@ -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 [user](#api-group-Users) properties and provides for
|
|
@@ -30,10 +30,11 @@ export declare class UserPropertiesService extends CommonHttpService {
|
|
|
30
30
|
* from any user.
|
|
31
31
|
* * Access to Jira, to delete a property from the calling user's record.
|
|
32
32
|
*
|
|
33
|
-
* @path
|
|
33
|
+
* @path DELETE `/rest/api/3/user/properties/{propertyKey}`
|
|
34
34
|
* @scopes-current write:jira-work
|
|
35
35
|
* @scopes-beta delete:user.property:jira
|
|
36
36
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-user-properties#api-rest-api-3-user-properties-propertykey-delete
|
|
37
|
+
* @param params
|
|
37
38
|
*/
|
|
38
39
|
deleteUserProperty: ({ propertyKey, accountId, userKey, username, }: {
|
|
39
40
|
/** The key of the user's property. */
|
|
@@ -75,17 +76,21 @@ export declare class UserPropertiesService extends CommonHttpService {
|
|
|
75
76
|
*
|
|
76
77
|
* @returns Returned if the request is successful.
|
|
77
78
|
*
|
|
78
|
-
* example:
|
|
79
|
+
* example:
|
|
80
|
+
* ```
|
|
81
|
+
* {
|
|
79
82
|
* "key": "issue.support",
|
|
80
83
|
* "value": {
|
|
81
84
|
* "system.conversation.id": "b1bf38be-5e94-4b40-a3b8-9278735ee1e6",
|
|
82
85
|
* "system.support.time": "1m"
|
|
83
86
|
* }
|
|
84
87
|
* }
|
|
85
|
-
*
|
|
88
|
+
* ```
|
|
89
|
+
* @path GET `/rest/api/3/user/properties/{propertyKey}`
|
|
86
90
|
* @scopes-current read:jira-user
|
|
87
91
|
* @scopes-beta read:user.property:jira
|
|
88
92
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-user-properties#api-rest-api-3-user-properties-propertykey-get
|
|
93
|
+
* @param params
|
|
89
94
|
*/
|
|
90
95
|
getUserProperty: ({ propertyKey, accountId, userKey, username, }: {
|
|
91
96
|
/** The key of the user's property. */
|
|
@@ -126,19 +131,22 @@ export declare class UserPropertiesService extends CommonHttpService {
|
|
|
126
131
|
*
|
|
127
132
|
* @returns Returned if the request is successful.
|
|
128
133
|
*
|
|
129
|
-
* example:
|
|
134
|
+
* example:
|
|
135
|
+
* ```
|
|
136
|
+
* {
|
|
130
137
|
* "keys": [
|
|
131
138
|
* {
|
|
132
139
|
* "key": "issue.support",
|
|
133
|
-
* "self":
|
|
134
|
-
* "https://your-domain.atlassian.net/rest/api/3/issue/EX-2/properties/issue.support"
|
|
140
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/issue/EX-2/properties/issue.support"
|
|
135
141
|
* }
|
|
136
142
|
* ]
|
|
137
143
|
* }
|
|
138
|
-
*
|
|
144
|
+
* ```
|
|
145
|
+
* @path GET `/rest/api/3/user/properties`
|
|
139
146
|
* @scopes-current read:jira-user
|
|
140
147
|
* @scopes-beta read:user.property:jira
|
|
141
148
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-user-properties#api-rest-api-3-user-properties-get
|
|
149
|
+
* @param params
|
|
142
150
|
*/
|
|
143
151
|
getUserPropertyKeys: ({ accountId, userKey, username, }?: {
|
|
144
152
|
/**
|
|
@@ -176,17 +184,19 @@ export declare class UserPropertiesService extends CommonHttpService {
|
|
|
176
184
|
* any user.
|
|
177
185
|
* * Access to Jira, to set a property on the calling user's record.
|
|
178
186
|
*
|
|
179
|
-
* @returns
|
|
187
|
+
* @returns
|
|
188
|
+
* * status: 200, mediaType: application/json
|
|
180
189
|
*
|
|
181
190
|
* Returned if the user property is updated.
|
|
182
191
|
*
|
|
183
192
|
* * status: 201, mediaType: application/json
|
|
184
193
|
*
|
|
185
194
|
* Returned if the user property is created.
|
|
186
|
-
* @path
|
|
195
|
+
* @path PUT `/rest/api/3/user/properties/{propertyKey}`
|
|
187
196
|
* @scopes-current write:jira-work
|
|
188
197
|
* @scopes-beta write:user.property:jira
|
|
189
198
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-user-properties#api-rest-api-3-user-properties-propertykey-put
|
|
199
|
+
* @param params
|
|
190
200
|
*/
|
|
191
201
|
setUserProperty: ({ propertyKey, accountId, userKey, username, requestBody, }: {
|
|
192
202
|
/** The key of the user's property. The maximum length is 255 characters. */
|
|
@@ -5,8 +5,8 @@ exports.UserPropertiesService = 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
|
/**
|
|
@@ -41,10 +41,11 @@ class UserPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
41
41
|
* from any user.
|
|
42
42
|
* * Access to Jira, to delete a property from the calling user's record.
|
|
43
43
|
*
|
|
44
|
-
* @path
|
|
44
|
+
* @path DELETE `/rest/api/3/user/properties/{propertyKey}`
|
|
45
45
|
* @scopes-current write:jira-work
|
|
46
46
|
* @scopes-beta delete:user.property:jira
|
|
47
47
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-user-properties#api-rest-api-3-user-properties-propertykey-delete
|
|
48
|
+
* @param params
|
|
48
49
|
*/
|
|
49
50
|
this.deleteUserProperty = ({ propertyKey, accountId, userKey, username, }) => {
|
|
50
51
|
return this.getClientInstance()
|
|
@@ -79,17 +80,21 @@ class UserPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
79
80
|
*
|
|
80
81
|
* @returns Returned if the request is successful.
|
|
81
82
|
*
|
|
82
|
-
* example:
|
|
83
|
+
* example:
|
|
84
|
+
* ```
|
|
85
|
+
* {
|
|
83
86
|
* "key": "issue.support",
|
|
84
87
|
* "value": {
|
|
85
88
|
* "system.conversation.id": "b1bf38be-5e94-4b40-a3b8-9278735ee1e6",
|
|
86
89
|
* "system.support.time": "1m"
|
|
87
90
|
* }
|
|
88
91
|
* }
|
|
89
|
-
*
|
|
92
|
+
* ```
|
|
93
|
+
* @path GET `/rest/api/3/user/properties/{propertyKey}`
|
|
90
94
|
* @scopes-current read:jira-user
|
|
91
95
|
* @scopes-beta read:user.property:jira
|
|
92
96
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-user-properties#api-rest-api-3-user-properties-propertykey-get
|
|
97
|
+
* @param params
|
|
93
98
|
*/
|
|
94
99
|
this.getUserProperty = ({ propertyKey, accountId, userKey, username, }) => {
|
|
95
100
|
return this.getClientInstance()
|
|
@@ -130,19 +135,22 @@ class UserPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
130
135
|
*
|
|
131
136
|
* @returns Returned if the request is successful.
|
|
132
137
|
*
|
|
133
|
-
* example:
|
|
138
|
+
* example:
|
|
139
|
+
* ```
|
|
140
|
+
* {
|
|
134
141
|
* "keys": [
|
|
135
142
|
* {
|
|
136
143
|
* "key": "issue.support",
|
|
137
|
-
* "self":
|
|
138
|
-
* "https://your-domain.atlassian.net/rest/api/3/issue/EX-2/properties/issue.support"
|
|
144
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/issue/EX-2/properties/issue.support"
|
|
139
145
|
* }
|
|
140
146
|
* ]
|
|
141
147
|
* }
|
|
142
|
-
*
|
|
148
|
+
* ```
|
|
149
|
+
* @path GET `/rest/api/3/user/properties`
|
|
143
150
|
* @scopes-current read:jira-user
|
|
144
151
|
* @scopes-beta read:user.property:jira
|
|
145
152
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-user-properties#api-rest-api-3-user-properties-get
|
|
153
|
+
* @param params
|
|
146
154
|
*/
|
|
147
155
|
this.getUserPropertyKeys = ({ accountId, userKey, username, } = {}) => {
|
|
148
156
|
return this.getClientInstance()
|
|
@@ -179,17 +187,19 @@ class UserPropertiesService extends CommonHttpService_1.CommonHttpService {
|
|
|
179
187
|
* any user.
|
|
180
188
|
* * Access to Jira, to set a property on the calling user's record.
|
|
181
189
|
*
|
|
182
|
-
* @returns
|
|
190
|
+
* @returns
|
|
191
|
+
* * status: 200, mediaType: application/json
|
|
183
192
|
*
|
|
184
193
|
* Returned if the user property is updated.
|
|
185
194
|
*
|
|
186
195
|
* * status: 201, mediaType: application/json
|
|
187
196
|
*
|
|
188
197
|
* Returned if the user property is created.
|
|
189
|
-
* @path
|
|
198
|
+
* @path PUT `/rest/api/3/user/properties/{propertyKey}`
|
|
190
199
|
* @scopes-current write:jira-work
|
|
191
200
|
* @scopes-beta write:user.property:jira
|
|
192
201
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-user-properties#api-rest-api-3-user-properties-propertykey-put
|
|
202
|
+
* @param params
|
|
193
203
|
*/
|
|
194
204
|
this.setUserProperty = ({ propertyKey, accountId, userKey, username, requestBody, }) => {
|
|
195
205
|
return this.getClientInstance()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserPropertiesService.js","sourceRoot":"","sources":["../../../../src/openapi/platform/services/UserPropertiesService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,
|
|
1
|
+
{"version":3,"file":"UserPropertiesService.js","sourceRoot":"","sources":["../../../../src/openapi/platform/services/UserPropertiesService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,gEAAgE;AAChE,oEAAiE;AACjE,6CAI0B;AAC1B,wEAAqE;AACrE;;;;;;;;;;;;;;GAcG;AACH,MAAa,qBAAsB,SAAQ,qCAAiB;IAA5D;;QACE;;;;;;;;;;;;;;;;;;;WAmBG;QACH,uBAAkB,GAAG,CAAC,EACpB,WAAW,EACX,SAAS,EACT,OAAO,EACP,QAAQ,GAuBT,EAAiB,EAAE;YAClB,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,2CAA2C;gBACjD,MAAM,EAAE,QAAQ;gBAChB,UAAU,EAAE;oBACV,WAAW;iBACZ;gBACD,KAAK,EAAE;oBACL,SAAS;oBACT,OAAO;oBACP,QAAQ;iBACT;aACF,CAAC;iBACD,IAAI,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC;QAC1C,CAAC,CAAC;QACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAgCG;QACH,oBAAe,GAAG,CAAC,EACjB,WAAW,EACX,SAAS,EACT,OAAO,EACP,QA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