Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

Optional archived

archived: null | Date

Optional assignmentDeadline

assignmentDeadline: Date

Readonly backObjects

backObjects: Set<Entity> = ...

Optional comments

comments: ProductionComment[]

create

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

Type declaration

    • Parameters

      • Optional options: CreateOptions

      Returns Promise<Assignment>

Optional id

id: number

isDirty

isDirty: boolean = false

Optional job

job: null | Job

key

key: string = ...

Optional managerAccepts

managerAccepts: null | Date

merchi

merchi: Merchi

Optional needsShipping

needsShipping: boolean

Optional notes

notes: null | string

Optional notifications

notifications: Notification[]

Optional productionDeadline

productionDeadline: Date

Optional productionFiles

productionFiles: MerchiFile[]

propertiesMap

propertiesMap: Map<string, PropertyInfo>

Optional quote

quote: null | Quote

Optional shipment

shipment: null | Shipment

Optional supplier

supplier: null | User

Optional supplierRefused

supplierRefused: null | Date

Optional supplyDomain

supplyDomain: null | SupplyDomain

Optional supplyJob

supplyJob: null | Job

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

generateInvoice

  • generateInvoice(props?: GenerateInvoiceProps): Promise<Invoice>

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