u
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user