account view endpoint added

This commit was merged in pull request #9.
This commit is contained in:
victorAnumudu
2025-09-22 15:37:51 +01:00
parent f33a945384
commit 584225e08b
6 changed files with 76 additions and 20 deletions
+15 -1
View File
@@ -98,9 +98,23 @@ export const getUsers = (reqData) => {
return getAuxEnd(`/users`, postData)
}
// FUNCTION TO GET PRODUCTS TEMPLATE DATA
export const getProductsTemplate = (reqData) => {
const postData = { ...reqData }
return getAuxEnd(`/products-template`, postData)
}
// FUNCTION TO GET CUSTOM TEMPLATE DATA
export const getCustomTemplate = (reqData) => {
const postData = { ...reqData }
return getAuxEnd(`/custom-template`, postData)
}
// FUNCTION TO VIEW SELECTED ACCOUNT DATA
export const getAccountView = (reqData) => {
const postData = { ...reqData }
return getAuxEnd(`/account-view`, postData)
}