- Add CompanySetting routes (list, get, set) backed by company-scoped store - Add Number routes (list, update) for managing number sequences - Register new store namespaces for numbers and companysetting - Add CompanySetting and NumberSequence schemas to OpenAPI - Regenerate API docs and index for the new routes
12 lines
319 B
JavaScript
12 lines
319 B
JavaScript
import { getStore } from './store.js';
|
|
|
|
export async function list(googleAuthId) {
|
|
const store = await getStore();
|
|
return store.numbers.list(googleAuthId);
|
|
}
|
|
|
|
export async function update(googleAuthId, id, input) {
|
|
const store = await getStore();
|
|
return store.numbers.update(googleAuthId, id, input);
|
|
}
|