import express from "express" ; import * as nest from "@nestjs/common" ; import { EncryptedBody , EncryptedRoute , TypedParam } from "nestia-helper" ; import { SaleInquiriesController } from "../../base/SaleInquiriesController" ; import { ISaleInquiry } from "@api/structures/sales/articles/ISaleInquiry" ; export abstract class ConsumerSaleInquiriesController < Request extends ISaleInquiry . IRequest , Summary extends ISaleInquiry . ISummary , Content extends ISaleInquiry . IContent , Store extends ISaleInquiry . IStore > extends SaleInquiriesController < Request , Summary , Content > { param request param section param saleId param input return throw throw @ EncryptedRoute . Post ( ) public async store ( @ nest . Request ( ) request , @ TypedParam ( "section" , "string" ) section , @ TypedParam ( "saleId" , "number" ) saleId , @ EncryptedBody ( ) input ) { return null ! ; } param request param section param saleId param id param input return throw throw throw @ EncryptedRoute . Post ( ":id" ) public async update ( @ nest . Request ( ) request , @ TypedParam ( "section" , "string" ) section , @ TypedParam ( "saleId" , "number" ) saleId , @ TypedParam ( "id" , "number" ) id , @ EncryptedBody ( ) input ) { return null ! ; } param request param section param saleId param id return throw throw throw @ nest . Delete ( ":id" ) public async remove ( @ nest . Request ( ) request , @ TypedParam ( "section" , "string" ) section , @ TypedParam ( "saleId" , "number" ) saleId , @ TypedParam ( "id" , "number" ) id ) { request ; section ; saleId ; id ; } }