The Lume Typescript Client Library is currently in beta. Please reach out to
support if you have any questions, encounter any bugs, or have any feature
requests.
Primary Data Models
Job
Type representing details of a job. Returned in job fetching methods.
Workshop
Type representing details of a workshop. Returned in workshop fetching methods.
Workshop.status
Enum representing the status of a workshop.
Mapping
Type representing the mapped record of the data from the job.
Pipeline
Type representing details of a pipeline. Returned in pipeline fetching methods.
Result
Type representing details of a result. Returned in result fetching methods.
Result.status
Enum representing the status of a mapping task.
Spec
Type representing the specification details.
TargetSchema
Type representing details of a target schema.
Schema
Schema alias for Record<string, any>.
Parameter Data Models
PipelineCreatePayload
Payload for creating a new pipeline.
PipelineUpdatePayload
Payload for updating an existing pipeline.
Response Data Models
PaginatedResponse<T>
Interface representing a paginated response containing items of type T.
CreateAndRunJobResponse
The response of the createAndRunJob request.
JobExecutionResponse
An object that displays the result of a job execution. This type is used in the workflow service to return multiple relevant objects in a single response.
Workshop Edit Models
Mapper Edit
A ManualTransformation is a transformation that is manually defined by the user. It is used to transform data from a source schema to a specific field in a target schema.
NOTE: either extract or default must be present.
MapperEditSchema
A mapper is an object defining how to transform data from a source schema to a specific field in a target schema. It is associated with a pipeline and can be used to transform data in a job.
WorkshopWithMapperPayload
Represents a run workshop payload with mapper changes.
Prompt Edit
TargetFieldsToPrompt
An object that displays the prompt for the target fields.
WorkshopWithPromptPayload
Represents a run workshop payload with a prompt mapping request.
Sample Edit
SampleEdit
An object that displays the mapped record of the data from the job.
WorkshopWithSamplePayload
Represents a run workshop payload with a sample mapping request.
Target Schema Edit
WorkshopWithSchemaPayload
Represents a run workshop payload with a target schema.