/* Options: Date: 2026-03-31 18:45:33 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://test-dogw.klokgroep.nl/api //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GenerateWordPrintableDocument.* //ExcludeTypes: //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.* import java.util.* import java.io.InputStream import net.servicestack.client.* /** * Generate a (corporate identity) printable document based on an existing document registration or working file. */ @Route(Path="/documentgenerator/word/generateprintabledocument", Verbs="POST") @Api(Description="Generate a (corporate identity) printable document based on an existing document registration or working file.") open class GenerateWordPrintableDocument : IReturn, IRegisteredDocumentRequest { /** * ID of the current document registration */ @ApiMember(Description="ID of the current document registration", IsRequired=true) override var RegisteredDocumentID:UUID? = null /** * The unsaved active document to print instead of the saved document. */ @ApiMember(Description="The unsaved active document to print instead of the saved document.") open var WorkingFile:DocumentBase64File? = null /** * When printing on stationary use PrintLogoStyle.Hidden to remove subsidary logo's from the document */ @ApiMember(Description="When printing on stationary use PrintLogoStyle.Hidden to remove subsidary logo's from the document") open var LogoStyle:PrintLogoStyle? = null /** * Represents a subset of the page setup properties of a section. */ @ApiMember(Description="Represents a subset of the page setup properties of a section.") open var PageSetup:WordPageSetup? = null companion object { private val responseType = GenerateWordPrintableDocumentResponse::class.java } override fun getResponseType(): Any? = GenerateWordPrintableDocument.responseType } open class GenerateWordPrintableDocumentResponse : IGenerateDraftDocumentResponse { /** * The file to print */ @ApiMember(Description="The file to print") override var File:DocumentBase64File? = null } open class DocumentBase64File { open var ContentType:String? = null open var Content:String? = null } enum class PrintLogoStyle { Colour, Invisible, } open class WordPageSetup { open var FirstPageTray:Int? = null open var OtherPagesTray:Int? = null } interface IRegisteredDocumentRequest { var RegisteredDocumentID:UUID? } interface IGenerateDraftDocumentResponse { var File:DocumentBase64File? }