/* Options: Date: 2026-01-25 01:41:18 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: HolePortalZertifikatEigenschaften.* //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 properties of a specified portal certificate. */ // @Api(Description="A base service to get the properties of a specified portal certificate.") export class HolePortalZertifikatEigenschaftenBase implements IPost { /** @description The portal certificate. */ // @ApiMember(Description="The portal certificate.", Name="Zertifikat") public zertifikat: PortalCertificate; public constructor(init?: Partial) { (Object as any).assign(this, init); } } /** @description Represent issuer details of a certificate. */ // @Api(Description="Represent issuer details of a certificate.") export class Info { /** @description The name of the issuer detail. */ // @ApiMember(Description="The name of the issuer detail.") public name?: string; /** @description The value of the issuer detail. */ // @ApiMember(Description="The value of the issuer detail.") public wert?: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } /** @description Represents an issuer of certificates. */ // @Api(Description="Represents an issuer of certificates.") export class Issuer { /** @description Details about the issuer of certificates. */ // @ApiMember(Description="Details about the issuer of certificates.") public infos: Info[] = []; public constructor(init?: Partial) { (Object as any).assign(this, init); } } /** @description Represents the subject of the certificate. */ // @Api(Description="Represents the subject of the certificate.") export class Subjekt { /** @description Details about the subject of the certificate. */ // @ApiMember(Description="Details about the subject of the certificate.") public infos: Info[] = []; public constructor(init?: Partial) { (Object as any).assign(this, init); } } /** @description Represents a type of Identification characteristic. Identification marker that was specified when the certificate was generated. For portal certificates usually tax number or identification number. */ export enum Identifikationsmerkmaltyp { Unbekannt = 'Unbekannt', Steuernummer = 'Steuernummer', Identifikationsnummer = 'Identifikationsnummer', BZStNummer = 'BZStNummer', Bearbeiternummer = 'Bearbeiternummer', Clienterzeugt = 'Clienterzeugt', } /** @description Represents a type of registrar. Contains informatiom on the type of person or organization, for which a certificate is issued. Often 'Person' or 'Organisation'. */ export enum Registrierertyp { Unbekannt = 'Unbekannt', Person = 'Person', Organisation = 'Organisation', Rechteverwalter = 'Rechteverwalter', BZStInland = 'BZStInland', BZStAusland = 'BZStAusland', BZStKevizz = 'BZStKevizz', } /** @description Represents a type of verification. Contains information on the verification of a person or organisation by an issuer of certificates. */ export enum VerifikationsartTyp { Unbekannt = 'Unbekannt', Postweg = 'Postweg', Neuerpersonalausweis = 'Neuerpersonalausweis', } /** @description Represents a type of token.Contains information about the type of token used to create a certificate. */ export enum TokenTyp { Unbekannt = 'Unbekannt', Software = 'Software', Stick = 'Stick', Karte = 'Karte', Ausweis = 'Ausweis', } /** @description Represents the characteristics of a certificate. */ // @Api(Description="Represents the characteristics of a certificate.") export class Zertifikateigenschaften { /** @description The start validity date of the certificate. */ // @ApiMember(Description="The start validity date of the certificate.") public ausgestelltAm?: string; /** @description The expiry date of the certificate. */ // @ApiMember(Description="The expiry date of the certificate.") public gueltigBis?: string; /** @description The signing algorithm and Object Identifier (for more information on OIDs, please see 'http://www.oid-info.com/') */ // @ApiMember(Description="The signing algorithm and Object Identifier (for more information on OIDs, please see 'http://www.oid-info.com/')") public signaturalgorithmus?: string; /** @description The MD5-hash of the public key. */ // @ApiMember(Description="The MD5-hash of the public key.") public publicKeyMD5?: string; /** @description The SHA1-hash of the public key. */ // @ApiMember(Description="The SHA1-hash of the public key.") public publicKeySHA1?: string; /** @description The key length of the public key in units of bits. For example '2048 bits' */ // @ApiMember(Description="The key length of the public key in units of bits. For example '2048 bits'") public publicKeyBitLength: number; /** @description The issuer of the certificate. */ // @ApiMember(Description="The issuer of the certificate.") public issuer?: Issuer; /** @description The subject of the certificate. */ // @ApiMember(Description="The subject of the certificate.") public subjekt?: Subjekt; /** @description The identification characteristics of the certificate. */ // @ApiMember(Description="The identification characteristics of the certificate.") public identifikationsmerkmaltyp: Identifikationsmerkmaltyp; /** @description The type of registrar, to which the key is issued. */ // @ApiMember(Description="The type of registrar, to which the key is issued.") public registrierertyp?: Registrierertyp; /** @description The type of verification conducted for the person or organisation, to which the certificate is issued. */ // @ApiMember(Description="The type of verification conducted for the person or organisation, to which the certificate is issued.") public verifikationsart?: VerifikationsartTyp; /** @description The type of token used to create the certificate. */ // @ApiMember(Description="The type of token used to create the certificate.") public tokenTyp: TokenTyp; /** @description Is the certificate is a test certificate? True if it is a test certificate; otherwise false. */ // @ApiMember(Description="Is the certificate is a test certificate? True if it is a test certificate; otherwise false.") public testzertifikat?: boolean; public constructor(init?: Partial) { (Object as any).assign(this, init); } } /** @description Represents a list of properties for a specified certificate. */ // @Api(Description="Represents a list of properties for a specified certificate.") export class EricHoleZertifikatEigenschaften { /** @description The properties of the certificate used for signing. These are not available for client-side certificates. */ // @ApiMember(Description="The properties of the certificate used for signing. These are not available for client-side certificates.") public signaturzertifikateigenschaften?: Zertifikateigenschaften; /** @description The properties of certificates used for encryption. */ // @ApiMember(Description="The properties of certificates used for encryption.") public verschluesselungszertifikateigenschaften?: Zertifikateigenschaften; 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, which retrieves the details of a certificate. */ // @Api(Description="Represents a type that encapsulates the return values of the ERiC API function, which retrieves the details of a certificate.") export class HoleZertifikatEigenschaftenResponse extends EricFehlerCodeResponse { /** @description The list of test fiscal authoririties. */ // @ApiMember(Description="The list of test fiscal authoririties.") public rueckgabe?: EricHoleZertifikatEigenschaften; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } /** @description A synchronous service to get the properties of a specified portal certificate. */ // @Route("/HolePortalZertifikatEigenschaften", "POST") // @Api(Description="A synchronous service to get the properties of a specified portal certificate.") export class HolePortalZertifikatEigenschaften extends HolePortalZertifikatEigenschaftenBase implements IReturn { public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } public getTypeName() { return 'HolePortalZertifikatEigenschaften'; } public getMethod() { return 'POST'; } public createResponse() { return new HoleZertifikatEigenschaftenResponse(); } }