@resolution/jira-api-client 0.5.2 → 0.5.3
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 +11 -0
- package/lib/openapi/platform/BaseJiraPlatformApiClient.d.ts +1 -1
- package/lib/openapi/platform/BaseJiraPlatformApiClient.js +1 -1
- package/lib/openapi/platform/models/appMigration.d.ts +12 -6
- package/lib/openapi/platform/models/appMigration.js.map +1 -1
- package/lib/openapi/platform/models/appProperties.d.ts +2 -1
- package/lib/openapi/platform/models/appProperties.js.map +1 -1
- package/lib/openapi/platform/models/dynamicModules.d.ts +4 -2
- package/lib/openapi/platform/models/dynamicModules.js.map +1 -1
- package/lib/openapi/platform/models/issues.d.ts +12 -7
- package/lib/openapi/platform/models/issues.js.map +1 -1
- package/lib/openapi/platform/models/jiraExpressions.d.ts +7 -5
- package/lib/openapi/platform/models/jiraExpressions.js.map +1 -1
- package/lib/openapi/platform/models/jql.d.ts +8 -4
- package/lib/openapi/platform/models/jql.js.map +1 -1
- package/lib/openapi/platform/models/serviceRegistry.d.ts +2 -1
- package/lib/openapi/platform/models/serviceRegistry.js.map +1 -1
- package/lib/openapi/platform/models/workflows.d.ts +49 -46
- package/lib/openapi/platform/models/workflows.js.map +1 -1
- package/lib/openapi/platform/services/AnnouncementBannerService.d.ts +11 -8
- package/lib/openapi/platform/services/AnnouncementBannerService.js +8 -5
- package/lib/openapi/platform/services/AnnouncementBannerService.js.map +1 -1
- package/lib/openapi/platform/services/AppDataPoliciesService.d.ts +11 -4
- package/lib/openapi/platform/services/AppDataPoliciesService.js +11 -4
- package/lib/openapi/platform/services/AppDataPoliciesService.js.map +1 -1
- package/lib/openapi/platform/services/AppMigrationService.d.ts +12 -5
- package/lib/openapi/platform/services/AppMigrationService.js +10 -4
- package/lib/openapi/platform/services/AppMigrationService.js.map +1 -1
- package/lib/openapi/platform/services/AppPropertiesService.d.ts +42 -18
- package/lib/openapi/platform/services/AppPropertiesService.js +42 -18
- package/lib/openapi/platform/services/AppPropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/ApplicationRolesService.d.ts +19 -20
- package/lib/openapi/platform/services/ApplicationRolesService.js +19 -20
- package/lib/openapi/platform/services/ApplicationRolesService.js.map +1 -1
- package/lib/openapi/platform/services/AuditRecordsService.d.ts +6 -2
- package/lib/openapi/platform/services/AuditRecordsService.js +6 -2
- package/lib/openapi/platform/services/AuditRecordsService.js.map +1 -1
- package/lib/openapi/platform/services/AvatarsService.d.ts +43 -36
- package/lib/openapi/platform/services/AvatarsService.js +43 -36
- package/lib/openapi/platform/services/AvatarsService.js.map +1 -1
- package/lib/openapi/platform/services/ClassificationLevelsService.d.ts +15 -21
- package/lib/openapi/platform/services/ClassificationLevelsService.js +15 -21
- package/lib/openapi/platform/services/ClassificationLevelsService.js.map +1 -1
- package/lib/openapi/platform/services/DashboardsService.d.ts +139 -145
- package/lib/openapi/platform/services/DashboardsService.js +120 -128
- package/lib/openapi/platform/services/DashboardsService.js.map +1 -1
- package/lib/openapi/platform/services/DynamicModulesService.d.ts +5 -3
- package/lib/openapi/platform/services/DynamicModulesService.js +5 -3
- package/lib/openapi/platform/services/DynamicModulesService.js.map +1 -1
- package/lib/openapi/platform/services/FilterSharingService.d.ts +72 -95
- package/lib/openapi/platform/services/FilterSharingService.js +68 -93
- package/lib/openapi/platform/services/FilterSharingService.js.map +1 -1
- package/lib/openapi/platform/services/FiltersService.d.ts +178 -257
- package/lib/openapi/platform/services/FiltersService.js +172 -254
- package/lib/openapi/platform/services/FiltersService.js.map +1 -1
- package/lib/openapi/platform/services/GroupAndUserPickerService.d.ts +8 -6
- package/lib/openapi/platform/services/GroupAndUserPickerService.js +8 -6
- package/lib/openapi/platform/services/GroupAndUserPickerService.js.map +1 -1
- package/lib/openapi/platform/services/GroupsService.d.ts +42 -26
- package/lib/openapi/platform/services/GroupsService.js +38 -24
- package/lib/openapi/platform/services/GroupsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueAttachmentsService.d.ts +173 -169
- package/lib/openapi/platform/services/IssueAttachmentsService.js +173 -169
- package/lib/openapi/platform/services/IssueAttachmentsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueBulkOperationsService.d.ts +35 -19
- package/lib/openapi/platform/services/IssueBulkOperationsService.js +33 -18
- package/lib/openapi/platform/services/IssueBulkOperationsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCommentPropertiesService.d.ts +19 -9
- package/lib/openapi/platform/services/IssueCommentPropertiesService.js +19 -9
- package/lib/openapi/platform/services/IssueCommentPropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCommentsService.d.ts +65 -80
- package/lib/openapi/platform/services/IssueCommentsService.js +57 -69
- package/lib/openapi/platform/services/IssueCommentsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.d.ts +10 -4
- package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.js +8 -3
- package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCustomFieldContextsService.d.ts +71 -37
- package/lib/openapi/platform/services/IssueCustomFieldContextsService.js +53 -25
- package/lib/openapi/platform/services/IssueCustomFieldContextsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.d.ts +50 -28
- package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.js +46 -26
- package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCustomFieldOptionsService.d.ts +37 -16
- package/lib/openapi/platform/services/IssueCustomFieldOptionsService.js +31 -13
- package/lib/openapi/platform/services/IssueCustomFieldOptionsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.d.ts +8 -4
- package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.js +4 -2
- package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueFieldConfigurationsService.d.ts +75 -32
- package/lib/openapi/platform/services/IssueFieldConfigurationsService.js +59 -24
- package/lib/openapi/platform/services/IssueFieldConfigurationsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueFieldsService.d.ts +56 -46
- package/lib/openapi/platform/services/IssueFieldsService.js +50 -40
- package/lib/openapi/platform/services/IssueFieldsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueLinkTypesService.d.ts +29 -11
- package/lib/openapi/platform/services/IssueLinkTypesService.js +25 -9
- package/lib/openapi/platform/services/IssueLinkTypesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueLinksService.d.ts +20 -23
- package/lib/openapi/platform/services/IssueLinksService.js +18 -22
- package/lib/openapi/platform/services/IssueLinksService.js.map +1 -1
- package/lib/openapi/platform/services/IssueNavigatorSettingsService.d.ts +7 -3
- package/lib/openapi/platform/services/IssueNavigatorSettingsService.js +7 -3
- package/lib/openapi/platform/services/IssueNavigatorSettingsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueNotificationSchemesService.d.ts +63 -69
- package/lib/openapi/platform/services/IssueNotificationSchemesService.js +57 -66
- package/lib/openapi/platform/services/IssueNotificationSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/IssuePrioritiesService.d.ts +44 -26
- package/lib/openapi/platform/services/IssuePrioritiesService.js +36 -22
- package/lib/openapi/platform/services/IssuePrioritiesService.js.map +1 -1
- package/lib/openapi/platform/services/IssuePropertiesService.d.ts +33 -16
- package/lib/openapi/platform/services/IssuePropertiesService.js +27 -13
- package/lib/openapi/platform/services/IssuePropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueRemoteLinksService.d.ts +41 -27
- package/lib/openapi/platform/services/IssueRemoteLinksService.js +37 -25
- package/lib/openapi/platform/services/IssueRemoteLinksService.js.map +1 -1
- package/lib/openapi/platform/services/IssueResolutionsService.d.ts +39 -16
- package/lib/openapi/platform/services/IssueResolutionsService.js +31 -12
- package/lib/openapi/platform/services/IssueResolutionsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueSearchService.d.ts +85 -138
- package/lib/openapi/platform/services/IssueSearchService.js +79 -135
- package/lib/openapi/platform/services/IssueSearchService.js.map +1 -1
- package/lib/openapi/platform/services/IssueSecurityLevelService.d.ts +19 -18
- package/lib/openapi/platform/services/IssueSecurityLevelService.js +19 -18
- package/lib/openapi/platform/services/IssueSecurityLevelService.js.map +1 -1
- package/lib/openapi/platform/services/IssueSecuritySchemesService.d.ts +77 -39
- package/lib/openapi/platform/services/IssueSecuritySchemesService.js +63 -32
- package/lib/openapi/platform/services/IssueSecuritySchemesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueTypePropertiesService.d.ts +21 -10
- package/lib/openapi/platform/services/IssueTypePropertiesService.js +19 -9
- package/lib/openapi/platform/services/IssueTypePropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueTypeSchemesService.d.ts +52 -33
- package/lib/openapi/platform/services/IssueTypeSchemesService.js +40 -24
- package/lib/openapi/platform/services/IssueTypeSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueTypeScreenSchemesService.d.ts +55 -26
- package/lib/openapi/platform/services/IssueTypeScreenSchemesService.js +43 -20
- package/lib/openapi/platform/services/IssueTypeScreenSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueTypesService.d.ts +52 -41
- package/lib/openapi/platform/services/IssueTypesService.js +48 -39
- package/lib/openapi/platform/services/IssueTypesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueVotesService.d.ts +16 -16
- package/lib/openapi/platform/services/IssueVotesService.js +16 -16
- package/lib/openapi/platform/services/IssueVotesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueWatchersService.d.ts +19 -9
- package/lib/openapi/platform/services/IssueWatchersService.js +17 -8
- package/lib/openapi/platform/services/IssueWatchersService.js.map +1 -1
- package/lib/openapi/platform/services/IssueWorklogPropertiesService.d.ts +19 -12
- package/lib/openapi/platform/services/IssueWorklogPropertiesService.js +19 -12
- package/lib/openapi/platform/services/IssueWorklogPropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueWorklogsService.d.ts +68 -66
- package/lib/openapi/platform/services/IssueWorklogsService.js +62 -63
- package/lib/openapi/platform/services/IssueWorklogsService.js.map +1 -1
- package/lib/openapi/platform/services/IssuesService.d.ts +224 -226
- package/lib/openapi/platform/services/IssuesService.js +195 -207
- package/lib/openapi/platform/services/IssuesService.js.map +1 -1
- package/lib/openapi/platform/services/JiraExpressionsService.d.ts +24 -23
- package/lib/openapi/platform/services/JiraExpressionsService.js +19 -18
- package/lib/openapi/platform/services/JiraExpressionsService.js.map +1 -1
- package/lib/openapi/platform/services/JiraSettingsService.d.ts +20 -8
- package/lib/openapi/platform/services/JiraSettingsService.js +18 -7
- package/lib/openapi/platform/services/JiraSettingsService.js.map +1 -1
- package/lib/openapi/platform/services/JqlFunctionsAppsService.d.ts +12 -8
- package/lib/openapi/platform/services/JqlFunctionsAppsService.js +10 -7
- package/lib/openapi/platform/services/JqlFunctionsAppsService.js.map +1 -1
- package/lib/openapi/platform/services/JqlService.d.ts +54 -42
- package/lib/openapi/platform/services/JqlService.js +43 -31
- package/lib/openapi/platform/services/JqlService.js.map +1 -1
- package/lib/openapi/platform/services/LabelsService.d.ts +6 -2
- package/lib/openapi/platform/services/LabelsService.js +6 -2
- package/lib/openapi/platform/services/LabelsService.js.map +1 -1
- package/lib/openapi/platform/services/LicenseMetricsService.d.ts +16 -6
- package/lib/openapi/platform/services/LicenseMetricsService.js +16 -6
- package/lib/openapi/platform/services/LicenseMetricsService.js.map +1 -1
- package/lib/openapi/platform/services/MyselfService.d.ts +27 -20
- package/lib/openapi/platform/services/MyselfService.js +25 -19
- package/lib/openapi/platform/services/MyselfService.js.map +1 -1
- package/lib/openapi/platform/services/PermissionSchemesService.d.ts +66 -54
- package/lib/openapi/platform/services/PermissionSchemesService.js +60 -51
- package/lib/openapi/platform/services/PermissionSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/PermissionsService.d.ts +22 -10
- package/lib/openapi/platform/services/PermissionsService.js +20 -9
- package/lib/openapi/platform/services/PermissionsService.js.map +1 -1
- package/lib/openapi/platform/services/PrioritySchemesService.d.ts +58 -24
- package/lib/openapi/platform/services/PrioritySchemesService.js +52 -21
- package/lib/openapi/platform/services/PrioritySchemesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectAvatarsService.d.ts +26 -23
- package/lib/openapi/platform/services/ProjectAvatarsService.js +24 -22
- package/lib/openapi/platform/services/ProjectAvatarsService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectCategoriesService.d.ts +29 -11
- package/lib/openapi/platform/services/ProjectCategoriesService.js +25 -9
- package/lib/openapi/platform/services/ProjectCategoriesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectClassificationLevelsService.d.ts +16 -13
- package/lib/openapi/platform/services/ProjectClassificationLevelsService.js +13 -10
- package/lib/openapi/platform/services/ProjectClassificationLevelsService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectComponentsService.d.ts +197 -320
- package/lib/openapi/platform/services/ProjectComponentsService.js +193 -318
- package/lib/openapi/platform/services/ProjectComponentsService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectEmailService.d.ts +10 -4
- package/lib/openapi/platform/services/ProjectEmailService.js +8 -3
- package/lib/openapi/platform/services/ProjectEmailService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectFeaturesService.d.ts +22 -21
- package/lib/openapi/platform/services/ProjectFeaturesService.js +20 -20
- package/lib/openapi/platform/services/ProjectFeaturesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.d.ts +18 -6
- package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.js +18 -6
- package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectPermissionSchemesService.d.ts +31 -22
- package/lib/openapi/platform/services/ProjectPermissionSchemesService.js +29 -21
- package/lib/openapi/platform/services/ProjectPermissionSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectPropertiesService.d.ts +21 -10
- package/lib/openapi/platform/services/ProjectPropertiesService.js +19 -9
- package/lib/openapi/platform/services/ProjectPropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectRoleActorsService.d.ts +46 -32
- package/lib/openapi/platform/services/ProjectRoleActorsService.js +40 -29
- package/lib/openapi/platform/services/ProjectRoleActorsService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectRolesService.d.ts +66 -42
- package/lib/openapi/platform/services/ProjectRolesService.js +60 -39
- package/lib/openapi/platform/services/ProjectRolesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectTypesService.d.ts +28 -20
- package/lib/openapi/platform/services/ProjectTypesService.js +28 -20
- package/lib/openapi/platform/services/ProjectTypesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectVersionsService.d.ts +86 -35
- package/lib/openapi/platform/services/ProjectVersionsService.js +76 -30
- package/lib/openapi/platform/services/ProjectVersionsService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectsService.d.ts +206 -312
- package/lib/openapi/platform/services/ProjectsService.js +201 -308
- package/lib/openapi/platform/services/ProjectsService.js.map +1 -1
- package/lib/openapi/platform/services/ScreenSchemesService.d.ts +21 -10
- package/lib/openapi/platform/services/ScreenSchemesService.js +17 -8
- package/lib/openapi/platform/services/ScreenSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/ScreenTabFieldsService.d.ts +14 -6
- package/lib/openapi/platform/services/ScreenTabFieldsService.js +12 -5
- package/lib/openapi/platform/services/ScreenTabFieldsService.js.map +1 -1
- package/lib/openapi/platform/services/ScreenTabsService.d.ts +26 -10
- package/lib/openapi/platform/services/ScreenTabsService.js +24 -9
- package/lib/openapi/platform/services/ScreenTabsService.js.map +1 -1
- package/lib/openapi/platform/services/ScreensService.d.ts +41 -27
- package/lib/openapi/platform/services/ScreensService.js +36 -23
- package/lib/openapi/platform/services/ScreensService.js.map +1 -1
- package/lib/openapi/platform/services/ServerInfoService.d.ts +5 -2
- package/lib/openapi/platform/services/ServerInfoService.js +5 -2
- package/lib/openapi/platform/services/ServerInfoService.js.map +1 -1
- package/lib/openapi/platform/services/ServiceRegistryService.d.ts +4 -2
- package/lib/openapi/platform/services/ServiceRegistryService.js +2 -1
- package/lib/openapi/platform/services/ServiceRegistryService.js.map +1 -1
- package/lib/openapi/platform/services/StatusService.d.ts +28 -14
- package/lib/openapi/platform/services/StatusService.js +24 -12
- package/lib/openapi/platform/services/StatusService.js.map +1 -1
- package/lib/openapi/platform/services/TasksService.d.ts +8 -3
- package/lib/openapi/platform/services/TasksService.js +8 -3
- package/lib/openapi/platform/services/TasksService.js.map +1 -1
- package/lib/openapi/platform/services/TimeTrackingService.d.ts +29 -12
- package/lib/openapi/platform/services/TimeTrackingService.js +25 -10
- package/lib/openapi/platform/services/TimeTrackingService.js.map +1 -1
- package/lib/openapi/platform/services/UiModificationsAppsService.d.ts +25 -18
- package/lib/openapi/platform/services/UiModificationsAppsService.js +21 -16
- package/lib/openapi/platform/services/UiModificationsAppsService.js.map +1 -1
- package/lib/openapi/platform/services/UserPropertiesService.d.ts +19 -9
- package/lib/openapi/platform/services/UserPropertiesService.js +19 -9
- package/lib/openapi/platform/services/UserPropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/UserSearchService.d.ts +94 -125
- package/lib/openapi/platform/services/UserSearchService.js +94 -125
- package/lib/openapi/platform/services/UserSearchService.js.map +1 -1
- package/lib/openapi/platform/services/UsersService.d.ts +96 -94
- package/lib/openapi/platform/services/UsersService.js +94 -93
- package/lib/openapi/platform/services/UsersService.js.map +1 -1
- package/lib/openapi/platform/services/WebhooksService.d.ts +34 -17
- package/lib/openapi/platform/services/WebhooksService.js +28 -14
- package/lib/openapi/platform/services/WebhooksService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowSchemeDraftsService.d.ts +132 -146
- package/lib/openapi/platform/services/WorkflowSchemeDraftsService.js +122 -141
- package/lib/openapi/platform/services/WorkflowSchemeDraftsService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.d.ts +12 -9
- package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.js +10 -8
- package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowSchemesService.d.ts +120 -81
- package/lib/openapi/platform/services/WorkflowSchemesService.js +104 -73
- package/lib/openapi/platform/services/WorkflowSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowStatusCategoriesService.d.ts +11 -4
- package/lib/openapi/platform/services/WorkflowStatusCategoriesService.js +11 -4
- package/lib/openapi/platform/services/WorkflowStatusCategoriesService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowStatusesService.d.ts +11 -4
- package/lib/openapi/platform/services/WorkflowStatusesService.js +11 -4
- package/lib/openapi/platform/services/WorkflowStatusesService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.d.ts +24 -9
- package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.js +20 -7
- package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowTransitionRulesService.d.ts +24 -12
- package/lib/openapi/platform/services/WorkflowTransitionRulesService.js +20 -10
- package/lib/openapi/platform/services/WorkflowTransitionRulesService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowsService.d.ts +742 -659
- package/lib/openapi/platform/services/WorkflowsService.js +708 -609
- package/lib/openapi/platform/services/WorkflowsService.js.map +1 -1
- package/lib/openapi/serviceManagement/BaseJiraServiceManagementApiClient.d.ts +1 -1
- package/lib/openapi/serviceManagement/BaseJiraServiceManagementApiClient.js +1 -1
- package/lib/openapi/serviceManagement/services/AssetsService.d.ts +10 -7
- package/lib/openapi/serviceManagement/services/AssetsService.js +10 -7
- package/lib/openapi/serviceManagement/services/AssetsService.js.map +1 -1
- package/lib/openapi/serviceManagement/services/CustomerService.d.ts +16 -19
- package/lib/openapi/serviceManagement/services/CustomerService.js +14 -18
- package/lib/openapi/serviceManagement/services/CustomerService.js.map +1 -1
- package/lib/openapi/serviceManagement/services/InfoService.d.ts +5 -2
- package/lib/openapi/serviceManagement/services/InfoService.js +5 -2
- package/lib/openapi/serviceManagement/services/InfoService.js.map +1 -1
- package/lib/openapi/serviceManagement/services/KnowledgebaseService.d.ts +10 -10
- package/lib/openapi/serviceManagement/services/KnowledgebaseService.js +10 -10
- package/lib/openapi/serviceManagement/services/OrganizationService.d.ts +107 -103
- package/lib/openapi/serviceManagement/services/OrganizationService.js +95 -97
- package/lib/openapi/serviceManagement/services/OrganizationService.js.map +1 -1
- package/lib/openapi/serviceManagement/services/RequestService.d.ts +419 -577
- package/lib/openapi/serviceManagement/services/RequestService.js +403 -569
- package/lib/openapi/serviceManagement/services/RequestService.js.map +1 -1
- package/lib/openapi/serviceManagement/services/RequesttypeService.d.ts +24 -38
- package/lib/openapi/serviceManagement/services/RequesttypeService.js +24 -38
- package/lib/openapi/serviceManagement/services/RequesttypeService.js.map +1 -1
- package/lib/openapi/serviceManagement/services/ServicedeskService.d.ts +194 -214
- package/lib/openapi/serviceManagement/services/ServicedeskService.js +188 -211
- package/lib/openapi/serviceManagement/services/ServicedeskService.js.map +1 -1
- package/lib/openapi/software/models/builds.d.ts +38 -19
- package/lib/openapi/software/models/builds.js.map +1 -1
- package/lib/openapi/software/models/common.d.ts +6 -3
- package/lib/openapi/software/models/common.js.map +1 -1
- package/lib/openapi/software/models/deployments.d.ts +36 -17
- package/lib/openapi/software/models/deployments.js.map +1 -1
- package/lib/openapi/software/models/devOpsComponents.d.ts +6 -3
- package/lib/openapi/software/models/devOpsComponents.js.map +1 -1
- package/lib/openapi/software/models/developmentInformation.d.ts +106 -54
- package/lib/openapi/software/models/developmentInformation.js.map +1 -1
- package/lib/openapi/software/models/featureFlags.d.ts +16 -8
- package/lib/openapi/software/models/featureFlags.js.map +1 -1
- package/lib/openapi/software/models/operations.d.ts +60 -30
- package/lib/openapi/software/models/operations.js.map +1 -1
- package/lib/openapi/software/models/remoteLinks.d.ts +36 -18
- package/lib/openapi/software/models/remoteLinks.js.map +1 -1
- package/lib/openapi/software/models/securityInformation.d.ts +52 -26
- package/lib/openapi/software/models/securityInformation.js.map +1 -1
- package/lib/openapi/software/services/BacklogService.d.ts +13 -7
- package/lib/openapi/software/services/BacklogService.js +9 -5
- package/lib/openapi/software/services/BacklogService.js.map +1 -1
- package/lib/openapi/software/services/BoardService.d.ts +199 -203
- package/lib/openapi/software/services/BoardService.js +195 -201
- package/lib/openapi/software/services/BoardService.js.map +1 -1
- package/lib/openapi/software/services/BuildsService.d.ts +10 -8
- package/lib/openapi/software/services/BuildsService.js +10 -8
- 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 +12 -12
- package/lib/openapi/software/services/DeploymentsService.js.map +1 -1
- package/lib/openapi/software/services/DevOpsComponentsService.d.ts +32 -19
- package/lib/openapi/software/services/DevOpsComponentsService.js +10 -8
- package/lib/openapi/software/services/DevOpsComponentsService.js.map +1 -1
- package/lib/openapi/software/services/DevelopmentInformationService.d.ts +13 -8
- package/lib/openapi/software/services/DevelopmentInformationService.js +13 -8
- package/lib/openapi/software/services/DevelopmentInformationService.js.map +1 -1
- package/lib/openapi/software/services/EpicService.d.ts +66 -75
- package/lib/openapi/software/services/EpicService.js +58 -71
- package/lib/openapi/software/services/EpicService.js.map +1 -1
- package/lib/openapi/software/services/FeatureFlagsService.d.ts +10 -8
- package/lib/openapi/software/services/FeatureFlagsService.js +10 -8
- package/lib/openapi/software/services/FeatureFlagsService.js.map +1 -1
- package/lib/openapi/software/services/IssueService.d.ts +44 -43
- package/lib/openapi/software/services/IssueService.js +40 -41
- package/lib/openapi/software/services/IssueService.js.map +1 -1
- package/lib/openapi/software/services/OperationsService.d.ts +65 -37
- package/lib/openapi/software/services/OperationsService.js +21 -15
- package/lib/openapi/software/services/OperationsService.js.map +1 -1
- package/lib/openapi/software/services/RemoteLinksService.d.ts +17 -12
- package/lib/openapi/software/services/RemoteLinksService.js +10 -8
- package/lib/openapi/software/services/RemoteLinksService.js.map +1 -1
- package/lib/openapi/software/services/SecurityInformationService.d.ts +18 -12
- package/lib/openapi/software/services/SecurityInformationService.js +18 -12
- package/lib/openapi/software/services/SecurityInformationService.js.map +1 -1
- package/lib/openapi/software/services/SprintService.d.ts +78 -54
- package/lib/openapi/software/services/SprintService.js +68 -49
- package/lib/openapi/software/services/SprintService.js.map +1 -1
- package/package.json +3 -3
|
@@ -24,142 +24,148 @@ export declare class IssueAttachmentsService extends CommonHttpService {
|
|
|
24
24
|
* *TEST-123*:
|
|
25
25
|
*
|
|
26
26
|
* #### curl ####
|
|
27
|
-
*
|
|
28
|
-
*
|
|
27
|
+
* ```
|
|
28
|
+
* curl --location --request POST
|
|
29
29
|
* 'https://your-domain.atlassian.net/rest/api/3/issue/TEST-123/attachments'
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
30
|
+
* -u 'email@example.com:<api_token>'
|
|
31
|
+
* -H 'X-Atlassian-Token: no-check'
|
|
32
|
+
* --form 'file=@"myfile.txt"'
|
|
33
|
+
* ```
|
|
33
34
|
*
|
|
34
35
|
* #### Node.js ####
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
*
|
|
36
|
+
* ```
|
|
37
|
+
* // This code sample uses the 'node-fetch' and 'form-data' libraries:
|
|
38
|
+
* // https://www.npmjs.com/package/node-fetch
|
|
39
|
+
* // https://www.npmjs.com/package/form-data
|
|
40
|
+
* const fetch = require('node-fetch');
|
|
41
|
+
* const FormData = require('form-data');
|
|
42
|
+
* const fs = require('fs');
|
|
43
|
+
*
|
|
44
|
+
* const filePath = 'myfile.txt';
|
|
45
|
+
* const form = new FormData();
|
|
46
|
+
* const stats = fs.statSync(filePath);
|
|
47
|
+
* const fileSizeInBytes = stats.size;
|
|
48
|
+
* const fileStream = fs.createReadStream(filePath);
|
|
49
|
+
*
|
|
50
|
+
* form.append('file', fileStream, {knownLength: fileSizeInBytes});
|
|
51
|
+
*
|
|
52
|
+
* fetch('https://your-domain.atlassian.net/rest/api/3/issue/TEST-123/attachments',
|
|
52
53
|
* {
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
*
|
|
54
|
+
* method: 'POST',
|
|
55
|
+
* body: form,
|
|
56
|
+
* headers: {
|
|
57
|
+
* 'Authorization': `Basic ${Buffer.from(
|
|
58
|
+
* 'email@example.com:'
|
|
59
|
+
* ).toString('base64')}`,
|
|
60
|
+
* 'Accept': 'application/json',
|
|
61
|
+
* 'X-Atlassian-Token': 'no-check'
|
|
62
|
+
* }
|
|
63
|
+
* })
|
|
64
|
+
* .then(response => {
|
|
65
|
+
* console.log(
|
|
66
|
+
* `Response: ${response.status} ${response.statusText}`
|
|
67
|
+
* );
|
|
68
|
+
* return response.text();
|
|
62
69
|
* })
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
* );
|
|
67
|
-
* return response.text();
|
|
68
|
-
* })
|
|
69
|
-
* .then(text => console.log(text))
|
|
70
|
-
* .catch(err => console.error(err));
|
|
70
|
+
* .then(text => console.log(text))
|
|
71
|
+
* .catch(err => console.error(err));
|
|
72
|
+
* ```
|
|
71
73
|
*
|
|
72
74
|
* #### Java ####
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
*
|
|
75
|
+
* ```
|
|
76
|
+
* // This code sample uses the 'Unirest' library:
|
|
77
|
+
* // http://unirest.io/java.html
|
|
78
|
+
* HttpResponse response =
|
|
77
79
|
* Unirest.post("https://your-domain.atlassian.net/rest/api/2/issue/{issueIdOrKey}/attachments")
|
|
78
|
-
*
|
|
79
|
-
*
|
|
80
|
-
*
|
|
81
|
-
*
|
|
82
|
-
*
|
|
80
|
+
* .basicAuth("email@example.com", "")
|
|
81
|
+
* .header("Accept", "application/json")
|
|
82
|
+
* .header("X-Atlassian-Token", "no-check")
|
|
83
|
+
* .field("file", new File("myfile.txt"))
|
|
84
|
+
* .asJson();
|
|
83
85
|
*
|
|
84
|
-
*
|
|
86
|
+
* System.out.println(response.getBody());
|
|
87
|
+
* ```
|
|
85
88
|
*
|
|
86
89
|
* #### Python ####
|
|
87
|
-
*
|
|
88
|
-
*
|
|
89
|
-
*
|
|
90
|
-
*
|
|
91
|
-
*
|
|
92
|
-
*
|
|
93
|
-
*
|
|
94
|
-
*
|
|
90
|
+
* ```
|
|
91
|
+
* # This code sample uses the 'requests' library:
|
|
92
|
+
* # http://docs.python-requests.org
|
|
93
|
+
* import requests
|
|
94
|
+
* from requests.auth import HTTPBasicAuth
|
|
95
|
+
* import json
|
|
96
|
+
*
|
|
97
|
+
* url =
|
|
95
98
|
* "https://your-domain.atlassian.net/rest/api/2/issue/{issueIdOrKey}/attachments"
|
|
96
99
|
*
|
|
97
|
-
*
|
|
100
|
+
* auth = HTTPBasicAuth("email@example.com", "")
|
|
98
101
|
*
|
|
99
|
-
*
|
|
100
|
-
*
|
|
101
|
-
*
|
|
102
|
-
*
|
|
102
|
+
* headers = {
|
|
103
|
+
* "Accept": "application/json",
|
|
104
|
+
* "X-Atlassian-Token": "no-check"
|
|
105
|
+
* }
|
|
103
106
|
*
|
|
104
|
-
*
|
|
105
|
-
*
|
|
106
|
-
*
|
|
107
|
-
*
|
|
108
|
-
*
|
|
109
|
-
*
|
|
110
|
-
*
|
|
111
|
-
*
|
|
112
|
-
*
|
|
113
|
-
*
|
|
114
|
-
*
|
|
107
|
+
* response = requests.request(
|
|
108
|
+
* "POST",
|
|
109
|
+
* url,
|
|
110
|
+
* headers = headers,
|
|
111
|
+
* auth = auth,
|
|
112
|
+
* files = {
|
|
113
|
+
* "file": ("myfile.txt", open("myfile.txt","rb"), "application-type")
|
|
114
|
+
* }
|
|
115
|
+
* )
|
|
116
|
+
*
|
|
117
|
+
* print(json.dumps(json.loads(response.text), sort_keys=True, indent=4,
|
|
115
118
|
* separators=(",", ": ")))
|
|
119
|
+
* ```
|
|
116
120
|
*
|
|
117
121
|
* #### PHP ####
|
|
122
|
+
* ```
|
|
123
|
+
* // This code sample uses the 'Unirest' library:
|
|
124
|
+
* // http://unirest.io/php.html
|
|
125
|
+
* Unirest\Request::auth('email@example.com', '');
|
|
118
126
|
*
|
|
119
|
-
*
|
|
120
|
-
*
|
|
121
|
-
*
|
|
122
|
-
*
|
|
123
|
-
* $headers = array(
|
|
124
|
-
* 'Accept' => 'application/json',
|
|
125
|
-
* 'X-Atlassian-Token' => 'no-check'
|
|
126
|
-
* );
|
|
127
|
+
* $headers = array(
|
|
128
|
+
* 'Accept' => 'application/json',
|
|
129
|
+
* 'X-Atlassian-Token' => 'no-check'
|
|
130
|
+
* );
|
|
127
131
|
*
|
|
128
|
-
*
|
|
129
|
-
*
|
|
130
|
-
*
|
|
132
|
+
* $parameters = array(
|
|
133
|
+
* 'file' => File::add('myfile.txt')
|
|
134
|
+
* );
|
|
131
135
|
*
|
|
132
|
-
*
|
|
133
|
-
*
|
|
134
|
-
*
|
|
135
|
-
*
|
|
136
|
-
*
|
|
136
|
+
* $response = Unirest\Request::post(
|
|
137
|
+
* 'https://your-domain.atlassian.net/rest/api/2/issue/{issueIdOrKey}/attachments',
|
|
138
|
+
* $headers,
|
|
139
|
+
* $parameters
|
|
140
|
+
* );
|
|
137
141
|
*
|
|
138
|
-
*
|
|
142
|
+
* var_dump($response)
|
|
143
|
+
* ```
|
|
139
144
|
*
|
|
140
145
|
* #### Forge ####
|
|
146
|
+
* ```
|
|
147
|
+
* // This sample uses Atlassian Forge and the `form-data` library.
|
|
148
|
+
* // https://developer.atlassian.com/platform/forge/
|
|
149
|
+
* // https://www.npmjs.com/package/form-data
|
|
150
|
+
* import api from "@forge/api";
|
|
151
|
+
* import FormData from "form-data";
|
|
141
152
|
*
|
|
142
|
-
*
|
|
143
|
-
*
|
|
144
|
-
* // https://www.npmjs.com/package/form-data
|
|
145
|
-
* import api from "@forge/api";
|
|
146
|
-
* import FormData from "form-data";
|
|
153
|
+
* const form = new FormData();
|
|
154
|
+
* form.append('file', fileStream, {knownLength: fileSizeInBytes});
|
|
147
155
|
*
|
|
148
|
-
*
|
|
149
|
-
* form.append('file', fileStream, {knownLength: fileSizeInBytes});
|
|
150
|
-
*
|
|
151
|
-
* const response = await
|
|
156
|
+
* const response = await
|
|
152
157
|
* api.asApp().requestJira('/rest/api/2/issue/{issueIdOrKey}/attachments', {
|
|
153
|
-
*
|
|
154
|
-
*
|
|
155
|
-
*
|
|
156
|
-
*
|
|
157
|
-
*
|
|
158
|
-
*
|
|
159
|
-
*
|
|
158
|
+
* method: 'POST',
|
|
159
|
+
* body: form,
|
|
160
|
+
* headers: {
|
|
161
|
+
* 'Accept': 'application/json',
|
|
162
|
+
* 'X-Atlassian-Token': 'no-check'
|
|
163
|
+
* }
|
|
164
|
+
* });
|
|
160
165
|
*
|
|
161
|
-
*
|
|
162
|
-
*
|
|
166
|
+
* console.log(`Response: ${response.status} ${response.statusText}`);
|
|
167
|
+
* console.log(await response.json());
|
|
168
|
+
* ```
|
|
163
169
|
*
|
|
164
170
|
* Tip: Use a client library. Many client libraries have classes for handling
|
|
165
171
|
* multipart POST operations. For example, in Java, the Apache HTTP Components
|
|
@@ -179,60 +185,49 @@ export declare class IssueAttachmentsService extends CommonHttpService {
|
|
|
179
185
|
*
|
|
180
186
|
* @returns Returned if the request is successful.
|
|
181
187
|
*
|
|
182
|
-
* example:
|
|
188
|
+
* example:
|
|
189
|
+
* ```
|
|
190
|
+
* [
|
|
183
191
|
* {
|
|
184
192
|
* "author": {
|
|
185
193
|
* "accountId": "5b10a2844c20165700ede21g",
|
|
186
194
|
* "active": true,
|
|
187
195
|
* "avatarUrls": {
|
|
188
|
-
* "16x16":
|
|
189
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
190
|
-
* "
|
|
191
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
192
|
-
* "32x32":
|
|
193
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
194
|
-
* "48x48":
|
|
195
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
196
|
+
* "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
197
|
+
* "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
198
|
+
* "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
199
|
+
* "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
196
200
|
* },
|
|
197
201
|
* "displayName": "Mia Krystof",
|
|
198
202
|
* "emailAddress": "mia@example.com",
|
|
199
|
-
* "self":
|
|
200
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g",
|
|
203
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g",
|
|
201
204
|
* "timeZone": "Australia/Sydney"
|
|
202
205
|
* },
|
|
203
|
-
* "content":
|
|
204
|
-
* "https://your-domain.atlassian.net/rest/api/3/attachment/content/10000",
|
|
206
|
+
* "content": "https://your-domain.atlassian.net/rest/api/3/attachment/content/10000",
|
|
205
207
|
* "created": 1651316514000,
|
|
206
208
|
* "filename": "picture.jpg",
|
|
207
209
|
* "id": "10001",
|
|
208
210
|
* "mimeType": "image/jpeg",
|
|
209
211
|
* "self": "https://your-domain.atlassian.net/rest/api/3/attachments/10000",
|
|
210
212
|
* "size": 23123,
|
|
211
|
-
* "thumbnail":
|
|
212
|
-
* "https://your-domain.atlassian.net/rest/api/3/attachment/thumbnail/10000"
|
|
213
|
+
* "thumbnail": "https://your-domain.atlassian.net/rest/api/3/attachment/thumbnail/10000"
|
|
213
214
|
* },
|
|
214
215
|
* {
|
|
215
216
|
* "author": {
|
|
216
217
|
* "accountId": "5b10a2844c20165700ede21g",
|
|
217
218
|
* "active": true,
|
|
218
219
|
* "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"
|
|
220
|
+
* "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
221
|
+
* "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
222
|
+
* "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
223
|
+
* "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
227
224
|
* },
|
|
228
225
|
* "displayName": "Mia Krystof",
|
|
229
226
|
* "emailAddress": "mia@example.com",
|
|
230
|
-
* "self":
|
|
231
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g",
|
|
227
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g",
|
|
232
228
|
* "timeZone": "Australia/Sydney"
|
|
233
229
|
* },
|
|
234
|
-
* "content":
|
|
235
|
-
* "https://your-domain.atlassian.net/rest/api/3/attachment/content/10001",
|
|
230
|
+
* "content": "https://your-domain.atlassian.net/rest/api/3/attachment/content/10001",
|
|
236
231
|
* "created": 1658898511000,
|
|
237
232
|
* "filename": "dbeuglog.txt",
|
|
238
233
|
* "mimeType": "text/plain",
|
|
@@ -240,10 +235,12 @@ export declare class IssueAttachmentsService extends CommonHttpService {
|
|
|
240
235
|
* "size": 2460
|
|
241
236
|
* }
|
|
242
237
|
* ]
|
|
243
|
-
*
|
|
238
|
+
* ```
|
|
239
|
+
* @path POST `/rest/api/3/issue/{issueIdOrKey}/attachments`
|
|
244
240
|
* @scopes-current write:jira-work
|
|
245
241
|
* @scopes-beta read:user:jira, write:attachment:jira, read:attachment:jira, read:avatar:jira
|
|
246
242
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-attachments#api-rest-api-3-issue-issueidorkey-attachments-post
|
|
243
|
+
* @param params
|
|
247
244
|
*/
|
|
248
245
|
addAttachment: ({ issueIdOrKey, requestBody, }: {
|
|
249
246
|
/** The ID or key of the issue that attachments are added to. */
|
|
@@ -276,10 +273,11 @@ export declare class IssueAttachmentsService extends CommonHttpService {
|
|
|
276
273
|
* * If [issue-level security](https://confluence.atlassian.com/x/J4lKLg) is
|
|
277
274
|
* configured, issue-level security permission to view the issue.
|
|
278
275
|
*
|
|
279
|
-
* @returns Returned if the request is successful. If an empty list is returned in the
|
|
280
|
-
* response, the attachment is empty, corrupt, or not an archive.
|
|
276
|
+
* @returns Returned if the request is successful. If an empty list is returned in the response, the attachment is empty, corrupt, or not an archive.
|
|
281
277
|
*
|
|
282
|
-
* example:
|
|
278
|
+
* example:
|
|
279
|
+
* ```
|
|
280
|
+
* {
|
|
283
281
|
* "entries": [
|
|
284
282
|
* {
|
|
285
283
|
* "index": 0,
|
|
@@ -299,8 +297,7 @@ export declare class IssueAttachmentsService extends CommonHttpService {
|
|
|
299
297
|
* "index": 2,
|
|
300
298
|
* "label": "long/path/thanks/to/.../reach/the/leaf.txt",
|
|
301
299
|
* "mediaType": "text/plain",
|
|
302
|
-
* "path":
|
|
303
|
-
* "long/path/thanks/to/lots/of/subdirectories/inside/making/it/quite/hard/to/reach/the/leaf.txt",
|
|
300
|
+
* "path": "long/path/thanks/to/lots/of/subdirectories/inside/making/it/quite/hard/to/reach/the/leaf.txt",
|
|
304
301
|
* "size": "0.0 k"
|
|
305
302
|
* }
|
|
306
303
|
* ],
|
|
@@ -309,10 +306,12 @@ export declare class IssueAttachmentsService extends CommonHttpService {
|
|
|
309
306
|
* "name": "images.zip",
|
|
310
307
|
* "totalEntryCount": 39
|
|
311
308
|
* }
|
|
312
|
-
*
|
|
309
|
+
* ```
|
|
310
|
+
* @path GET `/rest/api/3/attachment/{id}/expand/human`
|
|
313
311
|
* @scopes-current read:jira-work
|
|
314
312
|
* @scopes-beta read:attachment:jira
|
|
315
313
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-attachments#api-rest-api-3-attachment-id-expand-human-get
|
|
314
|
+
* @param params
|
|
316
315
|
*/
|
|
317
316
|
expandAttachmentForHumans: ({ id, }: {
|
|
318
317
|
/** The ID of the attachment. */
|
|
@@ -342,10 +341,11 @@ export declare class IssueAttachmentsService extends CommonHttpService {
|
|
|
342
341
|
* * If [issue-level security](https://confluence.atlassian.com/x/J4lKLg) is
|
|
343
342
|
* configured, issue-level security permission to view the issue.
|
|
344
343
|
*
|
|
345
|
-
* @returns Returned if the request is successful. If an empty list is returned in the
|
|
346
|
-
* response, the attachment is empty, corrupt, or not an archive.
|
|
344
|
+
* @returns Returned if the request is successful. If an empty list is returned in the response, the attachment is empty, corrupt, or not an archive.
|
|
347
345
|
*
|
|
348
|
-
* example:
|
|
346
|
+
* example:
|
|
347
|
+
* ```
|
|
348
|
+
* {
|
|
349
349
|
* "entries": [
|
|
350
350
|
* {
|
|
351
351
|
* "entryIndex": 0,
|
|
@@ -362,10 +362,12 @@ export declare class IssueAttachmentsService extends CommonHttpService {
|
|
|
362
362
|
* ],
|
|
363
363
|
* "totalEntryCount": 24
|
|
364
364
|
* }
|
|
365
|
-
*
|
|
365
|
+
* ```
|
|
366
|
+
* @path GET `/rest/api/3/attachment/{id}/expand/raw`
|
|
366
367
|
* @scopes-current read:jira-work
|
|
367
368
|
* @scopes-beta read:attachment:jira
|
|
368
369
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-attachments#api-rest-api-3-attachment-id-expand-raw-get
|
|
370
|
+
* @param params
|
|
369
371
|
*/
|
|
370
372
|
expandAttachmentForMachines: ({ id, }: {
|
|
371
373
|
/** The ID of the attachment. */
|
|
@@ -387,43 +389,39 @@ export declare class IssueAttachmentsService extends CommonHttpService {
|
|
|
387
389
|
*
|
|
388
390
|
* @returns Returned if the request is successful.
|
|
389
391
|
*
|
|
390
|
-
* example:
|
|
392
|
+
* example:
|
|
393
|
+
* ```
|
|
394
|
+
* {
|
|
391
395
|
* "author": {
|
|
392
396
|
* "accountId": "5b10a2844c20165700ede21g",
|
|
393
397
|
* "accountType": "atlassian",
|
|
394
398
|
* "active": false,
|
|
395
399
|
* "avatarUrls": {
|
|
396
|
-
* "16x16":
|
|
397
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
398
|
-
* "
|
|
399
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=
|
|
400
|
-
* "32x32":
|
|
401
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
402
|
-
* "48x48":
|
|
403
|
-
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
400
|
+
* "16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
401
|
+
* "24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
402
|
+
* "32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
403
|
+
* "48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
404
404
|
* },
|
|
405
405
|
* "displayName": "Mia Krystof",
|
|
406
406
|
* "key": "",
|
|
407
407
|
* "name": "",
|
|
408
|
-
* "self":
|
|
409
|
-
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
408
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
410
409
|
* },
|
|
411
|
-
* "content":
|
|
412
|
-
* "https://your-domain.atlassian.net/jira/rest/api/3/attachment/content/10000",
|
|
410
|
+
* "content": "https://your-domain.atlassian.net/jira/rest/api/3/attachment/content/10000",
|
|
413
411
|
* "created": "2022-10-06T07:32:47.000+0000",
|
|
414
412
|
* "filename": "picture.jpg",
|
|
415
413
|
* "id": 10000,
|
|
416
414
|
* "mimeType": "image/jpeg",
|
|
417
415
|
* "self": "https://your-domain.atlassian.net/rest/api/3/attachments/10000",
|
|
418
416
|
* "size": 23123,
|
|
419
|
-
* "thumbnail":
|
|
420
|
-
* "https://your-domain.atlassian.net/jira/rest/api/3/attachment/thumbnail/10000"
|
|
417
|
+
* "thumbnail": "https://your-domain.atlassian.net/jira/rest/api/3/attachment/thumbnail/10000"
|
|
421
418
|
* }
|
|
422
|
-
*
|
|
419
|
+
* ```
|
|
420
|
+
* @path GET `/rest/api/3/attachment/{id}`
|
|
423
421
|
* @scopes-current read:jira-work
|
|
424
|
-
* @scopes-beta read:attachment:jira, read:user:jira, read:application-role:jira,
|
|
425
|
-
* read:avatar:jira, read:group:jira
|
|
422
|
+
* @scopes-beta read:attachment:jira, read:user:jira, read:application-role:jira, read:avatar:jira, read:group:jira
|
|
426
423
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-attachments#api-rest-api-3-attachment-id-get
|
|
424
|
+
* @param params
|
|
427
425
|
*/
|
|
428
426
|
getAttachment: ({ id, }: {
|
|
429
427
|
/** The ID of the attachment. */
|
|
@@ -450,10 +448,11 @@ export declare class IssueAttachmentsService extends CommonHttpService {
|
|
|
450
448
|
* configured, issue-level security permission to view the issue.
|
|
451
449
|
*
|
|
452
450
|
* @returns Returned if the request is successful when `redirect` is set to `false`.
|
|
453
|
-
* @path
|
|
451
|
+
* @path GET `/rest/api/3/attachment/content/{id}`
|
|
454
452
|
* @scopes-current read:jira-work
|
|
455
453
|
* @scopes-beta read:attachment:jira
|
|
456
454
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-attachments#api-rest-api-3-attachment-content-id-get
|
|
455
|
+
* @param params
|
|
457
456
|
*/
|
|
458
457
|
getAttachmentContent: ({ id, redirect, }: {
|
|
459
458
|
/** The ID of the attachment. */
|
|
@@ -479,11 +478,14 @@ export declare class IssueAttachmentsService extends CommonHttpService {
|
|
|
479
478
|
*
|
|
480
479
|
* @returns Returned if the request is successful.
|
|
481
480
|
*
|
|
482
|
-
* example:
|
|
481
|
+
* example:
|
|
482
|
+
* ```
|
|
483
|
+
* {
|
|
483
484
|
* "enabled": true,
|
|
484
485
|
* "uploadLimit": 1000000
|
|
485
486
|
* }
|
|
486
|
-
*
|
|
487
|
+
* ```
|
|
488
|
+
* @path GET `/rest/api/3/attachment/meta`
|
|
487
489
|
* @scopes-current read:jira-work
|
|
488
490
|
* @scopes-beta read:instance-configuration:jira
|
|
489
491
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-attachments#api-rest-api-3-attachment-meta-get
|
|
@@ -507,10 +509,11 @@ export declare class IssueAttachmentsService extends CommonHttpService {
|
|
|
507
509
|
* configured, issue-level security permission to view the issue.
|
|
508
510
|
*
|
|
509
511
|
* @returns Returned if the request is successful when `redirect` is set to `false`.
|
|
510
|
-
* @path
|
|
512
|
+
* @path GET `/rest/api/3/attachment/thumbnail/{id}`
|
|
511
513
|
* @scopes-current read:jira-work
|
|
512
514
|
* @scopes-beta read:attachment:jira
|
|
513
515
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-attachments#api-rest-api-3-attachment-thumbnail-id-get
|
|
516
|
+
* @param params
|
|
514
517
|
*/
|
|
515
518
|
getAttachmentThumbnail: ({ id, redirect, fallbackToDefault, width, height, }: {
|
|
516
519
|
/** The ID of the attachment. */
|
|
@@ -546,10 +549,11 @@ export declare class IssueAttachmentsService extends CommonHttpService {
|
|
|
546
549
|
* permission](https://confluence.atlassian.com/x/yodKLg) to delete an attachment
|
|
547
550
|
* created by any user.
|
|
548
551
|
*
|
|
549
|
-
* @path
|
|
552
|
+
* @path DELETE `/rest/api/3/attachment/{id}`
|
|
550
553
|
* @scopes-current write:jira-work
|
|
551
554
|
* @scopes-beta delete:attachment:jira
|
|
552
555
|
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-attachments#api-rest-api-3-attachment-id-delete
|
|
556
|
+
* @param params
|
|
553
557
|
*/
|
|
554
558
|
removeAttachment: ({ id, }: {
|
|
555
559
|
/** The ID of the attachment. */
|