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,53 @@
|
|
|
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
|
+
# Utility class for OAuth 2 authorization and token management.
|
|
8
|
+
class BearerAuth < CoreLibrary::HeaderAuth
|
|
9
|
+
include CoreLibrary
|
|
10
|
+
# Display error message on occurrence of authentication failure.
|
|
11
|
+
# @returns [String] The oAuth error message.
|
|
12
|
+
def error_message
|
|
13
|
+
'BearerAuth: access_token is undefined.'
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
# Initialization constructor.
|
|
17
|
+
def initialize(bearer_auth_credentials)
|
|
18
|
+
auth_params = {}
|
|
19
|
+
@_access_token = bearer_auth_credentials.access_token unless
|
|
20
|
+
bearer_auth_credentials.nil? || bearer_auth_credentials.access_token.nil?
|
|
21
|
+
auth_params[:Authorization] = "Bearer #{@_access_token}" unless @_access_token.nil?
|
|
22
|
+
|
|
23
|
+
super auth_params
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
# Data class for BearerAuthCredentials.
|
|
28
|
+
class BearerAuthCredentials
|
|
29
|
+
attr_reader :access_token
|
|
30
|
+
|
|
31
|
+
def initialize(access_token:)
|
|
32
|
+
raise ArgumentError, 'access_token cannot be nil' if access_token.nil?
|
|
33
|
+
|
|
34
|
+
@access_token = access_token
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
def self.from_env
|
|
38
|
+
access_token = ENV['BEARER_AUTH_ACCESS_TOKEN']
|
|
39
|
+
all_nil = [
|
|
40
|
+
access_token
|
|
41
|
+
].all?(&:nil?)
|
|
42
|
+
return nil if all_nil
|
|
43
|
+
|
|
44
|
+
new(access_token: access_token)
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
def clone_with(access_token: nil)
|
|
48
|
+
access_token ||= self.access_token
|
|
49
|
+
|
|
50
|
+
BearerAuthCredentials.new(access_token: access_token)
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
end
|
|
@@ -0,0 +1,10 @@
|
|
|
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
|
+
# HttpCallBack allows defining callables for pre and post API calls.
|
|
8
|
+
class HttpCallBack < CoreLibrary::HttpCallback
|
|
9
|
+
end
|
|
10
|
+
end
|
|
@@ -0,0 +1,22 @@
|
|
|
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
|
+
##
|
|
8
|
+
# ProxySettings encapsulates HTTP proxy configuration for Faraday,
|
|
9
|
+
# including optional basic authentication.
|
|
10
|
+
#
|
|
11
|
+
class ProxySettings < CoreLibrary::ProxySettings
|
|
12
|
+
def self.from_env
|
|
13
|
+
address = ENV['PROXY_ADDRESS']
|
|
14
|
+
port = ENV['PROXY_PORT']
|
|
15
|
+
username = ENV['PROXY_USERNAME']
|
|
16
|
+
password = ENV['PROXY_PASSWORD']
|
|
17
|
+
return nil if address.nil? || address.strip.empty?
|
|
18
|
+
|
|
19
|
+
new(address: address, port: port, username: username, password: password)
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
@@ -0,0 +1,186 @@
|
|
|
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
|
+
# Initializes a new instance of RequestLoggingConfiguration.
|
|
8
|
+
class RequestLoggingConfiguration < CoreLibrary::ApiRequestLoggingConfiguration
|
|
9
|
+
# @param log_body [Boolean] Indicates whether the message body should be logged. Default is false.
|
|
10
|
+
# @param log_headers [Boolean] Indicates whether the message headers should be logged. Default is false.
|
|
11
|
+
# @param headers_to_exclude [Array<String>] Array of headers not displayed in logging. Default is an empty array.
|
|
12
|
+
# @param headers_to_include [Array<String>] Array of headers to be displayed in logging. Default is an empty array.
|
|
13
|
+
# @param headers_to_unmask [Array<String>] Array of headers which values are non-sensitive to display in logging.
|
|
14
|
+
# Default is an empty array.
|
|
15
|
+
def initialize(log_body: false, log_headers: false, headers_to_include: nil,
|
|
16
|
+
headers_to_exclude: nil, headers_to_unmask: nil,
|
|
17
|
+
include_query_in_path: false)
|
|
18
|
+
super(
|
|
19
|
+
log_body,
|
|
20
|
+
log_headers,
|
|
21
|
+
headers_to_exclude,
|
|
22
|
+
headers_to_include,
|
|
23
|
+
headers_to_unmask,
|
|
24
|
+
include_query_in_path
|
|
25
|
+
)
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
def clone_with(log_body: nil, log_headers: nil, headers_to_include: nil,
|
|
29
|
+
headers_to_exclude: nil, headers_to_unmask: nil, include_query_in_path: nil)
|
|
30
|
+
log_body ||= self.log_body
|
|
31
|
+
log_headers ||= self.log_headers
|
|
32
|
+
headers_to_include ||= self.headers_to_include
|
|
33
|
+
headers_to_exclude ||= self.headers_to_exclude
|
|
34
|
+
headers_to_unmask ||= self.headers_to_unmask
|
|
35
|
+
include_query_in_path ||= self.include_query_in_path
|
|
36
|
+
|
|
37
|
+
RequestLoggingConfiguration.new(
|
|
38
|
+
log_body: log_body,
|
|
39
|
+
log_headers: log_headers,
|
|
40
|
+
headers_to_include: headers_to_include,
|
|
41
|
+
headers_to_exclude: headers_to_exclude,
|
|
42
|
+
headers_to_unmask: headers_to_unmask,
|
|
43
|
+
include_query_in_path: include_query_in_path
|
|
44
|
+
)
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
def self.from_env
|
|
48
|
+
log_body = ENV['REQUEST_LOG_BODY']
|
|
49
|
+
log_headers = ENV['REQUEST_LOG_HEADERS']
|
|
50
|
+
headers_to_include = ENV['REQUEST_HEADERS_TO_INCLUDE']
|
|
51
|
+
headers_to_exclude = ENV['REQUEST_HEADERS_TO_EXCLUDE']
|
|
52
|
+
headers_to_unmask = ENV['REQUEST_HEADERS_TO_UNMASK']
|
|
53
|
+
include_query_in_path = ENV['REQUEST_INCLUDE_QUERY_IN_PATH']
|
|
54
|
+
|
|
55
|
+
new(
|
|
56
|
+
log_body: log_body,
|
|
57
|
+
log_headers: log_headers,
|
|
58
|
+
headers_to_include: headers_to_include,
|
|
59
|
+
headers_to_exclude: headers_to_exclude,
|
|
60
|
+
headers_to_unmask: headers_to_unmask,
|
|
61
|
+
include_query_in_path: include_query_in_path
|
|
62
|
+
)
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
def self.any_logging_configured?
|
|
66
|
+
%w[
|
|
67
|
+
REQUEST_LOG_BODY
|
|
68
|
+
REQUEST_LOG_HEADERS
|
|
69
|
+
REQUEST_HEADERS_TO_INCLUDE
|
|
70
|
+
REQUEST_HEADERS_TO_EXCLUDE
|
|
71
|
+
REQUEST_HEADERS_TO_UNMASK
|
|
72
|
+
REQUEST_INCLUDE_QUERY_IN_PATH
|
|
73
|
+
].any? { |key| ENV.key?(key) && !ENV[key].nil? && !ENV[key].empty? }
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
# Initializes a new instance of ResponseLoggingConfiguration.
|
|
78
|
+
class ResponseLoggingConfiguration < CoreLibrary::ApiResponseLoggingConfiguration
|
|
79
|
+
def initialize(log_body: false, log_headers: false, headers_to_include: nil,
|
|
80
|
+
headers_to_exclude: nil, headers_to_unmask: nil)
|
|
81
|
+
super(
|
|
82
|
+
log_body,
|
|
83
|
+
log_headers,
|
|
84
|
+
headers_to_exclude,
|
|
85
|
+
headers_to_include,
|
|
86
|
+
headers_to_unmask
|
|
87
|
+
)
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
def clone_with(log_body: nil, log_headers: nil, headers_to_include: nil,
|
|
91
|
+
headers_to_exclude: nil, headers_to_unmask: nil)
|
|
92
|
+
log_body ||= self.log_body
|
|
93
|
+
log_headers ||= self.log_headers
|
|
94
|
+
headers_to_include ||= self.headers_to_include
|
|
95
|
+
headers_to_exclude ||= self.headers_to_exclude
|
|
96
|
+
headers_to_unmask ||= self.headers_to_unmask
|
|
97
|
+
|
|
98
|
+
ResponseLoggingConfiguration.new(
|
|
99
|
+
log_body: log_body,
|
|
100
|
+
log_headers: log_headers,
|
|
101
|
+
headers_to_include: headers_to_include,
|
|
102
|
+
headers_to_exclude: headers_to_exclude,
|
|
103
|
+
headers_to_unmask: headers_to_unmask
|
|
104
|
+
)
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
def self.from_env
|
|
108
|
+
log_body = ENV['RESPONSE_LOG_BODY']
|
|
109
|
+
log_headers = ENV['RESPONSE_LOG_HEADERS']
|
|
110
|
+
headers_to_include = ENV['RESPONSE_HEADERS_TO_INCLUDE']
|
|
111
|
+
headers_to_exclude = ENV['RESPONSE_HEADERS_TO_EXCLUDE']
|
|
112
|
+
headers_to_unmask = ENV['RESPONSE_HEADERS_TO_UNMASK']
|
|
113
|
+
|
|
114
|
+
new(
|
|
115
|
+
log_body: log_body,
|
|
116
|
+
log_headers: log_headers,
|
|
117
|
+
headers_to_include: headers_to_include,
|
|
118
|
+
headers_to_exclude: headers_to_exclude,
|
|
119
|
+
headers_to_unmask: headers_to_unmask
|
|
120
|
+
)
|
|
121
|
+
end
|
|
122
|
+
|
|
123
|
+
def self.any_logging_configured?
|
|
124
|
+
%w[
|
|
125
|
+
RESPONSE_LOG_BODY
|
|
126
|
+
RESPONSE_LOG_HEADERS
|
|
127
|
+
RESPONSE_HEADERS_TO_INCLUDE
|
|
128
|
+
RESPONSE_HEADERS_TO_EXCLUDE
|
|
129
|
+
RESPONSE_HEADERS_TO_UNMASK
|
|
130
|
+
].any? { |key| ENV.key?(key) && !ENV[key].nil? && !ENV[key].empty? }
|
|
131
|
+
end
|
|
132
|
+
end
|
|
133
|
+
|
|
134
|
+
# Initializes a new instance of LoggingConfiguration.
|
|
135
|
+
class LoggingConfiguration < CoreLibrary::ApiLoggingConfiguration
|
|
136
|
+
def initialize(logger: nil, log_level: nil, mask_sensitive_headers: true,
|
|
137
|
+
request_logging_config: nil,
|
|
138
|
+
response_logging_config: nil)
|
|
139
|
+
request_logging_config ||= RequestLoggingConfiguration.new
|
|
140
|
+
response_logging_config ||= ResponseLoggingConfiguration.new
|
|
141
|
+
super(
|
|
142
|
+
logger,
|
|
143
|
+
log_level,
|
|
144
|
+
request_logging_config,
|
|
145
|
+
response_logging_config,
|
|
146
|
+
mask_sensitive_headers
|
|
147
|
+
)
|
|
148
|
+
end
|
|
149
|
+
|
|
150
|
+
def clone_with(logger: nil, log_level: nil, mask_sensitive_headers: nil,
|
|
151
|
+
request_logging_config: nil, response_logging_config: nil)
|
|
152
|
+
logger ||= self.logger
|
|
153
|
+
log_level ||= self.log_level
|
|
154
|
+
mask_sensitive_headers ||= self.mask_sensitive_headers
|
|
155
|
+
request_logging_config ||= self.request_logging_config.clone
|
|
156
|
+
response_logging_config ||= self.response_logging_config.clone
|
|
157
|
+
|
|
158
|
+
LoggingConfiguration.new(
|
|
159
|
+
logger: logger,
|
|
160
|
+
log_level: log_level,
|
|
161
|
+
mask_sensitive_headers: mask_sensitive_headers,
|
|
162
|
+
request_logging_config: request_logging_config,
|
|
163
|
+
response_logging_config: response_logging_config
|
|
164
|
+
)
|
|
165
|
+
end
|
|
166
|
+
|
|
167
|
+
def self.from_env
|
|
168
|
+
log_level = ENV['LOG_LEVEL']
|
|
169
|
+
mask_sensitive_headers = ENV['MASK_SENSITIVE_HEADERS']
|
|
170
|
+
|
|
171
|
+
new(
|
|
172
|
+
log_level: log_level,
|
|
173
|
+
mask_sensitive_headers: mask_sensitive_headers,
|
|
174
|
+
request_logging_config: RequestLoggingConfiguration.from_env,
|
|
175
|
+
response_logging_config: ResponseLoggingConfiguration.from_env
|
|
176
|
+
)
|
|
177
|
+
end
|
|
178
|
+
|
|
179
|
+
def self.any_logging_configured?
|
|
180
|
+
RequestLoggingConfiguration.any_logging_configured? ||
|
|
181
|
+
ResponseLoggingConfiguration.any_logging_configured? ||
|
|
182
|
+
ENV.key?('LOG_LEVEL') ||
|
|
183
|
+
ENV.key?('MASK_SENSITIVE_HEADERS')
|
|
184
|
+
end
|
|
185
|
+
end
|
|
186
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
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
|
+
# Represents the generic logger facade
|
|
8
|
+
class AbstractLogger < Logger
|
|
9
|
+
# Logs a message with a specified log level and additional parameters.
|
|
10
|
+
# @param level [Symbol] The log level of the message.
|
|
11
|
+
# @param message [String] The message to log.
|
|
12
|
+
# @param params [Hash] Additional parameters to include in the log message.
|
|
13
|
+
def log(level, message, params)
|
|
14
|
+
raise NotImplementedError, 'This method needs to be implemented in a child class.'
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|