u
This commit is contained in:
@@ -19,3 +19,28 @@ export async function remove(googleAuthId, id) {
|
||||
const store = await getStore();
|
||||
return store.printeragent.delete(googleAuthId, id);
|
||||
}
|
||||
|
||||
export async function findByPairingpin(pairingpin) {
|
||||
const store = await getStore();
|
||||
return store.printeragent.findByPairingpin(pairingpin);
|
||||
}
|
||||
|
||||
export async function findByToken(token) {
|
||||
const store = await getStore();
|
||||
return store.printeragent.findByToken(token);
|
||||
}
|
||||
|
||||
export async function pair(id, data) {
|
||||
const store = await getStore();
|
||||
return store.printeragent.pair(id, data);
|
||||
}
|
||||
|
||||
export async function updateState(id, clientstate) {
|
||||
const store = await getStore();
|
||||
return store.printeragent.updateState(id, clientstate);
|
||||
}
|
||||
|
||||
export async function touchLastseen(id, agentversion) {
|
||||
const store = await getStore();
|
||||
return store.printeragent.touchLastseen(id, agentversion);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user