class LeadsAttributes
extends Service
import { LeadsAttributes } from "https://deno.land/x/tombaio@1.0.0/src/services/leads-attributes.ts";
Methods
createLeadAttribute<T extends unknown>(): Promise<T>
Create Lead Attribute
Create a new Attributes with the name and type request parameter.
deleteLeadAttribute<T extends unknown>(id: string): Promise<T>
Delete Lead Attribute
Delete a specific Attributes by passing id.
getLeadAttributes<T extends unknown>(): Promise<T>
Get Lead Attributes
Returns a list of Lead Attributes.
updateLeadAttribute<T extends unknown>(id: string): Promise<T>
Update Lead Attribute
Update the fields of a Attributes using id.