import { z } from 'zod'; import { CredentialType } from '@bubblelab/shared-schemas'; export declare const AttioParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{ operation: z.ZodLiteral<"list_records">; object: z.ZodString; limit: z.ZodDefault>; offset: z.ZodDefault>; sorts: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { direction: "desc" | "asc"; attribute: string; }, { attribute: string; direction?: "desc" | "asc" | undefined; }>, "many">>; filter: z.ZodOptional>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { object: string; operation: "list_records"; limit: number; offset: number; filter?: Record | undefined; credentials?: Partial> | undefined; sorts?: { direction: "desc" | "asc"; attribute: string; }[] | undefined; }, { object: string; operation: "list_records"; filter?: Record | undefined; credentials?: Partial> | undefined; limit?: number | undefined; offset?: number | undefined; sorts?: { attribute: string; direction?: "desc" | "asc" | undefined; }[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_record">; object: z.ZodString; record_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { object: string; operation: "get_record"; record_id: string; credentials?: Partial> | undefined; }, { object: string; operation: "get_record"; record_id: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_record">; object: z.ZodString; values: z.ZodRecord; matching_attribute: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { object: string; values: Record; operation: "create_record"; credentials?: Partial> | undefined; matching_attribute?: string | undefined; }, { object: string; values: Record; operation: "create_record"; credentials?: Partial> | undefined; matching_attribute?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"update_record">; object: z.ZodString; record_id: z.ZodString; values: z.ZodRecord; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { object: string; values: Record; operation: "update_record"; record_id: string; credentials?: Partial> | undefined; }, { object: string; values: Record; operation: "update_record"; record_id: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"delete_record">; object: z.ZodString; record_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { object: string; operation: "delete_record"; record_id: string; credentials?: Partial> | undefined; }, { object: string; operation: "delete_record"; record_id: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_note">; parent_object: z.ZodString; parent_record_id: z.ZodString; title: z.ZodString; content: z.ZodString; format: z.ZodDefault>>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { format: "plaintext"; title: string; content: string; operation: "create_note"; parent_object: string; parent_record_id: string; credentials?: Partial> | undefined; }, { title: string; content: string; operation: "create_note"; parent_object: string; parent_record_id: string; format?: "plaintext" | undefined; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_notes">; parent_object: z.ZodOptional; parent_record_id: z.ZodOptional; limit: z.ZodDefault>; offset: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_notes"; limit: number; offset: number; credentials?: Partial> | undefined; parent_object?: string | undefined; parent_record_id?: string | undefined; }, { operation: "list_notes"; credentials?: Partial> | undefined; limit?: number | undefined; offset?: number | undefined; parent_object?: string | undefined; parent_record_id?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_task">; content: z.ZodString; deadline_at: z.ZodOptional; is_completed: z.ZodDefault>; linked_records: z.ZodOptional, "many">>; assignees: z.ZodOptional; referenced_actor_id: z.ZodString; }, "strip", z.ZodTypeAny, { referenced_actor_type: "workspace-member"; referenced_actor_id: string; }, { referenced_actor_type: "workspace-member"; referenced_actor_id: string; }>, "many">>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { content: string; operation: "create_task"; is_completed: boolean; credentials?: Partial> | undefined; assignees?: { referenced_actor_type: "workspace-member"; referenced_actor_id: string; }[] | undefined; deadline_at?: string | undefined; linked_records?: { target_object: string; target_record_id: string; }[] | undefined; }, { content: string; operation: "create_task"; credentials?: Partial> | undefined; assignees?: { referenced_actor_type: "workspace-member"; referenced_actor_id: string; }[] | undefined; deadline_at?: string | undefined; is_completed?: boolean | undefined; linked_records?: { target_object: string; target_record_id: string; }[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_tasks">; limit: z.ZodDefault>; offset: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_tasks"; limit: number; offset: number; credentials?: Partial> | undefined; }, { operation: "list_tasks"; credentials?: Partial> | undefined; limit?: number | undefined; offset?: number | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"update_task">; task_id: z.ZodString; content: z.ZodOptional; deadline_at: z.ZodOptional; is_completed: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "update_task"; task_id: string; credentials?: Partial> | undefined; content?: string | undefined; deadline_at?: string | undefined; is_completed?: boolean | undefined; }, { operation: "update_task"; task_id: string; credentials?: Partial> | undefined; content?: string | undefined; deadline_at?: string | undefined; is_completed?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"delete_task">; task_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "delete_task"; task_id: string; credentials?: Partial> | undefined; }, { operation: "delete_task"; task_id: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_lists">; limit: z.ZodDefault>; offset: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_lists"; limit: number; offset: number; credentials?: Partial> | undefined; }, { operation: "list_lists"; credentials?: Partial> | undefined; limit?: number | undefined; offset?: number | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_entry">; list: z.ZodString; parent_object: z.ZodString; parent_record_id: z.ZodString; entry_values: z.ZodDefault>>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { list: string; operation: "create_entry"; parent_object: string; parent_record_id: string; entry_values: Record; credentials?: Partial> | undefined; }, { list: string; operation: "create_entry"; parent_object: string; parent_record_id: string; credentials?: Partial> | undefined; entry_values?: Record | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_entries">; list: z.ZodString; limit: z.ZodDefault>; offset: z.ZodDefault>; filter: z.ZodOptional>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { list: string; operation: "list_entries"; limit: number; offset: number; filter?: Record | undefined; credentials?: Partial> | undefined; }, { list: string; operation: "list_entries"; filter?: Record | undefined; credentials?: Partial> | undefined; limit?: number | undefined; offset?: number | undefined; }>]>; export declare const AttioResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{ operation: z.ZodLiteral<"list_records">; records: z.ZodOptional, "many">>; next_page_offset: z.ZodOptional; success: z.ZodBoolean; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_records"; records?: Record[] | undefined; next_page_offset?: number | undefined; }, { error: string; success: boolean; operation: "list_records"; records?: Record[] | undefined; next_page_offset?: number | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_record">; record: z.ZodOptional>; success: z.ZodBoolean; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_record"; record?: Record | undefined; }, { error: string; success: boolean; operation: "get_record"; record?: Record | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_record">; record: z.ZodOptional>; success: z.ZodBoolean; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "create_record"; record?: Record | undefined; }, { error: string; success: boolean; operation: "create_record"; record?: Record | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"update_record">; record: z.ZodOptional>; success: z.ZodBoolean; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "update_record"; record?: Record | undefined; }, { error: string; success: boolean; operation: "update_record"; record?: Record | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"delete_record">; success: z.ZodBoolean; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "delete_record"; }, { error: string; success: boolean; operation: "delete_record"; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_note">; note: z.ZodOptional>; success: z.ZodBoolean; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "create_note"; note?: Record | undefined; }, { error: string; success: boolean; operation: "create_note"; note?: Record | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_notes">; notes: z.ZodOptional, "many">>; success: z.ZodBoolean; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_notes"; notes?: Record[] | undefined; }, { error: string; success: boolean; operation: "list_notes"; notes?: Record[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_task">; task: z.ZodOptional>; success: z.ZodBoolean; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "create_task"; task?: Record | undefined; }, { error: string; success: boolean; operation: "create_task"; task?: Record | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_tasks">; tasks: z.ZodOptional, "many">>; success: z.ZodBoolean; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_tasks"; tasks?: Record[] | undefined; }, { error: string; success: boolean; operation: "list_tasks"; tasks?: Record[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"update_task">; task: z.ZodOptional>; success: z.ZodBoolean; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "update_task"; task?: Record | undefined; }, { error: string; success: boolean; operation: "update_task"; task?: Record | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"delete_task">; success: z.ZodBoolean; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "delete_task"; }, { error: string; success: boolean; operation: "delete_task"; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_lists">; lists: z.ZodOptional, "many">>; success: z.ZodBoolean; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_lists"; lists?: Record[] | undefined; }, { error: string; success: boolean; operation: "list_lists"; lists?: Record[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_entry">; entry: z.ZodOptional>; success: z.ZodBoolean; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "create_entry"; entry?: Record | undefined; }, { error: string; success: boolean; operation: "create_entry"; entry?: Record | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_entries">; entries: z.ZodOptional, "many">>; next_page_offset: z.ZodOptional; success: z.ZodBoolean; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_entries"; entries?: Record[] | undefined; next_page_offset?: number | undefined; }, { error: string; success: boolean; operation: "list_entries"; entries?: Record[] | undefined; next_page_offset?: number | undefined; }>]>; export type AttioParamsInput = z.input; export type AttioParams = z.output; export type AttioResult = z.output; //# sourceMappingURL=attio.schema.d.ts.map