import { WorkflowRouteAction } from '../WorkflowRouteAction'; import { WorkflowRouteActionResult } from '../WorkflowRouteActionResult'; import { WorkflowExecuteContext } from '../WorkflowExecuteContext'; interface RelationInputDefinition { relation: string; mode?: 'insert' | 'upsert' | 'replace'; dataPath: string; whereMergeKeys?: string[]; } export declare class EntityUpsertWithRelationsAction extends WorkflowRouteAction { private entityManagerName; private entityName; private primaryDataPath; private relationInputs; private where?; private dbSource?; constructor(entityManagerName: string, entityName: string, primaryDataPath: string, // jsonpath root for main entity data relationInputs: RelationInputDefinition[], where?: any, // if provided => update, else insert dbSource?: string); execute(context: WorkflowExecuteContext): Promise; private handleOneToMany; } export {}; //# sourceMappingURL=EntityUpsertWithRelationsAction.d.ts.map