merge_ats_client 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +9 -0
- data/README.md +208 -0
- data/Rakefile +10 -0
- data/config.json +2 -0
- data/docs/AccessRoleEnum.md +15 -0
- data/docs/AccountIntegration.md +28 -0
- data/docs/AccountToken.md +18 -0
- data/docs/AccountTokenApi.md +79 -0
- data/docs/ActivitiesApi.md +181 -0
- data/docs/Activity.md +34 -0
- data/docs/ActivityTypeEnum.md +15 -0
- data/docs/Application.md +38 -0
- data/docs/ApplicationRequest.md +34 -0
- data/docs/ApplicationsApi.md +351 -0
- data/docs/Attachment.md +28 -0
- data/docs/AttachmentsApi.md +177 -0
- data/docs/AvailableActions.md +22 -0
- data/docs/AvailableActionsApi.md +79 -0
- data/docs/Candidate.md +54 -0
- data/docs/CandidateRequest.md +46 -0
- data/docs/CandidatesApi.md +259 -0
- data/docs/DataPassthrough.md +24 -0
- data/docs/DataPassthroughRequest.md +26 -0
- data/docs/Department.md +24 -0
- data/docs/DepartmentsApi.md +175 -0
- data/docs/DisabilityStatusEnum.md +15 -0
- data/docs/EEOC.md +34 -0
- data/docs/EeocsApi.md +181 -0
- data/docs/EmailAddress.md +20 -0
- data/docs/EmailAddressRequest.md +20 -0
- data/docs/EmailAddressTypeEnum.md +15 -0
- data/docs/EndUserDetails.md +24 -0
- data/docs/EndUserDetailsRequest.md +26 -0
- data/docs/GenderEnum.md +15 -0
- data/docs/GenerateKeyApi.md +79 -0
- data/docs/GenerateRemoteKeyRequest.md +18 -0
- data/docs/InterviewsApi.md +185 -0
- data/docs/Job.md +40 -0
- data/docs/JobInterviewStage.md +26 -0
- data/docs/JobInterviewStagesApi.md +181 -0
- data/docs/JobStatusEnum.md +15 -0
- data/docs/JobsApi.md +179 -0
- data/docs/LinkToken.md +20 -0
- data/docs/LinkTokenApi.md +79 -0
- data/docs/MethodEnum.md +15 -0
- data/docs/ModelOperation.md +22 -0
- data/docs/Offer.md +36 -0
- data/docs/OfferStatusEnum.md +15 -0
- data/docs/OffersApi.md +183 -0
- data/docs/Office.md +26 -0
- data/docs/OfficesApi.md +175 -0
- data/docs/OverallRecommendationEnum.md +15 -0
- data/docs/PaginatedActivityList.md +22 -0
- data/docs/PaginatedApplicationList.md +22 -0
- data/docs/PaginatedAttachmentList.md +22 -0
- data/docs/PaginatedCandidateList.md +22 -0
- data/docs/PaginatedDepartmentList.md +22 -0
- data/docs/PaginatedEEOCList.md +22 -0
- data/docs/PaginatedJobInterviewStageList.md +22 -0
- data/docs/PaginatedJobList.md +22 -0
- data/docs/PaginatedOfferList.md +22 -0
- data/docs/PaginatedOfficeList.md +22 -0
- data/docs/PaginatedRejectReasonList.md +22 -0
- data/docs/PaginatedRemoteUserList.md +22 -0
- data/docs/PaginatedScheduledInterviewList.md +22 -0
- data/docs/PaginatedScorecardList.md +22 -0
- data/docs/PaginatedTagList.md +22 -0
- data/docs/PassthroughApi.md +81 -0
- data/docs/PatchedApplicationRequest.md +34 -0
- data/docs/PhoneNumber.md +20 -0
- data/docs/PhoneNumberRequest.md +20 -0
- data/docs/PhoneNumberTypeEnum.md +15 -0
- data/docs/RaceEnum.md +15 -0
- data/docs/RegenerateKeyApi.md +79 -0
- data/docs/RejectReason.md +24 -0
- data/docs/RejectReasonsApi.md +175 -0
- data/docs/RemoteData.md +20 -0
- data/docs/RemoteDataRequest.md +20 -0
- data/docs/RemoteKey.md +20 -0
- data/docs/RemoteKeyForRegeneration.md +18 -0
- data/docs/RemoteKeyForRegenerationRequest.md +18 -0
- data/docs/RemoteResponse.md +26 -0
- data/docs/RemoteUser.md +34 -0
- data/docs/ScheduledInterview.md +42 -0
- data/docs/ScheduledInterviewStatusEnum.md +15 -0
- data/docs/Scorecard.md +34 -0
- data/docs/ScorecardsApi.md +185 -0
- data/docs/SyncStatus.md +28 -0
- data/docs/SyncStatusApi.md +79 -0
- data/docs/Tag.md +22 -0
- data/docs/TagsApi.md +97 -0
- data/docs/Url.md +20 -0
- data/docs/UrlRequest.md +20 -0
- data/docs/UrlTypeEnum.md +15 -0
- data/docs/UsersApi.md +175 -0
- data/docs/VeteranStatusEnum.md +15 -0
- data/docs/VisibilityEnum.md +15 -0
- data/git_push.sh +58 -0
- data/lib/merge_ats_client.rb +131 -0
- data/lib/merge_ats_client/api/account_token_api.rb +83 -0
- data/lib/merge_ats_client/api/activities_api.rb +196 -0
- data/lib/merge_ats_client/api/applications_api.rb +366 -0
- data/lib/merge_ats_client/api/attachments_api.rb +182 -0
- data/lib/merge_ats_client/api/available_actions_api.rb +84 -0
- data/lib/merge_ats_client/api/candidates_api.rb +269 -0
- data/lib/merge_ats_client/api/departments_api.rb +179 -0
- data/lib/merge_ats_client/api/eeocs_api.rb +196 -0
- data/lib/merge_ats_client/api/generate_key_api.rb +85 -0
- data/lib/merge_ats_client/api/interviews_api.rb +202 -0
- data/lib/merge_ats_client/api/job_interview_stages_api.rb +196 -0
- data/lib/merge_ats_client/api/jobs_api.rb +193 -0
- data/lib/merge_ats_client/api/link_token_api.rb +85 -0
- data/lib/merge_ats_client/api/offers_api.rb +199 -0
- data/lib/merge_ats_client/api/offices_api.rb +179 -0
- data/lib/merge_ats_client/api/passthrough_api.rb +92 -0
- data/lib/merge_ats_client/api/regenerate_key_api.rb +85 -0
- data/lib/merge_ats_client/api/reject_reasons_api.rb +179 -0
- data/lib/merge_ats_client/api/scorecards_api.rb +202 -0
- data/lib/merge_ats_client/api/sync_status_api.rb +84 -0
- data/lib/merge_ats_client/api/tags_api.rb +108 -0
- data/lib/merge_ats_client/api/users_api.rb +179 -0
- data/lib/merge_ats_client/api_client.rb +390 -0
- data/lib/merge_ats_client/api_error.rb +57 -0
- data/lib/merge_ats_client/configuration.rb +279 -0
- data/lib/merge_ats_client/models/access_role_enum.rb +38 -0
- data/lib/merge_ats_client/models/account_integration.rb +325 -0
- data/lib/merge_ats_client/models/account_token.rb +223 -0
- data/lib/merge_ats_client/models/activity.rb +308 -0
- data/lib/merge_ats_client/models/activity_type_enum.rb +36 -0
- data/lib/merge_ats_client/models/application.rb +330 -0
- data/lib/merge_ats_client/models/application_request.rb +309 -0
- data/lib/merge_ats_client/models/attachment.rb +289 -0
- data/lib/merge_ats_client/models/available_actions.rb +249 -0
- data/lib/merge_ats_client/models/candidate.rb +420 -0
- data/lib/merge_ats_client/models/candidate_request.rb +377 -0
- data/lib/merge_ats_client/models/data_passthrough.rb +262 -0
- data/lib/merge_ats_client/models/data_passthrough_request.rb +271 -0
- data/lib/merge_ats_client/models/department.rb +253 -0
- data/lib/merge_ats_client/models/disability_status_enum.rb +36 -0
- data/lib/merge_ats_client/models/eeoc.rb +308 -0
- data/lib/merge_ats_client/models/email_address.rb +247 -0
- data/lib/merge_ats_client/models/email_address_request.rb +247 -0
- data/lib/merge_ats_client/models/email_address_type_enum.rb +36 -0
- data/lib/merge_ats_client/models/end_user_details.rb +289 -0
- data/lib/merge_ats_client/models/end_user_details_request.rb +298 -0
- data/lib/merge_ats_client/models/gender_enum.rb +38 -0
- data/lib/merge_ats_client/models/generate_remote_key_request.rb +224 -0
- data/lib/merge_ats_client/models/job.rb +341 -0
- data/lib/merge_ats_client/models/job_interview_stage.rb +264 -0
- data/lib/merge_ats_client/models/job_status_enum.rb +38 -0
- data/lib/merge_ats_client/models/link_token.rb +237 -0
- data/lib/merge_ats_client/models/method_enum.rb +40 -0
- data/lib/merge_ats_client/models/model_operation.rb +256 -0
- data/lib/merge_ats_client/models/offer.rb +319 -0
- data/lib/merge_ats_client/models/offer_status_enum.rb +42 -0
- data/lib/merge_ats_client/models/office.rb +264 -0
- data/lib/merge_ats_client/models/overall_recommendation_enum.rb +38 -0
- data/lib/merge_ats_client/models/paginated_activity_list.rb +240 -0
- data/lib/merge_ats_client/models/paginated_application_list.rb +240 -0
- data/lib/merge_ats_client/models/paginated_attachment_list.rb +240 -0
- data/lib/merge_ats_client/models/paginated_candidate_list.rb +240 -0
- data/lib/merge_ats_client/models/paginated_department_list.rb +240 -0
- data/lib/merge_ats_client/models/paginated_eeoc_list.rb +240 -0
- data/lib/merge_ats_client/models/paginated_job_interview_stage_list.rb +240 -0
- data/lib/merge_ats_client/models/paginated_job_list.rb +240 -0
- data/lib/merge_ats_client/models/paginated_offer_list.rb +240 -0
- data/lib/merge_ats_client/models/paginated_office_list.rb +240 -0
- data/lib/merge_ats_client/models/paginated_reject_reason_list.rb +240 -0
- data/lib/merge_ats_client/models/paginated_remote_user_list.rb +240 -0
- data/lib/merge_ats_client/models/paginated_scheduled_interview_list.rb +240 -0
- data/lib/merge_ats_client/models/paginated_scorecard_list.rb +240 -0
- data/lib/merge_ats_client/models/paginated_tag_list.rb +240 -0
- data/lib/merge_ats_client/models/patched_application_request.rb +309 -0
- data/lib/merge_ats_client/models/phone_number.rb +232 -0
- data/lib/merge_ats_client/models/phone_number_request.rb +232 -0
- data/lib/merge_ats_client/models/phone_number_type_enum.rb +38 -0
- data/lib/merge_ats_client/models/race_enum.rb +41 -0
- data/lib/merge_ats_client/models/reject_reason.rb +253 -0
- data/lib/merge_ats_client/models/remote_data.rb +234 -0
- data/lib/merge_ats_client/models/remote_data_request.rb +234 -0
- data/lib/merge_ats_client/models/remote_key.rb +238 -0
- data/lib/merge_ats_client/models/remote_key_for_regeneration.rb +224 -0
- data/lib/merge_ats_client/models/remote_key_for_regeneration_request.rb +224 -0
- data/lib/merge_ats_client/models/remote_response.rb +279 -0
- data/lib/merge_ats_client/models/remote_user.rb +323 -0
- data/lib/merge_ats_client/models/scheduled_interview.rb +352 -0
- data/lib/merge_ats_client/models/scheduled_interview_status_enum.rb +36 -0
- data/lib/merge_ats_client/models/scorecard.rb +308 -0
- data/lib/merge_ats_client/models/sync_status.rb +294 -0
- data/lib/merge_ats_client/models/tag.rb +244 -0
- data/lib/merge_ats_client/models/url.rb +247 -0
- data/lib/merge_ats_client/models/url_request.rb +247 -0
- data/lib/merge_ats_client/models/url_type_enum.rb +39 -0
- data/lib/merge_ats_client/models/veteran_status_enum.rb +36 -0
- data/lib/merge_ats_client/models/visibility_enum.rb +36 -0
- data/lib/merge_ats_client/version.rb +15 -0
- data/merge_ats_client-1.0.0.gem +0 -0
- data/merge_ats_client.gemspec +38 -0
- data/pull_request_template.md +22 -0
- data/spec/api/account_token_api_spec.rb +46 -0
- data/spec/api/activities_api_spec.rb +68 -0
- data/spec/api/applications_api_spec.rb +72 -0
- data/spec/api/attachments_api_spec.rb +66 -0
- data/spec/api/available_actions_api_spec.rb +46 -0
- data/spec/api/candidates_api_spec.rb +67 -0
- data/spec/api/departments_api_spec.rb +65 -0
- data/spec/api/eeocs_api_spec.rb +68 -0
- data/spec/api/interviews_api_spec.rb +70 -0
- data/spec/api/job_interview_stages_api_spec.rb +68 -0
- data/spec/api/jobs_api_spec.rb +67 -0
- data/spec/api/link_token_api_spec.rb +46 -0
- data/spec/api/offers_api_spec.rb +69 -0
- data/spec/api/offices_api_spec.rb +65 -0
- data/spec/api/passthrough_api_spec.rb +47 -0
- data/spec/api/regenerate_key_api_spec.rb +48 -0
- data/spec/api/reject_reasons_api_spec.rb +65 -0
- data/spec/api/scorecards_api_spec.rb +70 -0
- data/spec/api/sync_status_api_spec.rb +45 -0
- data/spec/api/tags_api_spec.rb +53 -0
- data/spec/api/users_api_spec.rb +65 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/access_role_enum_spec.rb +28 -0
- data/spec/models/account_integration_spec.rb +58 -0
- data/spec/models/account_token_spec.rb +34 -0
- data/spec/models/activity_spec.rb +76 -0
- data/spec/models/activity_type_enum_spec.rb +28 -0
- data/spec/models/application_request_spec.rb +82 -0
- data/spec/models/application_spec.rb +94 -0
- data/spec/models/attachment_spec.rb +52 -0
- data/spec/models/available_actions_spec.rb +46 -0
- data/spec/models/candidate_request_spec.rb +118 -0
- data/spec/models/candidate_spec.rb +136 -0
- data/spec/models/data_passthrough_request_spec.rb +58 -0
- data/spec/models/data_passthrough_spec.rb +52 -0
- data/spec/models/department_spec.rb +46 -0
- data/spec/models/disability_status_enum_spec.rb +28 -0
- data/spec/models/eeoc_spec.rb +76 -0
- data/spec/models/email_address_request_spec.rb +40 -0
- data/spec/models/email_address_spec.rb +40 -0
- data/spec/models/email_address_type_enum_spec.rb +28 -0
- data/spec/models/end_user_details_request_spec.rb +56 -0
- data/spec/models/end_user_details_spec.rb +56 -0
- data/spec/models/gender_enum_spec.rb +28 -0
- data/spec/models/generate_remote_key_request_spec.rb +34 -0
- data/spec/models/job_interview_stage_spec.rb +52 -0
- data/spec/models/job_spec.rb +88 -0
- data/spec/models/job_status_enum_spec.rb +28 -0
- data/spec/models/link_token_spec.rb +40 -0
- data/spec/models/method_enum_spec.rb +28 -0
- data/spec/models/model_operation_spec.rb +40 -0
- data/spec/models/offer_spec.rb +82 -0
- data/spec/models/offer_status_enum_spec.rb +28 -0
- data/spec/models/office_spec.rb +52 -0
- data/spec/models/overall_recommendation_enum_spec.rb +28 -0
- data/spec/models/paginated_activity_list_spec.rb +46 -0
- data/spec/models/paginated_application_list_spec.rb +46 -0
- data/spec/models/paginated_attachment_list_spec.rb +46 -0
- data/spec/models/paginated_candidate_list_spec.rb +46 -0
- data/spec/models/paginated_department_list_spec.rb +46 -0
- data/spec/models/paginated_eeoc_list_spec.rb +46 -0
- data/spec/models/paginated_job_interview_stage_list_spec.rb +46 -0
- data/spec/models/paginated_job_list_spec.rb +46 -0
- data/spec/models/paginated_offer_list_spec.rb +46 -0
- data/spec/models/paginated_office_list_spec.rb +46 -0
- data/spec/models/paginated_reject_reason_list_spec.rb +46 -0
- data/spec/models/paginated_remote_user_list_spec.rb +46 -0
- data/spec/models/paginated_scheduled_interview_list_spec.rb +46 -0
- data/spec/models/paginated_scorecard_list_spec.rb +46 -0
- data/spec/models/paginated_tag_list_spec.rb +46 -0
- data/spec/models/patched_application_request_spec.rb +82 -0
- data/spec/models/phone_number_request_spec.rb +40 -0
- data/spec/models/phone_number_spec.rb +40 -0
- data/spec/models/phone_number_type_enum_spec.rb +28 -0
- data/spec/models/race_enum_spec.rb +28 -0
- data/spec/models/reject_reason_spec.rb +46 -0
- data/spec/models/remote_data_spec.rb +40 -0
- data/spec/models/remote_key_for_regeneration_request_spec.rb +34 -0
- data/spec/models/remote_key_for_regeneration_spec.rb +34 -0
- data/spec/models/remote_key_spec.rb +40 -0
- data/spec/models/remote_response_spec.rb +58 -0
- data/spec/models/remote_user_spec.rb +76 -0
- data/spec/models/scheduled_interview_spec.rb +100 -0
- data/spec/models/scheduled_interview_status_enum_spec.rb +28 -0
- data/spec/models/scorecard_spec.rb +76 -0
- data/spec/models/sync_status_spec.rb +64 -0
- data/spec/models/tag_spec.rb +40 -0
- data/spec/models/url_request_spec.rb +40 -0
- data/spec/models/url_spec.rb +40 -0
- data/spec/models/url_type_enum_spec.rb +28 -0
- data/spec/models/veteran_status_enum_spec.rb +28 -0
- data/spec/models/visibility_enum_spec.rb +28 -0
- data/spec/spec_helper.rb +111 -0
- data/test_ats.rb +22 -0
- data/test_signature.rb +32 -0
- metadata +473 -0
@@ -0,0 +1,24 @@
|
|
1
|
+
# MergeATSClient::DataPassthrough
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **method** | [**MethodEnum**](MethodEnum.md) | | |
|
8
|
+
| **path** | **String** | | |
|
9
|
+
| **data** | [**Hash<String, AnyType>**](AnyType.md) | | [optional] |
|
10
|
+
| **headers** | [**Hash<String, AnyType>**](AnyType.md) | | [optional] |
|
11
|
+
|
12
|
+
## Example
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'merge_ats_client'
|
16
|
+
|
17
|
+
instance = MergeATSClient::DataPassthrough.new(
|
18
|
+
method: POST,
|
19
|
+
path: /scooters,
|
20
|
+
data: {"scooters":[{"company":"Lime","model":"Gen 2.5"},{"company":"Bird","model":"Bird Zero"}]},
|
21
|
+
headers: {"EXTRA-HEADER":"value"}
|
22
|
+
)
|
23
|
+
```
|
24
|
+
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# MergeATSClient::DataPassthroughRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **method** | [**MethodEnum**](MethodEnum.md) | | |
|
8
|
+
| **path** | **String** | | |
|
9
|
+
| **base_url_override** | **String** | | [optional] |
|
10
|
+
| **data** | [**Hash<String, AnyType>**](AnyType.md) | | [optional] |
|
11
|
+
| **headers** | [**Hash<String, AnyType>**](AnyType.md) | | [optional] |
|
12
|
+
|
13
|
+
## Example
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'merge_ats_client'
|
17
|
+
|
18
|
+
instance = MergeATSClient::DataPassthroughRequest.new(
|
19
|
+
method: POST,
|
20
|
+
path: /scooters,
|
21
|
+
base_url_override: null,
|
22
|
+
data: {"scooters":[{"company":"Lime","model":"Gen 2.5"},{"company":"Bird","model":"Bird Zero"}]},
|
23
|
+
headers: {"EXTRA-HEADER":"value"}
|
24
|
+
)
|
25
|
+
```
|
26
|
+
|
data/docs/Department.md
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
# MergeATSClient::Department
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **id** | **String** | | [optional][readonly] |
|
8
|
+
| **remote_id** | **String** | The third-party API ID of the matching object. | [optional] |
|
9
|
+
| **name** | **String** | The department's name. | [optional] |
|
10
|
+
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
11
|
+
|
12
|
+
## Example
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'merge_ats_client'
|
16
|
+
|
17
|
+
instance = MergeATSClient::Department.new(
|
18
|
+
id: 5b3c1341-a20f-4e51-b72c-f3830a16c97b,
|
19
|
+
remote_id: 23456,
|
20
|
+
name: Engineering,
|
21
|
+
remote_data: [{"path":"/departments","data":["Varies by platform"]}]
|
22
|
+
)
|
23
|
+
```
|
24
|
+
|
@@ -0,0 +1,175 @@
|
|
1
|
+
# MergeATSClient::DepartmentsApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://api.merge.dev/api/ats/v1*
|
4
|
+
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**departments_list**](DepartmentsApi.md#departments_list) | **GET** /departments | |
|
8
|
+
| [**departments_retrieve**](DepartmentsApi.md#departments_retrieve) | **GET** /departments/{id} | |
|
9
|
+
|
10
|
+
|
11
|
+
## departments_list
|
12
|
+
|
13
|
+
> <PaginatedDepartmentList> departments_list(x_account_token, opts)
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
Returns a list of `Department` objects.
|
18
|
+
|
19
|
+
### Examples
|
20
|
+
|
21
|
+
```ruby
|
22
|
+
require 'time'
|
23
|
+
require 'merge_ats_client'
|
24
|
+
# setup authorization
|
25
|
+
MergeATSClient.configure do |config|
|
26
|
+
# Configure API key authorization: tokenAuth
|
27
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
28
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
29
|
+
# config.api_key_prefix['Authorization'] = 'Bearer'
|
30
|
+
end
|
31
|
+
|
32
|
+
api_instance = MergeATSClient::DepartmentsApi.new
|
33
|
+
x_account_token = 'x_account_token_example' # String | Token identifying the end user.
|
34
|
+
opts = {
|
35
|
+
created_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects created after this datetime.
|
36
|
+
created_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects created before this datetime.
|
37
|
+
cursor: 'cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw', # String | The pagination cursor value.
|
38
|
+
include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
39
|
+
modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified after this datetime.
|
40
|
+
modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified before this datetime.
|
41
|
+
page_size: 56, # Integer | Number of results to return per page.
|
42
|
+
remote_id: 'remote_id_example' # String | The API provider's ID for the given object.
|
43
|
+
}
|
44
|
+
|
45
|
+
begin
|
46
|
+
|
47
|
+
result = api_instance.departments_list(x_account_token, opts)
|
48
|
+
p result
|
49
|
+
rescue MergeATSClient::ApiError => e
|
50
|
+
puts "Error when calling DepartmentsApi->departments_list: #{e}"
|
51
|
+
end
|
52
|
+
```
|
53
|
+
|
54
|
+
#### Using the departments_list_with_http_info variant
|
55
|
+
|
56
|
+
This returns an Array which contains the response data, status code and headers.
|
57
|
+
|
58
|
+
> <Array(<PaginatedDepartmentList>, Integer, Hash)> departments_list_with_http_info(x_account_token, opts)
|
59
|
+
|
60
|
+
```ruby
|
61
|
+
begin
|
62
|
+
|
63
|
+
data, status_code, headers = api_instance.departments_list_with_http_info(x_account_token, opts)
|
64
|
+
p status_code # => 2xx
|
65
|
+
p headers # => { ... }
|
66
|
+
p data # => <PaginatedDepartmentList>
|
67
|
+
rescue MergeATSClient::ApiError => e
|
68
|
+
puts "Error when calling DepartmentsApi->departments_list_with_http_info: #{e}"
|
69
|
+
end
|
70
|
+
```
|
71
|
+
|
72
|
+
### Parameters
|
73
|
+
|
74
|
+
| Name | Type | Description | Notes |
|
75
|
+
| ---- | ---- | ----------- | ----- |
|
76
|
+
| **x_account_token** | **String** | Token identifying the end user. | |
|
77
|
+
| **created_after** | **Time** | If provided, will only return objects created after this datetime. | [optional] |
|
78
|
+
| **created_before** | **Time** | If provided, will only return objects created before this datetime. | [optional] |
|
79
|
+
| **cursor** | **String** | The pagination cursor value. | [optional] |
|
80
|
+
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
81
|
+
| **modified_after** | **Time** | If provided, will only return objects modified after this datetime. | [optional] |
|
82
|
+
| **modified_before** | **Time** | If provided, will only return objects modified before this datetime. | [optional] |
|
83
|
+
| **page_size** | **Integer** | Number of results to return per page. | [optional] |
|
84
|
+
| **remote_id** | **String** | The API provider's ID for the given object. | [optional] |
|
85
|
+
|
86
|
+
### Return type
|
87
|
+
|
88
|
+
[**PaginatedDepartmentList**](PaginatedDepartmentList.md)
|
89
|
+
|
90
|
+
### Authorization
|
91
|
+
|
92
|
+
[tokenAuth](../README.md#tokenAuth)
|
93
|
+
|
94
|
+
### HTTP request headers
|
95
|
+
|
96
|
+
- **Content-Type**: Not defined
|
97
|
+
- **Accept**: application/json
|
98
|
+
|
99
|
+
|
100
|
+
## departments_retrieve
|
101
|
+
|
102
|
+
> <Department> departments_retrieve(x_account_token, id, opts)
|
103
|
+
|
104
|
+
|
105
|
+
|
106
|
+
Returns a `Department` object with the given `id`.
|
107
|
+
|
108
|
+
### Examples
|
109
|
+
|
110
|
+
```ruby
|
111
|
+
require 'time'
|
112
|
+
require 'merge_ats_client'
|
113
|
+
# setup authorization
|
114
|
+
MergeATSClient.configure do |config|
|
115
|
+
# Configure API key authorization: tokenAuth
|
116
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
117
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
118
|
+
# config.api_key_prefix['Authorization'] = 'Bearer'
|
119
|
+
end
|
120
|
+
|
121
|
+
api_instance = MergeATSClient::DepartmentsApi.new
|
122
|
+
x_account_token = 'x_account_token_example' # String | Token identifying the end user.
|
123
|
+
id = TODO # String |
|
124
|
+
opts = {
|
125
|
+
include_remote_data: true # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
126
|
+
}
|
127
|
+
|
128
|
+
begin
|
129
|
+
|
130
|
+
result = api_instance.departments_retrieve(x_account_token, id, opts)
|
131
|
+
p result
|
132
|
+
rescue MergeATSClient::ApiError => e
|
133
|
+
puts "Error when calling DepartmentsApi->departments_retrieve: #{e}"
|
134
|
+
end
|
135
|
+
```
|
136
|
+
|
137
|
+
#### Using the departments_retrieve_with_http_info variant
|
138
|
+
|
139
|
+
This returns an Array which contains the response data, status code and headers.
|
140
|
+
|
141
|
+
> <Array(<Department>, Integer, Hash)> departments_retrieve_with_http_info(x_account_token, id, opts)
|
142
|
+
|
143
|
+
```ruby
|
144
|
+
begin
|
145
|
+
|
146
|
+
data, status_code, headers = api_instance.departments_retrieve_with_http_info(x_account_token, id, opts)
|
147
|
+
p status_code # => 2xx
|
148
|
+
p headers # => { ... }
|
149
|
+
p data # => <Department>
|
150
|
+
rescue MergeATSClient::ApiError => e
|
151
|
+
puts "Error when calling DepartmentsApi->departments_retrieve_with_http_info: #{e}"
|
152
|
+
end
|
153
|
+
```
|
154
|
+
|
155
|
+
### Parameters
|
156
|
+
|
157
|
+
| Name | Type | Description | Notes |
|
158
|
+
| ---- | ---- | ----------- | ----- |
|
159
|
+
| **x_account_token** | **String** | Token identifying the end user. | |
|
160
|
+
| **id** | [**String**](.md) | | |
|
161
|
+
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
162
|
+
|
163
|
+
### Return type
|
164
|
+
|
165
|
+
[**Department**](Department.md)
|
166
|
+
|
167
|
+
### Authorization
|
168
|
+
|
169
|
+
[tokenAuth](../README.md#tokenAuth)
|
170
|
+
|
171
|
+
### HTTP request headers
|
172
|
+
|
173
|
+
- **Content-Type**: Not defined
|
174
|
+
- **Accept**: application/json
|
175
|
+
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# MergeATSClient::DisabilityStatusEnum
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
|
8
|
+
## Example
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
require 'merge_ats_client'
|
12
|
+
|
13
|
+
instance = MergeATSClient::DisabilityStatusEnum.new()
|
14
|
+
```
|
15
|
+
|
data/docs/EEOC.md
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
# MergeATSClient::EEOC
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **id** | **String** | | [optional][readonly] |
|
8
|
+
| **remote_id** | **String** | The third-party API ID of the matching object. | [optional] |
|
9
|
+
| **candidate** | **String** | The candidate being represented. | [optional] |
|
10
|
+
| **submitted_at** | **Time** | When the information was submitted. | [optional] |
|
11
|
+
| **race** | [**RaceEnum**](RaceEnum.md) | The candidate's race. | [optional] |
|
12
|
+
| **gender** | [**GenderEnum**](GenderEnum.md) | The candidate's gender. | [optional] |
|
13
|
+
| **veteran_status** | [**VeteranStatusEnum**](VeteranStatusEnum.md) | The candidate's veteran status. | [optional] |
|
14
|
+
| **disability_status** | [**DisabilityStatusEnum**](DisabilityStatusEnum.md) | The candidate's disability status. | [optional] |
|
15
|
+
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
16
|
+
|
17
|
+
## Example
|
18
|
+
|
19
|
+
```ruby
|
20
|
+
require 'merge_ats_client'
|
21
|
+
|
22
|
+
instance = MergeATSClient::EEOC.new(
|
23
|
+
id: f7dd7b4f-237e-4772-8bd4-3246384c6c58,
|
24
|
+
remote_id: 76,
|
25
|
+
candidate: f963f34d-3d2f-4f77-b557-cf36bc7e6498,
|
26
|
+
submitted_at: null,
|
27
|
+
race: HISPANIC_OR_LATINO,
|
28
|
+
gender: FEMALE,
|
29
|
+
veteran_status: I_AM_NOT_A_PROTECTED_VETERAN,
|
30
|
+
disability_status: I_DONT_WISH_TO_ANSWER,
|
31
|
+
remote_data: [{"path":"/eeoc","data":["Varies by platform"]}]
|
32
|
+
)
|
33
|
+
```
|
34
|
+
|
data/docs/EeocsApi.md
ADDED
@@ -0,0 +1,181 @@
|
|
1
|
+
# MergeATSClient::EeocsApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://api.merge.dev/api/ats/v1*
|
4
|
+
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**eeocs_list**](EeocsApi.md#eeocs_list) | **GET** /eeocs | |
|
8
|
+
| [**eeocs_retrieve**](EeocsApi.md#eeocs_retrieve) | **GET** /eeocs/{id} | |
|
9
|
+
|
10
|
+
|
11
|
+
## eeocs_list
|
12
|
+
|
13
|
+
> <PaginatedEEOCList> eeocs_list(x_account_token, opts)
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
Returns a list of `EEOC` objects.
|
18
|
+
|
19
|
+
### Examples
|
20
|
+
|
21
|
+
```ruby
|
22
|
+
require 'time'
|
23
|
+
require 'merge_ats_client'
|
24
|
+
# setup authorization
|
25
|
+
MergeATSClient.configure do |config|
|
26
|
+
# Configure API key authorization: tokenAuth
|
27
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
28
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
29
|
+
# config.api_key_prefix['Authorization'] = 'Bearer'
|
30
|
+
end
|
31
|
+
|
32
|
+
api_instance = MergeATSClient::EeocsApi.new
|
33
|
+
x_account_token = 'x_account_token_example' # String | Token identifying the end user.
|
34
|
+
opts = {
|
35
|
+
candidate_id: 'candidate_id_example', # String | If provided, will only return EEOC info for this candidate.
|
36
|
+
created_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects created after this datetime.
|
37
|
+
created_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects created before this datetime.
|
38
|
+
cursor: 'cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw', # String | The pagination cursor value.
|
39
|
+
expand: 'candidate', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
40
|
+
include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
41
|
+
modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified after this datetime.
|
42
|
+
modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified before this datetime.
|
43
|
+
page_size: 56, # Integer | Number of results to return per page.
|
44
|
+
remote_id: 'remote_id_example' # String | The API provider's ID for the given object.
|
45
|
+
}
|
46
|
+
|
47
|
+
begin
|
48
|
+
|
49
|
+
result = api_instance.eeocs_list(x_account_token, opts)
|
50
|
+
p result
|
51
|
+
rescue MergeATSClient::ApiError => e
|
52
|
+
puts "Error when calling EeocsApi->eeocs_list: #{e}"
|
53
|
+
end
|
54
|
+
```
|
55
|
+
|
56
|
+
#### Using the eeocs_list_with_http_info variant
|
57
|
+
|
58
|
+
This returns an Array which contains the response data, status code and headers.
|
59
|
+
|
60
|
+
> <Array(<PaginatedEEOCList>, Integer, Hash)> eeocs_list_with_http_info(x_account_token, opts)
|
61
|
+
|
62
|
+
```ruby
|
63
|
+
begin
|
64
|
+
|
65
|
+
data, status_code, headers = api_instance.eeocs_list_with_http_info(x_account_token, opts)
|
66
|
+
p status_code # => 2xx
|
67
|
+
p headers # => { ... }
|
68
|
+
p data # => <PaginatedEEOCList>
|
69
|
+
rescue MergeATSClient::ApiError => e
|
70
|
+
puts "Error when calling EeocsApi->eeocs_list_with_http_info: #{e}"
|
71
|
+
end
|
72
|
+
```
|
73
|
+
|
74
|
+
### Parameters
|
75
|
+
|
76
|
+
| Name | Type | Description | Notes |
|
77
|
+
| ---- | ---- | ----------- | ----- |
|
78
|
+
| **x_account_token** | **String** | Token identifying the end user. | |
|
79
|
+
| **candidate_id** | **String** | If provided, will only return EEOC info for this candidate. | [optional] |
|
80
|
+
| **created_after** | **Time** | If provided, will only return objects created after this datetime. | [optional] |
|
81
|
+
| **created_before** | **Time** | If provided, will only return objects created before this datetime. | [optional] |
|
82
|
+
| **cursor** | **String** | The pagination cursor value. | [optional] |
|
83
|
+
| **expand** | **String** | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | [optional] |
|
84
|
+
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
85
|
+
| **modified_after** | **Time** | If provided, will only return objects modified after this datetime. | [optional] |
|
86
|
+
| **modified_before** | **Time** | If provided, will only return objects modified before this datetime. | [optional] |
|
87
|
+
| **page_size** | **Integer** | Number of results to return per page. | [optional] |
|
88
|
+
| **remote_id** | **String** | The API provider's ID for the given object. | [optional] |
|
89
|
+
|
90
|
+
### Return type
|
91
|
+
|
92
|
+
[**PaginatedEEOCList**](PaginatedEEOCList.md)
|
93
|
+
|
94
|
+
### Authorization
|
95
|
+
|
96
|
+
[tokenAuth](../README.md#tokenAuth)
|
97
|
+
|
98
|
+
### HTTP request headers
|
99
|
+
|
100
|
+
- **Content-Type**: Not defined
|
101
|
+
- **Accept**: application/json
|
102
|
+
|
103
|
+
|
104
|
+
## eeocs_retrieve
|
105
|
+
|
106
|
+
> <EEOC> eeocs_retrieve(x_account_token, id, opts)
|
107
|
+
|
108
|
+
|
109
|
+
|
110
|
+
Returns an `EEOC` object with the given `id`.
|
111
|
+
|
112
|
+
### Examples
|
113
|
+
|
114
|
+
```ruby
|
115
|
+
require 'time'
|
116
|
+
require 'merge_ats_client'
|
117
|
+
# setup authorization
|
118
|
+
MergeATSClient.configure do |config|
|
119
|
+
# Configure API key authorization: tokenAuth
|
120
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
121
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
122
|
+
# config.api_key_prefix['Authorization'] = 'Bearer'
|
123
|
+
end
|
124
|
+
|
125
|
+
api_instance = MergeATSClient::EeocsApi.new
|
126
|
+
x_account_token = 'x_account_token_example' # String | Token identifying the end user.
|
127
|
+
id = TODO # String |
|
128
|
+
opts = {
|
129
|
+
expand: 'candidate', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
130
|
+
include_remote_data: true # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
131
|
+
}
|
132
|
+
|
133
|
+
begin
|
134
|
+
|
135
|
+
result = api_instance.eeocs_retrieve(x_account_token, id, opts)
|
136
|
+
p result
|
137
|
+
rescue MergeATSClient::ApiError => e
|
138
|
+
puts "Error when calling EeocsApi->eeocs_retrieve: #{e}"
|
139
|
+
end
|
140
|
+
```
|
141
|
+
|
142
|
+
#### Using the eeocs_retrieve_with_http_info variant
|
143
|
+
|
144
|
+
This returns an Array which contains the response data, status code and headers.
|
145
|
+
|
146
|
+
> <Array(<EEOC>, Integer, Hash)> eeocs_retrieve_with_http_info(x_account_token, id, opts)
|
147
|
+
|
148
|
+
```ruby
|
149
|
+
begin
|
150
|
+
|
151
|
+
data, status_code, headers = api_instance.eeocs_retrieve_with_http_info(x_account_token, id, opts)
|
152
|
+
p status_code # => 2xx
|
153
|
+
p headers # => { ... }
|
154
|
+
p data # => <EEOC>
|
155
|
+
rescue MergeATSClient::ApiError => e
|
156
|
+
puts "Error when calling EeocsApi->eeocs_retrieve_with_http_info: #{e}"
|
157
|
+
end
|
158
|
+
```
|
159
|
+
|
160
|
+
### Parameters
|
161
|
+
|
162
|
+
| Name | Type | Description | Notes |
|
163
|
+
| ---- | ---- | ----------- | ----- |
|
164
|
+
| **x_account_token** | **String** | Token identifying the end user. | |
|
165
|
+
| **id** | [**String**](.md) | | |
|
166
|
+
| **expand** | **String** | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | [optional] |
|
167
|
+
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
168
|
+
|
169
|
+
### Return type
|
170
|
+
|
171
|
+
[**EEOC**](EEOC.md)
|
172
|
+
|
173
|
+
### Authorization
|
174
|
+
|
175
|
+
[tokenAuth](../README.md#tokenAuth)
|
176
|
+
|
177
|
+
### HTTP request headers
|
178
|
+
|
179
|
+
- **Content-Type**: Not defined
|
180
|
+
- **Accept**: application/json
|
181
|
+
|