/* Options: Date: 2024-12-03 18:07:27 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: CreateEAccountingArticle.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export interface ICompany { CompanyId?: string; } export class BaseArticleDto { public ArticleId: string; public ArticlePrice: number; public ArticleName: string; public CreatedDate: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class EAccountingArticleQueryResponse extends BaseArticleDto { public UnitId: string; public CodingId: string; public VatRate: string; public VatRatePercent: string; public CurrencySign: string; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } // @Route("/eaccounting/articles", "POST") export class CreateEAccountingArticle extends BaseArticleDto implements IReturn, ICompany { public ServiceId: number; public CompanyId?: string; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } public getTypeName() { return 'CreateEAccountingArticle'; } public getMethod() { return 'POST'; } public createResponse() { return new EAccountingArticleQueryResponse(); } }