Created Cally

This commit is contained in:
NPS Agent
2026-05-21 15:49:36 +10:00
parent 98cf813f00
commit be26e8b78d
12 changed files with 772 additions and 3 deletions
+10
View File
@@ -208,6 +208,16 @@ class ApiService {
return data;
}
async getSchedule(startDate, endDate) {
return this.request(`/calendar/schedule?start_date=${startDate}&end_date=${endDate}`);
}
async triggerSync() {
const data = await this.request('/calendar/sync', { method: 'POST' });
this.notify();
return data;
}
async addAudit(auditData) {
const data = await this.request('/audit', {
method: 'POST',