/** Module-owned CRM lifecycle tools backed by Relationships services. */ import { type ToolContext, type ToolHandlerActionPolicyContext } from "@voyant-travel/tools"; import { z } from "zod"; import { organizationListQuerySchema, personListQuerySchema } from "./validation.js"; declare const relationshipEntityArgsSchema: z.ZodObject<{ entityType: z.ZodEnum<{ person: "person"; organization: "organization"; }>; entityId: z.ZodString; }, z.core.$strip>; export declare const organizationToolListInputSchema: z.ZodObject<{ ownerId: z.ZodOptional; relation: z.ZodOptional>; status: z.ZodOptional>; search: z.ZodOptional; taxId: z.ZodOptional; tax_id: z.ZodOptional; vatNumber: z.ZodOptional; sortBy: z.ZodDefault>; sortDir: z.ZodDefault>; limit: z.ZodDefault>; offset: z.ZodDefault>; }, z.core.$strip>; export declare const createPersonToolInputSchema: z.ZodObject<{ status: z.ZodDefault>; organizationId: z.ZodOptional>; phone: z.ZodOptional>; website: z.ZodPipe>, z.ZodLiteral<"">]>, z.ZodTransform>; email: z.ZodPreprocess>>; relation: z.ZodOptional>>; preferredLanguage: z.ZodOptional>; tags: z.ZodDefault>; notes: z.ZodOptional>; firstName: z.ZodString; middleName: z.ZodOptional>; lastName: z.ZodString; gender: z.ZodOptional>>; jobTitle: z.ZodOptional>; preferredCurrency: z.ZodOptional>; dateOfBirth: z.ZodOptional>; allowDuplicateName: z.ZodOptional; idempotencyKey: z.ZodOptional; }, z.core.$strip>; export declare const updatePersonToolInputSchema: z.ZodObject<{ status: z.ZodOptional>>; organizationId: z.ZodOptional>>; phone: z.ZodOptional>>; website: z.ZodOptional>, z.ZodLiteral<"">]>, z.ZodTransform>>; email: z.ZodOptional>>>; relation: z.ZodOptional>>>; preferredLanguage: z.ZodOptional>>; tags: z.ZodOptional>>; notes: z.ZodOptional>>; firstName: z.ZodOptional; middleName: z.ZodOptional>>; lastName: z.ZodOptional; gender: z.ZodOptional>>>; jobTitle: z.ZodOptional>>; preferredCurrency: z.ZodOptional>>; dateOfBirth: z.ZodOptional>>; id: z.ZodString; }, z.core.$strip>; export declare const createOrganizationToolInputSchema: z.ZodObject<{ status: z.ZodDefault>; name: z.ZodString; website: z.ZodPipe>, z.ZodLiteral<"">]>, z.ZodTransform>; legalName: z.ZodOptional>; taxId: z.ZodPipe>, z.ZodTransform>; industry: z.ZodOptional>; relation: z.ZodOptional>>; defaultCurrency: z.ZodOptional>; preferredLanguage: z.ZodOptional>; paymentTerms: z.ZodOptional>; tags: z.ZodDefault>; notes: z.ZodOptional>; idempotencyKey: z.ZodOptional; vatNumber: z.ZodOptional; billingAddress: z.ZodOptional>; isPrimary: z.ZodDefault; label: z.ZodDefault>; fullText: z.ZodOptional>; line1: z.ZodOptional>; line2: z.ZodOptional>; city: z.ZodOptional>; region: z.ZodOptional>; postalCode: z.ZodOptional>; country: z.ZodOptional>; latitude: z.ZodOptional>; longitude: z.ZodOptional>; timezone: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>; export declare const updateOrganizationToolInputSchema: z.ZodObject<{ status: z.ZodOptional>>; name: z.ZodOptional; website: z.ZodOptional>, z.ZodLiteral<"">]>, z.ZodTransform>>; legalName: z.ZodOptional>>; taxId: z.ZodOptional>, z.ZodTransform>>; industry: z.ZodOptional>>; relation: z.ZodOptional>>>; defaultCurrency: z.ZodOptional>>; preferredLanguage: z.ZodOptional>>; paymentTerms: z.ZodOptional>>; tags: z.ZodOptional>>; notes: z.ZodOptional>>; id: z.ZodString; vatNumber: z.ZodOptional; }, z.core.$strip>; declare const addNoteInputSchema: z.ZodIntersection; entityId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ content: z.ZodString; }, z.core.$strip>>; declare const editNoteInputSchema: z.ZodObject<{ entityType: z.ZodEnum<{ person: "person"; organization: "organization"; }>; id: z.ZodString; content: z.ZodString; }, z.core.$strip>; declare const addContactMethodInputSchema: z.ZodIntersection; entityId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ value: z.ZodString; notes: z.ZodOptional>; isPrimary: z.ZodDefault; kind: z.ZodEnum<{ email: "email"; phone: "phone"; mobile: "mobile"; whatsapp: "whatsapp"; website: "website"; sms: "sms"; fax: "fax"; social: "social"; other: "other"; }>; label: z.ZodOptional>; }, z.core.$strip>>; declare const editContactMethodInputSchema: z.ZodObject<{ value: z.ZodOptional; notes: z.ZodOptional>>; isPrimary: z.ZodOptional>; kind: z.ZodOptional>; label: z.ZodOptional>>; id: z.ZodString; }, z.core.$strip>; declare const addAddressInputSchema: z.ZodIntersection; entityId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ notes: z.ZodOptional>; isPrimary: z.ZodDefault; label: z.ZodDefault>; fullText: z.ZodOptional>; line1: z.ZodOptional>; line2: z.ZodOptional>; city: z.ZodOptional>; region: z.ZodOptional>; postalCode: z.ZodOptional>; country: z.ZodOptional>; latitude: z.ZodOptional>; longitude: z.ZodOptional>; timezone: z.ZodOptional>; }, z.core.$strip>>; declare const editAddressInputSchema: z.ZodObject<{ notes: z.ZodOptional>>; isPrimary: z.ZodOptional>; label: z.ZodOptional>>; fullText: z.ZodOptional>>; line1: z.ZodOptional>>; line2: z.ZodOptional>>; city: z.ZodOptional>>; region: z.ZodOptional>>; postalCode: z.ZodOptional>>; country: z.ZodOptional>>; latitude: z.ZodOptional>>; longitude: z.ZodOptional>>; timezone: z.ZodOptional>>; id: z.ZodString; }, z.core.$strip>; type PersonListQuery = z.infer; type OrganizationListQuery = z.infer; type CreatePersonInput = z.infer; type UpdatePersonInput = z.infer; type CreateOrganizationInput = z.infer; type UpdateOrganizationInput = z.infer; type EntityArgs = z.infer; type AddNoteInput = z.infer; type EditNoteInput = z.infer; type AddContactMethodInput = z.infer; type EditContactMethodInput = z.infer; type AddAddressInput = z.infer; type EditAddressInput = z.infer; /** Request-scoped Relationships operations used by CRM tools. */ export interface RelationshipsToolServices { listPeople(query: PersonListQuery): Promise; getPersonById(id: string): Promise; createPerson(input: CreatePersonInput, admitted: ToolHandlerActionPolicyContext): Promise; updatePerson(input: UpdatePersonInput): Promise; listOrganizations(query: OrganizationListQuery): Promise; getOrganizationById(id: string): Promise; createOrganization(input: CreateOrganizationInput, admitted: ToolHandlerActionPolicyContext): Promise; updateOrganization(input: UpdateOrganizationInput): Promise; listNotes(input: EntityArgs): Promise; addNote(input: AddNoteInput): Promise; updateNote(input: EditNoteInput): Promise; listContactMethods(input: EntityArgs): Promise; addContactMethod(input: AddContactMethodInput): Promise; updateContactMethod(input: EditContactMethodInput): Promise; listAddresses(input: EntityArgs): Promise; addAddress(input: AddAddressInput): Promise; updateAddress(input: EditAddressInput): Promise; } export type RelationshipsToolContext = ToolContext & { relationships?: RelationshipsToolServices; }; export declare const listPeopleTool: import("@voyant-travel/tools").ToolDefinition<{ limit: number; offset: number; sortBy: "status" | "createdAt" | "name" | "relation" | "updatedAt"; sortDir: "asc" | "desc"; organizationId?: string | undefined; ownerId?: string | undefined; relation?: "client" | "partner" | "supplier" | "other" | undefined; status?: "active" | "inactive" | "archived" | undefined; search?: string | undefined; }, { data: { id: string; status: "active" | "inactive" | "archived"; organizationId: string | null; createdAt: string; phone: string | null; website: string | null; source: string | null; email: string | null; relation: "client" | "partner" | "supplier" | "other" | null; ownerId: string | null; preferredLanguage: string | null; sourceRef: string | null; tags: string[]; customFields: Record>; notes: string | null; updatedAt: string; archivedAt: string | null; firstName: string; middleName: string | null; lastName: string; gender: string | null; jobTitle: string | null; preferredCurrency: string | null; dateOfBirth: string | null; }[]; total: number; limit: number; offset: number; }, RelationshipsToolContext>; export declare const getPersonTool: import("@voyant-travel/tools").ToolDefinition<{ id: string; }, { id: string; status: "active" | "inactive" | "archived"; organizationId: string | null; createdAt: string; phone: string | null; website: string | null; source: string | null; email: string | null; relation: "client" | "partner" | "supplier" | "other" | null; ownerId: string | null; preferredLanguage: string | null; sourceRef: string | null; tags: string[]; customFields: Record>; notes: string | null; updatedAt: string; archivedAt: string | null; firstName: string; middleName: string | null; lastName: string; gender: string | null; jobTitle: string | null; preferredCurrency: string | null; dateOfBirth: string | null; } | null, RelationshipsToolContext>; export declare const createPersonTool: import("@voyant-travel/tools").ToolDefinition<{ status: "active" | "inactive" | "archived"; website: string | null; tags: string[]; firstName: string; lastName: string; organizationId?: string | null | undefined; phone?: string | null | undefined; email?: string | null | undefined; relation?: "client" | "partner" | "supplier" | "other" | null | undefined; preferredLanguage?: string | null | undefined; notes?: string | null | undefined; middleName?: string | null | undefined; gender?: "M" | "F" | "X" | null | undefined; jobTitle?: string | null | undefined; preferredCurrency?: string | null | undefined; dateOfBirth?: string | null | undefined; allowDuplicateName?: boolean | undefined; idempotencyKey?: string | undefined; }, { status: "created"; person: { id: string; }; replayed: boolean; }, RelationshipsToolContext>; export declare const updatePersonTool: import("@voyant-travel/tools").ToolDefinition<{ id: string; status?: "active" | "inactive" | "archived" | undefined; organizationId?: string | null | undefined; phone?: string | null | undefined; website?: string | null | undefined; email?: string | null | undefined; relation?: "client" | "partner" | "supplier" | "other" | null | undefined; preferredLanguage?: string | null | undefined; tags?: string[] | undefined; notes?: string | null | undefined; firstName?: string | undefined; middleName?: string | null | undefined; lastName?: string | undefined; gender?: "M" | "F" | "X" | null | undefined; jobTitle?: string | null | undefined; preferredCurrency?: string | null | undefined; dateOfBirth?: string | null | undefined; }, { id: string; status: "active" | "inactive" | "archived"; organizationId: string | null; createdAt: string; phone: string | null; website: string | null; source: string | null; email: string | null; relation: "client" | "partner" | "supplier" | "other" | null; ownerId: string | null; preferredLanguage: string | null; sourceRef: string | null; tags: string[]; customFields: Record>; notes: string | null; updatedAt: string; archivedAt: string | null; firstName: string; middleName: string | null; lastName: string; gender: string | null; jobTitle: string | null; preferredCurrency: string | null; dateOfBirth: string | null; } | null, RelationshipsToolContext>; export declare const listOrganizationsTool: import("@voyant-travel/tools").ToolDefinition<{ sortBy: "status" | "createdAt" | "name" | "industry" | "relation" | "updatedAt"; sortDir: "asc" | "desc"; limit: number; offset: number; ownerId?: string | undefined; relation?: "client" | "partner" | "supplier" | "other" | undefined; status?: "active" | "inactive" | "archived" | undefined; search?: string | undefined; taxId?: string | undefined; tax_id?: string | undefined; vatNumber?: string | undefined; }, { data: { id: string; name: string; legalName: string | null; website: string | null; taxId: string | null; industry: string | null; relation: "client" | "partner" | "supplier" | "other" | null; ownerId: string | null; defaultCurrency: string | null; preferredLanguage: string | null; paymentTerms: number | null; status: "active" | "inactive" | "archived"; source: string | null; sourceRef: string | null; tags: string[]; customFields: Record>; notes: string | null; createdAt: string; updatedAt: string; archivedAt: string | null; }[]; total: number; limit: number; offset: number; }, RelationshipsToolContext>; export declare const getOrganizationTool: import("@voyant-travel/tools").ToolDefinition<{ id: string; }, { id: string; name: string; legalName: string | null; website: string | null; taxId: string | null; industry: string | null; relation: "client" | "partner" | "supplier" | "other" | null; ownerId: string | null; defaultCurrency: string | null; preferredLanguage: string | null; paymentTerms: number | null; status: "active" | "inactive" | "archived"; source: string | null; sourceRef: string | null; tags: string[]; customFields: Record>; notes: string | null; createdAt: string; updatedAt: string; archivedAt: string | null; } | null, RelationshipsToolContext>; export declare const createOrganizationTool: import("@voyant-travel/tools").ToolDefinition<{ status: "active" | "inactive" | "archived"; name: string; website: string | null; taxId: string | null | undefined; tags: string[]; legalName?: string | null | undefined; industry?: string | null | undefined; relation?: "client" | "partner" | "supplier" | "other" | null | undefined; defaultCurrency?: string | null | undefined; preferredLanguage?: string | null | undefined; paymentTerms?: number | null | undefined; notes?: string | null | undefined; idempotencyKey?: string | undefined; vatNumber?: string | undefined; billingAddress?: { isPrimary: boolean; label: "service" | "other" | "meeting" | "primary" | "billing" | "shipping" | "mailing" | "legal"; notes?: string | null | undefined; fullText?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; city?: string | null | undefined; region?: string | null | undefined; postalCode?: string | null | undefined; country?: string | null | undefined; latitude?: number | null | undefined; longitude?: number | null | undefined; timezone?: string | null | undefined; } | undefined; }, { status: "created"; organization: { id: string; }; replayed: boolean; }, RelationshipsToolContext>; export declare const updateOrganizationTool: import("@voyant-travel/tools").ToolDefinition<{ id: string; status?: "active" | "inactive" | "archived" | undefined; name?: string | undefined; website?: string | null | undefined; legalName?: string | null | undefined; taxId?: string | null | undefined; industry?: string | null | undefined; relation?: "client" | "partner" | "supplier" | "other" | null | undefined; defaultCurrency?: string | null | undefined; preferredLanguage?: string | null | undefined; paymentTerms?: number | null | undefined; tags?: string[] | undefined; notes?: string | null | undefined; vatNumber?: string | undefined; }, { id: string; name: string; legalName: string | null; website: string | null; taxId: string | null; industry: string | null; relation: "client" | "partner" | "supplier" | "other" | null; ownerId: string | null; defaultCurrency: string | null; preferredLanguage: string | null; paymentTerms: number | null; status: "active" | "inactive" | "archived"; source: string | null; sourceRef: string | null; tags: string[]; customFields: Record>; notes: string | null; createdAt: string; updatedAt: string; archivedAt: string | null; } | null, RelationshipsToolContext>; export declare const listRelationshipNotesTool: import("@voyant-travel/tools").ToolDefinition<{ entityType: "person" | "organization"; entityId: string; }, ({ id: string; organizationId: string; authorId: string; content: string; createdAt: string; } | { id: string; personId: string; authorId: string; content: string; createdAt: string; })[], RelationshipsToolContext>; export declare const addPersonNoteTool: import("@voyant-travel/tools").ToolDefinition<{ entityId: string; } & { content: string; }, { id: string; organizationId: string; authorId: string; content: string; createdAt: string; } | { id: string; personId: string; authorId: string; content: string; createdAt: string; } | null, RelationshipsToolContext>; export declare const addOrganizationNoteTool: import("@voyant-travel/tools").ToolDefinition<{ entityId: string; } & { content: string; }, { id: string; organizationId: string; authorId: string; content: string; createdAt: string; } | { id: string; personId: string; authorId: string; content: string; createdAt: string; } | null, RelationshipsToolContext>; export declare const updateRelationshipNoteTool: import("@voyant-travel/tools").ToolDefinition<{ entityType: "person" | "organization"; id: string; content: string; }, { id: string; organizationId: string; authorId: string; content: string; createdAt: string; } | { id: string; personId: string; authorId: string; content: string; createdAt: string; } | null, RelationshipsToolContext>; export declare const listRelationshipContactMethodsTool: import("@voyant-travel/tools").ToolDefinition<{ entityType: "person" | "organization"; entityId: string; }, { id: string; entityType: string; entityId: string; kind: string; label: string | null; value: string; normalizedValue: string | null; isPrimary: boolean; notes: string | null; metadata: Record | null; createdAt: string; updatedAt: string; }[], RelationshipsToolContext>; export declare const addPersonContactMethodTool: import("@voyant-travel/tools").ToolDefinition<{ entityId: string; } & { value: string; isPrimary: boolean; kind: "phone" | "website" | "other" | "email" | "whatsapp" | "sms" | "mobile" | "fax" | "social"; notes?: string | null | undefined; label?: string | null | undefined; }, { id: string; entityType: string; entityId: string; kind: string; label: string | null; value: string; normalizedValue: string | null; isPrimary: boolean; notes: string | null; metadata: Record | null; createdAt: string; updatedAt: string; } | null, RelationshipsToolContext>; export declare const addOrganizationContactMethodTool: import("@voyant-travel/tools").ToolDefinition<{ entityId: string; } & { value: string; isPrimary: boolean; kind: "phone" | "website" | "other" | "email" | "whatsapp" | "sms" | "mobile" | "fax" | "social"; notes?: string | null | undefined; label?: string | null | undefined; }, { id: string; entityType: string; entityId: string; kind: string; label: string | null; value: string; normalizedValue: string | null; isPrimary: boolean; notes: string | null; metadata: Record | null; createdAt: string; updatedAt: string; } | null, RelationshipsToolContext>; export declare const updateRelationshipContactMethodTool: import("@voyant-travel/tools").ToolDefinition<{ id: string; value?: string | undefined; notes?: string | null | undefined; isPrimary?: boolean | undefined; kind?: "phone" | "website" | "other" | "email" | "whatsapp" | "sms" | "mobile" | "fax" | "social" | undefined; label?: string | null | undefined; }, { id: string; entityType: string; entityId: string; kind: string; label: string | null; value: string; normalizedValue: string | null; isPrimary: boolean; notes: string | null; metadata: Record | null; createdAt: string; updatedAt: string; } | null, RelationshipsToolContext>; export declare const listRelationshipAddressesTool: import("@voyant-travel/tools").ToolDefinition<{ entityType: "person" | "organization"; entityId: string; }, { id: string; entityType: string; entityId: string; label: string; fullText: string | null; line1: string | null; line2: string | null; city: string | null; region: string | null; postalCode: string | null; country: string | null; latitude: number | null; longitude: number | null; timezone: string | null; isPrimary: boolean; notes: string | null; metadata: Record | null; createdAt: string; updatedAt: string; }[], RelationshipsToolContext>; export declare const addPersonAddressTool: import("@voyant-travel/tools").ToolDefinition<{ entityId: string; } & { isPrimary: boolean; label: "service" | "other" | "meeting" | "primary" | "billing" | "shipping" | "mailing" | "legal"; notes?: string | null | undefined; fullText?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; city?: string | null | undefined; region?: string | null | undefined; postalCode?: string | null | undefined; country?: string | null | undefined; latitude?: number | null | undefined; longitude?: number | null | undefined; timezone?: string | null | undefined; }, { id: string; entityType: string; entityId: string; label: string; fullText: string | null; line1: string | null; line2: string | null; city: string | null; region: string | null; postalCode: string | null; country: string | null; latitude: number | null; longitude: number | null; timezone: string | null; isPrimary: boolean; notes: string | null; metadata: Record | null; createdAt: string; updatedAt: string; } | null, RelationshipsToolContext>; export declare const addOrganizationAddressTool: import("@voyant-travel/tools").ToolDefinition<{ entityId: string; } & { isPrimary: boolean; label: "service" | "other" | "meeting" | "primary" | "billing" | "shipping" | "mailing" | "legal"; notes?: string | null | undefined; fullText?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; city?: string | null | undefined; region?: string | null | undefined; postalCode?: string | null | undefined; country?: string | null | undefined; latitude?: number | null | undefined; longitude?: number | null | undefined; timezone?: string | null | undefined; }, { id: string; entityType: string; entityId: string; label: string; fullText: string | null; line1: string | null; line2: string | null; city: string | null; region: string | null; postalCode: string | null; country: string | null; latitude: number | null; longitude: number | null; timezone: string | null; isPrimary: boolean; notes: string | null; metadata: Record | null; createdAt: string; updatedAt: string; } | null, RelationshipsToolContext>; export declare const updateRelationshipAddressTool: import("@voyant-travel/tools").ToolDefinition<{ id: string; notes?: string | null | undefined; isPrimary?: boolean | undefined; label?: "service" | "other" | "meeting" | "primary" | "billing" | "shipping" | "mailing" | "legal" | undefined; fullText?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; city?: string | null | undefined; region?: string | null | undefined; postalCode?: string | null | undefined; country?: string | null | undefined; latitude?: number | null | undefined; longitude?: number | null | undefined; timezone?: string | null | undefined; }, { id: string; entityType: string; entityId: string; label: string; fullText: string | null; line1: string | null; line2: string | null; city: string | null; region: string | null; postalCode: string | null; country: string | null; latitude: number | null; longitude: number | null; timezone: string | null; isPrimary: boolean; notes: string | null; metadata: Record | null; createdAt: string; updatedAt: string; } | null, RelationshipsToolContext>; export declare const relationshipsTools: readonly [import("@voyant-travel/tools").ToolDefinition<{ limit: number; offset: number; sortBy: "status" | "createdAt" | "name" | "relation" | "updatedAt"; sortDir: "asc" | "desc"; organizationId?: string | undefined; ownerId?: string | undefined; relation?: "client" | "partner" | "supplier" | "other" | undefined; status?: "active" | "inactive" | "archived" | undefined; search?: string | undefined; }, { data: { id: string; status: "active" | "inactive" | "archived"; organizationId: string | null; createdAt: string; phone: string | null; website: string | null; source: string | null; email: string | null; relation: "client" | "partner" | "supplier" | "other" | null; ownerId: string | null; preferredLanguage: string | null; sourceRef: string | null; tags: string[]; customFields: Record>; notes: string | null; updatedAt: string; archivedAt: string | null; firstName: string; middleName: string | null; lastName: string; gender: string | null; jobTitle: string | null; preferredCurrency: string | null; dateOfBirth: string | null; }[]; total: number; limit: number; offset: number; }, RelationshipsToolContext>, import("@voyant-travel/tools").ToolDefinition<{ id: string; }, { id: string; status: "active" | "inactive" | "archived"; organizationId: string | null; createdAt: string; phone: string | null; website: string | null; source: string | null; email: string | null; relation: "client" | "partner" | "supplier" | "other" | null; ownerId: string | null; preferredLanguage: string | null; sourceRef: string | null; tags: string[]; customFields: Record>; notes: string | null; updatedAt: string; archivedAt: string | null; firstName: string; middleName: string | null; lastName: string; gender: string | null; jobTitle: string | null; preferredCurrency: string | null; dateOfBirth: string | null; } | null, RelationshipsToolContext>, import("@voyant-travel/tools").ToolDefinition<{ status: "active" | "inactive" | "archived"; website: string | null; tags: string[]; firstName: string; lastName: string; organizationId?: string | null | undefined; phone?: string | null | undefined; email?: string | null | undefined; relation?: "client" | "partner" | "supplier" | "other" | null | undefined; preferredLanguage?: string | null | undefined; notes?: string | null | undefined; middleName?: string | null | undefined; gender?: "M" | "F" | "X" | null | undefined; jobTitle?: string | null | undefined; preferredCurrency?: string | null | undefined; dateOfBirth?: string | null | undefined; allowDuplicateName?: boolean | undefined; idempotencyKey?: string | undefined; }, { status: "created"; person: { id: string; }; replayed: boolean; }, RelationshipsToolContext>, import("@voyant-travel/tools").ToolDefinition<{ id: string; status?: "active" | "inactive" | "archived" | undefined; organizationId?: string | null | undefined; phone?: string | null | undefined; website?: string | null | undefined; email?: string | null | undefined; relation?: "client" | "partner" | "supplier" | "other" | null | undefined; preferredLanguage?: string | null | undefined; tags?: string[] | undefined; notes?: string | null | undefined; firstName?: string | undefined; middleName?: string | null | undefined; lastName?: string | undefined; gender?: "M" | "F" | "X" | null | undefined; jobTitle?: string | null | undefined; preferredCurrency?: string | null | undefined; dateOfBirth?: string | null | undefined; }, { id: string; status: "active" | "inactive" | "archived"; organizationId: string | null; createdAt: string; phone: string | null; website: string | null; source: string | null; email: string | null; relation: "client" | "partner" | "supplier" | "other" | null; ownerId: string | null; preferredLanguage: string | null; sourceRef: string | null; tags: string[]; customFields: Record>; notes: string | null; updatedAt: string; archivedAt: string | null; firstName: string; middleName: string | null; lastName: string; gender: string | null; jobTitle: string | null; preferredCurrency: string | null; dateOfBirth: string | null; } | null, RelationshipsToolContext>, import("@voyant-travel/tools").ToolDefinition<{ sortBy: "status" | "createdAt" | "name" | "industry" | "relation" | "updatedAt"; sortDir: "asc" | "desc"; limit: number; offset: number; ownerId?: string | undefined; relation?: "client" | "partner" | "supplier" | "other" | undefined; status?: "active" | "inactive" | "archived" | undefined; search?: string | undefined; taxId?: string | undefined; tax_id?: string | undefined; vatNumber?: string | undefined; }, { data: { id: string; name: string; legalName: string | null; website: string | null; taxId: string | null; industry: string | null; relation: "client" | "partner" | "supplier" | "other" | null; ownerId: string | null; defaultCurrency: string | null; preferredLanguage: string | null; paymentTerms: number | null; status: "active" | "inactive" | "archived"; source: string | null; sourceRef: string | null; tags: string[]; customFields: Record>; notes: string | null; createdAt: string; updatedAt: string; archivedAt: string | null; }[]; total: number; limit: number; offset: number; }, RelationshipsToolContext>, import("@voyant-travel/tools").ToolDefinition<{ id: string; }, { id: string; name: string; legalName: string | null; website: string | null; taxId: string | null; industry: string | null; relation: "client" | "partner" | "supplier" | "other" | null; ownerId: string | null; defaultCurrency: string | null; preferredLanguage: string | null; paymentTerms: number | null; status: "active" | "inactive" | "archived"; source: string | null; sourceRef: string | null; tags: string[]; customFields: Record>; notes: string | null; createdAt: string; updatedAt: string; archivedAt: string | null; } | null, RelationshipsToolContext>, import("@voyant-travel/tools").ToolDefinition<{ status: "active" | "inactive" | "archived"; name: string; website: string | null; taxId: string | null | undefined; tags: string[]; legalName?: string | null | undefined; industry?: string | null | undefined; relation?: "client" | "partner" | "supplier" | "other" | null | undefined; defaultCurrency?: string | null | undefined; preferredLanguage?: string | null | undefined; paymentTerms?: number | null | undefined; notes?: string | null | undefined; idempotencyKey?: string | undefined; vatNumber?: string | undefined; billingAddress?: { isPrimary: boolean; label: "service" | "other" | "meeting" | "primary" | "billing" | "shipping" | "mailing" | "legal"; notes?: string | null | undefined; fullText?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; city?: string | null | undefined; region?: string | null | undefined; postalCode?: string | null | undefined; country?: string | null | undefined; latitude?: number | null | undefined; longitude?: number | null | undefined; timezone?: string | null | undefined; } | undefined; }, { status: "created"; organization: { id: string; }; replayed: boolean; }, RelationshipsToolContext>, import("@voyant-travel/tools").ToolDefinition<{ id: string; status?: "active" | "inactive" | "archived" | undefined; name?: string | undefined; website?: string | null | undefined; legalName?: string | null | undefined; taxId?: string | null | undefined; industry?: string | null | undefined; relation?: "client" | "partner" | "supplier" | "other" | null | undefined; defaultCurrency?: string | null | undefined; preferredLanguage?: string | null | undefined; paymentTerms?: number | null | undefined; tags?: string[] | undefined; notes?: string | null | undefined; vatNumber?: string | undefined; }, { id: string; name: string; legalName: string | null; website: string | null; taxId: string | null; industry: string | null; relation: "client" | "partner" | "supplier" | "other" | null; ownerId: string | null; defaultCurrency: string | null; preferredLanguage: string | null; paymentTerms: number | null; status: "active" | "inactive" | "archived"; source: string | null; sourceRef: string | null; tags: string[]; customFields: Record>; notes: string | null; createdAt: string; updatedAt: string; archivedAt: string | null; } | null, RelationshipsToolContext>, import("@voyant-travel/tools").ToolDefinition<{ entityType: "person" | "organization"; entityId: string; }, ({ id: string; organizationId: string; authorId: string; content: string; createdAt: string; } | { id: string; personId: string; authorId: string; content: string; createdAt: string; })[], RelationshipsToolContext>, import("@voyant-travel/tools").ToolDefinition<{ entityId: string; } & { content: string; }, { id: string; organizationId: string; authorId: string; content: string; createdAt: string; } | { id: string; personId: string; authorId: string; content: string; createdAt: string; } | null, RelationshipsToolContext>, import("@voyant-travel/tools").ToolDefinition<{ entityId: string; } & { content: string; }, { id: string; organizationId: string; authorId: string; content: string; createdAt: string; } | { id: string; personId: string; authorId: string; content: string; createdAt: string; } | null, RelationshipsToolContext>, import("@voyant-travel/tools").ToolDefinition<{ entityType: "person" | "organization"; id: string; content: string; }, { id: string; organizationId: string; authorId: string; content: string; createdAt: string; } | { id: string; personId: string; authorId: string; content: string; createdAt: string; } | null, RelationshipsToolContext>, import("@voyant-travel/tools").ToolDefinition<{ entityType: "person" | "organization"; entityId: string; }, { id: string; entityType: string; entityId: string; kind: string; label: string | null; value: string; normalizedValue: string | null; isPrimary: boolean; notes: string | null; metadata: Record | null; createdAt: string; updatedAt: string; }[], RelationshipsToolContext>, import("@voyant-travel/tools").ToolDefinition<{ entityId: string; } & { value: string; isPrimary: boolean; kind: "phone" | "website" | "other" | "email" | "whatsapp" | "sms" | "mobile" | "fax" | "social"; notes?: string | null | undefined; label?: string | null | undefined; }, { id: string; entityType: string; entityId: string; kind: string; label: string | null; value: string; normalizedValue: string | null; isPrimary: boolean; notes: string | null; metadata: Record | null; createdAt: string; updatedAt: string; } | null, RelationshipsToolContext>, import("@voyant-travel/tools").ToolDefinition<{ entityId: string; } & { value: string; isPrimary: boolean; kind: "phone" | "website" | "other" | "email" | "whatsapp" | "sms" | "mobile" | "fax" | "social"; notes?: string | null | undefined; label?: string | null | undefined; }, { id: string; entityType: string; entityId: string; kind: string; label: string | null; value: string; normalizedValue: string | null; isPrimary: boolean; notes: string | null; metadata: Record | null; createdAt: string; updatedAt: string; } | null, RelationshipsToolContext>, import("@voyant-travel/tools").ToolDefinition<{ id: string; value?: string | undefined; notes?: string | null | undefined; isPrimary?: boolean | undefined; kind?: "phone" | "website" | "other" | "email" | "whatsapp" | "sms" | "mobile" | "fax" | "social" | undefined; label?: string | null | undefined; }, { id: string; entityType: string; entityId: string; kind: string; label: string | null; value: string; normalizedValue: string | null; isPrimary: boolean; notes: string | null; metadata: Record | null; createdAt: string; updatedAt: string; } | null, RelationshipsToolContext>, import("@voyant-travel/tools").ToolDefinition<{ entityType: "person" | "organization"; entityId: string; }, { id: string; entityType: string; entityId: string; label: string; fullText: string | null; line1: string | null; line2: string | null; city: string | null; region: string | null; postalCode: string | null; country: string | null; latitude: number | null; longitude: number | null; timezone: string | null; isPrimary: boolean; notes: string | null; metadata: Record | null; createdAt: string; updatedAt: string; }[], RelationshipsToolContext>, import("@voyant-travel/tools").ToolDefinition<{ entityId: string; } & { isPrimary: boolean; label: "service" | "other" | "meeting" | "primary" | "billing" | "shipping" | "mailing" | "legal"; notes?: string | null | undefined; fullText?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; city?: string | null | undefined; region?: string | null | undefined; postalCode?: string | null | undefined; country?: string | null | undefined; latitude?: number | null | undefined; longitude?: number | null | undefined; timezone?: string | null | undefined; }, { id: string; entityType: string; entityId: string; label: string; fullText: string | null; line1: string | null; line2: string | null; city: string | null; region: string | null; postalCode: string | null; country: string | null; latitude: number | null; longitude: number | null; timezone: string | null; isPrimary: boolean; notes: string | null; metadata: Record | null; createdAt: string; updatedAt: string; } | null, RelationshipsToolContext>, import("@voyant-travel/tools").ToolDefinition<{ entityId: string; } & { isPrimary: boolean; label: "service" | "other" | "meeting" | "primary" | "billing" | "shipping" | "mailing" | "legal"; notes?: string | null | undefined; fullText?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; city?: string | null | undefined; region?: string | null | undefined; postalCode?: string | null | undefined; country?: string | null | undefined; latitude?: number | null | undefined; longitude?: number | null | undefined; timezone?: string | null | undefined; }, { id: string; entityType: string; entityId: string; label: string; fullText: string | null; line1: string | null; line2: string | null; city: string | null; region: string | null; postalCode: string | null; country: string | null; latitude: number | null; longitude: number | null; timezone: string | null; isPrimary: boolean; notes: string | null; metadata: Record | null; createdAt: string; updatedAt: string; } | null, RelationshipsToolContext>, import("@voyant-travel/tools").ToolDefinition<{ id: string; notes?: string | null | undefined; isPrimary?: boolean | undefined; label?: "service" | "other" | "meeting" | "primary" | "billing" | "shipping" | "mailing" | "legal" | undefined; fullText?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; city?: string | null | undefined; region?: string | null | undefined; postalCode?: string | null | undefined; country?: string | null | undefined; latitude?: number | null | undefined; longitude?: number | null | undefined; timezone?: string | null | undefined; }, { id: string; entityType: string; entityId: string; label: string; fullText: string | null; line1: string | null; line2: string | null; city: string | null; region: string | null; postalCode: string | null; country: string | null; latitude: number | null; longitude: number | null; timezone: string | null; isPrimary: boolean; notes: string | null; metadata: Record | null; createdAt: string; updatedAt: string; } | null, RelationshipsToolContext>]; export {};