import { useMutation } from '@tanstack/react-query';
import dnApi from '../utils/api';

const useCetakPdfDn = (options?: any) =>
  useMutation({
    mutationKey: ['unifikasi', 'dn', 'cetak-pdf'],
    mutationFn: async (params: any) => dnApi.cetakPdfDetail(params),
    ...options,
  });

export default useCetakPdfDn;
