ISPO SDK
    Preparing search index...

    Interface ConnectorsApi

    Markdown
    interface ConnectorsApi {
        google: { calendar: GoogleCalendarApi; mail: GoogleMailApi };
        call<T = unknown>(
            providerId: string,
            resource: string,
            op: string,
            input?: ProjectCommandJsonValue,
        ): Promise<T>;
        execute(input: ConnectorExecuteInput): Promise<ConnectorExecuteResult>;
    }
    Index
    google: { calendar: GoogleCalendarApi; mail: GoogleMailApi }
    • The generic connector call form (§18.4): connectors.call(providerId, resource, op, input). It rides the SAME wire envelope as the typed per-provider namespaces — both spellings resolve to one dispatchable wire method — so a caller can reach any registered provider's operation without a generated namespace. The typed connectors.google.* namespaces stay for back-compat and rich DTO types; this is the open, provider-parametric door.

      Type Parameters

      • T = unknown

      Parameters

      Returns Promise<T>