@resolution/jira-api-client 0.5.2 → 0.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -0
- package/README.md +51 -19
- package/lib/openapi/{platform/core → core}/CommonHttpClient.d.ts +54 -3
- package/lib/openapi/{serviceManagement/core → core}/CommonHttpClient.js +14 -0
- package/lib/openapi/core/CommonHttpClient.js.map +1 -0
- package/lib/openapi/{software/core → core}/CommonHttpService.d.ts +17 -0
- package/lib/openapi/{platform/core → core}/CommonHttpService.js +11 -0
- package/lib/openapi/core/CommonHttpService.js.map +1 -0
- package/lib/openapi/core/CommonValidationSchemaStorage.js.map +1 -0
- package/lib/openapi/platform/BaseJiraPlatformApiClient.d.ts +5 -5
- package/lib/openapi/platform/BaseJiraPlatformApiClient.js +3 -3
- package/lib/openapi/platform/BaseJiraPlatformApiClient.js.map +1 -1
- package/lib/openapi/platform/models/announcementBanner.d.ts +1 -1
- package/lib/openapi/platform/models/appDataPolicies.d.ts +1 -1
- package/lib/openapi/platform/models/appMigration.d.ts +13 -7
- package/lib/openapi/platform/models/appMigration.js.map +1 -1
- package/lib/openapi/platform/models/appProperties.d.ts +3 -2
- package/lib/openapi/platform/models/appProperties.js.map +1 -1
- package/lib/openapi/platform/models/auditRecords.d.ts +1 -1
- package/lib/openapi/platform/models/avatars.d.ts +1 -1
- package/lib/openapi/platform/models/classificationLevels.d.ts +1 -1
- package/lib/openapi/platform/models/common.d.ts +3 -5
- package/lib/openapi/platform/models/common.js.map +1 -1
- package/lib/openapi/platform/models/dashboards.d.ts +2 -3
- package/lib/openapi/platform/models/dashboards.js.map +1 -1
- package/lib/openapi/platform/models/dynamicModules.d.ts +5 -3
- package/lib/openapi/platform/models/dynamicModules.js.map +1 -1
- package/lib/openapi/platform/models/filterSharing.d.ts +1 -1
- package/lib/openapi/platform/models/filters.d.ts +1 -1
- package/lib/openapi/platform/models/groupAndUserPicker.d.ts +1 -1
- package/lib/openapi/platform/models/groups.d.ts +1 -1
- package/lib/openapi/platform/models/issueAttachments.d.ts +1 -1
- package/lib/openapi/platform/models/issueBulkOperations.d.ts +2 -3
- package/lib/openapi/platform/models/issueBulkOperations.js.map +1 -1
- package/lib/openapi/platform/models/issueCommentProperties.d.ts +1 -1
- package/lib/openapi/platform/models/issueComments.d.ts +1 -1
- package/lib/openapi/platform/models/issueCustomFieldConfigurationApps.d.ts +1 -1
- package/lib/openapi/platform/models/issueCustomFieldContexts.d.ts +1 -1
- package/lib/openapi/platform/models/issueCustomFieldOptions.d.ts +1 -1
- package/lib/openapi/platform/models/issueCustomFieldOptionsApps.d.ts +1 -1
- package/lib/openapi/platform/models/issueCustomFieldValuesApps.d.ts +1 -1
- package/lib/openapi/platform/models/issueFieldConfigurations.d.ts +1 -1
- package/lib/openapi/platform/models/issueFields.d.ts +1 -1
- package/lib/openapi/platform/models/issueLinkTypes.d.ts +1 -1
- package/lib/openapi/platform/models/issueLinks.d.ts +1 -1
- package/lib/openapi/platform/models/issueNotificationSchemes.d.ts +1 -1
- package/lib/openapi/platform/models/issuePriorities.d.ts +1 -1
- package/lib/openapi/platform/models/issueProperties.d.ts +1 -1
- package/lib/openapi/platform/models/issueRemoteLinks.d.ts +1 -1
- package/lib/openapi/platform/models/issueResolutions.d.ts +1 -1
- package/lib/openapi/platform/models/issueSearch.d.ts +2 -3
- package/lib/openapi/platform/models/issueSearch.js.map +1 -1
- package/lib/openapi/platform/models/issueSecurityLevel.d.ts +1 -1
- package/lib/openapi/platform/models/issueSecuritySchemes.d.ts +1 -1
- package/lib/openapi/platform/models/issueTypeSchemes.d.ts +1 -1
- package/lib/openapi/platform/models/issueTypeScreenSchemes.d.ts +1 -1
- package/lib/openapi/platform/models/issueTypes.d.ts +1 -1
- package/lib/openapi/platform/models/issueVotes.d.ts +1 -1
- package/lib/openapi/platform/models/issueWatchers.d.ts +1 -1
- package/lib/openapi/platform/models/issueWorklogs.d.ts +1 -1
- package/lib/openapi/platform/models/issues.d.ts +16 -14
- package/lib/openapi/platform/models/issues.js.map +1 -1
- package/lib/openapi/platform/models/jiraExpressions.d.ts +8 -6
- package/lib/openapi/platform/models/jiraExpressions.js.map +1 -1
- package/lib/openapi/platform/models/jiraSettings.d.ts +1 -1
- package/lib/openapi/platform/models/jql.d.ts +9 -5
- package/lib/openapi/platform/models/jql.js.map +1 -1
- package/lib/openapi/platform/models/jqlFunctionsApps.d.ts +1 -1
- package/lib/openapi/platform/models/labels.d.ts +1 -1
- package/lib/openapi/platform/models/licenseMetrics.d.ts +1 -1
- package/lib/openapi/platform/models/myself.d.ts +1 -1
- package/lib/openapi/platform/models/permissionSchemes.d.ts +1 -1
- package/lib/openapi/platform/models/permissions.d.ts +2 -3
- package/lib/openapi/platform/models/permissions.js.map +1 -1
- package/lib/openapi/platform/models/prioritySchemes.d.ts +1 -1
- package/lib/openapi/platform/models/projectAvatars.d.ts +1 -1
- package/lib/openapi/platform/models/projectClassificationLevels.d.ts +1 -1
- package/lib/openapi/platform/models/projectComponents.d.ts +1 -1
- package/lib/openapi/platform/models/projectEmail.d.ts +1 -1
- package/lib/openapi/platform/models/projectFeatures.d.ts +1 -1
- package/lib/openapi/platform/models/projectPermissionSchemes.d.ts +1 -1
- package/lib/openapi/platform/models/projectRoleActors.d.ts +1 -1
- package/lib/openapi/platform/models/projectRoles.d.ts +1 -1
- package/lib/openapi/platform/models/projectTypes.d.ts +1 -1
- package/lib/openapi/platform/models/projectVersions.d.ts +1 -1
- package/lib/openapi/platform/models/projects.d.ts +1 -1
- package/lib/openapi/platform/models/screenSchemes.d.ts +2 -2
- package/lib/openapi/platform/models/screenSchemes.js +1 -1
- package/lib/openapi/platform/models/screenSchemes.js.map +1 -1
- package/lib/openapi/platform/models/screenTabFields.d.ts +1 -1
- package/lib/openapi/platform/models/screens.d.ts +1 -1
- package/lib/openapi/platform/models/serverInfo.d.ts +1 -1
- package/lib/openapi/platform/models/serviceRegistry.d.ts +3 -2
- package/lib/openapi/platform/models/serviceRegistry.js.map +1 -1
- package/lib/openapi/platform/models/status.d.ts +1 -1
- package/lib/openapi/platform/models/timeTracking.d.ts +1 -1
- package/lib/openapi/platform/models/uiModificationsApps.d.ts +1 -1
- package/lib/openapi/platform/models/userSearch.d.ts +1 -1
- package/lib/openapi/platform/models/users.d.ts +1 -1
- package/lib/openapi/platform/models/webhooks.d.ts +1 -1
- package/lib/openapi/platform/models/workflowSchemeDrafts.d.ts +1 -1
- package/lib/openapi/platform/models/workflowSchemeProjectAssociations.d.ts +1 -1
- package/lib/openapi/platform/models/workflowSchemes.d.ts +1 -1
- package/lib/openapi/platform/models/workflowTransitionProperties.d.ts +1 -1
- package/lib/openapi/platform/models/workflowTransitionRules.d.ts +1 -1
- package/lib/openapi/platform/models/workflows.d.ts +104 -70
- package/lib/openapi/platform/models/workflows.js +12 -0
- package/lib/openapi/platform/models/workflows.js.map +1 -1
- package/lib/openapi/platform/services/AnnouncementBannerService.d.ts +12 -9
- package/lib/openapi/platform/services/AnnouncementBannerService.js +10 -7
- package/lib/openapi/platform/services/AnnouncementBannerService.js.map +1 -1
- package/lib/openapi/platform/services/AppDataPoliciesService.d.ts +12 -5
- package/lib/openapi/platform/services/AppDataPoliciesService.js +13 -6
- package/lib/openapi/platform/services/AppDataPoliciesService.js.map +1 -1
- package/lib/openapi/platform/services/AppMigrationService.d.ts +13 -6
- package/lib/openapi/platform/services/AppMigrationService.js +12 -6
- package/lib/openapi/platform/services/AppMigrationService.js.map +1 -1
- package/lib/openapi/platform/services/AppPropertiesService.d.ts +43 -19
- package/lib/openapi/platform/services/AppPropertiesService.js +44 -20
- package/lib/openapi/platform/services/AppPropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/ApplicationRolesService.d.ts +20 -21
- package/lib/openapi/platform/services/ApplicationRolesService.js +21 -22
- package/lib/openapi/platform/services/ApplicationRolesService.js.map +1 -1
- package/lib/openapi/platform/services/AuditRecordsService.d.ts +7 -3
- package/lib/openapi/platform/services/AuditRecordsService.js +8 -4
- package/lib/openapi/platform/services/AuditRecordsService.js.map +1 -1
- package/lib/openapi/platform/services/AvatarsService.d.ts +45 -38
- package/lib/openapi/platform/services/AvatarsService.js +45 -38
- package/lib/openapi/platform/services/AvatarsService.js.map +1 -1
- package/lib/openapi/platform/services/ClassificationLevelsService.d.ts +16 -22
- package/lib/openapi/platform/services/ClassificationLevelsService.js +17 -23
- package/lib/openapi/platform/services/ClassificationLevelsService.js.map +1 -1
- package/lib/openapi/platform/services/DashboardsService.d.ts +140 -146
- package/lib/openapi/platform/services/DashboardsService.js +122 -130
- package/lib/openapi/platform/services/DashboardsService.js.map +1 -1
- package/lib/openapi/platform/services/DynamicModulesService.d.ts +6 -4
- package/lib/openapi/platform/services/DynamicModulesService.js +7 -5
- package/lib/openapi/platform/services/DynamicModulesService.js.map +1 -1
- package/lib/openapi/platform/services/FilterSharingService.d.ts +73 -96
- package/lib/openapi/platform/services/FilterSharingService.js +70 -95
- package/lib/openapi/platform/services/FilterSharingService.js.map +1 -1
- package/lib/openapi/platform/services/FiltersService.d.ts +179 -258
- package/lib/openapi/platform/services/FiltersService.js +174 -256
- package/lib/openapi/platform/services/FiltersService.js.map +1 -1
- package/lib/openapi/platform/services/GroupAndUserPickerService.d.ts +9 -7
- package/lib/openapi/platform/services/GroupAndUserPickerService.js +10 -8
- package/lib/openapi/platform/services/GroupAndUserPickerService.js.map +1 -1
- package/lib/openapi/platform/services/GroupsService.d.ts +43 -27
- package/lib/openapi/platform/services/GroupsService.js +40 -26
- package/lib/openapi/platform/services/GroupsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueAttachmentsService.d.ts +174 -170
- package/lib/openapi/platform/services/IssueAttachmentsService.js +175 -171
- package/lib/openapi/platform/services/IssueAttachmentsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueBulkOperationsService.d.ts +36 -20
- package/lib/openapi/platform/services/IssueBulkOperationsService.js +35 -20
- package/lib/openapi/platform/services/IssueBulkOperationsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCommentPropertiesService.d.ts +20 -10
- package/lib/openapi/platform/services/IssueCommentPropertiesService.js +21 -11
- package/lib/openapi/platform/services/IssueCommentPropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCommentsService.d.ts +66 -81
- package/lib/openapi/platform/services/IssueCommentsService.js +59 -71
- package/lib/openapi/platform/services/IssueCommentsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.d.ts +11 -5
- package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.js +10 -5
- package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCustomFieldContextsService.d.ts +72 -38
- package/lib/openapi/platform/services/IssueCustomFieldContextsService.js +55 -27
- package/lib/openapi/platform/services/IssueCustomFieldContextsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.d.ts +51 -29
- package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.js +48 -28
- package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCustomFieldOptionsService.d.ts +38 -17
- package/lib/openapi/platform/services/IssueCustomFieldOptionsService.js +33 -15
- package/lib/openapi/platform/services/IssueCustomFieldOptionsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.d.ts +9 -5
- package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.js +6 -4
- package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueFieldConfigurationsService.d.ts +78 -35
- package/lib/openapi/platform/services/IssueFieldConfigurationsService.js +63 -28
- package/lib/openapi/platform/services/IssueFieldConfigurationsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueFieldsService.d.ts +57 -47
- package/lib/openapi/platform/services/IssueFieldsService.js +52 -42
- package/lib/openapi/platform/services/IssueFieldsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueLinkTypesService.d.ts +30 -12
- package/lib/openapi/platform/services/IssueLinkTypesService.js +27 -11
- package/lib/openapi/platform/services/IssueLinkTypesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueLinksService.d.ts +21 -24
- package/lib/openapi/platform/services/IssueLinksService.js +20 -24
- package/lib/openapi/platform/services/IssueLinksService.js.map +1 -1
- package/lib/openapi/platform/services/IssueNavigatorSettingsService.d.ts +8 -4
- package/lib/openapi/platform/services/IssueNavigatorSettingsService.js +9 -5
- package/lib/openapi/platform/services/IssueNavigatorSettingsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueNotificationSchemesService.d.ts +64 -70
- package/lib/openapi/platform/services/IssueNotificationSchemesService.js +59 -68
- package/lib/openapi/platform/services/IssueNotificationSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/IssuePrioritiesService.d.ts +45 -27
- package/lib/openapi/platform/services/IssuePrioritiesService.js +38 -24
- package/lib/openapi/platform/services/IssuePrioritiesService.js.map +1 -1
- package/lib/openapi/platform/services/IssuePropertiesService.d.ts +34 -17
- package/lib/openapi/platform/services/IssuePropertiesService.js +29 -15
- package/lib/openapi/platform/services/IssuePropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueRemoteLinksService.d.ts +42 -28
- package/lib/openapi/platform/services/IssueRemoteLinksService.js +39 -27
- package/lib/openapi/platform/services/IssueRemoteLinksService.js.map +1 -1
- package/lib/openapi/platform/services/IssueResolutionsService.d.ts +40 -17
- package/lib/openapi/platform/services/IssueResolutionsService.js +33 -14
- package/lib/openapi/platform/services/IssueResolutionsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueSearchService.d.ts +86 -139
- package/lib/openapi/platform/services/IssueSearchService.js +81 -137
- package/lib/openapi/platform/services/IssueSearchService.js.map +1 -1
- package/lib/openapi/platform/services/IssueSecurityLevelService.d.ts +20 -19
- package/lib/openapi/platform/services/IssueSecurityLevelService.js +21 -20
- package/lib/openapi/platform/services/IssueSecurityLevelService.js.map +1 -1
- package/lib/openapi/platform/services/IssueSecuritySchemesService.d.ts +78 -40
- package/lib/openapi/platform/services/IssueSecuritySchemesService.js +65 -34
- package/lib/openapi/platform/services/IssueSecuritySchemesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueTypePropertiesService.d.ts +22 -11
- package/lib/openapi/platform/services/IssueTypePropertiesService.js +21 -11
- package/lib/openapi/platform/services/IssueTypePropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueTypeSchemesService.d.ts +53 -34
- package/lib/openapi/platform/services/IssueTypeSchemesService.js +42 -26
- package/lib/openapi/platform/services/IssueTypeSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueTypeScreenSchemesService.d.ts +56 -27
- package/lib/openapi/platform/services/IssueTypeScreenSchemesService.js +45 -22
- package/lib/openapi/platform/services/IssueTypeScreenSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueTypesService.d.ts +53 -42
- package/lib/openapi/platform/services/IssueTypesService.js +50 -41
- package/lib/openapi/platform/services/IssueTypesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueVotesService.d.ts +17 -17
- package/lib/openapi/platform/services/IssueVotesService.js +18 -18
- package/lib/openapi/platform/services/IssueVotesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueWatchersService.d.ts +20 -10
- package/lib/openapi/platform/services/IssueWatchersService.js +19 -10
- package/lib/openapi/platform/services/IssueWatchersService.js.map +1 -1
- package/lib/openapi/platform/services/IssueWorklogPropertiesService.d.ts +20 -13
- package/lib/openapi/platform/services/IssueWorklogPropertiesService.js +21 -14
- package/lib/openapi/platform/services/IssueWorklogPropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueWorklogsService.d.ts +69 -67
- package/lib/openapi/platform/services/IssueWorklogsService.js +64 -65
- package/lib/openapi/platform/services/IssueWorklogsService.js.map +1 -1
- package/lib/openapi/platform/services/IssuesService.d.ts +226 -228
- package/lib/openapi/platform/services/IssuesService.js +197 -209
- package/lib/openapi/platform/services/IssuesService.js.map +1 -1
- package/lib/openapi/platform/services/JiraExpressionsService.d.ts +25 -24
- package/lib/openapi/platform/services/JiraExpressionsService.js +21 -20
- package/lib/openapi/platform/services/JiraExpressionsService.js.map +1 -1
- package/lib/openapi/platform/services/JiraSettingsService.d.ts +21 -9
- package/lib/openapi/platform/services/JiraSettingsService.js +20 -9
- package/lib/openapi/platform/services/JiraSettingsService.js.map +1 -1
- package/lib/openapi/platform/services/JqlFunctionsAppsService.d.ts +13 -9
- package/lib/openapi/platform/services/JqlFunctionsAppsService.js +12 -9
- package/lib/openapi/platform/services/JqlFunctionsAppsService.js.map +1 -1
- package/lib/openapi/platform/services/JqlService.d.ts +55 -43
- package/lib/openapi/platform/services/JqlService.js +45 -33
- package/lib/openapi/platform/services/JqlService.js.map +1 -1
- package/lib/openapi/platform/services/LabelsService.d.ts +7 -3
- package/lib/openapi/platform/services/LabelsService.js +8 -4
- package/lib/openapi/platform/services/LabelsService.js.map +1 -1
- package/lib/openapi/platform/services/LicenseMetricsService.d.ts +17 -7
- package/lib/openapi/platform/services/LicenseMetricsService.js +18 -8
- package/lib/openapi/platform/services/LicenseMetricsService.js.map +1 -1
- package/lib/openapi/platform/services/MyselfService.d.ts +28 -21
- package/lib/openapi/platform/services/MyselfService.js +27 -21
- package/lib/openapi/platform/services/MyselfService.js.map +1 -1
- package/lib/openapi/platform/services/PermissionSchemesService.d.ts +67 -55
- package/lib/openapi/platform/services/PermissionSchemesService.js +62 -53
- package/lib/openapi/platform/services/PermissionSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/PermissionsService.d.ts +23 -11
- package/lib/openapi/platform/services/PermissionsService.js +22 -11
- package/lib/openapi/platform/services/PermissionsService.js.map +1 -1
- package/lib/openapi/platform/services/PrioritySchemesService.d.ts +60 -26
- package/lib/openapi/platform/services/PrioritySchemesService.js +54 -23
- package/lib/openapi/platform/services/PrioritySchemesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectAvatarsService.d.ts +27 -24
- package/lib/openapi/platform/services/ProjectAvatarsService.js +26 -24
- package/lib/openapi/platform/services/ProjectAvatarsService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectCategoriesService.d.ts +30 -12
- package/lib/openapi/platform/services/ProjectCategoriesService.js +27 -11
- package/lib/openapi/platform/services/ProjectCategoriesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectClassificationLevelsService.d.ts +17 -14
- package/lib/openapi/platform/services/ProjectClassificationLevelsService.js +15 -12
- package/lib/openapi/platform/services/ProjectClassificationLevelsService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectComponentsService.d.ts +198 -321
- package/lib/openapi/platform/services/ProjectComponentsService.js +195 -320
- package/lib/openapi/platform/services/ProjectComponentsService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectEmailService.d.ts +11 -5
- package/lib/openapi/platform/services/ProjectEmailService.js +10 -5
- package/lib/openapi/platform/services/ProjectEmailService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectFeaturesService.d.ts +23 -22
- package/lib/openapi/platform/services/ProjectFeaturesService.js +22 -22
- package/lib/openapi/platform/services/ProjectFeaturesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.d.ts +19 -7
- package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.js +20 -8
- package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectPermissionSchemesService.d.ts +32 -23
- package/lib/openapi/platform/services/ProjectPermissionSchemesService.js +31 -23
- package/lib/openapi/platform/services/ProjectPermissionSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectPropertiesService.d.ts +22 -11
- package/lib/openapi/platform/services/ProjectPropertiesService.js +21 -11
- package/lib/openapi/platform/services/ProjectPropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectRoleActorsService.d.ts +47 -33
- package/lib/openapi/platform/services/ProjectRoleActorsService.js +42 -31
- package/lib/openapi/platform/services/ProjectRoleActorsService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectRolesService.d.ts +67 -43
- package/lib/openapi/platform/services/ProjectRolesService.js +62 -41
- package/lib/openapi/platform/services/ProjectRolesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectTypesService.d.ts +29 -21
- package/lib/openapi/platform/services/ProjectTypesService.js +30 -22
- package/lib/openapi/platform/services/ProjectTypesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectVersionsService.d.ts +87 -36
- package/lib/openapi/platform/services/ProjectVersionsService.js +78 -32
- package/lib/openapi/platform/services/ProjectVersionsService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectsService.d.ts +207 -313
- package/lib/openapi/platform/services/ProjectsService.js +203 -310
- package/lib/openapi/platform/services/ProjectsService.js.map +1 -1
- package/lib/openapi/platform/services/ScreenSchemesService.d.ts +22 -11
- package/lib/openapi/platform/services/ScreenSchemesService.js +19 -10
- package/lib/openapi/platform/services/ScreenSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/ScreenTabFieldsService.d.ts +15 -7
- package/lib/openapi/platform/services/ScreenTabFieldsService.js +14 -7
- package/lib/openapi/platform/services/ScreenTabFieldsService.js.map +1 -1
- package/lib/openapi/platform/services/ScreenTabsService.d.ts +27 -11
- package/lib/openapi/platform/services/ScreenTabsService.js +26 -11
- package/lib/openapi/platform/services/ScreenTabsService.js.map +1 -1
- package/lib/openapi/platform/services/ScreensService.d.ts +42 -28
- package/lib/openapi/platform/services/ScreensService.js +38 -25
- package/lib/openapi/platform/services/ScreensService.js.map +1 -1
- package/lib/openapi/platform/services/ServerInfoService.d.ts +6 -3
- package/lib/openapi/platform/services/ServerInfoService.js +7 -4
- package/lib/openapi/platform/services/ServerInfoService.js.map +1 -1
- package/lib/openapi/platform/services/ServiceRegistryService.d.ts +5 -3
- package/lib/openapi/platform/services/ServiceRegistryService.js +4 -3
- package/lib/openapi/platform/services/ServiceRegistryService.js.map +1 -1
- package/lib/openapi/platform/services/StatusService.d.ts +29 -15
- package/lib/openapi/platform/services/StatusService.js +26 -14
- package/lib/openapi/platform/services/StatusService.js.map +1 -1
- package/lib/openapi/platform/services/TasksService.d.ts +9 -4
- package/lib/openapi/platform/services/TasksService.js +10 -5
- package/lib/openapi/platform/services/TasksService.js.map +1 -1
- package/lib/openapi/platform/services/TimeTrackingService.d.ts +31 -14
- package/lib/openapi/platform/services/TimeTrackingService.js +27 -12
- package/lib/openapi/platform/services/TimeTrackingService.js.map +1 -1
- package/lib/openapi/platform/services/UiModificationsAppsService.d.ts +26 -19
- package/lib/openapi/platform/services/UiModificationsAppsService.js +23 -18
- package/lib/openapi/platform/services/UiModificationsAppsService.js.map +1 -1
- package/lib/openapi/platform/services/UserPropertiesService.d.ts +20 -10
- package/lib/openapi/platform/services/UserPropertiesService.js +21 -11
- package/lib/openapi/platform/services/UserPropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/UserSearchService.d.ts +95 -126
- package/lib/openapi/platform/services/UserSearchService.js +96 -127
- package/lib/openapi/platform/services/UserSearchService.js.map +1 -1
- package/lib/openapi/platform/services/UsersService.d.ts +97 -95
- package/lib/openapi/platform/services/UsersService.js +96 -95
- package/lib/openapi/platform/services/UsersService.js.map +1 -1
- package/lib/openapi/platform/services/WebhooksService.d.ts +35 -18
- package/lib/openapi/platform/services/WebhooksService.js +30 -16
- package/lib/openapi/platform/services/WebhooksService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowSchemeDraftsService.d.ts +133 -147
- package/lib/openapi/platform/services/WorkflowSchemeDraftsService.js +124 -143
- package/lib/openapi/platform/services/WorkflowSchemeDraftsService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.d.ts +13 -10
- package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.js +12 -10
- package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowSchemesService.d.ts +121 -82
- package/lib/openapi/platform/services/WorkflowSchemesService.js +106 -75
- package/lib/openapi/platform/services/WorkflowSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowStatusCategoriesService.d.ts +12 -5
- package/lib/openapi/platform/services/WorkflowStatusCategoriesService.js +13 -6
- package/lib/openapi/platform/services/WorkflowStatusCategoriesService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowStatusesService.d.ts +12 -5
- package/lib/openapi/platform/services/WorkflowStatusesService.js +13 -6
- package/lib/openapi/platform/services/WorkflowStatusesService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.d.ts +25 -10
- package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.js +22 -9
- package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowTransitionRulesService.d.ts +25 -13
- package/lib/openapi/platform/services/WorkflowTransitionRulesService.js +22 -12
- package/lib/openapi/platform/services/WorkflowTransitionRulesService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowsService.d.ts +791 -693
- package/lib/openapi/platform/services/WorkflowsService.js +754 -644
- package/lib/openapi/platform/services/WorkflowsService.js.map +1 -1
- package/lib/openapi/platform/validationSchemaStorage.d.ts +1 -1
- package/lib/openapi/platform/validationSchemaStorage.js +1 -1
- package/lib/openapi/platform/validationSchemaStorage.js.map +1 -1
- package/lib/openapi/serviceManagement/BaseJiraServiceManagementApiClient.d.ts +3 -3
- package/lib/openapi/serviceManagement/BaseJiraServiceManagementApiClient.js +3 -3
- package/lib/openapi/serviceManagement/BaseJiraServiceManagementApiClient.js.map +1 -1
- package/lib/openapi/serviceManagement/models/assets.d.ts +1 -1
- package/lib/openapi/serviceManagement/models/common.d.ts +1 -1
- package/lib/openapi/serviceManagement/models/customer.d.ts +1 -1
- package/lib/openapi/serviceManagement/models/info.d.ts +1 -1
- package/lib/openapi/serviceManagement/models/knowledgebase.d.ts +1 -1
- package/lib/openapi/serviceManagement/models/organization.d.ts +1 -1
- package/lib/openapi/serviceManagement/models/request.d.ts +1 -1
- package/lib/openapi/serviceManagement/models/servicedesk.d.ts +4 -7
- package/lib/openapi/serviceManagement/models/servicedesk.js.map +1 -1
- package/lib/openapi/serviceManagement/services/AssetsService.d.ts +11 -8
- package/lib/openapi/serviceManagement/services/AssetsService.js +12 -9
- package/lib/openapi/serviceManagement/services/AssetsService.js.map +1 -1
- package/lib/openapi/serviceManagement/services/CustomerService.d.ts +17 -20
- package/lib/openapi/serviceManagement/services/CustomerService.js +16 -20
- package/lib/openapi/serviceManagement/services/CustomerService.js.map +1 -1
- package/lib/openapi/serviceManagement/services/InfoService.d.ts +6 -3
- package/lib/openapi/serviceManagement/services/InfoService.js +7 -4
- package/lib/openapi/serviceManagement/services/InfoService.js.map +1 -1
- package/lib/openapi/serviceManagement/services/KnowledgebaseService.d.ts +11 -11
- package/lib/openapi/serviceManagement/services/KnowledgebaseService.js +12 -12
- package/lib/openapi/serviceManagement/services/KnowledgebaseService.js.map +1 -1
- package/lib/openapi/serviceManagement/services/OrganizationService.d.ts +108 -104
- package/lib/openapi/serviceManagement/services/OrganizationService.js +97 -99
- package/lib/openapi/serviceManagement/services/OrganizationService.js.map +1 -1
- package/lib/openapi/serviceManagement/services/RequestService.d.ts +420 -578
- package/lib/openapi/serviceManagement/services/RequestService.js +405 -571
- package/lib/openapi/serviceManagement/services/RequestService.js.map +1 -1
- package/lib/openapi/serviceManagement/services/RequesttypeService.d.ts +25 -39
- package/lib/openapi/serviceManagement/services/RequesttypeService.js +26 -40
- package/lib/openapi/serviceManagement/services/RequesttypeService.js.map +1 -1
- package/lib/openapi/serviceManagement/services/ServicedeskService.d.ts +195 -215
- package/lib/openapi/serviceManagement/services/ServicedeskService.js +190 -213
- package/lib/openapi/serviceManagement/services/ServicedeskService.js.map +1 -1
- package/lib/openapi/serviceManagement/validationSchemaStorage.d.ts +1 -1
- package/lib/openapi/serviceManagement/validationSchemaStorage.js +1 -1
- package/lib/openapi/serviceManagement/validationSchemaStorage.js.map +1 -1
- package/lib/openapi/software/BaseJiraSoftwareApiClient.d.ts +2 -2
- package/lib/openapi/software/BaseJiraSoftwareApiClient.js +2 -2
- package/lib/openapi/software/BaseJiraSoftwareApiClient.js.map +1 -1
- package/lib/openapi/software/models/board.d.ts +4 -7
- package/lib/openapi/software/models/board.js.map +1 -1
- package/lib/openapi/software/models/builds.d.ts +39 -20
- package/lib/openapi/software/models/builds.js.map +1 -1
- package/lib/openapi/software/models/common.d.ts +8 -6
- package/lib/openapi/software/models/common.js.map +1 -1
- package/lib/openapi/software/models/deployments.d.ts +37 -18
- package/lib/openapi/software/models/deployments.js.map +1 -1
- package/lib/openapi/software/models/devOpsComponents.d.ts +7 -4
- package/lib/openapi/software/models/devOpsComponents.js.map +1 -1
- package/lib/openapi/software/models/developmentInformation.d.ts +107 -55
- package/lib/openapi/software/models/developmentInformation.js.map +1 -1
- package/lib/openapi/software/models/epic.d.ts +1 -1
- package/lib/openapi/software/models/featureFlags.d.ts +17 -9
- package/lib/openapi/software/models/featureFlags.js.map +1 -1
- package/lib/openapi/software/models/issue.d.ts +1 -1
- package/lib/openapi/software/models/operations.d.ts +61 -31
- package/lib/openapi/software/models/operations.js.map +1 -1
- package/lib/openapi/software/models/remoteLinks.d.ts +37 -19
- package/lib/openapi/software/models/remoteLinks.js.map +1 -1
- package/lib/openapi/software/models/securityInformation.d.ts +53 -27
- package/lib/openapi/software/models/securityInformation.js.map +1 -1
- package/lib/openapi/software/models/sprint.d.ts +1 -1
- package/lib/openapi/software/services/BacklogService.d.ts +14 -8
- package/lib/openapi/software/services/BacklogService.js +11 -7
- package/lib/openapi/software/services/BacklogService.js.map +1 -1
- package/lib/openapi/software/services/BoardService.d.ts +200 -204
- package/lib/openapi/software/services/BoardService.js +197 -203
- package/lib/openapi/software/services/BoardService.js.map +1 -1
- package/lib/openapi/software/services/BuildsService.d.ts +11 -9
- package/lib/openapi/software/services/BuildsService.js +12 -10
- package/lib/openapi/software/services/BuildsService.js.map +1 -1
- package/lib/openapi/software/services/DeploymentsService.d.ts +13 -13
- package/lib/openapi/software/services/DeploymentsService.js +14 -14
- package/lib/openapi/software/services/DeploymentsService.js.map +1 -1
- package/lib/openapi/software/services/DevOpsComponentsService.d.ts +33 -20
- package/lib/openapi/software/services/DevOpsComponentsService.js +12 -10
- package/lib/openapi/software/services/DevOpsComponentsService.js.map +1 -1
- package/lib/openapi/software/services/DevelopmentInformationService.d.ts +14 -9
- package/lib/openapi/software/services/DevelopmentInformationService.js +15 -10
- package/lib/openapi/software/services/DevelopmentInformationService.js.map +1 -1
- package/lib/openapi/software/services/EpicService.d.ts +67 -76
- package/lib/openapi/software/services/EpicService.js +60 -73
- package/lib/openapi/software/services/EpicService.js.map +1 -1
- package/lib/openapi/software/services/FeatureFlagsService.d.ts +11 -9
- package/lib/openapi/software/services/FeatureFlagsService.js +12 -10
- package/lib/openapi/software/services/FeatureFlagsService.js.map +1 -1
- package/lib/openapi/software/services/IssueService.d.ts +45 -44
- package/lib/openapi/software/services/IssueService.js +42 -43
- package/lib/openapi/software/services/IssueService.js.map +1 -1
- package/lib/openapi/software/services/OperationsService.d.ts +66 -38
- package/lib/openapi/software/services/OperationsService.js +23 -17
- package/lib/openapi/software/services/OperationsService.js.map +1 -1
- package/lib/openapi/software/services/RemoteLinksService.d.ts +18 -13
- package/lib/openapi/software/services/RemoteLinksService.js +12 -10
- package/lib/openapi/software/services/RemoteLinksService.js.map +1 -1
- package/lib/openapi/software/services/SecurityInformationService.d.ts +19 -13
- package/lib/openapi/software/services/SecurityInformationService.js +20 -14
- package/lib/openapi/software/services/SecurityInformationService.js.map +1 -1
- package/lib/openapi/software/services/SprintService.d.ts +79 -55
- package/lib/openapi/software/services/SprintService.js +70 -51
- package/lib/openapi/software/services/SprintService.js.map +1 -1
- package/lib/openapi/software/validationSchemaStorage.d.ts +1 -1
- package/lib/openapi/software/validationSchemaStorage.js +1 -1
- package/lib/openapi/software/validationSchemaStorage.js.map +1 -1
- package/package.json +3 -3
- package/lib/openapi/platform/core/CommonHttpClient.js +0 -390
- package/lib/openapi/platform/core/CommonHttpClient.js.map +0 -1
- package/lib/openapi/platform/core/CommonHttpService.d.ts +0 -9
- package/lib/openapi/platform/core/CommonHttpService.js.map +0 -1
- package/lib/openapi/platform/core/CommonValidationSchemaStorage.js.map +0 -1
- package/lib/openapi/serviceManagement/core/CommonHttpClient.d.ts +0 -196
- package/lib/openapi/serviceManagement/core/CommonHttpClient.js.map +0 -1
- package/lib/openapi/serviceManagement/core/CommonHttpService.d.ts +0 -9
- package/lib/openapi/serviceManagement/core/CommonHttpService.js +0 -29
- package/lib/openapi/serviceManagement/core/CommonHttpService.js.map +0 -1
- package/lib/openapi/serviceManagement/core/CommonValidationSchemaStorage.d.ts +0 -35
- package/lib/openapi/serviceManagement/core/CommonValidationSchemaStorage.js +0 -65
- package/lib/openapi/serviceManagement/core/CommonValidationSchemaStorage.js.map +0 -1
- package/lib/openapi/software/core/CommonHttpClient.d.ts +0 -196
- package/lib/openapi/software/core/CommonHttpClient.js +0 -390
- package/lib/openapi/software/core/CommonHttpClient.js.map +0 -1
- package/lib/openapi/software/core/CommonHttpService.js +0 -29
- package/lib/openapi/software/core/CommonHttpService.js.map +0 -1
- package/lib/openapi/software/core/CommonValidationSchemaStorage.d.ts +0 -35
- package/lib/openapi/software/core/CommonValidationSchemaStorage.js +0 -65
- package/lib/openapi/software/core/CommonValidationSchemaStorage.js.map +0 -1
- /package/lib/openapi/{platform/core → core}/CommonValidationSchemaStorage.d.ts +0 -0
- /package/lib/openapi/{platform/core → core}/CommonValidationSchemaStorage.js +0 -0
|
@@ -5,8 +5,8 @@ exports.UsersService = 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 users_1 = require("../models/users");
|
|
12
12
|
const validationSchemaStorage_1 = require("../validationSchemaStorage");
|
|
@@ -31,7 +31,9 @@ class UsersService extends CommonHttpService_1.CommonHttpService {
|
|
|
31
31
|
*
|
|
32
32
|
* @returns Returned if the request is successful.
|
|
33
33
|
*
|
|
34
|
-
* example:
|
|
34
|
+
* example:
|
|
35
|
+
* ```
|
|
36
|
+
* {
|
|
35
37
|
* "isLast": true,
|
|
36
38
|
* "maxResults": 100,
|
|
37
39
|
* "startAt": 0,
|
|
@@ -42,27 +44,24 @@ class UsersService extends CommonHttpService_1.CommonHttpService {
|
|
|
42
44
|
* "accountType": "atlassian",
|
|
43
45
|
* "active": true,
|
|
44
46
|
* "avatarUrls": {
|
|
45
|
-
* "16x16":
|
|
46
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
47
|
-
* "
|
|
48
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
49
|
-
* "32x32":
|
|
50
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
51
|
-
* "48x48":
|
|
52
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
47
|
+
* "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
48
|
+
* "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
49
|
+
* "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
50
|
+
* "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
53
51
|
* },
|
|
54
52
|
* "displayName": "Mia Krystof",
|
|
55
53
|
* "emailAddress": "mia@example.com",
|
|
56
|
-
* "self":
|
|
57
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g",
|
|
54
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g",
|
|
58
55
|
* "timeZone": "Australia/Sydney"
|
|
59
56
|
* }
|
|
60
57
|
* ]
|
|
61
58
|
* }
|
|
62
|
-
*
|
|
59
|
+
* ```
|
|
60
|
+
* @path GET `/rest/api/3/user/bulk`
|
|
63
61
|
* @scopes-current read:jira-user
|
|
64
62
|
* @scopes-beta read:application-role:jira, read:group:jira, read:user:jira, read:avatar:jira
|
|
65
63
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-users#api-rest-api-3-user-bulk-get
|
|
64
|
+
* @param params
|
|
66
65
|
*/
|
|
67
66
|
this.bulkGetUsers = ({ startAt, maxResults, username, key, accountId, }) => {
|
|
68
67
|
return this.getClientInstance()
|
|
@@ -94,7 +93,9 @@ class UsersService extends CommonHttpService_1.CommonHttpService {
|
|
|
94
93
|
*
|
|
95
94
|
* @returns Returned if the request is successful.
|
|
96
95
|
*
|
|
97
|
-
* example:
|
|
96
|
+
* example:
|
|
97
|
+
* ```
|
|
98
|
+
* [
|
|
98
99
|
* {
|
|
99
100
|
* "username": "mia",
|
|
100
101
|
* "accountId": "5b10a2844c20165700ede21g"
|
|
@@ -104,10 +105,12 @@ class UsersService extends CommonHttpService_1.CommonHttpService {
|
|
|
104
105
|
* "accountId": "5b10ac8d82e05b22cc7d4ef5"
|
|
105
106
|
* }
|
|
106
107
|
* ]
|
|
107
|
-
*
|
|
108
|
+
* ```
|
|
109
|
+
* @path GET `/rest/api/3/user/bulk/migration`
|
|
108
110
|
* @scopes-current read:jira-user
|
|
109
111
|
* @scopes-beta read:user:jira
|
|
110
112
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-users#api-rest-api-3-user-bulk-migration-get
|
|
113
|
+
* @param params
|
|
111
114
|
*/
|
|
112
115
|
this.bulkGetUsersMigration = ({ startAt, maxResults, username, key, } = {}) => {
|
|
113
116
|
return this.getClientInstance()
|
|
@@ -143,7 +146,9 @@ class UsersService extends CommonHttpService_1.CommonHttpService {
|
|
|
143
146
|
*
|
|
144
147
|
* @returns Returned if the request is successful.
|
|
145
148
|
*
|
|
146
|
-
* example:
|
|
149
|
+
* example:
|
|
150
|
+
* ```
|
|
151
|
+
* {
|
|
147
152
|
* "accountId": "5b10a2844c20165700ede21g",
|
|
148
153
|
* "accountType": "atlassian",
|
|
149
154
|
* "active": true,
|
|
@@ -152,14 +157,10 @@ class UsersService extends CommonHttpService_1.CommonHttpService {
|
|
|
152
157
|
* "size": 1
|
|
153
158
|
* },
|
|
154
159
|
* "avatarUrls": {
|
|
155
|
-
* "16x16":
|
|
156
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
157
|
-
* "
|
|
158
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
159
|
-
* "32x32":
|
|
160
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
161
|
-
* "48x48":
|
|
162
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
160
|
+
* "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
161
|
+
* "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
162
|
+
* "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
163
|
+
* "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
163
164
|
* },
|
|
164
165
|
* "displayName": "Mia Krystof",
|
|
165
166
|
* "emailAddress": "mia@example.com",
|
|
@@ -169,12 +170,13 @@ class UsersService extends CommonHttpService_1.CommonHttpService {
|
|
|
169
170
|
* },
|
|
170
171
|
* "key": "",
|
|
171
172
|
* "name": "",
|
|
172
|
-
* "self":
|
|
173
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g",
|
|
173
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g",
|
|
174
174
|
* "timeZone": "Australia/Sydney"
|
|
175
175
|
* }
|
|
176
|
-
*
|
|
176
|
+
* ```
|
|
177
|
+
* @path POST `/rest/api/3/user`
|
|
177
178
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-users#api-rest-api-3-user-post
|
|
179
|
+
* @param params
|
|
178
180
|
*/
|
|
179
181
|
this.createUser = ({ newUserDetails, }) => {
|
|
180
182
|
return this.getClientInstance()
|
|
@@ -210,52 +212,46 @@ class UsersService extends CommonHttpService_1.CommonHttpService {
|
|
|
210
212
|
*
|
|
211
213
|
* @returns Returned if the request is successful.
|
|
212
214
|
*
|
|
213
|
-
* example:
|
|
215
|
+
* example:
|
|
216
|
+
* ```
|
|
217
|
+
* [
|
|
214
218
|
* {
|
|
215
219
|
* "accountId": "5b10a2844c20165700ede21g",
|
|
216
220
|
* "accountType": "atlassian",
|
|
217
221
|
* "active": false,
|
|
218
222
|
* "avatarUrls": {
|
|
219
|
-
* "16x16":
|
|
220
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
221
|
-
* "
|
|
222
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
223
|
-
* "32x32":
|
|
224
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
225
|
-
* "48x48":
|
|
226
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
223
|
+
* "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
224
|
+
* "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
225
|
+
* "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
226
|
+
* "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
227
227
|
* },
|
|
228
228
|
* "displayName": "Mia Krystof",
|
|
229
229
|
* "key": "",
|
|
230
230
|
* "name": "",
|
|
231
|
-
* "self":
|
|
232
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
231
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
233
232
|
* },
|
|
234
233
|
* {
|
|
235
234
|
* "accountId": "5b10ac8d82e05b22cc7d4ef5",
|
|
236
235
|
* "accountType": "atlassian",
|
|
237
236
|
* "active": false,
|
|
238
237
|
* "avatarUrls": {
|
|
239
|
-
* "16x16":
|
|
240
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/AA-3.png?size=
|
|
241
|
-
* "
|
|
242
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/AA-3.png?size=
|
|
243
|
-
* "32x32":
|
|
244
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/AA-3.png?size=32&s=32",
|
|
245
|
-
* "48x48":
|
|
246
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/AA-3.png?size=48&s=48"
|
|
238
|
+
* "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/AA-3.png?size=16&s=16",
|
|
239
|
+
* "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/AA-3.png?size=24&s=24",
|
|
240
|
+
* "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/AA-3.png?size=32&s=32",
|
|
241
|
+
* "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/AA-3.png?size=48&s=48"
|
|
247
242
|
* },
|
|
248
243
|
* "displayName": "Emma Richards",
|
|
249
244
|
* "key": "",
|
|
250
245
|
* "name": "",
|
|
251
|
-
* "self":
|
|
252
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10ac8d82e05b22cc7d4ef5"
|
|
246
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10ac8d82e05b22cc7d4ef5"
|
|
253
247
|
* }
|
|
254
248
|
* ]
|
|
255
|
-
*
|
|
249
|
+
* ```
|
|
250
|
+
* @path GET `/rest/api/3/users/search`
|
|
256
251
|
* @scopes-current read:jira-user
|
|
257
252
|
* @scopes-beta read:user:jira, read:application-role:jira, read:avatar:jira, read:group:jira
|
|
258
253
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-users#api-rest-api-3-users-search-get
|
|
254
|
+
* @param params
|
|
259
255
|
*/
|
|
260
256
|
this.getAllUsers = ({ startAt, maxResults, } = {}) => {
|
|
261
257
|
return this.getClientInstance()
|
|
@@ -291,52 +287,46 @@ class UsersService extends CommonHttpService_1.CommonHttpService {
|
|
|
291
287
|
*
|
|
292
288
|
* @returns Returned if the request is successful.
|
|
293
289
|
*
|
|
294
|
-
* example:
|
|
290
|
+
* example:
|
|
291
|
+
* ```
|
|
292
|
+
* [
|
|
295
293
|
* {
|
|
296
294
|
* "accountId": "5b10a2844c20165700ede21g",
|
|
297
295
|
* "accountType": "atlassian",
|
|
298
296
|
* "active": false,
|
|
299
297
|
* "avatarUrls": {
|
|
300
|
-
* "16x16":
|
|
301
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
302
|
-
* "
|
|
303
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
304
|
-
* "32x32":
|
|
305
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
306
|
-
* "48x48":
|
|
307
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
298
|
+
* "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
299
|
+
* "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
300
|
+
* "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
301
|
+
* "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
308
302
|
* },
|
|
309
303
|
* "displayName": "Mia Krystof",
|
|
310
304
|
* "key": "",
|
|
311
305
|
* "name": "",
|
|
312
|
-
* "self":
|
|
313
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
306
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
314
307
|
* },
|
|
315
308
|
* {
|
|
316
309
|
* "accountId": "5b10ac8d82e05b22cc7d4ef5",
|
|
317
310
|
* "accountType": "atlassian",
|
|
318
311
|
* "active": false,
|
|
319
312
|
* "avatarUrls": {
|
|
320
|
-
* "16x16":
|
|
321
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/AA-3.png?size=
|
|
322
|
-
* "
|
|
323
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/AA-3.png?size=
|
|
324
|
-
* "32x32":
|
|
325
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/AA-3.png?size=32&s=32",
|
|
326
|
-
* "48x48":
|
|
327
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/AA-3.png?size=48&s=48"
|
|
313
|
+
* "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/AA-3.png?size=16&s=16",
|
|
314
|
+
* "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/AA-3.png?size=24&s=24",
|
|
315
|
+
* "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/AA-3.png?size=32&s=32",
|
|
316
|
+
* "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/AA-3.png?size=48&s=48"
|
|
328
317
|
* },
|
|
329
318
|
* "displayName": "Emma Richards",
|
|
330
319
|
* "key": "",
|
|
331
320
|
* "name": "",
|
|
332
|
-
* "self":
|
|
333
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10ac8d82e05b22cc7d4ef5"
|
|
321
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10ac8d82e05b22cc7d4ef5"
|
|
334
322
|
* }
|
|
335
323
|
* ]
|
|
336
|
-
*
|
|
324
|
+
* ```
|
|
325
|
+
* @path GET `/rest/api/3/users`
|
|
337
326
|
* @scopes-current read:jira-user
|
|
338
327
|
* @scopes-beta read:user:jira, read:application-role:jira, read:avatar:jira, read:group:jira
|
|
339
328
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-users#api-rest-api-3-users-get
|
|
329
|
+
* @param params
|
|
340
330
|
*/
|
|
341
331
|
this.getAllUsersDefault = ({ startAt, maxResults, } = {}) => {
|
|
342
332
|
return this.getClientInstance()
|
|
@@ -371,7 +361,9 @@ class UsersService extends CommonHttpService_1.CommonHttpService {
|
|
|
371
361
|
*
|
|
372
362
|
* @returns Returned if the request is successful.
|
|
373
363
|
*
|
|
374
|
-
* example:
|
|
364
|
+
* example:
|
|
365
|
+
* ```
|
|
366
|
+
* {
|
|
375
367
|
* "accountId": "5b10a2844c20165700ede21g",
|
|
376
368
|
* "accountType": "atlassian",
|
|
377
369
|
* "active": true,
|
|
@@ -380,14 +372,10 @@ class UsersService extends CommonHttpService_1.CommonHttpService {
|
|
|
380
372
|
* "size": 1
|
|
381
373
|
* },
|
|
382
374
|
* "avatarUrls": {
|
|
383
|
-
* "16x16":
|
|
384
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
385
|
-
* "
|
|
386
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
387
|
-
* "32x32":
|
|
388
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
389
|
-
* "48x48":
|
|
390
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
375
|
+
* "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
376
|
+
* "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
377
|
+
* "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
378
|
+
* "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
391
379
|
* },
|
|
392
380
|
* "displayName": "Mia Krystof",
|
|
393
381
|
* "emailAddress": "mia@example.com",
|
|
@@ -397,14 +385,15 @@ class UsersService extends CommonHttpService_1.CommonHttpService {
|
|
|
397
385
|
* },
|
|
398
386
|
* "key": "",
|
|
399
387
|
* "name": "",
|
|
400
|
-
* "self":
|
|
401
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g",
|
|
388
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g",
|
|
402
389
|
* "timeZone": "Australia/Sydney"
|
|
403
390
|
* }
|
|
404
|
-
*
|
|
391
|
+
* ```
|
|
392
|
+
* @path GET `/rest/api/3/user`
|
|
405
393
|
* @scopes-current read:jira-user
|
|
406
394
|
* @scopes-beta read:application-role:jira, read:group:jira, read:user:jira, read:avatar:jira
|
|
407
395
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-users#api-rest-api-3-user-get
|
|
396
|
+
* @param params
|
|
408
397
|
*/
|
|
409
398
|
this.getUser = ({ accountId, username, key, expand, } = {}) => {
|
|
410
399
|
return this.getClientInstance()
|
|
@@ -441,10 +430,11 @@ class UsersService extends CommonHttpService_1.CommonHttpService {
|
|
|
441
430
|
* * Permission to access Jira, to get the calling user's column details.
|
|
442
431
|
*
|
|
443
432
|
* @returns Returned if the request is successful.
|
|
444
|
-
* @path
|
|
433
|
+
* @path GET `/rest/api/3/user/columns`
|
|
445
434
|
* @scopes-current read:jira-user
|
|
446
435
|
* @scopes-beta read:user.columns:jira, read:filter.column:jira
|
|
447
436
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-users#api-rest-api-3-user-columns-get
|
|
437
|
+
* @param params
|
|
448
438
|
*/
|
|
449
439
|
this.getUserDefaultColumns = ({ accountId, username, } = {}) => {
|
|
450
440
|
return this.getClientInstance()
|
|
@@ -472,9 +462,13 @@ class UsersService extends CommonHttpService_1.CommonHttpService {
|
|
|
472
462
|
*
|
|
473
463
|
* @returns Returned if the request is successful.
|
|
474
464
|
*
|
|
475
|
-
* example:
|
|
476
|
-
*
|
|
465
|
+
* example:
|
|
466
|
+
* ```
|
|
467
|
+
* name@example.com
|
|
468
|
+
* ```
|
|
469
|
+
* @path GET `/rest/api/3/user/email`
|
|
477
470
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-users#api-rest-api-3-user-email-get
|
|
471
|
+
* @param params
|
|
478
472
|
*/
|
|
479
473
|
this.getUserEmail = ({ accountId, }) => {
|
|
480
474
|
return this.getClientInstance()
|
|
@@ -500,8 +494,9 @@ class UsersService extends CommonHttpService_1.CommonHttpService {
|
|
|
500
494
|
* [guidelines](https://community.developer.atlassian.com/t/guidelines-for-requesting-access-to-email-address/27603).
|
|
501
495
|
*
|
|
502
496
|
* @returns Returned if the request is successful.
|
|
503
|
-
* @path
|
|
497
|
+
* @path GET `/rest/api/3/user/email/bulk`
|
|
504
498
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-users#api-rest-api-3-user-email-bulk-get
|
|
499
|
+
* @param params
|
|
505
500
|
*/
|
|
506
501
|
this.getUserEmailBulk = ({ accountId, }) => {
|
|
507
502
|
return this.getClientInstance()
|
|
@@ -529,16 +524,19 @@ class UsersService extends CommonHttpService_1.CommonHttpService {
|
|
|
529
524
|
*
|
|
530
525
|
* @returns Returned if the request is successful.
|
|
531
526
|
*
|
|
532
|
-
* example:
|
|
527
|
+
* example:
|
|
528
|
+
* ```
|
|
529
|
+
* {
|
|
533
530
|
* "groupId": "276f955c-63d7-42c8-9520-92d01dca0625",
|
|
534
531
|
* "name": "jira-administrators",
|
|
535
|
-
* "self":
|
|
536
|
-
* "https://your-domain.atlassian.net/rest/api/3/group?groupId=276f955c-63d7-42c8-9520-92d01dca0625"
|
|
532
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/group?groupId=276f955c-63d7-42c8-9520-92d01dca0625"
|
|
537
533
|
* }
|
|
538
|
-
*
|
|
534
|
+
* ```
|
|
535
|
+
* @path GET `/rest/api/3/user/groups`
|
|
539
536
|
* @scopes-current read:jira-user
|
|
540
537
|
* @scopes-beta read:group:jira
|
|
541
538
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-users#api-rest-api-3-user-groups-get
|
|
539
|
+
* @param params
|
|
542
540
|
*/
|
|
543
541
|
this.getUserGroups = ({ accountId, username, key, }) => {
|
|
544
542
|
return this.getClientInstance()
|
|
@@ -569,8 +567,9 @@ class UsersService extends CommonHttpService_1.CommonHttpService {
|
|
|
569
567
|
* membership of the *site-admin*
|
|
570
568
|
* [group](https://confluence.atlassian.com/x/24xjL)).
|
|
571
569
|
*
|
|
572
|
-
* @path
|
|
570
|
+
* @path DELETE `/rest/api/3/user`
|
|
573
571
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-users#api-rest-api-3-user-delete
|
|
572
|
+
* @param params
|
|
574
573
|
*/
|
|
575
574
|
this.removeUser = ({ accountId, username, key, }) => {
|
|
576
575
|
return this.getClientInstance()
|
|
@@ -598,8 +597,9 @@ class UsersService extends CommonHttpService_1.CommonHttpService {
|
|
|
598
597
|
* any user.
|
|
599
598
|
* * Permission to access Jira, to set the calling user's columns.
|
|
600
599
|
*
|
|
601
|
-
* @path
|
|
600
|
+
* @path DELETE `/rest/api/3/user/columns`
|
|
602
601
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-users#api-rest-api-3-user-columns-delete
|
|
602
|
+
* @param params
|
|
603
603
|
*/
|
|
604
604
|
this.resetUserColumns = ({ accountId, username, } = {}) => {
|
|
605
605
|
return this.getClientInstance()
|
|
@@ -633,8 +633,9 @@ class UsersService extends CommonHttpService_1.CommonHttpService {
|
|
|
633
633
|
* * Permission to access Jira, to set the calling user's columns.
|
|
634
634
|
*
|
|
635
635
|
* @returns Returned if the request is successful.
|
|
636
|
-
* @path
|
|
636
|
+
* @path PUT `/rest/api/3/user/columns`
|
|
637
637
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-users#api-rest-api-3-user-columns-put
|
|
638
|
+
* @param params
|
|
638
639
|
*/
|
|
639
640
|
this.setUserColumns = ({ accountId, userColumnRequestBody, }) => {
|
|
640
641
|
return this.getClientInstance()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UsersService.js","sourceRoot":"","sources":["../../../../src/openapi/platform/services/UsersService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,
|
|
1
|
+
{"version":3,"file":"UsersService.js","sourceRoot":"","sources":["../../../../src/openapi/platform/services/UsersService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,gEAAgE;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mCAAmC,CAAC,CACjD,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC;YACnC,wCAA+B;YAC/B,sCAA8B;SAC/B,CAAC,CAAC;IACL,CAAC;CACF;AApkCD,oCAokCC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CommonHttpService } from "
|
|
1
|
+
import { CommonHttpService } from "../../core/CommonHttpService";
|
|
2
2
|
import { type ContainerForRegisteredWebhooks, type ContainerForWebhookIds, type FailedWebhooks, type PageBeanWebhook, type WebhookRegistrationDetails, type WebhooksExpirationDate } from "../models/webhooks";
|
|
3
3
|
/**
|
|
4
4
|
* This resource represents webhooks. Webhooks are calls sent to a URL when an
|
|
@@ -19,14 +19,16 @@ export declare class WebhooksService extends CommonHttpService {
|
|
|
19
19
|
* 2.0](https://developer.atlassian.com/cloud/jira/platform/oauth-2-3lo-apps) apps
|
|
20
20
|
* can use this operation.
|
|
21
21
|
*
|
|
22
|
-
* @path
|
|
22
|
+
* @path DELETE `/rest/api/3/webhook`
|
|
23
23
|
* @scopes-current read:jira-work, manage:jira-webhook
|
|
24
24
|
* @scopes-beta delete:webhook:jira
|
|
25
25
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-webhooks#api-rest-api-3-webhook-delete
|
|
26
|
+
* @param params
|
|
26
27
|
*/
|
|
27
28
|
deleteWebhookById: ({ containerForWebhookIds, }: {
|
|
28
29
|
/**
|
|
29
|
-
* @example
|
|
30
|
+
* @example
|
|
31
|
+
* {
|
|
30
32
|
* "webhookIds": [
|
|
31
33
|
* 10000,
|
|
32
34
|
* 10001,
|
|
@@ -48,7 +50,9 @@ export declare class WebhooksService extends CommonHttpService {
|
|
|
48
50
|
*
|
|
49
51
|
* @returns Returned if the request is successful.
|
|
50
52
|
*
|
|
51
|
-
* example:
|
|
53
|
+
* example:
|
|
54
|
+
* ```
|
|
55
|
+
* {
|
|
52
56
|
* "isLast": true,
|
|
53
57
|
* "maxResults": 3,
|
|
54
58
|
* "startAt": 0,
|
|
@@ -88,10 +92,12 @@ export declare class WebhooksService extends CommonHttpService {
|
|
|
88
92
|
* }
|
|
89
93
|
* ]
|
|
90
94
|
* }
|
|
91
|
-
*
|
|
95
|
+
* ```
|
|
96
|
+
* @path GET `/rest/api/3/webhook`
|
|
92
97
|
* @scopes-current read:jira-work, manage:jira-webhook
|
|
93
98
|
* @scopes-beta read:webhook:jira, read:jql:jira
|
|
94
99
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-webhooks#api-rest-api-3-webhook-get
|
|
100
|
+
* @param params
|
|
95
101
|
*/
|
|
96
102
|
getDynamicWebhooksForApp: ({ startAt, maxResults, }?: {
|
|
97
103
|
/** The index of the first item to return in a page of results (page offset). */
|
|
@@ -117,7 +123,9 @@ export declare class WebhooksService extends CommonHttpService {
|
|
|
117
123
|
*
|
|
118
124
|
* @returns Returned if the request is successful.
|
|
119
125
|
*
|
|
120
|
-
* example:
|
|
126
|
+
* example:
|
|
127
|
+
* ```
|
|
128
|
+
* {
|
|
121
129
|
* "values": [
|
|
122
130
|
* {
|
|
123
131
|
* "id": "1",
|
|
@@ -132,15 +140,14 @@ export declare class WebhooksService extends CommonHttpService {
|
|
|
132
140
|
* }
|
|
133
141
|
* ],
|
|
134
142
|
* "maxResults": 100,
|
|
135
|
-
* "next":
|
|
136
|
-
* "https://your-domain.atlassian.net/rest/api/3/webhook/failed?failedAfter=1573540473480&maxResults=100"
|
|
143
|
+
* "next": "https://your-domain.atlassian.net/rest/api/3/webhook/failed?failedAfter=1573540473480&maxResults=100"
|
|
137
144
|
* }
|
|
138
|
-
*
|
|
145
|
+
* ```
|
|
146
|
+
* @path GET `/rest/api/3/webhook/failed`
|
|
139
147
|
* @scopes-current read:jira-work, manage:jira-webhook
|
|
140
|
-
* @scopes-beta read:issue-details:jira, read:webhook:jira, read:comment.property:jira,
|
|
141
|
-
* read:group:jira, read:issue-type:jira, read:project-role:jira,
|
|
142
|
-
* read:epic:jira-software
|
|
148
|
+
* @scopes-beta read:issue-details:jira, read:webhook:jira, read:comment.property:jira, read:group:jira, read:issue-type:jira, read:project-role:jira, read:epic:jira-software
|
|
143
149
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-webhooks#api-rest-api-3-webhook-failed-get
|
|
150
|
+
* @param params
|
|
144
151
|
*/
|
|
145
152
|
getFailedWebhooks: ({ maxResults, after, }?: {
|
|
146
153
|
/**
|
|
@@ -171,17 +178,22 @@ export declare class WebhooksService extends CommonHttpService {
|
|
|
171
178
|
*
|
|
172
179
|
* @returns Returned if the request is successful.
|
|
173
180
|
*
|
|
174
|
-
* example:
|
|
181
|
+
* example:
|
|
182
|
+
* ```
|
|
183
|
+
* {
|
|
175
184
|
* "expirationDate": "2019-06-01T12:42:30.000+0000"
|
|
176
185
|
* }
|
|
177
|
-
*
|
|
186
|
+
* ```
|
|
187
|
+
* @path PUT `/rest/api/3/webhook/refresh`
|
|
178
188
|
* @scopes-current read:jira-work, manage:jira-webhook
|
|
179
189
|
* @scopes-beta write:webhook:jira, read:webhook:jira
|
|
180
190
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-webhooks#api-rest-api-3-webhook-refresh-put
|
|
191
|
+
* @param params
|
|
181
192
|
*/
|
|
182
193
|
refreshWebhooks: ({ containerForWebhookIds, }: {
|
|
183
194
|
/**
|
|
184
|
-
* @example
|
|
195
|
+
* @example
|
|
196
|
+
* {
|
|
185
197
|
* "webhookIds": [
|
|
186
198
|
* 10000,
|
|
187
199
|
* 10001,
|
|
@@ -205,7 +217,9 @@ export declare class WebhooksService extends CommonHttpService {
|
|
|
205
217
|
*
|
|
206
218
|
* @returns Returned if the request is successful.
|
|
207
219
|
*
|
|
208
|
-
* example:
|
|
220
|
+
* example:
|
|
221
|
+
* ```
|
|
222
|
+
* {
|
|
209
223
|
* "webhookRegistrationResult": [
|
|
210
224
|
* {
|
|
211
225
|
* "createdWebhookId": 1000
|
|
@@ -220,14 +234,17 @@ export declare class WebhooksService extends CommonHttpService {
|
|
|
220
234
|
* }
|
|
221
235
|
* ]
|
|
222
236
|
* }
|
|
223
|
-
*
|
|
237
|
+
* ```
|
|
238
|
+
* @path POST `/rest/api/3/webhook`
|
|
224
239
|
* @scopes-current read:jira-work, manage:jira-webhook
|
|
225
240
|
* @scopes-beta read:field:jira, read:project:jira, write:webhook:jira
|
|
226
241
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-webhooks#api-rest-api-3-webhook-post
|
|
242
|
+
* @param params
|
|
227
243
|
*/
|
|
228
244
|
registerDynamicWebhooks: ({ webhookRegistrationDetails, }: {
|
|
229
245
|
/**
|
|
230
|
-
* @example
|
|
246
|
+
* @example
|
|
247
|
+
* {
|
|
231
248
|
* "url": "https://your-app.example.com/webhook-received",
|
|
232
249
|
* "webhooks": [
|
|
233
250
|
* {
|