/* Options: Date: 2024-12-23 12:06:36 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://consumer-api.brovs.com //GlobalNamespace: ConsumerApi //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetNewsRequest.* //ExcludeTypes: //DefaultImports: */ export module ConsumerApi { // @ts-nocheck export interface IReturn { createResponse(): T; } export interface IGet { } export class NewsDto { public subject: string; public body: string; public author: string; public createdAt?: string|null; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class GetNewsResponse { public news: NewsDto[]; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/news", "GET") export class GetNewsRequest implements IReturn, IGet { public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'GetNewsRequest'; } public getMethod() { return 'GET'; } public createResponse() { return new GetNewsResponse(); } } }