@acadix/setup
Version:
Acadix Learning Management System backend application project setup
66 lines (65 loc) • 1.65 kB
TypeScript
interface whatsappCloud {
accessToken: string;
graphAPIVersion?: string;
senderPhoneNumberId: string;
whatsappBusinessId: string;
}
interface graphRequest {
url: string;
method: string;
body: any;
}
interface message {
message: string;
recipient: string;
contactProfile: any;
listOfButtons?: any;
headerText?: string;
bodyText?: string;
footerText?: string;
listOfSections?: messageOptions[];
caption?: string;
url?: string;
latitude?: string;
longitude?: string;
name?: string;
address?: string;
constactProfile?: string;
company?: string;
department: string;
title: string;
phone?: string;
wa_id?: string;
type?: string;
email?: string;
formatted_name?: string;
first_name?: string;
last_name?: string;
middle_name?: string;
suffix?: string;
prefix?: string;
street?: string;
city?: string;
state?: string;
zip?: string;
country?: string;
country_code?: string;
}
interface messageOptions {
id?: string;
title?: string;
description?: string;
rows?: messageOptions[];
}
interface messageParser {
metadata: any;
contacts: string;
WABA_ID: string;
isNotificationMessage?: boolean;
isMessage?: boolean;
message?: any;
context?: any;
notificationType?: string;
notificationMessage?: string;
}
export { whatsappCloud as WhatsappInterface, graphRequest as GraphInterface, message as MessageInterface, messageOptions as OptionInterface, messageParser as ParserInterface, };