/* Options: Date: 2026-06-30 21:33:14 Version: 10.05 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bookmore.com //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ReorderHomepageImages.* //ExcludeTypes: //DefaultImports: */ // @ts-nocheck export interface IReturn { createResponse(): T; } export interface ICompany { CompanyId?: string; } // @DataContract export class ResponseError { // @DataMember(Order=1) public ErrorCode: string; // @DataMember(Order=2) public FieldName: string; // @DataMember(Order=3) public Message: string; // @DataMember(Order=4) public Meta?: { [index:string]: string; }; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @DataContract export class ResponseStatus { // @DataMember(Order=1) public ErrorCode: string; // @DataMember(Order=2) public Message?: string; // @DataMember(Order=3) public StackTrace?: string; // @DataMember(Order=4) public Errors?: ResponseError[]; // @DataMember(Order=5) public Meta?: { [index:string]: string; }; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @DataContract export class QueryResponse { // @DataMember(Order=1) public Offset: number; // @DataMember(Order=2) public Total: number; // @DataMember(Order=3) public Results: T[] = []; // @DataMember(Order=4) public Meta?: { [index:string]: string; }; // @DataMember(Order=5) public ResponseStatus?: ResponseStatus; public constructor(init?: Partial>) { (Object as any).assign(this, init); } } export class HomepageImageQueryResponse { /** @description The company id. */ // @ApiMember(Description="The company id.") public CompanyId: string; /** @description The homepage image id. */ // @ApiMember(Description="The homepage image id.") public Id: number; /** @description The image title. */ // @ApiMember(Description="The image title.") public Title: string; /** @description The image description. */ // @ApiMember(Description="The image description.") public Description: string; /** @description The image url. */ // @ApiMember(Description="The image url.") public ImageUrl: string; /** @description The display order (ascending). Lower values appear first. */ // @ApiMember(Description="The display order (ascending). Lower values appear first.") public SortOrder: number; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/homepage/images/order", "PUT") // @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) // @ApiResponse(Description="You have too low privilegies to call this service", StatusCode=403) // @ValidateRequest(Validator="IsAuthenticated") export class ReorderHomepageImages implements IReturn>, ICompany { /** @description Enter the company id, if blank and you are an admin, your company id will be used. */ // @ApiMember(Description="Enter the company id, if blank and you are an admin, your company id will be used.", IsRequired=true) public CompanyId: string; /** @description The homepage image ids in the desired display order (position = SortOrder). */ // @ApiMember(Description="The homepage image ids in the desired display order (position = SortOrder).", IsRequired=true) public Ids: number[] = []; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'ReorderHomepageImages'; } public getMethod() { return 'PUT'; } public createResponse() { return new QueryResponse(); } }