const appRootKey = 'unifikasi';

const queryKey = {
  getKodeObjekPajak: (params: any) => [appRootKey, 'kode-objek-pajak', params],
  faktuPK: {
    all: (params: any) => [appRootKey, 'fakturPk', params],
    detail: (params: any) => [appRootKey, 'dlk', 'detail', params],
    uangMukaDetail: (nomor: string) => ['fakturPK', 'uangMukaDetail', nomor],
    draft: [appRootKey, 'fakturPk', 'draft'],
    delete: [appRootKey, 'fakturPk', 'delete'],
    upload: [appRootKey, 'fakturPk', 'upload'],
    cancel: [appRootKey, 'fakturPk', 'cancel'],
    cetakPdf: (params: any) => [appRootKey, 'fakturPk-cetak-pdf', params],
  },
};

export default queryKey;
