packageDocumentation module import { AesPkcs5 , Fetcher , Primitive } from "nestia-fetcher" ; import type { IConnection } from "nestia-fetcher" ; import type { IPage } from "./../../../../structures/common/IPage" ; import type { ISaleEntireArtcle } from "./../../../../structures/sales/articles/ISaleEntireArticle" ; nestia controller path export function index ( connection , section , saleId , input ) { return Fetcher . fetch ( connection , index . ENCRYPTED , index . METHOD , index . path ( section , saleId , input ) ) ; } export namespace index { export type Query = Primitive < IPage . IRequest < string > > ; export type Output = Primitive < IPage < ISaleEntireArtcle . ISummary > > ; export const METHOD = "GET" as const ; export const PATH = "/consumers/:section/sales/:saleId/entire" ; export const ENCRYPTED = { request : false , response : true , } ; export function path ( section , saleId , input ) { return `/consumers/${ section }/sales/${ saleId }/entire?${ new URLSearchParams ( input as any ) . toString ( ) }` ; } } nestia controller path export function at ( connection , section , saleId , id ) { return Fetcher . fetch ( connection , at . ENCRYPTED , at . METHOD , at . path ( section , saleId , id ) ) ; } export namespace at { export type Output = Primitive < ISaleEntireArtcle > ; export const METHOD = "GET" as const ; export const PATH = "/consumers/:section/sales/:saleId/entire/:id" ; export const ENCRYPTED = { request : false , response : true , } ; export function path ( section , saleId , id ) { return `/consumers/${ section }/sales/${ saleId }/entire/${ id }` ; } } AesPkcs5 ; Fetcher ; Primitive ;