UNPKG

cloudhospital.react.sdk

Version:
56 lines (55 loc) 3.67 kB
import { RestException } from '@models/exceptions'; import { DoctorAffiliationsApiApiV2DoctoraffiliationsGetRequest, DoctorAffiliationsApiApiV2DoctoraffiliationsIdGetRequest, DoctorAffiliationsApiApiV2DoctoraffiliationsSlugGetRequest } from 'ch-api-client-typescript2/lib/api/doctor-affiliations-api'; import { DoctorAffiliationModel } from 'ch-api-client-typescript2/lib/models/doctor-affiliation-model'; import { DoctorAffiliationsModel } from 'ch-api-client-typescript2/lib/models/doctor-affiliations-model'; import { SWRMutationConfiguration } from 'swr/mutation'; export declare const getDoctorAffiliationsSWR: (operationName: string | undefined, payload: DoctorAffiliationsApiApiV2DoctoraffiliationsGetRequest, shouldFetch?: boolean) => { data: DoctorAffiliationsModel | undefined; error: RestException | undefined; mutate: import("swr/_internal").KeyedMutator<DoctorAffiliationsModel>; isValidating: boolean; isLoading: boolean; }; export declare const getDoctorAffiliationsSWRMutation: (operationName?: string, config?: SWRMutationConfiguration<DoctorAffiliationsModel, RestException, undefined, string>) => { data: DoctorAffiliationsModel | undefined; error: RestException | undefined; trigger: import("swr/mutation").TriggerWithArgs<DoctorAffiliationsModel, RestException, any, DoctorAffiliationsApiApiV2DoctoraffiliationsGetRequest>; reset: () => void; isMutating: boolean; }; export declare const getDoctorAffiliationsSWRInfinite: (operationName: string | undefined, payload: DoctorAffiliationsApiApiV2DoctoraffiliationsGetRequest, shouldFetch?: boolean) => { data: DoctorAffiliationsModel | undefined; isValidating: boolean; isLoading: boolean; error: RestException | undefined; setSize: (size: number | ((_size: number) => number)) => Promise<DoctorAffiliationsModel[] | undefined>; mutate: import("swr/_internal").KeyedMutator<DoctorAffiliationsModel[]>; }; export declare const getDoctorAffiliationByIdSWR: (operationName: string | undefined, payload: DoctorAffiliationsApiApiV2DoctoraffiliationsIdGetRequest, shouldFetch?: boolean) => { data: DoctorAffiliationModel | undefined; error: RestException | undefined; mutate: import("swr/_internal").KeyedMutator<DoctorAffiliationModel>; isValidating: boolean; isLoading: boolean; }; export declare const getDoctorAffiliationByIdSWRMutation: (operationName?: string, config?: SWRMutationConfiguration<DoctorAffiliationModel, RestException, undefined, string>) => { data: DoctorAffiliationModel | undefined; error: RestException | undefined; trigger: import("swr/mutation").TriggerWithArgs<DoctorAffiliationModel, RestException, any, DoctorAffiliationsApiApiV2DoctoraffiliationsIdGetRequest>; reset: () => void; isMutating: boolean; }; export declare const getDoctorAffiliationBySlugSWR: (operationName: string | undefined, payload: DoctorAffiliationsApiApiV2DoctoraffiliationsSlugGetRequest, shouldFetch?: boolean) => { data: DoctorAffiliationModel | undefined; error: RestException | undefined; mutate: import("swr/_internal").KeyedMutator<DoctorAffiliationModel>; isValidating: boolean; isLoading: boolean; }; export declare const getDoctorAffiliationBySlugSWRMutation: (operationName?: string, config?: SWRMutationConfiguration<DoctorAffiliationModel, RestException, undefined, string>) => { data: DoctorAffiliationModel | undefined; error: RestException | undefined; trigger: import("swr/mutation").TriggerWithArgs<DoctorAffiliationModel, RestException, any, DoctorAffiliationsApiApiV2DoctoraffiliationsSlugGetRequest>; reset: () => void; isMutating: boolean; };