merge_ats_client 1.0.4 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +40 -18
- data/docs/AccountDetails.md +13 -7
- data/docs/AccountDetailsAndActions.md +6 -0
- data/docs/AccountDetailsAndActionsIntegration.md +1 -1
- data/docs/AccountDetailsApi.md +10 -7
- data/docs/AccountIntegration.md +4 -4
- data/docs/AccountTokenApi.md +2 -2
- data/docs/ActivitiesApi.md +11 -5
- data/docs/Activity.md +4 -2
- data/docs/Application.md +8 -6
- data/docs/ApplicationEndpointRequest.md +20 -0
- data/docs/ApplicationRequest.md +12 -6
- data/docs/ApplicationResponse.md +24 -0
- data/docs/ApplicationsApi.md +180 -18
- data/docs/Attachment.md +3 -1
- data/docs/AttachmentEndpointRequest.md +20 -0
- data/docs/AttachmentRequest.md +5 -1
- data/docs/AttachmentResponse.md +24 -0
- data/docs/AttachmentsApi.md +98 -16
- data/docs/AvailableActionsApi.md +2 -2
- data/docs/Candidate.md +3 -1
- data/docs/CandidateEndpointRequest.md +20 -0
- data/docs/CandidateRequest.md +7 -1
- data/docs/CandidateResponse.md +24 -0
- data/docs/CandidatesApi.md +168 -22
- data/docs/DataPassthroughRequest.md +6 -2
- data/docs/DebugModeLog.md +22 -0
- data/docs/DebugModelLogSummary.md +22 -0
- data/docs/Department.md +3 -1
- data/docs/DepartmentsApi.md +6 -4
- data/docs/EEOC.md +4 -2
- data/docs/EeocsApi.md +11 -5
- data/docs/EncodingEnum.md +15 -0
- data/docs/EndUserDetailsRequest.md +10 -6
- data/docs/ErrorValidationProblem.md +24 -0
- data/docs/ForceResyncApi.md +79 -0
- data/docs/GenerateKeyApi.md +2 -2
- data/docs/IgnoreCommonModel.md +20 -0
- data/docs/IgnoreCommonModelRequest.md +20 -0
- data/docs/InterviewsApi.md +11 -85
- data/docs/IssuesApi.md +18 -10
- data/docs/Job.md +7 -1
- data/docs/JobInterviewStage.md +4 -2
- data/docs/JobInterviewStagesApi.md +8 -6
- data/docs/JobsApi.md +13 -6
- data/docs/LinkToken.md +3 -1
- data/docs/LinkTokenApi.md +3 -3
- data/docs/LinkedAccountStatus.md +20 -0
- data/docs/LinkedAccountsApi.md +24 -22
- data/docs/MetaResponse.md +24 -0
- data/docs/MultipartFormFieldRequest.md +26 -0
- data/docs/Offer.md +5 -3
- data/docs/OffersApi.md +11 -5
- data/docs/Office.md +3 -1
- data/docs/OfficesApi.md +6 -4
- data/docs/PassthroughApi.md +2 -2
- data/docs/ReasonEnum.md +15 -0
- data/docs/RegenerateKeyApi.md +2 -2
- data/docs/RejectReason.md +3 -1
- data/docs/RejectReasonsApi.md +6 -4
- data/docs/RemoteResponse.md +5 -1
- data/docs/RemoteUser.md +3 -1
- data/docs/ResponseTypeEnum.md +15 -0
- data/docs/ScheduledInterview.md +6 -4
- data/docs/Scorecard.md +6 -4
- data/docs/ScorecardsApi.md +11 -85
- data/docs/SyncStatus.md +2 -2
- data/docs/SyncStatusApi.md +3 -75
- data/docs/Tag.md +3 -1
- data/docs/TagsApi.md +4 -2
- data/docs/UpdateApplicationStageRequest.md +20 -0
- data/docs/UsersApi.md +11 -85
- data/docs/ValidationProblemSource.md +18 -0
- data/docs/WarningValidationProblem.md +24 -0
- data/docs/WebhookReceiver.md +22 -0
- data/docs/WebhookReceiverRequest.md +22 -0
- data/docs/WebhookReceiversApi.md +153 -0
- data/lib/merge_ats_client/api/account_details_api.rb +10 -3
- data/lib/merge_ats_client/api/activities_api.rb +17 -0
- data/lib/merge_ats_client/api/applications_api.rb +164 -15
- data/lib/merge_ats_client/api/attachments_api.rb +108 -15
- data/lib/merge_ats_client/api/candidates_api.rb +156 -21
- data/lib/merge_ats_client/api/departments_api.rb +3 -0
- data/lib/merge_ats_client/api/eeocs_api.rb +17 -0
- data/lib/merge_ats_client/api/force_resync_api.rb +84 -0
- data/lib/merge_ats_client/api/interviews_api.rb +17 -76
- data/lib/merge_ats_client/api/issues_api.rb +22 -10
- data/lib/merge_ats_client/api/job_interview_stages_api.rb +5 -2
- data/lib/merge_ats_client/api/jobs_api.rb +20 -3
- data/lib/merge_ats_client/api/linked_accounts_api.rb +24 -21
- data/lib/merge_ats_client/api/offers_api.rb +17 -0
- data/lib/merge_ats_client/api/offices_api.rb +3 -0
- data/lib/merge_ats_client/api/reject_reasons_api.rb +3 -0
- data/lib/merge_ats_client/api/scorecards_api.rb +17 -76
- data/lib/merge_ats_client/api/sync_status_api.rb +4 -66
- data/lib/merge_ats_client/api/tags_api.rb +3 -0
- data/lib/merge_ats_client/api/users_api.rb +17 -76
- data/lib/merge_ats_client/api/webhook_receivers_api.rb +154 -0
- data/lib/merge_ats_client/configuration.rb +6 -4
- data/lib/merge_ats_client/models/access_role_enum.rb +17 -7
- data/lib/merge_ats_client/models/account_details.rb +33 -4
- data/lib/merge_ats_client/models/account_details_and_actions.rb +35 -1
- data/lib/merge_ats_client/models/account_details_and_actions_integration.rb +4 -2
- data/lib/merge_ats_client/models/account_details_and_actions_status_enum.rb +17 -7
- data/lib/merge_ats_client/models/account_integration.rb +2 -24
- data/lib/merge_ats_client/models/account_token.rb +1 -1
- data/lib/merge_ats_client/models/activity.rb +16 -7
- data/lib/merge_ats_client/models/activity_type_enum.rb +17 -7
- data/lib/merge_ats_client/models/application.rb +15 -11
- data/lib/merge_ats_client/models/application_endpoint_request.rb +237 -0
- data/lib/merge_ats_client/models/application_request.rb +56 -12
- data/lib/merge_ats_client/models/application_response.rb +266 -0
- data/lib/merge_ats_client/models/attachment.rb +15 -6
- data/lib/merge_ats_client/models/attachment_endpoint_request.rb +237 -0
- data/lib/merge_ats_client/models/attachment_request.rb +31 -7
- data/lib/merge_ats_client/models/attachment_response.rb +266 -0
- data/lib/merge_ats_client/models/attachment_type_enum.rb +17 -9
- data/lib/merge_ats_client/models/available_actions.rb +1 -1
- data/lib/merge_ats_client/models/candidate.rb +15 -6
- data/lib/merge_ats_client/models/{remote_key_for_regeneration.rb → candidate_endpoint_request.rb} +29 -16
- data/lib/merge_ats_client/models/candidate_request.rb +56 -7
- data/lib/merge_ats_client/models/candidate_response.rb +266 -0
- data/lib/merge_ats_client/models/categories_enum.rb +19 -7
- data/lib/merge_ats_client/models/category_enum.rb +19 -7
- data/lib/merge_ats_client/models/data_passthrough_request.rb +79 -7
- data/lib/merge_ats_client/models/debug_mode_log.rb +251 -0
- data/lib/merge_ats_client/models/{data_passthrough.rb → debug_model_log_summary.rb} +30 -41
- data/lib/merge_ats_client/models/department.rb +17 -7
- data/lib/merge_ats_client/models/disability_status_enum.rb +17 -7
- data/lib/merge_ats_client/models/eeoc.rb +16 -7
- data/lib/merge_ats_client/models/email_address.rb +2 -2
- data/lib/merge_ats_client/models/email_address_request.rb +2 -2
- data/lib/merge_ats_client/models/email_address_type_enum.rb +17 -7
- data/lib/merge_ats_client/models/encoding_enum.rb +46 -0
- data/lib/merge_ats_client/models/end_user_details_request.rb +163 -27
- data/lib/merge_ats_client/models/error_validation_problem.rb +260 -0
- data/lib/merge_ats_client/models/gender_enum.rb +17 -7
- data/lib/merge_ats_client/models/generate_remote_key_request.rb +20 -1
- data/lib/merge_ats_client/models/ignore_common_model.rb +247 -0
- data/lib/merge_ats_client/models/ignore_common_model_request.rb +256 -0
- data/lib/merge_ats_client/models/issue.rb +2 -2
- data/lib/merge_ats_client/models/issue_status_enum.rb +17 -7
- data/lib/merge_ats_client/models/job.rb +39 -6
- data/lib/merge_ats_client/models/job_interview_stage.rb +17 -7
- data/lib/merge_ats_client/models/job_status_enum.rb +17 -7
- data/lib/merge_ats_client/models/link_token.rb +14 -5
- data/lib/merge_ats_client/models/linked_account_status.rb +237 -0
- data/lib/merge_ats_client/models/{scorecard_request.rb → meta_response.rb} +45 -70
- data/lib/merge_ats_client/models/method_enum.rb +17 -7
- data/lib/merge_ats_client/models/model_operation.rb +1 -1
- data/lib/merge_ats_client/models/{scheduled_interview_request.rb → multipart_form_field_request.rb} +115 -106
- data/lib/merge_ats_client/models/offer.rb +16 -8
- data/lib/merge_ats_client/models/offer_status_enum.rb +17 -7
- data/lib/merge_ats_client/models/office.rb +17 -7
- data/lib/merge_ats_client/models/overall_recommendation_enum.rb +17 -7
- data/lib/merge_ats_client/models/paginated_activity_list.rb +1 -1
- data/lib/merge_ats_client/models/paginated_application_list.rb +1 -1
- data/lib/merge_ats_client/models/paginated_attachment_list.rb +1 -1
- data/lib/merge_ats_client/models/paginated_candidate_list.rb +1 -1
- data/lib/merge_ats_client/models/paginated_department_list.rb +1 -1
- data/lib/merge_ats_client/models/paginated_eeoc_list.rb +1 -1
- data/lib/merge_ats_client/models/paginated_issue_list.rb +1 -1
- data/lib/merge_ats_client/models/paginated_job_interview_stage_list.rb +1 -1
- data/lib/merge_ats_client/models/paginated_job_list.rb +1 -1
- data/lib/merge_ats_client/models/paginated_offer_list.rb +1 -1
- data/lib/merge_ats_client/models/paginated_office_list.rb +1 -1
- data/lib/merge_ats_client/models/paginated_reject_reason_list.rb +1 -1
- data/lib/merge_ats_client/models/paginated_remote_user_list.rb +1 -1
- data/lib/merge_ats_client/models/paginated_scheduled_interview_list.rb +1 -1
- data/lib/merge_ats_client/models/paginated_scorecard_list.rb +1 -1
- data/lib/merge_ats_client/models/paginated_sync_status_list.rb +1 -1
- data/lib/merge_ats_client/models/paginated_tag_list.rb +1 -1
- data/lib/merge_ats_client/models/phone_number.rb +2 -2
- data/lib/merge_ats_client/models/phone_number_request.rb +2 -2
- data/lib/merge_ats_client/models/phone_number_type_enum.rb +17 -7
- data/lib/merge_ats_client/models/race_enum.rb +17 -7
- data/lib/merge_ats_client/models/reason_enum.rb +46 -0
- data/lib/merge_ats_client/models/reject_reason.rb +17 -7
- data/lib/merge_ats_client/models/remote_data.rb +1 -1
- data/lib/merge_ats_client/models/remote_key.rb +1 -1
- data/lib/merge_ats_client/models/remote_key_for_regeneration_request.rb +20 -1
- data/lib/merge_ats_client/models/remote_response.rb +24 -10
- data/lib/merge_ats_client/models/remote_user.rb +17 -7
- data/lib/merge_ats_client/models/request_format_enum.rb +18 -7
- data/lib/merge_ats_client/models/response_type_enum.rb +45 -0
- data/lib/merge_ats_client/models/scheduled_interview.rb +16 -9
- data/lib/merge_ats_client/models/scheduled_interview_status_enum.rb +17 -7
- data/lib/merge_ats_client/models/scorecard.rb +16 -9
- data/lib/merge_ats_client/models/sync_status.rb +1 -11
- data/lib/merge_ats_client/models/sync_status_status_enum.rb +19 -9
- data/lib/merge_ats_client/models/tag.rb +17 -7
- data/lib/merge_ats_client/models/update_application_stage_request.rb +244 -0
- data/lib/merge_ats_client/models/url.rb +2 -2
- data/lib/merge_ats_client/models/url_request.rb +2 -2
- data/lib/merge_ats_client/models/url_type_enum.rb +18 -7
- data/lib/merge_ats_client/models/{remote_data_request.rb → validation_problem_source.rb} +14 -25
- data/lib/merge_ats_client/models/veteran_status_enum.rb +17 -7
- data/lib/merge_ats_client/models/visibility_enum.rb +17 -7
- data/lib/merge_ats_client/models/warning_validation_problem.rb +260 -0
- data/lib/merge_ats_client/models/webhook_receiver.rb +246 -0
- data/lib/merge_ats_client/models/{end_user_details.rb → webhook_receiver_request.rb} +60 -69
- data/lib/merge_ats_client/version.rb +1 -1
- data/lib/merge_ats_client.rb +24 -4
- data/spec/api/account_details_api_spec.rb +1 -0
- data/spec/api/account_token_api_spec.rb +1 -1
- data/spec/api/activities_api_spec.rb +6 -1
- data/spec/api/applications_api_spec.rb +46 -1
- data/spec/api/attachments_api_spec.rb +33 -1
- data/spec/api/available_actions_api_spec.rb +1 -1
- data/spec/api/candidates_api_spec.rb +44 -1
- data/spec/api/departments_api_spec.rb +4 -1
- data/spec/api/eeocs_api_spec.rb +6 -1
- data/spec/api/force_resync_api_spec.rb +46 -0
- data/spec/api/interviews_api_spec.rb +6 -1
- data/spec/api/issues_api_spec.rb +9 -5
- data/spec/api/job_interview_stages_api_spec.rb +4 -1
- data/spec/api/jobs_api_spec.rb +8 -1
- data/spec/api/link_token_api_spec.rb +2 -2
- data/spec/api/linked_accounts_api_spec.rb +11 -10
- data/spec/api/offers_api_spec.rb +6 -1
- data/spec/api/offices_api_spec.rb +4 -1
- data/spec/api/passthrough_api_spec.rb +2 -2
- data/spec/api/regenerate_key_api_spec.rb +3 -5
- data/spec/api/reject_reasons_api_spec.rb +4 -1
- data/spec/api/scorecards_api_spec.rb +6 -1
- data/spec/api/sync_status_api_spec.rb +8 -5
- data/spec/api/tags_api_spec.rb +3 -1
- data/spec/api/users_api_spec.rb +7 -1
- data/spec/api/webhook_receivers_api_spec.rb +58 -0
- data/spec/models/access_role_enum_spec.rb +1 -1
- data/spec/models/account_details_and_actions_spec.rb +18 -0
- data/spec/models/account_details_spec.rb +18 -0
- data/spec/models/account_integration_spec.rb +7 -1
- data/spec/models/account_token_spec.rb +7 -1
- data/spec/models/activity_spec.rb +13 -1
- data/spec/models/activity_type_enum_spec.rb +1 -1
- data/spec/models/application_endpoint_request_spec.rb +40 -0
- data/spec/models/application_request_spec.rb +25 -1
- data/spec/models/{end_user_details_spec.rb → application_response_spec.rb} +11 -15
- data/spec/models/application_spec.rb +19 -7
- data/spec/models/attachment_endpoint_request_spec.rb +40 -0
- data/spec/models/attachment_request_spec.rb +12 -0
- data/spec/models/attachment_response_spec.rb +52 -0
- data/spec/models/attachment_spec.rb +25 -1
- data/spec/models/available_actions_spec.rb +1 -1
- data/spec/models/candidate_endpoint_request_spec.rb +40 -0
- data/spec/models/candidate_request_spec.rb +37 -1
- data/spec/models/{data_passthrough_spec.rb → candidate_response_spec.rb} +11 -11
- data/spec/models/candidate_spec.rb +19 -1
- data/spec/models/data_passthrough_request_spec.rb +19 -1
- data/spec/models/debug_mode_log_spec.rb +46 -0
- data/spec/models/debug_model_log_summary_spec.rb +46 -0
- data/spec/models/department_spec.rb +13 -1
- data/spec/models/disability_status_enum_spec.rb +1 -1
- data/spec/models/eeoc_spec.rb +13 -1
- data/spec/models/email_address_request_spec.rb +1 -1
- data/spec/models/email_address_spec.rb +1 -1
- data/spec/models/email_address_type_enum_spec.rb +1 -1
- data/spec/models/encoding_enum_spec.rb +28 -0
- data/spec/models/end_user_details_request_spec.rb +19 -5
- data/spec/models/error_validation_problem_spec.rb +52 -0
- data/spec/models/gender_enum_spec.rb +1 -1
- data/spec/models/ignore_common_model_request_spec.rb +40 -0
- data/spec/models/ignore_common_model_spec.rb +40 -0
- data/spec/models/job_interview_stage_spec.rb +13 -1
- data/spec/models/job_spec.rb +37 -1
- data/spec/models/job_status_enum_spec.rb +1 -1
- data/spec/models/link_token_spec.rb +7 -1
- data/spec/models/linked_account_status_spec.rb +40 -0
- data/spec/models/meta_response_spec.rb +52 -0
- data/spec/models/method_enum_spec.rb +1 -1
- data/spec/models/model_operation_spec.rb +13 -1
- data/spec/models/{remote_user_request_spec.rb → multipart_form_field_request_spec.rb} +11 -23
- data/spec/models/offer_spec.rb +13 -1
- data/spec/models/offer_status_enum_spec.rb +1 -1
- data/spec/models/office_spec.rb +13 -1
- data/spec/models/overall_recommendation_enum_spec.rb +1 -1
- data/spec/models/paginated_activity_list_spec.rb +1 -1
- data/spec/models/paginated_application_list_spec.rb +1 -1
- data/spec/models/paginated_attachment_list_spec.rb +1 -1
- data/spec/models/paginated_candidate_list_spec.rb +1 -1
- data/spec/models/paginated_department_list_spec.rb +1 -1
- data/spec/models/paginated_eeoc_list_spec.rb +1 -1
- data/spec/models/paginated_job_interview_stage_list_spec.rb +1 -1
- data/spec/models/paginated_job_list_spec.rb +1 -1
- data/spec/models/paginated_offer_list_spec.rb +1 -1
- data/spec/models/paginated_office_list_spec.rb +1 -1
- data/spec/models/paginated_reject_reason_list_spec.rb +1 -1
- data/spec/models/paginated_remote_user_list_spec.rb +1 -1
- data/spec/models/paginated_scheduled_interview_list_spec.rb +1 -1
- data/spec/models/paginated_scorecard_list_spec.rb +1 -1
- data/spec/models/paginated_tag_list_spec.rb +1 -1
- data/spec/models/phone_number_request_spec.rb +1 -1
- data/spec/models/phone_number_spec.rb +1 -1
- data/spec/models/phone_number_type_enum_spec.rb +1 -1
- data/spec/models/race_enum_spec.rb +1 -1
- data/spec/models/reason_enum_spec.rb +28 -0
- data/spec/models/reject_reason_spec.rb +13 -1
- data/spec/models/remote_data_spec.rb +1 -1
- data/spec/models/remote_key_for_regeneration_request_spec.rb +1 -1
- data/spec/models/remote_key_spec.rb +1 -1
- data/spec/models/remote_response_spec.rb +13 -1
- data/spec/models/remote_user_spec.rb +13 -1
- data/spec/models/response_type_enum_spec.rb +28 -0
- data/spec/models/scheduled_interview_spec.rb +13 -1
- data/spec/models/scheduled_interview_status_enum_spec.rb +1 -1
- data/spec/models/scorecard_spec.rb +13 -1
- data/spec/models/sync_status_spec.rb +1 -1
- data/spec/models/tag_spec.rb +13 -1
- data/spec/models/update_application_stage_request_spec.rb +40 -0
- data/spec/models/url_request_spec.rb +1 -1
- data/spec/models/url_spec.rb +1 -1
- data/spec/models/url_type_enum_spec.rb +1 -1
- data/spec/models/{remote_key_for_regeneration_spec.rb → validation_problem_source_spec.rb} +8 -8
- data/spec/models/veteran_status_enum_spec.rb +1 -1
- data/spec/models/visibility_enum_spec.rb +1 -1
- data/spec/models/warning_validation_problem_spec.rb +52 -0
- data/spec/models/webhook_receiver_request_spec.rb +46 -0
- data/spec/models/webhook_receiver_spec.rb +46 -0
- metadata +186 -123
- data/config.json +0 -2
- data/docs/DataPassthrough.md +0 -24
- data/docs/EndUserDetails.md +0 -24
- data/docs/PatchedApplicationRequest.md +0 -34
- data/docs/RemoteKeyForRegeneration.md +0 -18
- data/docs/RemoteUserRequest.md +0 -30
- data/docs/ScheduledInterviewRequest.md +0 -38
- data/docs/ScorecardRequest.md +0 -30
- data/lib/merge_ats_client/models/patched_application_request.rb +0 -309
- data/lib/merge_ats_client/models/remote_user_request.rb +0 -302
- data/merge_ats_client-1.0.3.gem +0 -0
- data/spec/models/patched_application_request_spec.rb +0 -82
- data/spec/models/scheduled_interview_request_spec.rb +0 -94
- data/spec/models/scorecard_request_spec.rb +0 -70
- data/test_ats.rb +0 -22
- data/test_signature.rb +0 -32
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0
|
7
7
|
Contact: hello@merge.dev
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.1.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -14,44 +14,19 @@ require 'date'
|
|
14
14
|
require 'time'
|
15
15
|
|
16
16
|
module MergeATSClient
|
17
|
-
class
|
18
|
-
attr_accessor :
|
17
|
+
class WebhookReceiverRequest
|
18
|
+
attr_accessor :event
|
19
19
|
|
20
|
-
attr_accessor :
|
20
|
+
attr_accessor :is_active
|
21
21
|
|
22
|
-
attr_accessor :
|
23
|
-
|
24
|
-
attr_accessor :categories
|
25
|
-
|
26
|
-
class EnumAttributeValidator
|
27
|
-
attr_reader :datatype
|
28
|
-
attr_reader :allowable_values
|
29
|
-
|
30
|
-
def initialize(datatype, allowable_values)
|
31
|
-
@allowable_values = allowable_values.map do |value|
|
32
|
-
case datatype.to_s
|
33
|
-
when /Integer/i
|
34
|
-
value.to_i
|
35
|
-
when /Float/i
|
36
|
-
value.to_f
|
37
|
-
else
|
38
|
-
value
|
39
|
-
end
|
40
|
-
end
|
41
|
-
end
|
42
|
-
|
43
|
-
def valid?(value)
|
44
|
-
!value || allowable_values.include?(value)
|
45
|
-
end
|
46
|
-
end
|
22
|
+
attr_accessor :key
|
47
23
|
|
48
24
|
# Attribute mapping from ruby-style variable name to JSON key.
|
49
25
|
def self.attribute_map
|
50
26
|
{
|
51
|
-
:'
|
52
|
-
:'
|
53
|
-
:'
|
54
|
-
:'categories' => :'categories'
|
27
|
+
:'event' => :'event',
|
28
|
+
:'is_active' => :'is_active',
|
29
|
+
:'key' => :'key'
|
55
30
|
}
|
56
31
|
end
|
57
32
|
|
@@ -63,10 +38,9 @@ module MergeATSClient
|
|
63
38
|
# Attribute type mapping.
|
64
39
|
def self.openapi_types
|
65
40
|
{
|
66
|
-
:'
|
67
|
-
:'
|
68
|
-
:'
|
69
|
-
:'categories' => :'Array<String>'
|
41
|
+
:'event' => :'String',
|
42
|
+
:'is_active' => :'Boolean',
|
43
|
+
:'key' => :'String'
|
70
44
|
}
|
71
45
|
end
|
72
46
|
|
@@ -80,33 +54,27 @@ module MergeATSClient
|
|
80
54
|
# @param [Hash] attributes Model attributes in the form of hash
|
81
55
|
def initialize(attributes = {})
|
82
56
|
if (!attributes.is_a?(Hash))
|
83
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `MergeATSClient::
|
57
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `MergeATSClient::WebhookReceiverRequest` initialize method"
|
84
58
|
end
|
85
59
|
|
86
60
|
# check to see if the attribute exists and convert string to symbol for hash key
|
87
61
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
88
62
|
if (!self.class.attribute_map.key?(k.to_sym))
|
89
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `MergeATSClient::
|
63
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `MergeATSClient::WebhookReceiverRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
90
64
|
end
|
91
65
|
h[k.to_sym] = v
|
92
66
|
}
|
93
67
|
|
94
|
-
if attributes.key?(:'
|
95
|
-
self.
|
68
|
+
if attributes.key?(:'event')
|
69
|
+
self.event = attributes[:'event']
|
96
70
|
end
|
97
71
|
|
98
|
-
if attributes.key?(:'
|
99
|
-
self.
|
72
|
+
if attributes.key?(:'is_active')
|
73
|
+
self.is_active = attributes[:'is_active']
|
100
74
|
end
|
101
75
|
|
102
|
-
if attributes.key?(:'
|
103
|
-
self.
|
104
|
-
end
|
105
|
-
|
106
|
-
if attributes.key?(:'categories')
|
107
|
-
if (value = attributes[:'categories']).is_a?(Array)
|
108
|
-
self.categories = value
|
109
|
-
end
|
76
|
+
if attributes.key?(:'key')
|
77
|
+
self.key = attributes[:'key']
|
110
78
|
end
|
111
79
|
end
|
112
80
|
|
@@ -114,20 +82,20 @@ module MergeATSClient
|
|
114
82
|
# @return Array for valid properties with the reasons
|
115
83
|
def list_invalid_properties
|
116
84
|
invalid_properties = Array.new
|
117
|
-
if @
|
118
|
-
invalid_properties.push('invalid value for "
|
85
|
+
if @event.nil?
|
86
|
+
invalid_properties.push('invalid value for "event", event cannot be nil.')
|
119
87
|
end
|
120
88
|
|
121
|
-
if @
|
122
|
-
invalid_properties.push('invalid value for "
|
89
|
+
if @event.to_s.length < 1
|
90
|
+
invalid_properties.push('invalid value for "event", the character length must be great than or equal to 1.')
|
123
91
|
end
|
124
92
|
|
125
|
-
if @
|
126
|
-
invalid_properties.push('invalid value for "
|
93
|
+
if @is_active.nil?
|
94
|
+
invalid_properties.push('invalid value for "is_active", is_active cannot be nil.')
|
127
95
|
end
|
128
96
|
|
129
|
-
if
|
130
|
-
invalid_properties.push('invalid value for "
|
97
|
+
if !@key.nil? && @key.to_s.length < 1
|
98
|
+
invalid_properties.push('invalid value for "key", the character length must be great than or equal to 1.')
|
131
99
|
end
|
132
100
|
|
133
101
|
invalid_properties
|
@@ -136,22 +104,45 @@ module MergeATSClient
|
|
136
104
|
# Check to see if the all the properties in the model are valid
|
137
105
|
# @return true if the model is valid
|
138
106
|
def valid?
|
139
|
-
return false if @
|
140
|
-
return false if @
|
141
|
-
return false if @
|
142
|
-
return false if
|
107
|
+
return false if @event.nil?
|
108
|
+
return false if @event.to_s.length < 1
|
109
|
+
return false if @is_active.nil?
|
110
|
+
return false if !@key.nil? && @key.to_s.length < 1
|
143
111
|
true
|
144
112
|
end
|
145
113
|
|
114
|
+
# Custom attribute writer method with validation
|
115
|
+
# @param [Object] event Value to be assigned
|
116
|
+
def event=(event)
|
117
|
+
if event.nil?
|
118
|
+
fail ArgumentError, 'event cannot be nil'
|
119
|
+
end
|
120
|
+
|
121
|
+
if event.to_s.length < 1
|
122
|
+
fail ArgumentError, 'invalid value for "event", the character length must be great than or equal to 1.'
|
123
|
+
end
|
124
|
+
|
125
|
+
@event = event
|
126
|
+
end
|
127
|
+
|
128
|
+
# Custom attribute writer method with validation
|
129
|
+
# @param [Object] key Value to be assigned
|
130
|
+
def key=(key)
|
131
|
+
if !key.nil? && key.to_s.length < 1
|
132
|
+
fail ArgumentError, 'invalid value for "key", the character length must be great than or equal to 1.'
|
133
|
+
end
|
134
|
+
|
135
|
+
@key = key
|
136
|
+
end
|
137
|
+
|
146
138
|
# Checks equality by comparing each attribute.
|
147
139
|
# @param [Object] Object to be compared
|
148
140
|
def ==(o)
|
149
141
|
return true if self.equal?(o)
|
150
142
|
self.class == o.class &&
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
categories == o.categories
|
143
|
+
event == o.event &&
|
144
|
+
is_active == o.is_active &&
|
145
|
+
key == o.key
|
155
146
|
end
|
156
147
|
|
157
148
|
# @see the `==` method
|
@@ -163,7 +154,7 @@ module MergeATSClient
|
|
163
154
|
# Calculates hash code according to all attributes.
|
164
155
|
# @return [Integer] Hash code
|
165
156
|
def hash
|
166
|
-
[
|
157
|
+
[event, is_active, key].hash
|
167
158
|
end
|
168
159
|
|
169
160
|
# Builds the object from hash
|
@@ -206,7 +197,7 @@ module MergeATSClient
|
|
206
197
|
when :Date
|
207
198
|
Date.parse(value)
|
208
199
|
when :String
|
209
|
-
value
|
200
|
+
value
|
210
201
|
when :Integer
|
211
202
|
value.to_i
|
212
203
|
when :Float
|
data/lib/merge_ats_client.rb
CHANGED
@@ -27,33 +27,48 @@ require 'merge_ats_client/models/account_token'
|
|
27
27
|
require 'merge_ats_client/models/activity'
|
28
28
|
require 'merge_ats_client/models/activity_type_enum'
|
29
29
|
require 'merge_ats_client/models/application'
|
30
|
+
require 'merge_ats_client/models/application_endpoint_request'
|
30
31
|
require 'merge_ats_client/models/application_request'
|
32
|
+
require 'merge_ats_client/models/application_response'
|
31
33
|
require 'merge_ats_client/models/attachment'
|
34
|
+
require 'merge_ats_client/models/attachment_endpoint_request'
|
32
35
|
require 'merge_ats_client/models/attachment_request'
|
36
|
+
require 'merge_ats_client/models/attachment_response'
|
33
37
|
require 'merge_ats_client/models/attachment_type_enum'
|
34
38
|
require 'merge_ats_client/models/available_actions'
|
35
39
|
require 'merge_ats_client/models/candidate'
|
40
|
+
require 'merge_ats_client/models/candidate_endpoint_request'
|
36
41
|
require 'merge_ats_client/models/candidate_request'
|
42
|
+
require 'merge_ats_client/models/candidate_response'
|
37
43
|
require 'merge_ats_client/models/categories_enum'
|
38
44
|
require 'merge_ats_client/models/category_enum'
|
39
45
|
require 'merge_ats_client/models/data_passthrough_request'
|
46
|
+
require 'merge_ats_client/models/debug_mode_log'
|
47
|
+
require 'merge_ats_client/models/debug_model_log_summary'
|
40
48
|
require 'merge_ats_client/models/department'
|
41
49
|
require 'merge_ats_client/models/disability_status_enum'
|
42
50
|
require 'merge_ats_client/models/eeoc'
|
43
51
|
require 'merge_ats_client/models/email_address'
|
44
52
|
require 'merge_ats_client/models/email_address_request'
|
45
53
|
require 'merge_ats_client/models/email_address_type_enum'
|
54
|
+
require 'merge_ats_client/models/encoding_enum'
|
46
55
|
require 'merge_ats_client/models/end_user_details_request'
|
56
|
+
require 'merge_ats_client/models/error_validation_problem'
|
47
57
|
require 'merge_ats_client/models/gender_enum'
|
48
58
|
require 'merge_ats_client/models/generate_remote_key_request'
|
59
|
+
require 'merge_ats_client/models/ignore_common_model'
|
60
|
+
require 'merge_ats_client/models/ignore_common_model_request'
|
49
61
|
require 'merge_ats_client/models/issue'
|
50
62
|
require 'merge_ats_client/models/issue_status_enum'
|
51
63
|
require 'merge_ats_client/models/job'
|
52
64
|
require 'merge_ats_client/models/job_interview_stage'
|
53
65
|
require 'merge_ats_client/models/job_status_enum'
|
54
66
|
require 'merge_ats_client/models/link_token'
|
67
|
+
require 'merge_ats_client/models/linked_account_status'
|
68
|
+
require 'merge_ats_client/models/meta_response'
|
55
69
|
require 'merge_ats_client/models/method_enum'
|
56
70
|
require 'merge_ats_client/models/model_operation'
|
71
|
+
require 'merge_ats_client/models/multipart_form_field_request'
|
57
72
|
require 'merge_ats_client/models/offer'
|
58
73
|
require 'merge_ats_client/models/offer_status_enum'
|
59
74
|
require 'merge_ats_client/models/office'
|
@@ -80,28 +95,31 @@ require 'merge_ats_client/models/phone_number'
|
|
80
95
|
require 'merge_ats_client/models/phone_number_request'
|
81
96
|
require 'merge_ats_client/models/phone_number_type_enum'
|
82
97
|
require 'merge_ats_client/models/race_enum'
|
98
|
+
require 'merge_ats_client/models/reason_enum'
|
83
99
|
require 'merge_ats_client/models/reject_reason'
|
84
100
|
require 'merge_ats_client/models/remote_data'
|
85
|
-
require 'merge_ats_client/models/remote_data_request'
|
86
101
|
require 'merge_ats_client/models/remote_key'
|
87
102
|
require 'merge_ats_client/models/remote_key_for_regeneration_request'
|
88
103
|
require 'merge_ats_client/models/remote_response'
|
89
104
|
require 'merge_ats_client/models/remote_user'
|
90
|
-
require 'merge_ats_client/models/remote_user_request'
|
91
105
|
require 'merge_ats_client/models/request_format_enum'
|
106
|
+
require 'merge_ats_client/models/response_type_enum'
|
92
107
|
require 'merge_ats_client/models/scheduled_interview'
|
93
|
-
require 'merge_ats_client/models/scheduled_interview_request'
|
94
108
|
require 'merge_ats_client/models/scheduled_interview_status_enum'
|
95
109
|
require 'merge_ats_client/models/scorecard'
|
96
|
-
require 'merge_ats_client/models/scorecard_request'
|
97
110
|
require 'merge_ats_client/models/sync_status'
|
98
111
|
require 'merge_ats_client/models/sync_status_status_enum'
|
99
112
|
require 'merge_ats_client/models/tag'
|
113
|
+
require 'merge_ats_client/models/update_application_stage_request'
|
100
114
|
require 'merge_ats_client/models/url'
|
101
115
|
require 'merge_ats_client/models/url_request'
|
102
116
|
require 'merge_ats_client/models/url_type_enum'
|
117
|
+
require 'merge_ats_client/models/validation_problem_source'
|
103
118
|
require 'merge_ats_client/models/veteran_status_enum'
|
104
119
|
require 'merge_ats_client/models/visibility_enum'
|
120
|
+
require 'merge_ats_client/models/warning_validation_problem'
|
121
|
+
require 'merge_ats_client/models/webhook_receiver'
|
122
|
+
require 'merge_ats_client/models/webhook_receiver_request'
|
105
123
|
|
106
124
|
# APIs
|
107
125
|
require 'merge_ats_client/api/account_details_api'
|
@@ -114,6 +132,7 @@ require 'merge_ats_client/api/candidates_api'
|
|
114
132
|
require 'merge_ats_client/api/delete_account_api'
|
115
133
|
require 'merge_ats_client/api/departments_api'
|
116
134
|
require 'merge_ats_client/api/eeocs_api'
|
135
|
+
require 'merge_ats_client/api/force_resync_api'
|
117
136
|
require 'merge_ats_client/api/generate_key_api'
|
118
137
|
require 'merge_ats_client/api/interviews_api'
|
119
138
|
require 'merge_ats_client/api/issues_api'
|
@@ -130,6 +149,7 @@ require 'merge_ats_client/api/scorecards_api'
|
|
130
149
|
require 'merge_ats_client/api/sync_status_api'
|
131
150
|
require 'merge_ats_client/api/tags_api'
|
132
151
|
require 'merge_ats_client/api/users_api'
|
152
|
+
require 'merge_ats_client/api/webhook_receivers_api'
|
133
153
|
|
134
154
|
module MergeATSClient
|
135
155
|
class << self
|
@@ -34,6 +34,7 @@ describe 'AccountDetailsApi' do
|
|
34
34
|
|
35
35
|
# unit tests for account_details_retrieve
|
36
36
|
# Get details for a linked account.
|
37
|
+
# @param x_account_token Token identifying the end user.
|
37
38
|
# @param [Hash] opts the optional parameters
|
38
39
|
# @return [AccountDetails]
|
39
40
|
describe 'account_details_retrieve test' do
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0
|
7
7
|
Contact: hello@merge.dev
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.1.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -40,9 +40,12 @@ describe 'ActivitiesApi' do
|
|
40
40
|
# @option opts [Time] :created_before If provided, will only return objects created before this datetime.
|
41
41
|
# @option opts [String] :cursor The pagination cursor value.
|
42
42
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
43
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
44
|
+
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
43
45
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
44
46
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
45
47
|
# @option opts [Integer] :page_size Number of results to return per page.
|
48
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
46
49
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
47
50
|
# @option opts [String] :user_id If provided, will only return activities done by this user.
|
48
51
|
# @return [PaginatedActivityList]
|
@@ -58,6 +61,8 @@ describe 'ActivitiesApi' do
|
|
58
61
|
# @param id
|
59
62
|
# @param [Hash] opts the optional parameters
|
60
63
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
64
|
+
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
65
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
61
66
|
# @return [Activity]
|
62
67
|
describe 'activities_retrieve test' do
|
63
68
|
it 'should work' do
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0
|
7
7
|
Contact: hello@merge.dev
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.1.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -32,6 +32,35 @@ describe 'ApplicationsApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
+
# unit tests for applications_change_stage_create
|
36
|
+
# Updates the `current_stage` field of an `Application` object
|
37
|
+
# @param x_account_token Token identifying the end user.
|
38
|
+
# @param id
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @option opts [Boolean] :is_debug_mode Whether to include debug fields (such as log file links) in the response.
|
41
|
+
# @option opts [Boolean] :run_async Whether or not third-party updates should be run asynchronously.
|
42
|
+
# @option opts [UpdateApplicationStageRequest] :update_application_stage_request
|
43
|
+
# @return [ApplicationResponse]
|
44
|
+
describe 'applications_change_stage_create test' do
|
45
|
+
it 'should work' do
|
46
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
# unit tests for applications_create
|
51
|
+
# Creates an `Application` object with the given values.
|
52
|
+
# @param x_account_token Token identifying the end user.
|
53
|
+
# @param application_endpoint_request
|
54
|
+
# @param [Hash] opts the optional parameters
|
55
|
+
# @option opts [Boolean] :is_debug_mode Whether to include debug fields (such as log file links) in the response.
|
56
|
+
# @option opts [Boolean] :run_async Whether or not third-party updates should be run asynchronously.
|
57
|
+
# @return [ApplicationResponse]
|
58
|
+
describe 'applications_create test' do
|
59
|
+
it 'should work' do
|
60
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
35
64
|
# unit tests for applications_list
|
36
65
|
# Returns a list of `Application` objects.
|
37
66
|
# @param x_account_token Token identifying the end user.
|
@@ -43,12 +72,15 @@ describe 'ApplicationsApi' do
|
|
43
72
|
# @option opts [String] :current_stage_id If provided, will only return applications at this interview stage.
|
44
73
|
# @option opts [String] :cursor The pagination cursor value.
|
45
74
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
75
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
76
|
+
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
46
77
|
# @option opts [String] :job_id If provided, will only return applications for this job.
|
47
78
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
48
79
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
49
80
|
# @option opts [Integer] :page_size Number of results to return per page.
|
50
81
|
# @option opts [String] :reject_reason_id If provided, will only return applications with this reject reason.
|
51
82
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
83
|
+
# @option opts [String] :source If provided, will only return applications with this source.
|
52
84
|
# @return [PaginatedApplicationList]
|
53
85
|
describe 'applications_list test' do
|
54
86
|
it 'should work' do
|
@@ -56,12 +88,25 @@ describe 'ApplicationsApi' do
|
|
56
88
|
end
|
57
89
|
end
|
58
90
|
|
91
|
+
# unit tests for applications_meta_post_retrieve
|
92
|
+
# Returns metadata for `Application` POSTs.
|
93
|
+
# @param x_account_token Token identifying the end user.
|
94
|
+
# @param [Hash] opts the optional parameters
|
95
|
+
# @option opts [String] :application_remote_template_id The template ID associated with the nested application in the request.
|
96
|
+
# @return [MetaResponse]
|
97
|
+
describe 'applications_meta_post_retrieve test' do
|
98
|
+
it 'should work' do
|
99
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
100
|
+
end
|
101
|
+
end
|
102
|
+
|
59
103
|
# unit tests for applications_retrieve
|
60
104
|
# Returns an `Application` object with the given `id`.
|
61
105
|
# @param x_account_token Token identifying the end user.
|
62
106
|
# @param id
|
63
107
|
# @param [Hash] opts the optional parameters
|
64
108
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
109
|
+
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
65
110
|
# @return [Application]
|
66
111
|
describe 'applications_retrieve test' do
|
67
112
|
it 'should work' do
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0
|
7
7
|
Contact: hello@merge.dev
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.1.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -32,6 +32,20 @@ describe 'AttachmentsApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
+
# unit tests for attachments_create
|
36
|
+
# Creates an `Attachment` object with the given values.
|
37
|
+
# @param x_account_token Token identifying the end user.
|
38
|
+
# @param attachment_endpoint_request
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @option opts [Boolean] :is_debug_mode Whether to include debug fields (such as log file links) in the response.
|
41
|
+
# @option opts [Boolean] :run_async Whether or not third-party updates should be run asynchronously.
|
42
|
+
# @return [AttachmentResponse]
|
43
|
+
describe 'attachments_create test' do
|
44
|
+
it 'should work' do
|
45
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
35
49
|
# unit tests for attachments_list
|
36
50
|
# Returns a list of `Attachment` objects.
|
37
51
|
# @param x_account_token Token identifying the end user.
|
@@ -40,9 +54,13 @@ describe 'AttachmentsApi' do
|
|
40
54
|
# @option opts [Time] :created_after If provided, will only return objects created after this datetime.
|
41
55
|
# @option opts [Time] :created_before If provided, will only return objects created before this datetime.
|
42
56
|
# @option opts [String] :cursor The pagination cursor value.
|
57
|
+
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
58
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
59
|
+
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
43
60
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
44
61
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
45
62
|
# @option opts [Integer] :page_size Number of results to return per page.
|
63
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
46
64
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
47
65
|
# @return [PaginatedAttachmentList]
|
48
66
|
describe 'attachments_list test' do
|
@@ -51,11 +69,25 @@ describe 'AttachmentsApi' do
|
|
51
69
|
end
|
52
70
|
end
|
53
71
|
|
72
|
+
# unit tests for attachments_meta_post_retrieve
|
73
|
+
# Returns metadata for `Attachment` POSTs.
|
74
|
+
# @param x_account_token Token identifying the end user.
|
75
|
+
# @param [Hash] opts the optional parameters
|
76
|
+
# @return [MetaResponse]
|
77
|
+
describe 'attachments_meta_post_retrieve test' do
|
78
|
+
it 'should work' do
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
54
83
|
# unit tests for attachments_retrieve
|
55
84
|
# Returns an `Attachment` object with the given `id`.
|
56
85
|
# @param x_account_token Token identifying the end user.
|
57
86
|
# @param id
|
58
87
|
# @param [Hash] opts the optional parameters
|
88
|
+
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
89
|
+
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
90
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
59
91
|
# @return [Attachment]
|
60
92
|
describe 'attachments_retrieve test' do
|
61
93
|
it 'should work' do
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0
|
7
7
|
Contact: hello@merge.dev
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.1.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -32,6 +32,33 @@ describe 'CandidatesApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
+
# unit tests for candidates_create
|
36
|
+
# Creates a `Candidate` object with the given values.
|
37
|
+
# @param x_account_token Token identifying the end user.
|
38
|
+
# @param candidate_endpoint_request
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @option opts [Boolean] :is_debug_mode Whether to include debug fields (such as log file links) in the response.
|
41
|
+
# @option opts [Boolean] :run_async Whether or not third-party updates should be run asynchronously.
|
42
|
+
# @return [CandidateResponse]
|
43
|
+
describe 'candidates_create test' do
|
44
|
+
it 'should work' do
|
45
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
49
|
+
# unit tests for candidates_ignore_create
|
50
|
+
# Ignores a specific row based on the `model_id` in the url. These records will have their properties set to null, and will not be updated in future syncs. The \"reason\" and \"message\" fields in the request body will be stored for audit purposes.
|
51
|
+
# @param x_account_token Token identifying the end user.
|
52
|
+
# @param model_id
|
53
|
+
# @param ignore_common_model_request
|
54
|
+
# @param [Hash] opts the optional parameters
|
55
|
+
# @return [IgnoreCommonModel]
|
56
|
+
describe 'candidates_ignore_create test' do
|
57
|
+
it 'should work' do
|
58
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
35
62
|
# unit tests for candidates_list
|
36
63
|
# Returns a list of `Candidate` objects.
|
37
64
|
# @param x_account_token Token identifying the end user.
|
@@ -40,6 +67,10 @@ describe 'CandidatesApi' do
|
|
40
67
|
# @option opts [Time] :created_before If provided, will only return objects created before this datetime.
|
41
68
|
# @option opts [String] :cursor The pagination cursor value.
|
42
69
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
70
|
+
# @option opts [String] :first_name If provided, will only return candidates with this first name.
|
71
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
72
|
+
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
73
|
+
# @option opts [String] :last_name If provided, will only return candidates with this last name.
|
43
74
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
44
75
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
45
76
|
# @option opts [Integer] :page_size Number of results to return per page.
|
@@ -51,12 +82,24 @@ describe 'CandidatesApi' do
|
|
51
82
|
end
|
52
83
|
end
|
53
84
|
|
85
|
+
# unit tests for candidates_meta_post_retrieve
|
86
|
+
# Returns metadata for `Candidate` POSTs.
|
87
|
+
# @param x_account_token Token identifying the end user.
|
88
|
+
# @param [Hash] opts the optional parameters
|
89
|
+
# @return [MetaResponse]
|
90
|
+
describe 'candidates_meta_post_retrieve test' do
|
91
|
+
it 'should work' do
|
92
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
54
96
|
# unit tests for candidates_retrieve
|
55
97
|
# Returns a `Candidate` object with the given `id`.
|
56
98
|
# @param x_account_token Token identifying the end user.
|
57
99
|
# @param id
|
58
100
|
# @param [Hash] opts the optional parameters
|
59
101
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
102
|
+
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
60
103
|
# @return [Candidate]
|
61
104
|
describe 'candidates_retrieve test' do
|
62
105
|
it 'should work' do
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0
|
7
7
|
Contact: hello@merge.dev
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.1.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -39,6 +39,8 @@ describe 'DepartmentsApi' do
|
|
39
39
|
# @option opts [Time] :created_after If provided, will only return objects created after this datetime.
|
40
40
|
# @option opts [Time] :created_before If provided, will only return objects created before this datetime.
|
41
41
|
# @option opts [String] :cursor The pagination cursor value.
|
42
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
43
|
+
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
42
44
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
43
45
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
44
46
|
# @option opts [Integer] :page_size Number of results to return per page.
|
@@ -55,6 +57,7 @@ describe 'DepartmentsApi' do
|
|
55
57
|
# @param x_account_token Token identifying the end user.
|
56
58
|
# @param id
|
57
59
|
# @param [Hash] opts the optional parameters
|
60
|
+
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
58
61
|
# @return [Department]
|
59
62
|
describe 'departments_retrieve test' do
|
60
63
|
it 'should work' do
|