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,139 @@
|
|
|
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
|
+
# AccountsBulkUpdateRequest Model.
|
|
8
|
+
class AccountsBulkUpdateRequest < BaseModel
|
|
9
|
+
SKIP = Object.new
|
|
10
|
+
private_constant :SKIP
|
|
11
|
+
|
|
12
|
+
# Array of account IDs to update with the same values. Use this for applying
|
|
13
|
+
# the same updates to multiple accounts.
|
|
14
|
+
# @return [Array[String]]
|
|
15
|
+
attr_accessor :account_ids
|
|
16
|
+
|
|
17
|
+
# Array of account objects with individual updates. Use this for applying
|
|
18
|
+
# different updates to each account.
|
|
19
|
+
# @return [Array[AccountAttribute]]
|
|
20
|
+
attr_accessor :account_attributes
|
|
21
|
+
|
|
22
|
+
# When using account_ids, apply this name to all accounts
|
|
23
|
+
# @return [String]
|
|
24
|
+
attr_accessor :name
|
|
25
|
+
|
|
26
|
+
# When using account_ids, apply this owner to all accounts
|
|
27
|
+
# @return [String]
|
|
28
|
+
attr_accessor :owner_id
|
|
29
|
+
|
|
30
|
+
# When using account_ids, apply this account stage to all accounts
|
|
31
|
+
# @return [String]
|
|
32
|
+
attr_accessor :account_stage_id
|
|
33
|
+
|
|
34
|
+
# Set to true to process updates asynchronously. Only available when using
|
|
35
|
+
# account_ids. Not supported with account_attributes.
|
|
36
|
+
# @return [TrueClass | FalseClass]
|
|
37
|
+
attr_accessor :async
|
|
38
|
+
|
|
39
|
+
# A mapping from model property names to API property names.
|
|
40
|
+
def self.names
|
|
41
|
+
@_hash = {} if @_hash.nil?
|
|
42
|
+
@_hash['account_ids'] = 'account_ids'
|
|
43
|
+
@_hash['account_attributes'] = 'account_attributes'
|
|
44
|
+
@_hash['name'] = 'name'
|
|
45
|
+
@_hash['owner_id'] = 'owner_id'
|
|
46
|
+
@_hash['account_stage_id'] = 'account_stage_id'
|
|
47
|
+
@_hash['async'] = 'async'
|
|
48
|
+
@_hash
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
# An array for optional fields
|
|
52
|
+
def self.optionals
|
|
53
|
+
%w[
|
|
54
|
+
account_ids
|
|
55
|
+
account_attributes
|
|
56
|
+
name
|
|
57
|
+
owner_id
|
|
58
|
+
account_stage_id
|
|
59
|
+
async
|
|
60
|
+
]
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
# An array for nullable fields
|
|
64
|
+
def self.nullables
|
|
65
|
+
[]
|
|
66
|
+
end
|
|
67
|
+
|
|
68
|
+
def initialize(account_ids: SKIP, account_attributes: SKIP, name: SKIP,
|
|
69
|
+
owner_id: SKIP, account_stage_id: SKIP, async: SKIP,
|
|
70
|
+
additional_properties: nil)
|
|
71
|
+
# Add additional model properties to the instance
|
|
72
|
+
additional_properties = {} if additional_properties.nil?
|
|
73
|
+
|
|
74
|
+
@account_ids = account_ids unless account_ids == SKIP
|
|
75
|
+
@account_attributes = account_attributes unless account_attributes == SKIP
|
|
76
|
+
@name = name unless name == SKIP
|
|
77
|
+
@owner_id = owner_id unless owner_id == SKIP
|
|
78
|
+
@account_stage_id = account_stage_id unless account_stage_id == SKIP
|
|
79
|
+
@async = async unless async == SKIP
|
|
80
|
+
@additional_properties = additional_properties
|
|
81
|
+
end
|
|
82
|
+
|
|
83
|
+
# Creates an instance of the object from a hash.
|
|
84
|
+
def self.from_hash(hash)
|
|
85
|
+
return nil unless hash
|
|
86
|
+
|
|
87
|
+
# Extract variables from the hash.
|
|
88
|
+
account_ids = hash.key?('account_ids') ? hash['account_ids'] : SKIP
|
|
89
|
+
# Parameter is an array, so we need to iterate through it
|
|
90
|
+
account_attributes = nil
|
|
91
|
+
unless hash['account_attributes'].nil?
|
|
92
|
+
account_attributes = []
|
|
93
|
+
hash['account_attributes'].each do |structure|
|
|
94
|
+
account_attributes << (AccountAttribute.from_hash(structure) if structure)
|
|
95
|
+
end
|
|
96
|
+
end
|
|
97
|
+
|
|
98
|
+
account_attributes = SKIP unless hash.key?('account_attributes')
|
|
99
|
+
name = hash.key?('name') ? hash['name'] : SKIP
|
|
100
|
+
owner_id = hash.key?('owner_id') ? hash['owner_id'] : SKIP
|
|
101
|
+
account_stage_id =
|
|
102
|
+
hash.key?('account_stage_id') ? hash['account_stage_id'] : SKIP
|
|
103
|
+
async = hash.key?('async') ? hash['async'] : SKIP
|
|
104
|
+
|
|
105
|
+
# Create a new hash for additional properties, removing known properties.
|
|
106
|
+
new_hash = hash.reject { |k, _| names.value?(k) }
|
|
107
|
+
|
|
108
|
+
additional_properties = APIHelper.get_additional_properties(
|
|
109
|
+
new_hash, proc { |value| value }
|
|
110
|
+
)
|
|
111
|
+
|
|
112
|
+
# Create object from extracted values.
|
|
113
|
+
AccountsBulkUpdateRequest.new(account_ids: account_ids,
|
|
114
|
+
account_attributes: account_attributes,
|
|
115
|
+
name: name,
|
|
116
|
+
owner_id: owner_id,
|
|
117
|
+
account_stage_id: account_stage_id,
|
|
118
|
+
async: async,
|
|
119
|
+
additional_properties: additional_properties)
|
|
120
|
+
end
|
|
121
|
+
|
|
122
|
+
# Provides a human-readable string representation of the object.
|
|
123
|
+
def to_s
|
|
124
|
+
class_name = self.class.name.split('::').last
|
|
125
|
+
"<#{class_name} account_ids: #{@account_ids}, account_attributes: #{@account_attributes},"\
|
|
126
|
+
" name: #{@name}, owner_id: #{@owner_id}, account_stage_id: #{@account_stage_id}, async:"\
|
|
127
|
+
" #{@async}, additional_properties: #{@additional_properties}>"
|
|
128
|
+
end
|
|
129
|
+
|
|
130
|
+
# Provides a debugging-friendly string with detailed object information.
|
|
131
|
+
def inspect
|
|
132
|
+
class_name = self.class.name.split('::').last
|
|
133
|
+
"<#{class_name} account_ids: #{@account_ids.inspect}, account_attributes:"\
|
|
134
|
+
" #{@account_attributes.inspect}, name: #{@name.inspect}, owner_id: #{@owner_id.inspect},"\
|
|
135
|
+
" account_stage_id: #{@account_stage_id.inspect}, async: #{@async.inspect},"\
|
|
136
|
+
" additional_properties: #{@additional_properties}>"
|
|
137
|
+
end
|
|
138
|
+
end
|
|
139
|
+
end
|
|
@@ -0,0 +1,84 @@
|
|
|
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
|
+
# AccountsBulkUpdateResponse Model.
|
|
8
|
+
class AccountsBulkUpdateResponse < BaseModel
|
|
9
|
+
SKIP = Object.new
|
|
10
|
+
private_constant :SKIP
|
|
11
|
+
|
|
12
|
+
# TODO: Write general description for this method
|
|
13
|
+
# @return [Array[Account6]]
|
|
14
|
+
attr_accessor :accounts
|
|
15
|
+
|
|
16
|
+
# A mapping from model property names to API property names.
|
|
17
|
+
def self.names
|
|
18
|
+
@_hash = {} if @_hash.nil?
|
|
19
|
+
@_hash['accounts'] = 'accounts'
|
|
20
|
+
@_hash
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
# An array for optional fields
|
|
24
|
+
def self.optionals
|
|
25
|
+
%w[
|
|
26
|
+
accounts
|
|
27
|
+
]
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
# An array for nullable fields
|
|
31
|
+
def self.nullables
|
|
32
|
+
[]
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
def initialize(accounts: SKIP, additional_properties: nil)
|
|
36
|
+
# Add additional model properties to the instance
|
|
37
|
+
additional_properties = {} if additional_properties.nil?
|
|
38
|
+
|
|
39
|
+
@accounts = accounts unless accounts == SKIP
|
|
40
|
+
@additional_properties = additional_properties
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
# Creates an instance of the object from a hash.
|
|
44
|
+
def self.from_hash(hash)
|
|
45
|
+
return nil unless hash
|
|
46
|
+
|
|
47
|
+
# Extract variables from the hash.
|
|
48
|
+
# Parameter is an array, so we need to iterate through it
|
|
49
|
+
accounts = nil
|
|
50
|
+
unless hash['accounts'].nil?
|
|
51
|
+
accounts = []
|
|
52
|
+
hash['accounts'].each do |structure|
|
|
53
|
+
accounts << (Account6.from_hash(structure) if structure)
|
|
54
|
+
end
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
accounts = SKIP unless hash.key?('accounts')
|
|
58
|
+
|
|
59
|
+
# Create a new hash for additional properties, removing known properties.
|
|
60
|
+
new_hash = hash.reject { |k, _| names.value?(k) }
|
|
61
|
+
|
|
62
|
+
additional_properties = APIHelper.get_additional_properties(
|
|
63
|
+
new_hash, proc { |value| value }
|
|
64
|
+
)
|
|
65
|
+
|
|
66
|
+
# Create object from extracted values.
|
|
67
|
+
AccountsBulkUpdateResponse.new(accounts: accounts,
|
|
68
|
+
additional_properties: additional_properties)
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
# Provides a human-readable string representation of the object.
|
|
72
|
+
def to_s
|
|
73
|
+
class_name = self.class.name.split('::').last
|
|
74
|
+
"<#{class_name} accounts: #{@accounts}, additional_properties: #{@additional_properties}>"
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
# Provides a debugging-friendly string with detailed object information.
|
|
78
|
+
def inspect
|
|
79
|
+
class_name = self.class.name.split('::').last
|
|
80
|
+
"<#{class_name} accounts: #{@accounts.inspect}, additional_properties:"\
|
|
81
|
+
" #{@additional_properties}>"
|
|
82
|
+
end
|
|
83
|
+
end
|
|
84
|
+
end
|
|
@@ -0,0 +1,183 @@
|
|
|
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
|
+
# AccountsRequest Model.
|
|
8
|
+
class AccountsRequest < BaseModel
|
|
9
|
+
SKIP = Object.new
|
|
10
|
+
private_constant :SKIP
|
|
11
|
+
|
|
12
|
+
# Name the account that you are creating. This should be a human-readable
|
|
13
|
+
# name. <br><br>Example: `The Irish Copywriters`
|
|
14
|
+
# @return [String]
|
|
15
|
+
attr_accessor :name
|
|
16
|
+
|
|
17
|
+
# The domain name for the account. <br><br>Do not include `www.` or similar.
|
|
18
|
+
# <br><br>Example: `apollo.io` or `microsoft.com`
|
|
19
|
+
# @return [String]
|
|
20
|
+
attr_accessor :domain
|
|
21
|
+
|
|
22
|
+
# The ID for the account owner within your team's Apollo account.
|
|
23
|
+
# <br><br>Use the <a
|
|
24
|
+
# href="https://docs.apollo.io/reference/get-a-list-of-users"
|
|
25
|
+
# target="_blank">Get a List of Users endpoint</a> to retrieve IDs for all
|
|
26
|
+
# of the users within your Apollo account. <br><br>Example:
|
|
27
|
+
# `66302798d03b9601c7934ebf`
|
|
28
|
+
# @return [String]
|
|
29
|
+
attr_accessor :owner_id
|
|
30
|
+
|
|
31
|
+
# The Apollo ID for the account stage to which you want to assign the
|
|
32
|
+
# account. Call the <a
|
|
33
|
+
# href="https://docs.apollo.io/reference/list-account-stages"
|
|
34
|
+
# target="_blank">List Account Stages endpoint</a> to retrieve a list of all
|
|
35
|
+
# the account stage IDs available in your Apollo account. <br><br>If you do
|
|
36
|
+
# not specify the account stage, Apollo automatically assigns the account to
|
|
37
|
+
# a stage as determined by your team's Apollo account. To change the order
|
|
38
|
+
# of account stages, launch the Apollo product and go to <b>Settings</b> >
|
|
39
|
+
# <b>Objects</b> > <a
|
|
40
|
+
# href="https://app.apollo.io/#/settings/accounts/stages"
|
|
41
|
+
# target="_blank"><b>Accounts</b></a>. Then, access the <b>Triggers</b> tab
|
|
42
|
+
# and change the stage for when an account is created.<br><br>Example:
|
|
43
|
+
# `6095a710bd01d100a506d4b9`
|
|
44
|
+
# @return [String]
|
|
45
|
+
attr_accessor :account_stage_id
|
|
46
|
+
|
|
47
|
+
# The primary phone number for the account. <br><br>This can be the phone
|
|
48
|
+
# number for the corporate headquarters, a branch location, or a direct dial
|
|
49
|
+
# to the primary point of contact for the account. <br><br>Apollo sanitizes
|
|
50
|
+
# phone numbers, so you can enter them in any format. The sanitized number
|
|
51
|
+
# can be viewed in the endpoint response. <br><br>Examples: `555-555-0133`;
|
|
52
|
+
# `+44 7700 900852`
|
|
53
|
+
# @return [String]
|
|
54
|
+
attr_accessor :phone
|
|
55
|
+
|
|
56
|
+
# The corporate location for the account. This can include a city, US state,
|
|
57
|
+
# and country. <br><br>Apollo matches the location you provide to the most
|
|
58
|
+
# applicable pre-defined location. <br><br>Examples: `Belfield, Dublin 4,
|
|
59
|
+
# Ireland`; `Dallas, United States`
|
|
60
|
+
# @return [String]
|
|
61
|
+
attr_accessor :raw_address
|
|
62
|
+
|
|
63
|
+
# Add information to <a
|
|
64
|
+
# href="https://knowledge.apollo.io/hc/en-us/articles/4412498754445-Create-C
|
|
65
|
+
# ustom-Account-Fields" target="_blank">custom fields</a> in Apollo.
|
|
66
|
+
# <br><br><b>Your custom fields are unique to your team's Apollo account.
|
|
67
|
+
# This means that the examples in this documentation may not work for your
|
|
68
|
+
# testing purposes.</b> <br><br>To utilize this parameter successfully, call
|
|
69
|
+
# the <a
|
|
70
|
+
# href="https://docs.apollo.io/reference/get-a-list-of-all-custom-fields">Ge
|
|
71
|
+
# t a List of All Custom Fields</a> endpoint and identify the `id` value for
|
|
72
|
+
# the custom field, as well as the appropriate data type. For example, if a
|
|
73
|
+
# custom field accepts picklist entries, you need to pass the accompanying
|
|
74
|
+
# `id` value for the picklist entry that you want to use as the input value.
|
|
75
|
+
# <br><br><b>Example</b>: When the <a
|
|
76
|
+
# href="https://docs.apollo.io/reference/get-a-list-of-all-custom-fields">Ge
|
|
77
|
+
# t a List of All Custom Fields</a> endpoint returns an `id` of field:
|
|
78
|
+
# * `"60c39ed82bd02f01154c470a"` (datetime)
|
|
79
|
+
#
|
|
80
|
+
# then the value passed should be:
|
|
81
|
+
# `{"60c39ed82bd02f01154c470a": "2025-08-07"}`
|
|
82
|
+
# @return [Hash[String, String]]
|
|
83
|
+
attr_accessor :typed_custom_fields
|
|
84
|
+
|
|
85
|
+
# A mapping from model property names to API property names.
|
|
86
|
+
def self.names
|
|
87
|
+
@_hash = {} if @_hash.nil?
|
|
88
|
+
@_hash['name'] = 'name'
|
|
89
|
+
@_hash['domain'] = 'domain'
|
|
90
|
+
@_hash['owner_id'] = 'owner_id'
|
|
91
|
+
@_hash['account_stage_id'] = 'account_stage_id'
|
|
92
|
+
@_hash['phone'] = 'phone'
|
|
93
|
+
@_hash['raw_address'] = 'raw_address'
|
|
94
|
+
@_hash['typed_custom_fields'] = 'typed_custom_fields'
|
|
95
|
+
@_hash
|
|
96
|
+
end
|
|
97
|
+
|
|
98
|
+
# An array for optional fields
|
|
99
|
+
def self.optionals
|
|
100
|
+
%w[
|
|
101
|
+
name
|
|
102
|
+
domain
|
|
103
|
+
owner_id
|
|
104
|
+
account_stage_id
|
|
105
|
+
phone
|
|
106
|
+
raw_address
|
|
107
|
+
typed_custom_fields
|
|
108
|
+
]
|
|
109
|
+
end
|
|
110
|
+
|
|
111
|
+
# An array for nullable fields
|
|
112
|
+
def self.nullables
|
|
113
|
+
[]
|
|
114
|
+
end
|
|
115
|
+
|
|
116
|
+
def initialize(name: SKIP, domain: SKIP, owner_id: SKIP,
|
|
117
|
+
account_stage_id: SKIP, phone: SKIP, raw_address: SKIP,
|
|
118
|
+
typed_custom_fields: SKIP, additional_properties: nil)
|
|
119
|
+
# Add additional model properties to the instance
|
|
120
|
+
additional_properties = {} if additional_properties.nil?
|
|
121
|
+
|
|
122
|
+
@name = name unless name == SKIP
|
|
123
|
+
@domain = domain unless domain == SKIP
|
|
124
|
+
@owner_id = owner_id unless owner_id == SKIP
|
|
125
|
+
@account_stage_id = account_stage_id unless account_stage_id == SKIP
|
|
126
|
+
@phone = phone unless phone == SKIP
|
|
127
|
+
@raw_address = raw_address unless raw_address == SKIP
|
|
128
|
+
@typed_custom_fields = typed_custom_fields unless typed_custom_fields == SKIP
|
|
129
|
+
@additional_properties = additional_properties
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
# Creates an instance of the object from a hash.
|
|
133
|
+
def self.from_hash(hash)
|
|
134
|
+
return nil unless hash
|
|
135
|
+
|
|
136
|
+
# Extract variables from the hash.
|
|
137
|
+
name = hash.key?('name') ? hash['name'] : SKIP
|
|
138
|
+
domain = hash.key?('domain') ? hash['domain'] : SKIP
|
|
139
|
+
owner_id = hash.key?('owner_id') ? hash['owner_id'] : SKIP
|
|
140
|
+
account_stage_id =
|
|
141
|
+
hash.key?('account_stage_id') ? hash['account_stage_id'] : SKIP
|
|
142
|
+
phone = hash.key?('phone') ? hash['phone'] : SKIP
|
|
143
|
+
raw_address = hash.key?('raw_address') ? hash['raw_address'] : SKIP
|
|
144
|
+
typed_custom_fields =
|
|
145
|
+
hash.key?('typed_custom_fields') ? hash['typed_custom_fields'] : SKIP
|
|
146
|
+
|
|
147
|
+
# Create a new hash for additional properties, removing known properties.
|
|
148
|
+
new_hash = hash.reject { |k, _| names.value?(k) }
|
|
149
|
+
|
|
150
|
+
additional_properties = APIHelper.get_additional_properties(
|
|
151
|
+
new_hash, proc { |value| value }
|
|
152
|
+
)
|
|
153
|
+
|
|
154
|
+
# Create object from extracted values.
|
|
155
|
+
AccountsRequest.new(name: name,
|
|
156
|
+
domain: domain,
|
|
157
|
+
owner_id: owner_id,
|
|
158
|
+
account_stage_id: account_stage_id,
|
|
159
|
+
phone: phone,
|
|
160
|
+
raw_address: raw_address,
|
|
161
|
+
typed_custom_fields: typed_custom_fields,
|
|
162
|
+
additional_properties: additional_properties)
|
|
163
|
+
end
|
|
164
|
+
|
|
165
|
+
# Provides a human-readable string representation of the object.
|
|
166
|
+
def to_s
|
|
167
|
+
class_name = self.class.name.split('::').last
|
|
168
|
+
"<#{class_name} name: #{@name}, domain: #{@domain}, owner_id: #{@owner_id},"\
|
|
169
|
+
" account_stage_id: #{@account_stage_id}, phone: #{@phone}, raw_address: #{@raw_address},"\
|
|
170
|
+
" typed_custom_fields: #{@typed_custom_fields}, additional_properties:"\
|
|
171
|
+
" #{@additional_properties}>"
|
|
172
|
+
end
|
|
173
|
+
|
|
174
|
+
# Provides a debugging-friendly string with detailed object information.
|
|
175
|
+
def inspect
|
|
176
|
+
class_name = self.class.name.split('::').last
|
|
177
|
+
"<#{class_name} name: #{@name.inspect}, domain: #{@domain.inspect}, owner_id:"\
|
|
178
|
+
" #{@owner_id.inspect}, account_stage_id: #{@account_stage_id.inspect}, phone:"\
|
|
179
|
+
" #{@phone.inspect}, raw_address: #{@raw_address.inspect}, typed_custom_fields:"\
|
|
180
|
+
" #{@typed_custom_fields.inspect}, additional_properties: #{@additional_properties}>"
|
|
181
|
+
end
|
|
182
|
+
end
|
|
183
|
+
end
|
|
@@ -0,0 +1,183 @@
|
|
|
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
|
+
# AccountsRequest1 Model.
|
|
8
|
+
class AccountsRequest1 < BaseModel
|
|
9
|
+
SKIP = Object.new
|
|
10
|
+
private_constant :SKIP
|
|
11
|
+
|
|
12
|
+
# Update the account's name. This should be a human-readable name.
|
|
13
|
+
# <br><br>Example: `The Fast Irish Copywriters`
|
|
14
|
+
# @return [String]
|
|
15
|
+
attr_accessor :name
|
|
16
|
+
|
|
17
|
+
# Update the domain name for the account. Do not include `www.` or similar.
|
|
18
|
+
# <br><br>Example: `apollo.io` or `microsoft.com`
|
|
19
|
+
# @return [String]
|
|
20
|
+
attr_accessor :domain
|
|
21
|
+
|
|
22
|
+
# The ID for the account owner within your team's Apollo account. Enter a
|
|
23
|
+
# different ID to update the owner of the account. <br><br>Use the <a
|
|
24
|
+
# href="https://docs.apollo.io/reference/get-a-list-of-users"
|
|
25
|
+
# target="_blank">Get a List of Users endpoint</a> to retrieve IDs for all
|
|
26
|
+
# of the users within your Apollo account. <br><br>Example:
|
|
27
|
+
# `66302798d03b9601c7934ebf`
|
|
28
|
+
# @return [String]
|
|
29
|
+
attr_accessor :owner_id
|
|
30
|
+
|
|
31
|
+
# The Apollo ID for the account stage to which you want to assign the
|
|
32
|
+
# account. Enter a different ID to update the account stage. <br><br>Call
|
|
33
|
+
# the <a href="https://docs.apollo.io/reference/list-account-stages"
|
|
34
|
+
# target="_blank">List Account Stages endpoint</a> to retrieve a list of all
|
|
35
|
+
# the account stage IDs available in your Apollo account. <br><br>If you do
|
|
36
|
+
# not specify the account stage, Apollo automatically assigns the account to
|
|
37
|
+
# a stage as determined by your team's Apollo account. To change the order
|
|
38
|
+
# of account stages, launch the Apollo product and go to <b>Settings</b> >
|
|
39
|
+
# <b>Objects</b> > <a
|
|
40
|
+
# href="https://app.apollo.io/#/settings/accounts/stages"
|
|
41
|
+
# target="_blank"><b>Accounts</b></a>. Then, access the <b>Triggers</b> tab
|
|
42
|
+
# and change the stage for when an account is created. <br><br>Example:
|
|
43
|
+
# `61b8e913e0f4d2012e3af74e`
|
|
44
|
+
# @return [String]
|
|
45
|
+
attr_accessor :account_stage_id
|
|
46
|
+
|
|
47
|
+
# Update the corporate location for the account. This can include a city, US
|
|
48
|
+
# state, and country. <br><br>Apollo matches the location you provide to the
|
|
49
|
+
# most applicable pre-defined location. <br><br>Examples: `Belfield, Dublin
|
|
50
|
+
# 4, Ireland`; `Dallas, United States`
|
|
51
|
+
# @return [String]
|
|
52
|
+
attr_accessor :raw_address
|
|
53
|
+
|
|
54
|
+
# Update the primary phone number for the account. <br><br>This can be the
|
|
55
|
+
# phone number for the corporate headquarters, a branch location, or a
|
|
56
|
+
# direct dial to the primary point of contact for the account.
|
|
57
|
+
# <br><br>Apollo sanitizes phone numbers, so you can enter them in any
|
|
58
|
+
# format. The sanitized number can be viewed in the endpoint response.
|
|
59
|
+
# <br><br>Examples: `555-555-0133`; `+44 7700 900852`
|
|
60
|
+
# @return [String]
|
|
61
|
+
attr_accessor :phone
|
|
62
|
+
|
|
63
|
+
# Add information to <a
|
|
64
|
+
# href="https://knowledge.apollo.io/hc/en-us/articles/4412498754445-Create-C
|
|
65
|
+
# ustom-Account-Fields" target="_blank">custom fields</a> in Apollo.
|
|
66
|
+
# <br><br><b>Your custom fields are unique to your team's Apollo account.
|
|
67
|
+
# This means that the examples in this documentation may not work for your
|
|
68
|
+
# testing purposes.</b> <br><br>To utilize this parameter successfully, call
|
|
69
|
+
# the <a
|
|
70
|
+
# href="https://docs.apollo.io/reference/get-a-list-of-all-custom-fields">Ge
|
|
71
|
+
# t a List of All Custom Fields</a> endpoint and identify the `id` value for
|
|
72
|
+
# the custom field, as well as the appropriate data type. For example, if a
|
|
73
|
+
# custom field accepts picklist entries, you need to pass the accompanying
|
|
74
|
+
# `id` value for the picklist entry that you want to use as the input value.
|
|
75
|
+
# <br><br><b>Example</b>: When the <a
|
|
76
|
+
# href="https://docs.apollo.io/reference/get-a-list-of-all-custom-fields">Ge
|
|
77
|
+
# t a List of All Custom Fields</a> endpoint returns an `id` of field:
|
|
78
|
+
# * `"60c39ed82bd02f01154c470a"` (datetime)
|
|
79
|
+
#
|
|
80
|
+
# then the value passed should be:
|
|
81
|
+
# `{"60c39ed82bd02f01154c470a": "2025-08-07"}`
|
|
82
|
+
# @return [Hash[String, String]]
|
|
83
|
+
attr_accessor :typed_custom_fields
|
|
84
|
+
|
|
85
|
+
# A mapping from model property names to API property names.
|
|
86
|
+
def self.names
|
|
87
|
+
@_hash = {} if @_hash.nil?
|
|
88
|
+
@_hash['name'] = 'name'
|
|
89
|
+
@_hash['domain'] = 'domain'
|
|
90
|
+
@_hash['owner_id'] = 'owner_id'
|
|
91
|
+
@_hash['account_stage_id'] = 'account_stage_id'
|
|
92
|
+
@_hash['raw_address'] = 'raw_address'
|
|
93
|
+
@_hash['phone'] = 'phone'
|
|
94
|
+
@_hash['typed_custom_fields'] = 'typed_custom_fields'
|
|
95
|
+
@_hash
|
|
96
|
+
end
|
|
97
|
+
|
|
98
|
+
# An array for optional fields
|
|
99
|
+
def self.optionals
|
|
100
|
+
%w[
|
|
101
|
+
name
|
|
102
|
+
domain
|
|
103
|
+
owner_id
|
|
104
|
+
account_stage_id
|
|
105
|
+
raw_address
|
|
106
|
+
phone
|
|
107
|
+
typed_custom_fields
|
|
108
|
+
]
|
|
109
|
+
end
|
|
110
|
+
|
|
111
|
+
# An array for nullable fields
|
|
112
|
+
def self.nullables
|
|
113
|
+
[]
|
|
114
|
+
end
|
|
115
|
+
|
|
116
|
+
def initialize(name: SKIP, domain: SKIP, owner_id: SKIP,
|
|
117
|
+
account_stage_id: SKIP, raw_address: SKIP, phone: SKIP,
|
|
118
|
+
typed_custom_fields: SKIP, additional_properties: nil)
|
|
119
|
+
# Add additional model properties to the instance
|
|
120
|
+
additional_properties = {} if additional_properties.nil?
|
|
121
|
+
|
|
122
|
+
@name = name unless name == SKIP
|
|
123
|
+
@domain = domain unless domain == SKIP
|
|
124
|
+
@owner_id = owner_id unless owner_id == SKIP
|
|
125
|
+
@account_stage_id = account_stage_id unless account_stage_id == SKIP
|
|
126
|
+
@raw_address = raw_address unless raw_address == SKIP
|
|
127
|
+
@phone = phone unless phone == SKIP
|
|
128
|
+
@typed_custom_fields = typed_custom_fields unless typed_custom_fields == SKIP
|
|
129
|
+
@additional_properties = additional_properties
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
# Creates an instance of the object from a hash.
|
|
133
|
+
def self.from_hash(hash)
|
|
134
|
+
return nil unless hash
|
|
135
|
+
|
|
136
|
+
# Extract variables from the hash.
|
|
137
|
+
name = hash.key?('name') ? hash['name'] : SKIP
|
|
138
|
+
domain = hash.key?('domain') ? hash['domain'] : SKIP
|
|
139
|
+
owner_id = hash.key?('owner_id') ? hash['owner_id'] : SKIP
|
|
140
|
+
account_stage_id =
|
|
141
|
+
hash.key?('account_stage_id') ? hash['account_stage_id'] : SKIP
|
|
142
|
+
raw_address = hash.key?('raw_address') ? hash['raw_address'] : SKIP
|
|
143
|
+
phone = hash.key?('phone') ? hash['phone'] : SKIP
|
|
144
|
+
typed_custom_fields =
|
|
145
|
+
hash.key?('typed_custom_fields') ? hash['typed_custom_fields'] : SKIP
|
|
146
|
+
|
|
147
|
+
# Create a new hash for additional properties, removing known properties.
|
|
148
|
+
new_hash = hash.reject { |k, _| names.value?(k) }
|
|
149
|
+
|
|
150
|
+
additional_properties = APIHelper.get_additional_properties(
|
|
151
|
+
new_hash, proc { |value| value }
|
|
152
|
+
)
|
|
153
|
+
|
|
154
|
+
# Create object from extracted values.
|
|
155
|
+
AccountsRequest1.new(name: name,
|
|
156
|
+
domain: domain,
|
|
157
|
+
owner_id: owner_id,
|
|
158
|
+
account_stage_id: account_stage_id,
|
|
159
|
+
raw_address: raw_address,
|
|
160
|
+
phone: phone,
|
|
161
|
+
typed_custom_fields: typed_custom_fields,
|
|
162
|
+
additional_properties: additional_properties)
|
|
163
|
+
end
|
|
164
|
+
|
|
165
|
+
# Provides a human-readable string representation of the object.
|
|
166
|
+
def to_s
|
|
167
|
+
class_name = self.class.name.split('::').last
|
|
168
|
+
"<#{class_name} name: #{@name}, domain: #{@domain}, owner_id: #{@owner_id},"\
|
|
169
|
+
" account_stage_id: #{@account_stage_id}, raw_address: #{@raw_address}, phone: #{@phone},"\
|
|
170
|
+
" typed_custom_fields: #{@typed_custom_fields}, additional_properties:"\
|
|
171
|
+
" #{@additional_properties}>"
|
|
172
|
+
end
|
|
173
|
+
|
|
174
|
+
# Provides a debugging-friendly string with detailed object information.
|
|
175
|
+
def inspect
|
|
176
|
+
class_name = self.class.name.split('::').last
|
|
177
|
+
"<#{class_name} name: #{@name.inspect}, domain: #{@domain.inspect}, owner_id:"\
|
|
178
|
+
" #{@owner_id.inspect}, account_stage_id: #{@account_stage_id.inspect}, raw_address:"\
|
|
179
|
+
" #{@raw_address.inspect}, phone: #{@phone.inspect}, typed_custom_fields:"\
|
|
180
|
+
" #{@typed_custom_fields.inspect}, additional_properties: #{@additional_properties}>"
|
|
181
|
+
end
|
|
182
|
+
end
|
|
183
|
+
end
|
|
@@ -0,0 +1,75 @@
|
|
|
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
|
+
# AccountsResponse Model.
|
|
8
|
+
class AccountsResponse < BaseModel
|
|
9
|
+
SKIP = Object.new
|
|
10
|
+
private_constant :SKIP
|
|
11
|
+
|
|
12
|
+
# TODO: Write general description for this method
|
|
13
|
+
# @return [Account3]
|
|
14
|
+
attr_accessor :account
|
|
15
|
+
|
|
16
|
+
# A mapping from model property names to API property names.
|
|
17
|
+
def self.names
|
|
18
|
+
@_hash = {} if @_hash.nil?
|
|
19
|
+
@_hash['account'] = 'account'
|
|
20
|
+
@_hash
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
# An array for optional fields
|
|
24
|
+
def self.optionals
|
|
25
|
+
%w[
|
|
26
|
+
account
|
|
27
|
+
]
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
# An array for nullable fields
|
|
31
|
+
def self.nullables
|
|
32
|
+
[]
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
def initialize(account: SKIP, additional_properties: nil)
|
|
36
|
+
# Add additional model properties to the instance
|
|
37
|
+
additional_properties = {} if additional_properties.nil?
|
|
38
|
+
|
|
39
|
+
@account = account unless account == SKIP
|
|
40
|
+
@additional_properties = additional_properties
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
# Creates an instance of the object from a hash.
|
|
44
|
+
def self.from_hash(hash)
|
|
45
|
+
return nil unless hash
|
|
46
|
+
|
|
47
|
+
# Extract variables from the hash.
|
|
48
|
+
account = Account3.from_hash(hash['account']) if hash['account']
|
|
49
|
+
|
|
50
|
+
# Create a new hash for additional properties, removing known properties.
|
|
51
|
+
new_hash = hash.reject { |k, _| names.value?(k) }
|
|
52
|
+
|
|
53
|
+
additional_properties = APIHelper.get_additional_properties(
|
|
54
|
+
new_hash, proc { |value| value }
|
|
55
|
+
)
|
|
56
|
+
|
|
57
|
+
# Create object from extracted values.
|
|
58
|
+
AccountsResponse.new(account: account,
|
|
59
|
+
additional_properties: additional_properties)
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
# Provides a human-readable string representation of the object.
|
|
63
|
+
def to_s
|
|
64
|
+
class_name = self.class.name.split('::').last
|
|
65
|
+
"<#{class_name} account: #{@account}, additional_properties: #{@additional_properties}>"
|
|
66
|
+
end
|
|
67
|
+
|
|
68
|
+
# Provides a debugging-friendly string with detailed object information.
|
|
69
|
+
def inspect
|
|
70
|
+
class_name = self.class.name.split('::').last
|
|
71
|
+
"<#{class_name} account: #{@account.inspect}, additional_properties:"\
|
|
72
|
+
" #{@additional_properties}>"
|
|
73
|
+
end
|
|
74
|
+
end
|
|
75
|
+
end
|