Skip to content

Commit

Permalink
Merge pull request #229 from sendinblue/AST-11
Browse files Browse the repository at this point in the history
AST-11 : GetEmailCampaign route not returning statistics filed data
  • Loading branch information
preetishishodia7 authored Jul 13, 2022
2 parents 2d374f3 + 4ae7fff commit 11af6be
Show file tree
Hide file tree
Showing 9 changed files with 2,231 additions and 228 deletions.
33 changes: 31 additions & 2 deletions docs/Model/GetEmailCampaign.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,37 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**recipients** | [**\SendinBlue\Client\Model\GetSmsCampaignRecipients**](GetSmsCampaignRecipients.md) | |
**statistics** | [**\SendinBlue\Client\Model\GetSmsCampaignRecipients**](GetSmsCampaignRecipients.md) | |
**id** | **int** | ID of the campaign |
**name** | **string** | Name of the campaign |
**subject** | **string** | Subject of the campaign. Only available if `abTesting` flag of the campaign is `false` | [optional]
**type** | **string** | Type of campaign |
**status** | **string** | Status of the campaign |
**scheduledAt** | **string** | UTC date-time on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional]
**abTesting** | **bool** | Status of A/B Test for the campaign. abTesting = false means it is disabled, & abTesting = true means it is enabled. | [optional]
**subjectA** | **string** | Subject A of the ab-test campaign. Only available if `abTesting` flag of the campaign is `true` | [optional]
**subjectB** | **string** | Subject B of the ab-test campaign. Only available if `abTesting` flag of the campaign is `true` | [optional]
**splitRule** | **int** | The size of your ab-test groups. Only available if `abTesting` flag of the campaign is `true` | [optional]
**winnerCriteria** | **string** | Criteria for the winning version. Only available if `abTesting` flag of the campaign is `true` | [optional]
**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]
**sendAtBestTime** | **bool** | It is true if you have chosen to send your campaign at best time, otherwise it is false | [optional]
**testSent** | **bool** | Retrieved the status of test email sending. (true=Test email has been sent false=Test email has not been sent) |
**header** | **string** | Header of the campaign |
**footer** | **string** | Footer of the campaign |
**sender** | [**\SendinBlue\Client\Model\GetExtendedCampaignOverviewSender**](GetExtendedCampaignOverviewSender.md) | |
**replyTo** | **string** | Email defined as the \"Reply to\" of the campaign |
**toField** | **string** | Customisation of the \"to\" field of the campaign | [optional]
**htmlContent** | **string** | HTML content of the campaign |
**shareLink** | **string** | Link to share the campaign on social medias | [optional]
**tag** | **string** | Tag of the campaign | [optional]
**createdAt** | **string** | Creation UTC date-time of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) |
**modifiedAt** | **string** | UTC date-time of last modification of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) |
**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]
**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]
**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]
**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]
**returnBounce** | **int** | Total number of non-delivered campaigns for a particular campaign id. | [optional]
**recipients** | **object** | |
**statistics** | **object** | |

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

Expand Down
19 changes: 14 additions & 5 deletions docs/Model/GetExtendedCampaignOverview.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,20 @@
# GetExtendedCampaignOverview

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **int** | ID of the campaign |
**name** | **string** | Name of the campaign |
**subject** | **string** | Subject of the campaign. Only available if `abTesting` flag of the campaign is `false` | [optional]
**type** | **string** | Type of campaign |
**status** | **string** | Status of the campaign |
**scheduledAt** | **string** | UTC date-time on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional]
**abTesting** | **bool** | Status of A/B Test for the campaign. abTesting = false means it is disabled, & abTesting = true means it is enabled. | [optional]
**subjectA** | **string** | Subject A of the ab-test campaign. Only available if `abTesting` flag of the campaign is `true` | [optional]
**subjectB** | **string** | Subject B of the ab-test campaign. Only available if `abTesting` flag of the campaign is `true` | [optional]
**splitRule** | **int** | The size of your ab-test groups. Only available if `abTesting` flag of the campaign is `true` | [optional]
**winnerCriteria** | **string** | Criteria for the winning version. Only available if `abTesting` flag of the campaign is `true` | [optional]
**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]
**sendAtBestTime** | **bool** | It is true if you have chosen to send your campaign at best time, otherwise it is false | [optional]
**testSent** | **bool** | Retrieved the status of test email sending. (true=Test email has been sent false=Test email has not been sent) |
**header** | **string** | Header of the campaign |
**footer** | **string** | Footer of the campaign |
Expand All @@ -19,7 +31,4 @@ Name | Type | Description | Notes
**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]
**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]
**returnBounce** | **int** | Total number of non-delivered campaigns for a particular campaign id. | [optional]

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


[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
14 changes: 10 additions & 4 deletions docs/Model/GetExtendedContactDetails.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
# GetExtendedContactDetails

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**email** | **string** | Email address of the contact for which you requested the details |
**id** | **int** | ID of the contact for which you requested the details |
**emailBlacklisted** | **bool** | Blacklist status for email campaigns (true=blacklisted, false=not blacklisted) |
**smsBlacklisted** | **bool** | Blacklist status for SMS campaigns (true=blacklisted, false=not blacklisted) |
**createdAt** | **string** | Creation UTC date-time of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ) |
**modifiedAt** | **string** | Last modification UTC date-time of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ) |
**listIds** | **int[]** | |
**listUnsubscribed** | **int[]** | | [optional]
**attributes** | **object** | Set of attributes of the contact |
**statistics** | [**\SendinBlue\Client\Model\GetExtendedContactDetailsStatistics**](GetExtendedContactDetailsStatistics.md) | |

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


[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
17 changes: 11 additions & 6 deletions docs/Model/GetSmsCampaign.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
# GetSmsCampaign

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**recipients** | [**\SendinBlue\Client\Model\GetSmsCampaignRecipients**](GetSmsCampaignRecipients.md) | |
**statistics** | [**\SendinBlue\Client\Model\GetSmsCampaignRecipients**](GetSmsCampaignRecipients.md) | |

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

**id** | **int** | ID of the SMS Campaign |
**name** | **string** | Name of the SMS Campaign |
**status** | **string** | Status of the SMS Campaign |
**content** | **string** | Content of the SMS Campaign |
**scheduledAt** | **string** | UTC date-time on which SMS campaign is scheduled. Should be in YYYY-MM-DDTHH:mm:ss.SSSZ format | [optional]
**sender** | **string** | Sender of the SMS Campaign |
**createdAt** | **string** | Creation UTC date-time of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) |
**modifiedAt** | **string** | UTC date-time of last modification of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) |
**recipients** | **object** | |
**statistics** | **object** | |

[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
2 changes: 1 addition & 1 deletion lib/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
* @link https://github.com/swagger-api/swagger-codegen
*/

$GLOBALS['version'] = '8.3.0';
$GLOBALS['version'] = '8.3.1';

class Configuration
{
Expand Down
Loading

0 comments on commit 11af6be

Please sign in to comment.