Skip to content

Commit 031f74e

Browse files
authored
Merge pull request #11 from sendinblue/feature_wrapper_update
Feature wrapper update
2 parents 5d312b1 + 5363c67 commit 031f74e

File tree

6 files changed

+315
-204
lines changed

6 files changed

+315
-204
lines changed

api.d.ts

Lines changed: 30 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ export declare class CreateChild {
122122
'lastName': string;
123123
'companyName': string;
124124
'password': string;
125+
'language': CreateChild.LanguageEnum;
125126
static discriminator: undefined;
126127
static attributeTypeMap: Array<{
127128
name: string;
@@ -134,6 +135,16 @@ export declare class CreateChild {
134135
type: string;
135136
}[];
136137
}
138+
export declare namespace CreateChild {
139+
enum LanguageEnum {
140+
Fr,
141+
Es,
142+
Pt,
143+
It,
144+
De,
145+
En
146+
}
147+
}
137148
export declare class CreateContact {
138149
'email': string;
139150
'attributes': any;
@@ -282,6 +293,7 @@ export declare class CreateModel {
282293
}
283294
export declare class CreateReseller {
284295
'authKey': string;
296+
'id': number;
285297
static discriminator: undefined;
286298
static attributeTypeMap: Array<{
287299
name: string;
@@ -475,6 +487,7 @@ export declare class CreateWebhook {
475487
}
476488
export declare namespace CreateWebhook {
477489
enum EventsEnum {
490+
Sent,
478491
HardBounce,
479492
SoftBounce,
480493
Blocked,
@@ -1794,6 +1807,7 @@ export declare class GetSmtpTemplateOverview {
17941807
'htmlContent': string;
17951808
'createdAt': Date;
17961809
'modifiedAt': Date;
1810+
'doiTemplate': boolean;
17971811
static discriminator: undefined;
17981812
static attributeTypeMap: Array<{
17991813
name: string;
@@ -2153,6 +2167,7 @@ export declare class PostContactInfoContacts {
21532167
'success': Array<string>;
21542168
'failure': Array<string>;
21552169
'total': number;
2170+
'processId': number;
21562171
static discriminator: undefined;
21572172
static attributeTypeMap: Array<{
21582173
name: string;
@@ -2762,6 +2777,7 @@ export declare class UpdateChildAccountStatus {
27622777
'transactionalEmail': boolean;
27632778
'transactionalSms': boolean;
27642779
'marketingAutomation': boolean;
2780+
'smsCampaign': boolean;
27652781
static discriminator: undefined;
27662782
static attributeTypeMap: Array<{
27672783
name: string;
@@ -3698,67 +3714,67 @@ export declare class ResellerApi {
36983714
basePath: string;
36993715
setDefaultAuthentication(auth: Authentication): void;
37003716
setApiKey(key: ResellerApiApiKeys, value: string): void;
3701-
addCredits(childAuthKey: string, addCredits: AddCredits): Promise<{
3717+
addCredits(childIdentifier: string, addCredits: AddCredits): Promise<{
37023718
response: http.IncomingMessage;
37033719
body: RemainingCreditModel;
37043720
}>;
3705-
associateIpToChild(childAuthKey: string, ip: ManageIp): Promise<{
3721+
associateIpToChild(childIdentifier: string, ip: ManageIp): Promise<{
37063722
response: http.IncomingMessage;
37073723
body?: any;
37083724
}>;
3709-
createChildDomain(childAuthKey: string, addChildDomain: AddChildDomain): Promise<{
3725+
createChildDomain(childIdentifier: string, addChildDomain: AddChildDomain): Promise<{
37103726
response: http.IncomingMessage;
37113727
body?: any;
37123728
}>;
37133729
createResellerChild(resellerChild?: CreateChild): Promise<{
37143730
response: http.IncomingMessage;
37153731
body: CreateReseller;
37163732
}>;
3717-
deleteChildDomain(childAuthKey: string, domainName: string): Promise<{
3733+
deleteChildDomain(childIdentifier: string, domainName: string): Promise<{
37183734
response: http.IncomingMessage;
37193735
body?: any;
37203736
}>;
3721-
deleteResellerChild(childAuthKey: string): Promise<{
3737+
deleteResellerChild(childIdentifier: string): Promise<{
37223738
response: http.IncomingMessage;
37233739
body?: any;
37243740
}>;
3725-
dissociateIpFromChild(childAuthKey: string, ip: ManageIp): Promise<{
3741+
dissociateIpFromChild(childIdentifier: string, ip: ManageIp): Promise<{
37263742
response: http.IncomingMessage;
37273743
body?: any;
37283744
}>;
3729-
getChildAccountCreationStatus(childAuthKey: string): Promise<{
3745+
getChildAccountCreationStatus(childIdentifier: string): Promise<{
37303746
response: http.IncomingMessage;
37313747
body: GetChildAccountCreationStatus;
37323748
}>;
3733-
getChildDomains(childAuthKey: string): Promise<{
3749+
getChildDomains(childIdentifier: string): Promise<{
37343750
response: http.IncomingMessage;
37353751
body: GetChildDomains;
37363752
}>;
3737-
getChildInfo(childAuthKey: string): Promise<{
3753+
getChildInfo(childIdentifier: string): Promise<{
37383754
response: http.IncomingMessage;
37393755
body: GetChildInfo;
37403756
}>;
37413757
getResellerChilds(limit?: number, offset?: number): Promise<{
37423758
response: http.IncomingMessage;
37433759
body: GetChildrenList;
37443760
}>;
3745-
getSsoToken(childAuthKey: string): Promise<{
3761+
getSsoToken(childIdentifier: string): Promise<{
37463762
response: http.IncomingMessage;
37473763
body: GetSsoToken;
37483764
}>;
3749-
removeCredits(childAuthKey: string, removeCredits: RemoveCredits): Promise<{
3765+
removeCredits(childIdentifier: string, removeCredits: RemoveCredits): Promise<{
37503766
response: http.IncomingMessage;
37513767
body: RemainingCreditModel;
37523768
}>;
3753-
updateChildAccountStatus(childAuthKey: string, updateChildAccountStatus: UpdateChildAccountStatus): Promise<{
3769+
updateChildAccountStatus(childIdentifier: string, updateChildAccountStatus: UpdateChildAccountStatus): Promise<{
37543770
response: http.IncomingMessage;
37553771
body?: any;
37563772
}>;
3757-
updateChildDomain(childAuthKey: string, domainName: string, updateChildDomain: UpdateChildDomain): Promise<{
3773+
updateChildDomain(childIdentifier: string, domainName: string, updateChildDomain: UpdateChildDomain): Promise<{
37583774
response: http.IncomingMessage;
37593775
body?: any;
37603776
}>;
3761-
updateResellerChild(childAuthKey: string, resellerChild: UpdateChild): Promise<{
3777+
updateResellerChild(childIdentifier: string, resellerChild: UpdateChild): Promise<{
37623778
response: http.IncomingMessage;
37633779
body?: any;
37643780
}>;

0 commit comments

Comments
 (0)