import { Observable } from 'rxjs';
import { Connector, DeadLetterEntry } from '../models/connector.model';

export interface ConnectorGateway {
  loadConnectors(): Observable<Connector[]>;
  loadDeadLetter(connectorId: string): Observable<DeadLetterEntry[]>;
  replay(connectorId: string, deadLetterId: string): Observable<void>;
  pause(connectorId: string): Observable<void>;
  resume(connectorId: string): Observable<void>;
}
