Skip to content

Commit 11af6be

Browse files
Merge pull request #229 from sendinblue/AST-11
AST-11 : GetEmailCampaign route not returning statistics filed data
2 parents 2d374f3 + 4ae7fff commit 11af6be

9 files changed

+2231
-228
lines changed

docs/Model/GetEmailCampaign.md

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,37 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**recipients** | [**\SendinBlue\Client\Model\GetSmsCampaignRecipients**](GetSmsCampaignRecipients.md) | |
7-
**statistics** | [**\SendinBlue\Client\Model\GetSmsCampaignRecipients**](GetSmsCampaignRecipients.md) | |
6+
**id** | **int** | ID of the campaign |
7+
**name** | **string** | Name of the campaign |
8+
**subject** | **string** | Subject of the campaign. Only available if `abTesting` flag of the campaign is `false` | [optional]
9+
**type** | **string** | Type of campaign |
10+
**status** | **string** | Status of the campaign |
11+
**scheduledAt** | **string** | UTC date-time on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional]
12+
**abTesting** | **bool** | Status of A/B Test for the campaign. abTesting = false means it is disabled, & abTesting = true means it is enabled. | [optional]
13+
**subjectA** | **string** | Subject A of the ab-test campaign. Only available if `abTesting` flag of the campaign is `true` | [optional]
14+
**subjectB** | **string** | Subject B of the ab-test campaign. Only available if `abTesting` flag of the campaign is `true` | [optional]
15+
**splitRule** | **int** | The size of your ab-test groups. Only available if `abTesting` flag of the campaign is `true` | [optional]
16+
**winnerCriteria** | **string** | Criteria for the winning version. Only available if `abTesting` flag of the campaign is `true` | [optional]
17+
**winnerDelay** | **int** | The duration of the test in hours at the end of which the winning version will be sent. Only available if `abTesting` flag of the campaign is `true` | [optional]
18+
**sendAtBestTime** | **bool** | It is true if you have chosen to send your campaign at best time, otherwise it is false | [optional]
19+
**testSent** | **bool** | Retrieved the status of test email sending. (true=Test email has been sent false=Test email has not been sent) |
20+
**header** | **string** | Header of the campaign |
21+
**footer** | **string** | Footer of the campaign |
22+
**sender** | [**\SendinBlue\Client\Model\GetExtendedCampaignOverviewSender**](GetExtendedCampaignOverviewSender.md) | |
23+
**replyTo** | **string** | Email defined as the \"Reply to\" of the campaign |
24+
**toField** | **string** | Customisation of the \"to\" field of the campaign | [optional]
25+
**htmlContent** | **string** | HTML content of the campaign |
26+
**shareLink** | **string** | Link to share the campaign on social medias | [optional]
27+
**tag** | **string** | Tag of the campaign | [optional]
28+
**createdAt** | **string** | Creation UTC date-time of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) |
29+
**modifiedAt** | **string** | UTC date-time of last modification of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) |
30+
**inlineImageActivation** | **bool** | Status of inline image. inlineImageActivation = false means image can’t be embedded, & inlineImageActivation = true means image can be embedded, in the email. | [optional]
31+
**mirrorActive** | **bool** | Status of mirror links in campaign. mirrorActive = false means mirror links are deactivated, & mirrorActive = true means mirror links are activated, in the campaign | [optional]
32+
**recurring** | **bool** | 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+
**sentDate** | **string** | Sent UTC date-time of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ). Only available if 'status' of the campaign is 'sent' | [optional]
34+
**returnBounce** | **int** | Total number of non-delivered campaigns for a particular campaign id. | [optional]
35+
**recipients** | **object** | |
36+
**statistics** | **object** | |
837

938
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
1039

