/*! * Copyright Adaptavist 2022 (c) All rights reserved */ import { PlanBean } from "../definitions/PlanBean"; import { PlanLogBeanAsResponse } from "../definitions/PlanLogBeanAsResponse"; import { ErrorStrategyOption } from "../errorStrategy"; import { HeadersOption } from "@managed-api/commons-core"; import { PlanApprovalInputBean } from "../definitions/PlanApprovalInputBean"; import { PlanSearchBean } from "../definitions/PlanSearchBean"; export interface CreatePlanRequest extends HeadersOption, ErrorStrategyOption { body: PlanBean; } declare type CreatePlanResponseOKType = Array; export interface CreatePlanResponseOK extends CreatePlanResponseOKType { } export declare type CreatePlanResponseError = undefined; export interface UpdatePlanRequest extends HeadersOption, ErrorStrategyOption { body: { allocationId: number; assigneeKey: string; assigneeType: string; day: string; description?: string; end: string; /** * Include Weekends and Holidays? */ includeNonWorkingDays: boolean; partialUpdate?: boolean; planApproval?: PlanApprovalInputBean; /** * ID for the item (dependant on the planItemType) which you are planning for. */ planItemId: number; planItemType: "COMPONENT" | "EPIC" | "ISSUE" | "PROJECT" | "SPRINT" | "VERSION"; plannedSeconds?: number; secondsPerDay: number; start: string; startTime: string; }; } export declare type UpdatePlanResponseOK = undefined; export declare type UpdatePlanResponseError = undefined; export interface RemovePlanFromDayRequest extends HeadersOption, ErrorStrategyOption { planId: number; /** * Date of the day from which you want to delete the plan. */ date?: string; } declare type RemovePlanFromDayResponseOKType = Array; export interface RemovePlanFromDayResponseOK extends RemovePlanFromDayResponseOKType { } export declare type RemovePlanFromDayResponseError = undefined; export interface SearchPlansRequest extends HeadersOption, ErrorStrategyOption { body: PlanSearchBean; } declare type SearchPlansResponseOKType = Array; export interface SearchPlansResponseOK extends SearchPlansResponseOKType { } export declare type SearchPlansResponseError = undefined; export {}; //# sourceMappingURL=plan.d.ts.map