(* Options:
Date: 2026-02-04 11:06:02
Version: 8.90
Tip: To override a DTO option, remove "//" prefix before updating
BaseUrl: https://taxfiling.pwc.de
//GlobalNamespace:
//MakeDataContractsExtensible: False
//AddReturnMarker: True
//AddDescriptionAsComments: True
//AddDataContractAttributes: False
//AddIndexesToDataMembers: False
//AddGeneratedCodeAttributes: False
//AddResponseStatus: False
//AddImplicitVersion:
//ExportValueTypes: False
IncludeTypes: HoleClientSideZertifikatEigenschaftenAsync.*
//ExcludeTypes:
//InitializeCollections: False
//AddNamespaces:
*)
namespace PwC.DigitalHub.Utilities.Domain.IO.Contracts
open System
open System.IO
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
open System.Net
///
///Represents a base class for a file with raw data.
///
[]
[]
type FileBase() =
///
///The raw data content of the file in bytes.
///
[]
member val Content:Byte[] = null with get,set
///
///Represents information about a file or directory.
///
[]
[]
type FileMetadata() =
///
///The name of the file.For files, gets the name of the file.For directories, gets the name of the last directory in the hierarchy if a hierarchy exists; otherwise, the name of the directory.
///
[]
member val Name:String = null with get,set
///
///The full path of the directory or file.
///
[]
member val FullName:String = null with get,set
///
///The time the current file or directory was last accessed.
///
[]
member val LastAccessTime:DateTime = new DateTime() with get,set
///
///The name of the file.
///
[]
member val LastAccessTimeUtc:DateTime = new DateTime() with get,set
///
///The time when the current file or directory was last written to.
///
[]
member val LastWriteTime:DateTime = new DateTime() with get,set
///
///The time, in coordinated universal time (UTC), when the current file or directory was last written to.
///
[]
member val LastWriteTimeUtc:DateTime = new DateTime() with get,set
///
///The size, in bytes, of the current file.
///
[]
member val Length:Int64 = new Int64() with get,set
///
///The size, in bytes, of the current file.
///
[]
member val UserId:Int32 = new Int32() with get,set
///
///The file group id.
///
[]
member val GroupId:Int32 = new Int32() with get,set
///
///A value that indicates whether the others can read from this file.
///
[]
member val OthersCanRead:Boolean = new Boolean() with get,set
///
///A value that indicates whether the group members can execute this file.
///
[]
member val GroupCanExecute:Boolean = new Boolean() with get,set
///
///A value that indicates whether the group members can write into this file.
///
[]
member val GroupCanWrite:Boolean = new Boolean() with get,set
///
///A value that indicates whether the group members can read from this file.
///
[]
member val GroupCanRead:Boolean = new Boolean() with get,set
///
///A value that indicates whether the owner can execute this file.
///
[]
member val OwnerCanExecute:Boolean = new Boolean() with get,set
///
///A value that indicates whether the owner can write into this file.
///
[]
member val OwnerCanWrite:Boolean = new Boolean() with get,set
///
///A value that indicates whether the owner can read from this file.
///
[]
member val OwnerCanRead:Boolean = new Boolean() with get,set
///
///A value that indicates whether others can read from this file.
///
[]
member val OthersCanExecute:Boolean = new Boolean() with get,set
///
///A value that indicates whether others can write into this file.
///
[]
member val OthersCanWrite:Boolean = new Boolean() with get,set
///
///Extensions to the file attributes.
///
[]
member val Extensions:Dictionary = null with get,set
///
///Represents a generic file that contains raw data content in bytes
///
[]
[]
type BinaryFile() =
inherit FileBase()
///
///The attributes of the file.
///
[]
member val Metadata:FileMetadata = null with get,set
///
///The name of the file without information on its directory path.
///
[]
member val Name:String = null with get,set
///
///Represents a client-side generated certificate that is protected by a password.
///
[]
[]
type ClientSideCertificate() =
///
///The friendly name of the certificate.
///
[]
member val Name:String = null with get,set
///
///The password to protect the certificate from unauthorized access.
///
[]
[]
member val Pin:String = null with get,set
///
///The file that contains the private key. Access is protected by the PIN.
///
[]
member val PrivateKeyFile:BinaryFile = null with get,set
///
///The file that contains the certificate data and public key.
///
[]
member val PublicKeyFile:BinaryFile = null with get,set
///
///Contains the checksum of the files PublicKeyFile and PrivateKeyFile.
///
[]
member val ChecksumFile:BinaryFile = null with get,set
///
///The description for the certificate.
///
[]
[]
member val Description:String = null with get,set
///
///The tags that can be used to label or identify the certificate.
///
[]
member val Tags:ResizeArray = null with get,set
///
///A base service to get the properties of a specified client-side certificate.
///
[]
[]
type HoleClientSideZertifikatEigenschaftenBase() =
interface IPost
///
///The client-side certificate. Access is protected by a PIN.
///
[]
member val Zertifikat:ClientSideCertificate = null with get,set
///
///Represent issuer details of a certificate.
///
[]
[]
type Info() =
///
///The name of the issuer detail.
///
[]
member val Name:String = null with get,set
///
///The value of the issuer detail.
///
[]
member val Wert:String = null with get,set
///
///Represents an issuer of certificates.
///
[]
[]
type Issuer() =
///
///Details about the issuer of certificates.
///
[]
member val Infos:ResizeArray = null with get,set
///
///Represents the subject of the certificate.
///
[]
[]
type Subjekt() =
///
///Details about the subject of the certificate.
///
[]
member val Infos:ResizeArray = null with get,set
///
///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.
///
type Identifikationsmerkmaltyp =
| Unbekannt = 0
| Steuernummer = 1
| Identifikationsnummer = 2
| BZStNummer = 3
| Bearbeiternummer = 4
| Clienterzeugt = 5
///
///Represents a type of registrar. Contains informatiom on the type of person or organization, for which a certificate is issued. Often 'Person' or 'Organisation'.
///
type Registrierertyp =
| Unbekannt = 0
| Person = 1
| Organisation = 2
| Rechteverwalter = 3
| BZStInland = 4
| BZStAusland = 5
| BZStKevizz = 6
///
///Represents a type of verification. Contains information on the verification of a person or organisation by an issuer of certificates.
///
type VerifikationsartTyp =
| Unbekannt = 0
| Postweg = 1
| Neuerpersonalausweis = 2
///
///Represents a type of token.Contains information about the type of token used to create a certificate.
///
type TokenTyp =
| Unbekannt = 0
| Software = 1
| Stick = 2
| Karte = 3
| Ausweis = 4
///
///Represents the characteristics of a certificate.
///
[]
[]
type Zertifikateigenschaften() =
///
///The start validity date of the certificate.
///
[]
member val AusgestelltAm:Nullable = new Nullable() with get,set
///
///The expiry date of the certificate.
///
[]
member val GueltigBis:Nullable = new Nullable() with get,set
///
///The signing algorithm and Object Identifier (for more information on OIDs, please see 'http://www.oid-info.com/')
///
[]
member val Signaturalgorithmus:String = null with get,set
///
///The MD5-hash of the public key.
///
[]
member val PublicKeyMD5:String = null with get,set
///
///The SHA1-hash of the public key.
///
[]
member val PublicKeySHA1:String = null with get,set
///
///The key length of the public key in units of bits. For example '2048 bits'
///
[]
member val PublicKeyBitLength:Int32 = new Int32() with get,set
///
///The issuer of the certificate.
///
[]
member val Issuer:Issuer = null with get,set
///
///The subject of the certificate.
///
[]
member val Subjekt:Subjekt = null with get,set
///
///The identification characteristics of the certificate.
///
[]
member val Identifikationsmerkmaltyp:Identifikationsmerkmaltyp = new Identifikationsmerkmaltyp() with get,set
///
///The type of registrar, to which the key is issued.
///
[]
member val Registrierertyp:Nullable = new Nullable() with get,set
///
///The type of verification conducted for the person or organisation, to which the certificate is issued.
///
[]
member val Verifikationsart:Nullable = new Nullable() with get,set
///
///The type of token used to create the certificate.
///
[]
member val TokenTyp:TokenTyp = new TokenTyp() with get,set
///
///Is the certificate is a test certificate? True if it is a test certificate; otherwise false.
///
[]
member val Testzertifikat:Nullable = new Nullable() with get,set
///
///Represents a list of properties for a specified certificate.
///
[]
[]
type EricHoleZertifikatEigenschaften() =
///
///The properties of the certificate used for signing. These are not available for client-side certificates.
///
[]
member val Signaturzertifikateigenschaften:Zertifikateigenschaften = null with get,set
///
///The properties of certificates used for encryption.
///
[]
member val Verschluesselungszertifikateigenschaften:Zertifikateigenschaften = null with get,set
[]
type ISecuredCertificate =
abstract Pin:String with get,set
[]
type IFileMetadata =
abstract Name:String with get,set
abstract FullName:String with get,set
abstract LastAccessTime:DateTime with get,set
abstract LastAccessTimeUtc:DateTime with get,set
abstract LastWriteTime:DateTime with get,set
abstract LastWriteTimeUtc:DateTime with get,set
abstract Length:Int64 with get,set
abstract UserId:Int32 with get,set
abstract GroupId:Int32 with get,set
abstract GroupCanExecute:Boolean with get,set
abstract GroupCanWrite:Boolean with get,set
abstract GroupCanRead:Boolean with get,set
abstract OwnerCanRead:Boolean with get,set
abstract OwnerCanExecute:Boolean with get,set
abstract OwnerCanWrite:Boolean with get,set
abstract OthersCanRead:Boolean with get,set
abstract OthersCanExecute:Boolean with get,set
abstract OthersCanWrite:Boolean with get,set
abstract Extensions:Dictionary with get,set
///
///Represent a base response that encapsulate any ERiC API function return value.
///
[]
[]
type EricFehlerCodeResponse() =
inherit ServiceReponseBase()
///
///The status code that the ERiC API function returns.
///
[]
member val StatusCode:EricFehlerCode = new EricFehlerCode() with get,set
///
///The status message that the ERiC API function returns.
///
[]
member val StatusText:String = null with get,set
///
///Represents a type that encapsulates the return values of the ERiC API function, which retrieves the details of a certificate.
///
[]
[]
type HoleZertifikatEigenschaftenResponse() =
inherit EricFehlerCodeResponse()
///
///The list of test fiscal authoririties.
///
[]
member val Rueckgabe:EricHoleZertifikatEigenschaften = null with get,set
///
///An asynchronous service to get the properties of specified client-side certificate.
///
[]
[]
[]
type HoleClientSideZertifikatEigenschaftenAsync() =
inherit HoleClientSideZertifikatEigenschaftenBase()
interface IReturn