docs/Model/GetExtendedCampaignOverview.md

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,20 @@
11
# GetExtendedCampaignOverview
2-
32
## Properties
43
Name | Type | Description | Notes
54
------------ | ------------- | ------------- | -------------
5+
**id** | **int** | ID of the campaign |
6+
**name** | **string** | Name of the campaign |
7+
**subject** | **string** | Subject of the campaign. Only available if `abTesting` flag of the campaign is `false` | [optional]
8+
**type** | **string** | Type of campaign |
9+
**status** | **string** | Status of the campaign |
10+
**scheduledAt** | **string** | UTC date-time on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional]
11+
**abTesting** | **bool** | Status of A/B Test for the campaign. abTesting = false means it is disabled, & abTesting = true means it is enabled. | [optional]
12+
**subjectA** | **string** | Subject A of the ab-test campaign. Only available if `abTesting` flag of the campaign is `true` | [optional]
13+
**subjectB** | **string** | Subject B of the ab-test campaign. Only available if `abTesting` flag of the campaign is `true` | [optional]
14+
**splitRule** | **int** | The size of your ab-test groups. Only available if `abTesting` flag of the campaign is `true` | [optional]
15+
**winnerCriteria** | **string** | Criteria for the winning version. Only available if `abTesting` flag of the campaign is `true` | [optional]
16+
**winnerDelay** | **int** | The duration of the test in hours at the end of which the winning version will be sent. Only available if `abTesting` flag of the campaign is `true` | [optional]
17+
**sendAtBestTime** | **bool** | It is true if you have chosen to send your campaign at best time, otherwise it is false | [optional]
618
**testSent** | **bool** | Retrieved the status of test email sending. (true=Test email has been sent false=Test email has not been sent) |
719
**header** | **string** | Header of the campaign |
820
**footer** | **string** | Footer of the campaign |
@@ -19,7 +31,4 @@ Name | Type | Description | Notes
1931
**recurring** | **bool** | 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]
2032
**sentDate** | **string** | Sent UTC date-time of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ). Only available if 'status' of the campaign is 'sent' | [optional]
2133
**returnBounce** | **int** | Total number of non-delivered campaigns for a particular campaign id. | [optional]
22-
23-
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
24-
25-
34+
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
# GetExtendedContactDetails
2-
32
## Properties
43
Name | Type | Description | Notes
54
------------ | ------------- | ------------- | -------------
5+
**email** | **string** | Email address of the contact for which you requested the details |
6+
**id** | **int** | ID of the contact for which you requested the details |
7+
**emailBlacklisted** | **bool** | Blacklist status for email campaigns (true=blacklisted, false=not blacklisted) |
8+
**smsBlacklisted** | **bool** | Blacklist status for SMS campaigns (true=blacklisted, false=not blacklisted) |
9+
**createdAt** | **string** | Creation UTC date-time of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ) |
10+
**modifiedAt** | **string** | Last modification UTC date-time of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ) |
11+
**listIds** | **int[]** | |
12+
**listUnsubscribed** | **int[]** | | [optional]
13+
**attributes** | **object** | Set of attributes of the contact |
614
**statistics** | [**\SendinBlue\Client\Model\GetExtendedContactDetailsStatistics**](GetExtendedContactDetailsStatistics.md) | |
715

8-
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
9-
10-
16+
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)

docs/Model/GetSmsCampaign.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
11
# GetSmsCampaign
2-
32
## Properties
43
Name | Type | Description | Notes
54
------------ | ------------- | ------------- | -------------
6-
**recipients** | [**\SendinBlue\Client\Model\GetSmsCampaignRecipients**](GetSmsCampaignRecipients.md) | |
7-
**statistics** | [**\SendinBlue\Client\Model\GetSmsCampaignRecipients**](GetSmsCampaignRecipients.md) | |
8-
9-
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
10-
5+
**id** | **int** | ID of the SMS Campaign |
6+
**name** | **string** | Name of the SMS Campaign |
7+
**status** | **string** | Status of the SMS Campaign |
8+
**content** | **string** | Content of the SMS Campaign |
9+
**scheduledAt** | **string** | UTC date-time on which SMS campaign is scheduled. Should be in YYYY-MM-DDTHH:mm:ss.SSSZ format | [optional]
10+
**sender** | **string** | Sender of the SMS Campaign |
11+
**createdAt** | **string** | Creation UTC date-time of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) |
12+
**modifiedAt** | **string** | UTC date-time of last modification of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) |
13+
**recipients** | **object** | |
14+
**statistics** | **object** | |
1115

16+
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)

lib/Configuration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
* @link https://github.com/swagger-api/swagger-codegen
3939
*/
4040

41-
$GLOBALS['version'] = '8.3.0';
41+
$GLOBALS['version'] = '8.3.1';
4242

4343
class Configuration
4444
{

0 commit comments

Comments
 (0)