/* Options: Date: 2024-10-18 04:16:48 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: UploadFile.* //ExcludeTypes: //DefaultImports: */ // @DataContract export class MetaDataField { // @DataMember public ID?: string; // @DataMember public DocumentVeldID?: string; // @DataMember public Name: string; // @DataMember public Label: string; // @DataMember public Datatype: string; // @DataMember public PrintLabel: string; // @DataMember public Entity: string; // @DataMember public PrintValue: string; // @DataMember public RegistrationValue: string; // @DataMember public SPSiteColumnName: string; // @DataMember public ShadowName: string; // @DataMember public ShadowDatatype: string; // @DataMember public ShadowSPSiteColumnName: string; // @DataMember public ShadowSPSiteColumnRegistrationValue: string; // @DataMember public ShadowRegistrationValue: string; // @DataMember public IsKeyField: boolean; // @DataMember public KopierenBijNieuweVersie: boolean; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export interface IInformationMessages { } export enum MessageType { Information = 1, Warning = 2, Error = 3, Success = 4, } export class InformationMessageBase implements IInformationMessage { public Type: MessageType; public Summary: string; public FullMessage: string; public FieldName: string; public KeepOpen: boolean; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class InformationMessages extends Array implements IInformationMessages { public constructor(init?: Partial) { super(); (Object as any).assign(this, init); } } export interface IInformationMessage { // @DataMember Type: MessageType; // @DataMember Summary: string; // @DataMember FullMessage: string; // @DataMember FieldName: string; // @DataMember KeepOpen: boolean; } // @DataContract export class UploadFileResponse { // @DataMember public DocumentId?: string; // @DataMember public DocumentUploadId?: number; // @DataMember public DocumentNr: string; // @DataMember public Messages: InformationMessages; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/DMS/UploadFile", "POST") export class UploadFile implements IReturn { public RegistrationProfileID: string; public NavigationPath: string; public FileName: string; public Description: string; public DocumentUpload: boolean; public MetaData: MetaDataField[]; public DocumentID?: string; public HoofdDocumentID?: string; public SubDocumentIDs: string[]; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'UploadFile'; } public getMethod() { return 'POST'; } public createResponse() { return new UploadFileResponse(); } }