Properties
Get metadata properties by object type
client.prism.properties.list("comment" | "deal" | "engagement" | 9 moreobjectType, PropertyListParams { teamId, autofill, include_options, 2 more } params?, RequestOptionsoptions?): PropertyListResponse
GET/v2/prism/{teamId}/{objectType}/properties
Get metadata properties
client.prism.properties.listAll(PropertyListAllParams { teamId, autofill, include_options, 2 more } params?, RequestOptionsoptions?): PropertyListAllResponse
GET/v2/prism/{teamId}/properties
Create a property definition
client.prism.properties.create("comment" | "deal" | "engagement" | 9 moreobjectType, PropertyCreateParams { teamId, name, type, 7 more } params, RequestOptionsoptions?): PropertyDefinition { id, slug, type, 10 more }
POST/v2/prism/{teamId}/{objectType}/properties
Update a property definition
client.prism.properties.update(stringpropertyID, PropertyUpdateParams { teamId, objectType, type, 6 more } params, RequestOptionsoptions?): PropertyDefinition { id, slug, type, 10 more }
PATCH/v2/prism/{teamId}/{objectType}/properties/{propertyId}
Delete a property definition
client.prism.properties.delete(stringpropertyID, PropertyDeleteParams { teamId, objectType, type, list_id } params, RequestOptionsoptions?): void
DELETE/v2/prism/{teamId}/{objectType}/properties/{propertyId}
Models
PropertiesOptions
Add an option to a select property
client.prism.properties.options.create(stringpropertyID, OptionCreateParams { teamId, objectType, type, 9 more } params, RequestOptionsoptions?): PropertyOption { id, slug, color_scheme, 7 more }
POST/v2/prism/{teamId}/{objectType}/properties/{propertyId}/options
Update a property option
client.prism.properties.options.update(stringoptionID, OptionUpdateParams { teamId, objectType, propertyId, 11 more } params, RequestOptionsoptions?): PropertyOption { id, slug, color_scheme, 7 more }
PATCH/v2/prism/{teamId}/{objectType}/properties/{propertyId}/options/{optionId}
Delete a property option
client.prism.properties.options.delete(stringoptionID, OptionDeleteParams { teamId, objectType, propertyId, 2 more } params, RequestOptionsoptions?): void
DELETE/v2/prism/{teamId}/{objectType}/properties/{propertyId}/options/{optionId}