autessa.connectors.googleCalendar
9 methods in the connectors.googleCalendar namespace.
autessa.connectors.googleCalendar.allREAD
autessa.connectors.googleCalendar.all({ pageSize, pageToken })List every Google Calendar connector you can access in your current company.
List every Google Calendar connector you can access in your current company. Takes no arguments and returns each connector you have at least READ access to. Use a connector's connectorId with the other Google Calendar connector methods. Stored credentials are never included.
Request fields
- Name
pageSize- Type
- number
- Description
- Name
pageToken- Type
- string
- Description
Response fields
- Name
connectors- Type
- GoogleCalendarConnectorDto[]
- Description
- Name
nextPageToken- Type
- string
- Description
autessa.connectors.googleCalendar.deleteMUTATE
autessa.connectors.googleCalendar.delete({ connectorId })Permanently delete a Google Calendar connector and its stored credential.
Permanently delete a Google Calendar connector and its stored credential. Removes the connector for connectorId, revoking every tool and script that relied on it. The stored credential is destroyed and cannot be recovered — reconnecting requires the full OAuth flow again. Restricted to the connector's owner. High-risk and irreversible.
Request fields
- Name
connectorId- Type
- string
- Description
Response fields
- Name
message- Type
- string
- Description
autessa.connectors.googleCalendar.getREAD
autessa.connectors.googleCalendar.get({ connectorId })Fetch one Google Calendar connector by id.
Fetch one Google Calendar connector by id. Returns the full connector for connectorId — including its linked account, calendars, and sharing and active state — but never the stored credential. Fails if you lack READ access to the connector.
Request fields
- Name
connectorId- Type
- string
- Description
Response fields
- Name
connector- Type
- GoogleCalendarConnectorDto
- Description
autessa.connectors.googleCalendar.getSharingDetailsREAD
autessa.connectors.googleCalendar.getSharingDetails({ connectorId })Read the current sharing configuration of a Google Calendar connector.
Read the current sharing configuration of a Google Calendar connector. Returns how the connector is shared — the overall sharingLevel, the companyPermissionLevel granted for COMPANY sharing, the explicit sharedWith members, and your own userAccessLevel. Use it before share to see the current state. Requires at least READ access.
Request fields
- Name
connectorId- Type
- string
- Description
Response fields
- Name
sharingLevel- Type
- "PRIVATE" | "SPECIFIC_MEMBER" | "COMPANY"
- Description
- Name
companyPermissionLevel- Type
- "READ" | "WRITE" | "PUBLISH" | "ADMIN"
- Description
- Name
sharedWith- Type
- UserShareWrapper[]
- Description
- Name
userAccessLevel- Type
- "READ" | "WRITE" | "PUBLISH" | "ADMIN"
- Description
autessa.connectors.googleCalendar.syncCalendarsMUTATE
autessa.connectors.googleCalendar.syncCalendars({ connectorId })Re-sync a Google Calendar connector's calendar list from the Google Calendar API.
Fetches the current calendars from the Google Calendar API and updates the connector's stored metadata, picking up calendars added or removed on the Google side since the last sync. Use this before viewAvailableCalendars or updateAvailableCalendars when the linked account's calendars may have changed. Requires WRITE access.
Request fields
- Name
connectorId- Type
- string
- Description
Response fields
- Name
message- Type
- string
- Description
- Name
syncPerformed- Type
- boolean
- Description
autessa.connectors.googleCalendar.updateMUTATE
autessa.connectors.googleCalendar.update({ connectorId, connectorName, isActive })Rename a Google Calendar connector or toggle whether it is active.
Rename a Google Calendar connector or toggle whether it is active. Applies a sparse patch to the connector for connectorId — send connectorName to rename it, send isActive to enable or disable it. Omit a field to leave it unchanged. Does not touch the stored credential or sharing. Requires WRITE access.
Request fields
- Name
connectorId- Type
- string
- Description
- Name
connectorName- Type
- string
- Description
- Name
isActive- Type
- boolean
- Description
Response fields
- Name
message- Type
- string
- Description
- Name
connector- Type
- GoogleCalendarConnectorDto
- Description
autessa.connectors.googleCalendar.updateAvailableCalendarsMUTATE
autessa.connectors.googleCalendar.updateAvailableCalendars({ connectorId, calendarsToEnable, calendarsToDisable })Enable or disable which calendars a Google Calendar connector's tools may use.
Toggles which of the connector's known calendars are enabled for use by tools: list calendar ids in calendarsToEnable to turn them on and in calendarsToDisable to turn them off. Only calendars already present in the stored metadata are affected — unknown ids are silently ignored. Run syncCalendars first so the metadata contains the calendar you want to enable. Requires WRITE access.
Request fields
- Name
connectorId- Type
- string
- Description
- Name
calendarsToEnable- Type
- string[]
- Description
- Name
calendarsToDisable- Type
- string[]
- Description
Response fields
- Name
message- Type
- string
- Description
- Name
enabledCalendars- Type
- CalendarDto[]
- Description
autessa.connectors.googleCalendar.viewAvailableCalendarsREAD
autessa.connectors.googleCalendar.viewAvailableCalendars({ connectorId, pageSize, pageToken })List the calendars visible to a Google Calendar connector's linked account.
Returns every calendar the connector's linked Google account can see, each with its enabled/disabled state from the stored config. Viewing does not refresh the stored calendar metadata; run syncCalendars to pick up calendars added or removed on the Google side. Requires READ access.
Request fields
- Name
connectorId- Type
- string
- Description
- Name
pageSize- Type
- number
- Description
- Name
pageToken- Type
- string
- Description
Response fields
- Name
calendars- Type
- CalendarDto[]
- Description
- Name
nextPageToken- Type
- string
- Description