Skip to content

Commit 94a4a44

Browse files
Aakanksha SharmaAakanksha Sharma
authored andcommitted
specification based changes synced with latest swagger updates
1 parent befaedb commit 94a4a44

File tree

61 files changed

+1299
-486
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+1299
-486
lines changed

README.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -54,20 +54,20 @@ Please follow the [installation](#installation) procedure and then run the follo
5454
require 'sib-api-v3-sdk'
5555

5656
# Setup authorization
57-
SendinblueApiv3.configure do |config|
57+
SibApiV3Sdk.configure do |config|
5858
# Configure API key authorization: api-key
5959
config.api_key['api-key'] = 'YOUR API KEY'
6060
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
6161
#config.api_key_prefix['api-key'] = 'Bearer'
6262
end
6363

64-
api_instance = SendinblueApiv3::AccountApi.new
64+
api_instance = SibApiV3Sdk::AccountApi.new
6565

6666
begin
6767
#Get your account informations, plans and credits details
6868
result = api_instance.get_account
6969
p result
70-
rescue SendinblueApiv3::ApiError => e
70+
rescue SibApiV3Sdk::ApiError => e
7171
puts "Exception when calling AccountApi->get_account: #{e}"
7272
end
7373

@@ -229,13 +229,9 @@ Class | Method | HTTP request | Description
229229
- [SibApiV3Sdk::GetClient](docs/GetClient.md)
230230
- [SibApiV3Sdk::GetContactCampaignStats](docs/GetContactCampaignStats.md)
231231
- [SibApiV3Sdk::GetContactCampaignStatsClicked](docs/GetContactCampaignStatsClicked.md)
232-
- [SibApiV3Sdk::GetContactCampaignStatsLinks](docs/GetContactCampaignStatsLinks.md)
233-
- [SibApiV3Sdk::GetContactCampaignStatsMessagesSent](docs/GetContactCampaignStatsMessagesSent.md)
234232
- [SibApiV3Sdk::GetContactCampaignStatsOpened](docs/GetContactCampaignStatsOpened.md)
235233
- [SibApiV3Sdk::GetContactCampaignStatsTransacAttributes](docs/GetContactCampaignStatsTransacAttributes.md)
236234
- [SibApiV3Sdk::GetContactCampaignStatsUnsubscriptions](docs/GetContactCampaignStatsUnsubscriptions.md)
237-
- [SibApiV3Sdk::GetContactCampaignStatsUnsubscriptionsAdminUnsubscription](docs/GetContactCampaignStatsUnsubscriptionsAdminUnsubscription.md)
238-
- [SibApiV3Sdk::GetContactCampaignStatsUnsubscriptionsUserUnsubscription](docs/GetContactCampaignStatsUnsubscriptionsUserUnsubscription.md)
239235
- [SibApiV3Sdk::GetContactDetails](docs/GetContactDetails.md)
240236
- [SibApiV3Sdk::GetContacts](docs/GetContacts.md)
241237
- [SibApiV3Sdk::GetEmailCampaigns](docs/GetEmailCampaigns.md)
@@ -245,6 +241,14 @@ Class | Method | HTTP request | Description
245241
- [SibApiV3Sdk::GetExtendedCampaignStats](docs/GetExtendedCampaignStats.md)
246242
- [SibApiV3Sdk::GetExtendedCampaignStatsLinksStats](docs/GetExtendedCampaignStatsLinksStats.md)
247243
- [SibApiV3Sdk::GetExtendedClientAddress](docs/GetExtendedClientAddress.md)
244+
- [SibApiV3Sdk::GetExtendedContactDetailsStatistics](docs/GetExtendedContactDetailsStatistics.md)
245+
- [SibApiV3Sdk::GetExtendedContactDetailsStatisticsClicked](docs/GetExtendedContactDetailsStatisticsClicked.md)
246+
- [SibApiV3Sdk::GetExtendedContactDetailsStatisticsLinks](docs/GetExtendedContactDetailsStatisticsLinks.md)
247+
- [SibApiV3Sdk::GetExtendedContactDetailsStatisticsMessagesSent](docs/GetExtendedContactDetailsStatisticsMessagesSent.md)
248+
- [SibApiV3Sdk::GetExtendedContactDetailsStatisticsOpened](docs/GetExtendedContactDetailsStatisticsOpened.md)
249+
- [SibApiV3Sdk::GetExtendedContactDetailsStatisticsUnsubscriptions](docs/GetExtendedContactDetailsStatisticsUnsubscriptions.md)
250+
- [SibApiV3Sdk::GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription](docs/GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription.md)
251+
- [SibApiV3Sdk::GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription](docs/GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription.md)
248252
- [SibApiV3Sdk::GetExtendedListCampaignStats](docs/GetExtendedListCampaignStats.md)
249253
- [SibApiV3Sdk::GetFolder](docs/GetFolder.md)
250254
- [SibApiV3Sdk::GetFolderLists](docs/GetFolderLists.md)
@@ -255,8 +259,6 @@ Class | Method | HTTP request | Description
255259
- [SibApiV3Sdk::GetIpsFromSender](docs/GetIpsFromSender.md)
256260
- [SibApiV3Sdk::GetList](docs/GetList.md)
257261
- [SibApiV3Sdk::GetLists](docs/GetLists.md)
258-
- [SibApiV3Sdk::GetListsFolder](docs/GetListsFolder.md)
259-
- [SibApiV3Sdk::GetListsLists](docs/GetListsLists.md)
260262
- [SibApiV3Sdk::GetProcess](docs/GetProcess.md)
261263
- [SibApiV3Sdk::GetProcesses](docs/GetProcesses.md)
262264
- [SibApiV3Sdk::GetReports](docs/GetReports.md)

docs/GetAccountPlan.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**type** | **String** | Displays the plan type of the user |
77
**credits_type** | **String** | This is the type of the credit, \"User Limit\" or \"Send Limit\" are two possible types of credit of a user. \"User Limit\" implies the total number of subscribers you can add to your account, and \"Send Limit\" implies the total number of emails you can send to the subscribers in your account. |
8-
**credits** | **Integer** | Remaining credits of the user. This can either be \"User Limit\" or \"Send Limit\" depending on the plan. |
8+
**credits** | **Float** | Remaining credits of the user. This can either be \"User Limit\" or \"Send Limit\" depending on the plan. |
99

1010

docs/GetCampaignStats.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**list_id** | **Integer** | List Id of email campaign (only in case of get email campaign(s)) |
6+
**list_id** | **Integer** | List Id of email campaign (only in case of get email campaign(s)) | [optional]
77
**unique_clicks** | **Integer** | Number of unique clicks for the campaign |
88
**clickers** | **Integer** | Number of clicks for the campaign |
99
**complaints** | **Integer** | Number of complaints (Spam reports) for the campaign |

docs/GetContactCampaignStats.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**messages_sent** | [**Array<GetContactCampaignStatsMessagesSent>**](GetContactCampaignStatsMessagesSent.md) | | [optional]
7-
**hard_bounces** | [**Array<GetContactCampaignStatsMessagesSent>**](GetContactCampaignStatsMessagesSent.md) | | [optional]
8-
**soft_bounces** | [**Array<GetContactCampaignStatsMessagesSent>**](GetContactCampaignStatsMessagesSent.md) | | [optional]
9-
**complaints** | [**Array<GetContactCampaignStatsMessagesSent>**](GetContactCampaignStatsMessagesSent.md) | | [optional]
6+
**messages_sent** | [**Array<GetExtendedContactDetailsStatisticsMessagesSent>**](GetExtendedContactDetailsStatisticsMessagesSent.md) | | [optional]
7+
**hard_bounces** | [**Array<GetExtendedContactDetailsStatisticsMessagesSent>**](GetExtendedContactDetailsStatisticsMessagesSent.md) | | [optional]
8+
**soft_bounces** | [**Array<GetExtendedContactDetailsStatisticsMessagesSent>**](GetExtendedContactDetailsStatisticsMessagesSent.md) | | [optional]
9+
**complaints** | [**Array<GetExtendedContactDetailsStatisticsMessagesSent>**](GetExtendedContactDetailsStatisticsMessagesSent.md) | | [optional]
1010
**unsubscriptions** | [**GetContactCampaignStatsUnsubscriptions**](GetContactCampaignStatsUnsubscriptions.md) | | [optional]
1111
**opened** | [**Array<GetContactCampaignStatsOpened>**](GetContactCampaignStatsOpened.md) | | [optional]
1212
**clicked** | [**Array<GetContactCampaignStatsClicked>**](GetContactCampaignStatsClicked.md) | | [optional]

docs/GetContactCampaignStatsClicked.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**campaign_id** | **Integer** | ID of the campaign which generated the event |
7-
**links** | [**Array<GetContactCampaignStatsLinks>**](GetContactCampaignStatsLinks.md) | |
7+
**links** | [**Array<GetExtendedContactDetailsStatisticsLinks>**](GetExtendedContactDetailsStatisticsLinks.md) | |
88

99

docs/GetContactCampaignStatsOpened.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**campaign_id** | **Integer** | ID of the campaign which generated the event |
77
**count** | **Integer** | Number of openings of the campaign |
8-
**event_time** | **DateTime** | Date of the event |
8+
**event_time** | **String** | Date of the event |
99
**ip** | **String** | IP from which the user has opened the campaign |
1010

1111

docs/GetContactCampaignStatsUnsubscriptions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**user_unsubscription** | [**Array<GetContactCampaignStatsUnsubscriptionsUserUnsubscription>**](GetContactCampaignStatsUnsubscriptionsUserUnsubscription.md) | Contact has unsubscribed via the unsubscription link in the email |
7-
**admin_unsubscription** | [**Array<GetContactCampaignStatsUnsubscriptionsAdminUnsubscription>**](GetContactCampaignStatsUnsubscriptionsAdminUnsubscription.md) | Contact has been unsubscribed from the administrator |
6+
**user_unsubscription** | [**Array<GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription>**](GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription.md) | Contact has unsubscribed via the unsubscription link in the email |
7+
**admin_unsubscription** | [**Array<GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription>**](GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription.md) | Contact has been unsubscribed from the administrator |
88

99

docs/GetEmailCampaign.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Name | Type | Description | Notes
1616
**reply_to** | **String** | Email defined as the \"Reply to\" of the campaign |
1717
**to_field** | **String** | Customisation of the \"to\" field of the campaign |
1818
**html_content** | **String** | HTML content of the campaign |
19-
**share_link** | **String** | Link to share the campaign on social medias |
19+
**share_link** | **String** | Link to share the campaign on social medias | [optional]
2020
**tag** | **String** | Tag of the campaign |
2121
**created_at** | **String** | Creation date of the campaign (YYYY-MM-DD HH:mm:ss) |
2222
**modified_at** | **String** | Date of last modification of the campaign (YYYY-MM-DD HH:mm:ss) |

docs/GetEmailEventReportEvents.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@ Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**email** | **String** | Email address which generates the event |
77
**date** | **Date** | Date on which the event has been generated |
8+
**subject** | **String** | Subject of the event | [optional]
89
**message_id** | **String** | Message ID which generated the event |
910
**event** | **String** | Event which occured |
1011
**reason** | **String** | Reason of bounce (only availble if the event is hardbounce or softbounce) |
1112
**tag** | **String** | Tag of the email which generated the event |
1213
**ip** | **String** | IP from which the user has opened the email or clicked on the link (only availble if the event is opened or clicks) | [optional]
14+
**link** | **String** | The link which is sent to the user (only availble if the event is requests or opened or clicks) | [optional]
1315

1416

docs/GetExtendedCampaignOverview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Name | Type | Description | Notes
1616
**reply_to** | **String** | Email defined as the \"Reply to\" of the campaign |
1717
**to_field** | **String** | Customisation of the \"to\" field of the campaign |
1818
**html_content** | **String** | HTML content of the campaign |
19-
**share_link** | **String** | Link to share the campaign on social medias |
19+
**share_link** | **String** | Link to share the campaign on social medias | [optional]
2020
**tag** | **String** | Tag of the campaign |
2121
**created_at** | **String** | Creation date of the campaign (YYYY-MM-DD HH:mm:ss) |
2222
**modified_at** | **String** | Date of last modification of the campaign (YYYY-MM-DD HH:mm:ss) |

0 commit comments

Comments
 (0)