import { ServiceBubble } from '../../../types/service-bubble-class.js'; import type { BubbleContext } from '../../../types/bubble.js'; import { CredentialType } from '@bubblelab/shared-schemas'; import { type HubSpotParamsInput, type HubSpotResult } from './hubspot.schema.js'; /** * HubSpot CRM Service Bubble * * Comprehensive HubSpot CRM integration for managing contacts, companies, * deals, tickets, properties, associations, pipelines, notes, owners, * lists, and account information. */ export declare class HubSpotBubble extends ServiceBubble> { static readonly type: "service"; static readonly service = "hubspot"; static readonly authType: "oauth"; static readonly bubbleName = "hubspot"; static readonly schema: import("zod").ZodDiscriminatedUnion<"operation", [import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"create_record">; object_type: import("zod").ZodEnum<["contacts", "companies", "deals", "tickets"]>; properties: import("zod").ZodRecord; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { properties: Record; operation: "create_record"; object_type: "deals" | "contacts" | "companies" | "tickets"; credentials?: Partial> | undefined; }, { properties: Record; operation: "create_record"; object_type: "deals" | "contacts" | "companies" | "tickets"; credentials?: Partial> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"get_record">; object_type: import("zod").ZodEnum<["contacts", "companies", "deals", "tickets"]>; record_id: import("zod").ZodString; properties: import("zod").ZodOptional>; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "get_record"; record_id: string; object_type: "deals" | "contacts" | "companies" | "tickets"; properties?: string[] | undefined; credentials?: Partial> | undefined; }, { operation: "get_record"; record_id: string; object_type: "deals" | "contacts" | "companies" | "tickets"; properties?: string[] | undefined; credentials?: Partial> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"update_record">; object_type: import("zod").ZodEnum<["contacts", "companies", "deals", "tickets"]>; record_id: import("zod").ZodString; properties: import("zod").ZodRecord; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { properties: Record; operation: "update_record"; record_id: string; object_type: "deals" | "contacts" | "companies" | "tickets"; credentials?: Partial> | undefined; }, { properties: Record; operation: "update_record"; record_id: string; object_type: "deals" | "contacts" | "companies" | "tickets"; credentials?: Partial> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"delete_record">; object_type: import("zod").ZodEnum<["contacts", "companies", "deals", "tickets"]>; record_id: import("zod").ZodString; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "delete_record"; record_id: string; object_type: "deals" | "contacts" | "companies" | "tickets"; credentials?: Partial> | undefined; }, { operation: "delete_record"; record_id: string; object_type: "deals" | "contacts" | "companies" | "tickets"; credentials?: Partial> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"search_records">; object_type: import("zod").ZodEnum<["contacts", "companies", "deals", "tickets"]>; filter_groups: import("zod").ZodArray; value: import("zod").ZodOptional; highValue: import("zod").ZodOptional; values: import("zod").ZodOptional>; }, "strip", import("zod").ZodTypeAny, { propertyName: string; operator: "GT" | "IN" | "LT" | "EQ" | "NEQ" | "LTE" | "GTE" | "BETWEEN" | "NOT_IN" | "HAS_PROPERTY" | "NOT_HAS_PROPERTY" | "CONTAINS_TOKEN" | "NOT_CONTAINS_TOKEN"; value?: string | undefined; values?: string[] | undefined; highValue?: string | undefined; }, { propertyName: string; operator: "GT" | "IN" | "LT" | "EQ" | "NEQ" | "LTE" | "GTE" | "BETWEEN" | "NOT_IN" | "HAS_PROPERTY" | "NOT_HAS_PROPERTY" | "CONTAINS_TOKEN" | "NOT_CONTAINS_TOKEN"; value?: string | undefined; values?: string[] | undefined; highValue?: string | undefined; }>, "many">; }, "strip", import("zod").ZodTypeAny, { filters: { propertyName: string; operator: "GT" | "IN" | "LT" | "EQ" | "NEQ" | "LTE" | "GTE" | "BETWEEN" | "NOT_IN" | "HAS_PROPERTY" | "NOT_HAS_PROPERTY" | "CONTAINS_TOKEN" | "NOT_CONTAINS_TOKEN"; value?: string | undefined; values?: string[] | undefined; highValue?: string | undefined; }[]; }, { filters: { propertyName: string; operator: "GT" | "IN" | "LT" | "EQ" | "NEQ" | "LTE" | "GTE" | "BETWEEN" | "NOT_IN" | "HAS_PROPERTY" | "NOT_HAS_PROPERTY" | "CONTAINS_TOKEN" | "NOT_CONTAINS_TOKEN"; value?: string | undefined; values?: string[] | undefined; highValue?: string | undefined; }[]; }>, "many">; properties: import("zod").ZodOptional>; limit: import("zod").ZodDefault>; after: import("zod").ZodOptional; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "search_records"; limit: number; object_type: "deals" | "contacts" | "companies" | "tickets"; filter_groups: { filters: { propertyName: string; operator: "GT" | "IN" | "LT" | "EQ" | "NEQ" | "LTE" | "GTE" | "BETWEEN" | "NOT_IN" | "HAS_PROPERTY" | "NOT_HAS_PROPERTY" | "CONTAINS_TOKEN" | "NOT_CONTAINS_TOKEN"; value?: string | undefined; values?: string[] | undefined; highValue?: string | undefined; }[]; }[]; properties?: string[] | undefined; credentials?: Partial> | undefined; after?: string | undefined; }, { operation: "search_records"; object_type: "deals" | "contacts" | "companies" | "tickets"; filter_groups: { filters: { propertyName: string; operator: "GT" | "IN" | "LT" | "EQ" | "NEQ" | "LTE" | "GTE" | "BETWEEN" | "NOT_IN" | "HAS_PROPERTY" | "NOT_HAS_PROPERTY" | "CONTAINS_TOKEN" | "NOT_CONTAINS_TOKEN"; value?: string | undefined; values?: string[] | undefined; highValue?: string | undefined; }[]; }[]; properties?: string[] | undefined; credentials?: Partial> | undefined; limit?: number | undefined; after?: string | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"batch_create_records">; object_type: import("zod").ZodEnum<["contacts", "companies", "deals", "tickets"]>; records: import("zod").ZodArray; }, "strip", import("zod").ZodTypeAny, { properties: Record; }, { properties: Record; }>, "many">; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "batch_create_records"; records: { properties: Record; }[]; object_type: "deals" | "contacts" | "companies" | "tickets"; credentials?: Partial> | undefined; }, { operation: "batch_create_records"; records: { properties: Record; }[]; object_type: "deals" | "contacts" | "companies" | "tickets"; credentials?: Partial> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"batch_update_records">; object_type: import("zod").ZodEnum<["contacts", "companies", "deals", "tickets"]>; records: import("zod").ZodArray; }, "strip", import("zod").ZodTypeAny, { properties: Record; id: string; }, { properties: Record; id: string; }>, "many">; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "batch_update_records"; records: { properties: Record; id: string; }[]; object_type: "deals" | "contacts" | "companies" | "tickets"; credentials?: Partial> | undefined; }, { operation: "batch_update_records"; records: { properties: Record; id: string; }[]; object_type: "deals" | "contacts" | "companies" | "tickets"; credentials?: Partial> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"batch_delete_records">; object_type: import("zod").ZodEnum<["contacts", "companies", "deals", "tickets"]>; record_ids: import("zod").ZodArray; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "batch_delete_records"; object_type: "deals" | "contacts" | "companies" | "tickets"; record_ids: string[]; credentials?: Partial> | undefined; }, { operation: "batch_delete_records"; object_type: "deals" | "contacts" | "companies" | "tickets"; record_ids: string[]; credentials?: Partial> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_properties">; object_type: import("zod").ZodEnum<["contacts", "companies", "deals", "tickets"]>; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "list_properties"; object_type: "deals" | "contacts" | "companies" | "tickets"; credentials?: Partial> | undefined; }, { operation: "list_properties"; object_type: "deals" | "contacts" | "companies" | "tickets"; credentials?: Partial> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"get_property">; object_type: import("zod").ZodEnum<["contacts", "companies", "deals", "tickets"]>; property_name: import("zod").ZodString; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "get_property"; object_type: "deals" | "contacts" | "companies" | "tickets"; property_name: string; credentials?: Partial> | undefined; }, { operation: "get_property"; object_type: "deals" | "contacts" | "companies" | "tickets"; property_name: string; credentials?: Partial> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"create_property">; object_type: import("zod").ZodEnum<["contacts", "companies", "deals", "tickets"]>; name: import("zod").ZodString; label: import("zod").ZodString; type: import("zod").ZodEnum<["string", "number", "date", "datetime", "enumeration", "bool"]>; fieldType: import("zod").ZodEnum<["text", "textarea", "number", "date", "file", "select", "radio", "checkbox", "booleancheckbox", "calculation_equation", "html", "phonenumber"]>; groupName: import("zod").ZodString; description: import("zod").ZodOptional; hasUniqueValue: import("zod").ZodOptional; options: import("zod").ZodOptional; displayOrder: import("zod").ZodOptional; hidden: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; label: string; description?: string | undefined; displayOrder?: number | undefined; hidden?: boolean | undefined; }, { value: string; label: string; description?: string | undefined; displayOrder?: number | undefined; hidden?: boolean | undefined; }>, "many">>; calculationFormula: import("zod").ZodOptional; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { type: "string" | "number" | "date" | "datetime" | "enumeration" | "bool"; name: string; operation: "create_property"; label: string; object_type: "deals" | "contacts" | "companies" | "tickets"; fieldType: "number" | "date" | "text" | "file" | "html" | "checkbox" | "textarea" | "select" | "radio" | "booleancheckbox" | "calculation_equation" | "phonenumber"; groupName: string; options?: { value: string; label: string; description?: string | undefined; displayOrder?: number | undefined; hidden?: boolean | undefined; }[] | undefined; description?: string | undefined; credentials?: Partial> | undefined; hasUniqueValue?: boolean | undefined; calculationFormula?: string | undefined; }, { type: "string" | "number" | "date" | "datetime" | "enumeration" | "bool"; name: string; operation: "create_property"; label: string; object_type: "deals" | "contacts" | "companies" | "tickets"; fieldType: "number" | "date" | "text" | "file" | "html" | "checkbox" | "textarea" | "select" | "radio" | "booleancheckbox" | "calculation_equation" | "phonenumber"; groupName: string; options?: { value: string; label: string; description?: string | undefined; displayOrder?: number | undefined; hidden?: boolean | undefined; }[] | undefined; description?: string | undefined; credentials?: Partial> | undefined; hasUniqueValue?: boolean | undefined; calculationFormula?: string | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"update_property">; object_type: import("zod").ZodEnum<["contacts", "companies", "deals", "tickets"]>; property_name: import("zod").ZodString; label: import("zod").ZodOptional; description: import("zod").ZodOptional; groupName: import("zod").ZodOptional; type: import("zod").ZodOptional>; fieldType: import("zod").ZodOptional>; options: import("zod").ZodOptional; displayOrder: import("zod").ZodOptional; hidden: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; label: string; description?: string | undefined; displayOrder?: number | undefined; hidden?: boolean | undefined; }, { value: string; label: string; description?: string | undefined; displayOrder?: number | undefined; hidden?: boolean | undefined; }>, "many">>; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "update_property"; object_type: "deals" | "contacts" | "companies" | "tickets"; property_name: string; options?: { value: string; label: string; description?: string | undefined; displayOrder?: number | undefined; hidden?: boolean | undefined; }[] | undefined; type?: "string" | "number" | "date" | "datetime" | "enumeration" | "bool" | undefined; description?: string | undefined; credentials?: Partial> | undefined; label?: string | undefined; fieldType?: "number" | "date" | "text" | "file" | "html" | "checkbox" | "textarea" | "select" | "radio" | "booleancheckbox" | "calculation_equation" | "phonenumber" | undefined; groupName?: string | undefined; }, { operation: "update_property"; object_type: "deals" | "contacts" | "companies" | "tickets"; property_name: string; options?: { value: string; label: string; description?: string | undefined; displayOrder?: number | undefined; hidden?: boolean | undefined; }[] | undefined; type?: "string" | "number" | "date" | "datetime" | "enumeration" | "bool" | undefined; description?: string | undefined; credentials?: Partial> | undefined; label?: string | undefined; fieldType?: "number" | "date" | "text" | "file" | "html" | "checkbox" | "textarea" | "select" | "radio" | "booleancheckbox" | "calculation_equation" | "phonenumber" | undefined; groupName?: string | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"delete_property">; object_type: import("zod").ZodEnum<["contacts", "companies", "deals", "tickets"]>; property_name: import("zod").ZodString; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "delete_property"; object_type: "deals" | "contacts" | "companies" | "tickets"; property_name: string; credentials?: Partial> | undefined; }, { operation: "delete_property"; object_type: "deals" | "contacts" | "companies" | "tickets"; property_name: string; credentials?: Partial> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_associations">; from_object_type: import("zod").ZodEnum<["contacts", "companies", "deals", "tickets"]>; from_record_id: import("zod").ZodString; to_object_type: import("zod").ZodEnum<["contacts", "companies", "deals", "tickets"]>; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "list_associations"; from_object_type: "deals" | "contacts" | "companies" | "tickets"; from_record_id: string; to_object_type: "deals" | "contacts" | "companies" | "tickets"; credentials?: Partial> | undefined; }, { operation: "list_associations"; from_object_type: "deals" | "contacts" | "companies" | "tickets"; from_record_id: string; to_object_type: "deals" | "contacts" | "companies" | "tickets"; credentials?: Partial> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"create_association">; from_object_type: import("zod").ZodEnum<["contacts", "companies", "deals", "tickets"]>; from_record_id: import("zod").ZodString; to_object_type: import("zod").ZodEnum<["contacts", "companies", "deals", "tickets"]>; to_record_id: import("zod").ZodString; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "create_association"; from_object_type: "deals" | "contacts" | "companies" | "tickets"; from_record_id: string; to_object_type: "deals" | "contacts" | "companies" | "tickets"; to_record_id: string; credentials?: Partial> | undefined; }, { operation: "create_association"; from_object_type: "deals" | "contacts" | "companies" | "tickets"; from_record_id: string; to_object_type: "deals" | "contacts" | "companies" | "tickets"; to_record_id: string; credentials?: Partial> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"remove_association">; from_object_type: import("zod").ZodEnum<["contacts", "companies", "deals", "tickets"]>; from_record_id: import("zod").ZodString; to_object_type: import("zod").ZodEnum<["contacts", "companies", "deals", "tickets"]>; to_record_id: import("zod").ZodString; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "remove_association"; from_object_type: "deals" | "contacts" | "companies" | "tickets"; from_record_id: string; to_object_type: "deals" | "contacts" | "companies" | "tickets"; to_record_id: string; credentials?: Partial> | undefined; }, { operation: "remove_association"; from_object_type: "deals" | "contacts" | "companies" | "tickets"; from_record_id: string; to_object_type: "deals" | "contacts" | "companies" | "tickets"; to_record_id: string; credentials?: Partial> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_pipelines">; object_type: import("zod").ZodEnum<["deals", "tickets"]>; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "list_pipelines"; object_type: "deals" | "tickets"; credentials?: Partial> | undefined; }, { operation: "list_pipelines"; object_type: "deals" | "tickets"; credentials?: Partial> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"create_note">; note_body: import("zod").ZodString; associations: import("zod").ZodArray; record_id: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { record_id: string; object_type: "deals" | "contacts" | "companies" | "tickets"; }, { record_id: string; object_type: "deals" | "contacts" | "companies" | "tickets"; }>, "many">; timestamp: import("zod").ZodOptional; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "create_note"; note_body: string; associations: { record_id: string; object_type: "deals" | "contacts" | "companies" | "tickets"; }[]; credentials?: Partial> | undefined; timestamp?: string | undefined; }, { operation: "create_note"; note_body: string; associations: { record_id: string; object_type: "deals" | "contacts" | "companies" | "tickets"; }[]; credentials?: Partial> | undefined; timestamp?: string | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_owners">; email: import("zod").ZodOptional; limit: import("zod").ZodDefault>; after: import("zod").ZodOptional; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "list_owners"; limit: number; credentials?: Partial> | undefined; email?: string | undefined; after?: string | undefined; }, { operation: "list_owners"; credentials?: Partial> | undefined; email?: string | undefined; limit?: number | undefined; after?: string | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"get_owner">; owner_id: import("zod").ZodString; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "get_owner"; owner_id: string; credentials?: Partial> | undefined; }, { operation: "get_owner"; owner_id: string; credentials?: Partial> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"get_account_info">; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "get_account_info"; credentials?: Partial> | undefined; }, { operation: "get_account_info"; credentials?: Partial> | undefined; }>]>; static readonly resultSchema: import("zod").ZodDiscriminatedUnion<"operation", [import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"create_record">; success: import("zod").ZodBoolean; record: import("zod").ZodOptional; createdAt: import("zod").ZodOptional; updatedAt: import("zod").ZodOptional; archived: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { properties: Record; id: string; createdAt?: string | undefined; archived?: boolean | undefined; updatedAt?: string | undefined; }, { properties: Record; id: string; createdAt?: string | undefined; archived?: boolean | undefined; updatedAt?: string | undefined; }>>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "create_record"; record?: { properties: Record; id: string; createdAt?: string | undefined; archived?: boolean | undefined; updatedAt?: string | undefined; } | undefined; }, { error: string; success: boolean; operation: "create_record"; record?: { properties: Record; id: string; createdAt?: string | undefined; archived?: boolean | undefined; updatedAt?: string | undefined; } | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"get_record">; success: import("zod").ZodBoolean; record: import("zod").ZodOptional; createdAt: import("zod").ZodOptional; updatedAt: import("zod").ZodOptional; archived: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { properties: Record; id: string; createdAt?: string | undefined; archived?: boolean | undefined; updatedAt?: string | undefined; }, { properties: Record; id: string; createdAt?: string | undefined; archived?: boolean | undefined; updatedAt?: string | undefined; }>>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "get_record"; record?: { properties: Record; id: string; createdAt?: string | undefined; archived?: boolean | undefined; updatedAt?: string | undefined; } | undefined; }, { error: string; success: boolean; operation: "get_record"; record?: { properties: Record; id: string; createdAt?: string | undefined; archived?: boolean | undefined; updatedAt?: string | undefined; } | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"update_record">; success: import("zod").ZodBoolean; record: import("zod").ZodOptional; createdAt: import("zod").ZodOptional; updatedAt: import("zod").ZodOptional; archived: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { properties: Record; id: string; createdAt?: string | undefined; archived?: boolean | undefined; updatedAt?: string | undefined; }, { properties: Record; id: string; createdAt?: string | undefined; archived?: boolean | undefined; updatedAt?: string | undefined; }>>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "update_record"; record?: { properties: Record; id: string; createdAt?: string | undefined; archived?: boolean | undefined; updatedAt?: string | undefined; } | undefined; }, { error: string; success: boolean; operation: "update_record"; record?: { properties: Record; id: string; createdAt?: string | undefined; archived?: boolean | undefined; updatedAt?: string | undefined; } | 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<"search_records">; success: import("zod").ZodBoolean; results: import("zod").ZodOptional; createdAt: import("zod").ZodOptional; updatedAt: import("zod").ZodOptional; archived: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { properties: Record; id: string; createdAt?: string | undefined; archived?: boolean | undefined; updatedAt?: string | undefined; }, { properties: Record; id: string; createdAt?: string | undefined; archived?: boolean | undefined; updatedAt?: string | undefined; }>, "many">>; total: import("zod").ZodOptional; paging: import("zod").ZodOptional>; }, "strip", import("zod").ZodTypeAny, { next?: { after: string; } | undefined; }, { next?: { after: string; } | undefined; }>>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "search_records"; total?: number | undefined; results?: { properties: Record; id: string; createdAt?: string | undefined; archived?: boolean | undefined; updatedAt?: string | undefined; }[] | undefined; paging?: { next?: { after: string; } | undefined; } | undefined; }, { error: string; success: boolean; operation: "search_records"; total?: number | undefined; results?: { properties: Record; id: string; createdAt?: string | undefined; archived?: boolean | undefined; updatedAt?: string | undefined; }[] | undefined; paging?: { next?: { after: string; } | undefined; } | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"batch_create_records">; success: import("zod").ZodBoolean; results: import("zod").ZodOptional; createdAt: import("zod").ZodOptional; updatedAt: import("zod").ZodOptional; archived: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { properties: Record; id: string; createdAt?: string | undefined; archived?: boolean | undefined; updatedAt?: string | undefined; }, { properties: Record; id: string; createdAt?: string | undefined; archived?: boolean | undefined; updatedAt?: string | undefined; }>, "many">>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "batch_create_records"; results?: { properties: Record; id: string; createdAt?: string | undefined; archived?: boolean | undefined; updatedAt?: string | undefined; }[] | undefined; }, { error: string; success: boolean; operation: "batch_create_records"; results?: { properties: Record; id: string; createdAt?: string | undefined; archived?: boolean | undefined; updatedAt?: string | undefined; }[] | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"batch_update_records">; success: import("zod").ZodBoolean; results: import("zod").ZodOptional; createdAt: import("zod").ZodOptional; updatedAt: import("zod").ZodOptional; archived: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { properties: Record; id: string; createdAt?: string | undefined; archived?: boolean | undefined; updatedAt?: string | undefined; }, { properties: Record; id: string; createdAt?: string | undefined; archived?: boolean | undefined; updatedAt?: string | undefined; }>, "many">>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "batch_update_records"; results?: { properties: Record; id: string; createdAt?: string | undefined; archived?: boolean | undefined; updatedAt?: string | undefined; }[] | undefined; }, { error: string; success: boolean; operation: "batch_update_records"; results?: { properties: Record; id: string; createdAt?: string | undefined; archived?: boolean | undefined; updatedAt?: string | undefined; }[] | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"batch_delete_records">; success: import("zod").ZodBoolean; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "batch_delete_records"; }, { error: string; success: boolean; operation: "batch_delete_records"; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_properties">; success: import("zod").ZodBoolean; properties: import("zod").ZodOptional, "many">>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "list_properties"; properties?: Record[] | undefined; }, { error: string; success: boolean; operation: "list_properties"; properties?: Record[] | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"get_property">; success: import("zod").ZodBoolean; property: import("zod").ZodOptional>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "get_property"; property?: Record | undefined; }, { error: string; success: boolean; operation: "get_property"; property?: Record | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"create_property">; success: import("zod").ZodBoolean; property: import("zod").ZodOptional>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "create_property"; property?: Record | undefined; }, { error: string; success: boolean; operation: "create_property"; property?: Record | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"update_property">; success: import("zod").ZodBoolean; property: import("zod").ZodOptional>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "update_property"; property?: Record | undefined; }, { error: string; success: boolean; operation: "update_property"; property?: Record | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"delete_property">; success: import("zod").ZodBoolean; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "delete_property"; }, { error: string; success: boolean; operation: "delete_property"; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_associations">; success: import("zod").ZodBoolean; associations: import("zod").ZodOptional, "many">>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "list_associations"; associations?: Record[] | undefined; }, { error: string; success: boolean; operation: "list_associations"; associations?: Record[] | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"create_association">; success: import("zod").ZodBoolean; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "create_association"; }, { error: string; success: boolean; operation: "create_association"; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"remove_association">; success: import("zod").ZodBoolean; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "remove_association"; }, { error: string; success: boolean; operation: "remove_association"; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_pipelines">; success: import("zod").ZodBoolean; pipelines: import("zod").ZodOptional, "many">>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "list_pipelines"; pipelines?: Record[] | undefined; }, { error: string; success: boolean; operation: "list_pipelines"; pipelines?: Record[] | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"create_note">; success: import("zod").ZodBoolean; note: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { properties: Record; id: string; }, { properties: Record; id: string; }>>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "create_note"; note?: { properties: Record; id: string; } | undefined; }, { error: string; success: boolean; operation: "create_note"; note?: { properties: Record; id: string; } | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_owners">; success: import("zod").ZodBoolean; owners: import("zod").ZodOptional, "many">>; paging: import("zod").ZodOptional>; }, "strip", import("zod").ZodTypeAny, { next?: { after: string; } | undefined; }, { next?: { after: string; } | undefined; }>>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "list_owners"; owners?: Record[] | undefined; paging?: { next?: { after: string; } | undefined; } | undefined; }, { error: string; success: boolean; operation: "list_owners"; owners?: Record[] | undefined; paging?: { next?: { after: string; } | undefined; } | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"get_owner">; success: import("zod").ZodBoolean; owner: import("zod").ZodOptional>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "get_owner"; owner?: Record | undefined; }, { error: string; success: boolean; operation: "get_owner"; owner?: Record | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"get_account_info">; success: import("zod").ZodBoolean; account: import("zod").ZodOptional>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "get_account_info"; account?: Record | undefined; }, { error: string; success: boolean; operation: "get_account_info"; account?: Record | undefined; }>]>; static readonly shortDescription = "HubSpot CRM integration for contacts, companies, deals, and tickets"; static readonly longDescription = "\n HubSpot CRM service integration for comprehensive customer relationship management.\n\n Features:\n - Full CRUD + batch operations for contacts, companies, deals, and tickets\n - Advanced search with filter groups supporting AND/OR logic\n - Property definition management (create, update, delete custom properties)\n - Record associations (link contacts to companies, deals, etc.)\n - Pipeline and stage management for deals and tickets\n - Note creation with record associations\n - Account information retrieval\n\n Security Features:\n - OAuth 2.0 authentication with HubSpot\n - Scoped access permissions for CRM operations\n - Secure credential handling and validation\n "; static readonly alias = "crm"; private static readonly NOTE_ASSOC_TYPES; constructor(params?: T, context?: BubbleContext); testCredential(): Promise; protected chooseCredential(): string | undefined; private makeHubSpotApiRequest; protected performAction(context?: BubbleContext): Promise>; private createRecord; private getRecord; private updateRecord; private deleteRecord; private searchRecords; private batchCreateRecords; private batchUpdateRecords; private batchDeleteRecords; private listProperties; private getProperty; private createProperty; private updateProperty; private deleteProperty; private listAssociations; private createAssociation; private removeAssociation; private listPipelines; private createNote; private listOwners; private getOwner; private getAccountInfo; } //# sourceMappingURL=hubspot.d.ts.map