/* Options: Date: 2024-09-30 10:30:33 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: NewsletterCustomerQuery.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export interface ICompany { CompanyId?: string; } export class NewsletterCustomerInfo { public Id: string; public Firstname: string; public Lastname: string; public Email: string; public Phone: string; public FacebookUserName: string; public ImageUrl: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class NewsletterCustomerQueryResponse { public Id: string; public Customer: NewsletterCustomerInfo; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/newsletter/customers", "GET") // @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) // @ValidateRequest(Validator="IsAuthenticated") export class NewsletterCustomerQuery implements IReturn, ICompany { /** @description 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.") public CompanyId?: string; /** @description Search for customer has done minimum number of bookings. */ // @ApiMember(Description="Search for customer has done minimum number of bookings.") public CustomerMinBookings?: number; /** @description Search for customer has done maximum number of bookings. */ // @ApiMember(Description="Search for customer has done maximum number of bookings.") public CustomerMaxBookings?: number; /** @description 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).") public BookedServiceIds: number[]; /** @description Search interval From datetime . */ // @ApiMember(Description="Search interval From datetime .") public From?: string; /** @description Search interval To datetime . */ // @ApiMember(Description="Search interval To datetime .") public To?: string; /** @description The max number of records you want to collect */ // @ApiMember(Description="The max number of records you want to collect") public MaxRecords?: number; /** @description 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") public IncludeCustomerInformation: boolean; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'NewsletterCustomerQuery'; } public getMethod() { return 'GET'; } public createResponse() { return new NewsletterCustomerQueryResponse(); } }