sib-api-v3-sdk 7.2.0 → 8.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +72 -12
- data/docs/Body.md +18 -0
- data/docs/Body1.md +18 -0
- data/docs/CRMApi.md +710 -0
- data/docs/Contact.md +15 -0
- data/docs/ContactsApi.md +77 -18
- data/docs/CreateEmailCampaign.md +1 -1
- data/docs/CreateSmsCampaign.md +2 -1
- data/docs/CreateSmtpEmail.md +2 -1
- data/docs/CreateSubAccount.md +10 -0
- data/docs/CreateWebhook.md +2 -1
- data/docs/EmailCampaignsApi.md +6 -6
- data/docs/FileData.md +17 -0
- data/docs/FoldersApi.md +4 -4
- data/docs/GetCampaignOverview.md +1 -1
- data/docs/GetCampaignStats.md +1 -0
- data/docs/GetContactCampaignStats.md +1 -0
- data/docs/GetContactCampaignStatsOpened.md +1 -1
- data/docs/GetContactDetails.md +2 -2
- data/docs/GetEmailCampaign.md +6 -6
- data/docs/GetEmailEventReportEvents.md +1 -1
- data/docs/GetExtendedCampaignOverview.md +4 -4
- data/docs/GetExtendedCampaignStats.md +1 -1
- data/docs/{SendTemplateEmail.md → GetExtendedCampaignStatsGlobalStats.md} +1 -2
- data/docs/GetExtendedContactDetails.md +2 -2
- data/docs/GetExtendedContactDetailsStatistics.md +1 -0
- data/docs/GetExtendedContactDetailsStatisticsDelivered.md +9 -0
- data/docs/GetExtendedContactDetailsStatisticsLinks.md +1 -1
- data/docs/GetExtendedContactDetailsStatisticsMessagesSent.md +1 -1
- data/docs/GetExtendedContactDetailsStatisticsOpened.md +1 -1
- data/docs/GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription.md +1 -1
- data/docs/GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription.md +1 -1
- data/docs/GetExtendedList.md +2 -1
- data/docs/GetInboundEmailEvents.md +8 -0
- data/docs/GetInboundEmailEventsByUuid.md +15 -0
- data/docs/GetInboundEmailEventsByUuidAttachments.md +11 -0
- data/docs/GetInboundEmailEventsByUuidLogs.md +9 -0
- data/docs/GetInboundEmailEventsEvents.md +11 -0
- data/docs/GetList.md +1 -0
- data/docs/GetSmsCampaign.md +5 -5
- data/docs/GetSmsCampaignOverview.md +3 -3
- data/docs/GetSmsCampaignRecipients.md +7 -0
- data/docs/GetSmsEventReportEvents.md +1 -1
- data/docs/GetSmtpTemplateOverview.md +2 -2
- data/docs/GetTransacBlockedContactsContacts.md +1 -1
- data/docs/GetTransacEmailContent.md +1 -1
- data/docs/GetTransacEmailContentEvents.md +1 -1
- data/docs/GetTransacEmailsList.md +1 -0
- data/docs/GetTransacEmailsListTransactionalEmails.md +1 -1
- data/docs/GetWebhook.md +2 -2
- data/docs/InboundParsingApi.md +139 -0
- data/docs/ListsApi.md +8 -8
- data/docs/MasterAccountApi.md +367 -0
- data/docs/MasterDetailsResponse.md +14 -0
- data/docs/MasterDetailsResponseBillingInfo.md +11 -0
- data/docs/MasterDetailsResponseBillingInfoAddress.md +12 -0
- data/docs/MasterDetailsResponseBillingInfoName.md +9 -0
- data/docs/MasterDetailsResponsePlanInfo.md +13 -0
- data/docs/MasterDetailsResponsePlanInfoFeatures.md +12 -0
- data/docs/Note.md +14 -0
- data/docs/NoteData.md +10 -0
- data/docs/ProcessApi.md +2 -2
- data/docs/RequestContactExport.md +1 -2
- data/docs/SMSCampaignsApi.md +6 -6
- data/docs/SendSmtpEmail.md +5 -4
- data/docs/SendSmtpEmailMessageVersions.md +13 -0
- data/docs/SendSmtpEmailReplyTo1.md +9 -0
- data/docs/SendSmtpEmailTo1.md +9 -0
- data/docs/SendTestEmail.md +1 -1
- data/docs/SendTransacSms.md +1 -0
- data/docs/SsoTokenRequest.md +9 -0
- data/docs/SubAccountDetailsResponse.md +11 -0
- data/docs/SubAccountDetailsResponsePlanInfo.md +10 -0
- data/docs/SubAccountDetailsResponsePlanInfoCredits.md +9 -0
- data/docs/SubAccountDetailsResponsePlanInfoCreditsEmails.md +9 -0
- data/docs/SubAccountDetailsResponsePlanInfoFeatures.md +10 -0
- data/docs/SubAccountDetailsResponsePlanInfoFeaturesInbox.md +9 -0
- data/docs/SubAccountDetailsResponsePlanInfoFeaturesLandingPage.md +9 -0
- data/docs/SubAccountDetailsResponsePlanInfoFeaturesUsers.md +9 -0
- data/docs/SubAccountUpdatePlanRequest.md +9 -0
- data/docs/SubAccountUpdatePlanRequestCredits.md +8 -0
- data/docs/SubAccountUpdatePlanRequestFeatures.md +10 -0
- data/docs/SubAccountsResponse.md +9 -0
- data/docs/SubAccountsResponseSubAccounts.md +11 -0
- data/docs/Task.md +24 -0
- data/docs/TaskReminder.md +10 -0
- data/docs/TransactionalEmailsApi.md +25 -80
- data/docs/TransactionalSMSApi.md +7 -7
- data/docs/UpdateBatchContacts.md +8 -0
- data/docs/UpdateBatchContactsContacts.md +16 -0
- data/docs/UpdateBatchContactsModel.md +9 -0
- data/docs/UpdateEmailCampaign.md +1 -1
- data/docs/UpdateSmsCampaign.md +2 -1
- data/docs/UpdateWebhook.md +2 -1
- data/docs/WebhooksApi.md +3 -1
- data/lib/sib-api-v3-sdk/api/account_api.rb +1 -1
- data/lib/sib-api-v3-sdk/api/attributes_api.rb +1 -1
- data/lib/sib-api-v3-sdk/api/contacts_api.rb +72 -19
- data/lib/sib-api-v3-sdk/api/crm_api.rb +670 -0
- data/lib/sib-api-v3-sdk/api/email_campaigns_api.rb +7 -7
- data/lib/sib-api-v3-sdk/api/folders_api.rb +5 -5
- data/lib/sib-api-v3-sdk/api/inbound_parsing_api.rb +161 -0
- data/lib/sib-api-v3-sdk/api/lists_api.rb +9 -9
- data/lib/sib-api-v3-sdk/api/master_account_api.rb +365 -0
- data/lib/sib-api-v3-sdk/api/process_api.rb +3 -3
- data/lib/sib-api-v3-sdk/api/reseller_api.rb +1 -1
- data/lib/sib-api-v3-sdk/api/senders_api.rb +1 -1
- data/lib/sib-api-v3-sdk/api/sms_campaigns_api.rb +7 -7
- data/lib/sib-api-v3-sdk/api/transactional_emails_api.rb +29 -75
- data/lib/sib-api-v3-sdk/api/transactional_sms_api.rb +5 -5
- data/lib/sib-api-v3-sdk/api/webhooks_api.rb +9 -3
- data/lib/sib-api-v3-sdk/api_client.rb +8 -5
- data/lib/sib-api-v3-sdk/api_error.rb +1 -1
- data/lib/sib-api-v3-sdk/configuration.rb +3 -3
- data/lib/sib-api-v3-sdk/models/ab_test_campaign_result.rb +3 -2
- data/lib/sib-api-v3-sdk/models/ab_test_campaign_result_clicked_links.rb +3 -2
- data/lib/sib-api-v3-sdk/models/ab_test_campaign_result_statistics.rb +3 -2
- data/lib/sib-api-v3-sdk/models/ab_test_version_clicks.rb +3 -2
- data/lib/sib-api-v3-sdk/models/ab_test_version_clicks_inner.rb +3 -2
- data/lib/sib-api-v3-sdk/models/ab_test_version_stats.rb +3 -2
- data/lib/sib-api-v3-sdk/models/add_child_domain.rb +3 -2
- data/lib/sib-api-v3-sdk/models/add_contact_to_list.rb +3 -2
- data/lib/sib-api-v3-sdk/models/add_credits.rb +3 -2
- data/lib/sib-api-v3-sdk/models/block_domain.rb +3 -2
- data/lib/sib-api-v3-sdk/models/body.rb +305 -0
- data/lib/sib-api-v3-sdk/models/body_1.rb +305 -0
- data/lib/sib-api-v3-sdk/models/contact.rb +266 -0
- data/lib/sib-api-v3-sdk/models/create_attribute.rb +3 -2
- data/lib/sib-api-v3-sdk/models/create_attribute_enumeration.rb +3 -2
- data/lib/sib-api-v3-sdk/models/create_child.rb +3 -2
- data/lib/sib-api-v3-sdk/models/create_contact.rb +3 -2
- data/lib/sib-api-v3-sdk/models/create_doi_contact.rb +3 -2
- data/lib/sib-api-v3-sdk/models/create_email_campaign.rb +4 -3
- data/lib/sib-api-v3-sdk/models/create_email_campaign_recipients.rb +3 -2
- data/lib/sib-api-v3-sdk/models/create_email_campaign_sender.rb +3 -2
- data/lib/sib-api-v3-sdk/models/create_list.rb +3 -2
- data/lib/sib-api-v3-sdk/models/create_model.rb +3 -2
- data/lib/sib-api-v3-sdk/models/create_reseller.rb +3 -2
- data/lib/sib-api-v3-sdk/models/create_sender.rb +3 -2
- data/lib/sib-api-v3-sdk/models/create_sender_ips.rb +3 -2
- data/lib/sib-api-v3-sdk/models/create_sender_model.rb +3 -2
- data/lib/sib-api-v3-sdk/models/create_sms_campaign.rb +19 -6
- data/lib/sib-api-v3-sdk/models/create_sms_campaign_recipients.rb +3 -2
- data/lib/sib-api-v3-sdk/models/create_smtp_email.rb +18 -11
- data/lib/sib-api-v3-sdk/models/create_smtp_template.rb +3 -2
- data/lib/sib-api-v3-sdk/models/create_smtp_template_sender.rb +3 -2
- data/lib/sib-api-v3-sdk/models/create_sub_account.rb +244 -0
- data/lib/sib-api-v3-sdk/models/create_update_contact_model.rb +3 -2
- data/lib/sib-api-v3-sdk/models/create_update_folder.rb +3 -2
- data/lib/sib-api-v3-sdk/models/create_webhook.rb +20 -9
- data/lib/sib-api-v3-sdk/models/created_process_id.rb +3 -2
- data/lib/sib-api-v3-sdk/models/delete_hardbounces.rb +3 -2
- data/lib/sib-api-v3-sdk/models/email_export_recipients.rb +3 -2
- data/lib/sib-api-v3-sdk/models/error_model.rb +3 -2
- data/lib/sib-api-v3-sdk/models/file_data.rb +278 -0
- data/lib/sib-api-v3-sdk/models/get_account.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_account_marketing_automation.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_account_plan.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_account_relay.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_account_relay_data.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_aggregated_report.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_attributes.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_attributes_attributes.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_attributes_enumeration.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_blocked_domains.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_campaign_overview.rb +4 -3
- data/lib/sib-api-v3-sdk/models/get_campaign_recipients.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_campaign_stats.rb +19 -3
- data/lib/sib-api-v3-sdk/models/get_child_account_creation_status.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_child_domain.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_child_domains.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_child_info.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_child_info_api_keys.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_child_info_api_keys_v2.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_child_info_api_keys_v3.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_child_info_credits.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_child_info_statistics.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_children_list.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_client.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_contact_campaign_stats.rb +18 -6
- data/lib/sib-api-v3-sdk/models/get_contact_campaign_stats_clicked.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_contact_campaign_stats_opened.rb +4 -3
- data/lib/sib-api-v3-sdk/models/get_contact_campaign_stats_transac_attributes.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_contact_campaign_stats_unsubscriptions.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_contact_details.rb +5 -4
- data/lib/sib-api-v3-sdk/models/get_contacts.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_device_browser_stats.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_email_campaign.rb +9 -8
- data/lib/sib-api-v3-sdk/models/get_email_campaigns.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_email_event_report.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_email_event_report_events.rb +4 -3
- data/lib/sib-api-v3-sdk/models/get_extended_campaign_overview.rb +7 -6
- data/lib/sib-api-v3-sdk/models/get_extended_campaign_overview_sender.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_extended_campaign_stats.rb +4 -4
- data/lib/sib-api-v3-sdk/models/get_extended_campaign_stats_global_stats.rb +176 -0
- data/lib/sib-api-v3-sdk/models/get_extended_client.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_extended_client_address.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_extended_contact_details.rb +5 -4
- data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics.rb +19 -6
- data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_clicked.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_delivered.rb +205 -0
- data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_links.rb +4 -3
- data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_messages_sent.rb +4 -3
- data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_opened.rb +4 -3
- data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_unsubscriptions.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_unsubscriptions_admin_unsubscription.rb +4 -3
- data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_unsubscriptions_user_unsubscription.rb +4 -3
- data/lib/sib-api-v3-sdk/models/get_extended_list.rb +20 -4
- data/lib/sib-api-v3-sdk/models/get_extended_list_campaign_stats.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_folder.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_folder_lists.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_folders.rb +3 -2
- data/lib/sib-api-v3-sdk/models/{send_template_email.rb → get_inbound_email_events.rb} +13 -16
- data/lib/sib-api-v3-sdk/models/get_inbound_email_events_by_uuid.rb +259 -0
- data/lib/sib-api-v3-sdk/models/get_inbound_email_events_by_uuid_attachments.rb +215 -0
- data/lib/sib-api-v3-sdk/models/get_inbound_email_events_by_uuid_logs.rb +229 -0
- data/lib/sib-api-v3-sdk/models/get_inbound_email_events_events.rb +235 -0
- data/lib/sib-api-v3-sdk/models/get_ip.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_ip_from_sender.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_ips.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_ips_from_sender.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_list.rb +22 -6
- data/lib/sib-api-v3-sdk/models/get_lists.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_process.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_processes.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_reports.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_reports_reports.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_senders_list.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_senders_list_ips.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_senders_list_senders.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_shared_template_url.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_sms_campaign.rb +8 -7
- data/lib/sib-api-v3-sdk/models/get_sms_campaign_overview.rb +6 -5
- data/lib/sib-api-v3-sdk/models/get_sms_campaign_recipients.rb +175 -0
- data/lib/sib-api-v3-sdk/models/get_sms_campaign_stats.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_sms_campaigns.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_sms_event_report.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_sms_event_report_events.rb +4 -3
- data/lib/sib-api-v3-sdk/models/get_smtp_template_overview.rb +5 -4
- data/lib/sib-api-v3-sdk/models/get_smtp_template_overview_sender.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_smtp_templates.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_sso_token.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_stats_by_browser.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_stats_by_device.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_stats_by_domain.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_transac_aggregated_sms_report.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_transac_blocked_contacts.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_transac_blocked_contacts_contacts.rb +4 -3
- data/lib/sib-api-v3-sdk/models/get_transac_blocked_contacts_reason.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_transac_email_content.rb +4 -3
- data/lib/sib-api-v3-sdk/models/get_transac_email_content_events.rb +4 -3
- data/lib/sib-api-v3-sdk/models/get_transac_emails_list.rb +14 -3
- data/lib/sib-api-v3-sdk/models/get_transac_emails_list_transactional_emails.rb +4 -3
- data/lib/sib-api-v3-sdk/models/get_transac_sms_report.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_transac_sms_report_reports.rb +3 -2
- data/lib/sib-api-v3-sdk/models/get_webhook.rb +5 -4
- data/lib/sib-api-v3-sdk/models/get_webhooks.rb +3 -2
- data/lib/sib-api-v3-sdk/models/manage_ip.rb +3 -2
- data/lib/sib-api-v3-sdk/models/master_details_response.rb +243 -0
- data/lib/sib-api-v3-sdk/models/master_details_response_billing_info.rb +214 -0
- data/lib/sib-api-v3-sdk/models/master_details_response_billing_info_address.rb +226 -0
- data/lib/sib-api-v3-sdk/models/master_details_response_billing_info_name.rb +196 -0
- data/lib/sib-api-v3-sdk/models/master_details_response_plan_info.rb +272 -0
- data/lib/sib-api-v3-sdk/models/master_details_response_plan_info_features.rb +225 -0
- data/lib/sib-api-v3-sdk/models/note.rb +283 -0
- data/lib/sib-api-v3-sdk/models/note_data.rb +243 -0
- data/lib/sib-api-v3-sdk/models/post_contact_info.rb +3 -2
- data/lib/sib-api-v3-sdk/models/post_contact_info_contacts.rb +3 -2
- data/lib/sib-api-v3-sdk/models/post_send_failed.rb +3 -2
- data/lib/sib-api-v3-sdk/models/post_send_sms_test_failed.rb +3 -2
- data/lib/sib-api-v3-sdk/models/remaining_credit_model.rb +3 -2
- data/lib/sib-api-v3-sdk/models/remaining_credit_model_child.rb +3 -2
- data/lib/sib-api-v3-sdk/models/remaining_credit_model_reseller.rb +3 -2
- data/lib/sib-api-v3-sdk/models/remove_contact_from_list.rb +3 -2
- data/lib/sib-api-v3-sdk/models/remove_credits.rb +3 -2
- data/lib/sib-api-v3-sdk/models/request_contact_export.rb +9 -13
- data/lib/sib-api-v3-sdk/models/request_contact_export_custom_contact_filter.rb +4 -3
- data/lib/sib-api-v3-sdk/models/request_contact_import.rb +3 -2
- data/lib/sib-api-v3-sdk/models/request_contact_import_new_list.rb +3 -2
- data/lib/sib-api-v3-sdk/models/request_sms_recipient_export.rb +3 -2
- data/lib/sib-api-v3-sdk/models/send_report.rb +3 -2
- data/lib/sib-api-v3-sdk/models/send_report_email.rb +3 -2
- data/lib/sib-api-v3-sdk/models/send_sms.rb +3 -2
- data/lib/sib-api-v3-sdk/models/send_smtp_email.rb +20 -12
- data/lib/sib-api-v3-sdk/models/send_smtp_email_attachment.rb +3 -2
- data/lib/sib-api-v3-sdk/models/send_smtp_email_bcc.rb +3 -2
- data/lib/sib-api-v3-sdk/models/send_smtp_email_cc.rb +3 -2
- data/lib/sib-api-v3-sdk/models/{send_email.rb → send_smtp_email_message_versions.rb} +51 -83
- data/lib/sib-api-v3-sdk/models/send_smtp_email_reply_to.rb +3 -2
- data/lib/sib-api-v3-sdk/models/{send_email_attachment.rb → send_smtp_email_reply_to_1.rb} +17 -39
- data/lib/sib-api-v3-sdk/models/send_smtp_email_sender.rb +3 -2
- data/lib/sib-api-v3-sdk/models/send_smtp_email_to.rb +3 -2
- data/lib/sib-api-v3-sdk/models/send_smtp_email_to_1.rb +200 -0
- data/lib/sib-api-v3-sdk/models/send_test_email.rb +4 -3
- data/lib/sib-api-v3-sdk/models/send_test_sms.rb +3 -2
- data/lib/sib-api-v3-sdk/models/send_transac_sms.rb +19 -6
- data/lib/sib-api-v3-sdk/models/sso_token_request.rb +200 -0
- data/lib/sib-api-v3-sdk/models/sub_account_details_response.rb +214 -0
- data/lib/sib-api-v3-sdk/models/sub_account_details_response_plan_info.rb +204 -0
- data/lib/sib-api-v3-sdk/models/sub_account_details_response_plan_info_credits.rb +195 -0
- data/lib/sib-api-v3-sdk/models/sub_account_details_response_plan_info_credits_emails.rb +196 -0
- data/lib/sib-api-v3-sdk/models/sub_account_details_response_plan_info_features.rb +203 -0
- data/lib/sib-api-v3-sdk/models/sub_account_details_response_plan_info_features_inbox.rb +196 -0
- data/lib/sib-api-v3-sdk/models/sub_account_details_response_plan_info_features_landing_page.rb +196 -0
- data/lib/sib-api-v3-sdk/models/sub_account_details_response_plan_info_features_users.rb +196 -0
- data/lib/sib-api-v3-sdk/models/sub_account_update_plan_request.rb +194 -0
- data/lib/sib-api-v3-sdk/models/sub_account_update_plan_request_credits.rb +186 -0
- data/lib/sib-api-v3-sdk/models/sub_account_update_plan_request_features.rb +206 -0
- data/lib/sib-api-v3-sdk/models/sub_accounts_response.rb +196 -0
- data/lib/sib-api-v3-sdk/models/sub_accounts_response_sub_accounts.rb +235 -0
- data/lib/sib-api-v3-sdk/models/task.rb +367 -0
- data/lib/sib-api-v3-sdk/models/task_reminder.rb +257 -0
- data/lib/sib-api-v3-sdk/models/update_attribute.rb +3 -2
- data/lib/sib-api-v3-sdk/models/update_attribute_enumeration.rb +3 -2
- data/lib/sib-api-v3-sdk/models/update_batch_contacts.rb +187 -0
- data/lib/sib-api-v3-sdk/models/update_batch_contacts_contacts.rb +273 -0
- data/lib/sib-api-v3-sdk/models/update_batch_contacts_model.rb +197 -0
- data/lib/sib-api-v3-sdk/models/update_campaign_status.rb +3 -2
- data/lib/sib-api-v3-sdk/models/update_child.rb +3 -2
- data/lib/sib-api-v3-sdk/models/update_child_account_status.rb +3 -2
- data/lib/sib-api-v3-sdk/models/update_child_domain.rb +3 -2
- data/lib/sib-api-v3-sdk/models/update_contact.rb +3 -2
- data/lib/sib-api-v3-sdk/models/update_email_campaign.rb +4 -3
- data/lib/sib-api-v3-sdk/models/update_email_campaign_recipients.rb +3 -2
- data/lib/sib-api-v3-sdk/models/update_email_campaign_sender.rb +3 -2
- data/lib/sib-api-v3-sdk/models/update_list.rb +3 -2
- data/lib/sib-api-v3-sdk/models/update_sender.rb +3 -2
- data/lib/sib-api-v3-sdk/models/update_sms_campaign.rb +19 -6
- data/lib/sib-api-v3-sdk/models/update_smtp_template.rb +3 -2
- data/lib/sib-api-v3-sdk/models/update_smtp_template_sender.rb +3 -2
- data/lib/sib-api-v3-sdk/models/update_webhook.rb +18 -7
- data/lib/sib-api-v3-sdk/models/upload_image_to_gallery.rb +3 -2
- data/lib/sib-api-v3-sdk/version.rb +2 -2
- data/lib/sib-api-v3-sdk.rb +55 -12
- data/sib-api-v3-sdk.gemspec +2 -1
- data/spec/api/account_api_spec.rb +1 -1
- data/spec/api/attributes_api_spec.rb +1 -1
- data/spec/api/contacts_api_spec.rb +22 -10
- data/spec/api/crm_api_spec.rb +170 -0
- data/spec/api/email_campaigns_api_spec.rb +4 -4
- data/spec/api/folders_api_spec.rb +3 -3
- data/spec/api/inbound_parsing_api_spec.rb +64 -0
- data/spec/api/lists_api_spec.rb +5 -5
- data/spec/api/master_account_api_spec.rb +108 -0
- data/spec/api/process_api_spec.rb +2 -2
- data/spec/api/reseller_api_spec.rb +1 -1
- data/spec/api/senders_api_spec.rb +1 -1
- data/spec/api/sms_campaigns_api_spec.rb +4 -4
- data/spec/api/transactional_emails_api_spec.rb +12 -21
- data/spec/api/transactional_sms_api_spec.rb +3 -3
- data/spec/api/webhooks_api_spec.rb +2 -1
- data/spec/api_client_spec.rb +18 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/ab_test_campaign_result_clicked_links_spec.rb +1 -1
- data/spec/models/ab_test_campaign_result_spec.rb +1 -1
- data/spec/models/ab_test_campaign_result_statistics_spec.rb +1 -1
- data/spec/models/ab_test_version_clicks_inner_spec.rb +1 -1
- data/spec/models/ab_test_version_clicks_spec.rb +1 -1
- data/spec/models/ab_test_version_stats_spec.rb +1 -1
- data/spec/models/add_child_domain_spec.rb +1 -1
- data/spec/models/add_contact_to_list_spec.rb +1 -1
- data/spec/models/add_credits_spec.rb +1 -1
- data/spec/models/block_domain_spec.rb +1 -1
- data/spec/models/body_1_spec.rb +101 -0
- data/spec/models/body_spec.rb +101 -0
- data/spec/models/contact_spec.rb +83 -0
- data/spec/models/create_attribute_enumeration_spec.rb +1 -1
- data/spec/models/create_attribute_spec.rb +1 -1
- data/spec/models/create_child_spec.rb +1 -1
- data/spec/models/create_contact_spec.rb +1 -1
- data/spec/models/create_doi_contact_spec.rb +1 -1
- data/spec/models/create_email_campaign_recipients_spec.rb +1 -1
- data/spec/models/create_email_campaign_sender_spec.rb +1 -1
- data/spec/models/create_email_campaign_spec.rb +1 -1
- data/spec/models/create_list_spec.rb +1 -1
- data/spec/models/create_model_spec.rb +1 -1
- data/spec/models/create_reseller_spec.rb +1 -1
- data/spec/models/create_sender_ips_spec.rb +1 -1
- data/spec/models/create_sender_model_spec.rb +1 -1
- data/spec/models/create_sender_spec.rb +1 -1
- data/spec/models/create_sms_campaign_recipients_spec.rb +1 -1
- data/spec/models/create_sms_campaign_spec.rb +7 -1
- data/spec/models/create_smtp_email_spec.rb +7 -1
- data/spec/models/create_smtp_template_sender_spec.rb +1 -1
- data/spec/models/create_smtp_template_spec.rb +1 -1
- data/spec/models/create_sub_account_spec.rb +57 -0
- data/spec/models/create_update_contact_model_spec.rb +1 -1
- data/spec/models/create_update_folder_spec.rb +1 -1
- data/spec/models/create_webhook_spec.rb +9 -3
- data/spec/models/created_process_id_spec.rb +1 -1
- data/spec/models/delete_hardbounces_spec.rb +1 -1
- data/spec/models/email_export_recipients_spec.rb +1 -1
- data/spec/models/error_model_spec.rb +1 -1
- data/spec/models/file_data_spec.rb +95 -0
- data/spec/models/get_account_marketing_automation_spec.rb +1 -1
- data/spec/models/get_account_plan_spec.rb +1 -1
- data/spec/models/get_account_relay_data_spec.rb +1 -1
- data/spec/models/get_account_relay_spec.rb +1 -1
- data/spec/models/get_account_spec.rb +1 -1
- data/spec/models/get_aggregated_report_spec.rb +1 -1
- data/spec/models/get_attributes_attributes_spec.rb +1 -1
- data/spec/models/get_attributes_enumeration_spec.rb +1 -1
- data/spec/models/get_attributes_spec.rb +1 -1
- data/spec/models/get_blocked_domains_spec.rb +1 -1
- data/spec/models/get_campaign_overview_spec.rb +1 -1
- data/spec/models/get_campaign_recipients_spec.rb +1 -1
- data/spec/models/get_campaign_stats_spec.rb +7 -1
- data/spec/models/get_child_account_creation_status_spec.rb +1 -1
- data/spec/models/get_child_domain_spec.rb +1 -1
- data/spec/models/get_child_domains_spec.rb +1 -1
- data/spec/models/get_child_info_api_keys_spec.rb +1 -1
- data/spec/models/get_child_info_api_keys_v2_spec.rb +1 -1
- data/spec/models/get_child_info_api_keys_v3_spec.rb +1 -1
- data/spec/models/get_child_info_credits_spec.rb +1 -1
- data/spec/models/get_child_info_spec.rb +1 -1
- data/spec/models/get_child_info_statistics_spec.rb +1 -1
- data/spec/models/get_children_list_spec.rb +1 -1
- data/spec/models/get_client_spec.rb +1 -1
- data/spec/models/get_contact_campaign_stats_clicked_spec.rb +1 -1
- data/spec/models/get_contact_campaign_stats_opened_spec.rb +1 -1
- data/spec/models/get_contact_campaign_stats_spec.rb +7 -1
- data/spec/models/get_contact_campaign_stats_transac_attributes_spec.rb +1 -1
- data/spec/models/get_contact_campaign_stats_unsubscriptions_spec.rb +1 -1
- data/spec/models/get_contact_details_spec.rb +1 -1
- data/spec/models/get_contacts_spec.rb +1 -1
- data/spec/models/get_device_browser_stats_spec.rb +1 -1
- data/spec/models/get_email_campaign_spec.rb +1 -1
- data/spec/models/get_email_campaigns_spec.rb +1 -1
- data/spec/models/get_email_event_report_events_spec.rb +1 -1
- data/spec/models/get_email_event_report_spec.rb +1 -1
- data/spec/models/get_extended_campaign_overview_sender_spec.rb +1 -1
- data/spec/models/get_extended_campaign_overview_spec.rb +1 -1
- data/spec/models/get_extended_campaign_stats_global_stats_spec.rb +35 -0
- data/spec/models/get_extended_campaign_stats_spec.rb +1 -1
- data/spec/models/get_extended_client_address_spec.rb +1 -1
- data/spec/models/get_extended_client_spec.rb +1 -1
- data/spec/models/get_extended_contact_details_spec.rb +1 -1
- data/spec/models/get_extended_contact_details_statistics_clicked_spec.rb +1 -1
- data/spec/models/get_extended_contact_details_statistics_delivered_spec.rb +47 -0
- data/spec/models/get_extended_contact_details_statistics_links_spec.rb +1 -1
- data/spec/models/get_extended_contact_details_statistics_messages_sent_spec.rb +1 -1
- data/spec/models/get_extended_contact_details_statistics_opened_spec.rb +1 -1
- data/spec/models/get_extended_contact_details_statistics_spec.rb +7 -1
- data/spec/models/get_extended_contact_details_statistics_unsubscriptions_admin_unsubscription_spec.rb +1 -1
- data/spec/models/get_extended_contact_details_statistics_unsubscriptions_spec.rb +1 -1
- data/spec/models/get_extended_contact_details_statistics_unsubscriptions_user_unsubscription_spec.rb +1 -1
- data/spec/models/get_extended_list_campaign_stats_spec.rb +1 -1
- data/spec/models/get_extended_list_spec.rb +7 -1
- data/spec/models/get_folder_lists_spec.rb +1 -1
- data/spec/models/get_folder_spec.rb +1 -1
- data/spec/models/get_folders_spec.rb +1 -1
- data/spec/models/get_inbound_email_events_by_uuid_attachments_spec.rb +59 -0
- data/spec/models/get_inbound_email_events_by_uuid_logs_spec.rb +51 -0
- data/spec/models/get_inbound_email_events_by_uuid_spec.rb +83 -0
- data/spec/models/get_inbound_email_events_events_spec.rb +59 -0
- data/spec/models/get_inbound_email_events_spec.rb +41 -0
- data/spec/models/get_ip_from_sender_spec.rb +1 -1
- data/spec/models/get_ip_spec.rb +1 -1
- data/spec/models/get_ips_from_sender_spec.rb +1 -1
- data/spec/models/get_ips_spec.rb +1 -1
- data/spec/models/get_list_spec.rb +7 -1
- data/spec/models/get_lists_spec.rb +1 -1
- data/spec/models/get_process_spec.rb +1 -1
- data/spec/models/get_processes_spec.rb +1 -1
- data/spec/models/get_reports_reports_spec.rb +1 -1
- data/spec/models/get_reports_spec.rb +1 -1
- data/spec/models/get_senders_list_ips_spec.rb +1 -1
- data/spec/models/get_senders_list_senders_spec.rb +1 -1
- data/spec/models/get_senders_list_spec.rb +1 -1
- data/spec/models/get_shared_template_url_spec.rb +1 -1
- data/spec/models/get_sms_campaign_overview_spec.rb +1 -1
- data/spec/models/get_sms_campaign_recipients_spec.rb +35 -0
- data/spec/models/get_sms_campaign_spec.rb +1 -1
- data/spec/models/get_sms_campaign_stats_spec.rb +1 -1
- data/spec/models/get_sms_campaigns_spec.rb +1 -1
- data/spec/models/get_sms_event_report_events_spec.rb +1 -1
- data/spec/models/get_sms_event_report_spec.rb +1 -1
- data/spec/models/get_smtp_template_overview_sender_spec.rb +1 -1
- data/spec/models/get_smtp_template_overview_spec.rb +1 -1
- data/spec/models/get_smtp_templates_spec.rb +1 -1
- data/spec/models/get_sso_token_spec.rb +1 -1
- data/spec/models/get_stats_by_browser_spec.rb +1 -1
- data/spec/models/get_stats_by_device_spec.rb +1 -1
- data/spec/models/get_stats_by_domain_spec.rb +1 -1
- data/spec/models/get_transac_aggregated_sms_report_spec.rb +1 -1
- data/spec/models/get_transac_blocked_contacts_contacts_spec.rb +1 -1
- data/spec/models/get_transac_blocked_contacts_reason_spec.rb +1 -1
- data/spec/models/get_transac_blocked_contacts_spec.rb +1 -1
- data/spec/models/get_transac_email_content_events_spec.rb +1 -1
- data/spec/models/get_transac_email_content_spec.rb +1 -1
- data/spec/models/get_transac_emails_list_spec.rb +7 -1
- data/spec/models/get_transac_emails_list_transactional_emails_spec.rb +1 -1
- data/spec/models/get_transac_sms_report_reports_spec.rb +1 -1
- data/spec/models/get_transac_sms_report_spec.rb +1 -1
- data/spec/models/get_webhook_spec.rb +1 -1
- data/spec/models/get_webhooks_spec.rb +1 -1
- data/spec/models/manage_ip_spec.rb +1 -1
- data/spec/models/master_details_response_billing_info_address_spec.rb +65 -0
- data/spec/models/master_details_response_billing_info_name_spec.rb +47 -0
- data/spec/models/master_details_response_billing_info_spec.rb +59 -0
- data/spec/models/master_details_response_plan_info_features_spec.rb +65 -0
- data/spec/models/master_details_response_plan_info_spec.rb +75 -0
- data/spec/models/master_details_response_spec.rb +77 -0
- data/spec/models/note_data_spec.rb +53 -0
- data/spec/models/note_spec.rb +77 -0
- data/spec/models/post_contact_info_contacts_spec.rb +1 -1
- data/spec/models/post_contact_info_spec.rb +1 -1
- data/spec/models/post_send_failed_spec.rb +1 -1
- data/spec/models/post_send_sms_test_failed_spec.rb +1 -1
- data/spec/models/remaining_credit_model_child_spec.rb +1 -1
- data/spec/models/remaining_credit_model_reseller_spec.rb +1 -1
- data/spec/models/remaining_credit_model_spec.rb +1 -1
- data/spec/models/remove_contact_from_list_spec.rb +1 -1
- data/spec/models/remove_credits_spec.rb +1 -1
- data/spec/models/request_contact_export_custom_contact_filter_spec.rb +1 -1
- data/spec/models/request_contact_export_spec.rb +1 -7
- data/spec/models/request_contact_import_new_list_spec.rb +1 -1
- data/spec/models/request_contact_import_spec.rb +1 -1
- data/spec/models/request_sms_recipient_export_spec.rb +1 -1
- data/spec/models/send_report_email_spec.rb +1 -1
- data/spec/models/send_report_spec.rb +1 -1
- data/spec/models/send_sms_spec.rb +1 -1
- data/spec/models/send_smtp_email_attachment_spec.rb +1 -1
- data/spec/models/send_smtp_email_bcc_spec.rb +1 -1
- data/spec/models/send_smtp_email_cc_spec.rb +1 -1
- data/spec/models/send_smtp_email_message_versions_spec.rb +71 -0
- data/spec/models/send_smtp_email_reply_to_1_spec.rb +47 -0
- data/spec/models/send_smtp_email_reply_to_spec.rb +1 -1
- data/spec/models/send_smtp_email_sender_spec.rb +1 -1
- data/spec/models/send_smtp_email_spec.rb +7 -1
- data/spec/models/{send_email_attachment_spec.rb → send_smtp_email_to_1_spec.rb} +8 -8
- data/spec/models/send_smtp_email_to_spec.rb +1 -1
- data/spec/models/send_test_email_spec.rb +1 -1
- data/spec/models/send_test_sms_spec.rb +1 -1
- data/spec/models/send_transac_sms_spec.rb +7 -1
- data/spec/models/sso_token_request_spec.rb +47 -0
- data/spec/models/sub_account_details_response_plan_info_credits_emails_spec.rb +47 -0
- data/spec/models/sub_account_details_response_plan_info_credits_spec.rb +47 -0
- data/spec/models/sub_account_details_response_plan_info_features_inbox_spec.rb +47 -0
- data/spec/models/sub_account_details_response_plan_info_features_landing_page_spec.rb +47 -0
- data/spec/models/sub_account_details_response_plan_info_features_spec.rb +53 -0
- data/spec/models/sub_account_details_response_plan_info_features_users_spec.rb +47 -0
- data/spec/models/sub_account_details_response_plan_info_spec.rb +53 -0
- data/spec/models/sub_account_details_response_spec.rb +59 -0
- data/spec/models/sub_account_update_plan_request_credits_spec.rb +41 -0
- data/spec/models/sub_account_update_plan_request_features_spec.rb +53 -0
- data/spec/models/sub_account_update_plan_request_spec.rb +47 -0
- data/spec/models/sub_accounts_response_spec.rb +47 -0
- data/spec/models/sub_accounts_response_sub_accounts_spec.rb +59 -0
- data/spec/models/task_reminder_spec.rb +57 -0
- data/spec/models/task_spec.rb +137 -0
- data/spec/models/update_attribute_enumeration_spec.rb +1 -1
- data/spec/models/update_attribute_spec.rb +1 -1
- data/spec/models/{send_email_spec.rb → update_batch_contacts_contacts_spec.rb} +16 -16
- data/spec/models/update_batch_contacts_model_spec.rb +47 -0
- data/spec/models/{send_template_email_spec.rb → update_batch_contacts_spec.rb} +8 -8
- data/spec/models/update_campaign_status_spec.rb +1 -1
- data/spec/models/update_child_account_status_spec.rb +1 -1
- data/spec/models/update_child_domain_spec.rb +1 -1
- data/spec/models/update_child_spec.rb +1 -1
- data/spec/models/update_contact_spec.rb +1 -1
- data/spec/models/update_email_campaign_recipients_spec.rb +1 -1
- data/spec/models/update_email_campaign_sender_spec.rb +1 -1
- data/spec/models/update_email_campaign_spec.rb +1 -1
- data/spec/models/update_list_spec.rb +1 -1
- data/spec/models/update_sender_spec.rb +1 -1
- data/spec/models/update_sms_campaign_spec.rb +7 -1
- data/spec/models/update_smtp_template_sender_spec.rb +1 -1
- data/spec/models/update_smtp_template_spec.rb +1 -1
- data/spec/models/update_webhook_spec.rb +8 -2
- data/spec/models/upload_image_to_gallery_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +368 -178
- data/docs/SendEmail.md +0 -16
- data/docs/SendEmailAttachment.md +0 -9
- data/testfile.rb +0 -26
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 3.0.0
|
7
7
|
Contact: contact@sendinblue.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -288,6 +288,7 @@ module SibApiV3Sdk
|
|
288
288
|
return data, status_code, headers
|
289
289
|
end
|
290
290
|
# Get your transactional email activity aggregated over a period of time
|
291
|
+
# This endpoint will show the aggregated stats for past 90 days by default if `startDate` and `endDate` OR `days` is not passed. The date range can not exceed 90 days
|
291
292
|
# @param [Hash] opts the optional parameters
|
292
293
|
# @option opts [String] :start_date Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD). Must be lower than equal to endDate
|
293
294
|
# @option opts [String] :end_date Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD). Must be greater than equal to startDate
|
@@ -300,6 +301,7 @@ module SibApiV3Sdk
|
|
300
301
|
end
|
301
302
|
|
302
303
|
# Get your transactional email activity aggregated over a period of time
|
304
|
+
# This endpoint will show the aggregated stats for past 90 days by default if `startDate` and `endDate` OR `days` is not passed. The date range can not exceed 90 days
|
303
305
|
# @param [Hash] opts the optional parameters
|
304
306
|
# @option opts [String] :start_date Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD). Must be lower than equal to endDate
|
305
307
|
# @option opts [String] :end_date Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD). Must be greater than equal to startDate
|
@@ -394,6 +396,7 @@ module SibApiV3Sdk
|
|
394
396
|
return data, status_code, headers
|
395
397
|
end
|
396
398
|
# Get all your transactional email activity (unaggregated events)
|
399
|
+
# This endpoint will show the aggregated stats for past 30 days by default if `startDate` and `endDate` OR `days` is not passed. The date range can not exceed 90 days
|
397
400
|
# @param [Hash] opts the optional parameters
|
398
401
|
# @option opts [Integer] :limit Number limitation for the result returned (default to 50)
|
399
402
|
# @option opts [Integer] :offset Beginning point in the list to retrieve from. (default to 0)
|
@@ -405,7 +408,7 @@ module SibApiV3Sdk
|
|
405
408
|
# @option opts [String] :tags Filter the report for tags (serialized and urlencoded array)
|
406
409
|
# @option opts [String] :message_id Filter on a specific message id
|
407
410
|
# @option opts [Integer] :template_id Filter on a specific template id
|
408
|
-
# @option opts [String] :sort Sort the results in the ascending/descending order of record creation (default to desc)
|
411
|
+
# @option opts [String] :sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (default to desc)
|
409
412
|
# @return [GetEmailEventReport]
|
410
413
|
def get_email_event_report(opts = {})
|
411
414
|
data, _status_code, _headers = get_email_event_report_with_http_info(opts)
|
@@ -413,6 +416,7 @@ module SibApiV3Sdk
|
|
413
416
|
end
|
414
417
|
|
415
418
|
# Get all your transactional email activity (unaggregated events)
|
419
|
+
# This endpoint will show the aggregated stats for past 30 days by default if `startDate` and `endDate` OR `days` is not passed. The date range can not exceed 90 days
|
416
420
|
# @param [Hash] opts the optional parameters
|
417
421
|
# @option opts [Integer] :limit Number limitation for the result returned
|
418
422
|
# @option opts [Integer] :offset Beginning point in the list to retrieve from.
|
@@ -424,7 +428,7 @@ module SibApiV3Sdk
|
|
424
428
|
# @option opts [String] :tags Filter the report for tags (serialized and urlencoded array)
|
425
429
|
# @option opts [String] :message_id Filter on a specific message id
|
426
430
|
# @option opts [Integer] :template_id Filter on a specific template id
|
427
|
-
# @option opts [String] :sort Sort the results in the ascending/descending order of record creation
|
431
|
+
# @option opts [String] :sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed
|
428
432
|
# @return [Array<(GetEmailEventReport, Fixnum, Hash)>] GetEmailEventReport data, response status code and response headers
|
429
433
|
def get_email_event_report_with_http_info(opts = {})
|
430
434
|
if @api_client.config.debugging
|
@@ -490,7 +494,7 @@ module SibApiV3Sdk
|
|
490
494
|
# @option opts [String] :end_date Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD)
|
491
495
|
# @option opts [Integer] :days Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate'
|
492
496
|
# @option opts [String] :tag Tag of the emails
|
493
|
-
# @option opts [String] :sort Sort the results in the ascending/descending order of record creation (default to desc)
|
497
|
+
# @option opts [String] :sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (default to desc)
|
494
498
|
# @return [GetReports]
|
495
499
|
def get_smtp_report(opts = {})
|
496
500
|
data, _status_code, _headers = get_smtp_report_with_http_info(opts)
|
@@ -505,7 +509,7 @@ module SibApiV3Sdk
|
|
505
509
|
# @option opts [String] :end_date Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD)
|
506
510
|
# @option opts [Integer] :days Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate'
|
507
511
|
# @option opts [String] :tag Tag of the emails
|
508
|
-
# @option opts [String] :sort Sort the results in the ascending/descending order of record creation
|
512
|
+
# @option opts [String] :sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed
|
509
513
|
# @return [Array<(GetReports, Fixnum, Hash)>] GetReports data, response status code and response headers
|
510
514
|
def get_smtp_report_with_http_info(opts = {})
|
511
515
|
if @api_client.config.debugging
|
@@ -613,7 +617,7 @@ module SibApiV3Sdk
|
|
613
617
|
# @option opts [BOOLEAN] :template_status Filter on the status of the template. Active = true, inactive = false
|
614
618
|
# @option opts [Integer] :limit Number of documents returned per page (default to 50)
|
615
619
|
# @option opts [Integer] :offset Index of the first document in the page (default to 0)
|
616
|
-
# @option opts [String] :sort Sort the results in the ascending/descending order of record creation (default to desc)
|
620
|
+
# @option opts [String] :sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (default to desc)
|
617
621
|
# @return [GetSmtpTemplates]
|
618
622
|
def get_smtp_templates(opts = {})
|
619
623
|
data, _status_code, _headers = get_smtp_templates_with_http_info(opts)
|
@@ -625,7 +629,7 @@ module SibApiV3Sdk
|
|
625
629
|
# @option opts [BOOLEAN] :template_status Filter on the status of the template. Active = true, inactive = false
|
626
630
|
# @option opts [Integer] :limit Number of documents returned per page
|
627
631
|
# @option opts [Integer] :offset Index of the first document in the page
|
628
|
-
# @option opts [String] :sort Sort the results in the ascending/descending order of record creation
|
632
|
+
# @option opts [String] :sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed
|
629
633
|
# @return [Array<(GetSmtpTemplates, Fixnum, Hash)>] GetSmtpTemplates data, response status code and response headers
|
630
634
|
def get_smtp_templates_with_http_info(opts = {})
|
631
635
|
if @api_client.config.debugging
|
@@ -680,7 +684,7 @@ module SibApiV3Sdk
|
|
680
684
|
# @option opts [Integer] :limit Number of documents returned per page (default to 50)
|
681
685
|
# @option opts [Integer] :offset Index of the first document on the page (default to 0)
|
682
686
|
# @option opts [Array<String>] :senders Comma separated list of emails of the senders from which contacts are blocked or unsubscribed
|
683
|
-
# @option opts [String] :sort Sort the results in the ascending/descending order of record creation (default to desc)
|
687
|
+
# @option opts [String] :sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (default to desc)
|
684
688
|
# @return [GetTransacBlockedContacts]
|
685
689
|
def get_transac_blocked_contacts(opts = {})
|
686
690
|
data, _status_code, _headers = get_transac_blocked_contacts_with_http_info(opts)
|
@@ -694,7 +698,7 @@ module SibApiV3Sdk
|
|
694
698
|
# @option opts [Integer] :limit Number of documents returned per page
|
695
699
|
# @option opts [Integer] :offset Index of the first document on the page
|
696
700
|
# @option opts [Array<String>] :senders Comma separated list of emails of the senders from which contacts are blocked or unsubscribed
|
697
|
-
# @option opts [String] :sort Sort the results in the ascending/descending order of record creation
|
701
|
+
# @option opts [String] :sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed
|
698
702
|
# @return [Array<(GetTransacBlockedContacts, Fixnum, Hash)>] GetTransacBlockedContacts data, response status code and response headers
|
699
703
|
def get_transac_blocked_contacts_with_http_info(opts = {})
|
700
704
|
if @api_client.config.debugging
|
@@ -802,9 +806,11 @@ module SibApiV3Sdk
|
|
802
806
|
# @option opts [String] :email Mandatory if templateId and messageId are not passed in query filters. Email address to which transactional email has been sent.
|
803
807
|
# @option opts [Integer] :template_id Mandatory if email and messageId are not passed in query filters. Id of the template that was used to compose transactional email.
|
804
808
|
# @option opts [String] :message_id Mandatory if templateId and email are not passed in query filters. Message ID of the transactional email sent.
|
805
|
-
# @option opts [
|
806
|
-
# @option opts [
|
807
|
-
# @option opts [String] :sort Sort the results in the ascending/descending order of record creation (default to desc)
|
809
|
+
# @option opts [String] :start_date Mandatory if endDate is used. Starting date (YYYY-MM-DD) from which you want to fetch the list. Maximum time period that can be selected is one month.
|
810
|
+
# @option opts [String] :end_date Mandatory if startDate is used. Ending date (YYYY-MM-DD) till which you want to fetch the list. Maximum time period that can be selected is one month.
|
811
|
+
# @option opts [String] :sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (default to desc)
|
812
|
+
# @option opts [Integer] :limit Number of documents returned per page (default to 500)
|
813
|
+
# @option opts [Integer] :offset Index of the first document in the page (default to 0)
|
808
814
|
# @return [GetTransacEmailsList]
|
809
815
|
def get_transac_emails_list(opts = {})
|
810
816
|
data, _status_code, _headers = get_transac_emails_list_with_http_info(opts)
|
@@ -817,9 +823,11 @@ module SibApiV3Sdk
|
|
817
823
|
# @option opts [String] :email Mandatory if templateId and messageId are not passed in query filters. Email address to which transactional email has been sent.
|
818
824
|
# @option opts [Integer] :template_id Mandatory if email and messageId are not passed in query filters. Id of the template that was used to compose transactional email.
|
819
825
|
# @option opts [String] :message_id Mandatory if templateId and email are not passed in query filters. Message ID of the transactional email sent.
|
820
|
-
# @option opts [
|
821
|
-
# @option opts [
|
822
|
-
# @option opts [String] :sort Sort the results in the ascending/descending order of record creation
|
826
|
+
# @option opts [String] :start_date Mandatory if endDate is used. Starting date (YYYY-MM-DD) from which you want to fetch the list. Maximum time period that can be selected is one month.
|
827
|
+
# @option opts [String] :end_date Mandatory if startDate is used. Ending date (YYYY-MM-DD) till which you want to fetch the list. Maximum time period that can be selected is one month.
|
828
|
+
# @option opts [String] :sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed
|
829
|
+
# @option opts [Integer] :limit Number of documents returned per page
|
830
|
+
# @option opts [Integer] :offset Index of the first document in the page
|
823
831
|
# @return [Array<(GetTransacEmailsList, Fixnum, Hash)>] GetTransacEmailsList data, response status code and response headers
|
824
832
|
def get_transac_emails_list_with_http_info(opts = {})
|
825
833
|
if @api_client.config.debugging
|
@@ -828,6 +836,10 @@ module SibApiV3Sdk
|
|
828
836
|
if @api_client.config.client_side_validation && opts[:'sort'] && !['asc', 'desc'].include?(opts[:'sort'])
|
829
837
|
fail ArgumentError, 'invalid value for "sort", must be one of asc, desc'
|
830
838
|
end
|
839
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 1000
|
840
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling TransactionalEmailsApi.get_transac_emails_list, must be smaller than or equal to 1000.'
|
841
|
+
end
|
842
|
+
|
831
843
|
# resource path
|
832
844
|
local_var_path = '/smtp/emails'
|
833
845
|
|
@@ -839,6 +851,8 @@ module SibApiV3Sdk
|
|
839
851
|
query_params[:'startDate'] = opts[:'start_date'] if !opts[:'start_date'].nil?
|
840
852
|
query_params[:'endDate'] = opts[:'end_date'] if !opts[:'end_date'].nil?
|
841
853
|
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
854
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
855
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
842
856
|
|
843
857
|
# header parameters
|
844
858
|
header_params = {}
|
@@ -865,66 +879,6 @@ module SibApiV3Sdk
|
|
865
879
|
end
|
866
880
|
return data, status_code, headers
|
867
881
|
end
|
868
|
-
# Send a template
|
869
|
-
# This endpoint is deprecated. Prefer v3/smtp/email instead.
|
870
|
-
# @param template_id Id of the template
|
871
|
-
# @param send_email
|
872
|
-
# @param [Hash] opts the optional parameters
|
873
|
-
# @return [SendTemplateEmail]
|
874
|
-
def send_template(template_id, send_email, opts = {})
|
875
|
-
data, _status_code, _headers = send_template_with_http_info(template_id, send_email, opts)
|
876
|
-
data
|
877
|
-
end
|
878
|
-
|
879
|
-
# Send a template
|
880
|
-
# This endpoint is deprecated. Prefer v3/smtp/email instead.
|
881
|
-
# @param template_id Id of the template
|
882
|
-
# @param send_email
|
883
|
-
# @param [Hash] opts the optional parameters
|
884
|
-
# @return [Array<(SendTemplateEmail, Fixnum, Hash)>] SendTemplateEmail data, response status code and response headers
|
885
|
-
def send_template_with_http_info(template_id, send_email, opts = {})
|
886
|
-
if @api_client.config.debugging
|
887
|
-
@api_client.config.logger.debug 'Calling API: TransactionalEmailsApi.send_template ...'
|
888
|
-
end
|
889
|
-
# verify the required parameter 'template_id' is set
|
890
|
-
if @api_client.config.client_side_validation && template_id.nil?
|
891
|
-
fail ArgumentError, "Missing the required parameter 'template_id' when calling TransactionalEmailsApi.send_template"
|
892
|
-
end
|
893
|
-
# verify the required parameter 'send_email' is set
|
894
|
-
if @api_client.config.client_side_validation && send_email.nil?
|
895
|
-
fail ArgumentError, "Missing the required parameter 'send_email' when calling TransactionalEmailsApi.send_template"
|
896
|
-
end
|
897
|
-
# resource path
|
898
|
-
local_var_path = '/smtp/templates/{templateId}/send'.sub('{' + 'templateId' + '}', template_id.to_s)
|
899
|
-
|
900
|
-
# query parameters
|
901
|
-
query_params = {}
|
902
|
-
|
903
|
-
# header parameters
|
904
|
-
header_params = {}
|
905
|
-
# HTTP header 'Accept' (if needed)
|
906
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
907
|
-
# HTTP header 'Content-Type'
|
908
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
909
|
-
|
910
|
-
# form parameters
|
911
|
-
form_params = {}
|
912
|
-
|
913
|
-
# http body (model)
|
914
|
-
post_body = @api_client.object_to_http_body(send_email)
|
915
|
-
auth_names = ['api-key', 'partner-key']
|
916
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
917
|
-
:header_params => header_params,
|
918
|
-
:query_params => query_params,
|
919
|
-
:form_params => form_params,
|
920
|
-
:body => post_body,
|
921
|
-
:auth_names => auth_names,
|
922
|
-
:return_type => 'SendTemplateEmail')
|
923
|
-
if @api_client.config.debugging
|
924
|
-
@api_client.config.logger.debug "API called: TransactionalEmailsApi#send_template\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
925
|
-
end
|
926
|
-
return data, status_code, headers
|
927
|
-
end
|
928
882
|
# Send a template to your test list
|
929
883
|
# @param template_id Id of the template
|
930
884
|
# @param send_test_email
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 3.0.0
|
7
7
|
Contact: contact@sendinblue.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -39,7 +39,7 @@ module SibApiV3Sdk
|
|
39
39
|
# @option opts [String] :phone_number Filter the report for a specific phone number
|
40
40
|
# @option opts [String] :event Filter the report for specific events
|
41
41
|
# @option opts [String] :tags Filter the report for specific tags passed as a serialized urlencoded array
|
42
|
-
# @option opts [String] :sort Sort the results in the ascending/descending order of record creation (default to desc)
|
42
|
+
# @option opts [String] :sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (default to desc)
|
43
43
|
# @return [GetSmsEventReport]
|
44
44
|
def get_sms_events(opts = {})
|
45
45
|
data, _status_code, _headers = get_sms_events_with_http_info(opts)
|
@@ -56,7 +56,7 @@ module SibApiV3Sdk
|
|
56
56
|
# @option opts [String] :phone_number Filter the report for a specific phone number
|
57
57
|
# @option opts [String] :event Filter the report for specific events
|
58
58
|
# @option opts [String] :tags Filter the report for specific tags passed as a serialized urlencoded array
|
59
|
-
# @option opts [String] :sort Sort the results in the ascending/descending order of record creation
|
59
|
+
# @option opts [String] :sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed
|
60
60
|
# @return [Array<(GetSmsEventReport, Fixnum, Hash)>] GetSmsEventReport data, response status code and response headers
|
61
61
|
def get_sms_events_with_http_info(opts = {})
|
62
62
|
if @api_client.config.debugging
|
@@ -176,7 +176,7 @@ module SibApiV3Sdk
|
|
176
176
|
# @option opts [String] :end_date Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report
|
177
177
|
# @option opts [Integer] :days Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate'
|
178
178
|
# @option opts [String] :tag Filter on a tag
|
179
|
-
# @option opts [String] :sort Sort the results in the ascending/descending order of record creation (default to desc)
|
179
|
+
# @option opts [String] :sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (default to desc)
|
180
180
|
# @return [GetTransacSmsReport]
|
181
181
|
def get_transac_sms_report(opts = {})
|
182
182
|
data, _status_code, _headers = get_transac_sms_report_with_http_info(opts)
|
@@ -189,7 +189,7 @@ module SibApiV3Sdk
|
|
189
189
|
# @option opts [String] :end_date Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report
|
190
190
|
# @option opts [Integer] :days Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate'
|
191
191
|
# @option opts [String] :tag Filter on a tag
|
192
|
-
# @option opts [String] :sort Sort the results in the ascending/descending order of record creation
|
192
|
+
# @option opts [String] :sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed
|
193
193
|
# @return [Array<(GetTransacSmsReport, Fixnum, Hash)>] GetTransacSmsReport data, response status code and response headers
|
194
194
|
def get_transac_sms_report_with_http_info(opts = {})
|
195
195
|
if @api_client.config.debugging
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 3.0.0
|
7
7
|
Contact: contact@sendinblue.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -187,6 +187,7 @@ module SibApiV3Sdk
|
|
187
187
|
# Get all webhooks
|
188
188
|
# @param [Hash] opts the optional parameters
|
189
189
|
# @option opts [String] :type Filter on webhook type (default to transactional)
|
190
|
+
# @option opts [String] :sort Sort the results in the ascending/descending order of webhook creation (default to desc)
|
190
191
|
# @return [GetWebhooks]
|
191
192
|
def get_webhooks(opts = {})
|
192
193
|
data, _status_code, _headers = get_webhooks_with_http_info(opts)
|
@@ -196,13 +197,17 @@ module SibApiV3Sdk
|
|
196
197
|
# Get all webhooks
|
197
198
|
# @param [Hash] opts the optional parameters
|
198
199
|
# @option opts [String] :type Filter on webhook type
|
200
|
+
# @option opts [String] :sort Sort the results in the ascending/descending order of webhook creation
|
199
201
|
# @return [Array<(GetWebhooks, Fixnum, Hash)>] GetWebhooks data, response status code and response headers
|
200
202
|
def get_webhooks_with_http_info(opts = {})
|
201
203
|
if @api_client.config.debugging
|
202
204
|
@api_client.config.logger.debug 'Calling API: WebhooksApi.get_webhooks ...'
|
203
205
|
end
|
204
|
-
if @api_client.config.client_side_validation && opts[:'type'] && !['marketing', 'transactional'].include?(opts[:'type'])
|
205
|
-
fail ArgumentError, 'invalid value for "type", must be one of marketing, transactional'
|
206
|
+
if @api_client.config.client_side_validation && opts[:'type'] && !['marketing', 'transactional', 'inbound'].include?(opts[:'type'])
|
207
|
+
fail ArgumentError, 'invalid value for "type", must be one of marketing, transactional, inbound'
|
208
|
+
end
|
209
|
+
if @api_client.config.client_side_validation && opts[:'sort'] && !['asc', 'desc'].include?(opts[:'sort'])
|
210
|
+
fail ArgumentError, 'invalid value for "sort", must be one of asc, desc'
|
206
211
|
end
|
207
212
|
# resource path
|
208
213
|
local_var_path = '/webhooks'
|
@@ -210,6 +215,7 @@ module SibApiV3Sdk
|
|
210
215
|
# query parameters
|
211
216
|
query_params = {}
|
212
217
|
query_params[:'type'] = opts[:'type'] if !opts[:'type'].nil?
|
218
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
213
219
|
|
214
220
|
# header parameters
|
215
221
|
header_params = {}
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 3.0.0
|
7
7
|
Contact: contact@sendinblue.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -15,7 +15,7 @@ require 'json'
|
|
15
15
|
require 'logger'
|
16
16
|
require 'tempfile'
|
17
17
|
require 'typhoeus'
|
18
|
-
require 'uri'
|
18
|
+
require 'addressable/uri'
|
19
19
|
|
20
20
|
module SibApiV3Sdk
|
21
21
|
class ApiClient
|
@@ -63,7 +63,7 @@ module SibApiV3Sdk
|
|
63
63
|
:message => response.return_message)
|
64
64
|
else
|
65
65
|
fail ApiError.new(:code => response.code,
|
66
|
-
:response_headers => response.headers,
|
66
|
+
:response_headers => response.headers.to_h,
|
67
67
|
:response_body => response.body),
|
68
68
|
response.status_message
|
69
69
|
end
|
@@ -109,9 +109,12 @@ module SibApiV3Sdk
|
|
109
109
|
:ssl_verifyhost => _verify_ssl_host,
|
110
110
|
:sslcert => @config.cert_file,
|
111
111
|
:sslkey => @config.key_file,
|
112
|
-
:verbose => @config.debugging
|
112
|
+
:verbose => @config.debugging,
|
113
|
+
:http_version => :httpv1_1
|
113
114
|
}
|
114
115
|
|
116
|
+
req_opts.merge!(multipart: true) if header_params['Content-Type'].start_with? "multipart/"
|
117
|
+
|
115
118
|
# set custom cert, if provided
|
116
119
|
req_opts[:cainfo] = @config.ssl_ca_cert if @config.ssl_ca_cert
|
117
120
|
|
@@ -264,7 +267,7 @@ module SibApiV3Sdk
|
|
264
267
|
def build_request_url(path)
|
265
268
|
# Add leading and trailing slashes to path
|
266
269
|
path = "/#{path}".gsub(/\/+/, '/')
|
267
|
-
URI.encode(@config.base_url + path)
|
270
|
+
Addressable::URI.encode(@config.base_url + path)
|
268
271
|
end
|
269
272
|
|
270
273
|
# Builds the HTTP request body
|
@@ -6,11 +6,11 @@
|
|
6
6
|
OpenAPI spec version: 3.0.0
|
7
7
|
Contact: contact@sendinblue.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
|
-
require 'uri'
|
13
|
+
require 'addressable/uri'
|
14
14
|
|
15
15
|
module SibApiV3Sdk
|
16
16
|
class Configuration
|
@@ -175,7 +175,7 @@ module SibApiV3Sdk
|
|
175
175
|
|
176
176
|
def base_url
|
177
177
|
url = "#{scheme}://#{[host, base_path].join('/').gsub(/\/+/, '/')}".sub(/\/+\z/, '')
|
178
|
-
URI.encode(url)
|
178
|
+
Addressable::URI.encode(url)
|
179
179
|
end
|
180
180
|
|
181
181
|
# Gets API key (with prefix if set).
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 3.0.0
|
7
7
|
Contact: contact@sendinblue.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -198,7 +198,7 @@ module SibApiV3Sdk
|
|
198
198
|
return nil unless attributes.is_a?(Hash)
|
199
199
|
self.class.swagger_types.each_pair do |key, type|
|
200
200
|
if type =~ /\AArray<(.*)>/i
|
201
|
-
# check to ensure the input is an array given that the
|
201
|
+
# check to ensure the input is an array given that the attribute
|
202
202
|
# is documented as an array but the input is not
|
203
203
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
204
204
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -294,5 +294,6 @@ module SibApiV3Sdk
|
|
294
294
|
value
|
295
295
|
end
|
296
296
|
end
|
297
|
+
|
297
298
|
end
|
298
299
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 3.0.0
|
7
7
|
Contact: contact@sendinblue.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -102,7 +102,7 @@ module SibApiV3Sdk
|
|
102
102
|
return nil unless attributes.is_a?(Hash)
|
103
103
|
self.class.swagger_types.each_pair do |key, type|
|
104
104
|
if type =~ /\AArray<(.*)>/i
|
105
|
-
# check to ensure the input is an array given that the
|
105
|
+
# check to ensure the input is an array given that the attribute
|
106
106
|
# is documented as an array but the input is not
|
107
107
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
108
108
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -198,5 +198,6 @@ module SibApiV3Sdk
|
|
198
198
|
value
|
199
199
|
end
|
200
200
|
end
|
201
|
+
|
201
202
|
end
|
202
203
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 3.0.0
|
7
7
|
Contact: contact@sendinblue.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -158,7 +158,7 @@ module SibApiV3Sdk
|
|
158
158
|
return nil unless attributes.is_a?(Hash)
|
159
159
|
self.class.swagger_types.each_pair do |key, type|
|
160
160
|
if type =~ /\AArray<(.*)>/i
|
161
|
-
# check to ensure the input is an array given that the
|
161
|
+
# check to ensure the input is an array given that the attribute
|
162
162
|
# is documented as an array but the input is not
|
163
163
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
164
164
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -254,5 +254,6 @@ module SibApiV3Sdk
|
|
254
254
|
value
|
255
255
|
end
|
256
256
|
end
|
257
|
+
|
257
258
|
end
|
258
259
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 3.0.0
|
7
7
|
Contact: contact@sendinblue.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -75,7 +75,7 @@ module SibApiV3Sdk
|
|
75
75
|
return nil unless attributes.is_a?(Hash)
|
76
76
|
self.class.swagger_types.each_pair do |key, type|
|
77
77
|
if type =~ /\AArray<(.*)>/i
|
78
|
-
# check to ensure the input is an array given that the
|
78
|
+
# check to ensure the input is an array given that the attribute
|
79
79
|
# is documented as an array but the input is not
|
80
80
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
81
81
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -171,5 +171,6 @@ module SibApiV3Sdk
|
|
171
171
|
value
|
172
172
|
end
|
173
173
|
end
|
174
|
+
|
174
175
|
end
|
175
176
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 3.0.0
|
7
7
|
Contact: contact@sendinblue.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -119,7 +119,7 @@ module SibApiV3Sdk
|
|
119
119
|
return nil unless attributes.is_a?(Hash)
|
120
120
|
self.class.swagger_types.each_pair do |key, type|
|
121
121
|
if type =~ /\AArray<(.*)>/i
|
122
|
-
# check to ensure the input is an array given that the
|
122
|
+
# check to ensure the input is an array given that the attribute
|
123
123
|
# is documented as an array but the input is not
|
124
124
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
125
125
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -215,5 +215,6 @@ module SibApiV3Sdk
|
|
215
215
|
value
|
216
216
|
end
|
217
217
|
end
|
218
|
+
|
218
219
|
end
|
219
220
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 3.0.0
|
7
7
|
Contact: contact@sendinblue.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -105,7 +105,7 @@ module SibApiV3Sdk
|
|
105
105
|
return nil unless attributes.is_a?(Hash)
|
106
106
|
self.class.swagger_types.each_pair do |key, type|
|
107
107
|
if type =~ /\AArray<(.*)>/i
|
108
|
-
# check to ensure the input is an array given that the
|
108
|
+
# check to ensure the input is an array given that the attribute
|
109
109
|
# is documented as an array but the input is not
|
110
110
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
111
111
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -201,5 +201,6 @@ module SibApiV3Sdk
|
|
201
201
|
value
|
202
202
|
end
|
203
203
|
end
|
204
|
+
|
204
205
|
end
|
205
206
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 3.0.0
|
7
7
|
Contact: contact@sendinblue.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -84,7 +84,7 @@ module SibApiV3Sdk
|
|
84
84
|
return nil unless attributes.is_a?(Hash)
|
85
85
|
self.class.swagger_types.each_pair do |key, type|
|
86
86
|
if type =~ /\AArray<(.*)>/i
|
87
|
-
# check to ensure the input is an array given that the
|
87
|
+
# check to ensure the input is an array given that the attribute
|
88
88
|
# is documented as an array but the input is not
|
89
89
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
90
90
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -180,5 +180,6 @@ module SibApiV3Sdk
|
|
180
180
|
value
|
181
181
|
end
|
182
182
|
end
|
183
|
+
|
183
184
|
end
|
184
185
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 3.0.0
|
7
7
|
Contact: contact@sendinblue.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -98,7 +98,7 @@ module SibApiV3Sdk
|
|
98
98
|
return nil unless attributes.is_a?(Hash)
|
99
99
|
self.class.swagger_types.each_pair do |key, type|
|
100
100
|
if type =~ /\AArray<(.*)>/i
|
101
|
-
# check to ensure the input is an array given that the
|
101
|
+
# check to ensure the input is an array given that the attribute
|
102
102
|
# is documented as an array but the input is not
|
103
103
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
104
104
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -194,5 +194,6 @@ module SibApiV3Sdk
|
|
194
194
|
value
|
195
195
|
end
|
196
196
|
end
|
197
|
+
|
197
198
|
end
|
198
199
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 3.0.0
|
7
7
|
Contact: contact@sendinblue.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -94,7 +94,7 @@ module SibApiV3Sdk
|
|
94
94
|
return nil unless attributes.is_a?(Hash)
|
95
95
|
self.class.swagger_types.each_pair do |key, type|
|
96
96
|
if type =~ /\AArray<(.*)>/i
|
97
|
-
# check to ensure the input is an array given that the
|
97
|
+
# check to ensure the input is an array given that the attribute
|
98
98
|
# is documented as an array but the input is not
|
99
99
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
100
100
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -190,5 +190,6 @@ module SibApiV3Sdk
|
|
190
190
|
value
|
191
191
|
end
|
192
192
|
end
|
193
|
+
|
193
194
|
end
|
194
195
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 3.0.0
|
7
7
|
Contact: contact@sendinblue.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -89,7 +89,7 @@ module SibApiV3Sdk
|
|
89
89
|
return nil unless attributes.is_a?(Hash)
|
90
90
|
self.class.swagger_types.each_pair do |key, type|
|
91
91
|
if type =~ /\AArray<(.*)>/i
|
92
|
-
# check to ensure the input is an array given that the
|
92
|
+
# check to ensure the input is an array given that the attribute
|
93
93
|
# is documented as an array but the input is not
|
94
94
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
95
95
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -185,5 +185,6 @@ module SibApiV3Sdk
|
|
185
185
|
value
|
186
186
|
end
|
187
187
|
end
|
188
|
+
|
188
189
|
end
|
189
190
|
end
|