Create a new Templates instance.
Function for making API requests
Create a new template.
Parameters for the template to create
Promise with the created template
Delete a template.
The template ID to delete
Promise with the deleted template's ID
Get a single template by its ID.
The template ID
Optional parameters for field selection
Promise with the template details
Get the blueprint (scenario definition) for a template by its ID.
The template ID
Optional parameters, e.g. whether the blueprint is being fetched for use
Promise with the full blueprint envelope
List templates, optionally scoped to a team and filtered by apps used or public status.
Optional parameters for filtering and pagination
Promise with the list of templates
Update a template.
The template ID to update
Parameters to update in the template
Promise with the updated template
Class providing methods for working with a team's own saved templates. Templates are usable as a reference or copied into new scenarios.