import { APIResource } from "../core/resource.js"; import { APIPromise } from "../core/api-promise.js"; import { RequestOptions } from "../internal/request-options.js"; export declare class Tags extends APIResource { /** * Create a new tag */ create(body: TagCreateParams, options?: RequestOptions): APIPromise; /** * Get a tag by its ID */ retrieve(id: string, options?: RequestOptions): APIPromise; /** * Update an existing tag */ update(id: string, body: TagUpdateParams, options?: RequestOptions): APIPromise; /** * Get all tags */ list(options?: RequestOptions): APIPromise; /** * Delete an existing tag */ delete(id: string, options?: RequestOptions): APIPromise; } export interface TagCreateParams { /** * The object type of the associated object */ object_type: 'account' | 'issue' | 'contact'; /** * The tag value */ value: string; /** * The hex code of the tag's color */ color?: string; } export interface TagUpdateParams { /** * The hex code of the tag's color */ color?: string; /** * The name of the tag */ name?: string; } export declare namespace Tags { export { type TagCreateParams as TagCreateParams, type TagUpdateParams as TagUpdateParams }; } //# sourceMappingURL=tags.d.ts.map