fix(types): add attachments to CreateNotificationDTO type (#12936)
Closes #12702
This commit is contained in:
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@medusajs/types": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
fix(types): add attachments to CreateNotificationDTO type
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
import { NotificationContent } from "./common"
|
import { Attachment, NotificationContent } from "./common"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @interface
|
* @interface
|
||||||
@@ -52,4 +52,8 @@ export interface CreateNotificationDTO {
|
|||||||
* An idempotency key that ensures the same notification is not sent multiple times.
|
* An idempotency key that ensures the same notification is not sent multiple times.
|
||||||
*/
|
*/
|
||||||
idempotency_key?: string | null
|
idempotency_key?: string | null
|
||||||
|
/**
|
||||||
|
* Optional attachments for the notification.
|
||||||
|
*/
|
||||||
|
attachments?: Attachment[] | null
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user