import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export declare const AgentConnectorObject: { readonly AgentConnector: "agent.connector"; }; export type AgentConnectorObject = ClosedEnum; export declare const Provider: { readonly Telegram: "telegram"; readonly Whatsapp: "whatsapp"; }; export type Provider = ClosedEnum; export type AgentConnector = { object: AgentConnectorObject; id: string; agentId: string; provider: Provider; name: string | null; /** * Connector lifecycle status, such as provisioning, activating, active, deleting, or error. */ status: string; /** * The provider account ID: Telegram bot user ID or WhatsApp phone-number ID. */ providerAccountId: string; /** * Provider account display name when one is available. */ providerAccountName: string | null; /** * Arbitrary JSON value. */ config?: any | undefined; /** * Whether encrypted provider credentials are stored for this connector. */ credentialsConfigured: boolean; lastError?: any | null | undefined; createdAt: Date; updatedAt: Date; deletedAt: Date | null; }; /** @internal */ export declare const AgentConnectorObject$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const AgentConnectorObject$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const Provider$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const Provider$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const AgentConnector$inboundSchema: z.ZodType; /** @internal */ export type AgentConnector$Outbound = { object: string; id: string; agent_id: string; provider: string; name: string | null; status: string; provider_account_id: string; provider_account_name: string | null; config?: any | undefined; credentials_configured: boolean; last_error?: any | null | undefined; created_at: string; updated_at: string; deleted_at: string | null; }; /** @internal */ export declare const AgentConnector$outboundSchema: z.ZodType; export declare function agentConnectorToJSON(agentConnector: AgentConnector): string; export declare function agentConnectorFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=agentconnector.d.ts.map