import { IDIService } from "../../IDIService"; import { Status } from "../../DataFrame"; import { ResponseResult } from "../FieldChangeResult"; export interface IConfigBackupService extends IDIService { IsSupported(): Promise; GetBackupsAsync(): Promise; CreateBackupAsync(): Promise>; RestoreBackupAsync(configurationId: string): Promise>; RestoreLatestBackupAsync(): Promise>; } export interface ControllerBackupConfigurationEntry { ConfigurationId: string; SoftwareVersion?: string; ExecutionDate?: string; BackupFileText?: string; } export interface CreateBackupResponse { ConfigurationId: string; } export declare enum ConfigBackupCreateResult { ResourceIsNotAvailable = -2, BackupCreationFailed = -1, UnknownError = 0, Created = 1 } export declare enum ConfigBackupRestoreResult { ResourceIsNotAvailable = -4, BackupNotFound = -3, WrongBackupData = -2, RestoreFailed = -1, UnknownError = 0, Restored = 1 }