sib-api-v3-sdk 5.5.0 → 7.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 +26 -21
- data/docs/AbTestCampaignResult.md +2 -0
- data/docs/AbTestCampaignResultClickedLinks.md +9 -0
- data/docs/AbTestCampaignResultStatistics.md +13 -0
- data/docs/AbTestVersionClicks.md +7 -0
- data/docs/AbTestVersionClicksInner.md +10 -0
- data/docs/AbTestVersionStats.md +9 -0
- data/docs/AddContactToList.md +2 -1
- data/docs/ContactsApi.md +24 -24
- data/docs/CreateDoiContact.md +1 -1
- data/docs/CreateSmsCampaign.md +1 -1
- data/docs/CreateWebhook.md +1 -1
- data/docs/GetAggregatedReport.md +13 -13
- data/docs/GetCampaignStats.md +1 -0
- data/docs/ListsApi.md +4 -4
- data/docs/RemoveContactFromList.md +2 -1
- data/docs/SendSmtpEmailSender.md +1 -0
- data/docs/SendTransacSms.md +1 -1
- data/docs/{SMTPApi.md → TransactionalEmailsApi.md} +52 -52
- data/docs/UpdateSmsCampaign.md +1 -1
- data/docs/UpdateWebhook.md +1 -1
- data/lib/sib-api-v3-sdk.rb +6 -1
- data/lib/sib-api-v3-sdk/api/contacts_api.rb +40 -40
- data/lib/sib-api-v3-sdk/api/lists_api.rb +4 -4
- data/lib/sib-api-v3-sdk/api/{smtp_api.rb → transactional_emails_api.rb} +52 -52
- data/lib/sib-api-v3-sdk/models/ab_test_campaign_result.rb +22 -4
- data/lib/sib-api-v3-sdk/models/ab_test_campaign_result_clicked_links.rb +202 -0
- data/lib/sib-api-v3-sdk/models/ab_test_campaign_result_statistics.rb +258 -0
- data/lib/sib-api-v3-sdk/models/ab_test_version_clicks.rb +175 -0
- data/lib/sib-api-v3-sdk/models/ab_test_version_clicks_inner.rb +219 -0
- data/lib/sib-api-v3-sdk/models/ab_test_version_stats.rb +205 -0
- data/lib/sib-api-v3-sdk/models/add_contact_to_list.rb +17 -5
- data/lib/sib-api-v3-sdk/models/create_doi_contact.rb +5 -0
- data/lib/sib-api-v3-sdk/models/create_sms_campaign.rb +6 -6
- data/lib/sib-api-v3-sdk/models/create_webhook.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_aggregated_report.rb +0 -65
- data/lib/sib-api-v3-sdk/models/get_campaign_stats.rb +14 -4
- data/lib/sib-api-v3-sdk/models/remove_contact_from_list.rb +14 -2
- data/lib/sib-api-v3-sdk/models/send_smtp_email_sender.rb +15 -5
- data/lib/sib-api-v3-sdk/models/send_transac_sms.rb +6 -6
- data/lib/sib-api-v3-sdk/models/update_sms_campaign.rb +6 -6
- data/lib/sib-api-v3-sdk/models/update_webhook.rb +1 -1
- data/lib/sib-api-v3-sdk/version.rb +1 -1
- data/spec/api/contacts_api_spec.rb +6 -6
- data/spec/api/lists_api_spec.rb +2 -2
- data/spec/api/{smtp_api_spec.rb → transactional_emails_api_spec.rb} +6 -6
- data/spec/models/ab_test_campaign_result_clicked_links_spec.rb +47 -0
- data/spec/models/ab_test_campaign_result_spec.rb +12 -0
- data/spec/models/ab_test_campaign_result_statistics_spec.rb +71 -0
- data/spec/models/ab_test_version_clicks_inner_spec.rb +53 -0
- data/spec/models/ab_test_version_clicks_spec.rb +35 -0
- data/spec/models/ab_test_version_stats_spec.rb +47 -0
- data/spec/models/add_contact_to_list_spec.rb +6 -0
- data/spec/models/get_campaign_stats_spec.rb +6 -0
- data/spec/models/remove_contact_from_list_spec.rb +6 -0
- data/spec/models/send_smtp_email_sender_spec.rb +6 -0
- data/testfile.rb +23 -0
- metadata +31 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15f9d65e78404fbe6548bcc5f5a91d6794141a01a6a1aa94b794350899f56056
|
4
|
+
data.tar.gz: 34be33be0e4e1ceae8f6eef3d0fd44f6ef1a6f0de3d05dd767423ec24eb61147
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f27089097e8b4027f0b76abb03011a3e67da76c4a642afad5089d52782bd3111bb6845e04ec7d3cc5d86695b0d8f8a7cadc4d77363a320920e9def9be8a260bb
|
7
|
+
data.tar.gz: 7c857139230de0670efb4b4551dba12217a2c10ab73872d1131fca1710129c1d8ea85f191f2687acebe4912ced89644055ffda01af1e3dbe8b6b2b8c4d015df4
|
data/README.md
CHANGED
@@ -96,12 +96,12 @@ Class | Method | HTTP request | Description
|
|
96
96
|
*SibApiV3Sdk::ContactsApi* | [**create_folder**](docs/ContactsApi.md#create_folder) | **POST** /contacts/folders | Create a folder
|
97
97
|
*SibApiV3Sdk::ContactsApi* | [**create_list**](docs/ContactsApi.md#create_list) | **POST** /contacts/lists | Create a list
|
98
98
|
*SibApiV3Sdk::ContactsApi* | [**delete_attribute**](docs/ContactsApi.md#delete_attribute) | **DELETE** /contacts/attributes/{attributeCategory}/{attributeName} | Delete an attribute
|
99
|
-
*SibApiV3Sdk::ContactsApi* | [**delete_contact**](docs/ContactsApi.md#delete_contact) | **DELETE** /contacts/{
|
99
|
+
*SibApiV3Sdk::ContactsApi* | [**delete_contact**](docs/ContactsApi.md#delete_contact) | **DELETE** /contacts/{identifier} | Delete a contact
|
100
100
|
*SibApiV3Sdk::ContactsApi* | [**delete_folder**](docs/ContactsApi.md#delete_folder) | **DELETE** /contacts/folders/{folderId} | Delete a folder (and all its lists)
|
101
101
|
*SibApiV3Sdk::ContactsApi* | [**delete_list**](docs/ContactsApi.md#delete_list) | **DELETE** /contacts/lists/{listId} | Delete a list
|
102
102
|
*SibApiV3Sdk::ContactsApi* | [**get_attributes**](docs/ContactsApi.md#get_attributes) | **GET** /contacts/attributes | List all attributes
|
103
|
-
*SibApiV3Sdk::ContactsApi* | [**get_contact_info**](docs/ContactsApi.md#get_contact_info) | **GET** /contacts/{
|
104
|
-
*SibApiV3Sdk::ContactsApi* | [**get_contact_stats**](docs/ContactsApi.md#get_contact_stats) | **GET** /contacts/{
|
103
|
+
*SibApiV3Sdk::ContactsApi* | [**get_contact_info**](docs/ContactsApi.md#get_contact_info) | **GET** /contacts/{identifier} | Get a contact's details
|
104
|
+
*SibApiV3Sdk::ContactsApi* | [**get_contact_stats**](docs/ContactsApi.md#get_contact_stats) | **GET** /contacts/{identifier}/campaignStats | Get email campaigns' statistics for a contact
|
105
105
|
*SibApiV3Sdk::ContactsApi* | [**get_contacts**](docs/ContactsApi.md#get_contacts) | **GET** /contacts | Get all the contacts
|
106
106
|
*SibApiV3Sdk::ContactsApi* | [**get_contacts_from_list**](docs/ContactsApi.md#get_contacts_from_list) | **GET** /contacts/lists/{listId}/contacts | Get contacts in a list
|
107
107
|
*SibApiV3Sdk::ContactsApi* | [**get_folder**](docs/ContactsApi.md#get_folder) | **GET** /contacts/folders/{folderId} | Returns a folder's details
|
@@ -113,7 +113,7 @@ Class | Method | HTTP request | Description
|
|
113
113
|
*SibApiV3Sdk::ContactsApi* | [**remove_contact_from_list**](docs/ContactsApi.md#remove_contact_from_list) | **POST** /contacts/lists/{listId}/contacts/remove | Delete a contact from a list
|
114
114
|
*SibApiV3Sdk::ContactsApi* | [**request_contact_export**](docs/ContactsApi.md#request_contact_export) | **POST** /contacts/export | Export contacts
|
115
115
|
*SibApiV3Sdk::ContactsApi* | [**update_attribute**](docs/ContactsApi.md#update_attribute) | **PUT** /contacts/attributes/{attributeCategory}/{attributeName} | Update contact attribute
|
116
|
-
*SibApiV3Sdk::ContactsApi* | [**update_contact**](docs/ContactsApi.md#update_contact) | **PUT** /contacts/{
|
116
|
+
*SibApiV3Sdk::ContactsApi* | [**update_contact**](docs/ContactsApi.md#update_contact) | **PUT** /contacts/{identifier} | Update a contact
|
117
117
|
*SibApiV3Sdk::ContactsApi* | [**update_folder**](docs/ContactsApi.md#update_folder) | **PUT** /contacts/folders/{folderId} | Update a folder
|
118
118
|
*SibApiV3Sdk::ContactsApi* | [**update_list**](docs/ContactsApi.md#update_list) | **PUT** /contacts/lists/{listId} | Update a list
|
119
119
|
*SibApiV3Sdk::EmailCampaignsApi* | [**create_email_campaign**](docs/EmailCampaignsApi.md#create_email_campaign) | **POST** /emailCampaigns | Create an email campaign
|
@@ -172,29 +172,29 @@ Class | Method | HTTP request | Description
|
|
172
172
|
*SibApiV3Sdk::SMSCampaignsApi* | [**send_test_sms**](docs/SMSCampaignsApi.md#send_test_sms) | **POST** /smsCampaigns/{campaignId}/sendTest | Send a test SMS campaign
|
173
173
|
*SibApiV3Sdk::SMSCampaignsApi* | [**update_sms_campaign**](docs/SMSCampaignsApi.md#update_sms_campaign) | **PUT** /smsCampaigns/{campaignId} | Update an SMS campaign
|
174
174
|
*SibApiV3Sdk::SMSCampaignsApi* | [**update_sms_campaign_status**](docs/SMSCampaignsApi.md#update_sms_campaign_status) | **PUT** /smsCampaigns/{campaignId}/status | Update a campaign's status
|
175
|
-
*SibApiV3Sdk::SMTPApi* | [**create_smtp_template**](docs/SMTPApi.md#create_smtp_template) | **POST** /smtp/templates | Create an email template
|
176
|
-
*SibApiV3Sdk::SMTPApi* | [**delete_hardbounces**](docs/SMTPApi.md#delete_hardbounces) | **POST** /smtp/deleteHardbounces | Delete hardbounces
|
177
|
-
*SibApiV3Sdk::SMTPApi* | [**delete_smtp_template**](docs/SMTPApi.md#delete_smtp_template) | **DELETE** /smtp/templates/{templateId} | Delete an inactive email template
|
178
|
-
*SibApiV3Sdk::SMTPApi* | [**get_aggregated_smtp_report**](docs/SMTPApi.md#get_aggregated_smtp_report) | **GET** /smtp/statistics/aggregatedReport | Get your transactional email activity aggregated over a period of time
|
179
|
-
*SibApiV3Sdk::SMTPApi* | [**get_email_event_report**](docs/SMTPApi.md#get_email_event_report) | **GET** /smtp/statistics/events | Get all your transactional email activity (unaggregated events)
|
180
|
-
*SibApiV3Sdk::SMTPApi* | [**get_smtp_report**](docs/SMTPApi.md#get_smtp_report) | **GET** /smtp/statistics/reports | Get your transactional email activity aggregated per day
|
181
|
-
*SibApiV3Sdk::SMTPApi* | [**get_smtp_template**](docs/SMTPApi.md#get_smtp_template) | **GET** /smtp/templates/{templateId} | Returns the template information
|
182
|
-
*SibApiV3Sdk::SMTPApi* | [**get_smtp_templates**](docs/SMTPApi.md#get_smtp_templates) | **GET** /smtp/templates | Get the list of email templates
|
183
|
-
*SibApiV3Sdk::SMTPApi* | [**get_transac_blocked_contacts**](docs/SMTPApi.md#get_transac_blocked_contacts) | **GET** /smtp/blockedContacts | Get the list of blocked or unsubscribed transactional contacts
|
184
|
-
*SibApiV3Sdk::SMTPApi* | [**get_transac_email_content**](docs/SMTPApi.md#get_transac_email_content) | **GET** /smtp/emails/{uuid} | Get the personalized content of a sent transactional email
|
185
|
-
*SibApiV3Sdk::SMTPApi* | [**get_transac_emails_list**](docs/SMTPApi.md#get_transac_emails_list) | **GET** /smtp/emails | Get the list of transactional emails on the basis of allowed filters
|
186
|
-
*SibApiV3Sdk::SMTPApi* | [**send_template**](docs/SMTPApi.md#send_template) | **POST** /smtp/templates/{templateId}/send | Send a template
|
187
|
-
*SibApiV3Sdk::SMTPApi* | [**send_test_template**](docs/SMTPApi.md#send_test_template) | **POST** /smtp/templates/{templateId}/sendTest | Send a template to your test list
|
188
|
-
*SibApiV3Sdk::SMTPApi* | [**send_transac_email**](docs/SMTPApi.md#send_transac_email) | **POST** /smtp/email | Send a transactional email
|
189
|
-
*SibApiV3Sdk::SMTPApi* | [**smtp_blocked_contacts_email_delete**](docs/SMTPApi.md#smtp_blocked_contacts_email_delete) | **DELETE** /smtp/blockedContacts/{email} | Unblock or resubscribe a transactional contact
|
190
|
-
*SibApiV3Sdk::SMTPApi* | [**smtp_log_message_id_delete**](docs/SMTPApi.md#smtp_log_message_id_delete) | **DELETE** /smtp/log/{messageId} | Delete an SMTP transactional log
|
191
|
-
*SibApiV3Sdk::SMTPApi* | [**update_smtp_template**](docs/SMTPApi.md#update_smtp_template) | **PUT** /smtp/templates/{templateId} | Update an email template
|
192
175
|
*SibApiV3Sdk::SendersApi* | [**create_sender**](docs/SendersApi.md#create_sender) | **POST** /senders | Create a new sender
|
193
176
|
*SibApiV3Sdk::SendersApi* | [**delete_sender**](docs/SendersApi.md#delete_sender) | **DELETE** /senders/{senderId} | Delete a sender
|
194
177
|
*SibApiV3Sdk::SendersApi* | [**get_ips**](docs/SendersApi.md#get_ips) | **GET** /senders/ips | Get all the dedicated IPs for your account
|
195
178
|
*SibApiV3Sdk::SendersApi* | [**get_ips_from_sender**](docs/SendersApi.md#get_ips_from_sender) | **GET** /senders/{senderId}/ips | Get all the dedicated IPs for a sender
|
196
179
|
*SibApiV3Sdk::SendersApi* | [**get_senders**](docs/SendersApi.md#get_senders) | **GET** /senders | Get the list of all your senders
|
197
180
|
*SibApiV3Sdk::SendersApi* | [**update_sender**](docs/SendersApi.md#update_sender) | **PUT** /senders/{senderId} | Update a sender
|
181
|
+
*SibApiV3Sdk::TransactionalEmailsApi* | [**create_smtp_template**](docs/TransactionalEmailsApi.md#create_smtp_template) | **POST** /smtp/templates | Create an email template
|
182
|
+
*SibApiV3Sdk::TransactionalEmailsApi* | [**delete_hardbounces**](docs/TransactionalEmailsApi.md#delete_hardbounces) | **POST** /smtp/deleteHardbounces | Delete hardbounces
|
183
|
+
*SibApiV3Sdk::TransactionalEmailsApi* | [**delete_smtp_template**](docs/TransactionalEmailsApi.md#delete_smtp_template) | **DELETE** /smtp/templates/{templateId} | Delete an inactive email template
|
184
|
+
*SibApiV3Sdk::TransactionalEmailsApi* | [**get_aggregated_smtp_report**](docs/TransactionalEmailsApi.md#get_aggregated_smtp_report) | **GET** /smtp/statistics/aggregatedReport | Get your transactional email activity aggregated over a period of time
|
185
|
+
*SibApiV3Sdk::TransactionalEmailsApi* | [**get_email_event_report**](docs/TransactionalEmailsApi.md#get_email_event_report) | **GET** /smtp/statistics/events | Get all your transactional email activity (unaggregated events)
|
186
|
+
*SibApiV3Sdk::TransactionalEmailsApi* | [**get_smtp_report**](docs/TransactionalEmailsApi.md#get_smtp_report) | **GET** /smtp/statistics/reports | Get your transactional email activity aggregated per day
|
187
|
+
*SibApiV3Sdk::TransactionalEmailsApi* | [**get_smtp_template**](docs/TransactionalEmailsApi.md#get_smtp_template) | **GET** /smtp/templates/{templateId} | Returns the template information
|
188
|
+
*SibApiV3Sdk::TransactionalEmailsApi* | [**get_smtp_templates**](docs/TransactionalEmailsApi.md#get_smtp_templates) | **GET** /smtp/templates | Get the list of email templates
|
189
|
+
*SibApiV3Sdk::TransactionalEmailsApi* | [**get_transac_blocked_contacts**](docs/TransactionalEmailsApi.md#get_transac_blocked_contacts) | **GET** /smtp/blockedContacts | Get the list of blocked or unsubscribed transactional contacts
|
190
|
+
*SibApiV3Sdk::TransactionalEmailsApi* | [**get_transac_email_content**](docs/TransactionalEmailsApi.md#get_transac_email_content) | **GET** /smtp/emails/{uuid} | Get the personalized content of a sent transactional email
|
191
|
+
*SibApiV3Sdk::TransactionalEmailsApi* | [**get_transac_emails_list**](docs/TransactionalEmailsApi.md#get_transac_emails_list) | **GET** /smtp/emails | Get the list of transactional emails on the basis of allowed filters
|
192
|
+
*SibApiV3Sdk::TransactionalEmailsApi* | [**send_template**](docs/TransactionalEmailsApi.md#send_template) | **POST** /smtp/templates/{templateId}/send | Send a template
|
193
|
+
*SibApiV3Sdk::TransactionalEmailsApi* | [**send_test_template**](docs/TransactionalEmailsApi.md#send_test_template) | **POST** /smtp/templates/{templateId}/sendTest | Send a template to your test list
|
194
|
+
*SibApiV3Sdk::TransactionalEmailsApi* | [**send_transac_email**](docs/TransactionalEmailsApi.md#send_transac_email) | **POST** /smtp/email | Send a transactional email
|
195
|
+
*SibApiV3Sdk::TransactionalEmailsApi* | [**smtp_blocked_contacts_email_delete**](docs/TransactionalEmailsApi.md#smtp_blocked_contacts_email_delete) | **DELETE** /smtp/blockedContacts/{email} | Unblock or resubscribe a transactional contact
|
196
|
+
*SibApiV3Sdk::TransactionalEmailsApi* | [**smtp_log_message_id_delete**](docs/TransactionalEmailsApi.md#smtp_log_message_id_delete) | **DELETE** /smtp/log/{messageId} | Delete an SMTP transactional log
|
197
|
+
*SibApiV3Sdk::TransactionalEmailsApi* | [**update_smtp_template**](docs/TransactionalEmailsApi.md#update_smtp_template) | **PUT** /smtp/templates/{templateId} | Update an email template
|
198
198
|
*SibApiV3Sdk::TransactionalSMSApi* | [**get_sms_events**](docs/TransactionalSMSApi.md#get_sms_events) | **GET** /transactionalSMS/statistics/events | Get all your SMS activity (unaggregated events)
|
199
199
|
*SibApiV3Sdk::TransactionalSMSApi* | [**get_transac_aggregated_sms_report**](docs/TransactionalSMSApi.md#get_transac_aggregated_sms_report) | **GET** /transactionalSMS/statistics/aggregatedReport | Get your SMS activity aggregated over a period of time
|
200
200
|
*SibApiV3Sdk::TransactionalSMSApi* | [**get_transac_sms_report**](docs/TransactionalSMSApi.md#get_transac_sms_report) | **GET** /transactionalSMS/statistics/reports | Get your SMS activity aggregated per day
|
@@ -209,6 +209,11 @@ Class | Method | HTTP request | Description
|
|
209
209
|
## Documentation for Models
|
210
210
|
|
211
211
|
- [SibApiV3Sdk::AbTestCampaignResult](docs/AbTestCampaignResult.md)
|
212
|
+
- [SibApiV3Sdk::AbTestCampaignResultClickedLinks](docs/AbTestCampaignResultClickedLinks.md)
|
213
|
+
- [SibApiV3Sdk::AbTestCampaignResultStatistics](docs/AbTestCampaignResultStatistics.md)
|
214
|
+
- [SibApiV3Sdk::AbTestVersionClicks](docs/AbTestVersionClicks.md)
|
215
|
+
- [SibApiV3Sdk::AbTestVersionClicksInner](docs/AbTestVersionClicksInner.md)
|
216
|
+
- [SibApiV3Sdk::AbTestVersionStats](docs/AbTestVersionStats.md)
|
212
217
|
- [SibApiV3Sdk::AddChildDomain](docs/AddChildDomain.md)
|
213
218
|
- [SibApiV3Sdk::AddContactToList](docs/AddContactToList.md)
|
214
219
|
- [SibApiV3Sdk::AddCredits](docs/AddCredits.md)
|
@@ -9,5 +9,7 @@ Name | Type | Description | Notes
|
|
9
9
|
**open_rate** | **String** | Open rate for current winning version | [optional]
|
10
10
|
**click_rate** | **String** | Click rate for current winning version | [optional]
|
11
11
|
**winning_version_rate** | **String** | Open/Click rate for the winner version | [optional]
|
12
|
+
**statistics** | [**AbTestCampaignResultStatistics**](AbTestCampaignResultStatistics.md) | | [optional]
|
13
|
+
**clicked_links** | [**AbTestCampaignResultClickedLinks**](AbTestCampaignResultClickedLinks.md) | | [optional]
|
12
14
|
|
13
15
|
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# SibApiV3Sdk::AbTestCampaignResultClickedLinks
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**version_a** | [**AbTestVersionClicks**](AbTestVersionClicks.md) | |
|
7
|
+
**version_b** | [**AbTestVersionClicks**](AbTestVersionClicks.md) | |
|
8
|
+
|
9
|
+
|
@@ -0,0 +1,13 @@
|
|
1
|
+
# SibApiV3Sdk::AbTestCampaignResultStatistics
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**openers** | [**AbTestVersionStats**](AbTestVersionStats.md) | |
|
7
|
+
**clicks** | [**AbTestVersionStats**](AbTestVersionStats.md) | |
|
8
|
+
**unsubscribed** | [**AbTestVersionStats**](AbTestVersionStats.md) | |
|
9
|
+
**hard_bounces** | [**AbTestVersionStats**](AbTestVersionStats.md) | |
|
10
|
+
**soft_bounces** | [**AbTestVersionStats**](AbTestVersionStats.md) | |
|
11
|
+
**complaints** | [**AbTestVersionStats**](AbTestVersionStats.md) | |
|
12
|
+
|
13
|
+
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# SibApiV3Sdk::AbTestVersionClicksInner
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**link** | **String** | URL of the link |
|
7
|
+
**clicks_count** | **Float** | Number of times a link is clicked |
|
8
|
+
**click_rate** | **String** | Percentage of clicks of link with respect to total clicks |
|
9
|
+
|
10
|
+
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# SibApiV3Sdk::AbTestVersionStats
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**version_a** | **String** | percentage of an event for version A |
|
7
|
+
**version_b** | **String** | percentage of an event for version B |
|
8
|
+
|
9
|
+
|
data/docs/AddContactToList.md
CHANGED
@@ -3,6 +3,7 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
-
**emails** | **Array<String>** | Emails to add to a list. You can pass a maximum of 150 emails for addition in one request. If you need to add the emails in bulk, please prefer /contacts/import api. | [optional]
|
6
|
+
**emails** | **Array<String>** | Mandatory if IDs are not passed, ignored otherwise. Emails to add to a list. You can pass a maximum of 150 emails for addition in one request. If you need to add the emails in bulk, please prefer /contacts/import api. | [optional]
|
7
|
+
**ids** | **Array<Integer>** | Mandatory if Emails are not passed, ignored otherwise. Emails to add to a list. You can pass a maximum of 150 emails for addition in one request. If you need to add the emails in bulk, please prefer /contacts/import api. | [optional]
|
7
8
|
|
8
9
|
|
data/docs/ContactsApi.md
CHANGED
@@ -11,12 +11,12 @@ Method | HTTP request | Description
|
|
11
11
|
[**create_folder**](ContactsApi.md#create_folder) | **POST** /contacts/folders | Create a folder
|
12
12
|
[**create_list**](ContactsApi.md#create_list) | **POST** /contacts/lists | Create a list
|
13
13
|
[**delete_attribute**](ContactsApi.md#delete_attribute) | **DELETE** /contacts/attributes/{attributeCategory}/{attributeName} | Delete an attribute
|
14
|
-
[**delete_contact**](ContactsApi.md#delete_contact) | **DELETE** /contacts/{
|
14
|
+
[**delete_contact**](ContactsApi.md#delete_contact) | **DELETE** /contacts/{identifier} | Delete a contact
|
15
15
|
[**delete_folder**](ContactsApi.md#delete_folder) | **DELETE** /contacts/folders/{folderId} | Delete a folder (and all its lists)
|
16
16
|
[**delete_list**](ContactsApi.md#delete_list) | **DELETE** /contacts/lists/{listId} | Delete a list
|
17
17
|
[**get_attributes**](ContactsApi.md#get_attributes) | **GET** /contacts/attributes | List all attributes
|
18
|
-
[**get_contact_info**](ContactsApi.md#get_contact_info) | **GET** /contacts/{
|
19
|
-
[**get_contact_stats**](ContactsApi.md#get_contact_stats) | **GET** /contacts/{
|
18
|
+
[**get_contact_info**](ContactsApi.md#get_contact_info) | **GET** /contacts/{identifier} | Get a contact's details
|
19
|
+
[**get_contact_stats**](ContactsApi.md#get_contact_stats) | **GET** /contacts/{identifier}/campaignStats | Get email campaigns' statistics for a contact
|
20
20
|
[**get_contacts**](ContactsApi.md#get_contacts) | **GET** /contacts | Get all the contacts
|
21
21
|
[**get_contacts_from_list**](ContactsApi.md#get_contacts_from_list) | **GET** /contacts/lists/{listId}/contacts | Get contacts in a list
|
22
22
|
[**get_folder**](ContactsApi.md#get_folder) | **GET** /contacts/folders/{folderId} | Returns a folder's details
|
@@ -28,7 +28,7 @@ Method | HTTP request | Description
|
|
28
28
|
[**remove_contact_from_list**](ContactsApi.md#remove_contact_from_list) | **POST** /contacts/lists/{listId}/contacts/remove | Delete a contact from a list
|
29
29
|
[**request_contact_export**](ContactsApi.md#request_contact_export) | **POST** /contacts/export | Export contacts
|
30
30
|
[**update_attribute**](ContactsApi.md#update_attribute) | **PUT** /contacts/attributes/{attributeCategory}/{attributeName} | Update contact attribute
|
31
|
-
[**update_contact**](ContactsApi.md#update_contact) | **PUT** /contacts/{
|
31
|
+
[**update_contact**](ContactsApi.md#update_contact) | **PUT** /contacts/{identifier} | Update a contact
|
32
32
|
[**update_folder**](ContactsApi.md#update_folder) | **PUT** /contacts/folders/{folderId} | Update a folder
|
33
33
|
[**update_list**](ContactsApi.md#update_list) | **PUT** /contacts/lists/{listId} | Update a list
|
34
34
|
|
@@ -59,7 +59,7 @@ api_instance = SibApiV3Sdk::ContactsApi.new
|
|
59
59
|
|
60
60
|
list_id = 789 # Integer | Id of the list
|
61
61
|
|
62
|
-
contact_emails = SibApiV3Sdk::AddContactToList.new # AddContactToList | Emails addresses of the contacts
|
62
|
+
contact_emails = SibApiV3Sdk::AddContactToList.new # AddContactToList | Emails addresses OR IDs of the contacts
|
63
63
|
|
64
64
|
|
65
65
|
begin
|
@@ -76,7 +76,7 @@ end
|
|
76
76
|
Name | Type | Description | Notes
|
77
77
|
------------- | ------------- | ------------- | -------------
|
78
78
|
**list_id** | **Integer**| Id of the list |
|
79
|
-
**contact_emails** | [**AddContactToList**](AddContactToList.md)| Emails addresses of the contacts |
|
79
|
+
**contact_emails** | [**AddContactToList**](AddContactToList.md)| Emails addresses OR IDs of the contacts |
|
80
80
|
|
81
81
|
### Return type
|
82
82
|
|
@@ -442,7 +442,7 @@ nil (empty response body)
|
|
442
442
|
|
443
443
|
|
444
444
|
# **delete_contact**
|
445
|
-
> delete_contact(
|
445
|
+
> delete_contact(identifier)
|
446
446
|
|
447
447
|
Delete a contact
|
448
448
|
|
@@ -465,12 +465,12 @@ end
|
|
465
465
|
|
466
466
|
api_instance = SibApiV3Sdk::ContactsApi.new
|
467
467
|
|
468
|
-
|
468
|
+
identifier = 'identifier_example' # String | Email (urlencoded) OR ID of the contact
|
469
469
|
|
470
470
|
|
471
471
|
begin
|
472
472
|
#Delete a contact
|
473
|
-
api_instance.delete_contact(
|
473
|
+
api_instance.delete_contact(identifier)
|
474
474
|
rescue SibApiV3Sdk::ApiError => e
|
475
475
|
puts "Exception when calling ContactsApi->delete_contact: #{e}"
|
476
476
|
end
|
@@ -480,7 +480,7 @@ end
|
|
480
480
|
|
481
481
|
Name | Type | Description | Notes
|
482
482
|
------------- | ------------- | ------------- | -------------
|
483
|
-
**
|
483
|
+
**identifier** | **String**| Email (urlencoded) OR ID of the contact |
|
484
484
|
|
485
485
|
### Return type
|
486
486
|
|
@@ -661,7 +661,7 @@ This endpoint does not need any parameter.
|
|
661
661
|
|
662
662
|
|
663
663
|
# **get_contact_info**
|
664
|
-
> GetExtendedContactDetails get_contact_info(
|
664
|
+
> GetExtendedContactDetails get_contact_info(identifier)
|
665
665
|
|
666
666
|
Get a contact's details
|
667
667
|
|
@@ -684,12 +684,12 @@ end
|
|
684
684
|
|
685
685
|
api_instance = SibApiV3Sdk::ContactsApi.new
|
686
686
|
|
687
|
-
|
687
|
+
identifier = 'identifier_example' # String | Email (urlencoded) OR ID of the contact OR its SMS attribute value
|
688
688
|
|
689
689
|
|
690
690
|
begin
|
691
691
|
#Get a contact's details
|
692
|
-
result = api_instance.get_contact_info(
|
692
|
+
result = api_instance.get_contact_info(identifier)
|
693
693
|
p result
|
694
694
|
rescue SibApiV3Sdk::ApiError => e
|
695
695
|
puts "Exception when calling ContactsApi->get_contact_info: #{e}"
|
@@ -700,7 +700,7 @@ end
|
|
700
700
|
|
701
701
|
Name | Type | Description | Notes
|
702
702
|
------------- | ------------- | ------------- | -------------
|
703
|
-
**
|
703
|
+
**identifier** | **String**| Email (urlencoded) OR ID of the contact OR its SMS attribute value |
|
704
704
|
|
705
705
|
### Return type
|
706
706
|
|
@@ -718,7 +718,7 @@ Name | Type | Description | Notes
|
|
718
718
|
|
719
719
|
|
720
720
|
# **get_contact_stats**
|
721
|
-
> GetContactCampaignStats get_contact_stats(
|
721
|
+
> GetContactCampaignStats get_contact_stats(identifier, opts)
|
722
722
|
|
723
723
|
Get email campaigns' statistics for a contact
|
724
724
|
|
@@ -741,7 +741,7 @@ end
|
|
741
741
|
|
742
742
|
api_instance = SibApiV3Sdk::ContactsApi.new
|
743
743
|
|
744
|
-
|
744
|
+
identifier = 'identifier_example' # String | Email (urlencoded) OR ID of the contact
|
745
745
|
|
746
746
|
opts = {
|
747
747
|
start_date: Date.parse('2013-10-20'), # 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
|
@@ -750,7 +750,7 @@ opts = {
|
|
750
750
|
|
751
751
|
begin
|
752
752
|
#Get email campaigns' statistics for a contact
|
753
|
-
result = api_instance.get_contact_stats(
|
753
|
+
result = api_instance.get_contact_stats(identifier, opts)
|
754
754
|
p result
|
755
755
|
rescue SibApiV3Sdk::ApiError => e
|
756
756
|
puts "Exception when calling ContactsApi->get_contact_stats: #{e}"
|
@@ -761,7 +761,7 @@ end
|
|
761
761
|
|
762
762
|
Name | Type | Description | Notes
|
763
763
|
------------- | ------------- | ------------- | -------------
|
764
|
-
**
|
764
|
+
**identifier** | **String**| Email (urlencoded) OR ID of the contact |
|
765
765
|
**start_date** | **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 | [optional]
|
766
766
|
**end_date** | **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 | [optional]
|
767
767
|
|
@@ -1289,7 +1289,7 @@ api_instance = SibApiV3Sdk::ContactsApi.new
|
|
1289
1289
|
|
1290
1290
|
list_id = 789 # Integer | Id of the list
|
1291
1291
|
|
1292
|
-
contact_emails = SibApiV3Sdk::RemoveContactFromList.new # RemoveContactFromList | Emails
|
1292
|
+
contact_emails = SibApiV3Sdk::RemoveContactFromList.new # RemoveContactFromList | Emails addresses OR IDs of the contacts
|
1293
1293
|
|
1294
1294
|
|
1295
1295
|
begin
|
@@ -1306,7 +1306,7 @@ end
|
|
1306
1306
|
Name | Type | Description | Notes
|
1307
1307
|
------------- | ------------- | ------------- | -------------
|
1308
1308
|
**list_id** | **Integer**| Id of the list |
|
1309
|
-
**contact_emails** | [**RemoveContactFromList**](RemoveContactFromList.md)| Emails
|
1309
|
+
**contact_emails** | [**RemoveContactFromList**](RemoveContactFromList.md)| Emails addresses OR IDs of the contacts |
|
1310
1310
|
|
1311
1311
|
### Return type
|
1312
1312
|
|
@@ -1445,7 +1445,7 @@ nil (empty response body)
|
|
1445
1445
|
|
1446
1446
|
|
1447
1447
|
# **update_contact**
|
1448
|
-
> update_contact(
|
1448
|
+
> update_contact(identifier, update_contact)
|
1449
1449
|
|
1450
1450
|
Update a contact
|
1451
1451
|
|
@@ -1468,14 +1468,14 @@ end
|
|
1468
1468
|
|
1469
1469
|
api_instance = SibApiV3Sdk::ContactsApi.new
|
1470
1470
|
|
1471
|
-
|
1471
|
+
identifier = 'identifier_example' # String | Email (urlencoded) OR ID of the contact
|
1472
1472
|
|
1473
1473
|
update_contact = SibApiV3Sdk::UpdateContact.new # UpdateContact | Values to update a contact
|
1474
1474
|
|
1475
1475
|
|
1476
1476
|
begin
|
1477
1477
|
#Update a contact
|
1478
|
-
api_instance.update_contact(
|
1478
|
+
api_instance.update_contact(identifier, update_contact)
|
1479
1479
|
rescue SibApiV3Sdk::ApiError => e
|
1480
1480
|
puts "Exception when calling ContactsApi->update_contact: #{e}"
|
1481
1481
|
end
|
@@ -1485,7 +1485,7 @@ end
|
|
1485
1485
|
|
1486
1486
|
Name | Type | Description | Notes
|
1487
1487
|
------------- | ------------- | ------------- | -------------
|
1488
|
-
**
|
1488
|
+
**identifier** | **String**| Email (urlencoded) OR ID of the contact |
|
1489
1489
|
**update_contact** | [**UpdateContact**](UpdateContact.md)| Values to update a contact |
|
1490
1490
|
|
1491
1491
|
### Return type
|
data/docs/CreateDoiContact.md
CHANGED
@@ -8,6 +8,6 @@ Name | Type | Description | Notes
|
|
8
8
|
**include_list_ids** | **Array<Integer>** | Lists under user account where contact should be added |
|
9
9
|
**exclude_list_ids** | **Array<Integer>** | Lists under user account where contact should not be added | [optional]
|
10
10
|
**template_id** | **Integer** | Id of the Double opt-in (DOI) template |
|
11
|
-
**redirection_url** | **String** | URL of the web page that user will be redirected to after clicking on the double opt in URL. When editing your DOI template you can reference this URL by using the tag {{ params.DOIurl }}. |
|
11
|
+
**redirection_url** | **String** | URL of the web page that user will be redirected to after clicking on the double opt in URL. When editing your DOI template you can reference this URL by using the tag {{ params.DOIurl }}. |
|
12
12
|
|
13
13
|
|
data/docs/CreateSmsCampaign.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**name** | **String** | Name of the campaign |
|
7
|
-
**sender** | **String** | Name of the sender. The number of characters is limited to 11 |
|
7
|
+
**sender** | **String** | Name of the sender. **The number of characters is limited to 11 for alphanumeric characters and 15 for numeric characters** |
|
8
8
|
**content** | **String** | Content of the message. The maximum characters used per SMS is 160, if used more than that, it will be counted as more than one SMS |
|
9
9
|
**recipients** | [**CreateSmsCampaignRecipients**](CreateSmsCampaignRecipients.md) | | [optional]
|
10
10
|
**scheduled_at** | **DateTime** | UTC date-time on which the campaign has to run (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. | [optional]
|
data/docs/CreateWebhook.md
CHANGED
@@ -5,7 +5,7 @@ Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**url** | **String** | URL of the webhook |
|
7
7
|
**description** | **String** | Description of the webhook | [optional]
|
8
|
-
**events** | **Array<String>** | Events triggering the webhook. Possible values for Transactional type webhook – sent
|
8
|
+
**events** | **Array<String>** | Events triggering the webhook. Possible values for Transactional type webhook – `sent` OR `request`, `delivered`, `hardBounce`, `softBounce`, `blocked`, `spam`, `invalid`, `deferred`, `click`, `opened`, `uniqueOpened` and `unsubscribed` and possible values for Marketing type webhook – `spam`, `opened`, `click`, `hardBounce`, `softBounce`, `unsubscribed`, `listAddition` & `delivered` |
|
9
9
|
**type** | **String** | Type of the webhook | [optional] [default to 'transactional']
|
10
10
|
|
11
11
|
|
data/docs/GetAggregatedReport.md
CHANGED
@@ -3,18 +3,18 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
-
**range** | **String** | Time frame of the report |
|
7
|
-
**requests** | **Integer** | Number of requests for the timeframe |
|
8
|
-
**delivered** | **Integer** | Number of delivered emails for the timeframe |
|
9
|
-
**hard_bounces** | **Integer** | Number of hardbounces for the timeframe |
|
10
|
-
**soft_bounces** | **Integer** | Number of softbounces for the timeframe |
|
11
|
-
**clicks** | **Integer** | Number of clicks for the timeframe |
|
12
|
-
**unique_clicks** | **Integer** | Number of unique clicks for the timeframe |
|
13
|
-
**opens** | **Integer** | Number of openings for the timeframe |
|
14
|
-
**unique_opens** | **Integer** | Number of unique openings for the timeframe |
|
15
|
-
**spam_reports** | **Integer** | Number of complaint (spam report) for the timeframe |
|
16
|
-
**blocked** | **Integer** | Number of blocked contact emails for the timeframe |
|
17
|
-
**invalid** | **Integer** | Number of invalid emails for the timeframe |
|
18
|
-
**unsubscribed** | **Integer** | Number of unsubscribed emails for the timeframe |
|
6
|
+
**range** | **String** | Time frame of the report | [optional]
|
7
|
+
**requests** | **Integer** | Number of requests for the timeframe | [optional]
|
8
|
+
**delivered** | **Integer** | Number of delivered emails for the timeframe | [optional]
|
9
|
+
**hard_bounces** | **Integer** | Number of hardbounces for the timeframe | [optional]
|
10
|
+
**soft_bounces** | **Integer** | Number of softbounces for the timeframe | [optional]
|
11
|
+
**clicks** | **Integer** | Number of clicks for the timeframe | [optional]
|
12
|
+
**unique_clicks** | **Integer** | Number of unique clicks for the timeframe | [optional]
|
13
|
+
**opens** | **Integer** | Number of openings for the timeframe | [optional]
|
14
|
+
**unique_opens** | **Integer** | Number of unique openings for the timeframe | [optional]
|
15
|
+
**spam_reports** | **Integer** | Number of complaint (spam report) for the timeframe | [optional]
|
16
|
+
**blocked** | **Integer** | Number of blocked contact emails for the timeframe | [optional]
|
17
|
+
**invalid** | **Integer** | Number of invalid emails for the timeframe | [optional]
|
18
|
+
**unsubscribed** | **Integer** | Number of unsubscribed emails for the timeframe | [optional]
|
19
19
|
|
20
20
|
|
data/docs/GetCampaignStats.md
CHANGED
@@ -15,5 +15,6 @@ Name | Type | Description | Notes
|
|
15
15
|
**unsubscriptions** | **Integer** | Number of unsubscription for the campaign |
|
16
16
|
**viewed** | **Integer** | Number of openings for the campaign |
|
17
17
|
**deferred** | **Integer** | Number of deferred emails for the campaign | [optional]
|
18
|
+
**return_bounce** | **Integer** | Total number of non-delivered campaigns for a particular campaign id. | [optional]
|
18
19
|
|
19
20
|
|
data/docs/ListsApi.md
CHANGED
@@ -41,7 +41,7 @@ api_instance = SibApiV3Sdk::ListsApi.new
|
|
41
41
|
|
42
42
|
list_id = 789 # Integer | Id of the list
|
43
43
|
|
44
|
-
contact_emails = SibApiV3Sdk::AddContactToList.new # AddContactToList | Emails addresses of the contacts
|
44
|
+
contact_emails = SibApiV3Sdk::AddContactToList.new # AddContactToList | Emails addresses OR IDs of the contacts
|
45
45
|
|
46
46
|
|
47
47
|
begin
|
@@ -58,7 +58,7 @@ end
|
|
58
58
|
Name | Type | Description | Notes
|
59
59
|
------------- | ------------- | ------------- | -------------
|
60
60
|
**list_id** | **Integer**| Id of the list |
|
61
|
-
**contact_emails** | [**AddContactToList**](AddContactToList.md)| Emails addresses of the contacts |
|
61
|
+
**contact_emails** | [**AddContactToList**](AddContactToList.md)| Emails addresses OR IDs of the contacts |
|
62
62
|
|
63
63
|
### Return type
|
64
64
|
|
@@ -459,7 +459,7 @@ api_instance = SibApiV3Sdk::ListsApi.new
|
|
459
459
|
|
460
460
|
list_id = 789 # Integer | Id of the list
|
461
461
|
|
462
|
-
contact_emails = SibApiV3Sdk::RemoveContactFromList.new # RemoveContactFromList | Emails
|
462
|
+
contact_emails = SibApiV3Sdk::RemoveContactFromList.new # RemoveContactFromList | Emails addresses OR IDs of the contacts
|
463
463
|
|
464
464
|
|
465
465
|
begin
|
@@ -476,7 +476,7 @@ end
|
|
476
476
|
Name | Type | Description | Notes
|
477
477
|
------------- | ------------- | ------------- | -------------
|
478
478
|
**list_id** | **Integer**| Id of the list |
|
479
|
-
**contact_emails** | [**RemoveContactFromList**](RemoveContactFromList.md)| Emails
|
479
|
+
**contact_emails** | [**RemoveContactFromList**](RemoveContactFromList.md)| Emails addresses OR IDs of the contacts |
|
480
480
|
|
481
481
|
### Return type
|
482
482
|
|