/* Options: Date: 2026-01-25 15:45:19 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: DekodiereDatenAsync.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } /** @description Represents a base class for a file with raw data. */ // @Api(Description="Represents a base class for a file with raw data.") export class FileBase { /** @description The raw data content of the file in bytes. */ // @ApiMember(Description="The raw data content of the file in bytes.", Name="Content") public content: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } /** @description Represents a portal certificate that is protected by a password. */ // @Api(Description="Represents a portal certificate that is protected by a password.") export class PortalCertificate extends FileBase implements ISecuredCertificate { /** @description The file name of the certificate. */ // @ApiMember(Description="The file name of the certificate.") // @StringLength(128) public name: string; /** @description The password to protect the certificate from unauthorized access. */ // @StringLength(255) // @ApiMember(Description="The password to protect the certificate from unauthorized access.") public pin: string; /** @description The description of the certificate. */ // @StringLength(2147483647) // @ApiMember(Description="The description of the certificate.") public description?: string; /** @description Tags that can be used to label or identify the certificate. */ // @ApiMember(Description="Tags that can be used to label or identify the certificate.") public tags: string[] = []; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } export class Base64EingabeData implements IHasIndex { public id: string; public base64Eingabe: string; public index: number; public constructor(init?: Partial) { (Object as any).assign(this, init); } } /** @description A base service to decrypt data using a specified portal certificate. */ // @Api(Description="A base service to decrypt data using a specified portal certificate.") export class DekodiereDatenBase implements IPost { /** @description The authentification certificate. */ // @ApiMember(Description="The authentification certificate.") public zertifikat: PortalCertificate; /** @description The base-64-encrypted data that is retrieved with the 'ElsterDatenabholung' operation.It is usually located under the element /Elster/DatenTeil/Nutzdatenblock/Nutzdaten/Datenabholung/Abholung/Datenpaket of the ELSTER document. */ // @ApiMember(Description="The base-64-encrypted data that is retrieved with the 'ElsterDatenabholung' operation.It is usually located under the element /Elster/DatenTeil/Nutzdatenblock/Nutzdaten/Datenabholung/Abholung/Datenpaket of the ELSTER document.") public data: Base64EingabeData; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export interface IHasIndex { index: number; } export interface ISecuredCertificate { pin: string; } /** @description Represent a base response that encapsulate any ERiC API function return value. */ // @Api(Description="Represent a base response that encapsulate any ERiC API function return value.") export class EricFehlerCodeResponse extends ServiceReponseBase { /** @description The status code that the ERiC API function returns. */ // @ApiMember(Description="The status code that the ERiC API function returns.") public statusCode: EricFehlerCode; /** @description The status message that the ERiC API function returns. */ // @ApiMember(Description="The status message that the ERiC API function returns.") public statusText?: string; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } /** @description Represents a type that encapsulates a decoded value. */ // @Api(Description="Represents a type that encapsulates a decoded value.") export class DekodiereDatenResponse extends EricFehlerCodeResponse { /** @description The decoded value. */ // @ApiMember(Description="The decoded value.") public rueckgabe?: string; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } /** @description An asynchronous service to decrypt a batch of data using a specified portal certificate. */ // @Route("/DekodiereDatenAsync", "POST") // @Api(Description="An asynchronous service to decrypt a batch of data using a specified portal certificate.") export class DekodiereDatenAsync extends DekodiereDatenBase implements IReturn { public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } public getTypeName() { return 'DekodiereDatenAsync'; } public getMethod() { return 'POST'; } public createResponse() { return new DekodiereDatenResponse(); } }