apimatic-apollo-sdk 0.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/LICENSE +28 -0
- data/README.md +179 -0
- data/bin/console +15 -0
- data/lib/apollo_rest_api/api_helper.rb +10 -0
- data/lib/apollo_rest_api/apis/accounts_api.rb +400 -0
- data/lib/apollo_rest_api/apis/analytics_api.rb +65 -0
- data/lib/apollo_rest_api/apis/api.rb +45 -0
- data/lib/apollo_rest_api/apis/base_api.rb +67 -0
- data/lib/apollo_rest_api/apis/calls_api.rb +354 -0
- data/lib/apollo_rest_api/apis/contacts_api.rb +478 -0
- data/lib/apollo_rest_api/apis/conversations_api.rb +157 -0
- data/lib/apollo_rest_api/apis/deals_api.rb +253 -0
- data/lib/apollo_rest_api/apis/emailer_messages_api.rb +160 -0
- data/lib/apollo_rest_api/apis/enrichment_api.rb +447 -0
- data/lib/apollo_rest_api/apis/miscellaneous_api.rb +610 -0
- data/lib/apollo_rest_api/apis/search_api.rb +675 -0
- data/lib/apollo_rest_api/apis/sequences_api.rb +774 -0
- data/lib/apollo_rest_api/apis/tasks_api.rb +397 -0
- data/lib/apollo_rest_api/client.rb +147 -0
- data/lib/apollo_rest_api/configuration.rb +170 -0
- data/lib/apollo_rest_api/exceptions/account_stages429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/accounts422_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/accounts429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/accounts_bulk_create422_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/accounts_bulk_create429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/accounts_bulk_create500_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/accounts_bulk_update422_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/accounts_bulk_update429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/accounts_search403_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/accounts_search429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/accounts_update_owners429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/api_exception.rb +21 -0
- data/lib/apollo_rest_api/exceptions/contact_stages429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/contacts422_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/contacts429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/contacts_bulk_create422_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/contacts_bulk_create429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/contacts_bulk_create500_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/contacts_bulk_update422_error_exception.rb +51 -0
- data/lib/apollo_rest_api/exceptions/contacts_bulk_update429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/contacts_opportunities429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/contacts_search403_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/contacts_search429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/contacts_update_owners422_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/contacts_update_owners429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/contacts_update_stages422_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/contacts_update_stages429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/conversations404_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/conversations422_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/conversations_export404_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/conversations_export422_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/conversations_search403_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/email_accounts429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/emailer_campaigns_abort422_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/emailer_campaigns_abort429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/emailer_campaigns_add_contact_ids429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/emailer_campaigns_approve422_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/emailer_campaigns_approve429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/emailer_campaigns_archive429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/emailer_campaigns_remove_or_stop_contact_ids429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/emailer_campaigns_search429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/emailer_messages429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/emailer_messages_email_send_status404_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/emailer_messages_email_send_status422_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/emailer_messages_email_send_status429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/emailer_messages_search422_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/emailer_messages_search429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/emailer_messages_send_now429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/emailer_schedules429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/fields429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/labels404_error_exception.rb +51 -0
- data/lib/apollo_rest_api/exceptions/labels422_error_exception.rb +53 -0
- data/lib/apollo_rest_api/exceptions/labels429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/labels_add_entity_ids_to_label_names422_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/labels_add_entity_ids_to_label_names429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/labels_remove_entity_ids_from_label_names422_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/labels_remove_entity_ids_from_label_names429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/mixed_companies_search403_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/mixed_companies_search429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/mixed_people_api_search422_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/mixed_people_api_search429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/need_master_api_key_exception.rb +51 -0
- data/lib/apollo_rest_api/exceptions/notes400_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/opportunities404_error_exception.rb +51 -0
- data/lib/apollo_rest_api/exceptions/opportunities422_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/opportunities429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/opportunities_search429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/opportunity_stages429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/organizations_bulk_enrich400_error_exception.rb +58 -0
- data/lib/apollo_rest_api/exceptions/organizations_bulk_enrich429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/organizations_enrich422_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/organizations_enrich429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/organizations_job_postings422_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/organizations_job_postings429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/people_bulk_match429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/people_match429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/reports_sync_report400_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/reports_sync_report429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/sequences404_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/sequences422_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/sequences429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/tasks401_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/tasks422_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/tasks429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/tasks_bulk_create422_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/tasks_bulk_create429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/tasks_complete422_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/tasks_complete429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/tasks_search429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/tasks_skip422_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/tasks_skip429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/typed_custom_fields429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/users_search429_error_exception.rb +46 -0
- data/lib/apollo_rest_api/exceptions/webhook_result404_error_exception.rb +55 -0
- data/lib/apollo_rest_api/http/api_response.rb +19 -0
- data/lib/apollo_rest_api/http/auth/api_key.rb +52 -0
- data/lib/apollo_rest_api/http/auth/bearer_auth.rb +53 -0
- data/lib/apollo_rest_api/http/http_call_back.rb +10 -0
- data/lib/apollo_rest_api/http/http_method_enum.rb +10 -0
- data/lib/apollo_rest_api/http/http_request.rb +10 -0
- data/lib/apollo_rest_api/http/http_response.rb +10 -0
- data/lib/apollo_rest_api/http/proxy_settings.rb +22 -0
- data/lib/apollo_rest_api/logging/configuration/api_logging_configuration.rb +186 -0
- data/lib/apollo_rest_api/logging/sdk_logger.rb +17 -0
- data/lib/apollo_rest_api/models/account.rb +551 -0
- data/lib/apollo_rest_api/models/account1.rb +420 -0
- data/lib/apollo_rest_api/models/account10.rb +595 -0
- data/lib/apollo_rest_api/models/account12.rb +424 -0
- data/lib/apollo_rest_api/models/account14.rb +247 -0
- data/lib/apollo_rest_api/models/account2.rb +420 -0
- data/lib/apollo_rest_api/models/account22.rb +85 -0
- data/lib/apollo_rest_api/models/account3.rb +420 -0
- data/lib/apollo_rest_api/models/account4.rb +474 -0
- data/lib/apollo_rest_api/models/account5.rb +238 -0
- data/lib/apollo_rest_api/models/account6.rb +86 -0
- data/lib/apollo_rest_api/models/account7.rb +95 -0
- data/lib/apollo_rest_api/models/account8.rb +434 -0
- data/lib/apollo_rest_api/models/account9.rb +540 -0
- data/lib/apollo_rest_api/models/account_attribute.rb +116 -0
- data/lib/apollo_rest_api/models/account_rule_config_status.rb +138 -0
- data/lib/apollo_rest_api/models/account_stage.rb +151 -0
- data/lib/apollo_rest_api/models/account_stages_response.rb +85 -0
- data/lib/apollo_rest_api/models/accounts_bulk_create_request.rb +108 -0
- data/lib/apollo_rest_api/models/accounts_bulk_create_response.rb +105 -0
- data/lib/apollo_rest_api/models/accounts_bulk_update_request.rb +139 -0
- data/lib/apollo_rest_api/models/accounts_bulk_update_response.rb +84 -0
- data/lib/apollo_rest_api/models/accounts_request.rb +183 -0
- data/lib/apollo_rest_api/models/accounts_request1.rb +183 -0
- data/lib/apollo_rest_api/models/accounts_response.rb +75 -0
- data/lib/apollo_rest_api/models/accounts_response1.rb +85 -0
- data/lib/apollo_rest_api/models/accounts_search_request.rb +167 -0
- data/lib/apollo_rest_api/models/accounts_search_response.rb +168 -0
- data/lib/apollo_rest_api/models/accounts_update_owners_response.rb +84 -0
- data/lib/apollo_rest_api/models/active.rb +26 -0
- data/lib/apollo_rest_api/models/assistant_setting.rb +397 -0
- data/lib/apollo_rest_api/models/audio_recording.rb +74 -0
- data/lib/apollo_rest_api/models/base_model.rb +110 -0
- data/lib/apollo_rest_api/models/bounced.rb +26 -0
- data/lib/apollo_rest_api/models/breadcrumb.rb +107 -0
- data/lib/apollo_rest_api/models/check_apollo_pricing_plan.rb +75 -0
- data/lib/apollo_rest_api/models/check_the_account_id.rb +75 -0
- data/lib/apollo_rest_api/models/check_the_contact_stage_id.rb +75 -0
- data/lib/apollo_rest_api/models/contact.rb +809 -0
- data/lib/apollo_rest_api/models/contact1.rb +921 -0
- data/lib/apollo_rest_api/models/contact10.rb +465 -0
- data/lib/apollo_rest_api/models/contact11.rb +250 -0
- data/lib/apollo_rest_api/models/contact14.rb +248 -0
- data/lib/apollo_rest_api/models/contact15.rb +166 -0
- data/lib/apollo_rest_api/models/contact2.rb +884 -0
- data/lib/apollo_rest_api/models/contact3.rb +239 -0
- data/lib/apollo_rest_api/models/contact4.rb +105 -0
- data/lib/apollo_rest_api/models/contact5.rb +893 -0
- data/lib/apollo_rest_api/models/contact6.rb +839 -0
- data/lib/apollo_rest_api/models/contact7.rb +95 -0
- data/lib/apollo_rest_api/models/contact8.rb +375 -0
- data/lib/apollo_rest_api/models/contact9.rb +198 -0
- data/lib/apollo_rest_api/models/contact_attribute.rb +179 -0
- data/lib/apollo_rest_api/models/contact_campaign_status.rb +336 -0
- data/lib/apollo_rest_api/models/contact_campaign_status2.rb +163 -0
- data/lib/apollo_rest_api/models/contact_email.rb +167 -0
- data/lib/apollo_rest_api/models/contact_email1.rb +85 -0
- data/lib/apollo_rest_api/models/contact_email2.rb +148 -0
- data/lib/apollo_rest_api/models/contact_statuses.rb +132 -0
- data/lib/apollo_rest_api/models/contacts_bulk_create_request.rb +121 -0
- data/lib/apollo_rest_api/models/contacts_bulk_create_response.rb +106 -0
- data/lib/apollo_rest_api/models/contacts_bulk_update_request.rb +224 -0
- data/lib/apollo_rest_api/models/contacts_bulk_update_response.rb +94 -0
- data/lib/apollo_rest_api/models/contacts_bulk_update_response1.rb +87 -0
- data/lib/apollo_rest_api/models/contacts_opportunities_response.rb +85 -0
- data/lib/apollo_rest_api/models/contacts_request.rb +269 -0
- data/lib/apollo_rest_api/models/contacts_request1.rb +253 -0
- data/lib/apollo_rest_api/models/contacts_response.rb +94 -0
- data/lib/apollo_rest_api/models/contacts_response1.rb +94 -0
- data/lib/apollo_rest_api/models/contacts_response2.rb +75 -0
- data/lib/apollo_rest_api/models/contacts_search_request.rb +166 -0
- data/lib/apollo_rest_api/models/contacts_search_response.rb +168 -0
- data/lib/apollo_rest_api/models/contacts_update_owners_response.rb +84 -0
- data/lib/apollo_rest_api/models/contacts_update_stages_response.rb +84 -0
- data/lib/apollo_rest_api/models/conversation.rb +284 -0
- data/lib/apollo_rest_api/models/conversation_type.rb +36 -0
- data/lib/apollo_rest_api/models/conversation_type2.rb +36 -0
- data/lib/apollo_rest_api/models/conversations_export_request.rb +94 -0
- data/lib/apollo_rest_api/models/conversations_export_response.rb +86 -0
- data/lib/apollo_rest_api/models/conversations_export_response1.rb +76 -0
- data/lib/apollo_rest_api/models/conversations_response.rb +333 -0
- data/lib/apollo_rest_api/models/conversations_search_request.rb +207 -0
- data/lib/apollo_rest_api/models/conversations_search_response.rb +130 -0
- data/lib/apollo_rest_api/models/counts.rb +115 -0
- data/lib/apollo_rest_api/models/created_account.rb +174 -0
- data/lib/apollo_rest_api/models/created_contact.rb +195 -0
- data/lib/apollo_rest_api/models/creation_type.rb +41 -0
- data/lib/apollo_rest_api/models/currency.rb +95 -0
- data/lib/apollo_rest_api/models/current_technology.rb +95 -0
- data/lib/apollo_rest_api/models/date_range.rb +84 -0
- data/lib/apollo_rest_api/models/date_range1.rb +87 -0
- data/lib/apollo_rest_api/models/deal.rb +107 -0
- data/lib/apollo_rest_api/models/deliverability_score.rb +460 -0
- data/lib/apollo_rest_api/models/departmental_head_count.rb +260 -0
- data/lib/apollo_rest_api/models/detail.rb +173 -0
- data/lib/apollo_rest_api/models/detail1.rb +109 -0
- data/lib/apollo_rest_api/models/email_account.rb +616 -0
- data/lib/apollo_rest_api/models/email_accounts_response.rb +85 -0
- data/lib/apollo_rest_api/models/emailer_campaign.rb +722 -0
- data/lib/apollo_rest_api/models/emailer_campaign1.rb +359 -0
- data/lib/apollo_rest_api/models/emailer_campaign2.rb +158 -0
- data/lib/apollo_rest_api/models/emailer_campaign3.rb +95 -0
- data/lib/apollo_rest_api/models/emailer_campaign4.rb +96 -0
- data/lib/apollo_rest_api/models/emailer_campaign6.rb +105 -0
- data/lib/apollo_rest_api/models/emailer_campaigns_abort_response.rb +96 -0
- data/lib/apollo_rest_api/models/emailer_campaigns_add_contact_ids_response.rb +164 -0
- data/lib/apollo_rest_api/models/emailer_campaigns_approve_response.rb +96 -0
- data/lib/apollo_rest_api/models/emailer_campaigns_archive_response.rb +77 -0
- data/lib/apollo_rest_api/models/emailer_campaigns_remove_or_stop_contact_ids_response.rb +77 -0
- data/lib/apollo_rest_api/models/emailer_campaigns_search_response.rb +125 -0
- data/lib/apollo_rest_api/models/emailer_message.rb +676 -0
- data/lib/apollo_rest_api/models/emailer_message1.rb +410 -0
- data/lib/apollo_rest_api/models/emailer_messages_email_send_status_request.rb +74 -0
- data/lib/apollo_rest_api/models/emailer_messages_email_send_status_response.rb +166 -0
- data/lib/apollo_rest_api/models/emailer_messages_request.rb +197 -0
- data/lib/apollo_rest_api/models/emailer_messages_response.rb +77 -0
- data/lib/apollo_rest_api/models/emailer_messages_send_now_request.rb +76 -0
- data/lib/apollo_rest_api/models/emailer_messages_send_now_response.rb +77 -0
- data/lib/apollo_rest_api/models/emailer_schedule.rb +154 -0
- data/lib/apollo_rest_api/models/emailer_schedules_response.rb +85 -0
- data/lib/apollo_rest_api/models/emailer_step.rb +206 -0
- data/lib/apollo_rest_api/models/emailer_step1.rb +189 -0
- data/lib/apollo_rest_api/models/emailer_step2.rb +126 -0
- data/lib/apollo_rest_api/models/emailer_step3.rb +148 -0
- data/lib/apollo_rest_api/models/emailer_step4.rb +85 -0
- data/lib/apollo_rest_api/models/emailer_step5.rb +128 -0
- data/lib/apollo_rest_api/models/emailer_template.rb +100 -0
- data/lib/apollo_rest_api/models/emailer_template1.rb +95 -0
- data/lib/apollo_rest_api/models/emailer_template2.rb +85 -0
- data/lib/apollo_rest_api/models/emailer_touch.rb +254 -0
- data/lib/apollo_rest_api/models/emailer_touch1.rb +128 -0
- data/lib/apollo_rest_api/models/emailer_touch2.rb +117 -0
- data/lib/apollo_rest_api/models/emailer_touch3.rb +139 -0
- data/lib/apollo_rest_api/models/emailer_touch4.rb +85 -0
- data/lib/apollo_rest_api/models/employment_history.rb +238 -0
- data/lib/apollo_rest_api/models/entity_progress_job.rb +153 -0
- data/lib/apollo_rest_api/models/entity_progress_job1.rb +135 -0
- data/lib/apollo_rest_api/models/entity_progress_job2.rb +141 -0
- data/lib/apollo_rest_api/models/error_details.rb +95 -0
- data/lib/apollo_rest_api/models/existing_account.rb +152 -0
- data/lib/apollo_rest_api/models/existing_contact.rb +171 -0
- data/lib/apollo_rest_api/models/faceting.rb +523 -0
- data/lib/apollo_rest_api/models/failure_reason.rb +44 -0
- data/lib/apollo_rest_api/models/field.rb +181 -0
- data/lib/apollo_rest_api/models/fields_request.rb +105 -0
- data/lib/apollo_rest_api/models/fields_response.rb +84 -0
- data/lib/apollo_rest_api/models/fields_response1.rb +85 -0
- data/lib/apollo_rest_api/models/filters.rb +165 -0
- data/lib/apollo_rest_api/models/finished.rb +26 -0
- data/lib/apollo_rest_api/models/funding_event.rb +134 -0
- data/lib/apollo_rest_api/models/generation_option.rb +107 -0
- data/lib/apollo_rest_api/models/generation_tone.rb +86 -0
- data/lib/apollo_rest_api/models/group_by.rb +84 -0
- data/lib/apollo_rest_api/models/industry_tag_hash.rb +83 -0
- data/lib/apollo_rest_api/models/label.rb +135 -0
- data/lib/apollo_rest_api/models/label2.rb +147 -0
- data/lib/apollo_rest_api/models/labels_add_entity_ids_to_label_names_request.rb +113 -0
- data/lib/apollo_rest_api/models/labels_add_entity_ids_to_label_names_response.rb +107 -0
- data/lib/apollo_rest_api/models/labels_remove_entity_ids_from_label_names_request.rb +113 -0
- data/lib/apollo_rest_api/models/labels_remove_entity_ids_from_label_names_response.rb +107 -0
- data/lib/apollo_rest_api/models/labels_request.rb +97 -0
- data/lib/apollo_rest_api/models/labels_request1.rb +87 -0
- data/lib/apollo_rest_api/models/labels_response.rb +201 -0
- data/lib/apollo_rest_api/models/labels_response1.rb +75 -0
- data/lib/apollo_rest_api/models/match.rb +393 -0
- data/lib/apollo_rest_api/models/meta.rb +76 -0
- data/lib/apollo_rest_api/models/metric.rb +117 -0
- data/lib/apollo_rest_api/models/metric1.rb +100 -0
- data/lib/apollo_rest_api/models/mixed_companies_search_response.rb +199 -0
- data/lib/apollo_rest_api/models/mixed_people_api_search_response.rb +95 -0
- data/lib/apollo_rest_api/models/modality.rb +37 -0
- data/lib/apollo_rest_api/models/modality1.rb +37 -0
- data/lib/apollo_rest_api/models/modality3.rb +40 -0
- data/lib/apollo_rest_api/models/note.rb +260 -0
- data/lib/apollo_rest_api/models/notes_response.rb +84 -0
- data/lib/apollo_rest_api/models/opportunities_request.rb +175 -0
- data/lib/apollo_rest_api/models/opportunities_request1.rb +164 -0
- data/lib/apollo_rest_api/models/opportunities_response.rb +76 -0
- data/lib/apollo_rest_api/models/opportunities_response1.rb +76 -0
- data/lib/apollo_rest_api/models/opportunities_response2.rb +76 -0
- data/lib/apollo_rest_api/models/opportunities_search_response.rb +170 -0
- data/lib/apollo_rest_api/models/opportunity.rb +602 -0
- data/lib/apollo_rest_api/models/opportunity1.rb +574 -0
- data/lib/apollo_rest_api/models/opportunity11.rb +217 -0
- data/lib/apollo_rest_api/models/opportunity2.rb +583 -0
- data/lib/apollo_rest_api/models/opportunity3.rb +594 -0
- data/lib/apollo_rest_api/models/opportunity4.rb +574 -0
- data/lib/apollo_rest_api/models/opportunity5.rb +591 -0
- data/lib/apollo_rest_api/models/opportunity_contact_role.rb +95 -0
- data/lib/apollo_rest_api/models/opportunity_contact_role1.rb +135 -0
- data/lib/apollo_rest_api/models/opportunity_stage.rb +210 -0
- data/lib/apollo_rest_api/models/opportunity_stages_response.rb +85 -0
- data/lib/apollo_rest_api/models/organization.rb +659 -0
- data/lib/apollo_rest_api/models/organization1.rb +422 -0
- data/lib/apollo_rest_api/models/organization2.rb +752 -0
- data/lib/apollo_rest_api/models/organization3.rb +600 -0
- data/lib/apollo_rest_api/models/organization4.rb +162 -0
- data/lib/apollo_rest_api/models/organization5.rb +336 -0
- data/lib/apollo_rest_api/models/organization6.rb +264 -0
- data/lib/apollo_rest_api/models/organization7.rb +88 -0
- data/lib/apollo_rest_api/models/organization_job_posting.rb +144 -0
- data/lib/apollo_rest_api/models/organizations_bulk_enrich_request.rb +89 -0
- data/lib/apollo_rest_api/models/organizations_bulk_enrich_response.rb +194 -0
- data/lib/apollo_rest_api/models/organizations_enrich_response.rb +76 -0
- data/lib/apollo_rest_api/models/organizations_job_postings_response.rb +88 -0
- data/lib/apollo_rest_api/models/pagination.rb +105 -0
- data/lib/apollo_rest_api/models/pagination6.rb +105 -0
- data/lib/apollo_rest_api/models/params.rb +116 -0
- data/lib/apollo_rest_api/models/participants.rb +85 -0
- data/lib/apollo_rest_api/models/paused.rb +26 -0
- data/lib/apollo_rest_api/models/people_bulk_match_request.rb +83 -0
- data/lib/apollo_rest_api/models/people_bulk_match_response.rb +180 -0
- data/lib/apollo_rest_api/models/people_match_response.rb +87 -0
- data/lib/apollo_rest_api/models/person.rb +393 -0
- data/lib/apollo_rest_api/models/person1.rb +196 -0
- data/lib/apollo_rest_api/models/phone_call.rb +131 -0
- data/lib/apollo_rest_api/models/phone_number.rb +149 -0
- data/lib/apollo_rest_api/models/phone_number1.rb +149 -0
- data/lib/apollo_rest_api/models/phone_number3.rb +97 -0
- data/lib/apollo_rest_api/models/phone_number4.rb +85 -0
- data/lib/apollo_rest_api/models/phone_number5.rb +127 -0
- data/lib/apollo_rest_api/models/pivot_group_by.rb +85 -0
- data/lib/apollo_rest_api/models/primary_phone.rb +96 -0
- data/lib/apollo_rest_api/models/priority.rb +40 -0
- data/lib/apollo_rest_api/models/recipient.rb +100 -0
- data/lib/apollo_rest_api/models/recipient1.rb +116 -0
- data/lib/apollo_rest_api/models/reports_sync_report_request.rb +253 -0
- data/lib/apollo_rest_api/models/reports_sync_report_response.rb +102 -0
- data/lib/apollo_rest_api/models/request_type.rb +40 -0
- data/lib/apollo_rest_api/models/response.rb +118 -0
- data/lib/apollo_rest_api/models/role.rb +112 -0
- data/lib/apollo_rest_api/models/send_from.rb +116 -0
- data/lib/apollo_rest_api/models/sequences_request.rb +391 -0
- data/lib/apollo_rest_api/models/sequences_request1.rb +206 -0
- data/lib/apollo_rest_api/models/sequences_response.rb +148 -0
- data/lib/apollo_rest_api/models/sequences_response1.rb +203 -0
- data/lib/apollo_rest_api/models/sharing_access.rb +148 -0
- data/lib/apollo_rest_api/models/sharing_permission.rb +154 -0
- data/lib/apollo_rest_api/models/skipped_contact_ids.rb +77 -0
- data/lib/apollo_rest_api/models/smart_datetime_range.rb +86 -0
- data/lib/apollo_rest_api/models/sort.rb +85 -0
- data/lib/apollo_rest_api/models/sort_by_field.rb +43 -0
- data/lib/apollo_rest_api/models/sort_by_field1.rb +36 -0
- data/lib/apollo_rest_api/models/sort_direction.rb +36 -0
- data/lib/apollo_rest_api/models/source.rb +40 -0
- data/lib/apollo_rest_api/models/status.rb +44 -0
- data/lib/apollo_rest_api/models/status2.rb +36 -0
- data/lib/apollo_rest_api/models/status3.rb +40 -0
- data/lib/apollo_rest_api/models/status4.rb +37 -0
- data/lib/apollo_rest_api/models/step.rb +127 -0
- data/lib/apollo_rest_api/models/task.rb +394 -0
- data/lib/apollo_rest_api/models/task2.rb +536 -0
- data/lib/apollo_rest_api/models/task4.rb +524 -0
- data/lib/apollo_rest_api/models/task5.rb +104 -0
- data/lib/apollo_rest_api/models/task_type.rb +95 -0
- data/lib/apollo_rest_api/models/tasks_bulk_create_request.rb +173 -0
- data/lib/apollo_rest_api/models/tasks_bulk_create_response.rb +94 -0
- data/lib/apollo_rest_api/models/tasks_complete_request.rb +75 -0
- data/lib/apollo_rest_api/models/tasks_complete_response.rb +86 -0
- data/lib/apollo_rest_api/models/tasks_request.rb +183 -0
- data/lib/apollo_rest_api/models/tasks_request1.rb +227 -0
- data/lib/apollo_rest_api/models/tasks_response.rb +74 -0
- data/lib/apollo_rest_api/models/tasks_response1.rb +74 -0
- data/lib/apollo_rest_api/models/tasks_search_response.rb +136 -0
- data/lib/apollo_rest_api/models/tasks_skip_request.rb +88 -0
- data/lib/apollo_rest_api/models/tasks_skip_response.rb +74 -0
- data/lib/apollo_rest_api/models/team.rb +87 -0
- data/lib/apollo_rest_api/models/total_facet.rb +95 -0
- data/lib/apollo_rest_api/models/true_warmup_thresholds.rb +106 -0
- data/lib/apollo_rest_api/models/type.rb +44 -0
- data/lib/apollo_rest_api/models/type1.rb +36 -0
- data/lib/apollo_rest_api/models/type2.rb +52 -0
- data/lib/apollo_rest_api/models/typed_custom_fields.rb +111 -0
- data/lib/apollo_rest_api/models/typed_custom_fields6.rb +106 -0
- data/lib/apollo_rest_api/models/typed_custom_fields7.rb +243 -0
- data/lib/apollo_rest_api/models/typed_custom_fields_response.rb +85 -0
- data/lib/apollo_rest_api/models/unique_completed.rb +26 -0
- data/lib/apollo_rest_api/models/unique_scheduled.rb +26 -0
- data/lib/apollo_rest_api/models/unique_skipped.rb +26 -0
- data/lib/apollo_rest_api/models/user.rb +1294 -0
- data/lib/apollo_rest_api/models/users_api_profile_response.rb +309 -0
- data/lib/apollo_rest_api/models/users_search_response.rb +106 -0
- data/lib/apollo_rest_api/models/video_recording.rb +95 -0
- data/lib/apollo_rest_api/models/wait_mode.rb +40 -0
- data/lib/apollo_rest_api/models/webhook_result_response.rb +140 -0
- data/lib/apollo_rest_api/models/webhook_status.rb +40 -0
- data/lib/apollo_rest_api/utilities/date_time_helper.rb +11 -0
- data/lib/apollo_rest_api/utilities/file_wrapper.rb +28 -0
- data/lib/apollo_rest_api/utilities/union_type_lookup.rb +128 -0
- data/lib/apollo_rest_api.rb +503 -0
- metadata +499 -0
|
@@ -0,0 +1,260 @@
|
|
|
1
|
+
# apollo_rest_api
|
|
2
|
+
#
|
|
3
|
+
# This file was automatically generated by APIMATIC v3.0 (
|
|
4
|
+
# https://www.apimatic.io ).
|
|
5
|
+
|
|
6
|
+
module ApolloRestApi
|
|
7
|
+
# DepartmentalHeadCount Model.
|
|
8
|
+
class DepartmentalHeadCount < BaseModel
|
|
9
|
+
SKIP = Object.new
|
|
10
|
+
private_constant :SKIP
|
|
11
|
+
|
|
12
|
+
# TODO: Write general description for this method
|
|
13
|
+
# @return [Integer]
|
|
14
|
+
attr_accessor :engineering
|
|
15
|
+
|
|
16
|
+
# TODO: Write general description for this method
|
|
17
|
+
# @return [Integer]
|
|
18
|
+
attr_accessor :operations
|
|
19
|
+
|
|
20
|
+
# TODO: Write general description for this method
|
|
21
|
+
# @return [Integer]
|
|
22
|
+
attr_accessor :support
|
|
23
|
+
|
|
24
|
+
# TODO: Write general description for this method
|
|
25
|
+
# @return [Integer]
|
|
26
|
+
attr_accessor :marketing
|
|
27
|
+
|
|
28
|
+
# TODO: Write general description for this method
|
|
29
|
+
# @return [Integer]
|
|
30
|
+
attr_accessor :human_resources
|
|
31
|
+
|
|
32
|
+
# TODO: Write general description for this method
|
|
33
|
+
# @return [Integer]
|
|
34
|
+
attr_accessor :sales
|
|
35
|
+
|
|
36
|
+
# TODO: Write general description for this method
|
|
37
|
+
# @return [Integer]
|
|
38
|
+
attr_accessor :finance
|
|
39
|
+
|
|
40
|
+
# TODO: Write general description for this method
|
|
41
|
+
# @return [Integer]
|
|
42
|
+
attr_accessor :consulting
|
|
43
|
+
|
|
44
|
+
# TODO: Write general description for this method
|
|
45
|
+
# @return [Integer]
|
|
46
|
+
attr_accessor :legal
|
|
47
|
+
|
|
48
|
+
# TODO: Write general description for this method
|
|
49
|
+
# @return [Integer]
|
|
50
|
+
attr_accessor :arts_and_design
|
|
51
|
+
|
|
52
|
+
# TODO: Write general description for this method
|
|
53
|
+
# @return [Integer]
|
|
54
|
+
attr_accessor :accounting
|
|
55
|
+
|
|
56
|
+
# TODO: Write general description for this method
|
|
57
|
+
# @return [Integer]
|
|
58
|
+
attr_accessor :business_development
|
|
59
|
+
|
|
60
|
+
# TODO: Write general description for this method
|
|
61
|
+
# @return [Integer]
|
|
62
|
+
attr_accessor :information_technology
|
|
63
|
+
|
|
64
|
+
# TODO: Write general description for this method
|
|
65
|
+
# @return [Integer]
|
|
66
|
+
attr_accessor :education
|
|
67
|
+
|
|
68
|
+
# TODO: Write general description for this method
|
|
69
|
+
# @return [Integer]
|
|
70
|
+
attr_accessor :media_and_commmunication
|
|
71
|
+
|
|
72
|
+
# TODO: Write general description for this method
|
|
73
|
+
# @return [Integer]
|
|
74
|
+
attr_accessor :product_management
|
|
75
|
+
|
|
76
|
+
# TODO: Write general description for this method
|
|
77
|
+
# @return [Integer]
|
|
78
|
+
attr_accessor :entrepreneurship
|
|
79
|
+
|
|
80
|
+
# TODO: Write general description for this method
|
|
81
|
+
# @return [Integer]
|
|
82
|
+
attr_accessor :data_science
|
|
83
|
+
|
|
84
|
+
# TODO: Write general description for this method
|
|
85
|
+
# @return [Integer]
|
|
86
|
+
attr_accessor :administrative
|
|
87
|
+
|
|
88
|
+
# A mapping from model property names to API property names.
|
|
89
|
+
def self.names
|
|
90
|
+
@_hash = {} if @_hash.nil?
|
|
91
|
+
@_hash['engineering'] = 'engineering'
|
|
92
|
+
@_hash['operations'] = 'operations'
|
|
93
|
+
@_hash['support'] = 'support'
|
|
94
|
+
@_hash['marketing'] = 'marketing'
|
|
95
|
+
@_hash['human_resources'] = 'human_resources'
|
|
96
|
+
@_hash['sales'] = 'sales'
|
|
97
|
+
@_hash['finance'] = 'finance'
|
|
98
|
+
@_hash['consulting'] = 'consulting'
|
|
99
|
+
@_hash['legal'] = 'legal'
|
|
100
|
+
@_hash['arts_and_design'] = 'arts_and_design'
|
|
101
|
+
@_hash['accounting'] = 'accounting'
|
|
102
|
+
@_hash['business_development'] = 'business_development'
|
|
103
|
+
@_hash['information_technology'] = 'information_technology'
|
|
104
|
+
@_hash['education'] = 'education'
|
|
105
|
+
@_hash['media_and_commmunication'] = 'media_and_commmunication'
|
|
106
|
+
@_hash['product_management'] = 'product_management'
|
|
107
|
+
@_hash['entrepreneurship'] = 'entrepreneurship'
|
|
108
|
+
@_hash['data_science'] = 'data_science'
|
|
109
|
+
@_hash['administrative'] = 'administrative'
|
|
110
|
+
@_hash
|
|
111
|
+
end
|
|
112
|
+
|
|
113
|
+
# An array for optional fields
|
|
114
|
+
def self.optionals
|
|
115
|
+
%w[
|
|
116
|
+
engineering
|
|
117
|
+
operations
|
|
118
|
+
support
|
|
119
|
+
marketing
|
|
120
|
+
human_resources
|
|
121
|
+
sales
|
|
122
|
+
finance
|
|
123
|
+
consulting
|
|
124
|
+
legal
|
|
125
|
+
arts_and_design
|
|
126
|
+
accounting
|
|
127
|
+
business_development
|
|
128
|
+
information_technology
|
|
129
|
+
education
|
|
130
|
+
media_and_commmunication
|
|
131
|
+
product_management
|
|
132
|
+
entrepreneurship
|
|
133
|
+
data_science
|
|
134
|
+
administrative
|
|
135
|
+
]
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
# An array for nullable fields
|
|
139
|
+
def self.nullables
|
|
140
|
+
[]
|
|
141
|
+
end
|
|
142
|
+
|
|
143
|
+
def initialize(engineering: 0, operations: 0, support: 0, marketing: 0,
|
|
144
|
+
human_resources: 0, sales: 0, finance: 0, consulting: 0,
|
|
145
|
+
legal: 0, arts_and_design: 0, accounting: 0,
|
|
146
|
+
business_development: 0, information_technology: 0,
|
|
147
|
+
education: 0, media_and_commmunication: 0,
|
|
148
|
+
product_management: 0, entrepreneurship: 0, data_science: 0,
|
|
149
|
+
administrative: 0, additional_properties: nil)
|
|
150
|
+
# Add additional model properties to the instance
|
|
151
|
+
additional_properties = {} if additional_properties.nil?
|
|
152
|
+
|
|
153
|
+
@engineering = engineering unless engineering == SKIP
|
|
154
|
+
@operations = operations unless operations == SKIP
|
|
155
|
+
@support = support unless support == SKIP
|
|
156
|
+
@marketing = marketing unless marketing == SKIP
|
|
157
|
+
@human_resources = human_resources unless human_resources == SKIP
|
|
158
|
+
@sales = sales unless sales == SKIP
|
|
159
|
+
@finance = finance unless finance == SKIP
|
|
160
|
+
@consulting = consulting unless consulting == SKIP
|
|
161
|
+
@legal = legal unless legal == SKIP
|
|
162
|
+
@arts_and_design = arts_and_design unless arts_and_design == SKIP
|
|
163
|
+
@accounting = accounting unless accounting == SKIP
|
|
164
|
+
@business_development = business_development unless business_development == SKIP
|
|
165
|
+
@information_technology = information_technology unless information_technology == SKIP
|
|
166
|
+
@education = education unless education == SKIP
|
|
167
|
+
@media_and_commmunication = media_and_commmunication unless media_and_commmunication == SKIP
|
|
168
|
+
@product_management = product_management unless product_management == SKIP
|
|
169
|
+
@entrepreneurship = entrepreneurship unless entrepreneurship == SKIP
|
|
170
|
+
@data_science = data_science unless data_science == SKIP
|
|
171
|
+
@administrative = administrative unless administrative == SKIP
|
|
172
|
+
@additional_properties = additional_properties
|
|
173
|
+
end
|
|
174
|
+
|
|
175
|
+
# Creates an instance of the object from a hash.
|
|
176
|
+
def self.from_hash(hash)
|
|
177
|
+
return nil unless hash
|
|
178
|
+
|
|
179
|
+
# Extract variables from the hash.
|
|
180
|
+
engineering = hash['engineering'] ||= 0
|
|
181
|
+
operations = hash['operations'] ||= 0
|
|
182
|
+
support = hash['support'] ||= 0
|
|
183
|
+
marketing = hash['marketing'] ||= 0
|
|
184
|
+
human_resources = hash['human_resources'] ||= 0
|
|
185
|
+
sales = hash['sales'] ||= 0
|
|
186
|
+
finance = hash['finance'] ||= 0
|
|
187
|
+
consulting = hash['consulting'] ||= 0
|
|
188
|
+
legal = hash['legal'] ||= 0
|
|
189
|
+
arts_and_design = hash['arts_and_design'] ||= 0
|
|
190
|
+
accounting = hash['accounting'] ||= 0
|
|
191
|
+
business_development = hash['business_development'] ||= 0
|
|
192
|
+
information_technology = hash['information_technology'] ||= 0
|
|
193
|
+
education = hash['education'] ||= 0
|
|
194
|
+
media_and_commmunication = hash['media_and_commmunication'] ||= 0
|
|
195
|
+
product_management = hash['product_management'] ||= 0
|
|
196
|
+
entrepreneurship = hash['entrepreneurship'] ||= 0
|
|
197
|
+
data_science = hash['data_science'] ||= 0
|
|
198
|
+
administrative = hash['administrative'] ||= 0
|
|
199
|
+
|
|
200
|
+
# Create a new hash for additional properties, removing known properties.
|
|
201
|
+
new_hash = hash.reject { |k, _| names.value?(k) }
|
|
202
|
+
|
|
203
|
+
additional_properties = APIHelper.get_additional_properties(
|
|
204
|
+
new_hash, proc { |value| value }
|
|
205
|
+
)
|
|
206
|
+
|
|
207
|
+
# Create object from extracted values.
|
|
208
|
+
DepartmentalHeadCount.new(engineering: engineering,
|
|
209
|
+
operations: operations,
|
|
210
|
+
support: support,
|
|
211
|
+
marketing: marketing,
|
|
212
|
+
human_resources: human_resources,
|
|
213
|
+
sales: sales,
|
|
214
|
+
finance: finance,
|
|
215
|
+
consulting: consulting,
|
|
216
|
+
legal: legal,
|
|
217
|
+
arts_and_design: arts_and_design,
|
|
218
|
+
accounting: accounting,
|
|
219
|
+
business_development: business_development,
|
|
220
|
+
information_technology: information_technology,
|
|
221
|
+
education: education,
|
|
222
|
+
media_and_commmunication: media_and_commmunication,
|
|
223
|
+
product_management: product_management,
|
|
224
|
+
entrepreneurship: entrepreneurship,
|
|
225
|
+
data_science: data_science,
|
|
226
|
+
administrative: administrative,
|
|
227
|
+
additional_properties: additional_properties)
|
|
228
|
+
end
|
|
229
|
+
|
|
230
|
+
# Provides a human-readable string representation of the object.
|
|
231
|
+
def to_s
|
|
232
|
+
class_name = self.class.name.split('::').last
|
|
233
|
+
"<#{class_name} engineering: #{@engineering}, operations: #{@operations}, support:"\
|
|
234
|
+
" #{@support}, marketing: #{@marketing}, human_resources: #{@human_resources}, sales:"\
|
|
235
|
+
" #{@sales}, finance: #{@finance}, consulting: #{@consulting}, legal: #{@legal},"\
|
|
236
|
+
" arts_and_design: #{@arts_and_design}, accounting: #{@accounting}, business_development:"\
|
|
237
|
+
" #{@business_development}, information_technology: #{@information_technology}, education:"\
|
|
238
|
+
" #{@education}, media_and_commmunication: #{@media_and_commmunication}, product_management:"\
|
|
239
|
+
" #{@product_management}, entrepreneurship: #{@entrepreneurship}, data_science:"\
|
|
240
|
+
" #{@data_science}, administrative: #{@administrative}, additional_properties:"\
|
|
241
|
+
" #{@additional_properties}>"
|
|
242
|
+
end
|
|
243
|
+
|
|
244
|
+
# Provides a debugging-friendly string with detailed object information.
|
|
245
|
+
def inspect
|
|
246
|
+
class_name = self.class.name.split('::').last
|
|
247
|
+
"<#{class_name} engineering: #{@engineering.inspect}, operations: #{@operations.inspect},"\
|
|
248
|
+
" support: #{@support.inspect}, marketing: #{@marketing.inspect}, human_resources:"\
|
|
249
|
+
" #{@human_resources.inspect}, sales: #{@sales.inspect}, finance: #{@finance.inspect},"\
|
|
250
|
+
" consulting: #{@consulting.inspect}, legal: #{@legal.inspect}, arts_and_design:"\
|
|
251
|
+
" #{@arts_and_design.inspect}, accounting: #{@accounting.inspect}, business_development:"\
|
|
252
|
+
" #{@business_development.inspect}, information_technology:"\
|
|
253
|
+
" #{@information_technology.inspect}, education: #{@education.inspect},"\
|
|
254
|
+
" media_and_commmunication: #{@media_and_commmunication.inspect}, product_management:"\
|
|
255
|
+
" #{@product_management.inspect}, entrepreneurship: #{@entrepreneurship.inspect},"\
|
|
256
|
+
" data_science: #{@data_science.inspect}, administrative: #{@administrative.inspect},"\
|
|
257
|
+
" additional_properties: #{@additional_properties}>"
|
|
258
|
+
end
|
|
259
|
+
end
|
|
260
|
+
end
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
# apollo_rest_api
|
|
2
|
+
#
|
|
3
|
+
# This file was automatically generated by APIMATIC v3.0 (
|
|
4
|
+
# https://www.apimatic.io ).
|
|
5
|
+
|
|
6
|
+
module ApolloRestApi
|
|
7
|
+
# Detail Model.
|
|
8
|
+
class Detail < BaseModel
|
|
9
|
+
SKIP = Object.new
|
|
10
|
+
private_constant :SKIP
|
|
11
|
+
|
|
12
|
+
# The first name of the person. This is typically used in combination with
|
|
13
|
+
# the `last_name` parameter. <br><br>Example: `tim`
|
|
14
|
+
# @return [String]
|
|
15
|
+
attr_accessor :first_name
|
|
16
|
+
|
|
17
|
+
# The last name of the person. This is typically used in combination with
|
|
18
|
+
# the `first_name` parameter. <br><br>Example: `zheng`
|
|
19
|
+
# @return [String]
|
|
20
|
+
attr_accessor :last_name
|
|
21
|
+
|
|
22
|
+
# The full name of the person. This will typically be a first name and last
|
|
23
|
+
# name separated by a space. If you use this parameter, you do not need to
|
|
24
|
+
# use the `first_name` and `last_name` parameters. <br><br>Example: `tim
|
|
25
|
+
# zheng`
|
|
26
|
+
# @return [String]
|
|
27
|
+
attr_accessor :name
|
|
28
|
+
|
|
29
|
+
# The email address of the person. <br><br>Example: `example@email.com`
|
|
30
|
+
# @return [String]
|
|
31
|
+
attr_accessor :email
|
|
32
|
+
|
|
33
|
+
# The hashed email of the person. The email should adhere to either the MD5
|
|
34
|
+
# or SHA-256 hash format. <br><br>Example:
|
|
35
|
+
# `8d935115b9ff4489f2d1f9249503cadf` (MD5) or
|
|
36
|
+
# `97817c0c49994eb500ad0a5e7e2d8aed51977b26424d508f66e4e8887746a152`
|
|
37
|
+
# (SHA-256)
|
|
38
|
+
# @return [String]
|
|
39
|
+
attr_accessor :hashed_email
|
|
40
|
+
|
|
41
|
+
# The name of the person's employer. This can be the current employer or a
|
|
42
|
+
# previous employer. <br><br>Example: `apollo`
|
|
43
|
+
# @return [String]
|
|
44
|
+
attr_accessor :organization_name
|
|
45
|
+
|
|
46
|
+
# The domain name for the person's employer. This can be the current
|
|
47
|
+
# employer or a previous employer. Do not include `www.`, the `@` symbol, or
|
|
48
|
+
# similar. <br><br>Example: `apollo.io` or `microsoft.com`
|
|
49
|
+
# @return [String]
|
|
50
|
+
attr_accessor :domain
|
|
51
|
+
|
|
52
|
+
# The Apollo ID for the person. Each person in the Apollo database is
|
|
53
|
+
# assigned a unique ID. <br><br>To find IDs, call the <a
|
|
54
|
+
# href="https://docs.apollo.io/reference/people-api-search"
|
|
55
|
+
# target="_blank">People API Search endpoint</a> and identify the values for
|
|
56
|
+
# `person_id`. <br><br>Example: `587cf802f65125cad923a266`
|
|
57
|
+
# @return [String]
|
|
58
|
+
attr_accessor :id
|
|
59
|
+
|
|
60
|
+
# The URL for the person's LinkedIn profile. <br><br>Example:
|
|
61
|
+
# `http://www.linkedin.com/in/tim-zheng-677ba010`
|
|
62
|
+
# @return [String]
|
|
63
|
+
attr_accessor :linkedin_url
|
|
64
|
+
|
|
65
|
+
# A mapping from model property names to API property names.
|
|
66
|
+
def self.names
|
|
67
|
+
@_hash = {} if @_hash.nil?
|
|
68
|
+
@_hash['first_name'] = 'first_name'
|
|
69
|
+
@_hash['last_name'] = 'last_name'
|
|
70
|
+
@_hash['name'] = 'name'
|
|
71
|
+
@_hash['email'] = 'email'
|
|
72
|
+
@_hash['hashed_email'] = 'hashed_email'
|
|
73
|
+
@_hash['organization_name'] = 'organization_name'
|
|
74
|
+
@_hash['domain'] = 'domain'
|
|
75
|
+
@_hash['id'] = 'id'
|
|
76
|
+
@_hash['linkedin_url'] = 'linkedin_url'
|
|
77
|
+
@_hash
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
# An array for optional fields
|
|
81
|
+
def self.optionals
|
|
82
|
+
%w[
|
|
83
|
+
first_name
|
|
84
|
+
last_name
|
|
85
|
+
name
|
|
86
|
+
email
|
|
87
|
+
hashed_email
|
|
88
|
+
organization_name
|
|
89
|
+
domain
|
|
90
|
+
id
|
|
91
|
+
linkedin_url
|
|
92
|
+
]
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
# An array for nullable fields
|
|
96
|
+
def self.nullables
|
|
97
|
+
[]
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
def initialize(first_name: SKIP, last_name: SKIP, name: SKIP, email: SKIP,
|
|
101
|
+
hashed_email: SKIP, organization_name: SKIP, domain: SKIP,
|
|
102
|
+
id: SKIP, linkedin_url: SKIP, additional_properties: nil)
|
|
103
|
+
# Add additional model properties to the instance
|
|
104
|
+
additional_properties = {} if additional_properties.nil?
|
|
105
|
+
|
|
106
|
+
@first_name = first_name unless first_name == SKIP
|
|
107
|
+
@last_name = last_name unless last_name == SKIP
|
|
108
|
+
@name = name unless name == SKIP
|
|
109
|
+
@email = email unless email == SKIP
|
|
110
|
+
@hashed_email = hashed_email unless hashed_email == SKIP
|
|
111
|
+
@organization_name = organization_name unless organization_name == SKIP
|
|
112
|
+
@domain = domain unless domain == SKIP
|
|
113
|
+
@id = id unless id == SKIP
|
|
114
|
+
@linkedin_url = linkedin_url unless linkedin_url == SKIP
|
|
115
|
+
@additional_properties = additional_properties
|
|
116
|
+
end
|
|
117
|
+
|
|
118
|
+
# Creates an instance of the object from a hash.
|
|
119
|
+
def self.from_hash(hash)
|
|
120
|
+
return nil unless hash
|
|
121
|
+
|
|
122
|
+
# Extract variables from the hash.
|
|
123
|
+
first_name = hash.key?('first_name') ? hash['first_name'] : SKIP
|
|
124
|
+
last_name = hash.key?('last_name') ? hash['last_name'] : SKIP
|
|
125
|
+
name = hash.key?('name') ? hash['name'] : SKIP
|
|
126
|
+
email = hash.key?('email') ? hash['email'] : SKIP
|
|
127
|
+
hashed_email = hash.key?('hashed_email') ? hash['hashed_email'] : SKIP
|
|
128
|
+
organization_name =
|
|
129
|
+
hash.key?('organization_name') ? hash['organization_name'] : SKIP
|
|
130
|
+
domain = hash.key?('domain') ? hash['domain'] : SKIP
|
|
131
|
+
id = hash.key?('id') ? hash['id'] : SKIP
|
|
132
|
+
linkedin_url = hash.key?('linkedin_url') ? hash['linkedin_url'] : SKIP
|
|
133
|
+
|
|
134
|
+
# Create a new hash for additional properties, removing known properties.
|
|
135
|
+
new_hash = hash.reject { |k, _| names.value?(k) }
|
|
136
|
+
|
|
137
|
+
additional_properties = APIHelper.get_additional_properties(
|
|
138
|
+
new_hash, proc { |value| value }
|
|
139
|
+
)
|
|
140
|
+
|
|
141
|
+
# Create object from extracted values.
|
|
142
|
+
Detail.new(first_name: first_name,
|
|
143
|
+
last_name: last_name,
|
|
144
|
+
name: name,
|
|
145
|
+
email: email,
|
|
146
|
+
hashed_email: hashed_email,
|
|
147
|
+
organization_name: organization_name,
|
|
148
|
+
domain: domain,
|
|
149
|
+
id: id,
|
|
150
|
+
linkedin_url: linkedin_url,
|
|
151
|
+
additional_properties: additional_properties)
|
|
152
|
+
end
|
|
153
|
+
|
|
154
|
+
# Provides a human-readable string representation of the object.
|
|
155
|
+
def to_s
|
|
156
|
+
class_name = self.class.name.split('::').last
|
|
157
|
+
"<#{class_name} first_name: #{@first_name}, last_name: #{@last_name}, name: #{@name},"\
|
|
158
|
+
" email: #{@email}, hashed_email: #{@hashed_email}, organization_name:"\
|
|
159
|
+
" #{@organization_name}, domain: #{@domain}, id: #{@id}, linkedin_url: #{@linkedin_url},"\
|
|
160
|
+
" additional_properties: #{@additional_properties}>"
|
|
161
|
+
end
|
|
162
|
+
|
|
163
|
+
# Provides a debugging-friendly string with detailed object information.
|
|
164
|
+
def inspect
|
|
165
|
+
class_name = self.class.name.split('::').last
|
|
166
|
+
"<#{class_name} first_name: #{@first_name.inspect}, last_name: #{@last_name.inspect}, name:"\
|
|
167
|
+
" #{@name.inspect}, email: #{@email.inspect}, hashed_email: #{@hashed_email.inspect},"\
|
|
168
|
+
" organization_name: #{@organization_name.inspect}, domain: #{@domain.inspect}, id:"\
|
|
169
|
+
" #{@id.inspect}, linkedin_url: #{@linkedin_url.inspect}, additional_properties:"\
|
|
170
|
+
" #{@additional_properties}>"
|
|
171
|
+
end
|
|
172
|
+
end
|
|
173
|
+
end
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
# apollo_rest_api
|
|
2
|
+
#
|
|
3
|
+
# This file was automatically generated by APIMATIC v3.0 (
|
|
4
|
+
# https://www.apimatic.io ).
|
|
5
|
+
|
|
6
|
+
module ApolloRestApi
|
|
7
|
+
# Detail1 Model.
|
|
8
|
+
class Detail1 < BaseModel
|
|
9
|
+
SKIP = Object.new
|
|
10
|
+
private_constant :SKIP
|
|
11
|
+
|
|
12
|
+
# The domain of the company that you want to enrich. Do not include `www.`,
|
|
13
|
+
# the `@` symbol, or similar. <br><br>Example: `apollo.io` or
|
|
14
|
+
# `microsoft.com`
|
|
15
|
+
# @return [String]
|
|
16
|
+
attr_accessor :domain
|
|
17
|
+
|
|
18
|
+
# The URL for the company's LinkedIn profile. <br><br>Example:
|
|
19
|
+
# `http://www.linkedin.com/company/apolloio`
|
|
20
|
+
# @return [String]
|
|
21
|
+
attr_accessor :linkedin_url
|
|
22
|
+
|
|
23
|
+
# The name of the company that you want to enrich. <br><br>Example: `apollo`
|
|
24
|
+
# @return [String]
|
|
25
|
+
attr_accessor :name
|
|
26
|
+
|
|
27
|
+
# The full website URL of the company that you want to enrich.
|
|
28
|
+
# <br><br>Example: `http://www.apollo.io`
|
|
29
|
+
# @return [String]
|
|
30
|
+
attr_accessor :website
|
|
31
|
+
|
|
32
|
+
# A mapping from model property names to API property names.
|
|
33
|
+
def self.names
|
|
34
|
+
@_hash = {} if @_hash.nil?
|
|
35
|
+
@_hash['domain'] = 'domain'
|
|
36
|
+
@_hash['linkedin_url'] = 'linkedin_url'
|
|
37
|
+
@_hash['name'] = 'name'
|
|
38
|
+
@_hash['website'] = 'website'
|
|
39
|
+
@_hash
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
# An array for optional fields
|
|
43
|
+
def self.optionals
|
|
44
|
+
%w[
|
|
45
|
+
domain
|
|
46
|
+
linkedin_url
|
|
47
|
+
name
|
|
48
|
+
website
|
|
49
|
+
]
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
# An array for nullable fields
|
|
53
|
+
def self.nullables
|
|
54
|
+
[]
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
def initialize(domain: SKIP, linkedin_url: SKIP, name: SKIP, website: SKIP,
|
|
58
|
+
additional_properties: nil)
|
|
59
|
+
# Add additional model properties to the instance
|
|
60
|
+
additional_properties = {} if additional_properties.nil?
|
|
61
|
+
|
|
62
|
+
@domain = domain unless domain == SKIP
|
|
63
|
+
@linkedin_url = linkedin_url unless linkedin_url == SKIP
|
|
64
|
+
@name = name unless name == SKIP
|
|
65
|
+
@website = website unless website == SKIP
|
|
66
|
+
@additional_properties = additional_properties
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
# Creates an instance of the object from a hash.
|
|
70
|
+
def self.from_hash(hash)
|
|
71
|
+
return nil unless hash
|
|
72
|
+
|
|
73
|
+
# Extract variables from the hash.
|
|
74
|
+
domain = hash.key?('domain') ? hash['domain'] : SKIP
|
|
75
|
+
linkedin_url = hash.key?('linkedin_url') ? hash['linkedin_url'] : SKIP
|
|
76
|
+
name = hash.key?('name') ? hash['name'] : SKIP
|
|
77
|
+
website = hash.key?('website') ? hash['website'] : SKIP
|
|
78
|
+
|
|
79
|
+
# Create a new hash for additional properties, removing known properties.
|
|
80
|
+
new_hash = hash.reject { |k, _| names.value?(k) }
|
|
81
|
+
|
|
82
|
+
additional_properties = APIHelper.get_additional_properties(
|
|
83
|
+
new_hash, proc { |value| value }
|
|
84
|
+
)
|
|
85
|
+
|
|
86
|
+
# Create object from extracted values.
|
|
87
|
+
Detail1.new(domain: domain,
|
|
88
|
+
linkedin_url: linkedin_url,
|
|
89
|
+
name: name,
|
|
90
|
+
website: website,
|
|
91
|
+
additional_properties: additional_properties)
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
# Provides a human-readable string representation of the object.
|
|
95
|
+
def to_s
|
|
96
|
+
class_name = self.class.name.split('::').last
|
|
97
|
+
"<#{class_name} domain: #{@domain}, linkedin_url: #{@linkedin_url}, name: #{@name},"\
|
|
98
|
+
" website: #{@website}, additional_properties: #{@additional_properties}>"
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
# Provides a debugging-friendly string with detailed object information.
|
|
102
|
+
def inspect
|
|
103
|
+
class_name = self.class.name.split('::').last
|
|
104
|
+
"<#{class_name} domain: #{@domain.inspect}, linkedin_url: #{@linkedin_url.inspect}, name:"\
|
|
105
|
+
" #{@name.inspect}, website: #{@website.inspect}, additional_properties:"\
|
|
106
|
+
" #{@additional_properties}>"
|
|
107
|
+
end
|
|
108
|
+
end
|
|
109
|
+
end
|