Skip to content

Commit

Permalink
Fixing format.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jhonnanthn Balsas committed Jun 25, 2020
1 parent 338c094 commit d046a6b
Showing 1 changed file with 17 additions and 18 deletions.
35 changes: 17 additions & 18 deletions src/types/zenvia.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export {
ContactsContent,
TemplateContent,
MessageSubscription,
MessageStatusSubscription
MessageStatusSubscription,
};

export type Channel = 'sms' | 'whatsapp' | 'facebook';
Expand Down Expand Up @@ -101,7 +101,6 @@ export interface IContactsContent extends IContent {
}>;
}


export interface ILocationContent extends IContent {
longitude: number;
latitude: number;
Expand Down Expand Up @@ -304,29 +303,29 @@ export interface ISuggestions {

export interface IComponents {
header?: {
type: string,
text: string,
}
type: string;
text: string;
};
body: {
type: string,
text: string,
},
type: string;
text: string;
};
footer?: {
type: string,
text: string,
},
type: string;
text: string;
};
buttons?: {
type: string,
type: string;
items: IButtonsItems[];
}
};
}

export interface IButtonsItems {
type: string,
text: string,
url?: string,
phoneNumber?: string,
payload?: string,
type: string;
text: string;
url?: string;
phoneNumber?: string;
payload?: string;
}

export interface IChannels {
Expand Down

0 comments on commit d046a6b

Please sign in to comment.