Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ba8cfb6

Browse files
authoredSep 19, 2017
Merge pull request #4 from sendinblue/feature_updated_swagger_sync
specification based changes synced with latest swagger updates
2 parents befaedb + 94a4a44 commit ba8cfb6

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

0 commit comments

Comments
 (0)