Files
medusa-store/docs/content/references/entities/classes/BatchJob.md
T

4.7 KiB

displayed_sidebar
displayed_sidebar
entitiesSidebar

Class: BatchJob

Hierarchy

  • SoftDeletableEntity

    ↳ BatchJob

Constructors

constructor

• new BatchJob()

Inherited from

SoftDeletableEntity.constructor

Properties

canceled_at

• Optional canceled_at: Date

Defined in

models/batch-job.ts:62


completed_at

• Optional completed_at: Date

Defined in

models/batch-job.ts:59


confirmed_at

• Optional confirmed_at: Date

Defined in

models/batch-job.ts:56


context

• context: Record<string, unknown>

Defined in

models/batch-job.ts:33


created_at

• created_at: Date

Inherited from

SoftDeletableEntity.created_at

Defined in

interfaces/models/base-entity.ts:16


created_by

• created_by: null | string

Defined in

models/batch-job.ts:26


created_by_user

• created_by_user: User

Defined in

models/batch-job.ts:30


deleted_at

• deleted_at: null | Date

Inherited from

SoftDeletableEntity.deleted_at

Defined in

interfaces/models/soft-deletable-entity.ts:7


dry_run

• dry_run: boolean = false

Defined in

models/batch-job.ts:47


failed_at

• Optional failed_at: Date

Defined in

models/batch-job.ts:65


id

• id: string

Inherited from

SoftDeletableEntity.id

Defined in

interfaces/models/base-entity.ts:13


pre_processed_at

• Optional pre_processed_at: Date

Defined in

models/batch-job.ts:50


processing_at

• Optional processing_at: Date

Defined in

models/batch-job.ts:53


result

• result: { advancement_count?: number ; count?: number ; errors?: BatchJobResultError[] ; file_key?: string ; file_size?: number ; progress?: number ; stat_descriptors?: BatchJobResultStatDescriptor[] } & Record<string, unknown>

Defined in

models/batch-job.ts:36


status

• status: BatchJobStatus

Defined in

models/batch-job.ts:67


type

• type: string

Defined in

models/batch-job.ts:23


updated_at

• updated_at: Date

Inherited from

SoftDeletableEntity.updated_at

Defined in

interfaces/models/base-entity.ts:19

Methods

beforeInsert

▸ Private beforeInsert(): void

Returns

void

Defined in

models/batch-job.ts:94


loadStatus

▸ loadStatus(): void

Returns

void

Defined in

models/batch-job.ts:69


toJSON

▸ toJSON(): BatchJob

Returns

BatchJob

Defined in

models/batch-job.ts:99