/* Options: Date: 2024-10-18 04:30:14 Version: 6.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://digiofficeapigateway.deltares.nl/api //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetDocumentDetails.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export interface ICustomProperties { CustomProperties: { [index: string]: Object; }; } export class Document implements ICustomProperties { public ID: string; public RootDocumentID: string; public RegistrationprofileID: string; public Title: string; public FullTitle: string; public Number: string; public Version: string; public ExternalNumber: string; public ExternalVersion: string; public InternalNumber: string; public InternalInvoiceNumber: string; public PersonID: number; public RelationID: number; public RelationTitle: string; public ProjectID: number; public ProjectTitle: string; public Extension: string; public Date?: string; public CommentsCount: number; public HasComments: boolean; public HasPreview: boolean; public ExtraField: string; public IsFavorite: boolean; public DocumentcategoryText: string; public FileSize?: number; public FileDate?: string; public Hash: string; public HashType: string; public FileUrl: string; public StandardDocumentUrl: string; public IsCorporateIdentity: boolean; public UserTitle: string; public IsFrozen: boolean; public InternalCompanyID: number; public DirectUrl: string; public AllowDigitalSigningOnlyOnPrimaryVersions: boolean; public IsPrimaryVersion: boolean; public FileExtension: string; public CustomProperties: { [index: string]: Object; }; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/documents/{DocumentID}", "GET POST") export class GetDocumentDetails implements IReturn { public DocumentID: string; public IncludeCustomProperties: boolean; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'GetDocumentDetails'; } public getMethod() { return 'POST'; } public createResponse() { return new Document(); } }