-
-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: ATS integration - greenhouse, lever (#586)
feat: ATS integration -GREENHOUSE, LEVER
- Loading branch information
Showing
48 changed files
with
5,630 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,121 @@ | ||
imports: | ||
errors: ../common/errors.yml | ||
types: ../common/types.yml | ||
unified: ../common/unified.yml | ||
|
||
types: | ||
GetCandidateResponse: | ||
properties: | ||
status: types.ResponseStatus | ||
result: unknown | ||
GetCandidatesResponse: | ||
properties: | ||
status: types.ResponseStatus | ||
next: optional<string> | ||
previous: optional<string> | ||
results: unknown | ||
CreateOrUpdateCandidateRequest: unknown | ||
CreateOrUpdateCandidateResponse: | ||
properties: | ||
status: types.ResponseStatus | ||
message: string | ||
result: unknown | ||
|
||
DeleteCandidateResponse: | ||
properties: | ||
status: types.ResponseStatus | ||
message: string | ||
|
||
service: | ||
base-path: /ats/candidates | ||
auth: false | ||
headers: | ||
x-revert-api-token: | ||
type: string | ||
docs: Your official API key for accessing revert apis. | ||
x-revert-t-id: | ||
type: string | ||
docs: The unique customer id used when the customer linked their account. | ||
x-api-version: | ||
type: optional<string> | ||
docs: Optional Revert API version you're using. If missing we default to the latest version of the API. | ||
audiences: | ||
- external | ||
endpoints: | ||
getCandidate: | ||
docs: Get details of a candidate. | ||
method: GET | ||
path: /{id} | ||
path-parameters: | ||
id: | ||
type: string | ||
docs: The unique `id` of the candidate. | ||
request: | ||
name: GetCandidateRequest | ||
query-parameters: | ||
fields: optional<string> | ||
response: GetCandidateResponse | ||
errors: | ||
- errors.UnAuthorizedError | ||
- errors.InternalServerError | ||
- errors.NotFoundError | ||
getCandidates: | ||
docs: Get all the Candidates. | ||
method: GET | ||
path: '' | ||
request: | ||
name: GetCandidatesRequest | ||
query-parameters: | ||
fields: optional<string> | ||
pageSize: optional<string> | ||
cursor: optional<string> | ||
response: GetCandidatesResponse | ||
errors: | ||
- errors.UnAuthorizedError | ||
- errors.InternalServerError | ||
- errors.NotFoundError | ||
createCandidate: | ||
docs: Create a new Candidate | ||
method: POST | ||
path: '' | ||
request: | ||
name: CreateCandidateRequest | ||
body: CreateOrUpdateCandidateRequest | ||
query-parameters: | ||
fields: optional<string> | ||
response: CreateOrUpdateCandidateResponse | ||
errors: | ||
- errors.UnAuthorizedError | ||
- errors.InternalServerError | ||
- errors.NotFoundError | ||
updateCandidate: | ||
docs: Update a Candidate | ||
method: PATCH | ||
path: /{id} | ||
path-parameters: | ||
id: string | ||
request: | ||
name: UpdateCandidateRequest | ||
body: CreateOrUpdateCandidateRequest | ||
query-parameters: | ||
fields: optional<string> | ||
response: CreateOrUpdateCandidateResponse | ||
errors: | ||
- errors.UnAuthorizedError | ||
- errors.InternalServerError | ||
- errors.NotFoundError | ||
deleteCandidate: | ||
docs: Delete details of an Candidate | ||
method: DELETE | ||
path: /{id} | ||
path-parameters: | ||
id: string | ||
request: | ||
name: DeleteCandidateRequest | ||
query-parameters: | ||
fields: optional<string> | ||
response: DeleteCandidateResponse | ||
errors: | ||
- errors.UnAuthorizedError | ||
- errors.InternalServerError | ||
- errors.NotFoundError |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,120 @@ | ||
imports: | ||
errors: ../common/errors.yml | ||
types: ../common/types.yml | ||
unified: ../common/unified.yml | ||
|
||
types: | ||
GetDepartmentResponse: | ||
properties: | ||
status: types.ResponseStatus | ||
result: unknown | ||
GetDepartmentsResponse: | ||
properties: | ||
status: types.ResponseStatus | ||
next: optional<string> | ||
previous: optional<string> | ||
results: unknown | ||
CreateOrUpdateDepartmentRequest: unknown | ||
CreateOrUpdateDepartmentResponse: | ||
properties: | ||
status: types.ResponseStatus | ||
message: string | ||
result: unknown | ||
|
||
DeleteDepartmentResponse: | ||
properties: | ||
status: types.ResponseStatus | ||
message: string | ||
service: | ||
base-path: /ats/departments | ||
auth: false | ||
headers: | ||
x-revert-api-token: | ||
type: string | ||
docs: Your official API key for accessing revert apis. | ||
x-revert-t-id: | ||
type: string | ||
docs: The unique customer id used when the customer linked their account. | ||
x-api-version: | ||
type: optional<string> | ||
docs: Optional Revert API version you're using. If missing we default to the latest version of the API. | ||
audiences: | ||
- external | ||
endpoints: | ||
getDepartment: | ||
docs: Get details of a department. | ||
method: GET | ||
path: /{id} | ||
path-parameters: | ||
id: | ||
type: string | ||
docs: The unique `id` of the department. | ||
request: | ||
name: GetDepartmentRequest | ||
query-parameters: | ||
fields: optional<string> | ||
response: GetDepartmentResponse | ||
errors: | ||
- errors.UnAuthorizedError | ||
- errors.InternalServerError | ||
- errors.NotFoundError | ||
getDepartments: | ||
docs: Get all the departments. | ||
method: GET | ||
path: '' | ||
request: | ||
name: GetDepartmentsRequest | ||
query-parameters: | ||
fields: optional<string> | ||
pageSize: optional<string> | ||
cursor: optional<string> | ||
response: GetDepartmentsResponse | ||
errors: | ||
- errors.UnAuthorizedError | ||
- errors.InternalServerError | ||
- errors.NotFoundError | ||
createDepartment: | ||
docs: Create a new Department | ||
method: POST | ||
path: '' | ||
request: | ||
name: CreateDepartmentRequest | ||
body: CreateOrUpdateDepartmentRequest | ||
query-parameters: | ||
fields: optional<string> | ||
response: CreateOrUpdateDepartmentResponse | ||
errors: | ||
- errors.UnAuthorizedError | ||
- errors.InternalServerError | ||
- errors.NotFoundError | ||
updateDepartment: | ||
docs: Update a Department | ||
method: PATCH | ||
path: /{id} | ||
path-parameters: | ||
id: string | ||
request: | ||
name: UpdateDepartmentRequest | ||
body: CreateOrUpdateDepartmentRequest | ||
query-parameters: | ||
fields: optional<string> | ||
response: CreateOrUpdateDepartmentResponse | ||
errors: | ||
- errors.UnAuthorizedError | ||
- errors.InternalServerError | ||
- errors.NotFoundError | ||
deleteDepartment: | ||
docs: Delete details of an Department | ||
method: DELETE | ||
path: /{id} | ||
path-parameters: | ||
id: string | ||
request: | ||
name: DeleteDepartmentRequest | ||
query-parameters: | ||
fields: optional<string> | ||
response: DeleteDepartmentResponse | ||
errors: | ||
- errors.UnAuthorizedError | ||
- errors.InternalServerError | ||
- errors.NotFoundError |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,121 @@ | ||
imports: | ||
errors: ../common/errors.yml | ||
types: ../common/types.yml | ||
unified: ../common/unified.yml | ||
|
||
types: | ||
GetJobResponse: | ||
properties: | ||
status: types.ResponseStatus | ||
result: unknown | ||
GetJobsResponse: | ||
properties: | ||
status: types.ResponseStatus | ||
next: optional<string> | ||
previous: optional<string> | ||
results: unknown | ||
CreateOrUpdateJobRequest: unknown | ||
CreateOrUpdateJobResponse: | ||
properties: | ||
status: types.ResponseStatus | ||
message: string | ||
result: unknown | ||
|
||
DeleteJobResponse: | ||
properties: | ||
status: types.ResponseStatus | ||
message: string | ||
|
||
service: | ||
base-path: /ats/jobs | ||
auth: false | ||
headers: | ||
x-revert-api-token: | ||
type: string | ||
docs: Your official API key for accessing revert apis. | ||
x-revert-t-id: | ||
type: string | ||
docs: The unique customer id used when the customer linked their account. | ||
x-api-version: | ||
type: optional<string> | ||
docs: Optional Revert API version you're using. If missing we default to the latest version of the API. | ||
audiences: | ||
- external | ||
endpoints: | ||
getJob: | ||
docs: Get details of a job. | ||
method: GET | ||
path: /{id} | ||
path-parameters: | ||
id: | ||
type: string | ||
docs: The unique `id` of the job. | ||
request: | ||
name: GetJobRequest | ||
query-parameters: | ||
fields: optional<string> | ||
response: GetJobResponse | ||
errors: | ||
- errors.UnAuthorizedError | ||
- errors.InternalServerError | ||
- errors.NotFoundError | ||
getJobs: | ||
docs: Get all the jobs. | ||
method: GET | ||
path: '' | ||
request: | ||
name: GetJobsRequest | ||
query-parameters: | ||
fields: optional<string> | ||
pageSize: optional<string> | ||
cursor: optional<string> | ||
response: GetJobsResponse | ||
errors: | ||
- errors.UnAuthorizedError | ||
- errors.InternalServerError | ||
- errors.NotFoundError | ||
createJob: | ||
docs: Create a new Job | ||
method: POST | ||
path: '' | ||
request: | ||
name: CreateJobRequest | ||
body: CreateOrUpdateJobRequest | ||
query-parameters: | ||
fields: optional<string> | ||
response: CreateOrUpdateJobResponse | ||
errors: | ||
- errors.UnAuthorizedError | ||
- errors.InternalServerError | ||
- errors.NotFoundError | ||
updateJob: | ||
docs: Update a Job | ||
method: PATCH | ||
path: /{id} | ||
path-parameters: | ||
id: string | ||
request: | ||
name: UpdateJobRequest | ||
body: CreateOrUpdateJobRequest | ||
query-parameters: | ||
fields: optional<string> | ||
response: CreateOrUpdateJobResponse | ||
errors: | ||
- errors.UnAuthorizedError | ||
- errors.InternalServerError | ||
- errors.NotFoundError | ||
deleteJob: | ||
docs: Delete details of an Job | ||
method: DELETE | ||
path: /{id} | ||
path-parameters: | ||
id: string | ||
request: | ||
name: DeleteJobRequest | ||
query-parameters: | ||
fields: optional<string> | ||
response: DeleteJobResponse | ||
errors: | ||
- errors.UnAuthorizedError | ||
- errors.InternalServerError | ||
- errors.NotFoundError |
Oops, something went wrong.