/*! * Copyright Adaptavist 2022 (c) All rights reserved */ import { UserAsResponse } from "../definitions/UserAsResponse"; import { AvatarUrlsBeanAsResponse } from "../definitions/AvatarUrlsBeanAsResponse"; import { ProjectComponentAsResponse } from "../definitions/ProjectComponentAsResponse"; import { ProjectInsightAsResponse } from "../definitions/ProjectInsightAsResponse"; import { HierarchyAsResponse } from "../definitions/HierarchyAsResponse"; import { IssueTypeDetailsAsResponse } from "../definitions/IssueTypeDetailsAsResponse"; import { ProjectLandingPageInfoAsResponse } from "../definitions/ProjectLandingPageInfoAsResponse"; import { ProjectPermissionsAsResponse } from "../definitions/ProjectPermissionsAsResponse"; import { ProjectCategoryAsResponse } from "../definitions/ProjectCategoryAsResponse"; import { VersionAsResponse } from "../definitions/VersionAsResponse"; export interface ProjectAsResponse { /** * Whether the project is archived. */ archived?: boolean; /** * The user who archived the project. */ archivedBy?: UserAsResponse; /** * The date when the project was archived. */ archivedDate?: string; /** * The default assignee when creating issues for this project. */ assigneeType?: "PROJECT_LEAD" | "UNASSIGNED"; /** * The URLs of the project's avatars. */ avatarUrls?: AvatarUrlsBeanAsResponse; /** * List of the components contained in the project. */ components?: Array; /** * Whether the project is marked as deleted. */ deleted?: boolean; /** * The user who marked the project as deleted. */ deletedBy?: UserAsResponse; /** * The date when the project was marked as deleted. */ deletedDate?: string; /** * A brief description of the project. */ description?: string; /** * An email address associated with the project. */ email?: string; /** * Expand options that include additional project details in the response. */ expand?: string; /** * Whether the project is selected as a favorite. */ favourite?: boolean; /** * The ID of the project. */ id?: string; /** * Insights about the project. */ insight?: ProjectInsightAsResponse; /** * Whether the project is private from the user's perspective. This means the user can't see the project or any associated issues. */ isPrivate?: boolean; /** * The issue type hierarchy for the project. */ issueTypeHierarchy?: HierarchyAsResponse; /** * List of the issue types available in the project. */ issueTypes?: Array; /** * The key of the project. */ key?: string; /** * The project landing page info. */ landingPageInfo?: ProjectLandingPageInfoAsResponse; /** * The username of the project lead. */ lead?: UserAsResponse; /** * The name of the project. */ name?: string; /** * User permissions on the project */ permissions?: ProjectPermissionsAsResponse; /** * The category the project belongs to. */ projectCategory?: ProjectCategoryAsResponse; /** * The [project type](https://confluence.atlassian.com/x/GwiiLQ#Jiraapplicationsoverview-Productfeaturesandprojecttypes) of the project. */ projectTypeKey?: "software" | "service_desk" | "business"; /** * Map of project properties */ properties?: { [x: string]: any; }; /** * The date when the project is deleted permanently. */ retentionTillDate?: string; /** * The name and self URL for each role defined in the project. For more information, see [Create project role](#api-rest-api-3-role-post). */ roles?: { [x: string]: string; }; /** * The URL of the project details. */ self?: string; /** * Whether the project is simplified. */ simplified?: boolean; /** * The type of the project. */ style?: "classic" | "next-gen"; /** * A link to information about this project, such as project documentation. */ url?: string; /** * Unique ID for next-gen projects. */ uuid?: string; /** * The versions defined in the project. For more information, see [Create version](#api-rest-api-3-version-post). */ versions?: Array; } //# sourceMappingURL=ProjectAsResponse.d.ts.map