(* Options: Date: 2024-10-18 06:15:21 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: SearchCustomersAsync.* //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 [] 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 = 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 /// ///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 customers. /// [] [] type SearchCustomersBase() = inherit PaginationBase() interface IGet /// ///The unique identifier of the customer. /// [] member val CustomerId:Nullable = new Nullable() with get,set /// ///The name of the customer. /// [] member val Name:String = null with get,set /// ///Search by using the name of the customer that starts with the specified value. /// [] member val NameStartsWith:String = null with get,set /// ///Search by using the name of the customer that ends with the specified value. /// [] member val NameEndsWith:String = null with get,set /// ///Search by using the name of the customer that contains the specified value. /// [] member val NameContains:String = null with get,set /// ///The country of residence or headquarters of customer. /// [] member val Country:String = null with get,set /// ///Search by using the country of the customer that starts with the specified value. /// [] member val CountryStartsWith:String = null with get,set /// ///Search by using the country of the customer that ends with the specified value. /// [] member val CountryEndsWith:String = null with get,set /// ///Search by using the country of the customer that contains the specified value. /// [] member val CountryContains:String = null with get,set /// ///The type of customer. /// [] member val Type:Nullable = new Nullable() with get,set /// ///Should related accounts be included in the retrieved customers? /// [] member val IncludeAccounts:Nullable = new Nullable() with get,set /// ///Specifies the number of products to skip per customer. Applicable only when 'IncludeAccounts' is true. /// [] member val SkipAccounts:Nullable = new Nullable() with get,set /// ///Specifies the number of products to include per customer. Applicable only when 'IncludeAccounts' is true. /// [] member val TakeAccounts:Nullable = new Nullable() with get,set /// ///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 /// ///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 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 query response that contains a structured error information and encapsulates customers. /// [] [] type CustomerQueryResponse() = inherit QueryResponse() [] member val Offset:Int32 = new Int32() with get,set [] member val Total:Int32 = new Int32() with get,set [] member val Results:ResizeArray = new ResizeArray() with get,set [] member val Meta:Dictionary = new Dictionary() with get,set [] member val ResponseStatus:ResponseStatus = null with get,set /// ///Represents a service request to query customer data in an asynchronous operation. /// [] [] [] type SearchCustomersAsync() = inherit SearchCustomersBase() interface IReturn /// ///The unique identifier of the customer. /// [] member val CustomerId:Nullable = new Nullable() with get,set /// ///The name of the customer. /// [] member val Name:String = null with get,set /// ///Search by using the name of the customer that starts with the specified value. /// [] member val NameStartsWith:String = null with get,set /// ///Search by using the name of the customer that ends with the specified value. /// [] member val NameEndsWith:String = null with get,set /// ///Search by using the name of the customer that contains the specified value. /// [] member val NameContains:String = null with get,set /// ///The country of residence or headquarters of customer. /// [] member val Country:String = null with get,set /// ///Search by using the country of the customer that starts with the specified value. /// [] member val CountryStartsWith:String = null with get,set /// ///Search by using the country of the customer that ends with the specified value. /// [] member val CountryEndsWith:String = null with get,set /// ///Search by using the country of the customer that contains the specified value. /// [] member val CountryContains:String = null with get,set /// ///The type of customer. /// [] member val Type:Nullable = new Nullable() with get,set /// ///Should related accounts be included in the retrieved customers? /// [] member val IncludeAccounts:Nullable = new Nullable() with get,set /// ///Specifies the number of products to skip per customer. Applicable only when 'IncludeAccounts' is true. /// [] member val SkipAccounts:Nullable = new Nullable() with get,set /// ///Specifies the number of products to include per customer. Applicable only when 'IncludeAccounts' is true. /// [] member val TakeAccounts:Nullable = new Nullable() with get,set /// ///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