Skip to main content

Class: Notification

internal.Notification

Base abstract entity for all entities

Hierarchy

Properties

beforeInsert

Private beforeInsert: any

Defined in

medusa/dist/models/notification.d.ts:17


created_at

created_at: Date

Inherited from

BaseEntity.created_at

Defined in

medusa/dist/interfaces/models/base-entity.d.ts:6


customer

customer: Customer

Defined in

medusa/dist/models/notification.d.ts:9


customer_id

customer_id: null | string

Defined in

medusa/dist/models/notification.d.ts:8


data

data: Record<string, unknown>

Defined in

medusa/dist/models/notification.d.ts:11


event_name

event_name: string

Defined in

medusa/dist/models/notification.d.ts:5


id

id: string

Inherited from

BaseEntity.id

Defined in

medusa/dist/interfaces/models/base-entity.d.ts:5


parent_id

parent_id: string

Defined in

medusa/dist/models/notification.d.ts:12


parent_notification

parent_notification: Notification

Defined in

medusa/dist/models/notification.d.ts:13


provider

provider: NotificationProvider

Defined in

medusa/dist/models/notification.d.ts:16


provider_id

provider_id: string

Defined in

medusa/dist/models/notification.d.ts:15


resends

resends: Notification[]

Defined in

medusa/dist/models/notification.d.ts:14


resource_id

resource_id: string

Defined in

medusa/dist/models/notification.d.ts:7


resource_type

resource_type: string

Defined in

medusa/dist/models/notification.d.ts:6


to

to: string

Defined in

medusa/dist/models/notification.d.ts:10


updated_at

updated_at: Date

Inherited from

BaseEntity.updated_at

Defined in

medusa/dist/interfaces/models/base-entity.d.ts:7