UNPKG

n8n-nodes-warmr

Version:
9 lines (8 loc) 578 B
import type { Contact, ContactInput, ContactSearchQuery, PaginatedResponse } from "../types/contact.types"; export declare class ContactsService { static getContacts(query: ContactSearchQuery, apiKey: string): Promise<PaginatedResponse<Contact>>; static getContact(uuid: string, apiKey: string): Promise<Contact>; static createContact(data: ContactInput, apiKey: string): Promise<Contact>; static updateContact(uuid: string, data: Partial<ContactInput>, apiKey: string): Promise<Contact>; static deleteContact(uuid: string, apiKey: string): Promise<void>; }