godcrm/backend/services/google-calendar/index.js
GOD CRM Release f89e074dd1
Some checks failed
CI / Lint / Typecheck / Test / Build (push) Has been cancelled
CI / PostgreSQL Integration Tests (push) Has been cancelled
GOD CRM — public scrubbed snapshot
Governed substrate for autonomous agents: scoped identity (passports),
audited actions, MCP workspace. Infra IPs and secrets redacted for public release.
2026-08-10 04:01:45 +03:00

33 lines
1.2 KiB
JavaScript

/**
* Google Calendar — barrel re-export
*
* Maintains backward compatibility: any import from the old
* GoogleCalendarService.js will resolve to the same named exports.
*/
export { generateBaseId } from './helpers.js';
export { getAuthUrl, handleCallback, getOAuth2Client, getConnectionStatus, disconnectCalendar } from './auth.js';
export { listCalendars, listEvents, createEvent, updateEvent, deleteEvent, mapGoogleEventToCrm, mapCrmToGoogleEvent } from './operations.js';
export { syncFromGoogle, syncToGoogle, fullSync, syncAllAccounts } from './sync.js';
// Default export for `import GoogleCalendarService from '...'` style
import { getAuthUrl, handleCallback, getOAuth2Client, getConnectionStatus, disconnectCalendar } from './auth.js';
import { listCalendars, listEvents, createEvent, updateEvent, deleteEvent } from './operations.js';
import { syncFromGoogle, syncToGoogle, fullSync, syncAllAccounts } from './sync.js';
export default {
getAuthUrl,
handleCallback,
getOAuth2Client,
listCalendars,
listEvents,
createEvent,
updateEvent,
deleteEvent,
syncFromGoogle,
syncToGoogle,
fullSync,
syncAllAccounts,
getConnectionStatus,
disconnectCalendar,
};