Skip to content

Commit 96e581a

Browse files
Merge pull request #52 from sendinblue/feature_URI_fix
URI issue fixed for ruby version >= 2.7
2 parents 5df08c1 + d038f83 commit 96e581a

File tree

437 files changed

+1370
-732
lines changed

Some content is hidden

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

437 files changed

+1370
-732
lines changed

.swagger-codegen/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.4.12
1+
2.4.18

README.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,7 @@ Class | Method | HTTP request | Description
247247
- [SibApiV3Sdk::DeleteHardbounces](docs/DeleteHardbounces.md)
248248
- [SibApiV3Sdk::EmailExportRecipients](docs/EmailExportRecipients.md)
249249
- [SibApiV3Sdk::ErrorModel](docs/ErrorModel.md)
250+
- [SibApiV3Sdk::GetAccount](docs/GetAccount.md)
250251
- [SibApiV3Sdk::GetAccountMarketingAutomation](docs/GetAccountMarketingAutomation.md)
251252
- [SibApiV3Sdk::GetAccountPlan](docs/GetAccountPlan.md)
252253
- [SibApiV3Sdk::GetAccountRelay](docs/GetAccountRelay.md)
@@ -262,6 +263,7 @@ Class | Method | HTTP request | Description
262263
- [SibApiV3Sdk::GetChildAccountCreationStatus](docs/GetChildAccountCreationStatus.md)
263264
- [SibApiV3Sdk::GetChildDomain](docs/GetChildDomain.md)
264265
- [SibApiV3Sdk::GetChildDomains](docs/GetChildDomains.md)
266+
- [SibApiV3Sdk::GetChildInfo](docs/GetChildInfo.md)
265267
- [SibApiV3Sdk::GetChildInfoApiKeys](docs/GetChildInfoApiKeys.md)
266268
- [SibApiV3Sdk::GetChildInfoApiKeysV2](docs/GetChildInfoApiKeysV2.md)
267269
- [SibApiV3Sdk::GetChildInfoApiKeysV3](docs/GetChildInfoApiKeysV3.md)
@@ -277,12 +279,17 @@ Class | Method | HTTP request | Description
277279
- [SibApiV3Sdk::GetContactDetails](docs/GetContactDetails.md)
278280
- [SibApiV3Sdk::GetContacts](docs/GetContacts.md)
279281
- [SibApiV3Sdk::GetDeviceBrowserStats](docs/GetDeviceBrowserStats.md)
282+
- [SibApiV3Sdk::GetEmailCampaign](docs/GetEmailCampaign.md)
280283
- [SibApiV3Sdk::GetEmailCampaigns](docs/GetEmailCampaigns.md)
281284
- [SibApiV3Sdk::GetEmailEventReport](docs/GetEmailEventReport.md)
282285
- [SibApiV3Sdk::GetEmailEventReportEvents](docs/GetEmailEventReportEvents.md)
286+
- [SibApiV3Sdk::GetExtendedCampaignOverview](docs/GetExtendedCampaignOverview.md)
283287
- [SibApiV3Sdk::GetExtendedCampaignOverviewSender](docs/GetExtendedCampaignOverviewSender.md)
284288
- [SibApiV3Sdk::GetExtendedCampaignStats](docs/GetExtendedCampaignStats.md)
289+
- [SibApiV3Sdk::GetExtendedCampaignStatsGlobalStats](docs/GetExtendedCampaignStatsGlobalStats.md)
290+
- [SibApiV3Sdk::GetExtendedClient](docs/GetExtendedClient.md)
285291
- [SibApiV3Sdk::GetExtendedClientAddress](docs/GetExtendedClientAddress.md)
292+
- [SibApiV3Sdk::GetExtendedContactDetails](docs/GetExtendedContactDetails.md)
286293
- [SibApiV3Sdk::GetExtendedContactDetailsStatistics](docs/GetExtendedContactDetailsStatistics.md)
287294
- [SibApiV3Sdk::GetExtendedContactDetailsStatisticsClicked](docs/GetExtendedContactDetailsStatisticsClicked.md)
288295
- [SibApiV3Sdk::GetExtendedContactDetailsStatisticsLinks](docs/GetExtendedContactDetailsStatisticsLinks.md)
@@ -291,6 +298,7 @@ Class | Method | HTTP request | Description
291298
- [SibApiV3Sdk::GetExtendedContactDetailsStatisticsUnsubscriptions](docs/GetExtendedContactDetailsStatisticsUnsubscriptions.md)
292299
- [SibApiV3Sdk::GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription](docs/GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription.md)
293300
- [SibApiV3Sdk::GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription](docs/GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription.md)
301+
- [SibApiV3Sdk::GetExtendedList](docs/GetExtendedList.md)
294302
- [SibApiV3Sdk::GetExtendedListCampaignStats](docs/GetExtendedListCampaignStats.md)
295303
- [SibApiV3Sdk::GetFolder](docs/GetFolder.md)
296304
- [SibApiV3Sdk::GetFolderLists](docs/GetFolderLists.md)
@@ -309,7 +317,9 @@ Class | Method | HTTP request | Description
309317
- [SibApiV3Sdk::GetSendersListIps](docs/GetSendersListIps.md)
310318
- [SibApiV3Sdk::GetSendersListSenders](docs/GetSendersListSenders.md)
311319
- [SibApiV3Sdk::GetSharedTemplateUrl](docs/GetSharedTemplateUrl.md)
320+
- [SibApiV3Sdk::GetSmsCampaign](docs/GetSmsCampaign.md)
312321
- [SibApiV3Sdk::GetSmsCampaignOverview](docs/GetSmsCampaignOverview.md)
322+
- [SibApiV3Sdk::GetSmsCampaignRecipients](docs/GetSmsCampaignRecipients.md)
313323
- [SibApiV3Sdk::GetSmsCampaignStats](docs/GetSmsCampaignStats.md)
314324
- [SibApiV3Sdk::GetSmsCampaigns](docs/GetSmsCampaigns.md)
315325
- [SibApiV3Sdk::GetSmsEventReport](docs/GetSmsEventReport.md)
@@ -384,14 +394,6 @@ Class | Method | HTTP request | Description
384394
- [SibApiV3Sdk::UpdateSmtpTemplateSender](docs/UpdateSmtpTemplateSender.md)
385395
- [SibApiV3Sdk::UpdateWebhook](docs/UpdateWebhook.md)
386396
- [SibApiV3Sdk::UploadImageToGallery](docs/UploadImageToGallery.md)
387-
- [SibApiV3Sdk::GetChildInfo](docs/GetChildInfo.md)
388-
- [SibApiV3Sdk::GetExtendedCampaignOverview](docs/GetExtendedCampaignOverview.md)
389-
- [SibApiV3Sdk::GetExtendedClient](docs/GetExtendedClient.md)
390-
- [SibApiV3Sdk::GetExtendedContactDetails](docs/GetExtendedContactDetails.md)
391-
- [SibApiV3Sdk::GetExtendedList](docs/GetExtendedList.md)
392-
- [SibApiV3Sdk::GetSmsCampaign](docs/GetSmsCampaign.md)
393-
- [SibApiV3Sdk::GetAccount](docs/GetAccount.md)
394-
- [SibApiV3Sdk::GetEmailCampaign](docs/GetEmailCampaign.md)
395397

