-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.ts
40 lines (40 loc) · 907 Bytes
/
index.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
export { SetUpWhatsAppAPI, WhatsApp, WhatsAppApi } from "./src/index";
export type {
ContactInfo,
MessageInfo,
WSErrorJSON,
WSErrorResponse,
TextMessageResponse,
SendTemplateMessageProps,
SendTextMessageProps,
SetUpProps,
TemplateMessageBody,
TextMessageBody,
} from "./src/types";
export { WSRequestError, WSResponseErrorCode, WSError } from "./src/error";
export {
BodyComponent,
ButtonComponentType,
CatalogButtonComponent,
ComponentType,
HeaderComponent,
QuickReplyButtonComponent,
UrlButtonComponent,
BaseButtonComponent,
} from "./src/templateMessages/components";
export {
ButtonParamType,
ButtonPayloadParam,
ButtonTextParam,
CurrencyParam,
DateTimeParam,
DocumentParam,
ImageParam,
TextParam,
VideoParam,
ParamType,
BaseButtonParam,
BaseParam,
type CurrencyParamProps,
type DocumentParamProps,
} from "./src/templateMessages/params";