/* Options: Date: 2024-12-27 06:10:16 Version: 8.12 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://taxfiling.pwc.de //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: CreateE50UstXmlFromDefinition.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export interface IPost { } /** @description Create a VAT return from a dictionary (hash map) of key/value definitions with a dictionary (hash map) of properties. */ // @Api(Description="Create a VAT return from a dictionary (hash map) of key/value definitions with a dictionary (hash map) of properties.") export class CreateXmlFromDefinitionBase { /** @description The 4-digit year of the tax assessment. */ // @ApiMember(Description="The 4-digit year of the tax assessment.") public jahr: number; /** @description Dictionary of key-value pairs that represent the intrinsic properties of the VAT return. Each key represents a name of the VAT property.Each value of the pair represents the VAT property value. */ // @ApiMember(Description="Dictionary of key-value pairs that represent the intrinsic properties of the VAT return. Each key represents a name of the VAT property.Each value of the pair represents the VAT property value.") public properties: { [index: string]: string; }; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @DataContract export class ResponseError { // @DataMember(Order=1) public errorCode: string; // @DataMember(Order=2) public fieldName: string; // @DataMember(Order=3) public message: string; // @DataMember(Order=4) public meta: { [index: string]: string; }; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @DataContract export class ResponseStatus { // @DataMember(Order=1) public errorCode: string; // @DataMember(Order=2) public message: string; // @DataMember(Order=3) public stackTrace: string; // @DataMember(Order=4) public errors: ResponseError[]; // @DataMember(Order=5) public meta: { [index: string]: string; }; public constructor(init?: Partial) { (Object as any).assign(this, init); } } /** @description Represents the response from a service that generates XML content. */ // @Api(Description="Represents the response from a service that generates XML content.") export class XmlResponse { /** @description The XML-based content of the response. */ // @ApiMember(Description="The XML-based content of the response.") public content?: string; /** @description Metadata that contains structured error information on the XML response. */ // @ApiMember(Description="Metadata that contains structured error information on the XML response.") public responseStatus?: ResponseStatus; public constructor(init?: Partial) { (Object as any).assign(this, init); } } /** @description A synchronous service to create XML content that represents an annual VAT return (Umsatzsteuerjahreserklärung) from the specified dictionary (hash map) of key/value definitions. */ // @Route("/CreateE50UstXmlFromDefinition", "POST") // @Api(Description="A synchronous service to create XML content that represents an annual VAT return (Umsatzsteuerjahreserklärung) from the specified dictionary (hash map) of key/value definitions.") export class CreateE50UstXmlFromDefinition extends CreateXmlFromDefinitionBase implements IReturn, IPost { /** @description The 4-digit year of the tax assessment. */ // @ApiMember(Description="The 4-digit year of the tax assessment.") public jahr: number; /** @description Dictionary of key-value pairs that represent the intrinsic properties of the VAT return. Each key represents a name of the VAT property.Each value of the pair represents the VAT property value. */ // @ApiMember(Description="Dictionary of key-value pairs that represent the intrinsic properties of the VAT return. Each key represents a name of the VAT property.Each value of the pair represents the VAT property value.") public properties: { [index: string]: string; }; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } public getTypeName() { return 'CreateE50UstXmlFromDefinition'; } public getMethod() { return 'POST'; } public createResponse() { return new XmlResponse(); } }