sib-api-v3-sdk 7.4.0 → 8.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/README.md +62 -4
- data/docs/Body.md +18 -0
- data/docs/Body1.md +18 -0
- data/docs/CRMApi.md +762 -0
- data/docs/Contact.md +15 -0
- data/docs/ContactsApi.md +63 -4
- data/docs/CreateSmsCampaign.md +1 -0
- data/docs/CreateSubAccount.md +11 -0
- data/docs/CreateWebhook.md +2 -1
- data/docs/FileData.md +17 -0
- data/docs/GetCampaignStats.md +1 -0
- data/docs/GetContactCampaignStats.md +1 -0
- data/docs/GetExtendedContactDetailsStatistics.md +1 -0
- data/docs/GetExtendedContactDetailsStatisticsDelivered.md +9 -0
- data/docs/GetExtendedList.md +1 -0
- 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/GetTransacEmailsList.md +1 -0
- data/docs/InboundParsingApi.md +139 -0
- data/docs/MasterAccountApi.md +424 -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/RequestContactExport.md +1 -2
- data/docs/RequestContactImport.md +3 -2
- data/docs/SendSmtpEmail.md +4 -4
- 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/TaskTypes.md +10 -0
- data/docs/TransactionalEmailsApi.md +13 -68
- data/docs/UpdateBatchContacts.md +8 -0
- data/docs/UpdateBatchContactsContacts.md +16 -0
- data/docs/UpdateBatchContactsModel.md +9 -0
- data/docs/UpdateSmsCampaign.md +1 -0
- 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 +58 -5
- data/lib/sib-api-v3-sdk/api/crm_api.rb +716 -0
- data/lib/sib-api-v3-sdk/api/email_campaigns_api.rb +1 -1
- data/lib/sib-api-v3-sdk/api/folders_api.rb +1 -1
- data/lib/sib-api-v3-sdk/api/inbound_parsing_api.rb +161 -0
- data/lib/sib-api-v3-sdk/api/lists_api.rb +1 -1
- data/lib/sib-api-v3-sdk/api/master_account_api.rb +416 -0
- data/lib/sib-api-v3-sdk/api/process_api.rb +1 -1
- 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 +1 -1
- data/lib/sib-api-v3-sdk/api/transactional_emails_api.rb +21 -67
- data/lib/sib-api-v3-sdk/api/transactional_sms_api.rb +1 -1
- data/lib/sib-api-v3-sdk/api/webhooks_api.rb +9 -3
- data/lib/sib-api-v3-sdk/api_client.rb +3 -2
- data/lib/sib-api-v3-sdk/api_error.rb +1 -1
- data/lib/sib-api-v3-sdk/configuration.rb +1 -1
- data/lib/sib-api-v3-sdk/models/ab_test_campaign_result.rb +1 -1
- data/lib/sib-api-v3-sdk/models/ab_test_campaign_result_clicked_links.rb +1 -1
- data/lib/sib-api-v3-sdk/models/ab_test_campaign_result_statistics.rb +1 -1
- data/lib/sib-api-v3-sdk/models/ab_test_version_clicks.rb +1 -1
- data/lib/sib-api-v3-sdk/models/ab_test_version_clicks_inner.rb +1 -1
- data/lib/sib-api-v3-sdk/models/ab_test_version_stats.rb +1 -1
- data/lib/sib-api-v3-sdk/models/add_child_domain.rb +1 -1
- data/lib/sib-api-v3-sdk/models/add_contact_to_list.rb +1 -1
- data/lib/sib-api-v3-sdk/models/add_credits.rb +1 -1
- data/lib/sib-api-v3-sdk/models/block_domain.rb +1 -1
- 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/{send_email.rb → contact.rb} +65 -79
- data/lib/sib-api-v3-sdk/models/create_attribute.rb +1 -1
- data/lib/sib-api-v3-sdk/models/create_attribute_enumeration.rb +1 -1
- data/lib/sib-api-v3-sdk/models/create_child.rb +1 -1
- data/lib/sib-api-v3-sdk/models/create_contact.rb +1 -1
- data/lib/sib-api-v3-sdk/models/create_doi_contact.rb +1 -1
- data/lib/sib-api-v3-sdk/models/create_email_campaign.rb +1 -1
- data/lib/sib-api-v3-sdk/models/create_email_campaign_recipients.rb +1 -1
- data/lib/sib-api-v3-sdk/models/create_email_campaign_sender.rb +1 -1
- data/lib/sib-api-v3-sdk/models/create_list.rb +1 -1
- data/lib/sib-api-v3-sdk/models/create_model.rb +1 -1
- data/lib/sib-api-v3-sdk/models/create_reseller.rb +1 -1
- data/lib/sib-api-v3-sdk/models/create_sender.rb +1 -1
- data/lib/sib-api-v3-sdk/models/create_sender_ips.rb +1 -1
- data/lib/sib-api-v3-sdk/models/create_sender_model.rb +1 -1
- data/lib/sib-api-v3-sdk/models/create_sms_campaign.rb +17 -5
- data/lib/sib-api-v3-sdk/models/create_sms_campaign_recipients.rb +1 -1
- data/lib/sib-api-v3-sdk/models/create_smtp_email.rb +1 -1
- data/lib/sib-api-v3-sdk/models/create_smtp_template.rb +1 -1
- data/lib/sib-api-v3-sdk/models/create_smtp_template_sender.rb +1 -1
- data/lib/sib-api-v3-sdk/models/create_sub_account.rb +259 -0
- data/lib/sib-api-v3-sdk/models/create_update_contact_model.rb +1 -1
- data/lib/sib-api-v3-sdk/models/create_update_folder.rb +1 -1
- data/lib/sib-api-v3-sdk/models/create_webhook.rb +18 -8
- data/lib/sib-api-v3-sdk/models/created_process_id.rb +1 -1
- data/lib/sib-api-v3-sdk/models/delete_hardbounces.rb +1 -1
- data/lib/sib-api-v3-sdk/models/email_export_recipients.rb +1 -1
- data/lib/sib-api-v3-sdk/models/error_model.rb +1 -1
- data/lib/sib-api-v3-sdk/models/file_data.rb +278 -0
- data/lib/sib-api-v3-sdk/models/get_account.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_account_marketing_automation.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_account_plan.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_account_relay.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_account_relay_data.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_aggregated_report.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_attributes.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_attributes_attributes.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_attributes_enumeration.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_blocked_domains.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_campaign_overview.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_campaign_recipients.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_campaign_stats.rb +17 -2
- data/lib/sib-api-v3-sdk/models/get_child_account_creation_status.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_child_domain.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_child_domains.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_child_info.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_child_info_api_keys.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_child_info_api_keys_v2.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_child_info_api_keys_v3.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_child_info_credits.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_child_info_statistics.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_children_list.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_client.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_contact_campaign_stats.rb +16 -5
- data/lib/sib-api-v3-sdk/models/get_contact_campaign_stats_clicked.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_contact_campaign_stats_opened.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_contact_campaign_stats_transac_attributes.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_contact_campaign_stats_unsubscriptions.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_contact_details.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_contacts.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_device_browser_stats.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_email_campaign.rb +3 -3
- data/lib/sib-api-v3-sdk/models/get_email_campaigns.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_email_event_report.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_email_event_report_events.rb +3 -3
- data/lib/sib-api-v3-sdk/models/get_extended_campaign_overview.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_extended_campaign_overview_sender.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_extended_campaign_stats.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_extended_campaign_stats_global_stats.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_extended_client.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_extended_client_address.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_extended_contact_details.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics.rb +17 -5
- data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_clicked.rb +1 -1
- 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 +1 -1
- data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_messages_sent.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_opened.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_unsubscriptions.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_unsubscriptions_admin_unsubscription.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_unsubscriptions_user_unsubscription.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_extended_list.rb +17 -2
- data/lib/sib-api-v3-sdk/models/get_extended_list_campaign_stats.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_folder.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_folder_lists.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_folders.rb +1 -1
- data/lib/sib-api-v3-sdk/models/{send_template_email.rb → get_inbound_email_events.rb} +11 -15
- 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 +1 -1
- data/lib/sib-api-v3-sdk/models/get_ip_from_sender.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_ips.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_ips_from_sender.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_list.rb +20 -5
- data/lib/sib-api-v3-sdk/models/get_lists.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_process.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_processes.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_reports.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_reports_reports.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_senders_list.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_senders_list_ips.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_senders_list_senders.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_shared_template_url.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_sms_campaign.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_sms_campaign_overview.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_sms_campaign_recipients.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_sms_campaign_stats.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_sms_campaigns.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_sms_event_report.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_sms_event_report_events.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_smtp_template_overview.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_smtp_template_overview_sender.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_smtp_templates.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_sso_token.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_stats_by_browser.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_stats_by_device.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_stats_by_domain.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_transac_aggregated_sms_report.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_transac_blocked_contacts.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_transac_blocked_contacts_contacts.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_transac_blocked_contacts_reason.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_transac_email_content.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_transac_email_content_events.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_transac_emails_list.rb +12 -2
- data/lib/sib-api-v3-sdk/models/get_transac_emails_list_transactional_emails.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_transac_sms_report.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_transac_sms_report_reports.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_webhook.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_webhooks.rb +1 -1
- data/lib/sib-api-v3-sdk/models/manage_ip.rb +1 -1
- 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/{send_email_attachment.rb → master_details_response_plan_info_features.rb} +46 -45
- 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 +1 -1
- data/lib/sib-api-v3-sdk/models/post_contact_info_contacts.rb +1 -1
- data/lib/sib-api-v3-sdk/models/post_send_failed.rb +1 -1
- data/lib/sib-api-v3-sdk/models/post_send_sms_test_failed.rb +1 -1
- data/lib/sib-api-v3-sdk/models/remaining_credit_model.rb +1 -1
- data/lib/sib-api-v3-sdk/models/remaining_credit_model_child.rb +1 -1
- data/lib/sib-api-v3-sdk/models/remaining_credit_model_reseller.rb +1 -1
- data/lib/sib-api-v3-sdk/models/remove_contact_from_list.rb +1 -1
- data/lib/sib-api-v3-sdk/models/remove_credits.rb +1 -1
- data/lib/sib-api-v3-sdk/models/request_contact_export.rb +7 -12
- data/lib/sib-api-v3-sdk/models/request_contact_export_custom_contact_filter.rb +2 -2
- data/lib/sib-api-v3-sdk/models/request_contact_import.rb +16 -4
- data/lib/sib-api-v3-sdk/models/request_contact_import_new_list.rb +1 -1
- data/lib/sib-api-v3-sdk/models/request_sms_recipient_export.rb +1 -1
- data/lib/sib-api-v3-sdk/models/send_report.rb +1 -1
- data/lib/sib-api-v3-sdk/models/send_report_email.rb +1 -1
- data/lib/sib-api-v3-sdk/models/send_sms.rb +1 -1
- data/lib/sib-api-v3-sdk/models/send_smtp_email.rb +5 -5
- data/lib/sib-api-v3-sdk/models/send_smtp_email_attachment.rb +1 -1
- data/lib/sib-api-v3-sdk/models/send_smtp_email_bcc.rb +1 -1
- data/lib/sib-api-v3-sdk/models/send_smtp_email_cc.rb +1 -1
- data/lib/sib-api-v3-sdk/models/send_smtp_email_message_versions.rb +1 -1
- data/lib/sib-api-v3-sdk/models/send_smtp_email_reply_to.rb +1 -1
- data/lib/sib-api-v3-sdk/models/send_smtp_email_reply_to_1.rb +1 -1
- data/lib/sib-api-v3-sdk/models/send_smtp_email_sender.rb +1 -1
- data/lib/sib-api-v3-sdk/models/send_smtp_email_to.rb +1 -1
- data/lib/sib-api-v3-sdk/models/send_smtp_email_to_1.rb +1 -1
- data/lib/sib-api-v3-sdk/models/send_test_email.rb +2 -2
- data/lib/sib-api-v3-sdk/models/send_test_sms.rb +1 -1
- data/lib/sib-api-v3-sdk/models/send_transac_sms.rb +17 -5
- 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/task_types.rb +206 -0
- data/lib/sib-api-v3-sdk/models/update_attribute.rb +1 -1
- data/lib/sib-api-v3-sdk/models/update_attribute_enumeration.rb +1 -1
- 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 +1 -1
- data/lib/sib-api-v3-sdk/models/update_child.rb +1 -1
- data/lib/sib-api-v3-sdk/models/update_child_account_status.rb +1 -1
- data/lib/sib-api-v3-sdk/models/update_child_domain.rb +1 -1
- data/lib/sib-api-v3-sdk/models/update_contact.rb +1 -1
- data/lib/sib-api-v3-sdk/models/update_email_campaign.rb +1 -1
- data/lib/sib-api-v3-sdk/models/update_email_campaign_recipients.rb +1 -1
- data/lib/sib-api-v3-sdk/models/update_email_campaign_sender.rb +1 -1
- data/lib/sib-api-v3-sdk/models/update_list.rb +1 -1
- data/lib/sib-api-v3-sdk/models/update_sender.rb +1 -1
- data/lib/sib-api-v3-sdk/models/update_sms_campaign.rb +17 -5
- data/lib/sib-api-v3-sdk/models/update_smtp_template.rb +1 -1
- data/lib/sib-api-v3-sdk/models/update_smtp_template_sender.rb +1 -1
- data/lib/sib-api-v3-sdk/models/update_webhook.rb +16 -6
- data/lib/sib-api-v3-sdk/models/upload_image_to_gallery.rb +1 -1
- data/lib/sib-api-v3-sdk/version.rb +2 -2
- data/lib/sib-api-v3-sdk.rb +43 -4
- 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 +15 -3
- data/spec/api/crm_api_spec.rb +180 -0
- data/spec/api/email_campaigns_api_spec.rb +1 -1
- data/spec/api/folders_api_spec.rb +1 -1
- data/spec/api/inbound_parsing_api_spec.rb +64 -0
- data/spec/api/lists_api_spec.rb +1 -1
- data/spec/api/master_account_api_spec.rb +119 -0
- data/spec/api/process_api_spec.rb +1 -1
- 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 +1 -1
- data/spec/api/transactional_emails_api_spec.rb +7 -16
- data/spec/api/transactional_sms_api_spec.rb +1 -1
- data/spec/api/webhooks_api_spec.rb +2 -1
- data/spec/api_client_spec.rb +1 -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 +1 -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 +63 -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 +2 -2
- 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 +1 -1
- 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 +1 -1
- 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 +7 -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 +1 -1
- data/spec/models/send_smtp_email_reply_to_1_spec.rb +1 -1
- 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 +1 -1
- data/spec/models/send_smtp_email_to_1_spec.rb +1 -1
- 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/{send_email_attachment_spec.rb → sso_token_request_spec.rb} +9 -9
- 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/task_types_spec.rb +53 -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 +357 -182
- data/docs/SendEmail.md +0 -16
- data/docs/SendEmailAttachment.md +0 -9
- data/docs/SendTemplateEmail.md +0 -8
@@ -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,6 +158,7 @@ describe 'ContactsApi' do
|
|
158
158
|
|
159
159
|
# unit tests for get_contact_info
|
160
160
|
# Get a contact's details
|
161
|
+
# Along with the contact details, this endpoint will show the statistics of contact for the recent 90 days by default. To fetch the earlier statistics, please use Get contact campaign stats (https://developers.sendinblue.com/reference/contacts-7#getcontactstats) endpoint with the appropriate date ranges.
|
161
162
|
# @param identifier Email (urlencoded) OR ID of the contact OR its SMS attribute value
|
162
163
|
# @param [Hash] opts the optional parameters
|
163
164
|
# @return [GetExtendedContactDetails]
|
@@ -171,8 +172,8 @@ describe 'ContactsApi' do
|
|
171
172
|
# Get email campaigns' statistics for a contact
|
172
173
|
# @param identifier Email (urlencoded) OR ID of the contact
|
173
174
|
# @param [Hash] opts the optional parameters
|
174
|
-
# @option opts [
|
175
|
-
# @option opts [
|
175
|
+
# @option opts [String] :start_date Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be lower than equal to endDate
|
176
|
+
# @option opts [String] :end_date Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be greater than equal to startDate. Maximum difference between startDate and endDate should not be greater than 90 days
|
176
177
|
# @return [GetContactCampaignStats]
|
177
178
|
describe 'get_contact_stats test' do
|
178
179
|
it 'should work' do
|
@@ -320,6 +321,17 @@ describe 'ContactsApi' do
|
|
320
321
|
end
|
321
322
|
end
|
322
323
|
|
324
|
+
# unit tests for update_batch_contacts
|
325
|
+
# Update multiple contacts
|
326
|
+
# @param update_batch_contacts Values to update multiple contacts
|
327
|
+
# @param [Hash] opts the optional parameters
|
328
|
+
# @return [nil]
|
329
|
+
describe 'update_batch_contacts test' do
|
330
|
+
it 'should work' do
|
331
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
332
|
+
end
|
333
|
+
end
|
334
|
+
|
323
335
|
# unit tests for update_contact
|
324
336
|
# Update a contact
|
325
337
|
# @param identifier Email (urlencoded) OR ID of the contact
|
@@ -0,0 +1,180 @@
|
|
1
|
+
=begin
|
2
|
+
#SendinBlue API
|
3
|
+
|
4
|
+
#SendinBlue provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/sendinblue **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable |
|
5
|
+
|
6
|
+
OpenAPI spec version: 3.0.0
|
7
|
+
Contact: contact@sendinblue.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for SibApiV3Sdk::CRMApi
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'CRMApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@instance = SibApiV3Sdk::CRMApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of CRMApi' do
|
30
|
+
it 'should create an instance of CRMApi' do
|
31
|
+
expect(@instance).to be_instance_of(SibApiV3Sdk::CRMApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for crm_files_id_data_get
|
36
|
+
# Get file details
|
37
|
+
# @param id File id to get file data.
|
38
|
+
# @param [Hash] opts the optional parameters
|
39
|
+
# @return [FileData]
|
40
|
+
describe 'crm_files_id_data_get test' do
|
41
|
+
it 'should work' do
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
# unit tests for crm_files_id_delete
|
47
|
+
# Delete a file
|
48
|
+
# @param id File id to delete.
|
49
|
+
# @param [Hash] opts the optional parameters
|
50
|
+
# @return [nil]
|
51
|
+
describe 'crm_files_id_delete test' do
|
52
|
+
it 'should work' do
|
53
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
# unit tests for crm_files_id_get
|
58
|
+
# Download a file
|
59
|
+
# @param id File id to download.
|
60
|
+
# @param [Hash] opts the optional parameters
|
61
|
+
# @return [nil]
|
62
|
+
describe 'crm_files_id_get test' do
|
63
|
+
it 'should work' do
|
64
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
68
|
+
# unit tests for crm_files_post
|
69
|
+
# Upload a file
|
70
|
+
# @param file File data to create a file.
|
71
|
+
# @param [Hash] opts the optional parameters
|
72
|
+
# @option opts [Array<String>] :deals_ids Deal ids linked to a file
|
73
|
+
# @return [FileData]
|
74
|
+
describe 'crm_files_post test' do
|
75
|
+
it 'should work' do
|
76
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
77
|
+
end
|
78
|
+
end
|
79
|
+
|
80
|
+
# unit tests for crm_notes_id_delete
|
81
|
+
# Delete a note
|
82
|
+
# @param id Note ID to delete
|
83
|
+
# @param [Hash] opts the optional parameters
|
84
|
+
# @return [nil]
|
85
|
+
describe 'crm_notes_id_delete test' do
|
86
|
+
it 'should work' do
|
87
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
88
|
+
end
|
89
|
+
end
|
90
|
+
|
91
|
+
# unit tests for crm_notes_id_get
|
92
|
+
# Get a note
|
93
|
+
# @param id Note ID to get
|
94
|
+
# @param [Hash] opts the optional parameters
|
95
|
+
# @return [Note]
|
96
|
+
describe 'crm_notes_id_get test' do
|
97
|
+
it 'should work' do
|
98
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
102
|
+
# unit tests for crm_notes_id_patch
|
103
|
+
# Update a note
|
104
|
+
# @param id Note ID to update
|
105
|
+
# @param body Note data to update a note
|
106
|
+
# @param [Hash] opts the optional parameters
|
107
|
+
# @return [Note]
|
108
|
+
describe 'crm_notes_id_patch test' do
|
109
|
+
it 'should work' do
|
110
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
111
|
+
end
|
112
|
+
end
|
113
|
+
|
114
|
+
# unit tests for crm_notes_post
|
115
|
+
# Create a note
|
116
|
+
# @param body Note data to create a note.
|
117
|
+
# @param [Hash] opts the optional parameters
|
118
|
+
# @return [Note]
|
119
|
+
describe 'crm_notes_post test' do
|
120
|
+
it 'should work' do
|
121
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
122
|
+
end
|
123
|
+
end
|
124
|
+
|
125
|
+
# unit tests for crm_tasks_id_delete
|
126
|
+
# Delete a task
|
127
|
+
# @param id
|
128
|
+
# @param [Hash] opts the optional parameters
|
129
|
+
# @return [nil]
|
130
|
+
describe 'crm_tasks_id_delete test' do
|
131
|
+
it 'should work' do
|
132
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
133
|
+
end
|
134
|
+
end
|
135
|
+
|
136
|
+
# unit tests for crm_tasks_id_get
|
137
|
+
# Get a task
|
138
|
+
# @param id
|
139
|
+
# @param [Hash] opts the optional parameters
|
140
|
+
# @return [Task]
|
141
|
+
describe 'crm_tasks_id_get test' do
|
142
|
+
it 'should work' do
|
143
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
144
|
+
end
|
145
|
+
end
|
146
|
+
|
147
|
+
# unit tests for crm_tasks_id_patch
|
148
|
+
# Update a task
|
149
|
+
# @param id
|
150
|
+
# @param body Updated task details.
|
151
|
+
# @param [Hash] opts the optional parameters
|
152
|
+
# @return [Task]
|
153
|
+
describe 'crm_tasks_id_patch test' do
|
154
|
+
it 'should work' do
|
155
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
156
|
+
end
|
157
|
+
end
|
158
|
+
|
159
|
+
# unit tests for crm_tasks_post
|
160
|
+
# Create a task
|
161
|
+
# @param body Task name.
|
162
|
+
# @param [Hash] opts the optional parameters
|
163
|
+
# @return [Task]
|
164
|
+
describe 'crm_tasks_post test' do
|
165
|
+
it 'should work' do
|
166
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
167
|
+
end
|
168
|
+
end
|
169
|
+
|
170
|
+
# unit tests for crm_tasktypes_get
|
171
|
+
# Get all task types
|
172
|
+
# @param [Hash] opts the optional parameters
|
173
|
+
# @return [TaskTypes]
|
174
|
+
describe 'crm_tasktypes_get test' do
|
175
|
+
it 'should work' do
|
176
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
177
|
+
end
|
178
|
+
end
|
179
|
+
|
180
|
+
end
|
@@ -0,0 +1,64 @@
|
|
1
|
+
=begin
|
2
|
+
#SendinBlue API
|
3
|
+
|
4
|
+
#SendinBlue provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/sendinblue **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable |
|
5
|
+
|
6
|
+
OpenAPI spec version: 3.0.0
|
7
|
+
Contact: contact@sendinblue.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for SibApiV3Sdk::InboundParsingApi
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'InboundParsingApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@instance = SibApiV3Sdk::InboundParsingApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of InboundParsingApi' do
|
30
|
+
it 'should create an instance of InboundParsingApi' do
|
31
|
+
expect(@instance).to be_instance_of(SibApiV3Sdk::InboundParsingApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for get_inbound_email_events
|
36
|
+
# Get the list of all the events for the received emails.
|
37
|
+
# This endpoint will show the list of all the events for the received emails.
|
38
|
+
# @param [Hash] opts the optional parameters
|
39
|
+
# @option opts [String] :sender Email address of the sender.
|
40
|
+
# @option opts [Date] :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.
|
41
|
+
# @option opts [Date] :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.
|
42
|
+
# @option opts [Integer] :limit Number of documents returned per page
|
43
|
+
# @option opts [Integer] :offset Index of the first document on the page
|
44
|
+
# @option opts [String] :sort Sort the results in the ascending/descending order of record creation
|
45
|
+
# @return [GetInboundEmailEvents]
|
46
|
+
describe 'get_inbound_email_events test' do
|
47
|
+
it 'should work' do
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
# unit tests for get_inbound_email_events_by_uuid
|
53
|
+
# Fetch all events history for one particular received email.
|
54
|
+
# This endpoint will show the list of all events history for one particular received email.
|
55
|
+
# @param uuid UUID to fetch events specific to recieved email
|
56
|
+
# @param [Hash] opts the optional parameters
|
57
|
+
# @return [GetInboundEmailEventsByUuid]
|
58
|
+
describe 'get_inbound_email_events_by_uuid test' do
|
59
|
+
it 'should work' do
|
60
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
end
|
data/spec/api/lists_api_spec.rb
CHANGED
@@ -0,0 +1,119 @@
|
|
1
|
+
=begin
|
2
|
+
#SendinBlue API
|
3
|
+
|
4
|
+
#SendinBlue provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/sendinblue **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable |
|
5
|
+
|
6
|
+
OpenAPI spec version: 3.0.0
|
7
|
+
Contact: contact@sendinblue.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for SibApiV3Sdk::MasterAccountApi
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'MasterAccountApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@instance = SibApiV3Sdk::MasterAccountApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of MasterAccountApi' do
|
30
|
+
it 'should create an instance of MasterAccountApi' do
|
31
|
+
expect(@instance).to be_instance_of(SibApiV3Sdk::MasterAccountApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for corporate_master_account_get
|
36
|
+
# Get the details of requested master account
|
37
|
+
# This endpoint will provide the details of the master account.
|
38
|
+
# @param [Hash] opts the optional parameters
|
39
|
+
# @return [MasterDetailsResponse]
|
40
|
+
describe 'corporate_master_account_get test' do
|
41
|
+
it 'should work' do
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
# unit tests for corporate_sub_account_get
|
47
|
+
# Get the list of all the sub-accounts of the master account.
|
48
|
+
# This endpoint will provide the list all the sub-accounts of the master account.
|
49
|
+
# @param offset Page number of sub-accounts listing
|
50
|
+
# @param limit Number of sub-accounts to be displayed on each page
|
51
|
+
# @param [Hash] opts the optional parameters
|
52
|
+
# @return [SubAccountsResponse]
|
53
|
+
describe 'corporate_sub_account_get test' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
# unit tests for corporate_sub_account_id_delete
|
60
|
+
# Delete a sub-account
|
61
|
+
# @param id Id of the sub-account organization to be deleted
|
62
|
+
# @param [Hash] opts the optional parameters
|
63
|
+
# @return [nil]
|
64
|
+
describe 'corporate_sub_account_id_delete test' do
|
65
|
+
it 'should work' do
|
66
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
# unit tests for corporate_sub_account_id_get
|
71
|
+
# Get sub-account details
|
72
|
+
# This endpoint will provide the details of specified sub-account organization
|
73
|
+
# @param id Id of the sub-account organization
|
74
|
+
# @param [Hash] opts the optional parameters
|
75
|
+
# @return [SubAccountDetailsResponse]
|
76
|
+
describe 'corporate_sub_account_id_get test' do
|
77
|
+
it 'should work' do
|
78
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
# unit tests for corporate_sub_account_id_plan_put
|
83
|
+
# Update sub-account plan
|
84
|
+
# This endpoint will update the sub-account plan
|
85
|
+
# @param id Id of the sub-account organization
|
86
|
+
# @param update_plan_details Values to update a sub-account plan
|
87
|
+
# @param [Hash] opts the optional parameters
|
88
|
+
# @return [nil]
|
89
|
+
describe 'corporate_sub_account_id_plan_put test' do
|
90
|
+
it 'should work' do
|
91
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
92
|
+
end
|
93
|
+
end
|
94
|
+
|
95
|
+
# unit tests for corporate_sub_account_post
|
96
|
+
# Create a new sub-account under a master account.
|
97
|
+
# This endpoint will create a new sub-account under a master account
|
98
|
+
# @param sub_account_create values to create new sub-account
|
99
|
+
# @param [Hash] opts the optional parameters
|
100
|
+
# @return [CreateModel]
|
101
|
+
describe 'corporate_sub_account_post test' do
|
102
|
+
it 'should work' do
|
103
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
107
|
+
# unit tests for corporate_sub_account_sso_token_post
|
108
|
+
# Generate SSO token to access Sendinblue
|
109
|
+
# This endpoint generates an sso token to authenticate and access a sub-account of the master using the account endpoint https://app.sendinblue.com/account/login/sub-account/sso/[token], where [token] will be replaced with actual token.
|
110
|
+
# @param sso_token_request Values to generate SSO token for sub-account
|
111
|
+
# @param [Hash] opts the optional parameters
|
112
|
+
# @return [GetSsoToken]
|
113
|
+
describe 'corporate_sub_account_sso_token_post test' do
|
114
|
+
it 'should work' do
|
115
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
119
|
+
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
|
|
@@ -92,6 +92,7 @@ describe 'TransactionalEmailsApi' do
|
|
92
92
|
|
93
93
|
# unit tests for get_aggregated_smtp_report
|
94
94
|
# Get your transactional email activity aggregated over a period of time
|
95
|
+
# 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
|
95
96
|
# @param [Hash] opts the optional parameters
|
96
97
|
# @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
|
97
98
|
# @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
|
@@ -117,6 +118,7 @@ describe 'TransactionalEmailsApi' do
|
|
117
118
|
|
118
119
|
# unit tests for get_email_event_report
|
119
120
|
# Get all your transactional email activity (unaggregated events)
|
121
|
+
# 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
|
120
122
|
# @param [Hash] opts the optional parameters
|
121
123
|
# @option opts [Integer] :limit Number limitation for the result returned
|
122
124
|
# @option opts [Integer] :offset Beginning point in the list to retrieve from.
|
@@ -212,9 +214,11 @@ describe 'TransactionalEmailsApi' do
|
|
212
214
|
# @option opts [String] :email Mandatory if templateId and messageId are not passed in query filters. Email address to which transactional email has been sent.
|
213
215
|
# @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.
|
214
216
|
# @option opts [String] :message_id Mandatory if templateId and email are not passed in query filters. Message ID of the transactional email sent.
|
215
|
-
# @option opts [
|
216
|
-
# @option opts [
|
217
|
+
# @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.
|
218
|
+
# @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.
|
217
219
|
# @option opts [String] :sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed
|
220
|
+
# @option opts [Integer] :limit Number of documents returned per page
|
221
|
+
# @option opts [Integer] :offset Index of the first document in the page
|
218
222
|
# @return [GetTransacEmailsList]
|
219
223
|
describe 'get_transac_emails_list test' do
|
220
224
|
it 'should work' do
|
@@ -222,19 +226,6 @@ describe 'TransactionalEmailsApi' do
|
|
222
226
|
end
|
223
227
|
end
|
224
228
|
|
225
|
-
# unit tests for send_template
|
226
|
-
# Send a template
|
227
|
-
# This endpoint is deprecated. Prefer v3/smtp/email instead.
|
228
|
-
# @param template_id Id of the template
|
229
|
-
# @param send_email
|
230
|
-
# @param [Hash] opts the optional parameters
|
231
|
-
# @return [SendTemplateEmail]
|
232
|
-
describe 'send_template test' do
|
233
|
-
it 'should work' do
|
234
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
235
|
-
end
|
236
|
-
end
|
237
|
-
|
238
229
|
# unit tests for send_test_template
|
239
230
|
# Send a template to your test list
|
240
231
|
# @param template_id Id of the template
|
@@ -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
|
|
@@ -69,6 +69,7 @@ describe 'WebhooksApi' do
|
|
69
69
|
# Get all webhooks
|
70
70
|
# @param [Hash] opts the optional parameters
|
71
71
|
# @option opts [String] :type Filter on webhook type
|
72
|
+
# @option opts [String] :sort Sort the results in the ascending/descending order of webhook creation
|
72
73
|
# @return [GetWebhooks]
|
73
74
|
describe 'get_webhooks test' do
|
74
75
|
it 'should work' do
|
data/spec/api_client_spec.rb
CHANGED
data/spec/configuration_spec.rb
CHANGED