Interface: Api
Entry point for matter types to Smokeball.Methods
get()
get(Gets the matter type of the matter associated to the current context or the specified matter type id if provided.matterTypeId?):Promise<MatterType>
Parameters
matterTypeId?
string
the matter to retrieve, use null to get matter type of the matter in the current context.
Returns
Promise<MatterType>
the specified matter type.
Example
getMany()
getMany(Get matter types associated with matter type ids provided.request):Promise<GetMatterTypesResponse>
Parameters
request
GetMatterTypesRequest
set optional filters for matter types to retrieve.
Returns
Promise<GetMatterTypesResponse>
specified matter types.
Example
select()
select(Opens a matter type picker to multi-select matter types. Returns the selected matter type ids.request):Promise<string[]>
Parameters
request
SelectMatterTypesRequest
set default location for matter types picker.
Returns
Promise<string[]>
selected matter types.