import { ResponseContainerDTO, IdLocationNameIdentityDTO, IdLocationNameIdentityResponseDTO } from "./Windream.WebService"; export interface IAnnotationsControllerDTO { GetAnnotations(parameter: GetAnnotationsDTO): GetAnnotationsResponseContainerDTO; Create(parameter: CreateAnnotationDTO): CreateAnnotationResponseContainerDTO; } export interface AnnotationContentDTO { Title: String; Text: String; } export interface AnnotationDTO extends AnnotationContentDTO { CreationDate: String; Creator: String; CreatedByRequestingUser: Boolean; Id: number; } export interface AnnotationResponseDTO { CreationDate: String; Creator: String; CreatedByRequestingUser: Boolean; Id: number; Title: String; Text: String; } export interface CreateAnnotationDTO { Item: IdLocationNameIdentityDTO; Annotation: AnnotationContentDTO; } export interface CreateAnnotationResponseContainerDTO extends ResponseContainerDTO { Annotation: AnnotationResponseDTO; Item: IdLocationNameIdentityResponseDTO; } export interface GetAnnotationsDTO { Item: IdLocationNameIdentityDTO; } export interface GetAnnotationsResponseContainerDTO extends ResponseContainerDTO { Annotations: AnnotationResponseDTO[]; Item: IdLocationNameIdentityResponseDTO; }