/* Options: Date: 2024-07-03 12:38:36 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: DeleteFavorite.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export class CompanyQueryResponse { public Id: string; public Name: string; /** @description The organisation number will only be visible if your owner to the company */ // @ApiMember(DataType="string", Description="The organisation number will only be visible if your owner to the company") public OrganisationNumber: string; /** @description What type of company. If it's used for personal use or as a company. */ // @ApiMember(DataType="int", Description="What type of company. If it's used for personal use or as a company.") public TypeId?: number; public Details: string; public CategoryId: number; public Category: string; public LogoType: string; public CoverImage: string; public Street1: string; public Street2: string; public ZipCode: string; public City: string; public CountryId: string; public Longitude: string; public Latitude: string; public Distance?: number; public Phone: string; public Email: string; public Homepage: string; public SitePath: string; public Active: boolean; public CodeLockSystem?: CodeLockSystemType; public IsFreeAccount: boolean; /** @description Will show when the company was updated, note it will only be shown if your logged in as admin for the company. */ // @ApiMember(DataType="datetime", Description="Will show when the company was updated, note it will only be shown if your logged in as admin for the company.") public Updated?: string; /** @description Will show when the company was created, note it will only be shown if your logged in as admin for the company. */ // @ApiMember(DataType="datetime", Description="Will show when the company was created, note it will only be shown if your logged in as admin for the company.") public Created?: string; public StatusId: number; /** @description If the company is marked as favourite for the logged in user */ // @ApiMember(DataType="boolean", Description="If the company is marked as favourite for the logged in user") public IsFavorite: boolean; public BookingAgreements: string; public BookingSettings: CompanyBookingSettings; public SystemSettings: CompanySystemSettings; public WidgetSettings: CompanyWidgetSettings; public HomepageSettings: HomepageSettingsResponse; public RatingSummary: CompanyRatingSummary; public Reviews: RatingReviewResponse[]; public CustomerCustomFields: CustomFieldConfigData[]; public ResponseStatus: ResponseStatus; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class UserFavorites { public CompanyId: string; public Company: CompanyQueryResponse; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/users/favorite", "DELETE") // @ValidateRequest(Validator="IsAuthenticated") // @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) // @ApiResponse(Description="You have too low privilegies to call this service", StatusCode=403) export class DeleteFavorite implements IReturn { /** @description Id of the company */ // @ApiMember(Description="Id of the company", IsRequired=true, ParameterType="path") public CompanyId: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'DeleteFavorite'; } public getMethod() { return 'DELETE'; } public createResponse() { return new UserFavorites(); } }