import { z } from 'zod'; import { CredentialType } from '@bubblelab/shared-schemas'; export declare const SalesforceParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{ operation: z.ZodLiteral<"get_account">; record_id: z.ZodString; fields: z.ZodOptional>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_account"; record_id: string; credentials?: Partial> | undefined; fields?: string[] | undefined; }, { operation: "get_account"; record_id: string; credentials?: Partial> | undefined; fields?: string[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"search_accounts">; where_clause: z.ZodString; fields: z.ZodOptional>; limit: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "search_accounts"; limit: number; where_clause: string; credentials?: Partial> | undefined; fields?: string[] | undefined; }, { operation: "search_accounts"; where_clause: string; credentials?: Partial> | undefined; fields?: string[] | undefined; limit?: number | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_contact">; record_id: z.ZodString; fields: z.ZodOptional>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_contact"; record_id: string; credentials?: Partial> | undefined; fields?: string[] | undefined; }, { operation: "get_contact"; record_id: string; credentials?: Partial> | undefined; fields?: string[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"search_contacts">; where_clause: z.ZodString; fields: z.ZodOptional>; limit: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "search_contacts"; limit: number; where_clause: string; credentials?: Partial> | undefined; fields?: string[] | undefined; }, { operation: "search_contacts"; where_clause: string; credentials?: Partial> | undefined; fields?: string[] | undefined; limit?: number | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"query">; soql: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "query"; soql: string; credentials?: Partial> | undefined; }, { operation: "query"; soql: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"describe_object">; object_name: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "describe_object"; object_name: string; credentials?: Partial> | undefined; }, { operation: "describe_object"; object_name: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_objects">; include_custom_only: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_objects"; include_custom_only: boolean; credentials?: Partial> | undefined; }, { operation: "list_objects"; credentials?: Partial> | undefined; include_custom_only?: boolean | undefined; }>]>; export declare const SalesforceResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{ operation: z.ZodLiteral<"get_account">; success: z.ZodBoolean; record: z.ZodOptional>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_account"; record?: Record | undefined; }, { error: string; success: boolean; operation: "get_account"; record?: Record | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"search_accounts">; success: z.ZodBoolean; records: z.ZodOptional, "many">>; totalSize: z.ZodOptional; done: z.ZodOptional; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "search_accounts"; done?: boolean | undefined; records?: Record[] | undefined; totalSize?: number | undefined; }, { error: string; success: boolean; operation: "search_accounts"; done?: boolean | undefined; records?: Record[] | undefined; totalSize?: number | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_contact">; success: z.ZodBoolean; record: z.ZodOptional>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_contact"; record?: Record | undefined; }, { error: string; success: boolean; operation: "get_contact"; record?: Record | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"search_contacts">; success: z.ZodBoolean; records: z.ZodOptional, "many">>; totalSize: z.ZodOptional; done: z.ZodOptional; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "search_contacts"; done?: boolean | undefined; records?: Record[] | undefined; totalSize?: number | undefined; }, { error: string; success: boolean; operation: "search_contacts"; done?: boolean | undefined; records?: Record[] | undefined; totalSize?: number | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"query">; success: z.ZodBoolean; records: z.ZodOptional, "many">>; totalSize: z.ZodOptional; done: z.ZodOptional; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "query"; done?: boolean | undefined; records?: Record[] | undefined; totalSize?: number | undefined; }, { error: string; success: boolean; operation: "query"; done?: boolean | undefined; records?: Record[] | undefined; totalSize?: number | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"describe_object">; success: z.ZodBoolean; object_name: z.ZodOptional; object_label: z.ZodOptional; fields: z.ZodOptional>; referenceTo: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: string; custom: boolean; label: string; apiName: string; picklistValues?: string[] | undefined; referenceTo?: string[] | undefined; }, { type: string; custom: boolean; label: string; apiName: string; picklistValues?: string[] | undefined; referenceTo?: string[] | undefined; }>, "many">>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "describe_object"; fields?: { type: string; custom: boolean; label: string; apiName: string; picklistValues?: string[] | undefined; referenceTo?: string[] | undefined; }[] | undefined; object_name?: string | undefined; object_label?: string | undefined; }, { error: string; success: boolean; operation: "describe_object"; fields?: { type: string; custom: boolean; label: string; apiName: string; picklistValues?: string[] | undefined; referenceTo?: string[] | undefined; }[] | undefined; object_name?: string | undefined; object_label?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_objects">; success: z.ZodBoolean; objects: z.ZodOptional, "many">>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_objects"; objects?: { custom: boolean; label: string; apiName: string; queryable: boolean; }[] | undefined; }, { error: string; success: boolean; operation: "list_objects"; objects?: { custom: boolean; label: string; apiName: string; queryable: boolean; }[] | undefined; }>]>; export type SalesforceParams = z.output; export type SalesforceParamsInput = z.input; export type SalesforceResult = z.output; //# sourceMappingURL=salesforce.schema.d.ts.map