import { RealCollection } from "../vertices/util/vertex.js"; import { IntegrationTypes } from "./etc.js"; import { Company } from "./companies.js"; import { Domain } from "./domain.js"; import { User } from "./users.js"; //#region src/core/interfaces/other/operations.d.ts type Status = 'COMPLETED' | 'FAILED' | 'STARTED' | 'PENDING' | 'CANCELED' | 'RESOLVED' | 'IN_PROGRESS'; declare const operationType: readonly ["IMPORT", "EXPORT", "UPDATE", "MIGRATION", "MUTATE", "RESTORE_BACKUP", "SYNC", "SYSTEM_MAINTENANCE"]; type OperationType = typeof operationType[number]; interface Operation { organization?: Company.complete; id?: string; domain?: Domain; createdBy?: User; integrationType?: IntegrationTypes; status?: Status; type?: OperationType; error?: { message: string; stack: string; code: number; data: unknown; }; updatedAt?: Date; createdAt?: Date; expiresAt?: string; deltaStats?: { coll: RealCollection; count: number; }[]; } //#endregion export { Operation, OperationType, operationType }; //# sourceMappingURL=operations.d.ts.map