import type { ContactTag, CreateContactTagInput, ListContactTagsQuery, Paginated, UpdateContactTagInput } from '../../types'; import type { HttpClient } from '../../http'; /** * Contact tags: the labels a contact can carry. A tag is its own resource -- * `contacts.update` takes tag ids, and a contact reads back with the full tag * documents resolved into `contact.tags`. */ export declare class ContactTags { private readonly http; constructor(http: HttpClient); /** * `GET /v1/audience/contact-tags` -- offset paginated. `search` matches the * tag name. * * Scope: `contact_tags:read`. */ list(query?: Partial): Promise>; /** * `GET /v1/audience/contact-tags/:id`. 404 `not_found` if the tag is not the * caller's. * * Scope: `contact_tags:read`. */ get(id: string): Promise; /** * `POST /v1/audience/contact-tags` -- 201 with the created tag. * * Scope: `contact_tags:write`. */ create(input: CreateContactTagInput): Promise; /** * `PATCH /v1/audience/contact-tags/:id` -- a partial update. * * Scope: `contact_tags:write`. */ update(id: string, input: UpdateContactTagInput): Promise; /** * `DELETE /v1/audience/contact-tags/:id` -- 204, no body. * * Scope: `contact_tags:write`. */ delete(id: string): Promise; }