UNPKG

@claudebernard/types

Version:

A TypeScript library for centralizing common types, interfaces, classes, and enums, particularly for API response types.

62 lines 1.93 kB
import { CBPatient } from "../interfaces/cb-patient.interface"; import { SimpleProduct } from "../interfaces/product.interface"; import { SearchFilter } from "../interfaces/search-filters.interface"; export declare class SearchRequestBody { pageNumber: number; pageSize: number; filters: { deletedProducts: boolean; dopingProducts: boolean; hospitalProducts: boolean; homeoProducts: boolean; dermatoProducts: boolean; dieteticProducts: boolean; horsAmmProducts: boolean; veterinarProducts: boolean; medicalDevicesProducts: boolean; genericProducts: boolean; accessoriesProducts: boolean; biosimilarsProducts: boolean; specialityProducts: boolean; fieldFilters: SearchFilter[]; genericAccessoriesProducts: boolean; }; categories: { products: boolean; brands: boolean; ranges: boolean; genericGroups: boolean; genericAccessoriesGroups: boolean; biosimilarGroups: boolean; companies: boolean; commonNames: boolean; molecules: boolean; indications: boolean; segments: boolean; atcclass: boolean; bcbclass: boolean; sideEffects: boolean; universes: boolean; hybridGroups: boolean; lpp: boolean; }; order: ResponseOrderBy; patient: CBPatient | null; options: { patientPriorityResult: boolean; prescriptionPriorityResult: boolean; internal: boolean; withFieldFilters: boolean; maxMonthsDeletedProducts: number; withPrecautionsForUse: boolean; facilityCode: string; }; products: SimpleProduct[]; excludeProduct: string; constructor(data: any); } export interface ResponseOrderBy { field: string; order: string; } //# sourceMappingURL=search-request-body.class.d.ts.map