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,239 @@
|
|
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 DomainApi
|
17
|
+
attr_accessor :api_client
|
18
|
+
|
19
|
+
def initialize(api_client = ApiClient.default)
|
20
|
+
@api_client = api_client
|
21
|
+
end
|
22
|
+
|
23
|
+
# returns a list of attachment types
|
24
|
+
#
|
25
|
+
# @param api_key crelate api_key
|
26
|
+
# @param [Hash] opts the optional parameters
|
27
|
+
# @return [Array<PublicApiDocumentType>]
|
28
|
+
def public_api_get_document_types(api_key, opts = {})
|
29
|
+
data, _status_code, _headers = public_api_get_document_types_with_http_info(api_key, opts)
|
30
|
+
return data
|
31
|
+
end
|
32
|
+
|
33
|
+
# returns a list of attachment types
|
34
|
+
#
|
35
|
+
# @param api_key crelate api_key
|
36
|
+
# @param [Hash] opts the optional parameters
|
37
|
+
# @return [Array<(Array<PublicApiDocumentType>, Fixnum, Hash)>] Array<PublicApiDocumentType> data, response status code and response headers
|
38
|
+
def public_api_get_document_types_with_http_info(api_key, opts = {})
|
39
|
+
if @api_client.config.debugging
|
40
|
+
@api_client.config.logger.debug "Calling API: DomainApi.public_api_get_document_types ..."
|
41
|
+
end
|
42
|
+
# verify the required parameter 'api_key' is set
|
43
|
+
if @api_client.config.client_side_validation && api_key.nil?
|
44
|
+
fail ArgumentError, "Missing the required parameter 'api_key' when calling DomainApi.public_api_get_document_types"
|
45
|
+
end
|
46
|
+
# resource path
|
47
|
+
local_var_path = "/api/pub/v1/domain/documentTypes"
|
48
|
+
|
49
|
+
# query parameters
|
50
|
+
query_params = {}
|
51
|
+
query_params[:'api_key'] = api_key
|
52
|
+
|
53
|
+
# header parameters
|
54
|
+
header_params = {}
|
55
|
+
# HTTP header 'Accept' (if needed)
|
56
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json'])
|
57
|
+
|
58
|
+
# form parameters
|
59
|
+
form_params = {}
|
60
|
+
|
61
|
+
# http body (model)
|
62
|
+
post_body = nil
|
63
|
+
auth_names = []
|
64
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
65
|
+
:header_params => header_params,
|
66
|
+
:query_params => query_params,
|
67
|
+
:form_params => form_params,
|
68
|
+
:body => post_body,
|
69
|
+
:auth_names => auth_names,
|
70
|
+
:return_type => 'Array<PublicApiDocumentType>')
|
71
|
+
if @api_client.config.debugging
|
72
|
+
@api_client.config.logger.debug "API called: DomainApi#public_api_get_document_types\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
73
|
+
end
|
74
|
+
return data, status_code, headers
|
75
|
+
end
|
76
|
+
|
77
|
+
# get category tags
|
78
|
+
#
|
79
|
+
# @param api_key crelate api key
|
80
|
+
# @param [Hash] opts the optional parameters
|
81
|
+
# @return [Array<PublicApiTagCategory>]
|
82
|
+
def public_api_get_domain_category_tags(api_key, opts = {})
|
83
|
+
data, _status_code, _headers = public_api_get_domain_category_tags_with_http_info(api_key, opts)
|
84
|
+
return data
|
85
|
+
end
|
86
|
+
|
87
|
+
# get category tags
|
88
|
+
#
|
89
|
+
# @param api_key crelate api key
|
90
|
+
# @param [Hash] opts the optional parameters
|
91
|
+
# @return [Array<(Array<PublicApiTagCategory>, Fixnum, Hash)>] Array<PublicApiTagCategory> data, response status code and response headers
|
92
|
+
def public_api_get_domain_category_tags_with_http_info(api_key, opts = {})
|
93
|
+
if @api_client.config.debugging
|
94
|
+
@api_client.config.logger.debug "Calling API: DomainApi.public_api_get_domain_category_tags ..."
|
95
|
+
end
|
96
|
+
# verify the required parameter 'api_key' is set
|
97
|
+
if @api_client.config.client_side_validation && api_key.nil?
|
98
|
+
fail ArgumentError, "Missing the required parameter 'api_key' when calling DomainApi.public_api_get_domain_category_tags"
|
99
|
+
end
|
100
|
+
# resource path
|
101
|
+
local_var_path = "/api/pub/v1/domain/tagCategories"
|
102
|
+
|
103
|
+
# query parameters
|
104
|
+
query_params = {}
|
105
|
+
query_params[:'api_key'] = api_key
|
106
|
+
|
107
|
+
# header parameters
|
108
|
+
header_params = {}
|
109
|
+
# HTTP header 'Accept' (if needed)
|
110
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json'])
|
111
|
+
|
112
|
+
# form parameters
|
113
|
+
form_params = {}
|
114
|
+
|
115
|
+
# http body (model)
|
116
|
+
post_body = nil
|
117
|
+
auth_names = []
|
118
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
119
|
+
:header_params => header_params,
|
120
|
+
:query_params => query_params,
|
121
|
+
:form_params => form_params,
|
122
|
+
:body => post_body,
|
123
|
+
:auth_names => auth_names,
|
124
|
+
:return_type => 'Array<PublicApiTagCategory>')
|
125
|
+
if @api_client.config.debugging
|
126
|
+
@api_client.config.logger.debug "API called: DomainApi#public_api_get_domain_category_tags\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
127
|
+
end
|
128
|
+
return data, status_code, headers
|
129
|
+
end
|
130
|
+
|
131
|
+
# get workflow status information
|
132
|
+
#
|
133
|
+
# @param api_key crelate api key
|
134
|
+
# @param [Hash] opts the optional parameters
|
135
|
+
# @return [Array<PublicApiWorkflowStatus>]
|
136
|
+
def public_api_get_domain_workflow_statuses(api_key, opts = {})
|
137
|
+
data, _status_code, _headers = public_api_get_domain_workflow_statuses_with_http_info(api_key, opts)
|
138
|
+
return data
|
139
|
+
end
|
140
|
+
|
141
|
+
# get workflow status information
|
142
|
+
#
|
143
|
+
# @param api_key crelate api key
|
144
|
+
# @param [Hash] opts the optional parameters
|
145
|
+
# @return [Array<(Array<PublicApiWorkflowStatus>, Fixnum, Hash)>] Array<PublicApiWorkflowStatus> data, response status code and response headers
|
146
|
+
def public_api_get_domain_workflow_statuses_with_http_info(api_key, opts = {})
|
147
|
+
if @api_client.config.debugging
|
148
|
+
@api_client.config.logger.debug "Calling API: DomainApi.public_api_get_domain_workflow_statuses ..."
|
149
|
+
end
|
150
|
+
# verify the required parameter 'api_key' is set
|
151
|
+
if @api_client.config.client_side_validation && api_key.nil?
|
152
|
+
fail ArgumentError, "Missing the required parameter 'api_key' when calling DomainApi.public_api_get_domain_workflow_statuses"
|
153
|
+
end
|
154
|
+
# resource path
|
155
|
+
local_var_path = "/api/pub/v1/domain/workflowStatuses"
|
156
|
+
|
157
|
+
# query parameters
|
158
|
+
query_params = {}
|
159
|
+
query_params[:'api_key'] = api_key
|
160
|
+
|
161
|
+
# header parameters
|
162
|
+
header_params = {}
|
163
|
+
# HTTP header 'Accept' (if needed)
|
164
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json'])
|
165
|
+
|
166
|
+
# form parameters
|
167
|
+
form_params = {}
|
168
|
+
|
169
|
+
# http body (model)
|
170
|
+
post_body = nil
|
171
|
+
auth_names = []
|
172
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
173
|
+
:header_params => header_params,
|
174
|
+
:query_params => query_params,
|
175
|
+
:form_params => form_params,
|
176
|
+
:body => post_body,
|
177
|
+
:auth_names => auth_names,
|
178
|
+
:return_type => 'Array<PublicApiWorkflowStatus>')
|
179
|
+
if @api_client.config.debugging
|
180
|
+
@api_client.config.logger.debug "API called: DomainApi#public_api_get_domain_workflow_statuses\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
181
|
+
end
|
182
|
+
return data, status_code, headers
|
183
|
+
end
|
184
|
+
|
185
|
+
# get workflow types
|
186
|
+
#
|
187
|
+
# @param api_key crelate api key
|
188
|
+
# @param [Hash] opts the optional parameters
|
189
|
+
# @return [Array<PublicApiWorkflowType>]
|
190
|
+
def public_api_get_domain_workflow_types(api_key, opts = {})
|
191
|
+
data, _status_code, _headers = public_api_get_domain_workflow_types_with_http_info(api_key, opts)
|
192
|
+
return data
|
193
|
+
end
|
194
|
+
|
195
|
+
# get workflow types
|
196
|
+
#
|
197
|
+
# @param api_key crelate api key
|
198
|
+
# @param [Hash] opts the optional parameters
|
199
|
+
# @return [Array<(Array<PublicApiWorkflowType>, Fixnum, Hash)>] Array<PublicApiWorkflowType> data, response status code and response headers
|
200
|
+
def public_api_get_domain_workflow_types_with_http_info(api_key, opts = {})
|
201
|
+
if @api_client.config.debugging
|
202
|
+
@api_client.config.logger.debug "Calling API: DomainApi.public_api_get_domain_workflow_types ..."
|
203
|
+
end
|
204
|
+
# verify the required parameter 'api_key' is set
|
205
|
+
if @api_client.config.client_side_validation && api_key.nil?
|
206
|
+
fail ArgumentError, "Missing the required parameter 'api_key' when calling DomainApi.public_api_get_domain_workflow_types"
|
207
|
+
end
|
208
|
+
# resource path
|
209
|
+
local_var_path = "/api/pub/v1/domain/workflowTypes"
|
210
|
+
|
211
|
+
# query parameters
|
212
|
+
query_params = {}
|
213
|
+
query_params[:'api_key'] = api_key
|
214
|
+
|
215
|
+
# header parameters
|
216
|
+
header_params = {}
|
217
|
+
# HTTP header 'Accept' (if needed)
|
218
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json'])
|
219
|
+
|
220
|
+
# form parameters
|
221
|
+
form_params = {}
|
222
|
+
|
223
|
+
# http body (model)
|
224
|
+
post_body = nil
|
225
|
+
auth_names = []
|
226
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
227
|
+
:header_params => header_params,
|
228
|
+
:query_params => query_params,
|
229
|
+
:form_params => form_params,
|
230
|
+
:body => post_body,
|
231
|
+
:auth_names => auth_names,
|
232
|
+
:return_type => 'Array<PublicApiWorkflowType>')
|
233
|
+
if @api_client.config.debugging
|
234
|
+
@api_client.config.logger.debug "API called: DomainApi#public_api_get_domain_workflow_types\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
235
|
+
end
|
236
|
+
return data, status_code, headers
|
237
|
+
end
|
238
|
+
end
|
239
|
+
end
|