' Options: 'Date: 2026-03-31 17:05:00 'Version: 8.80 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://test-do-services.klokgroep.nl/api ' '''GlobalNamespace: '''MakePartial: True '''MakeVirtual: True '''MakeDataContractsExtensible: False '''AddReturnMarker: True '''AddDescriptionAsComments: True '''AddDataContractAttributes: False '''AddIndexesToDataMembers: False '''AddGeneratedCodeAttributes: False '''AddResponseStatus: False '''AddImplicitVersion: '''InitializeCollections: False '''ExportValueTypes: False 'IncludeTypes: GenerateDocumentBatch.* '''ExcludeTypes: '''AddNamespaces: '''AddDefaultXmlNamespace: http://schemas.servicestack.net/types Imports System Imports System.IO Imports System.Collections Imports System.Collections.Generic Imports System.Runtime.Serialization Imports ServiceStack Imports ServiceStack.DataAnnotations Imports System.Drawing Imports IDB.API.DMS Imports IDB.API.Entities Imports IDB.DocumentGenerator.SDK.DTO Imports IDB.DocumentGenerator.SDK.Operations.General Imports IDB.API.DocumentGenerator Imports IDB.DocumentGenerator.SDK.DTO.General Imports IDB.API.Common Namespace Global Namespace IDB.API.Common Public Partial Class Field Public Overridable Property Name As String Public Overridable Property OldValue As String Public Overridable Property Value As String Public Overridable Property Title As String End Class End Namespace Namespace IDB.API.DMS Public Enum DocInfoAction Create Register End Enum Public Enum DocInfoMode [New] Change NewVersionPrimary NewVersionSecondary NewFromExistingDocument End Enum Public Enum DocInfoSilentMode Off AllowUserInteraction DoNotAllowUserInteraction End Enum Public Partial Class DocumentInfo Public Overridable Property Action As DocInfoAction Public Overridable Property Mode As DocInfoMode Public Overridable Property Version As String Public Overridable Property SilentMode As DocInfoSilentMode End Class End Namespace Namespace IDB.API.DocumentGenerator Public Partial Class Attachment Public Overridable Property Name As String Public Overridable Property AttachmentData As AttachmentData End Class Public Partial Class AttachmentData Public Overridable Property ContentType As String ''' '''Data base64-encoded zonder padding. ''' Public Overridable Property Data As String End Class Public Partial Class ConfigurationSource ''' '''Document genereren op basis van een DocGenDocument. ''' Public Overridable Property DocumentgeneratorDocument As DocumentgeneratorDocumentReference ''' '''Document genereren op basis van een RegistratieProfiel. ''' Public Overridable Property RegistrationProfile As RegistrationProfileReference ''' '''Use existing document registration. ''' Public Overridable Property RegisteredDocument As DocumentReference ''' '''Use documentInfo. ''' Public Overridable Property UnRegisteredDocument As DocumentInfo ''' '''Use draft document registration. ''' Public Overridable Property DraftDocumentRegistration As MessageQueueReference Public Overridable Property DocumentgeneratorType As Type ''' '''DocumentgeneratorType voor bijvoorbeeld Word of Email. ''' Public Overridable Property DocumentgeneratorTypeName As String Public Overridable Property TemplateExtension As String Public Overridable Property OutputExtension As String End Class Public Enum Direction Left2Right = 0 UpLeft2DownRight = 45 Up2Down = 90 UpRight2DownLeft = 135 Right2Left = 180 DownRight2UpLeft = 225 Down2Up = 270 DownLeft2UpRight = 315 End Enum Public Partial Class Signer Public Overridable Property MainSignerPostFix As String Public Overridable Property User As UserReference Public Overridable Property Person As PersonReference Public Overridable Property Relation As RelationReference Public Overridable Property ContactPerson As ContactPersonReference Public Overridable Property RegisteredDocument As DocumentReference Public Overridable Property Type As SignerType Public Overridable Property ClosingSentence As String Public Overridable Property Name As String Public Overridable Property Subsidiary As String Public Overridable Property [Function] As String Public Overridable Property Department As String Public Overridable Property PhoneNumber As String Public Overridable Property FaxNumber As String Public Overridable Property MobileNumber As String Public Overridable Property Email As String Public Overridable Property CustomText As String Public Overridable Property Signature As List(Of String) Public Overridable Property Initials As List(Of String) Public Overridable Property SignatureVisible As Boolean? Public Overridable Property InitialsVisible As Boolean? Public Overridable Property Visible As Boolean? End Class Public Enum SignerType MainSigner AdditionalSigner ConfirmationDeclarant AdditionalConfirmationDeclarant End Enum Public Partial Class SubProject Public Overridable Property Project As ProjectReference End Class Public Enum VersioningType [New] Change Primary Secondary End Enum Public Partial Class Watermark Public Overridable Property Text As String Public Overridable Property FontFamilyName As String Public Overridable Property FontFamily As FontFamily Public Overridable Property Direction As Direction? Public Overridable Property StrokeColorText As String Public Overridable Property StrokeColor As Color Public Overridable Property FillColorText As String Public Overridable Property FillColor As Color End Class End Namespace Namespace IDB.API.Entities Public Partial Class CommonEntityBaseReference Implements IEntityReference Public Overridable Property ID As String Public Overridable Property ExternalID As String Public Overridable Property GlobalID As Guid? Implements IEntityReference.GlobalID End Class Public Partial Class CompanyReference Implements IEntityReference Public Overridable Property ID As Integer? Public Overridable Property Number As Integer? Public Overridable Property GlobalID As Guid? Implements IEntityReference.GlobalID Public Overridable Property ExternalID As String End Class Public Partial Class ContactPersonReference Implements IEntityReference Public Overridable Property ID As Integer? Public Overridable Property GlobalID As Guid? Implements IEntityReference.GlobalID Public Overridable Property ExternalID As String Public Overridable Property RelationID As Integer? Public Overridable Property PersonID As Integer? End Class Public Partial Class DocumentgeneratorDocumentReference Implements IEntityReference Public Overridable Property ID As Guid? Public Overridable Property Name As String Public Overridable Property GlobalID As Guid? Implements IEntityReference.GlobalID End Class Public Partial Class DocumentReference Implements IEntityReference Public Overridable Property ID As Guid? Public Overridable Property Code As String Public Overridable Property VersionCode As String Public Overridable Property RootDocID As Guid? Public Overridable Property InternalInvoiceCode As String Public Overridable Property CompanyNumber As Integer? Public Overridable Property DocumentTypeID As String Public Overridable Property InvoiceType As Integer? Public Overridable Property RegProfCatID As Integer? Public Overridable Property GlobalID As Guid? Implements IEntityReference.GlobalID Public Overridable Property ExternalID As String Public Overridable Property ExternNr As String Public Overridable Property ExternVersieNr As String Public Overridable Property InternNummer As String End Class Public Interface IEntityReference Property GlobalID As Guid? End Interface Public Partial Class MessageQueueReference Implements IEntityReference Public Overridable Property ID As Integer? Public Overridable Property GlobalID As Guid? Implements IEntityReference.GlobalID End Class Public Partial Class PersonReference Implements IEntityReference Public Overridable Property ID As Integer? Public Overridable Property Number As Integer? Public Overridable Property GlobalID As Guid? Implements IEntityReference.GlobalID Public Overridable Property ExternalID As String End Class Public Partial Class ProjectReference Implements IEntityReference Public Overridable Property ID As Integer? Public Overridable Property Code As String Public Overridable Property TypeExternalID As String Public Overridable Property CompanyNumber As Integer? Public Overridable Property GlobalID As Guid? Implements IEntityReference.GlobalID Public Overridable Property ExternalID As String End Class Public Partial Class RegistrationProfileReference Implements IEntityReference Public Overridable Property ID As Guid Public Overridable Property GlobalID As Guid? Implements IEntityReference.GlobalID End Class Public Partial Class RelationReference Implements IEntityReference Public Overridable Property ID As Integer? Public Overridable Property CreditorNumber As Integer? Public Overridable Property DebtorNumber As Integer? Public Overridable Property GlobalLocationNumber As String Public Overridable Property GlobalID As Guid? Implements IEntityReference.GlobalID Public Overridable Property ExternalID As String End Class Public Partial Class UserReference Implements IEntityReference Public Overridable Property ID As Integer? Public Overridable Property LoginName As String Public Overridable Property UserPrincipalName As String Public Overridable Property FullName As String Public Overridable Property EmailAddress As String Public Overridable Property GlobalID As Guid? Implements IEntityReference.GlobalID End Class End Namespace Namespace IDB.DocumentGenerator.SDK.DTO Public Partial Class BatchDocument Implements IDocument ''' '''ConfigurationSource: DocumentgeneratorDocument of RegistratieProfiel. ''' Public Overridable Property ConfigurationSource As ConfigurationSource Implements IDocument.ConfigurationSource ''' '''Set references to bind with Registration profile ''' Public Overridable Property RegistrationMetaData As RegistrationMetaData Implements IDocument.RegistrationMetaData ''' '''Entity instance used as data source parent, if not exists default is Document registration instance. ''' Public Overridable Property DataSourceEntity As CommonEntityBaseReference Implements IDocument.DataSourceEntity ''' '''Hier kan de (dynamische) data voor het document geplaatst worden, de data kan middels tekstblokken en placeholders worden geplaatst.Het formaat binnen CustomData staat vrij maar vereist een 'root' element. ''' Public Overridable Property CustomData As String Implements IDocument.CustomData ''' '''Insert a watermark into the document. ''' Public Overridable Property Watermark As Watermark Implements IDocument.Watermark ''' '''Type van het gegenereerde document, bijvoorbeeld: Doc, Docx, Pdf. ''' Public Overridable Property OutputType As String Implements IDocument.OutputType End Class Public Interface IDocument Property ConfigurationSource As ConfigurationSource Property DataSourceEntity As CommonEntityBaseReference Property RegistrationMetaData As RegistrationMetaData Property CustomData As String Property Watermark As Watermark Property OutputType As String End Interface Public Partial Class RegistrationMetaData ''' '''Hoe moet het versiebeheer worden toegepast? ''' Public Overridable Property Versioning As VersioningType? ''' '''Previous document will be used for registration of a new version. ''' Public Overridable Property PreviousDocument As DocumentReference ''' '''Company ''' Public Overridable Property Company As CompanyReference ''' '''Relation ''' Public Overridable Property Relation As RelationReference ''' '''Person ''' Public Overridable Property Person As PersonReference ''' '''Project ''' Public Overridable Property Project As ProjectReference ''' '''Sub projects ''' Public Overridable Property SubProjects As List(Of SubProject) ''' '''Signers ''' Public Overridable Property Signers As List(Of Signer) ''' '''Bevat velden die gebruikt worden als additionele metadata voor het document, naast de vaste koppelingen zoals gebruiker, project en relatie. ''' Public Overridable Property Fields As List(Of Field) ''' '''Attachments die aan de documentregistratie gekoppeld moet worden. ''' Public Overridable Property Attachments As List(Of Attachment) End Class End Namespace Namespace IDB.DocumentGenerator.SDK.DTO.General Public Partial Class GenerateDocumentBatchResponse Implements IGenerateDocumentBatchResponse ''' '''ID of the batch ''' Public Overridable Property BatchID As Guid Implements IGenerateDocumentBatchResponse.BatchID ''' '''Document processed count ''' Public Overridable Property Processed As Integer Implements IGenerateDocumentBatchResponse.Processed ''' '''Track and Trace url ''' Public Overridable Property TrackAndTraceUrl As String Implements IGenerateDocumentBatchResponse.TrackAndTraceUrl End Class Public Interface IGenerateDocumentBatchResponse Property BatchID As Guid Property Processed As Integer Property TrackAndTraceUrl As String End Interface End Namespace Namespace IDB.DocumentGenerator.SDK.Operations.General ''' '''Queue multiple (corporate identity) document(s) to generate later via the DigiOffice background agent. ''' Public Partial Class GenerateDocumentBatch Implements IReturn(Of GenerateDocumentBatchResponse) Implements IGenerateDocumentBatch ''' '''Owner of the badge (DigiOffice user) ''' Public Overridable Property User As UserReference Implements IGenerateDocumentBatch.User ''' '''Description of the badge ''' Public Overridable Property Description As String Implements IGenerateDocumentBatch.Description ''' '''Corporate identity document(s) to be generate ''' Public Overridable Property Documents As List(Of BatchDocument) Implements IGenerateDocumentBatch.Documents = New List(Of BatchDocument) ''' '''Generated document is not registered in DigiOffice DMS. ''' Public Overridable Property DontRegister As Boolean? Implements IGenerateDocumentBatch.DontRegister ''' '''Send the generated e-mail via the e-mail queue. ''' Public Overridable Property SendMail As Boolean Implements IGenerateDocumentBatch.SendMail End Class Public Interface IGenerateDocumentBatch Property User As UserReference Property Description As String Property Documents As List(Of BatchDocument) Property DontRegister As Boolean? Property SendMail As Boolean End Interface End Namespace End Namespace