Module

JobOffer

Members

Object.<Sequelize.models>

# inner constant models

Sequelize models

View Source api/interfaces/JobOffer.js, line 13

Methods

# async inner add(newJobOffer, attachementsopt) → {Promise.<APIResp>}

Add a new job offer

Parameters:
Name Type Attributes Description
newJobOffer NewJobOffer
attachements Array.<MulterFile> <optional>

View Source api/interfaces/JobOffer.js, line 58

APIError
Promise.<APIResp>

# async inner getAll(filtersopt) → {Promise.<APIResp>}

Get all job offers

Parameters:
Name Type Attributes Default Description
filters null | JobOfferFilters <optional>
null

View Source api/interfaces/JobOffer.js, line 101

APIError
Promise.<APIResp>

# async inner getByID(jobOfferID) → {Promise.<APIResp>}

Get a job offer by its id

Parameters:
Name Type Description
jobOfferID number

View Source api/interfaces/JobOffer.js, line 139

APIError
Promise.<APIResp>

Type Definitions

Object

# JobOfferFilters

Properties:
Name Type Description
expired "true" | "false"

View Source api/interfaces/JobOffer.js, line 33

Object

# NewJobOffer

Properties:
Name Type Attributes Description
job_domains Array.<number> <optional>
title string
company_name string
city string <optional>
postal_code string <optional>
content string <optional>
expiration_date string <optional>

View Source api/interfaces/JobOffer.js, line 21