Candidate sources
List all candidate sources
const sources = await ft.candidateSources.list();
- Returns a
Response
object that resolves to an Array
of Freshteam.models.Source
objects
Create a candidate source
const newSource = await ft.candidateSources.create(source);
- Returns a
Response
object that resolves to a Freshteam.models.Source
object - The first argument is of type
Freshteam.models.SourceCreate
List candidate source categories
const categories = await ft.candidateSources.listCategories();
- Returns a
Response
object that resolves to an Array
of Freshteam.models.SourceCategory
objects