396398

397399
## Documentation for Authorization

docs/ContactsApi.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -807,7 +807,7 @@ api_instance = SibApiV3Sdk::ContactsApi.new
807807
opts = {
808808
limit: 50, # Integer | Number of documents per page
809809
offset: 0, # Integer | Index of the first document of the page
810-
modified_since: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result.
810+
modified_since: 'modified_since_example', # String | Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result.
811811
sort: 'desc' # String | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed
812812
}
813813

@@ -826,7 +826,7 @@ Name | Type | Description | Notes
826826
------------- | ------------- | ------------- | -------------
827827
**limit** | **Integer**| Number of documents per page | [optional] [default to 50]
828828
**offset** | **Integer**| Index of the first document of the page | [optional] [default to 0]
829-
**modified_since** | **DateTime**| Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. | [optional]
829+
**modified_since** | **String**| Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. | [optional]
830830
**sort** | **String**| Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed | [optional] [default to desc]
831831

832832
### Return type
@@ -871,7 +871,7 @@ api_instance = SibApiV3Sdk::ContactsApi.new
871871
list_id = 789 # Integer | Id of the list
872872

873873
opts = {
874-
modified_since: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result.
874+
modified_since: 'modified_since_example', # String | Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result.
875875
limit: 50, # Integer | Number of documents per page
876876
offset: 0, # Integer | Index of the first document of the page
877877
sort: 'desc' # String | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed
@@ -891,7 +891,7 @@ end
891891
Name | Type | Description | Notes
892892
------------- | ------------- | ------------- | -------------
893893
**list_id** | **Integer**| Id of the list |
894-
**modified_since** | **DateTime**| Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. | [optional]
894+
**modified_since** | **String**| Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. | [optional]
895895
**limit** | **Integer**| Number of documents per page | [optional] [default to 50]
896896
**offset** | **Integer**| Index of the first document of the page | [optional] [default to 0]
897897
**sort** | **String**| Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed | [optional] [default to desc]

docs/CreateEmailCampaign.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
99
**html_content** | **String** | Mandatory if htmlUrl and templateId are empty. Body of the message (HTML) | [optional]
1010
**html_url** | **String** | Mandatory if htmlContent and templateId are empty. Url to the message (HTML) | [optional]
1111
**template_id** | **Integer** | Mandatory if htmlContent and htmlUrl are empty. Id of the transactional email template with status 'active'. Used to copy only its content fetched from htmlContent/htmlUrl to an email campaign for RSS feature. | [optional]
12-
**scheduled_at** | **DateTime** | Sending UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. If sendAtBestTime is set to true, your campaign will be sent according to the date passed (ignoring the time part). | [optional]
12+
**scheduled_at** | **String** | Sending UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. If sendAtBestTime is set to true, your campaign will be sent according to the date passed (ignoring the time part). | [optional]
1313
**subject** | **String** | Subject of the campaign. Mandatory if abTesting is false. Ignored if abTesting is true. | [optional]
1414
**reply_to** | **String** | Email on which the campaign recipients will be able to reply to | [optional]
1515
**to_field** | **String** | To personalize the «To» Field. If you want to include the first name and last name of your recipient, add {FNAME} {LNAME}. These contact attributes must already exist in your SendinBlue account. If input parameter 'params' used please use {{contact.FNAME}} {{contact.LNAME}} for personalization | [optional]

docs/CreateSmsCampaign.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ Name | Type | Description | Notes
77
**sender** | **String** | Name of the sender. **The number of characters is limited to 11 for alphanumeric characters and 15 for numeric characters** |
88
**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 |
99
**recipients** | [**CreateSmsCampaignRecipients**](CreateSmsCampaignRecipients.md) | | [optional]
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]
10+
**scheduled_at** | **String** | 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]
1111

