/* Options: Date: 2024-11-21 11:50:58 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: GDPRInactiveCustomerQuery.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export interface ICompany { CompanyId?: string; } export class InactiveCustomerInfo { 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 InactiveCustomerResponse { public Id: string; public Customer: InactiveCustomerInfo; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/gdpr/customers/inactive", "GET") // @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) // @ValidateRequest(Validator="IsAuthenticated") export class GDPRInactiveCustomerQuery 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 Inactive customers since the date. Inactive means they haven't done any bookings since that date. */ // @ApiMember(Description="Inactive customers since the date. Inactive means they haven't done any bookings since that date.", IsRequired=true) public InactiveSince: string; /** @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 'GDPRInactiveCustomerQuery'; } public getMethod() { return 'GET'; } public createResponse() { return new InactiveCustomerResponse(); } }