/* Options: Date: 2024-04-27 23:29:45 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: CreateZmXmlFromDefinitionAsync.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } /** @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); } } /** @description Create XML content that represents a recapitulative tax return (Zusammenfassende Meldung) from the specified dictionary (hash map) of key/value definitions. */ // @Api(Description="Create XML content that represents a recapitulative tax return (Zusammenfassende Meldung) from the specified dictionary (hash map) of key/value definitions.") export class CreateZmXmlFromDefinitionBase extends CreateXmlFromDefinitionBase implements 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); } } // @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 An asynchronous service to create xml content that represents a recapitulative tax return (Zusammenfassende Meldung) from the specified dictionary (hash map) of key/value definitions. */ // @Route("/CreateZmXmlFromDefinitionAsync", "POST") // @Api(Description="An asynchronous service to create xml content that represents a recapitulative tax return (Zusammenfassende Meldung) from the specified dictionary (hash map) of key/value definitions.") export class CreateZmXmlFromDefinitionAsync extends CreateZmXmlFromDefinitionBase implements IReturn { /** @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 'CreateZmXmlFromDefinitionAsync'; } public getMethod() { return 'POST'; } public createResponse() { return new XmlResponse(); } }