UNPKG

@commercetools/sync-actions

Version:

Build API update actions for the commercetools platform.

14 lines (13 loc) 548 B
import { Delta, InventoryEntry, SyncActionConfig, UpdateAction } from '../utils/types'; export declare const baseActionsList: Array<UpdateAction>; export declare const referenceActionsList: Array<UpdateAction>; /** * SYNC FUNCTIONS */ export declare function actionsMapBase(diff: Delta, oldObj: InventoryEntry, newObj: InventoryEntry, config?: SyncActionConfig): { [x: string]: any; action: string; }[]; export declare function actionsMapReferences(diff: Delta, oldObj: InventoryEntry, newObj: InventoryEntry): { action: string; }[];