import { UnwrapServiceResult , ServiceClient } from '@mds-core/mds-service-helpers' ; import { JurisdictionServiceProvider } from '../service/provider' ; import { JurisdictionService } from '../@types' ; const { start , stop , ... service } = JurisdictionServiceProvider ; export const JurisdictionServiceClient = { createJurisdiction : UnwrapServiceResult ( service . createJurisdiction ) , createJurisdictions : UnwrapServiceResult ( service . createJurisdictions ) , deleteJurisdiction : UnwrapServiceResult ( service . deleteJurisdiction ) , getJurisdiction : UnwrapServiceResult ( service . getJurisdiction ) , getJurisdictions : UnwrapServiceResult ( service . getJurisdictions ) , updateJurisdiction : UnwrapServiceResult ( service . updateJurisdiction ) } ;