(* Options: Date: 2024-12-22 11:06:45 Version: 8.12 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: UpdateCustomerAsync.* //ExcludeTypes: //InitializeCollections: True //AddNamespaces: *) namespace PwC.Metering.Core.Domain.Concretes.Interfaces open System open System.Collections open System.Collections.Generic open System.Runtime.Serialization open ServiceStack open ServiceStack.DataAnnotations open System.Net /// ///Represents a user account. /// [] [] type Account() = /// ///The unique identifier of the user account. /// [] member val Id:Int32 = new Int32() with get,set /// ///The position of this instance in a collection of 'Account' instances /// [] member val Index:Int32 = new Int32() with get,set /// ///The unique identifier of the customer associated with this account. /// [] member val RefId:Nullable = new Nullable() with get,set /// ///The string representation of the unique identifier of a reference that associates with this user account. This should have the same value as 'RefId'. /// [] member val RefIdStr:String = null with get,set /// ///The unique user name of the user account. /// [] member val UserName:String = null with get,set /// ///The electronic mail address of the user account. /// [] member val Email:String = null with get,set /// ///The friendly name of the user account. /// [] member val DisplayName:String = null with get,set /// ///The first name of the owner (natural person) of the user account. /// [] member val FirstName:String = null with get,set /// ///The last name of the owner (natural person) of the user account. /// [] member val LastName:String = null with get,set /// ///The unique identifier of the customer associated with this account. /// [] member val FullName:String = null with get,set /// ///The gender of the owner (natural person) of the user account. /// [] member val Gender:String = null with get,set /// ///The language of the owner of teh user account. /// [] member val Language:String = null with get,set /// ///The company, where the user is an employee. /// [] member val Company:String = null with get,set /// ///The profile URL of the user account. /// [] member val ProfileUrl:String = null with get,set /// ///The roles assigned to the user account. /// [] member val Roles:ResizeArray = new ResizeArray() with get,set /// ///The permissions assigned to the user account. /// [] member val Permissions:ResizeArray = new ResizeArray() with get,set /// ///The primary e-mail address of the user. /// [] member val PrimaryEmail:String = null with get,set /// ///Random data to enhance the security of the user password. /// [] member val Salt:String = null with get,set /// ///The hash value of the user password that the PBKDF2 algorithm produces. /// [] member val PasswordHash:String = null with get,set /// ///The hash value of the user password that the DigestHa1 algorithm produces. /// [] member val DigestHa1Hash:String = null with get,set /// ///The number of times the user account tried to sign in but failed. /// [] member val InvalidLoginAttempts:Int32 = new Int32() with get,set /// ///The last time the user account attempted a sign in. /// [] member val LastLoginAttempt:Nullable = new Nullable() with get,set /// ///The date and time when the user acount was denied access. /// [] member val LockedDate:Nullable = new Nullable() with get,set /// ///The date and time when the user account was created. /// [] member val CreatedDate:DateTime = new DateTime() with get,set /// ///The date and time when the user account was last modified. /// [] member val ModifiedDate:DateTime = new DateTime() with get,set /// ///The telephone number of the owner of the user account. /// [] member val PhoneNumber:String = null with get,set /// ///The birth date of the owner of the user account /// [] member val BirthDate:Nullable = new Nullable() with get,set /// ///The string representation of the birth date of the user account. /// [] member val BirthDateRaw:String = null with get,set /// ///The mail address of the user account. /// [] member val Address:String = null with get,set /// ///Additional information for the specified 'Address' of the user. /// [] member val Address2:String = null with get,set /// ///The city of the owner of the user account. /// [] member val City:String = null with get,set /// ///The state of the owner of the user account. /// [] member val State:String = null with get,set /// ///The country of the owner of the user account. It is recommended to use the name of the associated 'Customer'. /// [] member val Country:String = null with get,set /// ///The locale of the user account. /// [] member val Culture:String = null with get,set /// ///The mail address of the user account. /// [] member val MailAddress:String = null with get,set /// ///The nickname of the user of the user account. /// [] member val Nickname:String = null with get,set /// ///The postal code of the user account. /// [] member val PostalCode:String = null with get,set /// ///The time zone of the user of the user account. /// [] member val TimeZone:String = null with get,set /// ///Additional information to attach to the user account. /// [] member val Meta:Dictionary = new Dictionary() with get,set type CustomerType = | Internal = 0 | Network = 1 | External = 2 /// ///Represents a customer (business organization or entrepreneur). /// [] [] type Customer() = /// ///The unique identifier of the customer. /// [] member val Id:Int32 = new Int32() with get,set /// ///The position of this instance in a collection of 'Customer' instances /// [] member val Index:Int32 = new Int32() with get,set /// ///Full name or organization name of customer. /// [] [] member val Name:String = null with get,set /// ///The country of residence or business of customer. /// [] member val Country:String = null with get,set /// ///The type of customer. /// [] member val Type:CustomerType = new CustomerType() with get,set /// ///The list of user accounts associated with this customer. /// [] [] member val Accounts:ResizeArray = new ResizeArray() with get,set /// ///Specifies a service request to update product data. /// [] [] type UpdateCustomerBase() = interface IPut /// ///The unique identifier of the customer. /// [] member val Id:Int32 = new Int32() with get,set /// ///The name of the customer. /// [] member val Name:String = null with get,set /// ///The country of residence or headquarters of the customer. /// [] member val Country:String = null with get,set /// ///The type of customer. /// [] member val CustomerType:Nullable = new Nullable() with get,set /// ///Accounts the customer holds. /// [] member val Accounts:ResizeArray = new ResizeArray() with get,set /// ///Specifies a base service response class that contains a structured error information. /// [] [] type ServiceResponseBase() = /// ///Data structure that holds error information from a service operation. /// [] member val ResponseStatus:ResponseStatus = null with get,set /// /// Specifies that a data type should have a 'UserName' property. /// [] type IHasUserName = abstract UserName:String with get,set /// /// Specifies that a data type should have a 'Name' property. /// [] type IHasName = /// ///The 'Name' property. /// abstract Name:String with get,set /// ///Represents a response from a service operation that encapsulates customer data. /// [] [] type CustomerResponse() = inherit ServiceResponseBase() /// ///The customer data of the response. /// [] member val Customer:Customer = null with get,set /// ///The index position of the reponse in a collection, if it were returned together with other responses. /// [] member val Index:Int64 = new Int64() with get,set /// ///Data structure that holds error information from a service operation. /// [] member val ResponseStatus:ResponseStatus = null with get,set /// ///Represents a service request to update product data in an asynchronous operation. /// [] [] [] type UpdateCustomerAsync() = inherit UpdateCustomerBase() interface IReturn /// ///The unique identifier of the customer. /// [] member val Id:Int32 = new Int32() with get,set /// ///The name of the customer. /// [] member val Name:String = null with get,set /// ///The country of residence or headquarters of the customer. /// [] member val Country:String = null with get,set /// ///The type of customer. /// [] member val CustomerType:Nullable = new Nullable() with get,set /// ///Accounts the customer holds. /// [] member val Accounts:ResizeArray = new ResizeArray() with get,set