Member Junction
    Preparing search index...

    Production binding for Microsoft Graph calendars over an injected IGraphCalendarLike surface, so it builds + unit-tests with no Graph SDK install and no network.

    Pages a Graph delta poll: starting from sinceCursor (a prior @odata.deltaLink), it follows @odata.nextLink page-to-page, normalizing every event via normalizeGraphEvent, until the surface returns a @odata.deltaLink — which becomes the CalendarPollResult.NextCursor for the next poll. Credentials are resolved upstream (the host binds IGraphCalendarLike with a Graph client authenticated from the provider Configuration via MJ's credential system — never inline).

    When no surface is supplied it preserves the original not-bound behavior, throwing CalendarSourceNotBoundError so a misconfigured deployment fails loudly.

    TODO (production): bind @microsoft/microsoft-graph-client (an optionalDependency, loaded only when a Graph-backed identity is configured), request UTC via Prefer: outlook.timezone="UTC", and inject it as IGraphCalendarLike.

    Implements

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Lists invites for identityValue's calendar that are new since sinceCursor. The adapter is responsible only for fetching + normalizing — the watcher decides attendee-membership, join-URL resolution, and dedupe. An adapter SHOULD return only upcoming (future-start) invites where it can, but the watcher defends against past-start invites regardless.

      Parameters

      • identityValue: string

        The agent identity's address (an email, for IdentityType='Email').

      • OptionalsinceCursor: string

        The cursor returned by the previous poll, or undefined on the first poll.

      Returns Promise<CalendarPollResult>

      The new invites + the next cursor.

      May reject on transport/auth failure; the watcher catches per-identity and continues.