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.
Files changed (331) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +7 -0
  3. data/Gemfile.lock +69 -0
  4. data/README.md +267 -0
  5. data/Rakefile +8 -0
  6. data/crelate_client-1.0.0.gem +0 -0
  7. data/crelate_client.gemspec +45 -0
  8. data/docs/AssignedTo.md +11 -0
  9. data/docs/AssignedToRequest.md +9 -0
  10. data/docs/BoardParameters.md +9 -0
  11. data/docs/BroadcastMessage.md +15 -0
  12. data/docs/BroadcastMessageCreateRequest.md +9 -0
  13. data/docs/CompaniesApi.md +921 -0
  14. data/docs/Company.md +11 -0
  15. data/docs/ComplianceSettingsPayload.md +8 -0
  16. data/docs/ConsentRequestPayload.md +9 -0
  17. data/docs/ContactsApi.md +1246 -0
  18. data/docs/CrelateAction.md +14 -0
  19. data/docs/CrelateActionPayload.md +10 -0
  20. data/docs/CrelateDetails.md +10 -0
  21. data/docs/CustomFormCompletedForm.md +11 -0
  22. data/docs/CustomFormDefinition.md +16 -0
  23. data/docs/CustomFormDefinitionEntities.md +9 -0
  24. data/docs/CustomFormFormDefinitionUsage.md +10 -0
  25. data/docs/CustomFormFormDefintionUsageJobs.md +9 -0
  26. data/docs/CustomFormFormFieldUsage.md +11 -0
  27. data/docs/CustomFormFormFieldUsageFormDefinition.md +10 -0
  28. data/docs/CustomFormLayoutSection.md +9 -0
  29. data/docs/CustomFormSaveResponse.md +12 -0
  30. data/docs/DocumentCollection.md +10 -0
  31. data/docs/DocumentItem.md +22 -0
  32. data/docs/DomainApi.md +198 -0
  33. data/docs/EmailAttachment.md +9 -0
  34. data/docs/EntityDocumentOptions.md +8 -0
  35. data/docs/EntityLookup.md +15 -0
  36. data/docs/ExtIntegrationResponseInterviewResponse.md +11 -0
  37. data/docs/ExtReferralRequest.md +12 -0
  38. data/docs/ExtResumeCandidate.md +21 -0
  39. data/docs/ExtResumeCareerBuilderValidateCredentialsResponse.md +9 -0
  40. data/docs/ExtResumeOrgState.md +27 -0
  41. data/docs/ExtResumePackagePricing.md +11 -0
  42. data/docs/ExtResumePackageUpdateRequest.md +9 -0
  43. data/docs/ExtResumeSearchResponse.md +9 -0
  44. data/docs/ExtResumeViewResponse.md +30 -0
  45. data/docs/FusebillStateItem.md +9 -0
  46. data/docs/GetDocumentListOptions.md +10 -0
  47. data/docs/InterviewRequest.md +9 -0
  48. data/docs/InterviewRequestDetails.md +15 -0
  49. data/docs/InterviewResponse.md +18 -0
  50. data/docs/JobPostRequest.md +9 -0
  51. data/docs/JobPostingsApi.md +378 -0
  52. data/docs/JobResponse.md +15 -0
  53. data/docs/JobsApi.md +1197 -0
  54. data/docs/MultiEntityLookup.md +8 -0
  55. data/docs/NotesApi.md +215 -0
  56. data/docs/OrgAuditLogEvent.md +22 -0
  57. data/docs/PostPurchaseRequest.md +12 -0
  58. data/docs/PublicApiAttachmentResponse.md +19 -0
  59. data/docs/PublicApiAttachmentResponseList.md +9 -0
  60. data/docs/PublicApiDocumentType.md +10 -0
  61. data/docs/PublicApiGetAccountResponse.md +85 -0
  62. data/docs/PublicApiGetAccountResponseList.md +9 -0
  63. data/docs/PublicApiGetContactJob.md +13 -0
  64. data/docs/PublicApiGetContactResponse.md +151 -0
  65. data/docs/PublicApiGetContactResponseList.md +9 -0
  66. data/docs/PublicApiGetJobContact.md +13 -0
  67. data/docs/PublicApiGetJobListResponse.md +9 -0
  68. data/docs/PublicApiGetJobPostingListResponse.md +9 -0
  69. data/docs/PublicApiGetJobPostingResponse.md +29 -0
  70. data/docs/PublicApiGetJobPostingSearchResponse.md +8 -0
  71. data/docs/PublicApiGetJobPostingSearchResult.md +18 -0
  72. data/docs/PublicApiGetJobResponse.md +127 -0
  73. data/docs/PublicApiGetNoteResponse.md +21 -0
  74. data/docs/PublicApiGetTaskResponse.md +23 -0
  75. data/docs/PublicApiIdResponse.md +8 -0
  76. data/docs/PublicApiPlacementResponse.md +32 -0
  77. data/docs/PublicApiPlacementResponseList.md +9 -0
  78. data/docs/PublicApiRecordOwner.md +10 -0
  79. data/docs/PublicApiSaveAccountRequest.md +74 -0
  80. data/docs/PublicApiSaveAttachmentRequest.md +13 -0
  81. data/docs/PublicApiSaveContactRequest.md +139 -0
  82. data/docs/PublicApiSaveJobApplicationRequest.md +13 -0
  83. data/docs/PublicApiSaveJobPostingRequest.md +19 -0
  84. data/docs/PublicApiSaveJobRequest.md +95 -0
  85. data/docs/PublicApiSaveJobRequestJobType.md +9 -0
  86. data/docs/PublicApiSaveNoteRequest.md +11 -0
  87. data/docs/PublicApiSaveTaskRequest.md +13 -0
  88. data/docs/PublicApiSaveWorkflowItemStatusRequest.md +9 -0
  89. data/docs/PublicApiTagCategory.md +9 -0
  90. data/docs/PublicApiWorkflowStatus.md +12 -0
  91. data/docs/PublicApiWorkflowType.md +9 -0
  92. data/docs/Question.md +13 -0
  93. data/docs/QuestionSetResponse.md +12 -0
  94. data/docs/SaveExtCredentialResponse.md +10 -0
  95. data/docs/SearchContact.md +11 -0
  96. data/docs/SendEmailResponse.md +13 -0
  97. data/docs/SendSubmittalDetail.md +11 -0
  98. data/docs/ShareLink.md +13 -0
  99. data/docs/SignupInformation.md +19 -0
  100. data/docs/SmsPlivoMessageReceivedRequest.md +15 -0
  101. data/docs/SmsPlivoMessageStatusReceivedRequest.md +17 -0
  102. data/docs/SmsPlivoVoiceAnswerRequest.md +13 -0
  103. data/docs/SmsPlivoVoiceHangupRequest.md +19 -0
  104. data/docs/SparkHireResponseInfoInterviewResponse.md +11 -0
  105. data/docs/SparkHireResponseInfoJobResponse.md +11 -0
  106. data/docs/SparkHireResponseInfoQuestionSetResponse.md +11 -0
  107. data/docs/TasksApi.md +215 -0
  108. data/docs/UserResponse.md +12 -0
  109. data/docs/WayupData.md +15 -0
  110. data/docs/WebhookDeleteResponse.md +8 -0
  111. data/docs/ZipApplyData.md +15 -0
  112. data/git_push.sh +55 -0
  113. data/lib/.DS_Store +0 -0
  114. data/lib/crelate_client/.DS_Store +0 -0
  115. data/lib/crelate_client/api/companies_api.rb +1151 -0
  116. data/lib/crelate_client/api/contacts_api.rb +1552 -0
  117. data/lib/crelate_client/api/domain_api.rb +239 -0
  118. data/lib/crelate_client/api/job_postings_api.rb +467 -0
  119. data/lib/crelate_client/api/jobs_api.rb +1494 -0
  120. data/lib/crelate_client/api/notes_api.rb +273 -0
  121. data/lib/crelate_client/api/tasks_api.rb +273 -0
  122. data/lib/crelate_client/api_client.rb +388 -0
  123. data/lib/crelate_client/api_error.rb +38 -0
  124. data/lib/crelate_client/configuration.rb +202 -0
  125. data/lib/crelate_client/models/assigned_to.rb +215 -0
  126. data/lib/crelate_client/models/assigned_to_request.rb +197 -0
  127. data/lib/crelate_client/models/board_parameters.rb +199 -0
  128. data/lib/crelate_client/models/broadcast_message.rb +284 -0
  129. data/lib/crelate_client/models/broadcast_message_create_request.rb +197 -0
  130. data/lib/crelate_client/models/company.rb +215 -0
  131. data/lib/crelate_client/models/compliance_settings_payload.rb +188 -0
  132. data/lib/crelate_client/models/consent_request_payload.rb +197 -0
  133. data/lib/crelate_client/models/crelate_action.rb +279 -0
  134. data/lib/crelate_client/models/crelate_action_payload.rb +210 -0
  135. data/lib/crelate_client/models/crelate_details.rb +206 -0
  136. data/lib/crelate_client/models/custom_form_completed_form.rb +221 -0
  137. data/lib/crelate_client/models/custom_form_definition.rb +264 -0
  138. data/lib/crelate_client/models/custom_form_definition_entities.rb +201 -0
  139. data/lib/crelate_client/models/custom_form_form_definition_usage.rb +210 -0
  140. data/lib/crelate_client/models/custom_form_form_defintion_usage_jobs.rb +197 -0
  141. data/lib/crelate_client/models/custom_form_form_field_usage.rb +221 -0
  142. data/lib/crelate_client/models/custom_form_form_field_usage_form_definition.rb +206 -0
  143. data/lib/crelate_client/models/custom_form_layout_section.rb +199 -0
  144. data/lib/crelate_client/models/custom_form_save_response.rb +259 -0
  145. data/lib/crelate_client/models/document_collection.rb +212 -0
  146. data/lib/crelate_client/models/document_item.rb +316 -0
  147. data/lib/crelate_client/models/email_attachment.rb +213 -0
  148. data/lib/crelate_client/models/entity_document_options.rb +188 -0
  149. data/lib/crelate_client/models/entity_lookup.rb +286 -0
  150. data/lib/crelate_client/models/ext_integration_response_interview_response.rb +217 -0
  151. data/lib/crelate_client/models/ext_referral_request.rb +224 -0
  152. data/lib/crelate_client/models/ext_resume_candidate.rb +342 -0
  153. data/lib/crelate_client/models/ext_resume_career_builder_validate_credentials_response.rb +197 -0
  154. data/lib/crelate_client/models/ext_resume_org_state.rb +404 -0
  155. data/lib/crelate_client/models/ext_resume_package_pricing.rb +215 -0
  156. data/lib/crelate_client/models/ext_resume_package_update_request.rb +230 -0
  157. data/lib/crelate_client/models/ext_resume_search_response.rb +199 -0
  158. data/lib/crelate_client/models/ext_resume_view_response.rb +421 -0
  159. data/lib/crelate_client/models/fusebill_state_item.rb +197 -0
  160. data/lib/crelate_client/models/get_document_list_options.rb +231 -0
  161. data/lib/crelate_client/models/interview_request.rb +199 -0
  162. data/lib/crelate_client/models/interview_request_details.rb +255 -0
  163. data/lib/crelate_client/models/interview_response.rb +311 -0
  164. data/lib/crelate_client/models/job_post_request.rb +197 -0
  165. data/lib/crelate_client/models/job_response.rb +251 -0
  166. data/lib/crelate_client/models/multi_entity_lookup.rb +190 -0
  167. data/lib/crelate_client/models/org_audit_log_event.rb +314 -0
  168. data/lib/crelate_client/models/post_purchase_request.rb +224 -0
  169. data/lib/crelate_client/models/public_api_attachment_response.rb +287 -0
  170. data/lib/crelate_client/models/public_api_attachment_response_list.rb +199 -0
  171. data/lib/crelate_client/models/public_api_document_type.rb +208 -0
  172. data/lib/crelate_client/models/public_api_get_account_response.rb +889 -0
  173. data/lib/crelate_client/models/public_api_get_account_response_list.rb +199 -0
  174. data/lib/crelate_client/models/public_api_get_contact_job.rb +233 -0
  175. data/lib/crelate_client/models/public_api_get_contact_response.rb +1485 -0
  176. data/lib/crelate_client/models/public_api_get_contact_response_list.rb +199 -0
  177. data/lib/crelate_client/models/public_api_get_job_contact.rb +233 -0
  178. data/lib/crelate_client/models/public_api_get_job_list_response.rb +199 -0
  179. data/lib/crelate_client/models/public_api_get_job_posting_list_response.rb +199 -0
  180. data/lib/crelate_client/models/public_api_get_job_posting_response.rb +379 -0
  181. data/lib/crelate_client/models/public_api_get_job_posting_search_response.rb +190 -0
  182. data/lib/crelate_client/models/public_api_get_job_posting_search_result.rb +278 -0
  183. data/lib/crelate_client/models/public_api_get_job_response.rb +1267 -0
  184. data/lib/crelate_client/models/public_api_get_note_response.rb +307 -0
  185. data/lib/crelate_client/models/public_api_get_task_response.rb +325 -0
  186. data/lib/crelate_client/models/public_api_id_response.rb +188 -0
  187. data/lib/crelate_client/models/public_api_placement_response.rb +404 -0
  188. data/lib/crelate_client/models/public_api_placement_response_list.rb +199 -0
  189. data/lib/crelate_client/models/public_api_record_owner.rb +206 -0
  190. data/lib/crelate_client/models/public_api_save_account_request.rb +786 -0
  191. data/lib/crelate_client/models/public_api_save_attachment_request.rb +233 -0
  192. data/lib/crelate_client/models/public_api_save_contact_request.rb +1373 -0
  193. data/lib/crelate_client/models/public_api_save_job_application_request.rb +233 -0
  194. data/lib/crelate_client/models/public_api_save_job_posting_request.rb +287 -0
  195. data/lib/crelate_client/models/public_api_save_job_request.rb +975 -0
  196. data/lib/crelate_client/models/public_api_save_job_request_job_type.rb +197 -0
  197. data/lib/crelate_client/models/public_api_save_note_request.rb +215 -0
  198. data/lib/crelate_client/models/public_api_save_task_request.rb +233 -0
  199. data/lib/crelate_client/models/public_api_save_workflow_item_status_request.rb +197 -0
  200. data/lib/crelate_client/models/public_api_tag_category.rb +197 -0
  201. data/lib/crelate_client/models/public_api_workflow_status.rb +224 -0
  202. data/lib/crelate_client/models/public_api_workflow_type.rb +197 -0
  203. data/lib/crelate_client/models/question.rb +233 -0
  204. data/lib/crelate_client/models/question_set_response.rb +226 -0
  205. data/lib/crelate_client/models/save_ext_credential_response.rb +206 -0
  206. data/lib/crelate_client/models/search_contact.rb +215 -0
  207. data/lib/crelate_client/models/send_email_response.rb +235 -0
  208. data/lib/crelate_client/models/send_submittal_detail.rb +217 -0
  209. data/lib/crelate_client/models/share_link.rb +266 -0
  210. data/lib/crelate_client/models/signup_information.rb +287 -0
  211. data/lib/crelate_client/models/sms_plivo_message_received_request.rb +251 -0
  212. data/lib/crelate_client/models/sms_plivo_message_status_received_request.rb +269 -0
  213. data/lib/crelate_client/models/sms_plivo_voice_answer_request.rb +233 -0
  214. data/lib/crelate_client/models/sms_plivo_voice_hangup_request.rb +287 -0
  215. data/lib/crelate_client/models/spark_hire_response_info_interview_response.rb +215 -0
  216. data/lib/crelate_client/models/spark_hire_response_info_job_response.rb +215 -0
  217. data/lib/crelate_client/models/spark_hire_response_info_question_set_response.rb +215 -0
  218. data/lib/crelate_client/models/user_response.rb +224 -0
  219. data/lib/crelate_client/models/wayup_data.rb +267 -0
  220. data/lib/crelate_client/models/webhook_delete_response.rb +188 -0
  221. data/lib/crelate_client/models/zip_apply_data.rb +267 -0
  222. data/lib/crelate_client/version.rb +15 -0
  223. data/lib/crelate_client.rb +143 -0
  224. data/spec/api/companies_api_spec.rb +273 -0
  225. data/spec/api/contacts_api_spec.rb +358 -0
  226. data/spec/api/domain_api_spec.rb +83 -0
  227. data/spec/api/job_postings_api_spec.rb +131 -0
  228. data/spec/api/jobs_api_spec.rb +346 -0
  229. data/spec/api/notes_api_spec.rb +88 -0
  230. data/spec/api/tasks_api_spec.rb +88 -0
  231. data/spec/api_client_spec.rb +226 -0
  232. data/spec/configuration_spec.rb +42 -0
  233. data/spec/models/assigned_to_request_spec.rb +48 -0
  234. data/spec/models/assigned_to_spec.rb +60 -0
  235. data/spec/models/board_parameters_spec.rb +48 -0
  236. data/spec/models/broadcast_message_create_request_spec.rb +48 -0
  237. data/spec/models/broadcast_message_spec.rb +88 -0
  238. data/spec/models/company_spec.rb +60 -0
  239. data/spec/models/compliance_settings_payload_spec.rb +42 -0
  240. data/spec/models/consent_request_payload_spec.rb +48 -0
  241. data/spec/models/crelate_action_payload_spec.rb +54 -0
  242. data/spec/models/crelate_action_spec.rb +82 -0
  243. data/spec/models/crelate_details_spec.rb +54 -0
  244. data/spec/models/custom_form_completed_form_spec.rb +60 -0
  245. data/spec/models/custom_form_definition_entities_spec.rb +48 -0
  246. data/spec/models/custom_form_definition_spec.rb +90 -0
  247. data/spec/models/custom_form_form_definition_usage_spec.rb +54 -0
  248. data/spec/models/custom_form_form_defintion_usage_jobs_spec.rb +48 -0
  249. data/spec/models/custom_form_form_field_usage_form_definition_spec.rb +54 -0
  250. data/spec/models/custom_form_form_field_usage_spec.rb +60 -0
  251. data/spec/models/custom_form_layout_section_spec.rb +48 -0
  252. data/spec/models/custom_form_save_response_spec.rb +70 -0
  253. data/spec/models/document_collection_spec.rb +54 -0
  254. data/spec/models/document_item_spec.rb +126 -0
  255. data/spec/models/email_attachment_spec.rb +48 -0
  256. data/spec/models/entity_document_options_spec.rb +42 -0
  257. data/spec/models/entity_lookup_spec.rb +88 -0
  258. data/spec/models/ext_integration_response_interview_response_spec.rb +60 -0
  259. data/spec/models/ext_referral_request_spec.rb +66 -0
  260. data/spec/models/ext_resume_candidate_spec.rb +124 -0
  261. data/spec/models/ext_resume_career_builder_validate_credentials_response_spec.rb +48 -0
  262. data/spec/models/ext_resume_org_state_spec.rb +164 -0
  263. data/spec/models/ext_resume_package_pricing_spec.rb +60 -0
  264. data/spec/models/ext_resume_package_update_request_spec.rb +52 -0
  265. data/spec/models/ext_resume_search_response_spec.rb +48 -0
  266. data/spec/models/ext_resume_view_response_spec.rb +178 -0
  267. data/spec/models/fusebill_state_item_spec.rb +48 -0
  268. data/spec/models/get_document_list_options_spec.rb +58 -0
  269. data/spec/models/interview_request_details_spec.rb +84 -0
  270. data/spec/models/interview_request_spec.rb +48 -0
  271. data/spec/models/interview_response_spec.rb +106 -0
  272. data/spec/models/job_post_request_spec.rb +48 -0
  273. data/spec/models/job_response_spec.rb +84 -0
  274. data/spec/models/multi_entity_lookup_spec.rb +42 -0
  275. data/spec/models/org_audit_log_event_spec.rb +126 -0
  276. data/spec/models/post_purchase_request_spec.rb +66 -0
  277. data/spec/models/public_api_attachment_response_list_spec.rb +48 -0
  278. data/spec/models/public_api_attachment_response_spec.rb +108 -0
  279. data/spec/models/public_api_document_type_spec.rb +54 -0
  280. data/spec/models/public_api_get_account_response_list_spec.rb +48 -0
  281. data/spec/models/public_api_get_account_response_spec.rb +504 -0
  282. data/spec/models/public_api_get_contact_job_spec.rb +72 -0
  283. data/spec/models/public_api_get_contact_response_list_spec.rb +48 -0
  284. data/spec/models/public_api_get_contact_response_spec.rb +900 -0
  285. data/spec/models/public_api_get_job_contact_spec.rb +72 -0
  286. data/spec/models/public_api_get_job_list_response_spec.rb +48 -0
  287. data/spec/models/public_api_get_job_posting_list_response_spec.rb +48 -0
  288. data/spec/models/public_api_get_job_posting_response_spec.rb +168 -0
  289. data/spec/models/public_api_get_job_posting_search_response_spec.rb +42 -0
  290. data/spec/models/public_api_get_job_posting_search_result_spec.rb +102 -0
  291. data/spec/models/public_api_get_job_response_spec.rb +756 -0
  292. data/spec/models/public_api_get_note_response_spec.rb +120 -0
  293. data/spec/models/public_api_get_task_response_spec.rb +132 -0
  294. data/spec/models/public_api_id_response_spec.rb +42 -0
  295. data/spec/models/public_api_placement_response_list_spec.rb +48 -0
  296. data/spec/models/public_api_placement_response_spec.rb +186 -0
  297. data/spec/models/public_api_record_owner_spec.rb +54 -0
  298. data/spec/models/public_api_save_account_request_spec.rb +438 -0
  299. data/spec/models/public_api_save_attachment_request_spec.rb +72 -0
  300. data/spec/models/public_api_save_contact_request_spec.rb +828 -0
  301. data/spec/models/public_api_save_job_application_request_spec.rb +72 -0
  302. data/spec/models/public_api_save_job_posting_request_spec.rb +108 -0
  303. data/spec/models/public_api_save_job_request_job_type_spec.rb +48 -0
  304. data/spec/models/public_api_save_job_request_spec.rb +564 -0
  305. data/spec/models/public_api_save_note_request_spec.rb +60 -0
  306. data/spec/models/public_api_save_task_request_spec.rb +72 -0
  307. data/spec/models/public_api_save_workflow_item_status_request_spec.rb +48 -0
  308. data/spec/models/public_api_tag_category_spec.rb +48 -0
  309. data/spec/models/public_api_workflow_status_spec.rb +66 -0
  310. data/spec/models/public_api_workflow_type_spec.rb +48 -0
  311. data/spec/models/question_set_response_spec.rb +66 -0
  312. data/spec/models/question_spec.rb +72 -0
  313. data/spec/models/save_ext_credential_response_spec.rb +54 -0
  314. data/spec/models/search_contact_spec.rb +60 -0
  315. data/spec/models/send_email_response_spec.rb +72 -0
  316. data/spec/models/send_submittal_detail_spec.rb +60 -0
  317. data/spec/models/share_link_spec.rb +76 -0
  318. data/spec/models/signup_information_spec.rb +108 -0
  319. data/spec/models/sms_plivo_message_received_request_spec.rb +84 -0
  320. data/spec/models/sms_plivo_message_status_received_request_spec.rb +96 -0
  321. data/spec/models/sms_plivo_voice_answer_request_spec.rb +72 -0
  322. data/spec/models/sms_plivo_voice_hangup_request_spec.rb +108 -0
  323. data/spec/models/spark_hire_response_info_interview_response_spec.rb +60 -0
  324. data/spec/models/spark_hire_response_info_job_response_spec.rb +60 -0
  325. data/spec/models/spark_hire_response_info_question_set_response_spec.rb +60 -0
  326. data/spec/models/user_response_spec.rb +66 -0
  327. data/spec/models/wayup_data_spec.rb +84 -0
  328. data/spec/models/webhook_delete_response_spec.rb +42 -0
  329. data/spec/models/zip_apply_data_spec.rb +84 -0
  330. data/spec/spec_helper.rb +111 -0
  331. metadata +654 -0
