UNPKG

cloudhospital.react.sdk

Version:
18 lines (17 loc) 1.15 kB
import { RestException } from '@models/exceptions'; import { PatientsApiApiV2PatientsAffiliationsHospitalIdDeleteRequest, PatientsApiApiV2PatientsAffiliationsHospitalIdPostRequest } from 'ch-api-client-typescript2/lib/api/patients-api'; import { SWRMutationConfiguration } from 'swr/mutation'; export declare const postPatientAffiliationSWRMutation: (operationName?: string, config?: SWRMutationConfiguration<boolean, RestException, undefined, string>) => { data: boolean | undefined; error: RestException | undefined; trigger: import("swr/mutation").TriggerWithArgs<boolean, RestException, any, PatientsApiApiV2PatientsAffiliationsHospitalIdPostRequest>; reset: () => void; isMutating: boolean; }; export declare const deletePatientAffiliationSWRMutation: (operationName?: string, config?: SWRMutationConfiguration<boolean, RestException, undefined, string>) => { data: boolean | undefined; error: RestException | undefined; trigger: import("swr/mutation").TriggerWithArgs<boolean, RestException, any, PatientsApiApiV2PatientsAffiliationsHospitalIdDeleteRequest>; reset: () => void; isMutating: boolean; };