1212

docs/EmailCampaignsApi.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -336,8 +336,8 @@ api_instance = SibApiV3Sdk::EmailCampaignsApi.new
336336
opts = {
337337
type: 'type_example', # String | Filter on the type of the campaigns
338338
status: 'status_example', # String | Filter on the status of the campaign
339-
start_date: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Mandatory if endDate is used. Starting (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' )
340-
end_date: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' )
339+
start_date: 'start_date_example', # String | Mandatory if endDate is used. Starting (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' )
340+
end_date: 'end_date_example', # String | Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' )
341341
limit: 500, # Integer | Number of documents per page
342342
offset: 0, # Integer | Index of the first document in the page
343343
sort: 'desc' # String | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed
@@ -358,8 +358,8 @@ Name | Type | Description | Notes
358358
------------- | ------------- | ------------- | -------------
359359
**type** | **String**| Filter on the type of the campaigns | [optional]
360360
**status** | **String**| Filter on the status of the campaign | [optional]
361-
**start_date** | **DateTime**| Mandatory if endDate is used. Starting (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) | [optional]
362-
**end_date** | **DateTime**| Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) | [optional]
361+
**start_date** | **String**| Mandatory if endDate is used. Starting (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) | [optional]
362+
**end_date** | **String**| Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) | [optional]
363363
**limit** | **Integer**| Number of documents per page | [optional] [default to 500]
364364
**offset** | **Integer**| Index of the first document in the page | [optional] [default to 0]
365365
**sort** | **String**| Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed | [optional] [default to desc]

