@resolution/jira-api-client 0.4.2 → 0.4.5
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 +23 -0
- package/README.md +4 -0
- package/lib/openapi/platform/BaseJiraPlatformApiClient.d.ts +28 -4
- package/lib/openapi/platform/BaseJiraPlatformApiClient.js +24 -1
- package/lib/openapi/platform/BaseJiraPlatformApiClient.js.map +1 -1
- package/lib/openapi/platform/models/common.d.ts +6 -0
- package/lib/openapi/platform/models/common.js +12 -1
- package/lib/openapi/platform/models/common.js.map +1 -1
- package/lib/openapi/platform/models/dynamicModules.d.ts +0 -9
- package/lib/openapi/platform/models/dynamicModules.js +0 -6
- package/lib/openapi/platform/models/dynamicModules.js.map +1 -1
- package/lib/openapi/platform/models/issueBulkOperations.d.ts +547 -0
- package/lib/openapi/platform/models/issueBulkOperations.js +437 -0
- package/lib/openapi/platform/models/issueBulkOperations.js.map +1 -0
- package/lib/openapi/platform/services/AnnouncementBannerService.d.ts +3 -3
- package/lib/openapi/platform/services/AnnouncementBannerService.js +65 -62
- package/lib/openapi/platform/services/AnnouncementBannerService.js.map +1 -1
- package/lib/openapi/platform/services/AppDataPoliciesService.d.ts +4 -4
- package/lib/openapi/platform/services/AppDataPoliciesService.js +70 -67
- package/lib/openapi/platform/services/AppDataPoliciesService.js.map +1 -1
- package/lib/openapi/platform/services/AppMigrationService.d.ts +6 -6
- package/lib/openapi/platform/services/AppMigrationService.js +139 -136
- package/lib/openapi/platform/services/AppMigrationService.js.map +1 -1
- package/lib/openapi/platform/services/AppPropertiesService.d.ts +12 -12
- package/lib/openapi/platform/services/AppPropertiesService.js +254 -251
- package/lib/openapi/platform/services/AppPropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/ApplicationRolesService.d.ts +3 -3
- package/lib/openapi/platform/services/ApplicationRolesService.js +177 -174
- package/lib/openapi/platform/services/ApplicationRolesService.js.map +1 -1
- package/lib/openapi/platform/services/AuditRecordsService.d.ts +7 -7
- package/lib/openapi/platform/services/AuditRecordsService.js +97 -94
- package/lib/openapi/platform/services/AuditRecordsService.js.map +1 -1
- package/lib/openapi/platform/services/AvatarsService.d.ts +25 -31
- package/lib/openapi/platform/services/AvatarsService.js +412 -415
- package/lib/openapi/platform/services/AvatarsService.js.map +1 -1
- package/lib/openapi/platform/services/ClassificationLevelsService.d.ts +4 -4
- package/lib/openapi/platform/services/ClassificationLevelsService.js +79 -76
- package/lib/openapi/platform/services/ClassificationLevelsService.js.map +1 -1
- package/lib/openapi/platform/services/DashboardsService.d.ts +62 -50
- package/lib/openapi/platform/services/DashboardsService.js +983 -974
- package/lib/openapi/platform/services/DashboardsService.js.map +1 -1
- package/lib/openapi/platform/services/DynamicModulesService.d.ts +6 -6
- package/lib/openapi/platform/services/DynamicModulesService.js +68 -65
- package/lib/openapi/platform/services/DynamicModulesService.js.map +1 -1
- package/lib/openapi/platform/services/FilterSharingService.d.ts +11 -11
- package/lib/openapi/platform/services/FilterSharingService.js +512 -509
- package/lib/openapi/platform/services/FilterSharingService.js.map +1 -1
- package/lib/openapi/platform/services/FiltersService.d.ts +50 -50
- package/lib/openapi/platform/services/FiltersService.js +1262 -1259
- package/lib/openapi/platform/services/FiltersService.js.map +1 -1
- package/lib/openapi/platform/services/GroupAndUserPickerService.d.ts +10 -10
- package/lib/openapi/platform/services/GroupAndUserPickerService.js +112 -109
- package/lib/openapi/platform/services/GroupAndUserPickerService.js.map +1 -1
- package/lib/openapi/platform/services/GroupsService.d.ts +46 -46
- package/lib/openapi/platform/services/GroupsService.js +385 -382
- package/lib/openapi/platform/services/GroupsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueAttachmentsService.d.ts +20 -20
- package/lib/openapi/platform/services/IssueAttachmentsService.js +644 -641
- package/lib/openapi/platform/services/IssueAttachmentsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueBulkOperationsService.d.ts +325 -0
- package/lib/openapi/platform/services/IssueBulkOperationsService.js +353 -0
- package/lib/openapi/platform/services/IssueBulkOperationsService.js.map +1 -0
- package/lib/openapi/platform/services/IssueCommentPropertiesService.d.ts +8 -8
- package/lib/openapi/platform/services/IssueCommentPropertiesService.js +187 -184
- package/lib/openapi/platform/services/IssueCommentPropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCommentsService.d.ts +22 -22
- package/lib/openapi/platform/services/IssueCommentsService.js +507 -504
- package/lib/openapi/platform/services/IssueCommentsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.d.ts +11 -11
- package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.js +126 -123
- package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCustomFieldContextsService.d.ts +42 -42
- package/lib/openapi/platform/services/IssueCustomFieldContextsService.js +748 -745
- package/lib/openapi/platform/services/IssueCustomFieldContextsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.d.ts +28 -28
- package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.js +535 -532
- package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCustomFieldOptionsService.d.ts +20 -20
- package/lib/openapi/platform/services/IssueCustomFieldOptionsService.js +358 -355
- package/lib/openapi/platform/services/IssueCustomFieldOptionsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.d.ts +6 -6
- package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.js +86 -83
- package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueFieldConfigurationsService.d.ts +45 -45
- package/lib/openapi/platform/services/IssueFieldConfigurationsService.js +689 -686
- package/lib/openapi/platform/services/IssueFieldConfigurationsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueFieldsService.d.ts +32 -32
- package/lib/openapi/platform/services/IssueFieldsService.js +484 -481
- package/lib/openapi/platform/services/IssueFieldsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueLinkTypesService.d.ts +9 -9
- package/lib/openapi/platform/services/IssueLinkTypesService.js +212 -209
- package/lib/openapi/platform/services/IssueLinkTypesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueLinksService.d.ts +6 -6
- package/lib/openapi/platform/services/IssueLinksService.js +230 -227
- package/lib/openapi/platform/services/IssueLinksService.js.map +1 -1
- package/lib/openapi/platform/services/IssueNavigatorSettingsService.d.ts +3 -3
- package/lib/openapi/platform/services/IssueNavigatorSettingsService.js +72 -69
- package/lib/openapi/platform/services/IssueNavigatorSettingsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueNotificationSchemesService.d.ts +27 -27
- package/lib/openapi/platform/services/IssueNotificationSchemesService.js +816 -813
- package/lib/openapi/platform/services/IssueNotificationSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/IssuePrioritiesService.d.ts +22 -22
- package/lib/openapi/platform/services/IssuePrioritiesService.js +307 -304
- package/lib/openapi/platform/services/IssuePrioritiesService.js.map +1 -1
- package/lib/openapi/platform/services/IssuePropertiesService.d.ts +16 -16
- package/lib/openapi/platform/services/IssuePropertiesService.js +390 -387
- package/lib/openapi/platform/services/IssuePropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueRemoteLinksService.d.ts +13 -13
- package/lib/openapi/platform/services/IssueRemoteLinksService.js +368 -365
- package/lib/openapi/platform/services/IssueRemoteLinksService.js.map +1 -1
- package/lib/openapi/platform/services/IssueResolutionsService.d.ts +19 -19
- package/lib/openapi/platform/services/IssueResolutionsService.js +283 -280
- package/lib/openapi/platform/services/IssueResolutionsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueSearchService.d.ts +24 -24
- package/lib/openapi/platform/services/IssueSearchService.js +826 -823
- package/lib/openapi/platform/services/IssueSearchService.js.map +1 -1
- package/lib/openapi/platform/services/IssueSecurityLevelService.d.ts +8 -8
- package/lib/openapi/platform/services/IssueSecurityLevelService.js +137 -134
- package/lib/openapi/platform/services/IssueSecurityLevelService.js.map +1 -1
- package/lib/openapi/platform/services/IssueSecuritySchemesService.d.ts +51 -51
- package/lib/openapi/platform/services/IssueSecuritySchemesService.js +610 -607
- package/lib/openapi/platform/services/IssueSecuritySchemesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueTypePropertiesService.d.ts +8 -8
- package/lib/openapi/platform/services/IssueTypePropertiesService.js +175 -172
- package/lib/openapi/platform/services/IssueTypePropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueTypeSchemesService.d.ts +31 -31
- package/lib/openapi/platform/services/IssueTypeSchemesService.js +527 -524
- package/lib/openapi/platform/services/IssueTypeSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueTypeScreenSchemesService.d.ts +36 -36
- package/lib/openapi/platform/services/IssueTypeScreenSchemesService.js +508 -505
- package/lib/openapi/platform/services/IssueTypeScreenSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueTypesService.d.ts +22 -28
- package/lib/openapi/platform/services/IssueTypesService.js +424 -427
- package/lib/openapi/platform/services/IssueTypesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueVotesService.d.ts +6 -6
- package/lib/openapi/platform/services/IssueVotesService.js +148 -145
- package/lib/openapi/platform/services/IssueVotesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueWatchersService.d.ts +10 -10
- package/lib/openapi/platform/services/IssueWatchersService.js +197 -194
- package/lib/openapi/platform/services/IssueWatchersService.js.map +1 -1
- package/lib/openapi/platform/services/IssueWorklogPropertiesService.d.ts +8 -8
- package/lib/openapi/platform/services/IssueWorklogPropertiesService.js +199 -196
- package/lib/openapi/platform/services/IssueWorklogPropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueWorklogsService.d.ts +44 -44
- package/lib/openapi/platform/services/IssueWorklogsService.js +636 -633
- package/lib/openapi/platform/services/IssueWorklogsService.js.map +1 -1
- package/lib/openapi/platform/services/IssuesService.d.ts +71 -71
- package/lib/openapi/platform/services/IssuesService.js +1856 -1853
- package/lib/openapi/platform/services/IssuesService.js.map +1 -1
- package/lib/openapi/platform/services/JiraExpressionsService.d.ts +6 -6
- package/lib/openapi/platform/services/JiraExpressionsService.js +238 -235
- package/lib/openapi/platform/services/JiraExpressionsService.js.map +1 -1
- package/lib/openapi/platform/services/JiraSettingsService.d.ts +9 -9
- package/lib/openapi/platform/services/JiraSettingsService.js +279 -276
- package/lib/openapi/platform/services/JiraSettingsService.js.map +1 -1
- package/lib/openapi/platform/services/JqlFunctionsAppsService.d.ts +8 -8
- package/lib/openapi/platform/services/JqlFunctionsAppsService.js +107 -104
- package/lib/openapi/platform/services/JqlFunctionsAppsService.js.map +1 -1
- package/lib/openapi/platform/services/JqlService.d.ts +15 -15
- package/lib/openapi/platform/services/JqlService.js +635 -632
- package/lib/openapi/platform/services/JqlService.js.map +1 -1
- package/lib/openapi/platform/services/LabelsService.d.ts +4 -4
- package/lib/openapi/platform/services/LabelsService.js +41 -38
- package/lib/openapi/platform/services/LabelsService.js.map +1 -1
- package/lib/openapi/platform/services/LicenseMetricsService.d.ts +4 -4
- package/lib/openapi/platform/services/LicenseMetricsService.js +120 -117
- package/lib/openapi/platform/services/LicenseMetricsService.js.map +1 -1
- package/lib/openapi/platform/services/MyselfService.d.ts +14 -14
- package/lib/openapi/platform/services/MyselfService.js +321 -318
- package/lib/openapi/platform/services/MyselfService.js.map +1 -1
- package/lib/openapi/platform/services/PermissionSchemesService.d.ts +25 -25
- package/lib/openapi/platform/services/PermissionSchemesService.js +548 -545
- package/lib/openapi/platform/services/PermissionSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/PermissionsService.d.ts +15 -15
- package/lib/openapi/platform/services/PermissionsService.js +235 -232
- package/lib/openapi/platform/services/PermissionsService.js.map +1 -1
- package/lib/openapi/platform/services/PrioritySchemesService.d.ts +34 -34
- package/lib/openapi/platform/services/PrioritySchemesService.js +571 -568
- package/lib/openapi/platform/services/PrioritySchemesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectAvatarsService.d.ts +11 -11
- package/lib/openapi/platform/services/ProjectAvatarsService.js +213 -210
- package/lib/openapi/platform/services/ProjectAvatarsService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectCategoriesService.d.ts +9 -9
- package/lib/openapi/platform/services/ProjectCategoriesService.js +180 -177
- package/lib/openapi/platform/services/ProjectCategoriesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectClassificationLevelsService.d.ts +6 -6
- package/lib/openapi/platform/services/ProjectClassificationLevelsService.js +125 -122
- package/lib/openapi/platform/services/ProjectClassificationLevelsService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectComponentsService.d.ts +28 -28
- package/lib/openapi/platform/services/ProjectComponentsService.js +1009 -1006
- package/lib/openapi/platform/services/ProjectComponentsService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectEmailService.d.ts +4 -4
- package/lib/openapi/platform/services/ProjectEmailService.js +78 -75
- package/lib/openapi/platform/services/ProjectEmailService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectFeaturesService.d.ts +4 -4
- package/lib/openapi/platform/services/ProjectFeaturesService.js +119 -116
- package/lib/openapi/platform/services/ProjectFeaturesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.d.ts +8 -8
- package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.js +100 -97
- package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectPermissionSchemesService.d.ts +10 -10
- package/lib/openapi/platform/services/ProjectPermissionSchemesService.js +199 -196
- package/lib/openapi/platform/services/ProjectPermissionSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectPropertiesService.d.ts +8 -8
- package/lib/openapi/platform/services/ProjectPropertiesService.js +172 -169
- package/lib/openapi/platform/services/ProjectPropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectRoleActorsService.d.ts +18 -18
- package/lib/openapi/platform/services/ProjectRoleActorsService.js +362 -359
- package/lib/openapi/platform/services/ProjectRoleActorsService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectRolesService.d.ts +21 -21
- package/lib/openapi/platform/services/ProjectRolesService.js +576 -573
- package/lib/openapi/platform/services/ProjectRolesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectTypesService.d.ts +6 -6
- package/lib/openapi/platform/services/ProjectTypesService.js +173 -170
- package/lib/openapi/platform/services/ProjectTypesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectVersionsService.d.ts +40 -40
- package/lib/openapi/platform/services/ProjectVersionsService.js +751 -748
- package/lib/openapi/platform/services/ProjectVersionsService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectsService.d.ts +49 -49
- package/lib/openapi/platform/services/ProjectsService.js +1597 -1594
- package/lib/openapi/platform/services/ProjectsService.js.map +1 -1
- package/lib/openapi/platform/services/ScreenSchemesService.d.ts +14 -14
- package/lib/openapi/platform/services/ScreenSchemesService.js +177 -174
- package/lib/openapi/platform/services/ScreenSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/ScreenTabFieldsService.d.ts +9 -9
- package/lib/openapi/platform/services/ScreenTabFieldsService.js +144 -141
- package/lib/openapi/platform/services/ScreenTabFieldsService.js.map +1 -1
- package/lib/openapi/platform/services/ScreenTabsService.d.ts +17 -17
- package/lib/openapi/platform/services/ScreenTabsService.js +229 -226
- package/lib/openapi/platform/services/ScreenTabsService.js.map +1 -1
- package/lib/openapi/platform/services/ScreensService.d.ts +23 -23
- package/lib/openapi/platform/services/ScreensService.js +281 -278
- package/lib/openapi/platform/services/ScreensService.js.map +1 -1
- package/lib/openapi/platform/services/ServerInfoService.d.ts +1 -1
- package/lib/openapi/platform/services/ServerInfoService.js +51 -48
- package/lib/openapi/platform/services/ServerInfoService.js.map +1 -1
- package/lib/openapi/platform/services/ServiceRegistryService.d.ts +2 -2
- package/lib/openapi/platform/services/ServiceRegistryService.js +30 -27
- package/lib/openapi/platform/services/ServiceRegistryService.js.map +1 -1
- package/lib/openapi/platform/services/StatusService.d.ts +17 -17
- package/lib/openapi/platform/services/StatusService.js +271 -268
- package/lib/openapi/platform/services/StatusService.js.map +1 -1
- package/lib/openapi/platform/services/TasksService.d.ts +4 -4
- package/lib/openapi/platform/services/TasksService.js +93 -90
- package/lib/openapi/platform/services/TasksService.js.map +1 -1
- package/lib/openapi/platform/services/TimeTrackingService.d.ts +7 -7
- package/lib/openapi/platform/services/TimeTrackingService.js +190 -187
- package/lib/openapi/platform/services/TimeTrackingService.js.map +1 -1
- package/lib/openapi/platform/services/UiModificationsAppsService.d.ts +11 -11
- package/lib/openapi/platform/services/UiModificationsAppsService.js +214 -211
- package/lib/openapi/platform/services/UiModificationsAppsService.js.map +1 -1
- package/lib/openapi/platform/services/UserPropertiesService.d.ts +20 -20
- package/lib/openapi/platform/services/UserPropertiesService.js +196 -193
- package/lib/openapi/platform/services/UserPropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/UserSearchService.d.ts +61 -61
- package/lib/openapi/platform/services/UserSearchService.js +709 -706
- package/lib/openapi/platform/services/UserSearchService.js.map +1 -1
- package/lib/openapi/platform/services/UsersService.d.ts +51 -51
- package/lib/openapi/platform/services/UsersService.js +637 -634
- package/lib/openapi/platform/services/UsersService.js.map +1 -1
- package/lib/openapi/platform/services/WebhooksService.d.ts +14 -14
- package/lib/openapi/platform/services/WebhooksService.js +262 -259
- package/lib/openapi/platform/services/WebhooksService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowSchemeDraftsService.d.ts +30 -30
- package/lib/openapi/platform/services/WorkflowSchemeDraftsService.js +861 -858
- package/lib/openapi/platform/services/WorkflowSchemeDraftsService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.d.ts +4 -4
- package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.js +98 -95
- package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowSchemesService.d.ts +45 -45
- package/lib/openapi/platform/services/WorkflowSchemesService.js +899 -896
- package/lib/openapi/platform/services/WorkflowSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowStatusCategoriesService.d.ts +3 -3
- package/lib/openapi/platform/services/WorkflowStatusCategoriesService.js +82 -79
- package/lib/openapi/platform/services/WorkflowStatusCategoriesService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowStatusesService.d.ts +3 -3
- package/lib/openapi/platform/services/WorkflowStatusesService.js +110 -107
- package/lib/openapi/platform/services/WorkflowStatusesService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.d.ts +14 -14
- package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.js +182 -179
- package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowTransitionRulesService.d.ts +13 -13
- package/lib/openapi/platform/services/WorkflowTransitionRulesService.js +283 -280
- package/lib/openapi/platform/services/WorkflowTransitionRulesService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowsService.d.ts +33 -33
- package/lib/openapi/platform/services/WorkflowsService.js +2451 -2448
- package/lib/openapi/platform/services/WorkflowsService.js.map +1 -1
- package/lib/openapi/software/services/BacklogService.d.ts +4 -4
- package/lib/openapi/software/services/BacklogService.js +81 -78
- package/lib/openapi/software/services/BacklogService.js.map +1 -1
- package/lib/openapi/software/services/BoardService.d.ts +124 -124
- package/lib/openapi/software/services/BoardService.js +2048 -2045
- package/lib/openapi/software/services/BoardService.js.map +1 -1
- package/lib/openapi/software/services/BuildsService.d.ts +10 -10
- package/lib/openapi/software/services/BuildsService.js +164 -161
- package/lib/openapi/software/services/BuildsService.js.map +1 -1
- package/lib/openapi/software/services/DeploymentsService.d.ts +12 -12
- package/lib/openapi/software/services/DeploymentsService.js +192 -189
- package/lib/openapi/software/services/DeploymentsService.js.map +1 -1
- package/lib/openapi/software/services/DevOpsComponentsService.d.ts +8 -8
- package/lib/openapi/software/services/DevOpsComponentsService.js +145 -142
- package/lib/openapi/software/services/DevOpsComponentsService.js.map +1 -1
- package/lib/openapi/software/services/DevelopmentInformationService.d.ts +16 -16
- package/lib/openapi/software/services/DevelopmentInformationService.js +178 -175
- package/lib/openapi/software/services/DevelopmentInformationService.js.map +1 -1
- package/lib/openapi/software/services/EpicService.d.ts +26 -26
- package/lib/openapi/software/services/EpicService.js +597 -594
- package/lib/openapi/software/services/EpicService.js.map +1 -1
- package/lib/openapi/software/services/FeatureFlagsService.d.ts +10 -10
- package/lib/openapi/software/services/FeatureFlagsService.js +151 -148
- package/lib/openapi/software/services/FeatureFlagsService.js.map +1 -1
- package/lib/openapi/software/services/IssueService.d.ts +13 -13
- package/lib/openapi/software/services/IssueService.js +359 -356
- package/lib/openapi/software/services/IssueService.js.map +1 -1
- package/lib/openapi/software/services/OperationsService.d.ts +24 -24
- package/lib/openapi/software/services/OperationsService.js +301 -298
- package/lib/openapi/software/services/OperationsService.js.map +1 -1
- package/lib/openapi/software/services/RemoteLinksService.d.ts +15 -15
- package/lib/openapi/software/services/RemoteLinksService.js +160 -157
- package/lib/openapi/software/services/RemoteLinksService.js.map +1 -1
- package/lib/openapi/software/services/SecurityInformationService.d.ts +16 -16
- package/lib/openapi/software/services/SecurityInformationService.js +262 -259
- package/lib/openapi/software/services/SecurityInformationService.js.map +1 -1
- package/lib/openapi/software/services/SprintService.d.ts +33 -33
- package/lib/openapi/software/services/SprintService.js +594 -591
- package/lib/openapi/software/services/SprintService.js.map +1 -1
- package/package.json +4 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PermissionSchemesService.js","sourceRoot":"","sources":["../../../../src/openapi/platform/services/PermissionSchemesService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,6CAG0B;AAC1B,mEAKqC;AACrC,wEAAqE;AACrE;;;;;;GAMG;AACH,MAAa,wBAAyB,SAAQ,qCAAiB;
|
|
1
|
+
{"version":3,"file":"PermissionSchemesService.js","sourceRoot":"","sources":["../../../../src/openapi/platform/services/PermissionSchemesService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,6CAG0B;AAC1B,mEAKqC;AACrC,wEAAqE;AACrE;;;;;;GAMG;AACH,MAAa,wBAAyB,SAAQ,qCAAiB;IAA/D;;QACE;;;;;;;;;;;;;;;;;;;;;;;;;;WA0BG;QACH,0BAAqB,GAAG,CAAC,EACvB,QAAQ,EACR,MAAM,EACN,eAAe,GA+BhB,EAA4B,EAAE;YAC7B,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,oDAAoD;gBAC1D,MAAM,EAAE,MAAM;gBACd,UAAU,EAAE;oBACV,QAAQ;iBACT;gBACD,KAAK,EAAE;oBACL,MAAM;iBACP;gBACD,OAAO,EAAE;oBACP,cAAc,EAAE,kBAAkB;iBACnC;gBACD,IAAI,EAAE,eAAe;aACtB,CAAC;iBACD,IAAI,CACH,IAAI,CAAC,iBAAiB,EAAE,CAAC,eAAe,CAAC;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,yDAAyD,CAC1D,CACF;iBACA,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;QACpC,CAAC,CAAC;QACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAoCG;QACH,2BAAsB,GAAG,CAAC,EACxB,MAAM,EACN,gBAAgB,GAmCjB,EAA6B,EAAE;YAC9B,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,8BAA8B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AAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,iBAAiB,CAAC;SACtD,CAAC;aACD,QAAQ,CAAC,yDAAyD,CAAC,CACvE,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,4DAA4D,EAC5D,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,iBAAiB,CAAC;SACtD,CAAC;aACD,QAAQ,CAAC,4DAA4D,CAAC,CAC1E,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC;YACnC,8DAA0C;YAC1C,wCAA+B;SAChC,CAAC,CAAC;IACL,CAAC;CACF;AA/4BD,4DA+4BC"}
|
|
@@ -36,7 +36,7 @@ export declare class PermissionsService extends CommonHttpService {
|
|
|
36
36
|
* @scopes-beta read:permission:jira
|
|
37
37
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-permissions#api-rest-api-3-permissions-get
|
|
38
38
|
*/
|
|
39
|
-
getAllPermissions()
|
|
39
|
+
getAllPermissions: () => Promise<Permissions>;
|
|
40
40
|
/**
|
|
41
41
|
* Returns:
|
|
42
42
|
*
|
|
@@ -96,7 +96,7 @@ export declare class PermissionsService extends CommonHttpService {
|
|
|
96
96
|
* @scopes-beta read:permission:jira
|
|
97
97
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-permissions#api-rest-api-3-permissions-check-post
|
|
98
98
|
*/
|
|
99
|
-
getBulkPermissions({ bulkPermissionsRequestBean, }: {
|
|
99
|
+
getBulkPermissions: ({ bulkPermissionsRequestBean, }: {
|
|
100
100
|
/**
|
|
101
101
|
* Details of the permissions to check.
|
|
102
102
|
*
|
|
@@ -125,7 +125,7 @@ export declare class PermissionsService extends CommonHttpService {
|
|
|
125
125
|
* }
|
|
126
126
|
*/
|
|
127
127
|
bulkPermissionsRequestBean: BulkPermissionsRequestBean;
|
|
128
|
-
})
|
|
128
|
+
}) => Promise<BulkPermissionGrants>;
|
|
129
129
|
/**
|
|
130
130
|
* Returns a list of permissions indicating which permissions the user has.
|
|
131
131
|
* Details of the user's permissions can be obtained in a global, project, issue
|
|
@@ -179,26 +179,26 @@ export declare class PermissionsService extends CommonHttpService {
|
|
|
179
179
|
* @scopes-beta read:permission:jira
|
|
180
180
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-permissions#api-rest-api-3-mypermissions-get
|
|
181
181
|
*/
|
|
182
|
-
getMyPermissions({ projectKey, projectId, issueKey, issueId, permissions, projectUuid, projectConfigurationUuid, commentId, }?: {
|
|
182
|
+
getMyPermissions: ({ projectKey, projectId, issueKey, issueId, permissions, projectUuid, projectConfigurationUuid, commentId, }?: {
|
|
183
183
|
/** The key of project. Ignored if `projectId` is provided. */
|
|
184
|
-
projectKey?: string;
|
|
184
|
+
projectKey?: string | undefined;
|
|
185
185
|
/** The ID of project. */
|
|
186
|
-
projectId?: string;
|
|
186
|
+
projectId?: string | undefined;
|
|
187
187
|
/** The key of the issue. Ignored if `issueId` is provided. */
|
|
188
|
-
issueKey?: string;
|
|
188
|
+
issueKey?: string | undefined;
|
|
189
189
|
/** The ID of the issue. */
|
|
190
|
-
issueId?: string;
|
|
190
|
+
issueId?: string | undefined;
|
|
191
191
|
/**
|
|
192
192
|
* A list of permission keys. (Required) This parameter accepts a comma-separated
|
|
193
193
|
* list. To get the list of available permissions, use [Get all
|
|
194
194
|
* permissions](#api-rest-api-3-permissions-get).
|
|
195
195
|
*/
|
|
196
|
-
permissions?: string;
|
|
197
|
-
projectUuid?: string;
|
|
198
|
-
projectConfigurationUuid?: string;
|
|
196
|
+
permissions?: string | undefined;
|
|
197
|
+
projectUuid?: string | undefined;
|
|
198
|
+
projectConfigurationUuid?: string | undefined;
|
|
199
199
|
/** The ID of the comment. */
|
|
200
|
-
commentId?: string;
|
|
201
|
-
})
|
|
200
|
+
commentId?: string | undefined;
|
|
201
|
+
}) => Promise<Permissions>;
|
|
202
202
|
/**
|
|
203
203
|
* Returns all the projects where the user is granted a list of project
|
|
204
204
|
* permissions.
|
|
@@ -213,8 +213,8 @@ export declare class PermissionsService extends CommonHttpService {
|
|
|
213
213
|
* @scopes-beta read:permission:jira, read:project:jira
|
|
214
214
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-permissions#api-rest-api-3-permissions-project-post
|
|
215
215
|
*/
|
|
216
|
-
getPermittedProjects({ permissionsKeysBean, }: {
|
|
216
|
+
getPermittedProjects: ({ permissionsKeysBean, }: {
|
|
217
217
|
permissionsKeysBean: PermissionsKeysBean;
|
|
218
|
-
})
|
|
218
|
+
}) => Promise<PermittedProjects>;
|
|
219
219
|
static initialize(): void;
|
|
220
220
|
}
|
|
@@ -16,238 +16,241 @@ const validationSchemaStorage_1 = require("../validationSchemaStorage");
|
|
|
16
16
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-permissions
|
|
17
17
|
*/
|
|
18
18
|
class PermissionsService extends CommonHttpService_1.CommonHttpService {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
19
|
+
constructor() {
|
|
20
|
+
super(...arguments);
|
|
21
|
+
/**
|
|
22
|
+
* Returns all permissions, including:
|
|
23
|
+
*
|
|
24
|
+
* * global permissions.
|
|
25
|
+
* * project permissions.
|
|
26
|
+
* * global permissions added by plugins.
|
|
27
|
+
*
|
|
28
|
+
* This operation can be accessed anonymously.
|
|
29
|
+
*
|
|
30
|
+
* **[Permissions](#permissions) required:** None.
|
|
31
|
+
*
|
|
32
|
+
* @returns Returned if the request is successful.
|
|
33
|
+
*
|
|
34
|
+
* example: {
|
|
35
|
+
* "permissions": {
|
|
36
|
+
* "BULK_CHANGE": {
|
|
37
|
+
* "description": "Ability to modify a collection of issues at once. For
|
|
38
|
+
* example, resolve multiple issues in one step.",
|
|
39
|
+
* "key": "BULK_CHANGE",
|
|
40
|
+
* "name": "Bulk Change",
|
|
41
|
+
* "type": "GLOBAL"
|
|
42
|
+
* }
|
|
43
|
+
* }
|
|
44
|
+
* }
|
|
45
|
+
* @path {GET} /rest/api/3/permissions
|
|
46
|
+
* @scopes-current manage:jira-configuration
|
|
47
|
+
* @scopes-beta read:permission:jira
|
|
48
|
+
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-permissions#api-rest-api-3-permissions-get
|
|
49
|
+
*/
|
|
50
|
+
this.getAllPermissions = () => {
|
|
51
|
+
return this.getClientInstance()
|
|
52
|
+
.request({
|
|
53
|
+
path: "/rest/api/3/permissions",
|
|
54
|
+
method: "GET",
|
|
55
|
+
})
|
|
56
|
+
.then(this.getClientInstance().responseHandler({
|
|
57
|
+
200: {
|
|
58
|
+
"application/json": "json",
|
|
59
|
+
},
|
|
60
|
+
}))
|
|
61
|
+
.then(commonHttpClient.castResponse())
|
|
62
|
+
.then(validationSchemaStorage_1.validationSchemaStorage.validator("PermissionsService.getAllPermissions.response"))
|
|
63
|
+
.then(commonHttpClient.getBody);
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* Returns:
|
|
67
|
+
*
|
|
68
|
+
* * for a list of global permissions, the global permissions granted to a user.
|
|
69
|
+
* * for a list of project permissions and lists of projects and issues, for
|
|
70
|
+
* each project permission a list of the projects and issues a user can access or
|
|
71
|
+
* manipulate.
|
|
72
|
+
*
|
|
73
|
+
* If no account ID is provided, the operation returns details for the logged in
|
|
74
|
+
* user.
|
|
75
|
+
*
|
|
76
|
+
* Note that:
|
|
77
|
+
*
|
|
78
|
+
* * Invalid project and issue IDs are ignored.
|
|
79
|
+
* * A maximum of 1000 projects and 1000 issues can be checked.
|
|
80
|
+
* * Null values in `globalPermissions`, `projectPermissions`,
|
|
81
|
+
* `projectPermissions.projects`, and `projectPermissions.issues` are ignored.
|
|
82
|
+
* * Empty strings in `projectPermissions.permissions` are ignored.
|
|
83
|
+
*
|
|
84
|
+
* **Deprecation notice:** The required OAuth 2.0 scopes will be updated on June
|
|
85
|
+
* 15, 2024.
|
|
86
|
+
*
|
|
87
|
+
* * **Classic**: `read:jira-work`
|
|
88
|
+
* * **Granular**: `read:permission:jira`
|
|
89
|
+
*
|
|
90
|
+
* This operation can be accessed anonymously.
|
|
91
|
+
*
|
|
92
|
+
* **[Permissions](#permissions) required:** *Administer Jira* [global
|
|
93
|
+
* permission](https://confluence.atlassian.com/x/x4dKLg) to check the permissions
|
|
94
|
+
* for other users, otherwise none. However, Connect apps can make a call from the
|
|
95
|
+
* app server to the product to obtain permission details for any user, without
|
|
96
|
+
* admin permission. This Connect app ability doesn't apply to calls made using
|
|
97
|
+
* AP.request() in a browser.
|
|
98
|
+
*
|
|
99
|
+
* @returns Returned if the request is successful.
|
|
100
|
+
*
|
|
101
|
+
* example: {
|
|
102
|
+
* "globalPermissions": [
|
|
103
|
+
* "ADMINISTER"
|
|
104
|
+
* ],
|
|
105
|
+
* "projectPermissions": [
|
|
106
|
+
* {
|
|
107
|
+
* "issues": [
|
|
108
|
+
* 10010,
|
|
109
|
+
* 10013,
|
|
110
|
+
* 10014
|
|
111
|
+
* ],
|
|
112
|
+
* "permission": "EDIT_ISSUES",
|
|
113
|
+
* "projects": [
|
|
114
|
+
* 10001
|
|
115
|
+
* ]
|
|
116
|
+
* }
|
|
117
|
+
* ]
|
|
118
|
+
* }
|
|
119
|
+
* @path {POST} /rest/api/3/permissions/check
|
|
120
|
+
* @scopes-current
|
|
121
|
+
* @scopes-beta read:permission:jira
|
|
122
|
+
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-permissions#api-rest-api-3-permissions-check-post
|
|
123
|
+
*/
|
|
124
|
+
this.getBulkPermissions = ({ bulkPermissionsRequestBean, }) => {
|
|
125
|
+
return this.getClientInstance()
|
|
126
|
+
.request({
|
|
127
|
+
path: "/rest/api/3/permissions/check",
|
|
128
|
+
method: "POST",
|
|
129
|
+
headers: {
|
|
130
|
+
"Content-Type": "application/json",
|
|
131
|
+
},
|
|
132
|
+
body: bulkPermissionsRequestBean,
|
|
133
|
+
})
|
|
134
|
+
.then(this.getClientInstance().responseHandler({
|
|
135
|
+
200: {
|
|
136
|
+
"application/json": "json",
|
|
137
|
+
},
|
|
138
|
+
}))
|
|
139
|
+
.then(commonHttpClient.castResponse())
|
|
140
|
+
.then(validationSchemaStorage_1.validationSchemaStorage.validator("PermissionsService.getBulkPermissions.response"))
|
|
141
|
+
.then(commonHttpClient.getBody);
|
|
142
|
+
};
|
|
143
|
+
/**
|
|
144
|
+
* Returns a list of permissions indicating which permissions the user has.
|
|
145
|
+
* Details of the user's permissions can be obtained in a global, project, issue
|
|
146
|
+
* or comment context.
|
|
147
|
+
*
|
|
148
|
+
* The user is reported as having a project permission:
|
|
149
|
+
*
|
|
150
|
+
* * in the global context, if the user has the project permission in any
|
|
151
|
+
* project.
|
|
152
|
+
* * for a project, where the project permission is determined using issue data,
|
|
153
|
+
* if the user meets the permission's criteria for any issue in the project.
|
|
154
|
+
* Otherwise, if the user has the project permission in the project.
|
|
155
|
+
* * for an issue, where a project permission is determined using issue data, if
|
|
156
|
+
* the user has the permission in the issue. Otherwise, if the user has the
|
|
157
|
+
* project permission in the project containing the issue.
|
|
158
|
+
* * for a comment, where the user has both the permission to browse the comment
|
|
159
|
+
* and the project permission for the comment's parent issue. Only the
|
|
160
|
+
* BROWSE\_PROJECTS permission is supported. If a `commentId` is provided whose
|
|
161
|
+
* `permissions` does not equal BROWSE\_PROJECTS, a 400 error will be returned.
|
|
162
|
+
*
|
|
163
|
+
* This means that users may be shown as having an issue permission (such as
|
|
164
|
+
* EDIT\_ISSUES) in the global context or a project context but may not have the
|
|
165
|
+
* permission for any or all issues. For example, if Reporters have the
|
|
166
|
+
* EDIT\_ISSUES permission a user would be shown as having this permission in the
|
|
167
|
+
* global context or the context of a project, because any user can be a reporter.
|
|
168
|
+
* However, if they are not the user who reported the issue queried they would not
|
|
169
|
+
* have EDIT\_ISSUES permission for that issue.
|
|
170
|
+
*
|
|
171
|
+
* Global permissions are unaffected by context.
|
|
172
|
+
*
|
|
173
|
+
* This operation can be accessed anonymously.
|
|
174
|
+
*
|
|
175
|
+
* **[Permissions](#permissions) required:** None.
|
|
176
|
+
*
|
|
177
|
+
* @returns Returned if the request is successful.
|
|
178
|
+
*
|
|
179
|
+
* example: {
|
|
180
|
+
* "permissions": {
|
|
181
|
+
* "EDIT_ISSUES": {
|
|
182
|
+
* "description": "Ability to edit issues.",
|
|
183
|
+
* "havePermission": true,
|
|
184
|
+
* "id": "12",
|
|
185
|
+
* "key": "EDIT_ISSUES",
|
|
186
|
+
* "name": "Edit Issues",
|
|
187
|
+
* "type": "PROJECT"
|
|
188
|
+
* }
|
|
189
|
+
* }
|
|
190
|
+
* }
|
|
191
|
+
* @path {GET} /rest/api/3/mypermissions
|
|
192
|
+
* @scopes-current read:jira-work
|
|
193
|
+
* @scopes-beta read:permission:jira
|
|
194
|
+
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-permissions#api-rest-api-3-mypermissions-get
|
|
195
|
+
*/
|
|
196
|
+
this.getMyPermissions = ({ projectKey, projectId, issueKey, issueId, permissions, projectUuid, projectConfigurationUuid, commentId, } = {}) => {
|
|
197
|
+
return this.getClientInstance()
|
|
198
|
+
.request({
|
|
199
|
+
path: "/rest/api/3/mypermissions",
|
|
200
|
+
method: "GET",
|
|
201
|
+
query: {
|
|
202
|
+
projectKey,
|
|
203
|
+
projectId,
|
|
204
|
+
issueKey,
|
|
205
|
+
issueId,
|
|
206
|
+
permissions,
|
|
207
|
+
projectUuid,
|
|
208
|
+
projectConfigurationUuid,
|
|
209
|
+
commentId,
|
|
210
|
+
},
|
|
211
|
+
})
|
|
212
|
+
.then(this.getClientInstance().responseHandler({
|
|
213
|
+
200: {
|
|
214
|
+
"application/json": "json",
|
|
215
|
+
},
|
|
216
|
+
}))
|
|
217
|
+
.then(commonHttpClient.castResponse())
|
|
218
|
+
.then(validationSchemaStorage_1.validationSchemaStorage.validator("PermissionsService.getMyPermissions.response"))
|
|
219
|
+
.then(commonHttpClient.getBody);
|
|
220
|
+
};
|
|
221
|
+
/**
|
|
222
|
+
* Returns all the projects where the user is granted a list of project
|
|
223
|
+
* permissions.
|
|
224
|
+
*
|
|
225
|
+
* This operation can be accessed anonymously.
|
|
226
|
+
*
|
|
227
|
+
* **[Permissions](#permissions) required:** None.
|
|
228
|
+
*
|
|
229
|
+
* @returns Returned if the request is successful.
|
|
230
|
+
* @path {POST} /rest/api/3/permissions/project
|
|
231
|
+
* @scopes-current read:jira-work
|
|
232
|
+
* @scopes-beta read:permission:jira, read:project:jira
|
|
233
|
+
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-permissions#api-rest-api-3-permissions-project-post
|
|
234
|
+
*/
|
|
235
|
+
this.getPermittedProjects = ({ permissionsKeysBean, }) => {
|
|
236
|
+
return this.getClientInstance()
|
|
237
|
+
.request({
|
|
238
|
+
path: "/rest/api/3/permissions/project",
|
|
239
|
+
method: "POST",
|
|
240
|
+
headers: {
|
|
241
|
+
"Content-Type": "application/json",
|
|
242
|
+
},
|
|
243
|
+
body: permissionsKeysBean,
|
|
244
|
+
})
|
|
245
|
+
.then(this.getClientInstance().responseHandler({
|
|
246
|
+
200: {
|
|
247
|
+
"application/json": "json",
|
|
248
|
+
},
|
|
249
|
+
}))
|
|
250
|
+
.then(commonHttpClient.castResponse())
|
|
251
|
+
.then(validationSchemaStorage_1.validationSchemaStorage.validator("PermissionsService.getPermittedProjects.response"))
|
|
252
|
+
.then(commonHttpClient.getBody);
|
|
253
|
+
};
|
|
251
254
|
}
|
|
252
255
|
static initialize() {
|
|
253
256
|
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("PermissionsService.getMyPermissions.response", zod_1.z
|