(* Options:
Date: 2024-11-26 01:47:46
Version: 6.110
Tip: To override a DTO option, remove "//" prefix before updating
BaseUrl: https://reportfiling.staging.pwc.de
//GlobalNamespace:
//MakeDataContractsExtensible: False
//AddReturnMarker: True
//AddDescriptionAsComments: True
//AddDataContractAttributes: False
//AddIndexesToDataMembers: False
//AddGeneratedCodeAttributes: False
//AddResponseStatus: False
//AddImplicitVersion:
//ExportValueTypes: False
IncludeTypes: UpdateElmaCredential.*
//ExcludeTypes:
//InitializeCollections: True
//AddNamespaces:
*)
namespace PwC.Elmaas.Core.Domain.Concretes.Models
open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
open System.Xml.Schema
open System.Net
///
///Represents a PEM-encoded certificate.
///
[]
[]
type PemCertificate() =
///
///The unique identifier (e.g. the file name) of the certificate.
///
[]
member val Id:String = null with get,set
///
///The PEM-encoded content of the certificate.
///
[]
member val Content:String = null with get,set
///
///The description of the certificate.
///
[]
member val Description:String = null with get,set
///
///Tags to label or identify the certificate.
///
[]
member val Tags:ResizeArray = new ResizeArray() with get,set
///
///Represents the credentials of a user to authenticate the access of an ELMA server.
///
[]
[]
type ElmaCredential() =
///
///The unique identifier of this instance. This identifer is only relevant in the context of data storage and retrieval.
///
[]
member val Id:String = null with get,set
///
///The security certificate to authenticate the user and grant access to the ELMA server. This certificate is generated from the BZSt-issued *.pfx BOP certificate. More details on BOP (BZSt-Online Portal - https://www.elster.de/bportal/start)
///
[]
[]
[]
member val Certificate:PemCertificate = null with get,set
///
///The BZSt (Bundeszentralamt für Steuern) - tax number of the user. 11-character text field that may only consist of two capital letters and 9 digits (0-9). The fiscal authority BZSt provides this number during registration at the BOP (BZSt-Online Portal - https://www.elster.de/bportal/start). The number is available in the private area of the BOP user account under "My BOP" under the "Registration Information"
///
[]
[]
[]
member val AuthSteuernummer:String = null with get,set
///
///The account identifier of a BZSt-Online Portal (BOP) user. 10-character text field that may only contain numbers (0-9).
///
[]
[]
[]
member val AccountId:String = null with get,set
///
///The password to protect the certificate from unauthorized access.
///
[]
member val Password:String = null with get,set
///
///Specfies a service to update an ELMA credential.
///
[]
[]
type UpdateElmaCredentialBase() =
interface IPost
///
///The encrypted password-protected certificate to authenticate the user and grant access to the ELMA server. This certificate is generated from the BZSt-issued *.pfx BOP certificate.More details on BOP (BZSt-Online Portal - https://www.elster.de/bportal/start)
///
[]
member val Certificate:PemCertificate = null with get,set
///
///The BZSt (Bundeszentralamt für Steuern) - tax number of the user. 11-character text field that may only consist of two capital letters and 9 digits (0-9). The fiscal authority BZSt provides this number during registration at the BOP (BZSt-Online Portal - https://www.elster.de/bportal/start). The number is available in the private area of the BOP user account under "My BOP" under the "Registration Information"
///
[]
member val AuthSteuernummer:String = null with get,set
///
///The account identifier of a BZSt-Online Portal (BOP) user. 10-character text field that may only contain numbers (0-9).
///
[]
member val AccountId:String = null with get,set
///
///The current password that protects the certificate from unauthorized access.
///
[]
member val CurrentPassword:String = null with get,set
///
///The new password to protect the certificate from unauthorized access.
///
[]
member val NewPassword:String = null with get,set
///
///The XML-encoded RSA public key to encrypt the password of the credential. Note: Only the owner of the key pair (public and private encryption keys) can decrypt the encrypted password with the private key! Encryption algorithm: RSA with OAEP-SHA256 padding.
///
[]
member val PublicKeyXml:String = null with get,set
[]
type IElmaCredential =
abstract Certificate:PemCertificate with get,set
abstract AuthSteuernummer:String with get,set
abstract AccountId:String with get,set
abstract Password:String with get,set
///
///Represents a service response that encapsulates an ELMA credential. The password of the ELMA credential in this response is encrypted and can only be decrypted by the owner of the private key.
///
[]
[]
type ElmaCredentialResponse() =
///
///The unique identifier of the response.
///
[]
member val Id:String = null with get,set
///
///The encapsulated ELMA credential.
///
[]
member val Credential:ElmaCredential = null with get,set
///
///The status of the response.
///
[]
member val ResponseStatus:ResponseStatus = null with get,set
///
///Represents a service to update an ELMA credential.
///
[]
[]
[]
type UpdateElmaCredential() =
inherit UpdateElmaCredentialBase()
interface IReturn