export const appRootKey = 'bupot-21-26';
export const bulanan = 'bulanan';
export const bupotfinal = 'bupot-final-tidak-final'

const queryKey = {
  getKodeObjekPajak: (params: any) => [appRootKey, 'kode-objek-pajak', params],
  bulanan: {
    all: (params: any) => [appRootKey, bulanan, params],
    detail: (params: any) => [appRootKey, bulanan, 'detail', params],
    draft: [appRootKey, bulanan, 'draft'],
    delete: [appRootKey, bulanan, 'delete'],
    upload: [appRootKey, bulanan, 'upload'],
    cancel: [appRootKey, bulanan, 'cancel'],
    cetakPdf: (params: any) => [appRootKey, bulanan,'cetak-pdf', params],
  },
  bupotfinal: {
    all: (params: any) => [appRootKey, bupotfinal, params],
    detail: (params: any) => [appRootKey, bupotfinal, 'detail', params],
    draft: [appRootKey, bupotfinal, 'draft'],
    delete: [appRootKey, bupotfinal, 'delete'],
    upload: [appRootKey, bupotfinal, 'upload'],
    cancel: [appRootKey, bupotfinal, 'cancel'],
    cetakPdf: (params: any) => [appRootKey, bupotfinal,'cetak-pdf', params],
  },
};

export default queryKey;
