import { CredentialType } from '@bubblelab/shared-schemas'; import { ServiceBubble } from '../../../types/service-bubble-class.js'; import type { BubbleContext } from '../../../types/bubble.js'; import { type AttioParamsInput, type AttioResult } from './attio.schema.js'; export declare class AttioBubble extends ServiceBubble> { static readonly service = "attio"; static readonly authType: "oauth"; static readonly bubbleName: "attio"; static readonly type: "service"; static readonly schema: import("zod").ZodDiscriminatedUnion<"operation", [import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_records">; object: import("zod").ZodString; limit: import("zod").ZodDefault>; offset: import("zod").ZodDefault>; sorts: import("zod").ZodOptional>>; }, "strip", import("zod").ZodTypeAny, { direction: "desc" | "asc"; attribute: string; }, { attribute: string; direction?: "desc" | "asc" | undefined; }>, "many">>; filter: import("zod").ZodOptional>; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").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; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"get_record">; object: import("zod").ZodString; record_id: import("zod").ZodString; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { object: string; operation: "get_record"; record_id: string; credentials?: Partial> | undefined; }, { object: string; operation: "get_record"; record_id: string; credentials?: Partial> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"create_record">; object: import("zod").ZodString; values: import("zod").ZodRecord; matching_attribute: import("zod").ZodOptional; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").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; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"update_record">; object: import("zod").ZodString; record_id: import("zod").ZodString; values: import("zod").ZodRecord; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").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; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"delete_record">; object: import("zod").ZodString; record_id: import("zod").ZodString; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { object: string; operation: "delete_record"; record_id: string; credentials?: Partial> | undefined; }, { object: string; operation: "delete_record"; record_id: string; credentials?: Partial> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"create_note">; parent_object: import("zod").ZodString; parent_record_id: import("zod").ZodString; title: import("zod").ZodString; content: import("zod").ZodString; format: import("zod").ZodDefault>>; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").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; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_notes">; parent_object: import("zod").ZodOptional; parent_record_id: import("zod").ZodOptional; limit: import("zod").ZodDefault>; offset: import("zod").ZodDefault>; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").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; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"create_task">; content: import("zod").ZodString; deadline_at: import("zod").ZodOptional; is_completed: import("zod").ZodDefault>; linked_records: import("zod").ZodOptional, "many">>; assignees: import("zod").ZodOptional; referenced_actor_id: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { referenced_actor_type: "workspace-member"; referenced_actor_id: string; }, { referenced_actor_type: "workspace-member"; referenced_actor_id: string; }>, "many">>; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").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; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_tasks">; limit: import("zod").ZodDefault>; offset: import("zod").ZodDefault>; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "list_tasks"; limit: number; offset: number; credentials?: Partial> | undefined; }, { operation: "list_tasks"; credentials?: Partial> | undefined; limit?: number | undefined; offset?: number | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"update_task">; task_id: import("zod").ZodString; content: import("zod").ZodOptional; deadline_at: import("zod").ZodOptional; is_completed: import("zod").ZodOptional; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").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; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"delete_task">; task_id: import("zod").ZodString; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "delete_task"; task_id: string; credentials?: Partial> | undefined; }, { operation: "delete_task"; task_id: string; credentials?: Partial> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_lists">; limit: import("zod").ZodDefault>; offset: import("zod").ZodDefault>; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "list_lists"; limit: number; offset: number; credentials?: Partial> | undefined; }, { operation: "list_lists"; credentials?: Partial> | undefined; limit?: number | undefined; offset?: number | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"create_entry">; list: import("zod").ZodString; parent_object: import("zod").ZodString; parent_record_id: import("zod").ZodString; entry_values: import("zod").ZodDefault>>; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").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; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_entries">; list: import("zod").ZodString; limit: import("zod").ZodDefault>; offset: import("zod").ZodDefault>; filter: import("zod").ZodOptional>; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").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; }>]>; static readonly resultSchema: import("zod").ZodDiscriminatedUnion<"operation", [import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_records">; records: import("zod").ZodOptional, "many">>; next_page_offset: import("zod").ZodOptional; success: import("zod").ZodBoolean; error: import("zod").ZodString; }, "strip", import("zod").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; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"get_record">; record: import("zod").ZodOptional>; success: import("zod").ZodBoolean; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "get_record"; record?: Record | undefined; }, { error: string; success: boolean; operation: "get_record"; record?: Record | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"create_record">; record: import("zod").ZodOptional>; success: import("zod").ZodBoolean; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "create_record"; record?: Record | undefined; }, { error: string; success: boolean; operation: "create_record"; record?: Record | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"update_record">; record: import("zod").ZodOptional>; success: import("zod").ZodBoolean; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "update_record"; record?: Record | undefined; }, { error: string; success: boolean; operation: "update_record"; record?: Record | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"delete_record">; success: import("zod").ZodBoolean; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "delete_record"; }, { error: string; success: boolean; operation: "delete_record"; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"create_note">; note: import("zod").ZodOptional>; success: import("zod").ZodBoolean; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "create_note"; note?: Record | undefined; }, { error: string; success: boolean; operation: "create_note"; note?: Record | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_notes">; notes: import("zod").ZodOptional, "many">>; success: import("zod").ZodBoolean; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "list_notes"; notes?: Record[] | undefined; }, { error: string; success: boolean; operation: "list_notes"; notes?: Record[] | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"create_task">; task: import("zod").ZodOptional>; success: import("zod").ZodBoolean; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "create_task"; task?: Record | undefined; }, { error: string; success: boolean; operation: "create_task"; task?: Record | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_tasks">; tasks: import("zod").ZodOptional, "many">>; success: import("zod").ZodBoolean; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "list_tasks"; tasks?: Record[] | undefined; }, { error: string; success: boolean; operation: "list_tasks"; tasks?: Record[] | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"update_task">; task: import("zod").ZodOptional>; success: import("zod").ZodBoolean; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "update_task"; task?: Record | undefined; }, { error: string; success: boolean; operation: "update_task"; task?: Record | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"delete_task">; success: import("zod").ZodBoolean; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "delete_task"; }, { error: string; success: boolean; operation: "delete_task"; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_lists">; lists: import("zod").ZodOptional, "many">>; success: import("zod").ZodBoolean; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "list_lists"; lists?: Record[] | undefined; }, { error: string; success: boolean; operation: "list_lists"; lists?: Record[] | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"create_entry">; entry: import("zod").ZodOptional>; success: import("zod").ZodBoolean; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "create_entry"; entry?: Record | undefined; }, { error: string; success: boolean; operation: "create_entry"; entry?: Record | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_entries">; entries: import("zod").ZodOptional, "many">>; next_page_offset: import("zod").ZodOptional; success: import("zod").ZodBoolean; error: import("zod").ZodString; }, "strip", import("zod").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; }>]>; static readonly shortDescription = "Attio CRM integration for managing records, notes, tasks, and lists"; static readonly longDescription = "\n Integrate with Attio CRM to manage your customer relationships.\n Supported operations:\n - Records: List, get, create, update, and delete records for any object type (people, companies, deals, custom objects)\n - Notes: Create and list notes linked to records\n - Tasks: Create, list, update, and delete CRM tasks with deadlines and assignees\n - Lists & Entries: Manage pipeline lists and add/query entries\n Authentication: OAuth2 with Bearer token\n "; static readonly alias = "attio"; constructor(params?: T, context?: BubbleContext); protected chooseCredential(): string | undefined; private makeAttioRequest; testCredential(): Promise; protected performAction(context?: BubbleContext): Promise>; private listRecords; private getRecord; /** * Auto-fill `full_name` on personal-name values when only first/last are provided. * Attio rejects name values without `full_name`. */ private normalizeValues; private createRecord; private updateRecord; private deleteRecord; private createNote; private listNotes; private createTask; private listTasks; private updateTask; private deleteTask; private listLists; private createEntry; private listEntries; } //# sourceMappingURL=attio.d.ts.map