/* Options: Date: 2024-06-17 07:52:04 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://testapi.bokamera.se //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: EAccountingUpdatePricesMapping.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export interface ICompany { CompanyId?: string; } export class ServicePriceMapping { /** @description The id */ // @ApiMember(Description="The id") public Id?: string; /** @description The price id */ // @ApiMember(Description="The price id") public PriceId: number; /** @description The Reference Type */ // @ApiMember(Description="The Reference Type") public ReferenceType: string; /** @description The external reference; Values for e-accounting; EAccountingCustomerId, EAccountingArticle, EAccountingInvoice, EAccountingDraftInvoice */ // @ApiMember(Description="The external reference; Values for e-accounting; EAccountingCustomerId, EAccountingArticle, EAccountingInvoice, EAccountingDraftInvoice") public ExternalReference: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class ServicePriceMappingResponse { /** @description The company id */ // @ApiMember(Description="The company id") public CompanyId: string; public Id: string; /** @description The price id */ // @ApiMember(Description="The price id") public PriceId: number; /** @description The external reference */ // @ApiMember(Description="The external reference") public ExternalReference: string; /** @description The Reference Type */ // @ApiMember(Description="The Reference Type") public ReferenceType: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/eaccounting/article/mappings", "PUT") // @ValidateRequest(Validator="IsAuthenticated") export class EAccountingUpdatePricesMapping implements IReturn, ICompany { public ServicePriceMappings: ServicePriceMapping[]; /** @description Company to show services for */ // @ApiMember(Description="Company to show services for") public CompanyId?: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'EAccountingUpdatePricesMapping'; } public getMethod() { return 'PUT'; } public createResponse() { return new ServicePriceMappingResponse(); } }