/** * @example * { * credentials: { * "api_token": "xoxb-..." * }, * provider: "slack" * } */ export interface HandlerDiscoverPreviewReq { /** Opaque pagination cursor from a previous response's next_cursor */ cursor?: string; /** Max resources per page, 1-100 (values above 100 are clamped) */ limit?: number; /** Authentication method for the provider connection (e.g. `api_token`, `oauth`). */ authType?: string; /** Provider-specific credentials (typically `{"api_token": "..."}` or `{"access_token": "..."}`). */ credentials: Record; /** External provider being synced (e.g. `slack`, `github`, `linear`, `notion`, `gmail`). */ provider: string; }