/* Options: Date: 2024-11-21 02:30:46 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: CategoryRequest.* //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 ActivityItem { public name: string; public id: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class SeriesItem { public id: string; public title: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class AltMediaPaths { public webm: string; public ogv: string; public mp4Low: string; public mp4High: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class ResourceItem extends ResourceCard { public content: string; public credit: string; public references: string; public disclaimer: string; public headerImage: string; public origin: string; public originId: string; public tags: Tag[]; public categories: Category[]; public index: number; public activityLevel: string; public activityDetails: string; public transcript: string; public isArchived: boolean; public activities: ActivityItem[]; public seriesItems: SeriesItem[]; public videoId: string; public focus: string; public series: string; public seriesUrl: string; public category: string; public equipments: string[]; public durationRange: string; public providerName: string; public uploadDate: string; public completionDate?: string; public level: string; public bodyFocus: string; public altMediaPaths: AltMediaPaths; public subtitles: string; public drmEncrypted: boolean; public screenshots: ScreenshotItem[]; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } export class SubTopic { public id: string; public title: string; public resourceCount: number; public resourceItems: ResourceItem[]; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class Category { public id: string; public subtopicItems: SubTopic[]; public resourceItems: ResourceItem[]; public title: string; public isVisible: string; public resourceCount: number; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/categories/{CategoryId}", "GET") export class CategoryRequest extends BasicResourceLibraryRequest implements IReturn { public includeCompletionStatus: boolean; public categoryId: string; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } public getTypeName() { return 'CategoryRequest'; } public getMethod() { return 'GET'; } public createResponse() { return new Category(); } }