@@ -0,0 +1,467 @@
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 "uri"
14
+
15
+ module CrelateClient
16
+ class JobPostingsApi
17
+ attr_accessor :api_client
18
+
19
+ def initialize(api_client = ApiClient.default)
20
+ @api_client = api_client
21
+ end
22
+
23
+ # delete a job posting
24
+ #
25
+ # @param job_id identifier
26
+ # @param api_key crelate api key
27
+ # @param [Hash] opts the optional parameters
28
+ # @return [Object]
29
+ def public_api_delete_job_postings(job_id, api_key, opts = {})
30
+ data, _status_code, _headers = public_api_delete_job_postings_with_http_info(job_id, api_key, opts)
31
+ return data
32
+ end
33
+
34
+ # delete a job posting
35
+ #
36
+ # @param job_id identifier
37
+ # @param api_key crelate api key
38
+ # @param [Hash] opts the optional parameters
39
+ # @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers
40
+ def public_api_delete_job_postings_with_http_info(job_id, api_key, opts = {})
41
+ if @api_client.config.debugging
42
+ @api_client.config.logger.debug "Calling API: JobPostingsApi.public_api_delete_job_postings ..."
43
+ end
44
+ # verify the required parameter 'job_id' is set
45
+ if @api_client.config.client_side_validation && job_id.nil?
46
+ fail ArgumentError, "Missing the required parameter 'job_id' when calling JobPostingsApi.public_api_delete_job_postings"
47
+ end
48
+ # verify the required parameter 'api_key' is set
49
+ if @api_client.config.client_side_validation && api_key.nil?
50
+ fail ArgumentError, "Missing the required parameter 'api_key' when calling JobPostingsApi.public_api_delete_job_postings"
51
+ end
52
+ # resource path
53
+ local_var_path = "/api/pub/v1/jobPostings/{jobId}".sub('{' + 'jobId' + '}', job_id.to_s)
54
+
55
+ # query parameters
56
+ query_params = {}
57
+ query_params[:'api_key'] = api_key
58
+
59
+ # header parameters
60
+ header_params = {}
61
+ # HTTP header 'Accept' (if needed)
62
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json'])
63
+
64
+ # form parameters
65
+ form_params = {}
66
+
67
+ # http body (model)
68
+ post_body = nil
69
+ auth_names = []
70
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
71
+ :header_params => header_params,
72
+ :query_params => query_params,
73
+ :form_params => form_params,
74
+ :body => post_body,
75
+ :auth_names => auth_names,
76
+ :return_type => 'Object')
77
+ if @api_client.config.debugging
78
+ @api_client.config.logger.debug "API called: JobPostingsApi#public_api_delete_job_postings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
79
+ end
80
+ return data, status_code, headers
81
+ end
82
+
83
+ # retrieve a job posting
84
+ #
85
+ # @param job_id identifier
86
+ # @param api_key crelate api key
87
+ # @param [Hash] opts the optional parameters
88
+ # @return [PublicApiGetJobPostingResponse]
89
+ def public_api_get_job_posting(job_id, api_key, opts = {})
90
+ data, _status_code, _headers = public_api_get_job_posting_with_http_info(job_id, api_key, opts)
91
+ return data
92
+ end
93
+
94
+ # retrieve a job posting
95
+ #
96
+ # @param job_id identifier
97
+ # @param api_key crelate api key
98
+ # @param [Hash] opts the optional parameters
99
+ # @return [Array<(PublicApiGetJobPostingResponse, Fixnum, Hash)>] PublicApiGetJobPostingResponse data, response status code and response headers
100
+ def public_api_get_job_posting_with_http_info(job_id, api_key, opts = {})
101
+ if @api_client.config.debugging
102
+ @api_client.config.logger.debug "Calling API: JobPostingsApi.public_api_get_job_posting ..."
103
+ end
104
+ # verify the required parameter 'job_id' is set
105
+ if @api_client.config.client_side_validation && job_id.nil?
106
+ fail ArgumentError, "Missing the required parameter 'job_id' when calling JobPostingsApi.public_api_get_job_posting"
107
+ end
108
+ # verify the required parameter 'api_key' is set
109
+ if @api_client.config.client_side_validation && api_key.nil?
110
+ fail ArgumentError, "Missing the required parameter 'api_key' when calling JobPostingsApi.public_api_get_job_posting"
111
+ end
112
+ # resource path
113
+ local_var_path = "/api/pub/v1/jobPostings/{jobId}".sub('{' + 'jobId' + '}', job_id.to_s)
114
+
115
+ # query parameters
116
+ query_params = {}
117
+ query_params[:'api_key'] = api_key
118
+
119
+ # header parameters
120
+ header_params = {}
121
+ # HTTP header 'Accept' (if needed)
122
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json'])
123
+
124
+ # form parameters
125
+ form_params = {}
126
+
127
+ # http body (model)
128
+ post_body = nil
129
+ auth_names = []
130
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
131
+ :header_params => header_params,
132
+ :query_params => query_params,
133
+ :form_params => form_params,
134
+ :body => post_body,
135
+ :auth_names => auth_names,
136
+ :return_type => 'PublicApiGetJobPostingResponse')
137
+ if @api_client.config.debugging
138
+ @api_client.config.logger.debug "API called: JobPostingsApi#public_api_get_job_posting\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
139
+ end
140
+ return data, status_code, headers
141
+ end
142
+
143
+ # retrieve a list of all job postings
144
+ #
145
+ # @param api_key crelate api key
146
+ # @param [Hash] opts the optional parameters
147
+ # @option opts [Integer] :skip skip number of records, default 0
148
+ # @option opts [Integer] :take retrieve x amount of records, limit 500, default 50
149
+ # @return [PublicApiGetJobPostingListResponse]
150
+ def public_api_get_job_postings(api_key, opts = {})
151
+ data, _status_code, _headers = public_api_get_job_postings_with_http_info(api_key, opts)
152
+ return data
153
+ end
154
+
155
+ # retrieve a list of all job postings
156
+ #
157
+ # @param api_key crelate api key
158
+ # @param [Hash] opts the optional parameters
159
+ # @option opts [Integer] :skip skip number of records, default 0
160
+ # @option opts [Integer] :take retrieve x amount of records, limit 500, default 50
161
+ # @return [Array<(PublicApiGetJobPostingListResponse, Fixnum, Hash)>] PublicApiGetJobPostingListResponse data, response status code and response headers
162
+ def public_api_get_job_postings_with_http_info(api_key, opts = {})
163
+ if @api_client.config.debugging
164
+ @api_client.config.logger.debug "Calling API: JobPostingsApi.public_api_get_job_postings ..."
165
+ end
166
+ # verify the required parameter 'api_key' is set
167
+ if @api_client.config.client_side_validation && api_key.nil?
168
+ fail ArgumentError, "Missing the required parameter 'api_key' when calling JobPostingsApi.public_api_get_job_postings"
169
+ end
170
+ # resource path
171
+ local_var_path = "/api/pub/v1/jobPostings"
172
+
173
+ # query parameters
174
+ query_params = {}
175
+ query_params[:'api_key'] = api_key
176
+ query_params[:'skip'] = opts[:'skip'] if !opts[:'skip'].nil?
177
+ query_params[:'take'] = opts[:'take'] if !opts[:'take'].nil?
178
+
179
+ # header parameters
180
+ header_params = {}
181
+ # HTTP header 'Accept' (if needed)
182
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json'])
183
+
184
+ # form parameters
185
+ form_params = {}
186
+
187
+ # http body (model)
188
+ post_body = nil
189
+ auth_names = []
190
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
191
+ :header_params => header_params,
192
+ :query_params => query_params,
193
+ :form_params => form_params,
194
+ :body => post_body,
195
+ :auth_names => auth_names,
196
+ :return_type => 'PublicApiGetJobPostingListResponse')
197
+ if @api_client.config.debugging
198
+ @api_client.config.logger.debug "API called: JobPostingsApi#public_api_get_job_postings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
199
+ end
200
+ return data, status_code, headers
201
+ end
202
+
203
+ # retrieve a list of job postings updated within a certain time frame
204
+ #
205
+ # @param api_key crelate api key
206
+ # @param modified modified within x number of minutes ago
207
+ # @param [Hash] opts the optional parameters
208
+ # @option opts [Integer] :skip skip number of records, default 0
209
+ # @option opts [Integer] :take retrieve x amount of records, limit 500, default 50
210
+ # @return [PublicApiGetJobPostingListResponse]
211
+ def public_api_get_recent_job_postings(api_key, modified, opts = {})
212
+ data, _status_code, _headers = public_api_get_recent_job_postings_with_http_info(api_key, modified, opts)
213
+ return data
214
+ end
215
+
216
+ # retrieve a list of job postings updated within a certain time frame
217
+ #
218
+ # @param api_key crelate api key
219
+ # @param modified modified within x number of minutes ago
220
+ # @param [Hash] opts the optional parameters
221
+ # @option opts [Integer] :skip skip number of records, default 0
222
+ # @option opts [Integer] :take retrieve x amount of records, limit 500, default 50
223
+ # @return [Array<(PublicApiGetJobPostingListResponse, Fixnum, Hash)>] PublicApiGetJobPostingListResponse data, response status code and response headers
224
+ def public_api_get_recent_job_postings_with_http_info(api_key, modified, opts = {})
225
+ if @api_client.config.debugging
226
+ @api_client.config.logger.debug "Calling API: JobPostingsApi.public_api_get_recent_job_postings ..."
227
+ end
228
+ # verify the required parameter 'api_key' is set
229
+ if @api_client.config.client_side_validation && api_key.nil?
230
+ fail ArgumentError, "Missing the required parameter 'api_key' when calling JobPostingsApi.public_api_get_recent_job_postings"
231
+ end
232
+ # verify the required parameter 'modified' is set
233
+ if @api_client.config.client_side_validation && modified.nil?
234
+ fail ArgumentError, "Missing the required parameter 'modified' when calling JobPostingsApi.public_api_get_recent_job_postings"
235
+ end
236
+ # resource path
237
+ local_var_path = "/api/pub/v1/jobPostings/recent"
238
+
239
+ # query parameters
240
+ query_params = {}
241
+ query_params[:'api_key'] = api_key
242
+ query_params[:'modified'] = modified
243
+ query_params[:'skip'] = opts[:'skip'] if !opts[:'skip'].nil?
244
+ query_params[:'take'] = opts[:'take'] if !opts[:'take'].nil?
245
+
246
+ # header parameters
247
+ header_params = {}
248
+ # HTTP header 'Accept' (if needed)
249
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json'])
250
+
251
+ # form parameters
252
+ form_params = {}
253
+
254
+ # http body (model)
255
+ post_body = nil
256
+ auth_names = []
257
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
258
+ :header_params => header_params,
259
+ :query_params => query_params,
260
+ :form_params => form_params,
261
+ :body => post_body,
262
+ :auth_names => auth_names,
263
+ :return_type => 'PublicApiGetJobPostingListResponse')
264
+ if @api_client.config.debugging
265
+ @api_client.config.logger.debug "API called: JobPostingsApi#public_api_get_recent_job_postings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
266
+ end
267
+ return data, status_code, headers
268
+ end
269
+
270
+ # create a job application
271
+ # The ResumeContent field should contain a Base64 encoded string representing the contents of the resume, the ResumeFilename should be the original resume filename including the extension.
272
+ # @param job_id identifier
273
+ # @param api_key crelate api key
274
+ # @param request
275
+ # @param [Hash] opts the optional parameters
276
+ # @return [PublicApiIdResponse]
277
+ def public_api_post_job_posting_application(job_id, api_key, request, opts = {})
278
+ data, _status_code, _headers = public_api_post_job_posting_application_with_http_info(job_id, api_key, request, opts)
279
+ return data
280
+ end
281
+
282
+ # create a job application
283
+ # The ResumeContent field should contain a Base64 encoded string representing the contents of the resume, the ResumeFilename should be the original resume filename including the extension.
284
+ # @param job_id identifier
285
+ # @param api_key crelate api key
286
+ # @param request
287
+ # @param [Hash] opts the optional parameters
288
+ # @return [Array<(PublicApiIdResponse, Fixnum, Hash)>] PublicApiIdResponse data, response status code and response headers
289
+ def public_api_post_job_posting_application_with_http_info(job_id, api_key, request, opts = {})
290
+ if @api_client.config.debugging
291
+ @api_client.config.logger.debug "Calling API: JobPostingsApi.public_api_post_job_posting_application ..."
292
+ end
293
+ # verify the required parameter 'job_id' is set
294
+ if @api_client.config.client_side_validation && job_id.nil?
295
+ fail ArgumentError, "Missing the required parameter 'job_id' when calling JobPostingsApi.public_api_post_job_posting_application"
296
+ end
297
+ # verify the required parameter 'api_key' is set
298
+ if @api_client.config.client_side_validation && api_key.nil?
299
+ fail ArgumentError, "Missing the required parameter 'api_key' when calling JobPostingsApi.public_api_post_job_posting_application"
300
+ end
301
+ # verify the required parameter 'request' is set
302
+ if @api_client.config.client_side_validation && request.nil?
303
+ fail ArgumentError, "Missing the required parameter 'request' when calling JobPostingsApi.public_api_post_job_posting_application"
304
+ end
305
+ # resource path
306
+ local_var_path = "/api/pub/v1/jobPostings/{jobId}/applications".sub('{' + 'jobId' + '}', job_id.to_s)
307
+
308
+ # query parameters
309
+ query_params = {}
310
+ query_params[:'api_key'] = api_key
311
+
312
+ # header parameters
313
+ header_params = {}
314
+ # HTTP header 'Accept' (if needed)
315
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json'])
316
+ # HTTP header 'Content-Type'
317
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/x-www-form-urlencoded'])
318
+
319
+ # form parameters
320
+ form_params = {}
321
+
322
+ # http body (model)
323
+ post_body = @api_client.object_to_http_body(request)
324
+ auth_names = []
325
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
326
+ :header_params => header_params,
327
+ :query_params => query_params,
328
+ :form_params => form_params,
329
+ :body => post_body,
330
+ :auth_names => auth_names,
331
+ :return_type => 'PublicApiIdResponse')
332
+ if @api_client.config.debugging
333
+ @api_client.config.logger.debug "API called: JobPostingsApi#public_api_post_job_posting_application\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
334
+ end
335
+ return data, status_code, headers
336
+ end
337
+
338
+ # search job postings
339
+ #
340
+ # @param api_key crelate api key
341
+ # @param query search terms
342
+ # @param [Hash] opts the optional parameters
343
+ # @return [PublicApiGetJobPostingSearchResponse]
344
+ def public_api_put_job_posting(api_key, query, opts = {})
345
+ data, _status_code, _headers = public_api_put_job_posting_with_http_info(api_key, query, opts)
346
+ return data
347
+ end
348
+
349
+ # search job postings
350
+ #
351
+ # @param api_key crelate api key
352
+ # @param query search terms
353
+ # @param [Hash] opts the optional parameters
354
+ # @return [Array<(PublicApiGetJobPostingSearchResponse, Fixnum, Hash)>] PublicApiGetJobPostingSearchResponse data, response status code and response headers
355
+ def public_api_put_job_posting_with_http_info(api_key, query, opts = {})
356
+ if @api_client.config.debugging
357
+ @api_client.config.logger.debug "Calling API: JobPostingsApi.public_api_put_job_posting ..."
358
+ end
359
+ # verify the required parameter 'api_key' is set
360
+ if @api_client.config.client_side_validation && api_key.nil?
361
+ fail ArgumentError, "Missing the required parameter 'api_key' when calling JobPostingsApi.public_api_put_job_posting"
362
+ end
363
+ # verify the required parameter 'query' is set
364
+ if @api_client.config.client_side_validation && query.nil?
365
+ fail ArgumentError, "Missing the required parameter 'query' when calling JobPostingsApi.public_api_put_job_posting"
366
+ end
367
+ # resource path
368
+ local_var_path = "/api/pub/v1/jobPostings/search"
369
+
370
+ # query parameters
371
+ query_params = {}
372
+ query_params[:'api_key'] = api_key
373
+ query_params[:'query'] = query
374
+
375
+ # header parameters
376
+ header_params = {}
377
+ # HTTP header 'Accept' (if needed)
378
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json'])
379
+
380
+ # form parameters
381
+ form_params = {}
382
+
383
+ # http body (model)
384
+ post_body = nil
385
+ auth_names = []
386
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
387
+ :header_params => header_params,
388
+ :query_params => query_params,
389
+ :form_params => form_params,
390
+ :body => post_body,
391
+ :auth_names => auth_names,
392
+ :return_type => 'PublicApiGetJobPostingSearchResponse')
393
+ if @api_client.config.debugging
394
+ @api_client.config.logger.debug "API called: JobPostingsApi#public_api_put_job_posting\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
395
+ end
396
+ return data, status_code, headers
397
+ end
398
+
399
+ # update a job posting
400
+ # Replaces all fields. To partially update a job, first retrieve it using the GET method, apply changes and submit to the PUT method.
401
+ # @param job_id identifier
402
+ # @param api_key crelate api key
403
+ # @param request
404
+ # @param [Hash] opts the optional parameters
405
+ # @return [Object]
406
+ def public_api_put_job_posting_0(job_id, api_key, request, opts = {})
407
+ data, _status_code, _headers = public_api_put_job_posting_0_with_http_info(job_id, api_key, request, opts)
408
+ return data
409
+ end
410
+
411
+ # update a job posting
412
+ # Replaces all fields. To partially update a job, first retrieve it using the GET method, apply changes and submit to the PUT method.
413
+ # @param job_id identifier
414
+ # @param api_key crelate api key
415
+ # @param request
416
+ # @param [Hash] opts the optional parameters
417
+ # @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers
418
+ def public_api_put_job_posting_0_with_http_info(job_id, api_key, request, opts = {})
419
+ if @api_client.config.debugging
420
+ @api_client.config.logger.debug "Calling API: JobPostingsApi.public_api_put_job_posting_0 ..."
421
+ end
422
+ # verify the required parameter 'job_id' is set
423
+ if @api_client.config.client_side_validation && job_id.nil?
424
+ fail ArgumentError, "Missing the required parameter 'job_id' when calling JobPostingsApi.public_api_put_job_posting_0"
425
+ end
426
+ # verify the required parameter 'api_key' is set
427
+ if @api_client.config.client_side_validation && api_key.nil?
428
+ fail ArgumentError, "Missing the required parameter 'api_key' when calling JobPostingsApi.public_api_put_job_posting_0"
429
+ end
430
+ # verify the required parameter 'request' is set
431
+ if @api_client.config.client_side_validation && request.nil?
432
+ fail ArgumentError, "Missing the required parameter 'request' when calling JobPostingsApi.public_api_put_job_posting_0"
433
+ end
434
+ # resource path
435
+ local_var_path = "/api/pub/v1/jobPostings/{jobId}".sub('{' + 'jobId' + '}', job_id.to_s)
436
+
437
+ # query parameters
438
+ query_params = {}
439
+ query_params[:'api_key'] = api_key
440
+
441
+ # header parameters
442
+ header_params = {}
443
+ # HTTP header 'Accept' (if needed)
444
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json'])
445
+ # HTTP header 'Content-Type'
446
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/x-www-form-urlencoded'])
447
+
448
+ # form parameters
449
+ form_params = {}
450
+
451
+ # http body (model)
452
+ post_body = @api_client.object_to_http_body(request)
453
+ auth_names = []
454
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
455
+ :header_params => header_params,
456
+ :query_params => query_params,
457
+ :form_params => form_params,
458
+ :body => post_body,
459
+ :auth_names => auth_names,
460
+ :return_type => 'Object')
461
+ if @api_client.config.debugging
462
+ @api_client.config.logger.debug "API called: JobPostingsApi#public_api_put_job_posting_0\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
463
+ end
464
+ return data, status_code, headers
465
+ end
466
+ end
467
+ end