docs/GetCampaignOverview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
88
**subject** | **String** | Subject of the campaign. Only available if `abTesting` flag of the campaign is `false` | [optional]
99
**type** | **String** | Type of campaign |
1010
**status** | **String** | Status of the campaign |
11-
**scheduled_at** | **DateTime** | UTC date-time on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional]
11+
**scheduled_at** | **String** | UTC date-time on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional]
1212
**ab_testing** | **BOOLEAN** | Status of A/B Test for the campaign. abTesting = false means it is disabled, & abTesting = true means it is enabled. | [optional]
1313
**subject_a** | **String** | Subject A of the ab-test campaign. Only available if `abTesting` flag of the campaign is `true` | [optional]
1414
**subject_b** | **String** | Subject B of the ab-test campaign. Only available if `abTesting` flag of the campaign is `true` | [optional]

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** | UTC date-time of the event |
8+
**event_time** | **String** | UTC date-time of the event |
99
**ip** | **String** | IP from which the user has opened the campaign |
1010

1111

docs/GetContactDetails.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ Name | Type | Description | Notes
77
**id** | **Integer** | ID of the contact for which you requested the details |
88
**email_blacklisted** | **BOOLEAN** | Blacklist status for email campaigns (true=blacklisted, false=not blacklisted) |
99
**sms_blacklisted** | **BOOLEAN** | Blacklist status for SMS campaigns (true=blacklisted, false=not blacklisted) |
10-
**created_at** | **DateTime** | Creation UTC date-time of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ) |
11-
**modified_at** | **DateTime** | Last modification UTC date-time of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ) |
10+
**created_at** | **String** | Creation UTC date-time of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ) |
11+
**modified_at** | **String** | Last modification UTC date-time of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ) |
1212
**list_ids** | **Array<Integer>** | |
1313
**list_unsubscribed** | **Array<Integer>** | | [optional]
1414
**attributes** | **Object** | Set of attributes of the contact |

docs/GetEmailCampaign.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
88
**subject** | **String** | Subject of the campaign. Only available if `abTesting` flag of the campaign is `false` | [optional]
99
**type** | **String** | Type of campaign |
1010
**status** | **String** | Status of the campaign |
11-
**scheduled_at** | **DateTime** | UTC date-time on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional]
11+
**scheduled_at** | **String** | UTC date-time on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional]
1212
**ab_testing** | **BOOLEAN** | Status of A/B Test for the campaign. abTesting = false means it is disabled, & abTesting = true means it is enabled. | [optional]
1313
**subject_a** | **String** | Subject A of the ab-test campaign. Only available if `abTesting` flag of the campaign is `true` | [optional]
1414
**subject_b** | **String** | Subject B of the ab-test campaign. Only available if `abTesting` flag of the campaign is `true` | [optional]
@@ -25,14 +25,14 @@ Name | Type | Description | Notes
2525
**html_content** | **String** | HTML content of the campaign |
2626
**share_link** | **String** | Link to share the campaign on social medias | [optional]
2727
**tag** | **String** | Tag of the campaign | [optional]
28-
**created_at** | **DateTime** | Creation UTC date-time of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) |
29-
**modified_at** | **DateTime** | UTC date-time of last modification of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) |
28+
**created_at** | **String** | Creation UTC date-time of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) |
29+
**modified_at** | **String** | UTC date-time of last modification of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) |
3030
**inline_image_activation** | **BOOLEAN** | Status of inline image. inlineImageActivation = false means image can’t be embedded, & inlineImageActivation = true means image can be embedded, in the email. | [optional]
3131
**mirror_active** | **BOOLEAN** | Status of mirror links in campaign. mirrorActive = false means mirror links are deactivated, & mirrorActive = true means mirror links are activated, in the campaign | [optional]
3232
**recurring** | **BOOLEAN** | FOR TRIGGER ONLY ! Type of trigger campaign.recurring = false means contact can receive the same Trigger campaign only once, & recurring = true means contact can receive the same Trigger campaign several times | [optional]
33-
**sent_date** | **DateTime** | Sent UTC date-time of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ). Only available if 'status' of the campaign is 'sent' | [optional]
33+
**sent_date** | **String** | Sent UTC date-time of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ). Only available if 'status' of the campaign is 'sent' | [optional]
3434
**return_bounce** | **Integer** | Total number of non-delivered campaigns for a particular campaign id. | [optional]
35-
**recipients** | **Object** | |
36-
**statistics** | **Object** | |
35+
**recipients** | [**GetSmsCampaignRecipients**](GetSmsCampaignRecipients.md) | |
36+
**statistics** | [**GetSmsCampaignRecipients**](GetSmsCampaignRecipients.md) | |
3737

3838

0 commit comments

Comments
 (0)