Problema de actuallizacion de operation resuelto
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { Result } from "#shared/domain/Result.js";
|
||||
|
||||
export type StatusEnum = Objenious.Status | 'noMassID';
|
||||
export type StatusEnum = 'error' | 'finished' | 'noRequestId' | 'running' | 'noMassID';
|
||||
|
||||
export interface IOperationsRepository {
|
||||
createOperation(data: ObjeniousOperation): Promise<Result<string, ObjeniousOperation>>
|
||||
@@ -20,6 +20,7 @@ export type ObjeniousOperation = {
|
||||
end_date?: Date | null;
|
||||
error?: string | null;
|
||||
status: StatusEnum;
|
||||
objenioius_status: string;
|
||||
last_change_date?: string;
|
||||
}
|
||||
|
||||
@@ -29,6 +30,9 @@ export type ObjeniousOperationChange = {
|
||||
info?: string | null;
|
||||
error?: string | null;
|
||||
new_status: StatusEnum;
|
||||
previous_status?: StatusEnum;
|
||||
new_objenious_status?: string;
|
||||
previous_objenious_status?: string;
|
||||
new_request_id?: string;
|
||||
new_mass_action_id?: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user