diff --git a/src/cli.ts b/src/cli.ts index 2141b57..879a5f7 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -11,7 +11,7 @@ import { program } from "commander"; import getStdin from "get-stdin"; import Client from "./Client.js"; -import { MessageType } from "./types/Message/index.js"; +import { MessageType } from "./types/Message/MessageType.js"; const WHATSAPP_ACCESS_TOKEN = process.env.WHATSAPP_ACCESS_TOKEN; const WHATSAPP_PHONE_NUMBER_ID = process.env.WHATSAPP_PHONE_NUMBER_ID; diff --git a/src/types/Webhook/WebhookEventNotification.ts b/src/types/Webhook/WebhookEventNotification.ts index 6f588c2..e622ba0 100644 --- a/src/types/Webhook/WebhookEventNotification.ts +++ b/src/types/Webhook/WebhookEventNotification.ts @@ -9,7 +9,8 @@ import { AccountID } from "../Account.js"; import { BusinessAccountID } from "../BusinessAccount.js"; import { WhatsappError } from "../Error.js"; -import { MessageID, MessageType } from "../Message/index.js"; +import { MessageID } from "../Message/index.js"; +import { MessageType } from "../Message/MessageType.js"; import { EventNotificationMessageIdentity } from "../Message/MessageIdentity.js"; import { EventNotificationMessageMedia } from "../Message/MessageMedia.js"; import { EventNotificationMessageReferral } from "../Message/MessageReferral.js";