Skip to content

Commit 5d312b1

Browse files
authored
Merge pull request #9 from sendinblue/feature_wrapper_update
upgrade to v1.3.0
2 parents 4ae619d + 6d33266 commit 5d312b1

File tree

5 files changed

+395
-89
lines changed

5 files changed

+395
-89
lines changed

api.d.ts

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,25 @@ export declare class CreateContact {
154154
type: string;
155155
}[];
156156
}
157+
export declare class CreateDoiContact {
158+
'email': string;
159+
'attributes': any;
160+
'includeListIds': Array<number>;
161+
'excludeListIds': Array<number>;
162+
'templateId': number;
163+
'redirectionUrl': string;
164+
static discriminator: undefined;
165+
static attributeTypeMap: Array<{
166+
name: string;
167+
baseName: string;
168+
type: string;
169+
}>;
170+
static getAttributeTypeMap(): {
171+
name: string;
172+
baseName: string;
173+
type: string;
174+
}[];
175+
}
157176
export declare class CreateEmailCampaign {
158177
'tag': string;
159178
'sender': CreateEmailCampaignSender;
@@ -1917,7 +1936,7 @@ export declare class GetTransacBlockedContactsContacts {
19171936
'email': string;
19181937
'senderEmail': string;
19191938
'reason': GetTransacBlockedContactsReason;
1920-
'blockedAt': string;
1939+
'blockedAt': Date;
19211940
static discriminator: undefined;
19221941
static attributeTypeMap: Array<{
19231942
name: string;
@@ -2011,6 +2030,8 @@ export declare class GetTransacEmailsListTransactionalEmails {
20112030
'messageId': string;
20122031
'uuid': string;
20132032
'date': Date;
2033+
'from': string;
2034+
'tags': Array<string>;
20142035
static discriminator: undefined;
20152036
static attributeTypeMap: Array<{
20162037
name: string;
@@ -3053,6 +3074,7 @@ export declare class GetExtendedCampaignOverview {
30533074
'mirrorActive': boolean;
30543075
'recurring': boolean;
30553076
'sentDate': Date;
3077+
'returnBounce': number;
30563078
static discriminator: undefined;
30573079
static attributeTypeMap: Array<{
30583080
name: string;
@@ -3224,6 +3246,7 @@ export declare class GetEmailCampaign {
32243246
'mirrorActive': boolean;
32253247
'recurring': boolean;
32263248
'sentDate': Date;
3249+
'returnBounce': number;
32273250
'recipients': any;
32283251
'statistics': any;
32293252
static discriminator: undefined;
@@ -3364,6 +3387,10 @@ export declare class ContactsApi {
33643387
response: http.IncomingMessage;
33653388
body: CreateUpdateContactModel;
33663389
}>;
3390+
createDoiContact(createDoiContact: CreateDoiContact): Promise<{
3391+
response: http.IncomingMessage;
3392+
body?: any;
3393+
}>;
33673394
createFolder(createFolder: CreateUpdateFolder): Promise<{
33683395
response: http.IncomingMessage;
33693396
body: CreateModel;
@@ -3396,7 +3423,7 @@ export declare class ContactsApi {
33963423
response: http.IncomingMessage;
33973424
body: GetExtendedContactDetails;
33983425
}>;
3399-
getContactStats(email: string): Promise<{
3426+
getContactStats(email: string, startDate?: string, endDate?: string): Promise<{
34003427
response: http.IncomingMessage;
34013428
body: GetContactCampaignStats;
34023429
}>;

api.js

Lines changed: 113 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)