/* Options: Date: 2024-11-21 03:40:43 Version: 6.00 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://resourcelibrary.api.ashcompanies.com //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: FavoritesRequest.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export class BasicResourceLibraryRequest { public resourceLibraryMemberId: number; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class Tag { public id: string; public title: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class ScreenshotItem { public largeFilepathS3: string; public thumbFilepathS3: string; public order: number; public description: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class ResourceCard { public id: string; public title: string; public description: string; public descriptionSummary: string; public type: string; public content: string; public isComplete: boolean; public isFavorite: boolean; public isImplicitlyComplete: boolean; public mediaPath: string; public isConfirmable: boolean; public isWcagCompliant: boolean; public duration: string; public preview: string; public calories: number; public instructor: string; public thumbnail: string; public difficulty: string; public tags: Tag[]; public subtitles: string; public screenshots: ScreenshotItem[]; public drmEncrypted: boolean; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class Meta { public resourceCount: number; public title: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export interface IResourceItemsLiteResponse { } export class ResourceItemsLiteResponse implements IResourceItemsLiteResponse { public resourceItems: ResourceCard[]; public meta: Meta; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/favorites", "GET,POST") export class FavoritesRequest extends BasicResourceLibraryRequest implements IReturn { /** * Set it to true if requesting saved resources only from digital library */ // @ApiMember(Description="Set it to true if requesting saved resources only from digital library") public digitalFitness: boolean; /** * Set it to true if requesting saved resources only from health library */ // @ApiMember(Description="Set it to true if requesting saved resources only from health library") public healthLibrary: boolean; /** * Set it to true if requesting saved resources only from vptr */ // @ApiMember(Description="Set it to true if requesting saved resources only from vptr") public vptr: boolean; /** * Set it to true if requesting saved resources only from wellbeing */ // @ApiMember(Description="Set it to true if requesting saved resources only from wellbeing") public wellbeing: boolean; /** * Set it to true if requesting saved resources only from health */ // @ApiMember(Description="Set it to true if requesting saved resources only from health") public health: boolean; public limit: string; public offset: string; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } public getTypeName() { return 'FavoritesRequest'; } public getMethod() { return 'GET'; } public createResponse() { return new ResourceItemsLiteResponse(); } }