import { SubjectType, TreeStruct } from '../../shared'; import { IntraLogistic } from './intra-logistic'; export declare const enum TransferType { Manual = "MANUAL_HANDLING", LogisticVehicle = "LOGISTIC_VEHICLE", InternalVehicle = "INTERNAL_LOGISTIC_VEHICLE" } export type TransferTypeValues = 'MANUAL_HANDLING' | 'LOGISTIC_VEHICLE' | 'INTERNAL_LOGISTIC_VEHICLE'; export declare const enum ArrowWorkFlowTrasferChangeType { InterLogistic = "CHANGE_INTER_LOGISTIC", Optional = "CHANGE_OPTIONAL" } export interface CreateWorkflowInstructionRequestBody { readonly arrowActionWorkFlowId: string; readonly storageNodeId: string; readonly transferActionWorkFlowId: string; } export interface CopyWorkflowInstructionRequestBody { readonly arrowActionWorkFlowId: string; readonly transferActionWorkFlowId: string; readonly selectInstructionId: string; } export interface InsertWorkflowInstructionRequestBody { readonly arrowActionWorkFlowId: string; readonly transferActionWorkFlowId: string; readonly selectInstructionId: string; } export interface UnbindWorkflowInstructionRequestBody { readonly arrowActionWorkFlowId: string; readonly transferActionWorkFlowId: string; readonly selectInstructionId: string; } export interface AddArrowWorkFlowTransferBase { readonly type: TransferType; readonly arrowActionWorkFlowId: string; } export type AddArrowWorkFlowTransferRequestBody = AddArrowWorkFlowVehicleTransferRequestBody | AddArrowWorkFlowManualTransferRequestBody; export type AvailableAllWorkflowTransfer = WorkflowInternalVehicleTransfer | TreeStruct; export interface WorkflowInternalVehicleTransfer { readonly arrowPoint: string; readonly contentFragmentId: string; readonly interLogisticsBaseInfoDto: IntraLogistic; readonly type: SubjectType; } export interface AddArrowWorkFlowVehicleTransferRequestBody extends AddArrowWorkFlowTransferBase { readonly interLogisticsId: string; } export interface AddArrowWorkFlowManualTransferRequestBody extends AddArrowWorkFlowTransferBase { readonly name: string; readonly numberPeople: number; } export type UpdateArrowWorkFlowTransferRequestBody = UpdateArrowWorkFlowManualTransfer | UpdateArrowWorkFlowVehicleTransfer; export interface UpdateArrowWorkFlowTransderBase { readonly arrowActionWorkFlowId: string; readonly change_type: ArrowWorkFlowTrasferChangeType; readonly oldTransferActionWorkFlowId: string; readonly optionalTransferActionWorkFlowId?: string; } export interface UpdateArrowWorkFlowVehicleTransfer extends UpdateArrowWorkFlowTransderBase { readonly type: TransferType; readonly interLogisticsId?: string; } export interface UpdateArrowWorkFlowManualTransfer extends UpdateArrowWorkFlowTransderBase { readonly type: TransferType.Manual; }