/* Options: Date: 2025-09-13 18:32:49 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bookmore.com //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: NewsletterCustomerQuery.* //ExcludeTypes: //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.* import java.util.* import java.io.InputStream import net.servicestack.client.* @Route(Path="/newsletter/customers", Verbs="GET") @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) @ValidateRequest(Validator="IsAuthenticated") open class NewsletterCustomerQuery : IReturn, ICompany { /** * The company id, if empty will use the company id for the user you are logged in with. */ @ApiMember(Description="The company id, if empty will use the company id for the user you are logged in with.") override var CompanyId:UUID? = null /** * Search for customer has done minimum number of bookings. */ @ApiMember(Description="Search for customer has done minimum number of bookings.") open var CustomerMinBookings:Int? = null /** * Search for customer has done maximum number of bookings. */ @ApiMember(Description="Search for customer has done maximum number of bookings.") open var CustomerMaxBookings:Int? = null /** * Search for customer has booked any of the service in the list (List contain service id's). */ @ApiMember(Description="Search for customer has booked any of the service in the list (List contain service id's).") open var BookedServiceIds:ArrayList? = null /** * Search interval From datetime . */ @ApiMember(Description="Search interval From datetime .") open var From:Date? = null /** * Search interval To datetime . */ @ApiMember(Description="Search interval To datetime .") open var To:Date? = null /** * The max number of records you want to collect */ @ApiMember(Description="The max number of records you want to collect") open var MaxRecords:Int? = null /** * If you want to include the full customer information in the response */ @ApiMember(Description="If you want to include the full customer information in the response") open var IncludeCustomerInformation:Boolean? = null companion object { private val responseType = NewsletterCustomerQueryResponse::class.java } override fun getResponseType(): Any? = NewsletterCustomerQuery.responseType } open class NewsletterCustomerQueryResponse { open var Id:UUID? = null open var Customer:NewsletterCustomerInfo? = null } interface ICompany { var CompanyId:UUID? } open class NewsletterCustomerInfo { open var Id:UUID? = null open var Firstname:String? = null open var Lastname:String? = null open var Email:String? = null open var Phone:String? = null open var FacebookUserName:String? = null open var ImageUrl:Uri? = null }