/* Options: Date: 2024-11-21 16:53:44 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: UpdateServicePricesMapping.* //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("/services/prices/mappings", "PUT") // @ValidateRequest(Validator="IsAuthenticated") export class UpdateServicePricesMapping implements IReturn, ICompany { /** @description Company to show services for */ // @ApiMember(Description="Company to show services for") public CompanyId?: string; public ServicePriceMappings: ServicePriceMapping[]; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'UpdateServicePricesMapping'; } public getMethod() { return 'PUT'; } public createResponse() { return new ServicePriceMappingResponse(); } }