Skip to content

Commit a942deb

Browse files
authored
Merge pull request #64 from sendinblue/fix_email_campaign
TRAN-000 fix for email campaign response
2 parents db5d201 + ae4df5f commit a942deb

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

src/api.ts

+12-12
Original file line numberDiff line numberDiff line change
@@ -5566,21 +5566,21 @@ export class GetExtendedCampaignOverview extends GetCampaignOverview {
55665566
}
55675567

55685568
export class GetEmailCampaign extends GetExtendedCampaignOverview {
5569-
'recipients': GetSmsCampaignRecipients;
5570-
'statistics': GetSmsCampaignRecipients;
5569+
'recipients': GetCampaignRecipients;
5570+
'statistics': GetExtendedCampaignStats;
55715571

55725572
static discriminator: string | undefined = undefined;
55735573

55745574
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
55755575
{
55765576
"name": "recipients",
55775577
"baseName": "recipients",
5578-
"type": "GetSmsCampaignRecipients"
5578+
"type": "GetCampaignRecipients"
55795579
},
55805580
{
55815581
"name": "statistics",
55825582
"baseName": "statistics",
5583-
"type": "GetSmsCampaignRecipients"
5583+
"type": "GetExtendedCampaignStats"
55845584
} ];
55855585

55865586
static getAttributeTypeMap() {
@@ -5628,7 +5628,7 @@ export class GetExtendedCampaignOverviewSender {
56285628
}
56295629

56305630
export class GetExtendedCampaignStats {
5631-
'globalStats': GetExtendedCampaignStatsGlobalStats;
5631+
'globalStats': any;
56325632
/**
56335633
* List-wise statistics of the campaign.
56345634
*/
@@ -5645,23 +5645,23 @@ export class GetExtendedCampaignStats {
56455645
* Statistics about the number of clicks for the links
56465646
*/
56475647
'linksStats': any;
5648-
'statsByDomain': GetStatsByDomain;
5648+
'statsByDomain': any;
56495649
/**
56505650
* Statistics about the campaign on the basis of various devices
56515651
*/
5652-
'statsByDevice': GetStatsByDevice;
5652+
'statsByDevice': any;
56535653
/**
56545654
* Statistics about the campaign on the basis of various browsers
56555655
*/
5656-
'statsByBrowser': GetStatsByBrowser;
5656+
'statsByBrowser': any;
56575657

56585658
static discriminator: string | undefined = undefined;
56595659

56605660
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
56615661
{
56625662
"name": "globalStats",
56635663
"baseName": "globalStats",
5664-
"type": "GetExtendedCampaignStatsGlobalStats"
5664+
"type": "any"
56655665
},
56665666
{
56675667
"name": "campaignStats",
@@ -5686,17 +5686,17 @@ export class GetExtendedCampaignStats {
56865686
{
56875687
"name": "statsByDomain",
56885688
"baseName": "statsByDomain",
5689-
"type": "GetStatsByDomain"
5689+
"type": "any"
56905690
},
56915691
{
56925692
"name": "statsByDevice",
56935693
"baseName": "statsByDevice",
5694-
"type": "GetStatsByDevice"
5694+
"type": "any"
56955695
},
56965696
{
56975697
"name": "statsByBrowser",
56985698
"baseName": "statsByBrowser",
5699-
"type": "GetStatsByBrowser"
5699+
"type": "any"
57005700
} ];
57015701

57025702
static getAttributeTypeMap() {

0 commit comments

Comments
 (0)