(* Options:
Date: 2025-11-04 07:25:49
Version: 8.52
Tip: To override a DTO option, remove "//" prefix before updating
BaseUrl: https://taxfiling.staging.pwc.de
//GlobalNamespace: 
//MakeDataContractsExtensible: False
//AddReturnMarker: True
//AddDescriptionAsComments: True
//AddDataContractAttributes: False
//AddIndexesToDataMembers: False
//AddGeneratedCodeAttributes: False
//AddResponseStatus: False
//AddImplicitVersion: 
//ExportValueTypes: False
IncludeTypes: SearchAccounts.*
//ExcludeTypes: 
//InitializeCollections: False
//AddNamespaces: 
*)
namespace PwC.Metering.Core.Domain.Concretes.Interfaces
open System
open System.IO
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
open System.Net
    ///
    ///The number of query results to skip.
    ///
    []
    []
    type PaginationBase() = 
        ///
        ///The number of query results to skip.
        ///
        []
        member val Skip:Nullable = new Nullable() with get,set
        ///
        ///The number of query results to include.
        ///
        []
        member val Take:Nullable = new Nullable() with get,set
    ///
    ///Specifies a service to search for accounts.
    ///
    []
    []
    type SearchAccountsBase() = 
        inherit PaginationBase()
        interface IGet
        ///
        ///The unique identifier of the user account.
        ///
        []
        member val AccountId:Nullable = new Nullable() with get,set
        ///
        ///The unique identifier of the customer associated with this account.
        ///
        []
        member val CustomerId:Nullable = new Nullable() with get,set
        ///
        ///The user name of the user account.
        ///
        []
        member val UserName:String = null with get,set
        ///
        ///Search by using the user name that starts with the specified value.
        ///
        []
        member val UserNameStartsWith:String = null with get,set
        ///
        ///Search by using the user name that ends with the specified value.
        ///
        []
        member val UserNameEndsWith:String = null with get,set
        ///
        ///Search by using the user name that contains the specified value.
        ///
        []
        member val UserNameContains:String = null with get,set
        ///
        ///The display name of the user account.
        ///
        []
        member val DisplayName:String = null with get,set
        ///
        ///The e-mail address of the user account.
        ///
        []
        member val Email:String = null with get,set
        ///
        ///Search by using the e-mail address of the user account that starts with the specified value.
        ///
        []
        member val EmailStartsWith:String = null with get,set
        ///
        ///Search by using the e-mail address of the user account that ends with the specified value.
        ///
        []
        member val EmailEndsWith:String = null with get,set
        ///
        ///Search by using the e-mail address of the user account that contains the specified value.
        ///
        []
        member val EmailContains:String = null with get,set
        ///
        ///Search by using the display name that starts with the specified value.
        ///
        []
        member val DisplayNameStartsWith:String = null with get,set
        ///
        ///Search by using the display name that ends with the specified value.
        ///
        []
        member val DisplayNameEndsWith:String = null with get,set
        ///
        ///Search by using the display name that contains the specified value.
        ///
        []
        member val DisplayNameContains:String = null with get,set
        ///
        ///Search with the profile URL of the user account.
        ///
        []
        member val ProfileUrl:String = null with get,set
        ///
        ///Should the related products of the account be included in the retrieved accounts?
        ///
        []
        member val IncludeProducts:Boolean = new Boolean() with get,set
        ///
        ///Should the related orders of the account be included in the retrieved accounts?
        ///
        []
        member val IncludeOrders:Boolean = new Boolean() with get,set
        ///
        ///Specifies the number of products to skip per account. Applicable only when 'IncludeProducts' is true. 
        ///
        []
        member val SkipProducts:Nullable = new Nullable() with get,set
        ///
        ///Specifies the number of products to include per account. Applicable only when 'IncludeProducts' is true. 
        ///
        []
        member val TakeProducts:Nullable = new Nullable() with get,set
        ///
        ///Specifies the number of orders to skip per account. Applicable only when 'IncludeOrders' is true. 
        ///
        []
        member val SkipOrders:Nullable = new Nullable() with get,set
        ///
        ///Specifies the number of orders to include per account. Applicable only when 'IncludeOrders' is true. 
        ///
        []
        member val TakeOrders:Nullable = new Nullable() with get,set
    []
    type IPaginate = 
        abstract Skip:Nullable with get,set
        abstract Take:Nullable with get,set
    ///
    ///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 = null with get,set
        ///
        ///The permissions assigned to the user account.
        ///
        []
        member val Permissions:ResizeArray = null 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 = null with get,set
    ///
    /// Specifies that a data type should have a 'UserName' property.
    ///
    []
    type IHasUserName = 
        abstract UserName:String with get,set
    ///
    ///Represents a query response that contains a structured error information and encapsulates user accounts.
    ///
    []
    []
    type AccountQueryResponse() = 
        inherit QueryResponse()
        ///
        ///The dictionary of products associated to found user accounts.
        ///
        []
        member val ProductsMap:Dictionary> = null with get,set
        ///
        ///The dictionary of orders associated with each found user account.
        ///
        []
        member val OrdersMap:Dictionary> = null with get,set
    ///
    ///Represents a service to search for accounts.
    ///
    []
    []
    []
    type SearchAccounts() = 
        inherit SearchAccountsBase()
        interface IReturn