import { IApiSuccess } from '../../../../../_common';

export type { IPIMProduct } from '../Products';
export interface IPIMRemovedProducts extends Omit<IApiSuccess, "error"> {
    /** how many products were soft deleted (and could be restored again) */
    softDeleted: number;
    /** how many products were hard deleted and can no longer be restored */
    hardDeleted: number;
    /** how many products could not be deleted because of an error */
    error: number;
}
export interface IPIMRestoredProducts extends Omit<IApiSuccess, "error"> {
    /** count of successfully restored products */
    restored: number;
    /** how many products could not be deleted because of an error */
    error: number;
}
export interface IPIMArchivedProducts extends Omit<IApiSuccess, "error"> {
    /** how many products were archived */
    archived: number;
    /** how many products could not be deleted because of an error */
    error: number;
}
