UNPKG

cloudhospital.react.sdk

Version:
43 lines (42 loc) 2.79 kB
import { RestException } from '@models/exceptions'; import { DoctorsApiApiV2DoctorsDoctorIdPortfoliosGetRequest, DoctorsApiApiV2DoctorsDoctorIdPortfoliosPortfolioIdGetRequest } from 'ch-api-client-typescript2/lib/api/doctors-api'; import { DoctorPortfolioModel } from 'ch-api-client-typescript2/lib/models/doctor-portfolio-model'; import { DoctorPortfoliosModel } from 'ch-api-client-typescript2/lib/models/doctor-portfolios-model'; import { SWRConfiguration } from 'swr'; import { SWRMutationConfiguration } from 'swr/mutation'; export declare const getDoctorPortfoliosSWR: (operationName: string | undefined, payload: DoctorsApiApiV2DoctorsDoctorIdPortfoliosGetRequest, shouldFetch?: boolean) => { data: DoctorPortfoliosModel | undefined; error: RestException | undefined; mutate: import("swr/_internal").KeyedMutator<DoctorPortfoliosModel>; isValidating: boolean; isLoading: boolean; }; export declare const getDoctorPortfoliosMutation: (operationName?: string, config?: SWRMutationConfiguration<DoctorPortfoliosModel, RestException, undefined, string>) => { data: DoctorPortfoliosModel | undefined; error: RestException | undefined; trigger: import("swr/mutation").TriggerWithArgs<DoctorPortfoliosModel, RestException, any, DoctorsApiApiV2DoctorsDoctorIdPortfoliosGetRequest>; reset: () => void; isMutating: boolean; }; export declare const getDoctorPortfoliosInfinite: (operationName?: string, payload?: DoctorsApiApiV2DoctorsDoctorIdPortfoliosGetRequest, shouldFetch?: boolean) => { data: DoctorPortfoliosModel | undefined; isValidating: boolean; isLoading: boolean; error: RestException | undefined; setSize: (size: number | ((_size: number) => number)) => Promise<DoctorPortfoliosModel[] | undefined>; mutate: import("swr/_internal").KeyedMutator<DoctorPortfoliosModel[]>; }; export declare const getDoctorPortfolioByPortfolioIdSWR: (operationName: string | undefined, payload: DoctorsApiApiV2DoctorsDoctorIdPortfoliosPortfolioIdGetRequest, shouldFetch?: boolean, config?: SWRConfiguration<DoctorPortfolioModel, RestException>) => { data: DoctorPortfolioModel | undefined; error: RestException | undefined; mutate: import("swr/_internal").KeyedMutator<DoctorPortfolioModel>; isValidating: boolean; isLoading: boolean; }; export declare const getDoctorPortfolioByPortfolioIdSWRMutation: (operationName?: string, config?: SWRMutationConfiguration<DoctorPortfolioModel, RestException, undefined, string>) => { data: DoctorPortfolioModel | undefined; error: RestException | undefined; trigger: import("swr/mutation").TriggerWithArgs<DoctorPortfolioModel, RestException, any, DoctorsApiApiV2DoctorsDoctorIdPortfoliosPortfolioIdGetRequest>; reset: () => void; isMutating: boolean; };