/* Options: Date: 2026-01-25 12:37:56 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: GetPortalCertificatePublicKeyAsync.* //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); } } /** @description A base service to get the public key of a password-protected portal certificate. */ // @Api(Description="A base service to get the public key of a password-protected portal certificate.") export class GetPortalCertificatePublicKeyBase implements IPost { /** @description The portal certificate. */ // @ApiMember(Description="The portal certificate.") public zertifikat: PortalCertificate; public constructor(init?: Partial) { (Object as any).assign(this, init); } } 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 the return values of the ERiC API function that retrieves the public key of a given certificate. */ // @Api(Description="Represents a type that encapsulates the return values of the ERiC API function that retrieves the public key of a given certificate.") export class GetPublicKeyResponse extends EricFehlerCodeResponse { /** @description The public key of a given certificate. */ // @ApiMember(Description="The public key of a given certificate.") public rueckgabe?: string; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } /** @description An asynchronous service to get the public key of the provided portal certificate. */ // @Route("/GetPortalCertificatePublicKeyAsync", "POST") // @Api(Description="An asynchronous service to get the public key of the provided portal certificate.") export class GetPortalCertificatePublicKeyAsync extends GetPortalCertificatePublicKeyBase implements IReturn { public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } public getTypeName() { return 'GetPortalCertificatePublicKeyAsync'; } public getMethod() { return 'POST'; } public createResponse() { return new GetPublicKeyResponse(); } }