diff --git a/.changeset/gorgeous-beers-travel.md b/.changeset/gorgeous-beers-travel.md new file mode 100644 index 0000000000..5fbc376b75 --- /dev/null +++ b/.changeset/gorgeous-beers-travel.md @@ -0,0 +1,5 @@ +--- +"@medusajs/types": patch +--- + +fix(types): add attachments to CreateNotificationDTO type diff --git a/packages/core/types/src/notification/mutations.ts b/packages/core/types/src/notification/mutations.ts index 416c7aafd3..3c9a3c33b8 100644 --- a/packages/core/types/src/notification/mutations.ts +++ b/packages/core/types/src/notification/mutations.ts @@ -1,4 +1,4 @@ -import { NotificationContent } from "./common" +import { Attachment, NotificationContent } from "./common" /** * @interface @@ -52,4 +52,8 @@ export interface CreateNotificationDTO { * An idempotency key that ensures the same notification is not sent multiple times. */ idempotency_key?: string | null + /** + * Optional attachments for the notification. + */ + attachments?: Attachment[] | null }