import { getStore } from './store.js'; import { requireSelectedCompanyAdmin } from './companyuser.js'; export async function list(googleAuthId) { const store = await getStore(); return store.numbers.list(googleAuthId); } export async function update(googleAuthId, id, input) { await requireSelectedCompanyAdmin(googleAuthId); const store = await getStore(); return store.numbers.update(googleAuthId, id, input); }