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,722 @@
|
|
|
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
|
+
# EmailerCampaign Model.
|
|
8
|
+
class EmailerCampaign < BaseModel
|
|
9
|
+
SKIP = Object.new
|
|
10
|
+
private_constant :SKIP
|
|
11
|
+
|
|
12
|
+
# TODO: Write general description for this method
|
|
13
|
+
# @return [String]
|
|
14
|
+
attr_accessor :id
|
|
15
|
+
|
|
16
|
+
# TODO: Write general description for this method
|
|
17
|
+
# @return [String]
|
|
18
|
+
attr_accessor :name
|
|
19
|
+
|
|
20
|
+
# TODO: Write general description for this method
|
|
21
|
+
# @return [TrueClass | FalseClass]
|
|
22
|
+
attr_accessor :archived
|
|
23
|
+
|
|
24
|
+
# TODO: Write general description for this method
|
|
25
|
+
# @return [String]
|
|
26
|
+
attr_accessor :created_at
|
|
27
|
+
|
|
28
|
+
# TODO: Write general description for this method
|
|
29
|
+
# @return [String]
|
|
30
|
+
attr_accessor :emailer_schedule_id
|
|
31
|
+
|
|
32
|
+
# TODO: Write general description for this method
|
|
33
|
+
# @return [Object]
|
|
34
|
+
attr_accessor :max_emails_per_day
|
|
35
|
+
|
|
36
|
+
# TODO: Write general description for this method
|
|
37
|
+
# @return [String]
|
|
38
|
+
attr_accessor :user_id
|
|
39
|
+
|
|
40
|
+
# TODO: Write general description for this method
|
|
41
|
+
# @return [Object]
|
|
42
|
+
attr_accessor :same_account_reply_policy_cd
|
|
43
|
+
|
|
44
|
+
# TODO: Write general description for this method
|
|
45
|
+
# @return [Array[String]]
|
|
46
|
+
attr_accessor :excluded_account_stage_ids
|
|
47
|
+
|
|
48
|
+
# TODO: Write general description for this method
|
|
49
|
+
# @return [Array[String]]
|
|
50
|
+
attr_accessor :excluded_contact_stage_ids
|
|
51
|
+
|
|
52
|
+
# TODO: Write general description for this method
|
|
53
|
+
# @return [Object]
|
|
54
|
+
attr_accessor :contact_email_event_to_stage_mapping
|
|
55
|
+
|
|
56
|
+
# TODO: Write general description for this method
|
|
57
|
+
# @return [Array[String]]
|
|
58
|
+
attr_accessor :label_ids
|
|
59
|
+
|
|
60
|
+
# TODO: Write general description for this method
|
|
61
|
+
# @return [TrueClass | FalseClass]
|
|
62
|
+
attr_accessor :create_task_if_email_open
|
|
63
|
+
|
|
64
|
+
# TODO: Write general description for this method
|
|
65
|
+
# @return [Integer]
|
|
66
|
+
attr_accessor :email_open_trigger_task_threshold
|
|
67
|
+
|
|
68
|
+
# TODO: Write general description for this method
|
|
69
|
+
# @return [TrueClass | FalseClass]
|
|
70
|
+
attr_accessor :mark_finished_if_click
|
|
71
|
+
|
|
72
|
+
# TODO: Write general description for this method
|
|
73
|
+
# @return [TrueClass | FalseClass]
|
|
74
|
+
attr_accessor :active
|
|
75
|
+
|
|
76
|
+
# TODO: Write general description for this method
|
|
77
|
+
# @return [Integer]
|
|
78
|
+
attr_accessor :days_to_wait_before_mark_as_response
|
|
79
|
+
|
|
80
|
+
# TODO: Write general description for this method
|
|
81
|
+
# @return [Array[String]]
|
|
82
|
+
attr_accessor :starred_by_user_ids
|
|
83
|
+
|
|
84
|
+
# TODO: Write general description for this method
|
|
85
|
+
# @return [TrueClass | FalseClass]
|
|
86
|
+
attr_accessor :mark_finished_if_reply
|
|
87
|
+
|
|
88
|
+
# TODO: Write general description for this method
|
|
89
|
+
# @return [TrueClass | FalseClass]
|
|
90
|
+
attr_accessor :mark_finished_if_interested
|
|
91
|
+
|
|
92
|
+
# TODO: Write general description for this method
|
|
93
|
+
# @return [TrueClass | FalseClass]
|
|
94
|
+
attr_accessor :mark_paused_if_ooo
|
|
95
|
+
|
|
96
|
+
# TODO: Write general description for this method
|
|
97
|
+
# @return [Object]
|
|
98
|
+
attr_accessor :sequence_by_exact_daytime
|
|
99
|
+
|
|
100
|
+
# TODO: Write general description for this method
|
|
101
|
+
# @return [String]
|
|
102
|
+
attr_accessor :permissions
|
|
103
|
+
|
|
104
|
+
# TODO: Write general description for this method
|
|
105
|
+
# @return [Object]
|
|
106
|
+
attr_accessor :last_used_at
|
|
107
|
+
|
|
108
|
+
# TODO: Write general description for this method
|
|
109
|
+
# @return [String]
|
|
110
|
+
attr_accessor :sequence_ruleset_id
|
|
111
|
+
|
|
112
|
+
# TODO: Write general description for this method
|
|
113
|
+
# @return [Object]
|
|
114
|
+
attr_accessor :folder_id
|
|
115
|
+
|
|
116
|
+
# TODO: Write general description for this method
|
|
117
|
+
# @return [Integer]
|
|
118
|
+
attr_accessor :same_account_reply_delay_days
|
|
119
|
+
|
|
120
|
+
# TODO: Write general description for this method
|
|
121
|
+
# @return [TrueClass | FalseClass]
|
|
122
|
+
attr_accessor :is_performing_poorly
|
|
123
|
+
|
|
124
|
+
# TODO: Write general description for this method
|
|
125
|
+
# @return [Integer]
|
|
126
|
+
attr_accessor :num_contacts_email_status_extrapolated
|
|
127
|
+
|
|
128
|
+
# TODO: Write general description for this method
|
|
129
|
+
# @return [TrueClass | FalseClass]
|
|
130
|
+
attr_accessor :remind_ab_test_results
|
|
131
|
+
|
|
132
|
+
# TODO: Write general description for this method
|
|
133
|
+
# @return [Array[Object]]
|
|
134
|
+
attr_accessor :ab_test_step_ids
|
|
135
|
+
|
|
136
|
+
# TODO: Write general description for this method
|
|
137
|
+
# @return [Object]
|
|
138
|
+
attr_accessor :prioritized_by_user
|
|
139
|
+
|
|
140
|
+
# TODO: Write general description for this method
|
|
141
|
+
# @return [String]
|
|
142
|
+
attr_accessor :creation_type
|
|
143
|
+
|
|
144
|
+
# TODO: Write general description for this method
|
|
145
|
+
# @return [Integer]
|
|
146
|
+
attr_accessor :num_steps
|
|
147
|
+
|
|
148
|
+
# TODO: Write general description for this method
|
|
149
|
+
# @return [Integer]
|
|
150
|
+
attr_accessor :unique_scheduled
|
|
151
|
+
|
|
152
|
+
# TODO: Write general description for this method
|
|
153
|
+
# @return [Integer]
|
|
154
|
+
attr_accessor :unique_delivered
|
|
155
|
+
|
|
156
|
+
# TODO: Write general description for this method
|
|
157
|
+
# @return [Integer]
|
|
158
|
+
attr_accessor :unique_bounced
|
|
159
|
+
|
|
160
|
+
# TODO: Write general description for this method
|
|
161
|
+
# @return [Integer]
|
|
162
|
+
attr_accessor :unique_opened
|
|
163
|
+
|
|
164
|
+
# TODO: Write general description for this method
|
|
165
|
+
# @return [Integer]
|
|
166
|
+
attr_accessor :unique_hard_bounced
|
|
167
|
+
|
|
168
|
+
# TODO: Write general description for this method
|
|
169
|
+
# @return [Integer]
|
|
170
|
+
attr_accessor :unique_spam_blocked
|
|
171
|
+
|
|
172
|
+
# TODO: Write general description for this method
|
|
173
|
+
# @return [Integer]
|
|
174
|
+
attr_accessor :unique_replied
|
|
175
|
+
|
|
176
|
+
# TODO: Write general description for this method
|
|
177
|
+
# @return [Integer]
|
|
178
|
+
attr_accessor :unique_demoed
|
|
179
|
+
|
|
180
|
+
# TODO: Write general description for this method
|
|
181
|
+
# @return [Integer]
|
|
182
|
+
attr_accessor :unique_clicked
|
|
183
|
+
|
|
184
|
+
# TODO: Write general description for this method
|
|
185
|
+
# @return [Integer]
|
|
186
|
+
attr_accessor :unique_unsubscribed
|
|
187
|
+
|
|
188
|
+
# TODO: Write general description for this method
|
|
189
|
+
# @return [Integer]
|
|
190
|
+
attr_accessor :bounce_rate
|
|
191
|
+
|
|
192
|
+
# TODO: Write general description for this method
|
|
193
|
+
# @return [Integer]
|
|
194
|
+
attr_accessor :hard_bounce_rate
|
|
195
|
+
|
|
196
|
+
# TODO: Write general description for this method
|
|
197
|
+
# @return [Integer]
|
|
198
|
+
attr_accessor :open_rate
|
|
199
|
+
|
|
200
|
+
# TODO: Write general description for this method
|
|
201
|
+
# @return [Integer]
|
|
202
|
+
attr_accessor :click_rate
|
|
203
|
+
|
|
204
|
+
# TODO: Write general description for this method
|
|
205
|
+
# @return [Integer]
|
|
206
|
+
attr_accessor :reply_rate
|
|
207
|
+
|
|
208
|
+
# TODO: Write general description for this method
|
|
209
|
+
# @return [Integer]
|
|
210
|
+
attr_accessor :spam_block_rate
|
|
211
|
+
|
|
212
|
+
# TODO: Write general description for this method
|
|
213
|
+
# @return [Integer]
|
|
214
|
+
attr_accessor :opt_out_rate
|
|
215
|
+
|
|
216
|
+
# TODO: Write general description for this method
|
|
217
|
+
# @return [Integer]
|
|
218
|
+
attr_accessor :demo_rate
|
|
219
|
+
|
|
220
|
+
# TODO: Write general description for this method
|
|
221
|
+
# @return [TrueClass | FalseClass]
|
|
222
|
+
attr_accessor :loaded_stats
|
|
223
|
+
|
|
224
|
+
# TODO: Write general description for this method
|
|
225
|
+
# @return [String]
|
|
226
|
+
attr_accessor :cc_emails
|
|
227
|
+
|
|
228
|
+
# TODO: Write general description for this method
|
|
229
|
+
# @return [String]
|
|
230
|
+
attr_accessor :bcc_emails
|
|
231
|
+
|
|
232
|
+
# TODO: Write general description for this method
|
|
233
|
+
# @return [Integer]
|
|
234
|
+
attr_accessor :underperforming_touches_count
|
|
235
|
+
|
|
236
|
+
# A mapping from model property names to API property names.
|
|
237
|
+
def self.names
|
|
238
|
+
@_hash = {} if @_hash.nil?
|
|
239
|
+
@_hash['id'] = 'id'
|
|
240
|
+
@_hash['name'] = 'name'
|
|
241
|
+
@_hash['archived'] = 'archived'
|
|
242
|
+
@_hash['created_at'] = 'created_at'
|
|
243
|
+
@_hash['emailer_schedule_id'] = 'emailer_schedule_id'
|
|
244
|
+
@_hash['max_emails_per_day'] = 'max_emails_per_day'
|
|
245
|
+
@_hash['user_id'] = 'user_id'
|
|
246
|
+
@_hash['same_account_reply_policy_cd'] = 'same_account_reply_policy_cd'
|
|
247
|
+
@_hash['excluded_account_stage_ids'] = 'excluded_account_stage_ids'
|
|
248
|
+
@_hash['excluded_contact_stage_ids'] = 'excluded_contact_stage_ids'
|
|
249
|
+
@_hash['contact_email_event_to_stage_mapping'] =
|
|
250
|
+
'contact_email_event_to_stage_mapping'
|
|
251
|
+
@_hash['label_ids'] = 'label_ids'
|
|
252
|
+
@_hash['create_task_if_email_open'] = 'create_task_if_email_open'
|
|
253
|
+
@_hash['email_open_trigger_task_threshold'] =
|
|
254
|
+
'email_open_trigger_task_threshold'
|
|
255
|
+
@_hash['mark_finished_if_click'] = 'mark_finished_if_click'
|
|
256
|
+
@_hash['active'] = 'active'
|
|
257
|
+
@_hash['days_to_wait_before_mark_as_response'] =
|
|
258
|
+
'days_to_wait_before_mark_as_response'
|
|
259
|
+
@_hash['starred_by_user_ids'] = 'starred_by_user_ids'
|
|
260
|
+
@_hash['mark_finished_if_reply'] = 'mark_finished_if_reply'
|
|
261
|
+
@_hash['mark_finished_if_interested'] = 'mark_finished_if_interested'
|
|
262
|
+
@_hash['mark_paused_if_ooo'] = 'mark_paused_if_ooo'
|
|
263
|
+
@_hash['sequence_by_exact_daytime'] = 'sequence_by_exact_daytime'
|
|
264
|
+
@_hash['permissions'] = 'permissions'
|
|
265
|
+
@_hash['last_used_at'] = 'last_used_at'
|
|
266
|
+
@_hash['sequence_ruleset_id'] = 'sequence_ruleset_id'
|
|
267
|
+
@_hash['folder_id'] = 'folder_id'
|
|
268
|
+
@_hash['same_account_reply_delay_days'] =
|
|
269
|
+
'same_account_reply_delay_days'
|
|
270
|
+
@_hash['is_performing_poorly'] = 'is_performing_poorly'
|
|
271
|
+
@_hash['num_contacts_email_status_extrapolated'] =
|
|
272
|
+
'num_contacts_email_status_extrapolated'
|
|
273
|
+
@_hash['remind_ab_test_results'] = 'remind_ab_test_results'
|
|
274
|
+
@_hash['ab_test_step_ids'] = 'ab_test_step_ids'
|
|
275
|
+
@_hash['prioritized_by_user'] = 'prioritized_by_user'
|
|
276
|
+
@_hash['creation_type'] = 'creation_type'
|
|
277
|
+
@_hash['num_steps'] = 'num_steps'
|
|
278
|
+
@_hash['unique_scheduled'] = 'unique_scheduled'
|
|
279
|
+
@_hash['unique_delivered'] = 'unique_delivered'
|
|
280
|
+
@_hash['unique_bounced'] = 'unique_bounced'
|
|
281
|
+
@_hash['unique_opened'] = 'unique_opened'
|
|
282
|
+
@_hash['unique_hard_bounced'] = 'unique_hard_bounced'
|
|
283
|
+
@_hash['unique_spam_blocked'] = 'unique_spam_blocked'
|
|
284
|
+
@_hash['unique_replied'] = 'unique_replied'
|
|
285
|
+
@_hash['unique_demoed'] = 'unique_demoed'
|
|
286
|
+
@_hash['unique_clicked'] = 'unique_clicked'
|
|
287
|
+
@_hash['unique_unsubscribed'] = 'unique_unsubscribed'
|
|
288
|
+
@_hash['bounce_rate'] = 'bounce_rate'
|
|
289
|
+
@_hash['hard_bounce_rate'] = 'hard_bounce_rate'
|
|
290
|
+
@_hash['open_rate'] = 'open_rate'
|
|
291
|
+
@_hash['click_rate'] = 'click_rate'
|
|
292
|
+
@_hash['reply_rate'] = 'reply_rate'
|
|
293
|
+
@_hash['spam_block_rate'] = 'spam_block_rate'
|
|
294
|
+
@_hash['opt_out_rate'] = 'opt_out_rate'
|
|
295
|
+
@_hash['demo_rate'] = 'demo_rate'
|
|
296
|
+
@_hash['loaded_stats'] = 'loaded_stats'
|
|
297
|
+
@_hash['cc_emails'] = 'cc_emails'
|
|
298
|
+
@_hash['bcc_emails'] = 'bcc_emails'
|
|
299
|
+
@_hash['underperforming_touches_count'] =
|
|
300
|
+
'underperforming_touches_count'
|
|
301
|
+
@_hash
|
|
302
|
+
end
|
|
303
|
+
|
|
304
|
+
# An array for optional fields
|
|
305
|
+
def self.optionals
|
|
306
|
+
%w[
|
|
307
|
+
id
|
|
308
|
+
name
|
|
309
|
+
archived
|
|
310
|
+
created_at
|
|
311
|
+
emailer_schedule_id
|
|
312
|
+
max_emails_per_day
|
|
313
|
+
user_id
|
|
314
|
+
same_account_reply_policy_cd
|
|
315
|
+
excluded_account_stage_ids
|
|
316
|
+
excluded_contact_stage_ids
|
|
317
|
+
contact_email_event_to_stage_mapping
|
|
318
|
+
label_ids
|
|
319
|
+
create_task_if_email_open
|
|
320
|
+
email_open_trigger_task_threshold
|
|
321
|
+
mark_finished_if_click
|
|
322
|
+
active
|
|
323
|
+
days_to_wait_before_mark_as_response
|
|
324
|
+
starred_by_user_ids
|
|
325
|
+
mark_finished_if_reply
|
|
326
|
+
mark_finished_if_interested
|
|
327
|
+
mark_paused_if_ooo
|
|
328
|
+
sequence_by_exact_daytime
|
|
329
|
+
permissions
|
|
330
|
+
last_used_at
|
|
331
|
+
sequence_ruleset_id
|
|
332
|
+
folder_id
|
|
333
|
+
same_account_reply_delay_days
|
|
334
|
+
is_performing_poorly
|
|
335
|
+
num_contacts_email_status_extrapolated
|
|
336
|
+
remind_ab_test_results
|
|
337
|
+
ab_test_step_ids
|
|
338
|
+
prioritized_by_user
|
|
339
|
+
creation_type
|
|
340
|
+
num_steps
|
|
341
|
+
unique_scheduled
|
|
342
|
+
unique_delivered
|
|
343
|
+
unique_bounced
|
|
344
|
+
unique_opened
|
|
345
|
+
unique_hard_bounced
|
|
346
|
+
unique_spam_blocked
|
|
347
|
+
unique_replied
|
|
348
|
+
unique_demoed
|
|
349
|
+
unique_clicked
|
|
350
|
+
unique_unsubscribed
|
|
351
|
+
bounce_rate
|
|
352
|
+
hard_bounce_rate
|
|
353
|
+
open_rate
|
|
354
|
+
click_rate
|
|
355
|
+
reply_rate
|
|
356
|
+
spam_block_rate
|
|
357
|
+
opt_out_rate
|
|
358
|
+
demo_rate
|
|
359
|
+
loaded_stats
|
|
360
|
+
cc_emails
|
|
361
|
+
bcc_emails
|
|
362
|
+
underperforming_touches_count
|
|
363
|
+
]
|
|
364
|
+
end
|
|
365
|
+
|
|
366
|
+
# An array for nullable fields
|
|
367
|
+
def self.nullables
|
|
368
|
+
[]
|
|
369
|
+
end
|
|
370
|
+
|
|
371
|
+
def initialize(id: SKIP, name: SKIP, archived: true, created_at: SKIP,
|
|
372
|
+
emailer_schedule_id: SKIP, max_emails_per_day: SKIP,
|
|
373
|
+
user_id: SKIP, same_account_reply_policy_cd: SKIP,
|
|
374
|
+
excluded_account_stage_ids: SKIP,
|
|
375
|
+
excluded_contact_stage_ids: SKIP,
|
|
376
|
+
contact_email_event_to_stage_mapping: SKIP, label_ids: SKIP,
|
|
377
|
+
create_task_if_email_open: true,
|
|
378
|
+
email_open_trigger_task_threshold: 0,
|
|
379
|
+
mark_finished_if_click: true, active: true,
|
|
380
|
+
days_to_wait_before_mark_as_response: 0,
|
|
381
|
+
starred_by_user_ids: SKIP, mark_finished_if_reply: true,
|
|
382
|
+
mark_finished_if_interested: true, mark_paused_if_ooo: true,
|
|
383
|
+
sequence_by_exact_daytime: SKIP, permissions: SKIP,
|
|
384
|
+
last_used_at: SKIP, sequence_ruleset_id: SKIP,
|
|
385
|
+
folder_id: SKIP, same_account_reply_delay_days: 0,
|
|
386
|
+
is_performing_poorly: true,
|
|
387
|
+
num_contacts_email_status_extrapolated: 0,
|
|
388
|
+
remind_ab_test_results: true, ab_test_step_ids: SKIP,
|
|
389
|
+
prioritized_by_user: SKIP, creation_type: SKIP, num_steps: 0,
|
|
390
|
+
unique_scheduled: 0, unique_delivered: 0, unique_bounced: 0,
|
|
391
|
+
unique_opened: 0, unique_hard_bounced: 0,
|
|
392
|
+
unique_spam_blocked: 0, unique_replied: 0, unique_demoed: 0,
|
|
393
|
+
unique_clicked: 0, unique_unsubscribed: 0, bounce_rate: 0,
|
|
394
|
+
hard_bounce_rate: 0, open_rate: 0, click_rate: 0,
|
|
395
|
+
reply_rate: 0, spam_block_rate: 0, opt_out_rate: 0,
|
|
396
|
+
demo_rate: 0, loaded_stats: true, cc_emails: SKIP,
|
|
397
|
+
bcc_emails: SKIP, underperforming_touches_count: 0,
|
|
398
|
+
additional_properties: nil)
|
|
399
|
+
# Add additional model properties to the instance
|
|
400
|
+
additional_properties = {} if additional_properties.nil?
|
|
401
|
+
|
|
402
|
+
@id = id unless id == SKIP
|
|
403
|
+
@name = name unless name == SKIP
|
|
404
|
+
@archived = archived unless archived == SKIP
|
|
405
|
+
@created_at = created_at unless created_at == SKIP
|
|
406
|
+
@emailer_schedule_id = emailer_schedule_id unless emailer_schedule_id == SKIP
|
|
407
|
+
@max_emails_per_day = max_emails_per_day unless max_emails_per_day == SKIP
|
|
408
|
+
@user_id = user_id unless user_id == SKIP
|
|
409
|
+
unless same_account_reply_policy_cd == SKIP
|
|
410
|
+
@same_account_reply_policy_cd =
|
|
411
|
+
same_account_reply_policy_cd
|
|
412
|
+
end
|
|
413
|
+
unless excluded_account_stage_ids == SKIP
|
|
414
|
+
@excluded_account_stage_ids =
|
|
415
|
+
excluded_account_stage_ids
|
|
416
|
+
end
|
|
417
|
+
unless excluded_contact_stage_ids == SKIP
|
|
418
|
+
@excluded_contact_stage_ids =
|
|
419
|
+
excluded_contact_stage_ids
|
|
420
|
+
end
|
|
421
|
+
unless contact_email_event_to_stage_mapping == SKIP
|
|
422
|
+
@contact_email_event_to_stage_mapping =
|
|
423
|
+
contact_email_event_to_stage_mapping
|
|
424
|
+
end
|
|
425
|
+
@label_ids = label_ids unless label_ids == SKIP
|
|
426
|
+
unless create_task_if_email_open == SKIP
|
|
427
|
+
@create_task_if_email_open =
|
|
428
|
+
create_task_if_email_open
|
|
429
|
+
end
|
|
430
|
+
unless email_open_trigger_task_threshold == SKIP
|
|
431
|
+
@email_open_trigger_task_threshold =
|
|
432
|
+
email_open_trigger_task_threshold
|
|
433
|
+
end
|
|
434
|
+
@mark_finished_if_click = mark_finished_if_click unless mark_finished_if_click == SKIP
|
|
435
|
+
@active = active unless active == SKIP
|
|
436
|
+
unless days_to_wait_before_mark_as_response == SKIP
|
|
437
|
+
@days_to_wait_before_mark_as_response =
|
|
438
|
+
days_to_wait_before_mark_as_response
|
|
439
|
+
end
|
|
440
|
+
@starred_by_user_ids = starred_by_user_ids unless starred_by_user_ids == SKIP
|
|
441
|
+
@mark_finished_if_reply = mark_finished_if_reply unless mark_finished_if_reply == SKIP
|
|
442
|
+
unless mark_finished_if_interested == SKIP
|
|
443
|
+
@mark_finished_if_interested =
|
|
444
|
+
mark_finished_if_interested
|
|
445
|
+
end
|
|
446
|
+
@mark_paused_if_ooo = mark_paused_if_ooo unless mark_paused_if_ooo == SKIP
|
|
447
|
+
unless sequence_by_exact_daytime == SKIP
|
|
448
|
+
@sequence_by_exact_daytime =
|
|
449
|
+
sequence_by_exact_daytime
|
|
450
|
+
end
|
|
451
|
+
@permissions = permissions unless permissions == SKIP
|
|
452
|
+
@last_used_at = last_used_at unless last_used_at == SKIP
|
|
453
|
+
@sequence_ruleset_id = sequence_ruleset_id unless sequence_ruleset_id == SKIP
|
|
454
|
+
@folder_id = folder_id unless folder_id == SKIP
|
|
455
|
+
unless same_account_reply_delay_days == SKIP
|
|
456
|
+
@same_account_reply_delay_days =
|
|
457
|
+
same_account_reply_delay_days
|
|
458
|
+
end
|
|
459
|
+
@is_performing_poorly = is_performing_poorly unless is_performing_poorly == SKIP
|
|
460
|
+
unless num_contacts_email_status_extrapolated == SKIP
|
|
461
|
+
@num_contacts_email_status_extrapolated =
|
|
462
|
+
num_contacts_email_status_extrapolated
|
|
463
|
+
end
|
|
464
|
+
@remind_ab_test_results = remind_ab_test_results unless remind_ab_test_results == SKIP
|
|
465
|
+
@ab_test_step_ids = ab_test_step_ids unless ab_test_step_ids == SKIP
|
|
466
|
+
@prioritized_by_user = prioritized_by_user unless prioritized_by_user == SKIP
|
|
467
|
+
@creation_type = creation_type unless creation_type == SKIP
|
|
468
|
+
@num_steps = num_steps unless num_steps == SKIP
|
|
469
|
+
@unique_scheduled = unique_scheduled unless unique_scheduled == SKIP
|
|
470
|
+
@unique_delivered = unique_delivered unless unique_delivered == SKIP
|
|
471
|
+
@unique_bounced = unique_bounced unless unique_bounced == SKIP
|
|
472
|
+
@unique_opened = unique_opened unless unique_opened == SKIP
|
|
473
|
+
@unique_hard_bounced = unique_hard_bounced unless unique_hard_bounced == SKIP
|
|
474
|
+
@unique_spam_blocked = unique_spam_blocked unless unique_spam_blocked == SKIP
|
|
475
|
+
@unique_replied = unique_replied unless unique_replied == SKIP
|
|
476
|
+
@unique_demoed = unique_demoed unless unique_demoed == SKIP
|
|
477
|
+
@unique_clicked = unique_clicked unless unique_clicked == SKIP
|
|
478
|
+
@unique_unsubscribed = unique_unsubscribed unless unique_unsubscribed == SKIP
|
|
479
|
+
@bounce_rate = bounce_rate unless bounce_rate == SKIP
|
|
480
|
+
@hard_bounce_rate = hard_bounce_rate unless hard_bounce_rate == SKIP
|
|
481
|
+
@open_rate = open_rate unless open_rate == SKIP
|
|
482
|
+
@click_rate = click_rate unless click_rate == SKIP
|
|
483
|
+
@reply_rate = reply_rate unless reply_rate == SKIP
|
|
484
|
+
@spam_block_rate = spam_block_rate unless spam_block_rate == SKIP
|
|
485
|
+
@opt_out_rate = opt_out_rate unless opt_out_rate == SKIP
|
|
486
|
+
@demo_rate = demo_rate unless demo_rate == SKIP
|
|
487
|
+
@loaded_stats = loaded_stats unless loaded_stats == SKIP
|
|
488
|
+
@cc_emails = cc_emails unless cc_emails == SKIP
|
|
489
|
+
@bcc_emails = bcc_emails unless bcc_emails == SKIP
|
|
490
|
+
unless underperforming_touches_count == SKIP
|
|
491
|
+
@underperforming_touches_count =
|
|
492
|
+
underperforming_touches_count
|
|
493
|
+
end
|
|
494
|
+
@additional_properties = additional_properties
|
|
495
|
+
end
|
|
496
|
+
|
|
497
|
+
# Creates an instance of the object from a hash.
|
|
498
|
+
def self.from_hash(hash)
|
|
499
|
+
return nil unless hash
|
|
500
|
+
|
|
501
|
+
# Extract variables from the hash.
|
|
502
|
+
id = hash.key?('id') ? hash['id'] : SKIP
|
|
503
|
+
name = hash.key?('name') ? hash['name'] : SKIP
|
|
504
|
+
archived = hash['archived'] ||= true
|
|
505
|
+
created_at = hash.key?('created_at') ? hash['created_at'] : SKIP
|
|
506
|
+
emailer_schedule_id =
|
|
507
|
+
hash.key?('emailer_schedule_id') ? hash['emailer_schedule_id'] : SKIP
|
|
508
|
+
max_emails_per_day =
|
|
509
|
+
hash.key?('max_emails_per_day') ? hash['max_emails_per_day'] : SKIP
|
|
510
|
+
user_id = hash.key?('user_id') ? hash['user_id'] : SKIP
|
|
511
|
+
same_account_reply_policy_cd =
|
|
512
|
+
hash.key?('same_account_reply_policy_cd') ? hash['same_account_reply_policy_cd'] : SKIP
|
|
513
|
+
excluded_account_stage_ids =
|
|
514
|
+
hash.key?('excluded_account_stage_ids') ? hash['excluded_account_stage_ids'] : SKIP
|
|
515
|
+
excluded_contact_stage_ids =
|
|
516
|
+
hash.key?('excluded_contact_stage_ids') ? hash['excluded_contact_stage_ids'] : SKIP
|
|
517
|
+
contact_email_event_to_stage_mapping =
|
|
518
|
+
hash.key?('contact_email_event_to_stage_mapping') ? hash['contact_email_event_to_stage_mapping'] : SKIP
|
|
519
|
+
label_ids = hash.key?('label_ids') ? hash['label_ids'] : SKIP
|
|
520
|
+
create_task_if_email_open = hash['create_task_if_email_open'] ||= true
|
|
521
|
+
email_open_trigger_task_threshold =
|
|
522
|
+
hash['email_open_trigger_task_threshold'] ||= 0
|
|
523
|
+
mark_finished_if_click = hash['mark_finished_if_click'] ||= true
|
|
524
|
+
active = hash['active'] ||= true
|
|
525
|
+
days_to_wait_before_mark_as_response =
|
|
526
|
+
hash['days_to_wait_before_mark_as_response'] ||= 0
|
|
527
|
+
starred_by_user_ids =
|
|
528
|
+
hash.key?('starred_by_user_ids') ? hash['starred_by_user_ids'] : SKIP
|
|
529
|
+
mark_finished_if_reply = hash['mark_finished_if_reply'] ||= true
|
|
530
|
+
mark_finished_if_interested = hash['mark_finished_if_interested'] ||= true
|
|
531
|
+
mark_paused_if_ooo = hash['mark_paused_if_ooo'] ||= true
|
|
532
|
+
sequence_by_exact_daytime =
|
|
533
|
+
hash.key?('sequence_by_exact_daytime') ? hash['sequence_by_exact_daytime'] : SKIP
|
|
534
|
+
permissions = hash.key?('permissions') ? hash['permissions'] : SKIP
|
|
535
|
+
last_used_at = hash.key?('last_used_at') ? hash['last_used_at'] : SKIP
|
|
536
|
+
sequence_ruleset_id =
|
|
537
|
+
hash.key?('sequence_ruleset_id') ? hash['sequence_ruleset_id'] : SKIP
|
|
538
|
+
folder_id = hash.key?('folder_id') ? hash['folder_id'] : SKIP
|
|
539
|
+
same_account_reply_delay_days =
|
|
540
|
+
hash['same_account_reply_delay_days'] ||= 0
|
|
541
|
+
is_performing_poorly = hash['is_performing_poorly'] ||= true
|
|
542
|
+
num_contacts_email_status_extrapolated =
|
|
543
|
+
hash['num_contacts_email_status_extrapolated'] ||= 0
|
|
544
|
+
remind_ab_test_results = hash['remind_ab_test_results'] ||= true
|
|
545
|
+
ab_test_step_ids =
|
|
546
|
+
hash.key?('ab_test_step_ids') ? hash['ab_test_step_ids'] : SKIP
|
|
547
|
+
prioritized_by_user =
|
|
548
|
+
hash.key?('prioritized_by_user') ? hash['prioritized_by_user'] : SKIP
|
|
549
|
+
creation_type = hash.key?('creation_type') ? hash['creation_type'] : SKIP
|
|
550
|
+
num_steps = hash['num_steps'] ||= 0
|
|
551
|
+
unique_scheduled = hash['unique_scheduled'] ||= 0
|
|
552
|
+
unique_delivered = hash['unique_delivered'] ||= 0
|
|
553
|
+
unique_bounced = hash['unique_bounced'] ||= 0
|
|
554
|
+
unique_opened = hash['unique_opened'] ||= 0
|
|
555
|
+
unique_hard_bounced = hash['unique_hard_bounced'] ||= 0
|
|
556
|
+
unique_spam_blocked = hash['unique_spam_blocked'] ||= 0
|
|
557
|
+
unique_replied = hash['unique_replied'] ||= 0
|
|
558
|
+
unique_demoed = hash['unique_demoed'] ||= 0
|
|
559
|
+
unique_clicked = hash['unique_clicked'] ||= 0
|
|
560
|
+
unique_unsubscribed = hash['unique_unsubscribed'] ||= 0
|
|
561
|
+
bounce_rate = hash['bounce_rate'] ||= 0
|
|
562
|
+
hard_bounce_rate = hash['hard_bounce_rate'] ||= 0
|
|
563
|
+
open_rate = hash['open_rate'] ||= 0
|
|
564
|
+
click_rate = hash['click_rate'] ||= 0
|
|
565
|
+
reply_rate = hash['reply_rate'] ||= 0
|
|
566
|
+
spam_block_rate = hash['spam_block_rate'] ||= 0
|
|
567
|
+
opt_out_rate = hash['opt_out_rate'] ||= 0
|
|
568
|
+
demo_rate = hash['demo_rate'] ||= 0
|
|
569
|
+
loaded_stats = hash['loaded_stats'] ||= true
|
|
570
|
+
cc_emails = hash.key?('cc_emails') ? hash['cc_emails'] : SKIP
|
|
571
|
+
bcc_emails = hash.key?('bcc_emails') ? hash['bcc_emails'] : SKIP
|
|
572
|
+
underperforming_touches_count =
|
|
573
|
+
hash['underperforming_touches_count'] ||= 0
|
|
574
|
+
|
|
575
|
+
# Create a new hash for additional properties, removing known properties.
|
|
576
|
+
new_hash = hash.reject { |k, _| names.value?(k) }
|
|
577
|
+
|
|
578
|
+
additional_properties = APIHelper.get_additional_properties(
|
|
579
|
+
new_hash, proc { |value| value }
|
|
580
|
+
)
|
|
581
|
+
|
|
582
|
+
# Create object from extracted values.
|
|
583
|
+
EmailerCampaign.new(id: id,
|
|
584
|
+
name: name,
|
|
585
|
+
archived: archived,
|
|
586
|
+
created_at: created_at,
|
|
587
|
+
emailer_schedule_id: emailer_schedule_id,
|
|
588
|
+
max_emails_per_day: max_emails_per_day,
|
|
589
|
+
user_id: user_id,
|
|
590
|
+
same_account_reply_policy_cd: same_account_reply_policy_cd,
|
|
591
|
+
excluded_account_stage_ids: excluded_account_stage_ids,
|
|
592
|
+
excluded_contact_stage_ids: excluded_contact_stage_ids,
|
|
593
|
+
contact_email_event_to_stage_mapping: contact_email_event_to_stage_mapping,
|
|
594
|
+
label_ids: label_ids,
|
|
595
|
+
create_task_if_email_open: create_task_if_email_open,
|
|
596
|
+
email_open_trigger_task_threshold: email_open_trigger_task_threshold,
|
|
597
|
+
mark_finished_if_click: mark_finished_if_click,
|
|
598
|
+
active: active,
|
|
599
|
+
days_to_wait_before_mark_as_response: days_to_wait_before_mark_as_response,
|
|
600
|
+
starred_by_user_ids: starred_by_user_ids,
|
|
601
|
+
mark_finished_if_reply: mark_finished_if_reply,
|
|
602
|
+
mark_finished_if_interested: mark_finished_if_interested,
|
|
603
|
+
mark_paused_if_ooo: mark_paused_if_ooo,
|
|
604
|
+
sequence_by_exact_daytime: sequence_by_exact_daytime,
|
|
605
|
+
permissions: permissions,
|
|
606
|
+
last_used_at: last_used_at,
|
|
607
|
+
sequence_ruleset_id: sequence_ruleset_id,
|
|
608
|
+
folder_id: folder_id,
|
|
609
|
+
same_account_reply_delay_days: same_account_reply_delay_days,
|
|
610
|
+
is_performing_poorly: is_performing_poorly,
|
|
611
|
+
num_contacts_email_status_extrapolated: num_contacts_email_status_extrapolated,
|
|
612
|
+
remind_ab_test_results: remind_ab_test_results,
|
|
613
|
+
ab_test_step_ids: ab_test_step_ids,
|
|
614
|
+
prioritized_by_user: prioritized_by_user,
|
|
615
|
+
creation_type: creation_type,
|
|
616
|
+
num_steps: num_steps,
|
|
617
|
+
unique_scheduled: unique_scheduled,
|
|
618
|
+
unique_delivered: unique_delivered,
|
|
619
|
+
unique_bounced: unique_bounced,
|
|
620
|
+
unique_opened: unique_opened,
|
|
621
|
+
unique_hard_bounced: unique_hard_bounced,
|
|
622
|
+
unique_spam_blocked: unique_spam_blocked,
|
|
623
|
+
unique_replied: unique_replied,
|
|
624
|
+
unique_demoed: unique_demoed,
|
|
625
|
+
unique_clicked: unique_clicked,
|
|
626
|
+
unique_unsubscribed: unique_unsubscribed,
|
|
627
|
+
bounce_rate: bounce_rate,
|
|
628
|
+
hard_bounce_rate: hard_bounce_rate,
|
|
629
|
+
open_rate: open_rate,
|
|
630
|
+
click_rate: click_rate,
|
|
631
|
+
reply_rate: reply_rate,
|
|
632
|
+
spam_block_rate: spam_block_rate,
|
|
633
|
+
opt_out_rate: opt_out_rate,
|
|
634
|
+
demo_rate: demo_rate,
|
|
635
|
+
loaded_stats: loaded_stats,
|
|
636
|
+
cc_emails: cc_emails,
|
|
637
|
+
bcc_emails: bcc_emails,
|
|
638
|
+
underperforming_touches_count: underperforming_touches_count,
|
|
639
|
+
additional_properties: additional_properties)
|
|
640
|
+
end
|
|
641
|
+
|
|
642
|
+
# Provides a human-readable string representation of the object.
|
|
643
|
+
def to_s
|
|
644
|
+
class_name = self.class.name.split('::').last
|
|
645
|
+
"<#{class_name} id: #{@id}, name: #{@name}, archived: #{@archived}, created_at:"\
|
|
646
|
+
" #{@created_at}, emailer_schedule_id: #{@emailer_schedule_id}, max_emails_per_day:"\
|
|
647
|
+
" #{@max_emails_per_day}, user_id: #{@user_id}, same_account_reply_policy_cd:"\
|
|
648
|
+
" #{@same_account_reply_policy_cd}, excluded_account_stage_ids:"\
|
|
649
|
+
" #{@excluded_account_stage_ids}, excluded_contact_stage_ids:"\
|
|
650
|
+
" #{@excluded_contact_stage_ids}, contact_email_event_to_stage_mapping:"\
|
|
651
|
+
" #{@contact_email_event_to_stage_mapping}, label_ids: #{@label_ids},"\
|
|
652
|
+
" create_task_if_email_open: #{@create_task_if_email_open},"\
|
|
653
|
+
" email_open_trigger_task_threshold: #{@email_open_trigger_task_threshold},"\
|
|
654
|
+
" mark_finished_if_click: #{@mark_finished_if_click}, active: #{@active},"\
|
|
655
|
+
" days_to_wait_before_mark_as_response: #{@days_to_wait_before_mark_as_response},"\
|
|
656
|
+
" starred_by_user_ids: #{@starred_by_user_ids}, mark_finished_if_reply:"\
|
|
657
|
+
" #{@mark_finished_if_reply}, mark_finished_if_interested: #{@mark_finished_if_interested},"\
|
|
658
|
+
" mark_paused_if_ooo: #{@mark_paused_if_ooo}, sequence_by_exact_daytime:"\
|
|
659
|
+
" #{@sequence_by_exact_daytime}, permissions: #{@permissions}, last_used_at:"\
|
|
660
|
+
" #{@last_used_at}, sequence_ruleset_id: #{@sequence_ruleset_id}, folder_id: #{@folder_id},"\
|
|
661
|
+
" same_account_reply_delay_days: #{@same_account_reply_delay_days}, is_performing_poorly:"\
|
|
662
|
+
" #{@is_performing_poorly}, num_contacts_email_status_extrapolated:"\
|
|
663
|
+
" #{@num_contacts_email_status_extrapolated}, remind_ab_test_results:"\
|
|
664
|
+
" #{@remind_ab_test_results}, ab_test_step_ids: #{@ab_test_step_ids}, prioritized_by_user:"\
|
|
665
|
+
" #{@prioritized_by_user}, creation_type: #{@creation_type}, num_steps: #{@num_steps},"\
|
|
666
|
+
" unique_scheduled: #{@unique_scheduled}, unique_delivered: #{@unique_delivered},"\
|
|
667
|
+
" unique_bounced: #{@unique_bounced}, unique_opened: #{@unique_opened}, unique_hard_bounced:"\
|
|
668
|
+
" #{@unique_hard_bounced}, unique_spam_blocked: #{@unique_spam_blocked}, unique_replied:"\
|
|
669
|
+
" #{@unique_replied}, unique_demoed: #{@unique_demoed}, unique_clicked: #{@unique_clicked},"\
|
|
670
|
+
" unique_unsubscribed: #{@unique_unsubscribed}, bounce_rate: #{@bounce_rate},"\
|
|
671
|
+
" hard_bounce_rate: #{@hard_bounce_rate}, open_rate: #{@open_rate}, click_rate:"\
|
|
672
|
+
" #{@click_rate}, reply_rate: #{@reply_rate}, spam_block_rate: #{@spam_block_rate},"\
|
|
673
|
+
" opt_out_rate: #{@opt_out_rate}, demo_rate: #{@demo_rate}, loaded_stats: #{@loaded_stats},"\
|
|
674
|
+
" cc_emails: #{@cc_emails}, bcc_emails: #{@bcc_emails}, underperforming_touches_count:"\
|
|
675
|
+
" #{@underperforming_touches_count}, additional_properties: #{@additional_properties}>"
|
|
676
|
+
end
|
|
677
|
+
|
|
678
|
+
# Provides a debugging-friendly string with detailed object information.
|
|
679
|
+
def inspect
|
|
680
|
+
class_name = self.class.name.split('::').last
|
|
681
|
+
"<#{class_name} id: #{@id.inspect}, name: #{@name.inspect}, archived: #{@archived.inspect},"\
|
|
682
|
+
" created_at: #{@created_at.inspect}, emailer_schedule_id: #{@emailer_schedule_id.inspect},"\
|
|
683
|
+
" max_emails_per_day: #{@max_emails_per_day.inspect}, user_id: #{@user_id.inspect},"\
|
|
684
|
+
" same_account_reply_policy_cd: #{@same_account_reply_policy_cd.inspect},"\
|
|
685
|
+
" excluded_account_stage_ids: #{@excluded_account_stage_ids.inspect},"\
|
|
686
|
+
" excluded_contact_stage_ids: #{@excluded_contact_stage_ids.inspect},"\
|
|
687
|
+
" contact_email_event_to_stage_mapping: #{@contact_email_event_to_stage_mapping.inspect},"\
|
|
688
|
+
" label_ids: #{@label_ids.inspect}, create_task_if_email_open:"\
|
|
689
|
+
" #{@create_task_if_email_open.inspect}, email_open_trigger_task_threshold:"\
|
|
690
|
+
" #{@email_open_trigger_task_threshold.inspect}, mark_finished_if_click:"\
|
|
691
|
+
" #{@mark_finished_if_click.inspect}, active: #{@active.inspect},"\
|
|
692
|
+
" days_to_wait_before_mark_as_response: #{@days_to_wait_before_mark_as_response.inspect},"\
|
|
693
|
+
" starred_by_user_ids: #{@starred_by_user_ids.inspect}, mark_finished_if_reply:"\
|
|
694
|
+
" #{@mark_finished_if_reply.inspect}, mark_finished_if_interested:"\
|
|
695
|
+
" #{@mark_finished_if_interested.inspect}, mark_paused_if_ooo:"\
|
|
696
|
+
" #{@mark_paused_if_ooo.inspect}, sequence_by_exact_daytime:"\
|
|
697
|
+
" #{@sequence_by_exact_daytime.inspect}, permissions: #{@permissions.inspect}, last_used_at:"\
|
|
698
|
+
" #{@last_used_at.inspect}, sequence_ruleset_id: #{@sequence_ruleset_id.inspect}, folder_id:"\
|
|
699
|
+
" #{@folder_id.inspect}, same_account_reply_delay_days:"\
|
|
700
|
+
" #{@same_account_reply_delay_days.inspect}, is_performing_poorly:"\
|
|
701
|
+
" #{@is_performing_poorly.inspect}, num_contacts_email_status_extrapolated:"\
|
|
702
|
+
" #{@num_contacts_email_status_extrapolated.inspect}, remind_ab_test_results:"\
|
|
703
|
+
" #{@remind_ab_test_results.inspect}, ab_test_step_ids: #{@ab_test_step_ids.inspect},"\
|
|
704
|
+
" prioritized_by_user: #{@prioritized_by_user.inspect}, creation_type:"\
|
|
705
|
+
" #{@creation_type.inspect}, num_steps: #{@num_steps.inspect}, unique_scheduled:"\
|
|
706
|
+
" #{@unique_scheduled.inspect}, unique_delivered: #{@unique_delivered.inspect},"\
|
|
707
|
+
" unique_bounced: #{@unique_bounced.inspect}, unique_opened: #{@unique_opened.inspect},"\
|
|
708
|
+
" unique_hard_bounced: #{@unique_hard_bounced.inspect}, unique_spam_blocked:"\
|
|
709
|
+
" #{@unique_spam_blocked.inspect}, unique_replied: #{@unique_replied.inspect},"\
|
|
710
|
+
" unique_demoed: #{@unique_demoed.inspect}, unique_clicked: #{@unique_clicked.inspect},"\
|
|
711
|
+
" unique_unsubscribed: #{@unique_unsubscribed.inspect}, bounce_rate:"\
|
|
712
|
+
" #{@bounce_rate.inspect}, hard_bounce_rate: #{@hard_bounce_rate.inspect}, open_rate:"\
|
|
713
|
+
" #{@open_rate.inspect}, click_rate: #{@click_rate.inspect}, reply_rate:"\
|
|
714
|
+
" #{@reply_rate.inspect}, spam_block_rate: #{@spam_block_rate.inspect}, opt_out_rate:"\
|
|
715
|
+
" #{@opt_out_rate.inspect}, demo_rate: #{@demo_rate.inspect}, loaded_stats:"\
|
|
716
|
+
" #{@loaded_stats.inspect}, cc_emails: #{@cc_emails.inspect}, bcc_emails:"\
|
|
717
|
+
" #{@bcc_emails.inspect}, underperforming_touches_count:"\
|
|
718
|
+
" #{@underperforming_touches_count.inspect}, additional_properties:"\
|
|
719
|
+
" #{@additional_properties}>"
|
|
720
|
+
end
|
|
721
|
+
end
|
|
722
|
+
end
|