/* Options: Date: 2026-01-25 14:24:06 Version: 8.90 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://taxfiling.staging.pwc.de //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetPortalCertificatePinStatus.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; /** * Represents a base class for a file with raw data. */ // @Api(Description="Represents a base class for a file with raw data.") abstract class FileBase { /** * The raw data content of the file in bytes. */ // @ApiMember(Description="The raw data content of the file in bytes.", Name="Content") Uint8List? content; FileBase({this.content}); FileBase.fromJson(Map json) { fromMap(json); } fromMap(Map json) { content = JsonConverters.fromJson(json['content'],'Uint8List',context!); return this; } Map toJson() => { 'content': JsonConverters.toJson(content,'Uint8List',context!) }; getTypeName() => "FileBase"; TypeContext? context = _ctx; } /** * Represents a portal certificate that is protected by a password. */ // @Api(Description="Represents a portal certificate that is protected by a password.") class PortalCertificate extends FileBase implements ISecuredCertificate, IConvertible { /** * The file name of the certificate. */ // @ApiMember(Description="The file name of the certificate.") // @StringLength(128) String? name; /** * The password to protect the certificate from unauthorized access. */ // @StringLength(255) // @ApiMember(Description="The password to protect the certificate from unauthorized access.") String? pin; /** * The description of the certificate. */ // @StringLength(2147483647) // @ApiMember(Description="The description of the certificate.") 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.") List? tags = []; PortalCertificate({this.name,this.pin,this.description,this.tags}); PortalCertificate.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); name = json['name']; pin = json['pin']; description = json['description']; tags = JsonConverters.fromJson(json['tags'],'List',context!); return this; } Map toJson() => super.toJson()..addAll({ 'name': name, 'pin': pin, 'description': description, 'tags': JsonConverters.toJson(tags,'List',context!) }); getTypeName() => "PortalCertificate"; TypeContext? context = _ctx; } /** * Represents the key type for a password-protected area. */ enum EricKeyType { eSIGNATURE_KEY, eENCRYPTION_KEY, } /** * A base service to get the PIN status of a password-protected portal certificate. */ // @Api(Description="A base service to get the PIN status of a password-protected portal certificate.") abstract class GetPortalCertificatePinStatusBase implements IPost { /** * The portal certificate, whose PIN status is determined. */ // @ApiMember(Description="The portal certificate, whose PIN status is determined.") PortalCertificate? zertifikat; /** * The option for the selection of the key-pair. */ // @ApiMember(Description="The option for the selection of the key-pair.") EricKeyType? keyType; GetPortalCertificatePinStatusBase({this.zertifikat,this.keyType}); GetPortalCertificatePinStatusBase.fromJson(Map json) { fromMap(json); } fromMap(Map json) { zertifikat = JsonConverters.fromJson(json['zertifikat'],'PortalCertificate',context!); keyType = JsonConverters.fromJson(json['keyType'],'EricKeyType',context!); return this; } Map toJson() => { 'zertifikat': JsonConverters.toJson(zertifikat,'PortalCertificate',context!), 'keyType': JsonConverters.toJson(keyType,'EricKeyType',context!) }; getTypeName() => "GetPortalCertificatePinStatusBase"; TypeContext? context = _ctx; } /** * Represents the PIN status. */ enum EricPinStatus { STATUS_PIN_OK, STATUS_PIN_LOCKED, STATUS_PREVIOUS_PIN_ERROR, STATUS_LOCKED_IF_PIN_ERROR, } abstract class ISecuredCertificate { String? pin; } /** * 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.") class EricFehlerCodeResponse extends ServiceReponseBase implements IConvertible { /** * The status code that the ERiC API function returns. */ // @ApiMember(Description="The status code that the ERiC API function returns.") EricFehlerCode? statusCode; /** * The status message that the ERiC API function returns. */ // @ApiMember(Description="The status message that the ERiC API function returns.") String? statusText; EricFehlerCodeResponse({this.statusCode,this.statusText}); EricFehlerCodeResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); statusCode = JsonConverters.fromJson(json['statusCode'],'EricFehlerCode',context!); statusText = json['statusText']; return this; } Map toJson() => super.toJson()..addAll({ 'statusCode': JsonConverters.toJson(statusCode,'EricFehlerCode',context!), 'statusText': statusText }); getTypeName() => "EricFehlerCodeResponse"; TypeContext? context = _ctx; } /** * Represents a type that encapsulates the return values of the ERiC API function that obtains the PIN status of a given certificate. */ // @Api(Description="Represents a type that encapsulates the return values of the ERiC API function that obtains the PIN status of a given certificate.") class GetPinStatusResponse extends EricFehlerCodeResponse implements IConvertible { /** * The PIN status of the provided certificate. */ // @ApiMember(Description="The PIN status of the provided certificate.", Name="PinStatus") EricPinStatus? pinStatus; GetPinStatusResponse({this.pinStatus}); GetPinStatusResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); pinStatus = JsonConverters.fromJson(json['pinStatus'],'EricPinStatus',context!); return this; } Map toJson() => super.toJson()..addAll({ 'pinStatus': JsonConverters.toJson(pinStatus,'EricPinStatus',context!) }); getTypeName() => "GetPinStatusResponse"; TypeContext? context = _ctx; } /** * A synchronous service to get the PIN status of a password-protected portal certificate. */ // @Route("/GetPortalCertificatePinStatus", "POST") // @Api(Description="A synchronous service to get the PIN status of a password-protected portal certificate.") class GetPortalCertificatePinStatus extends GetPortalCertificatePinStatusBase implements IReturn, IConvertible, IPost { GetPortalCertificatePinStatus(); GetPortalCertificatePinStatus.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); createResponse() => GetPinStatusResponse(); getResponseTypeName() => "GetPinStatusResponse"; getTypeName() => "GetPortalCertificatePinStatus"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'taxfiling.staging.pwc.de', types: { 'FileBase': TypeInfo(TypeOf.AbstractClass), 'Uint8List': TypeInfo(TypeOf.Class, create:() => Uint8List(0)), 'PortalCertificate': TypeInfo(TypeOf.Class, create:() => PortalCertificate()), 'EricKeyType': TypeInfo(TypeOf.Enum, enumValues:EricKeyType.values), 'GetPortalCertificatePinStatusBase': TypeInfo(TypeOf.AbstractClass), 'EricPinStatus': TypeInfo(TypeOf.Enum, enumValues:EricPinStatus.values), 'ISecuredCertificate': TypeInfo(TypeOf.Interface), 'EricFehlerCodeResponse': TypeInfo(TypeOf.Class, create:() => EricFehlerCodeResponse()), 'EricFehlerCode': TypeInfo(TypeOf.Class, create:() => EricFehlerCode()), 'GetPinStatusResponse': TypeInfo(TypeOf.Class, create:() => GetPinStatusResponse()), 'GetPortalCertificatePinStatus': TypeInfo(TypeOf.Class, create:() => GetPortalCertificatePinStatus()), });