Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

Optional archived

archived: null | Date

Optional attachment

attachment: null | MerchiFile

Optional avatar

avatar: null | MerchiFile

Readonly backObjects

backObjects: Set<Entity> = ...

create

create: (options?: CreateOptions) => Promise<Notification> = ...

Type declaration

    • Parameters

      • Optional options: CreateOptions

      Returns Promise<Notification>

Optional date

date: Date

Optional description

description: null | string

Optional domain

domain: Domain

Optional htmlMessage

htmlMessage: string

Optional id

id: number

isDirty

isDirty: boolean = false

key

key: string = ...

Optional link

link: null | string

merchi

merchi: Merchi

Optional message

message: string

Optional notificationType

notificationType: number

propertiesMap

propertiesMap: Map<string, PropertyInfo>

Optional recipient

recipient: User

Optional relatedAssignment

relatedAssignment: null | Assignment

Optional relatedDraft

relatedDraft: null | Draft

Optional relatedDraftComment

relatedDraftComment: null | DraftComment

Optional relatedInvoice

relatedInvoice: null | Invoice

Optional relatedJob

relatedJob: null | Job

Optional relatedJobComment

relatedJobComment: null | JobComment

Optional relatedProductionComment

relatedProductionComment: null | ProductionComment

Optional section

section: number

Optional seen

seen: boolean

Optional sendEmail

sendEmail: boolean

Optional sendSms

sendSms: boolean

Optional sender

sender: null | User

Optional shortUrl

shortUrl: null | ShortUrl

Optional subject

subject: null | string

Optional urgency

urgency: number

Static merchi

merchi: Merchi

Methods

cleanDirty

  • cleanDirty(): void

createFactory

  • createFactory(__namedParameters: Object): (options?: CreateOptions) => Promise<this>
  • Parameters

    • __namedParameters: Object

    Returns (options?: CreateOptions) => Promise<this>

      • (options?: CreateOptions): Promise<this>
      • Parameters

        • Optional options: CreateOptions

        Returns Promise<this>

delete

  • delete(options?: DeleteOptions): Promise<this>

fromJson

  • fromJson(json: any, options?: FromJsonOptions): this

getPrimaryKeyValue

  • getPrimaryKeyValue(): any

recover

  • recover(options?: SaveOptions): Promise<this>

save

  • save(options?: SaveOptions): Promise<this>

toFormData

  • toFormData(options?: SerialiseOptions, fileIndex?: Counter): FormData

toJson

  • toJson(): any

updateOrder

  • updateOrder(property: string): void

Static get

  • get<T>(key: string | number, options?: GetOptions): Promise<InstanceType<T>>
  • Type parameters

    Parameters

    • key: string | number
    • Optional options: GetOptions

    Returns Promise<InstanceType<T>>

Static list

  • list<T>(options?: ListOptions): Promise<ListResponse<InstanceType<T>>>

Generated using TypeDoc