crelate_client 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/Gemfile +7 -0
- data/Gemfile.lock +69 -0
- data/README.md +267 -0
- data/Rakefile +8 -0
- data/crelate_client-1.0.0.gem +0 -0
- data/crelate_client.gemspec +45 -0
- data/docs/AssignedTo.md +11 -0
- data/docs/AssignedToRequest.md +9 -0
- data/docs/BoardParameters.md +9 -0
- data/docs/BroadcastMessage.md +15 -0
- data/docs/BroadcastMessageCreateRequest.md +9 -0
- data/docs/CompaniesApi.md +921 -0
- data/docs/Company.md +11 -0
- data/docs/ComplianceSettingsPayload.md +8 -0
- data/docs/ConsentRequestPayload.md +9 -0
- data/docs/ContactsApi.md +1246 -0
- data/docs/CrelateAction.md +14 -0
- data/docs/CrelateActionPayload.md +10 -0
- data/docs/CrelateDetails.md +10 -0
- data/docs/CustomFormCompletedForm.md +11 -0
- data/docs/CustomFormDefinition.md +16 -0
- data/docs/CustomFormDefinitionEntities.md +9 -0
- data/docs/CustomFormFormDefinitionUsage.md +10 -0
- data/docs/CustomFormFormDefintionUsageJobs.md +9 -0
- data/docs/CustomFormFormFieldUsage.md +11 -0
- data/docs/CustomFormFormFieldUsageFormDefinition.md +10 -0
- data/docs/CustomFormLayoutSection.md +9 -0
- data/docs/CustomFormSaveResponse.md +12 -0
- data/docs/DocumentCollection.md +10 -0
- data/docs/DocumentItem.md +22 -0
- data/docs/DomainApi.md +198 -0
- data/docs/EmailAttachment.md +9 -0
- data/docs/EntityDocumentOptions.md +8 -0
- data/docs/EntityLookup.md +15 -0
- data/docs/ExtIntegrationResponseInterviewResponse.md +11 -0
- data/docs/ExtReferralRequest.md +12 -0
- data/docs/ExtResumeCandidate.md +21 -0
- data/docs/ExtResumeCareerBuilderValidateCredentialsResponse.md +9 -0
- data/docs/ExtResumeOrgState.md +27 -0
- data/docs/ExtResumePackagePricing.md +11 -0
- data/docs/ExtResumePackageUpdateRequest.md +9 -0
- data/docs/ExtResumeSearchResponse.md +9 -0
- data/docs/ExtResumeViewResponse.md +30 -0
- data/docs/FusebillStateItem.md +9 -0
- data/docs/GetDocumentListOptions.md +10 -0
- data/docs/InterviewRequest.md +9 -0
- data/docs/InterviewRequestDetails.md +15 -0
- data/docs/InterviewResponse.md +18 -0
- data/docs/JobPostRequest.md +9 -0
- data/docs/JobPostingsApi.md +378 -0
- data/docs/JobResponse.md +15 -0
- data/docs/JobsApi.md +1197 -0
- data/docs/MultiEntityLookup.md +8 -0
- data/docs/NotesApi.md +215 -0
- data/docs/OrgAuditLogEvent.md +22 -0
- data/docs/PostPurchaseRequest.md +12 -0
- data/docs/PublicApiAttachmentResponse.md +19 -0
- data/docs/PublicApiAttachmentResponseList.md +9 -0
- data/docs/PublicApiDocumentType.md +10 -0
- data/docs/PublicApiGetAccountResponse.md +85 -0
- data/docs/PublicApiGetAccountResponseList.md +9 -0
- data/docs/PublicApiGetContactJob.md +13 -0
- data/docs/PublicApiGetContactResponse.md +151 -0
- data/docs/PublicApiGetContactResponseList.md +9 -0
- data/docs/PublicApiGetJobContact.md +13 -0
- data/docs/PublicApiGetJobListResponse.md +9 -0
- data/docs/PublicApiGetJobPostingListResponse.md +9 -0
- data/docs/PublicApiGetJobPostingResponse.md +29 -0
- data/docs/PublicApiGetJobPostingSearchResponse.md +8 -0
- data/docs/PublicApiGetJobPostingSearchResult.md +18 -0
- data/docs/PublicApiGetJobResponse.md +127 -0
- data/docs/PublicApiGetNoteResponse.md +21 -0
- data/docs/PublicApiGetTaskResponse.md +23 -0
- data/docs/PublicApiIdResponse.md +8 -0
- data/docs/PublicApiPlacementResponse.md +32 -0
- data/docs/PublicApiPlacementResponseList.md +9 -0
- data/docs/PublicApiRecordOwner.md +10 -0
- data/docs/PublicApiSaveAccountRequest.md +74 -0
- data/docs/PublicApiSaveAttachmentRequest.md +13 -0
- data/docs/PublicApiSaveContactRequest.md +139 -0
- data/docs/PublicApiSaveJobApplicationRequest.md +13 -0
- data/docs/PublicApiSaveJobPostingRequest.md +19 -0
- data/docs/PublicApiSaveJobRequest.md +95 -0
- data/docs/PublicApiSaveJobRequestJobType.md +9 -0
- data/docs/PublicApiSaveNoteRequest.md +11 -0
- data/docs/PublicApiSaveTaskRequest.md +13 -0
- data/docs/PublicApiSaveWorkflowItemStatusRequest.md +9 -0
- data/docs/PublicApiTagCategory.md +9 -0
- data/docs/PublicApiWorkflowStatus.md +12 -0
- data/docs/PublicApiWorkflowType.md +9 -0
- data/docs/Question.md +13 -0
- data/docs/QuestionSetResponse.md +12 -0
- data/docs/SaveExtCredentialResponse.md +10 -0
- data/docs/SearchContact.md +11 -0
- data/docs/SendEmailResponse.md +13 -0
- data/docs/SendSubmittalDetail.md +11 -0
- data/docs/ShareLink.md +13 -0
- data/docs/SignupInformation.md +19 -0
- data/docs/SmsPlivoMessageReceivedRequest.md +15 -0
- data/docs/SmsPlivoMessageStatusReceivedRequest.md +17 -0
- data/docs/SmsPlivoVoiceAnswerRequest.md +13 -0
- data/docs/SmsPlivoVoiceHangupRequest.md +19 -0
- data/docs/SparkHireResponseInfoInterviewResponse.md +11 -0
- data/docs/SparkHireResponseInfoJobResponse.md +11 -0
- data/docs/SparkHireResponseInfoQuestionSetResponse.md +11 -0
- data/docs/TasksApi.md +215 -0
- data/docs/UserResponse.md +12 -0
- data/docs/WayupData.md +15 -0
- data/docs/WebhookDeleteResponse.md +8 -0
- data/docs/ZipApplyData.md +15 -0
- data/git_push.sh +55 -0
- data/lib/.DS_Store +0 -0
- data/lib/crelate_client/.DS_Store +0 -0
- data/lib/crelate_client/api/companies_api.rb +1151 -0
- data/lib/crelate_client/api/contacts_api.rb +1552 -0
- data/lib/crelate_client/api/domain_api.rb +239 -0
- data/lib/crelate_client/api/job_postings_api.rb +467 -0
- data/lib/crelate_client/api/jobs_api.rb +1494 -0
- data/lib/crelate_client/api/notes_api.rb +273 -0
- data/lib/crelate_client/api/tasks_api.rb +273 -0
- data/lib/crelate_client/api_client.rb +388 -0
- data/lib/crelate_client/api_error.rb +38 -0
- data/lib/crelate_client/configuration.rb +202 -0
- data/lib/crelate_client/models/assigned_to.rb +215 -0
- data/lib/crelate_client/models/assigned_to_request.rb +197 -0
- data/lib/crelate_client/models/board_parameters.rb +199 -0
- data/lib/crelate_client/models/broadcast_message.rb +284 -0
- data/lib/crelate_client/models/broadcast_message_create_request.rb +197 -0
- data/lib/crelate_client/models/company.rb +215 -0
- data/lib/crelate_client/models/compliance_settings_payload.rb +188 -0
- data/lib/crelate_client/models/consent_request_payload.rb +197 -0
- data/lib/crelate_client/models/crelate_action.rb +279 -0
- data/lib/crelate_client/models/crelate_action_payload.rb +210 -0
- data/lib/crelate_client/models/crelate_details.rb +206 -0
- data/lib/crelate_client/models/custom_form_completed_form.rb +221 -0
- data/lib/crelate_client/models/custom_form_definition.rb +264 -0
- data/lib/crelate_client/models/custom_form_definition_entities.rb +201 -0
- data/lib/crelate_client/models/custom_form_form_definition_usage.rb +210 -0
- data/lib/crelate_client/models/custom_form_form_defintion_usage_jobs.rb +197 -0
- data/lib/crelate_client/models/custom_form_form_field_usage.rb +221 -0
- data/lib/crelate_client/models/custom_form_form_field_usage_form_definition.rb +206 -0
- data/lib/crelate_client/models/custom_form_layout_section.rb +199 -0
- data/lib/crelate_client/models/custom_form_save_response.rb +259 -0
- data/lib/crelate_client/models/document_collection.rb +212 -0
- data/lib/crelate_client/models/document_item.rb +316 -0
- data/lib/crelate_client/models/email_attachment.rb +213 -0
- data/lib/crelate_client/models/entity_document_options.rb +188 -0
- data/lib/crelate_client/models/entity_lookup.rb +286 -0
- data/lib/crelate_client/models/ext_integration_response_interview_response.rb +217 -0
- data/lib/crelate_client/models/ext_referral_request.rb +224 -0
- data/lib/crelate_client/models/ext_resume_candidate.rb +342 -0
- data/lib/crelate_client/models/ext_resume_career_builder_validate_credentials_response.rb +197 -0
- data/lib/crelate_client/models/ext_resume_org_state.rb +404 -0
- data/lib/crelate_client/models/ext_resume_package_pricing.rb +215 -0
- data/lib/crelate_client/models/ext_resume_package_update_request.rb +230 -0
- data/lib/crelate_client/models/ext_resume_search_response.rb +199 -0
- data/lib/crelate_client/models/ext_resume_view_response.rb +421 -0
- data/lib/crelate_client/models/fusebill_state_item.rb +197 -0
- data/lib/crelate_client/models/get_document_list_options.rb +231 -0
- data/lib/crelate_client/models/interview_request.rb +199 -0
- data/lib/crelate_client/models/interview_request_details.rb +255 -0
- data/lib/crelate_client/models/interview_response.rb +311 -0
- data/lib/crelate_client/models/job_post_request.rb +197 -0
- data/lib/crelate_client/models/job_response.rb +251 -0
- data/lib/crelate_client/models/multi_entity_lookup.rb +190 -0
- data/lib/crelate_client/models/org_audit_log_event.rb +314 -0
- data/lib/crelate_client/models/post_purchase_request.rb +224 -0
- data/lib/crelate_client/models/public_api_attachment_response.rb +287 -0
- data/lib/crelate_client/models/public_api_attachment_response_list.rb +199 -0
- data/lib/crelate_client/models/public_api_document_type.rb +208 -0
- data/lib/crelate_client/models/public_api_get_account_response.rb +889 -0
- data/lib/crelate_client/models/public_api_get_account_response_list.rb +199 -0
- data/lib/crelate_client/models/public_api_get_contact_job.rb +233 -0
- data/lib/crelate_client/models/public_api_get_contact_response.rb +1485 -0
- data/lib/crelate_client/models/public_api_get_contact_response_list.rb +199 -0
- data/lib/crelate_client/models/public_api_get_job_contact.rb +233 -0
- data/lib/crelate_client/models/public_api_get_job_list_response.rb +199 -0
- data/lib/crelate_client/models/public_api_get_job_posting_list_response.rb +199 -0
- data/lib/crelate_client/models/public_api_get_job_posting_response.rb +379 -0
- data/lib/crelate_client/models/public_api_get_job_posting_search_response.rb +190 -0
- data/lib/crelate_client/models/public_api_get_job_posting_search_result.rb +278 -0
- data/lib/crelate_client/models/public_api_get_job_response.rb +1267 -0
- data/lib/crelate_client/models/public_api_get_note_response.rb +307 -0
- data/lib/crelate_client/models/public_api_get_task_response.rb +325 -0
- data/lib/crelate_client/models/public_api_id_response.rb +188 -0
- data/lib/crelate_client/models/public_api_placement_response.rb +404 -0
- data/lib/crelate_client/models/public_api_placement_response_list.rb +199 -0
- data/lib/crelate_client/models/public_api_record_owner.rb +206 -0
- data/lib/crelate_client/models/public_api_save_account_request.rb +786 -0
- data/lib/crelate_client/models/public_api_save_attachment_request.rb +233 -0
- data/lib/crelate_client/models/public_api_save_contact_request.rb +1373 -0
- data/lib/crelate_client/models/public_api_save_job_application_request.rb +233 -0
- data/lib/crelate_client/models/public_api_save_job_posting_request.rb +287 -0
- data/lib/crelate_client/models/public_api_save_job_request.rb +975 -0
- data/lib/crelate_client/models/public_api_save_job_request_job_type.rb +197 -0
- data/lib/crelate_client/models/public_api_save_note_request.rb +215 -0
- data/lib/crelate_client/models/public_api_save_task_request.rb +233 -0
- data/lib/crelate_client/models/public_api_save_workflow_item_status_request.rb +197 -0
- data/lib/crelate_client/models/public_api_tag_category.rb +197 -0
- data/lib/crelate_client/models/public_api_workflow_status.rb +224 -0
- data/lib/crelate_client/models/public_api_workflow_type.rb +197 -0
- data/lib/crelate_client/models/question.rb +233 -0
- data/lib/crelate_client/models/question_set_response.rb +226 -0
- data/lib/crelate_client/models/save_ext_credential_response.rb +206 -0
- data/lib/crelate_client/models/search_contact.rb +215 -0
- data/lib/crelate_client/models/send_email_response.rb +235 -0
- data/lib/crelate_client/models/send_submittal_detail.rb +217 -0
- data/lib/crelate_client/models/share_link.rb +266 -0
- data/lib/crelate_client/models/signup_information.rb +287 -0
- data/lib/crelate_client/models/sms_plivo_message_received_request.rb +251 -0
- data/lib/crelate_client/models/sms_plivo_message_status_received_request.rb +269 -0
- data/lib/crelate_client/models/sms_plivo_voice_answer_request.rb +233 -0
- data/lib/crelate_client/models/sms_plivo_voice_hangup_request.rb +287 -0
- data/lib/crelate_client/models/spark_hire_response_info_interview_response.rb +215 -0
- data/lib/crelate_client/models/spark_hire_response_info_job_response.rb +215 -0
- data/lib/crelate_client/models/spark_hire_response_info_question_set_response.rb +215 -0
- data/lib/crelate_client/models/user_response.rb +224 -0
- data/lib/crelate_client/models/wayup_data.rb +267 -0
- data/lib/crelate_client/models/webhook_delete_response.rb +188 -0
- data/lib/crelate_client/models/zip_apply_data.rb +267 -0
- data/lib/crelate_client/version.rb +15 -0
- data/lib/crelate_client.rb +143 -0
- data/spec/api/companies_api_spec.rb +273 -0
- data/spec/api/contacts_api_spec.rb +358 -0
- data/spec/api/domain_api_spec.rb +83 -0
- data/spec/api/job_postings_api_spec.rb +131 -0
- data/spec/api/jobs_api_spec.rb +346 -0
- data/spec/api/notes_api_spec.rb +88 -0
- data/spec/api/tasks_api_spec.rb +88 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/assigned_to_request_spec.rb +48 -0
- data/spec/models/assigned_to_spec.rb +60 -0
- data/spec/models/board_parameters_spec.rb +48 -0
- data/spec/models/broadcast_message_create_request_spec.rb +48 -0
- data/spec/models/broadcast_message_spec.rb +88 -0
- data/spec/models/company_spec.rb +60 -0
- data/spec/models/compliance_settings_payload_spec.rb +42 -0
- data/spec/models/consent_request_payload_spec.rb +48 -0
- data/spec/models/crelate_action_payload_spec.rb +54 -0
- data/spec/models/crelate_action_spec.rb +82 -0
- data/spec/models/crelate_details_spec.rb +54 -0
- data/spec/models/custom_form_completed_form_spec.rb +60 -0
- data/spec/models/custom_form_definition_entities_spec.rb +48 -0
- data/spec/models/custom_form_definition_spec.rb +90 -0
- data/spec/models/custom_form_form_definition_usage_spec.rb +54 -0
- data/spec/models/custom_form_form_defintion_usage_jobs_spec.rb +48 -0
- data/spec/models/custom_form_form_field_usage_form_definition_spec.rb +54 -0
- data/spec/models/custom_form_form_field_usage_spec.rb +60 -0
- data/spec/models/custom_form_layout_section_spec.rb +48 -0
- data/spec/models/custom_form_save_response_spec.rb +70 -0
- data/spec/models/document_collection_spec.rb +54 -0
- data/spec/models/document_item_spec.rb +126 -0
- data/spec/models/email_attachment_spec.rb +48 -0
- data/spec/models/entity_document_options_spec.rb +42 -0
- data/spec/models/entity_lookup_spec.rb +88 -0
- data/spec/models/ext_integration_response_interview_response_spec.rb +60 -0
- data/spec/models/ext_referral_request_spec.rb +66 -0
- data/spec/models/ext_resume_candidate_spec.rb +124 -0
- data/spec/models/ext_resume_career_builder_validate_credentials_response_spec.rb +48 -0
- data/spec/models/ext_resume_org_state_spec.rb +164 -0
- data/spec/models/ext_resume_package_pricing_spec.rb +60 -0
- data/spec/models/ext_resume_package_update_request_spec.rb +52 -0
- data/spec/models/ext_resume_search_response_spec.rb +48 -0
- data/spec/models/ext_resume_view_response_spec.rb +178 -0
- data/spec/models/fusebill_state_item_spec.rb +48 -0
- data/spec/models/get_document_list_options_spec.rb +58 -0
- data/spec/models/interview_request_details_spec.rb +84 -0
- data/spec/models/interview_request_spec.rb +48 -0
- data/spec/models/interview_response_spec.rb +106 -0
- data/spec/models/job_post_request_spec.rb +48 -0
- data/spec/models/job_response_spec.rb +84 -0
- data/spec/models/multi_entity_lookup_spec.rb +42 -0
- data/spec/models/org_audit_log_event_spec.rb +126 -0
- data/spec/models/post_purchase_request_spec.rb +66 -0
- data/spec/models/public_api_attachment_response_list_spec.rb +48 -0
- data/spec/models/public_api_attachment_response_spec.rb +108 -0
- data/spec/models/public_api_document_type_spec.rb +54 -0
- data/spec/models/public_api_get_account_response_list_spec.rb +48 -0
- data/spec/models/public_api_get_account_response_spec.rb +504 -0
- data/spec/models/public_api_get_contact_job_spec.rb +72 -0
- data/spec/models/public_api_get_contact_response_list_spec.rb +48 -0
- data/spec/models/public_api_get_contact_response_spec.rb +900 -0
- data/spec/models/public_api_get_job_contact_spec.rb +72 -0
- data/spec/models/public_api_get_job_list_response_spec.rb +48 -0
- data/spec/models/public_api_get_job_posting_list_response_spec.rb +48 -0
- data/spec/models/public_api_get_job_posting_response_spec.rb +168 -0
- data/spec/models/public_api_get_job_posting_search_response_spec.rb +42 -0
- data/spec/models/public_api_get_job_posting_search_result_spec.rb +102 -0
- data/spec/models/public_api_get_job_response_spec.rb +756 -0
- data/spec/models/public_api_get_note_response_spec.rb +120 -0
- data/spec/models/public_api_get_task_response_spec.rb +132 -0
- data/spec/models/public_api_id_response_spec.rb +42 -0
- data/spec/models/public_api_placement_response_list_spec.rb +48 -0
- data/spec/models/public_api_placement_response_spec.rb +186 -0
- data/spec/models/public_api_record_owner_spec.rb +54 -0
- data/spec/models/public_api_save_account_request_spec.rb +438 -0
- data/spec/models/public_api_save_attachment_request_spec.rb +72 -0
- data/spec/models/public_api_save_contact_request_spec.rb +828 -0
- data/spec/models/public_api_save_job_application_request_spec.rb +72 -0
- data/spec/models/public_api_save_job_posting_request_spec.rb +108 -0
- data/spec/models/public_api_save_job_request_job_type_spec.rb +48 -0
- data/spec/models/public_api_save_job_request_spec.rb +564 -0
- data/spec/models/public_api_save_note_request_spec.rb +60 -0
- data/spec/models/public_api_save_task_request_spec.rb +72 -0
- data/spec/models/public_api_save_workflow_item_status_request_spec.rb +48 -0
- data/spec/models/public_api_tag_category_spec.rb +48 -0
- data/spec/models/public_api_workflow_status_spec.rb +66 -0
- data/spec/models/public_api_workflow_type_spec.rb +48 -0
- data/spec/models/question_set_response_spec.rb +66 -0
- data/spec/models/question_spec.rb +72 -0
- data/spec/models/save_ext_credential_response_spec.rb +54 -0
- data/spec/models/search_contact_spec.rb +60 -0
- data/spec/models/send_email_response_spec.rb +72 -0
- data/spec/models/send_submittal_detail_spec.rb +60 -0
- data/spec/models/share_link_spec.rb +76 -0
- data/spec/models/signup_information_spec.rb +108 -0
- data/spec/models/sms_plivo_message_received_request_spec.rb +84 -0
- data/spec/models/sms_plivo_message_status_received_request_spec.rb +96 -0
- data/spec/models/sms_plivo_voice_answer_request_spec.rb +72 -0
- data/spec/models/sms_plivo_voice_hangup_request_spec.rb +108 -0
- data/spec/models/spark_hire_response_info_interview_response_spec.rb +60 -0
- data/spec/models/spark_hire_response_info_job_response_spec.rb +60 -0
- data/spec/models/spark_hire_response_info_question_set_response_spec.rb +60 -0
- data/spec/models/user_response_spec.rb +66 -0
- data/spec/models/wayup_data_spec.rb +84 -0
- data/spec/models/webhook_delete_response_spec.rb +42 -0
- data/spec/models/zip_apply_data_spec.rb +84 -0
- data/spec/spec_helper.rb +111 -0
- metadata +654 -0
@@ -0,0 +1,273 @@
|
|
1
|
+
=begin
|
2
|
+
#Crelate API Reference
|
3
|
+
|
4
|
+
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
|
+
|
6
|
+
OpenAPI spec version: v1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for CrelateClient::CompaniesApi
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'CompaniesApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@instance = CrelateClient::CompaniesApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of CompaniesApi' do
|
30
|
+
it 'should create an instance of CompaniesApi' do
|
31
|
+
expect(@instance).to be_instance_of(CrelateClient::CompaniesApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for public_api_delete_account
|
36
|
+
# delete a company
|
37
|
+
#
|
38
|
+
# @param company_id identifier
|
39
|
+
# @param api_key crelate api key
|
40
|
+
# @param [Hash] opts the optional parameters
|
41
|
+
# @return [Object]
|
42
|
+
describe 'public_api_delete_account test' do
|
43
|
+
it "should work" do
|
44
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
# unit tests for public_api_delete_account_attachment
|
49
|
+
# delete an attachment for a company
|
50
|
+
#
|
51
|
+
# @param company_id job identifier
|
52
|
+
# @param attachment_id attachment identifier
|
53
|
+
# @param api_key crelate api key
|
54
|
+
# @param [Hash] opts the optional parameters
|
55
|
+
# @return [Object]
|
56
|
+
describe 'public_api_delete_account_attachment 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
|
+
|
62
|
+
# unit tests for public_api_delete_account_note
|
63
|
+
# delete a note for a company
|
64
|
+
#
|
65
|
+
# @param company_id identifier
|
66
|
+
# @param note_id
|
67
|
+
# @param api_key crelate api key
|
68
|
+
# @param [Hash] opts the optional parameters
|
69
|
+
# @return [Object]
|
70
|
+
describe 'public_api_delete_account_note test' do
|
71
|
+
it "should work" do
|
72
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
# unit tests for public_api_delete_account_task
|
77
|
+
# delete a task for a company
|
78
|
+
#
|
79
|
+
# @param company_id identifier
|
80
|
+
# @param task_id
|
81
|
+
# @param api_key crelate api key
|
82
|
+
# @param [Hash] opts the optional parameters
|
83
|
+
# @return [Object]
|
84
|
+
describe 'public_api_delete_account_task test' do
|
85
|
+
it "should work" do
|
86
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
90
|
+
# unit tests for public_api_get_account
|
91
|
+
# retrieve a company
|
92
|
+
#
|
93
|
+
# @param company_id identifier
|
94
|
+
# @param api_key crelate api key
|
95
|
+
# @param [Hash] opts the optional parameters
|
96
|
+
# @return [PublicApiGetAccountResponse]
|
97
|
+
describe 'public_api_get_account 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
|
+
|
103
|
+
# unit tests for public_api_get_account_attachment
|
104
|
+
# get the content of a specific attachment for a company
|
105
|
+
#
|
106
|
+
# @param company_id identifier
|
107
|
+
# @param attachment_id attachment identifier
|
108
|
+
# @param api_key crelate api key
|
109
|
+
# @param [Hash] opts the optional parameters
|
110
|
+
# @return [Object]
|
111
|
+
describe 'public_api_get_account_attachment test' do
|
112
|
+
it "should work" do
|
113
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
114
|
+
end
|
115
|
+
end
|
116
|
+
|
117
|
+
# unit tests for public_api_get_account_attachments
|
118
|
+
# get all attachment metadata for a company
|
119
|
+
#
|
120
|
+
# @param company_id
|
121
|
+
# @param api_key crelate api key
|
122
|
+
# @param [Hash] opts the optional parameters
|
123
|
+
# @return [PublicApiAttachmentResponseList]
|
124
|
+
describe 'public_api_get_account_attachments test' do
|
125
|
+
it "should work" do
|
126
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
127
|
+
end
|
128
|
+
end
|
129
|
+
|
130
|
+
# unit tests for public_api_get_account_note
|
131
|
+
# retrieve a note for a company
|
132
|
+
#
|
133
|
+
# @param company_id identifier
|
134
|
+
# @param note_id
|
135
|
+
# @param api_key crelate api key
|
136
|
+
# @param [Hash] opts the optional parameters
|
137
|
+
# @return [PublicApiGetNoteResponse]
|
138
|
+
describe 'public_api_get_account_note test' do
|
139
|
+
it "should work" do
|
140
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
141
|
+
end
|
142
|
+
end
|
143
|
+
|
144
|
+
# unit tests for public_api_get_account_task
|
145
|
+
# get a task for a company
|
146
|
+
#
|
147
|
+
# @param company_id identifier
|
148
|
+
# @param task_id
|
149
|
+
# @param api_key crelate api key
|
150
|
+
# @param [Hash] opts the optional parameters
|
151
|
+
# @return [PublicApiGetTaskResponse]
|
152
|
+
describe 'public_api_get_account_task test' do
|
153
|
+
it "should work" do
|
154
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
155
|
+
end
|
156
|
+
end
|
157
|
+
|
158
|
+
# unit tests for public_api_get_accounts
|
159
|
+
# retrieve a list of companies updated within a certain time frame
|
160
|
+
#
|
161
|
+
# @param modified modified within x number of minutes
|
162
|
+
# @param api_key crelate api key
|
163
|
+
# @param [Hash] opts the optional parameters
|
164
|
+
# @option opts [Integer] :skip skip number of records, default 0
|
165
|
+
# @option opts [Integer] :take retrieve x amount of records, limit 500, default 50
|
166
|
+
# @option opts [String] :type filter by record type, acceptable options are null, 0, 1, 2, 3, 4, 5, 6, 7 defaults to 0, 0 = All contacts regardless of record type null = contacts without a record type Standard: 1 = Customer, 2 = Potential Customer, Combined: 3 = Customer and Potential Customer e.g. type 7 will select only contacts who are all three types
|
167
|
+
# @return [PublicApiGetAccountResponseList]
|
168
|
+
describe 'public_api_get_accounts test' do
|
169
|
+
it "should work" do
|
170
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
171
|
+
end
|
172
|
+
end
|
173
|
+
|
174
|
+
# unit tests for public_api_post_account
|
175
|
+
# create a company
|
176
|
+
#
|
177
|
+
# @param api_key crelate api key
|
178
|
+
# @param request
|
179
|
+
# @param [Hash] opts the optional parameters
|
180
|
+
# @return [PublicApiIdResponse]
|
181
|
+
describe 'public_api_post_account test' do
|
182
|
+
it "should work" do
|
183
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
184
|
+
end
|
185
|
+
end
|
186
|
+
|
187
|
+
# unit tests for public_api_post_account_attachment
|
188
|
+
# add an attachment to a company
|
189
|
+
#
|
190
|
+
# @param company_id identifier
|
191
|
+
# @param api_key crelate api key
|
192
|
+
# @param request
|
193
|
+
# @param [Hash] opts the optional parameters
|
194
|
+
# @return [PublicApiIdResponse]
|
195
|
+
describe 'public_api_post_account_attachment test' do
|
196
|
+
it "should work" do
|
197
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
198
|
+
end
|
199
|
+
end
|
200
|
+
|
201
|
+
# unit tests for public_api_post_account_note
|
202
|
+
# create a note for a company
|
203
|
+
#
|
204
|
+
# @param company_id identifier
|
205
|
+
# @param api_key crelate api key
|
206
|
+
# @param request
|
207
|
+
# @param [Hash] opts the optional parameters
|
208
|
+
# @return [PublicApiIdResponse]
|
209
|
+
describe 'public_api_post_account_note test' do
|
210
|
+
it "should work" do
|
211
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
212
|
+
end
|
213
|
+
end
|
214
|
+
|
215
|
+
# unit tests for public_api_post_account_task
|
216
|
+
# create a task for a company
|
217
|
+
#
|
218
|
+
# @param company_id identifier
|
219
|
+
# @param api_key crelate api key
|
220
|
+
# @param request
|
221
|
+
# @param [Hash] opts the optional parameters
|
222
|
+
# @return [PublicApiIdResponse]
|
223
|
+
describe 'public_api_post_account_task test' do
|
224
|
+
it "should work" do
|
225
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
226
|
+
end
|
227
|
+
end
|
228
|
+
|
229
|
+
# unit tests for public_api_put_account
|
230
|
+
# update a company
|
231
|
+
# Replaces all fields. To partially update a company, first retrieve it using the GET method, apply changes and submit to the PUT method.
|
232
|
+
# @param company_id identifier
|
233
|
+
# @param api_key crelate api key
|
234
|
+
# @param request
|
235
|
+
# @param [Hash] opts the optional parameters
|
236
|
+
# @return [Object]
|
237
|
+
describe 'public_api_put_account test' do
|
238
|
+
it "should work" do
|
239
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
240
|
+
end
|
241
|
+
end
|
242
|
+
|
243
|
+
# unit tests for public_api_put_account_note
|
244
|
+
# update a note for a company
|
245
|
+
#
|
246
|
+
# @param company_id identifier
|
247
|
+
# @param note_id
|
248
|
+
# @param api_key crelate api key
|
249
|
+
# @param request
|
250
|
+
# @param [Hash] opts the optional parameters
|
251
|
+
# @return [Object]
|
252
|
+
describe 'public_api_put_account_note test' do
|
253
|
+
it "should work" do
|
254
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
255
|
+
end
|
256
|
+
end
|
257
|
+
|
258
|
+
# unit tests for public_api_put_account_task
|
259
|
+
# update a task for a company
|
260
|
+
#
|
261
|
+
# @param company_id identifier
|
262
|
+
# @param task_id
|
263
|
+
# @param api_key crelate api key
|
264
|
+
# @param request
|
265
|
+
# @param [Hash] opts the optional parameters
|
266
|
+
# @return [Object]
|
267
|
+
describe 'public_api_put_account_task test' do
|
268
|
+
it "should work" do
|
269
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
270
|
+
end
|
271
|
+
end
|
272
|
+
|
273
|
+
end
|
@@ -0,0 +1,358 @@
|
|
1
|
+
=begin
|
2
|
+
#Crelate API Reference
|
3
|
+
|
4
|
+
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
|
+
|
6
|
+
OpenAPI spec version: v1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for CrelateClient::ContactsApi
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'ContactsApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@instance = CrelateClient::ContactsApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of ContactsApi' do
|
30
|
+
it 'should create an instance of ContactsApi' do
|
31
|
+
expect(@instance).to be_instance_of(CrelateClient::ContactsApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for public_api_delete_contact
|
36
|
+
# delete a contact
|
37
|
+
#
|
38
|
+
# @param contact_id identifier
|
39
|
+
# @param api_key crelate api key
|
40
|
+
# @param [Hash] opts the optional parameters
|
41
|
+
# @return [Object]
|
42
|
+
describe 'public_api_delete_contact test' do
|
43
|
+
it "should work" do
|
44
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
# unit tests for public_api_delete_contact_attachment
|
49
|
+
# delete an attachment for a contact
|
50
|
+
#
|
51
|
+
# @param contact_id contact identifier
|
52
|
+
# @param attachment_id attachment identifier
|
53
|
+
# @param api_key crelate api key
|
54
|
+
# @param [Hash] opts the optional parameters
|
55
|
+
# @return [Object]
|
56
|
+
describe 'public_api_delete_contact_attachment 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
|
+
|
62
|
+
# unit tests for public_api_delete_contact_job
|
63
|
+
# delete a contact from a job for the recruiting workflow
|
64
|
+
#
|
65
|
+
# @param contact_id
|
66
|
+
# @param job_id
|
67
|
+
# @param api_key crelate api key
|
68
|
+
# @param [Hash] opts the optional parameters
|
69
|
+
# @return [Object]
|
70
|
+
describe 'public_api_delete_contact_job test' do
|
71
|
+
it "should work" do
|
72
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
# unit tests for public_api_delete_contact_note
|
77
|
+
# delete a note for a contact
|
78
|
+
#
|
79
|
+
# @param contact_id identifier
|
80
|
+
# @param note_id
|
81
|
+
# @param api_key crelate api key
|
82
|
+
# @param [Hash] opts the optional parameters
|
83
|
+
# @return [Object]
|
84
|
+
describe 'public_api_delete_contact_note test' do
|
85
|
+
it "should work" do
|
86
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
90
|
+
# unit tests for public_api_delete_contact_task
|
91
|
+
# delete a task for a contact
|
92
|
+
#
|
93
|
+
# @param contact_id identifier
|
94
|
+
# @param task_id
|
95
|
+
# @param api_key crelate api key
|
96
|
+
# @param [Hash] opts the optional parameters
|
97
|
+
# @return [Object]
|
98
|
+
describe 'public_api_delete_contact_task test' do
|
99
|
+
it "should work" do
|
100
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
101
|
+
end
|
102
|
+
end
|
103
|
+
|
104
|
+
# unit tests for public_api_get_contact
|
105
|
+
# retrieve a contact by id
|
106
|
+
#
|
107
|
+
# @param contact_id identifier
|
108
|
+
# @param api_key crelate api key
|
109
|
+
# @param [Hash] opts the optional parameters
|
110
|
+
# @return [PublicApiGetContactResponse]
|
111
|
+
describe 'public_api_get_contact test' do
|
112
|
+
it "should work" do
|
113
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
114
|
+
end
|
115
|
+
end
|
116
|
+
|
117
|
+
# unit tests for public_api_get_contact_attachment
|
118
|
+
# get the content of a specific attachment for a contact
|
119
|
+
#
|
120
|
+
# @param contact_id identifier
|
121
|
+
# @param attachment_id attachment identifier
|
122
|
+
# @param api_key crelate api key
|
123
|
+
# @param [Hash] opts the optional parameters
|
124
|
+
# @return [Object]
|
125
|
+
describe 'public_api_get_contact_attachment test' do
|
126
|
+
it "should work" do
|
127
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
128
|
+
end
|
129
|
+
end
|
130
|
+
|
131
|
+
# unit tests for public_api_get_contact_attachments
|
132
|
+
# get all attachment metadata for a contact
|
133
|
+
#
|
134
|
+
# @param contact_id
|
135
|
+
# @param api_key crelate api key
|
136
|
+
# @param [Hash] opts the optional parameters
|
137
|
+
# @return [PublicApiAttachmentResponseList]
|
138
|
+
describe 'public_api_get_contact_attachments test' do
|
139
|
+
it "should work" do
|
140
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
141
|
+
end
|
142
|
+
end
|
143
|
+
|
144
|
+
# unit tests for public_api_get_contact_jobs
|
145
|
+
# get jobs for a contact
|
146
|
+
#
|
147
|
+
# @param contact_id contact identifier
|
148
|
+
# @param api_key crelate api key
|
149
|
+
# @param [Hash] opts the optional parameters
|
150
|
+
# @return [Array<PublicApiGetContactJob>]
|
151
|
+
describe 'public_api_get_contact_jobs test' do
|
152
|
+
it "should work" do
|
153
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
154
|
+
end
|
155
|
+
end
|
156
|
+
|
157
|
+
# unit tests for public_api_get_contact_note
|
158
|
+
# get a note for a contact
|
159
|
+
#
|
160
|
+
# @param contact_id identifier
|
161
|
+
# @param note_id
|
162
|
+
# @param api_key crelate api key
|
163
|
+
# @param [Hash] opts the optional parameters
|
164
|
+
# @return [PublicApiGetNoteResponse]
|
165
|
+
describe 'public_api_get_contact_note test' do
|
166
|
+
it "should work" do
|
167
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
168
|
+
end
|
169
|
+
end
|
170
|
+
|
171
|
+
# unit tests for public_api_get_contact_placements
|
172
|
+
# Get placements associated with a job Please Note: TimeToFill is the amount of Days it took to fill the position
|
173
|
+
#
|
174
|
+
# @param contact_id id for job
|
175
|
+
# @param api_key crelate api key
|
176
|
+
# @param [Hash] opts the optional parameters
|
177
|
+
# @option opts [Integer] :skip skip number of records, default 0
|
178
|
+
# @option opts [Integer] :take retrieve x amount of records, limit 500, default 50
|
179
|
+
# @return [PublicApiPlacementResponseList]
|
180
|
+
describe 'public_api_get_contact_placements test' do
|
181
|
+
it "should work" do
|
182
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
183
|
+
end
|
184
|
+
end
|
185
|
+
|
186
|
+
# unit tests for public_api_get_contact_task
|
187
|
+
# get a task for a contact
|
188
|
+
#
|
189
|
+
# @param contact_id identifier
|
190
|
+
# @param task_id task identifier
|
191
|
+
# @param api_key crelate api key
|
192
|
+
# @param [Hash] opts the optional parameters
|
193
|
+
# @return [PublicApiGetTaskResponse]
|
194
|
+
describe 'public_api_get_contact_task test' do
|
195
|
+
it "should work" do
|
196
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
197
|
+
end
|
198
|
+
end
|
199
|
+
|
200
|
+
# unit tests for public_api_get_contacts
|
201
|
+
# retrieve a list of contact updated within a certain time frame
|
202
|
+
#
|
203
|
+
# @param modified modified within x number of minutes
|
204
|
+
# @param api_key crelate api key
|
205
|
+
# @param [Hash] opts the optional parameters
|
206
|
+
# @option opts [Integer] :skip skip number of records, default 0
|
207
|
+
# @option opts [Integer] :take retrieve x amount of records, limit 500, default 50
|
208
|
+
# @option opts [String] :type filter by record type, acceptable options are null, 0, 1, 2, 3, 4, 5, 6, 7 defaults to 0, 0 = All contacts regardless of record type null = contacts without a record type Standard: 1 = Candidate, 2 = Sales Client Contact, 4 = Lead Contact Combined: 3 = 1 and 2, 5 = 1 and 4, 6 = 2 and 4, 7 = 1 and 2 and 4] e.g. type 7 will select only contacts who are all three types
|
209
|
+
# @return [PublicApiGetContactResponseList]
|
210
|
+
describe 'public_api_get_contacts test' do
|
211
|
+
it "should work" do
|
212
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
213
|
+
end
|
214
|
+
end
|
215
|
+
|
216
|
+
# unit tests for public_api_get_contacts_by_email
|
217
|
+
# retrieve a list of contacts by email
|
218
|
+
#
|
219
|
+
# @param email email address
|
220
|
+
# @param api_key crelate api key
|
221
|
+
# @param [Hash] opts the optional parameters
|
222
|
+
# @return [PublicApiGetContactResponseList]
|
223
|
+
describe 'public_api_get_contacts_by_email test' do
|
224
|
+
it "should work" do
|
225
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
226
|
+
end
|
227
|
+
end
|
228
|
+
|
229
|
+
# unit tests for public_api_post_contact
|
230
|
+
# create a contact
|
231
|
+
#
|
232
|
+
# @param api_key crelate api key
|
233
|
+
# @param request
|
234
|
+
# @param [Hash] opts the optional parameters
|
235
|
+
# @return [PublicApiIdResponse]
|
236
|
+
describe 'public_api_post_contact test' do
|
237
|
+
it "should work" do
|
238
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
239
|
+
end
|
240
|
+
end
|
241
|
+
|
242
|
+
# unit tests for public_api_post_contact_attachment
|
243
|
+
# add an attachment to a contact
|
244
|
+
#
|
245
|
+
# @param contact_id identifier
|
246
|
+
# @param api_key crelate api key
|
247
|
+
# @param request
|
248
|
+
# @param [Hash] opts the optional parameters
|
249
|
+
# @return [PublicApiIdResponse]
|
250
|
+
describe 'public_api_post_contact_attachment test' do
|
251
|
+
it "should work" do
|
252
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
253
|
+
end
|
254
|
+
end
|
255
|
+
|
256
|
+
# unit tests for public_api_post_contact_job
|
257
|
+
# move a contact into a job for the first time
|
258
|
+
#
|
259
|
+
# @param contact_id identifier
|
260
|
+
# @param job_id identifier
|
261
|
+
# @param api_key crelate api key
|
262
|
+
# @param request
|
263
|
+
# @param [Hash] opts the optional parameters
|
264
|
+
# @return [PublicApiIdResponse]
|
265
|
+
describe 'public_api_post_contact_job test' do
|
266
|
+
it "should work" do
|
267
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
268
|
+
end
|
269
|
+
end
|
270
|
+
|
271
|
+
# unit tests for public_api_post_contact_note
|
272
|
+
# create a note for a contact
|
273
|
+
#
|
274
|
+
# @param contact_id identifier
|
275
|
+
# @param api_key crelate api key
|
276
|
+
# @param request
|
277
|
+
# @param [Hash] opts the optional parameters
|
278
|
+
# @return [PublicApiIdResponse]
|
279
|
+
describe 'public_api_post_contact_note test' do
|
280
|
+
it "should work" do
|
281
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
282
|
+
end
|
283
|
+
end
|
284
|
+
|
285
|
+
# unit tests for public_api_post_contact_task
|
286
|
+
# save a task for a contact
|
287
|
+
#
|
288
|
+
# @param contact_id identifier
|
289
|
+
# @param api_key crelate api key
|
290
|
+
# @param request
|
291
|
+
# @param [Hash] opts the optional parameters
|
292
|
+
# @return [PublicApiIdResponse]
|
293
|
+
describe 'public_api_post_contact_task test' do
|
294
|
+
it "should work" do
|
295
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
296
|
+
end
|
297
|
+
end
|
298
|
+
|
299
|
+
# unit tests for public_api_put_contact
|
300
|
+
# update a contact
|
301
|
+
# Replaces all fields. To partially update a contact, first retrieve it using the GET method, apply changes and submit to the PUT method.
|
302
|
+
# @param contact_id identifier
|
303
|
+
# @param api_key crelate api key
|
304
|
+
# @param request
|
305
|
+
# @param [Hash] opts the optional parameters
|
306
|
+
# @return [Object]
|
307
|
+
describe 'public_api_put_contact test' do
|
308
|
+
it "should work" do
|
309
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
310
|
+
end
|
311
|
+
end
|
312
|
+
|
313
|
+
# unit tests for public_api_put_contact_job_status
|
314
|
+
# update job stage for a contact
|
315
|
+
#
|
316
|
+
# @param contact_id contact identifier
|
317
|
+
# @param job_id job identifier
|
318
|
+
# @param api_key crelate api key
|
319
|
+
# @param request
|
320
|
+
# @param [Hash] opts the optional parameters
|
321
|
+
# @return [Object]
|
322
|
+
describe 'public_api_put_contact_job_status test' do
|
323
|
+
it "should work" do
|
324
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
325
|
+
end
|
326
|
+
end
|
327
|
+
|
328
|
+
# unit tests for public_api_put_contact_note
|
329
|
+
# update a note for a contact
|
330
|
+
#
|
331
|
+
# @param contact_id identifier
|
332
|
+
# @param note_id
|
333
|
+
# @param api_key crelate api key
|
334
|
+
# @param request
|
335
|
+
# @param [Hash] opts the optional parameters
|
336
|
+
# @return [Object]
|
337
|
+
describe 'public_api_put_contact_note test' do
|
338
|
+
it "should work" do
|
339
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
340
|
+
end
|
341
|
+
end
|
342
|
+
|
343
|
+
# unit tests for public_api_put_contact_task
|
344
|
+
# update a task for a contact
|
345
|
+
#
|
346
|
+
# @param contact_id identifier
|
347
|
+
# @param task_id
|
348
|
+
# @param api_key crelate api key
|
349
|
+
# @param request
|
350
|
+
# @param [Hash] opts the optional parameters
|
351
|
+
# @return [Object]
|
352
|
+
describe 'public_api_put_contact_task test' do
|
353
|
+
it "should work" do
|
354
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
355
|
+
end
|
356
|
+
end
|
357
|
+
|
358
|
+
end
|