This commit is contained in:
seb
2026-09-30 09:47:59 +02:00
parent 1de802fbaa
commit 82cc138ba6
15 changed files with 624 additions and 11 deletions

View File

@@ -40,7 +40,48 @@ export async function findByPairingpin(pairingpin) {
return store.posterminal.findByPairingpin(pairingpin);
}
export async function findByToken(token) {
const store = await getStore();
return store.posterminal.findByToken(token);
}
export async function pair(id, data) {
const store = await getStore();
return store.posterminal.pair(id, data);
}
export async function getProductCount(params) {
const store = await getStore();
return store.posterminal.getProductCount(params);
}
export async function getCategoryCount(params) {
const store = await getStore();
return store.posterminal.getCategoryCount(params);
}
export async function getCustomerCount(params) {
const store = await getStore();
return store.posterminal.getCustomerCount(params);
}
export async function getCustomerGroupCount(params) {
const store = await getStore();
return store.posterminal.getCustomerGroupCount(params);
}
export async function getCompositeProductCount(params) {
const store = await getStore();
return store.posterminal.getCompositeProductCount(params);
}
export async function getDeletedEntityCount(params) {
const store = await getStore();
return store.posterminal.getDeletedEntityCount(params);
}
export async function getMaxOrderIdCount(params) {
const store = await getStore();
return store.posterminal.getMaxOrderIdCount(params);
}