/* Options: Date: 2026-01-24 23:28:31 Version: 8.90 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://taxfiling.staging.pwc.de //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: CheckElsterAsync.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } /** @description Represents a structure that encapsulates a tax declaration. */ // @Api(Description="Represents a structure that encapsulates a tax declaration.") export class TaxData { /** @description The unique identifier of the tax data. */ // @ApiMember(Description="The unique identifier of the tax data.", IsRequired=true) public id: string; /** @description The XML-based tax declaration. */ // @ApiMember(Description="The XML-based tax declaration.", IsRequired=true) public content: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } /** @description A base service to perform basic checks on a batch of tax data. */ // @Api(Description="A base service to perform basic checks on a batch of tax data.") export class CheckElsterBase implements IPost { /** @description The ELSTER tax data to check. */ // @ApiMember(Description="The ELSTER tax data to check.", Name="Data") public data: TaxData; 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); } } export interface IHasIndex { index: number; } /** @description Specifies a service response from an ERiC service operation. */ // @Api(Description="Specifies a service response from an ERiC service operation.") export class ServiceReponseBase implements IHasIndex { /** @description The unique identifier of the response. */ // @ApiMember(Description="The unique identifier of the response.") public id: string; /** @description The position of the response element in an indexed collection. */ // @ApiMember(Description="The position of the response element in an indexed collection.") public index: number; /** @description Metadata that contains structured error information on the service response. */ // @ApiMember(Description="Metadata that contains structured error information on the service response.") public responseStatus?: ResponseStatus; public constructor(init?: Partial) { (Object as any).assign(this, init); } } /** @description Represents a type that encapulates the state of a provided ELSTER tax data. */ // @Api(Description="Represents a type that encapulates the state of a provided ELSTER tax data.") export class ElsterCheckResponse extends ServiceReponseBase { /** @description Checks whether a portal certificate is required to sign the tax data. */ // @ApiMember(Description="Checks whether a portal certificate is required to sign the tax data.") public zertifikatErforderlich: boolean; /** @description Checks whether a Manufacturer ID has been provided for the tax data. */ // @ApiMember(Description="Checks whether a Manufacturer ID has been provided for the tax data.") public hatHerstellerId: boolean; /** @description Checks whether a data provider has been provided for the tax data. */ // @ApiMember(Description="Checks whether a data provider has been provided for the tax data.") public hatDatenlieferant: boolean; /** @description Checks whether the PDF-based transfer protocol for the tax data can be printed out for the type of tax data. */ // @ApiMember(Description="Checks whether the PDF-based transfer protocol for the tax data can be printed out for the type of tax data.") public transferProtokollDruckbar: boolean; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } /** @description An asynchronous service to perform basic checks on a batch of tax data. */ // @Route("/CheckElsterAsync", "POST") // @Api(Description="An asynchronous service to perform basic checks on a batch of tax data.") export class CheckElsterAsync extends CheckElsterBase implements IReturn { public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } public getTypeName() { return 'CheckElsterAsync'; } public getMethod() { return 'POST'; } public createResponse() { return new ElsterCheckResponse(); } }