Skip to content

[Ready Release] Gigs apply integration API Update #5759

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 1, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ workflows:
filters:
branches:
only:
- gigs-apply-integration
- develop
# This is alternate dev env for parallel testing
- "build-test":
context : org-global
Expand Down
7 changes: 7 additions & 0 deletions docs/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,13 @@ components:
description: "The availability of the user"
default: true
example: true
skill:
type: string
description: "The candidate's skills separated via ,"
example: "Java,Angular,SQL Server,JavaScript"
salaryExpectation:
type: integer
description: "The candidate expected salary"
hasProfile:
type: boolean
description: "Whether has profile for the user"
Expand Down
2 changes: 2 additions & 0 deletions src/server/services/recruitCRM.js
Original file line number Diff line number Diff line change
Expand Up @@ -635,6 +635,8 @@ export default class RecruitCRMService {
const responseMapping = {
hasProfile: true,
phone: candidate.contact_number,
salaryExpectation: candidate.salary_expectation,
skill: candidate.skill,
resume: candidate.resume,
availability: _.isNil(candidate.available_from) ? true
: new Date(candidate.available_from) <= new Date(),
Expand Down