import { SetScreenResponse, GetScreenResponse, ListScreensResponse, GetVisibleCamerasResponse, SetIrColormapResponse, GetIrColormapResponse, SetIrMeterOverlayResponse, SetScreenRequest, GetScreenRequest, ListScreensRequest, GetVisibleCamerasRequest, SetIrColormapRequest, GetIrColormapRequest, SetIrMeterOverlayRequest } from "./compositor"; import { SetStreamParamsResponse, GetStreamParamsResponse, EnableCongestionControlResponse, SetStreamParamsRequest, GetStreamParamsRequest, EnableCongestionControlRequest } from "./streamquality"; import { SetPowerStatusResponse, GetPowerStatusResponse, CyclePowerResponse, SetPowerStatusRequest, GetPowerStatusRequest, CyclePowerRequest } from "./power"; import { SetLEDBrightnessResponse, GetLEDBrightnessResponse, SetLEDBrightnessRequest, GetLEDBrightnessRequest } from "./LED"; import { StoreResponse, GetStatusResponse, TagResponse, DebugResponse, ListCamerasResponse, RetrieveRawDataResponse, RetrieveResponse, DeleteResponse, ListLogpointsResponse, SetPassphraseResponse, StoreRequest, GetStatusRequest, TagRequest, DebugRequest, ListCamerasRequest, RetrieveRawDataRequest, RetrieveRequest, DeleteRequest, ListLogpointsRequest, SetPassphraseRequest } from "./logging"; import { Observable } from "rxjs"; import { SetPtzPositionResponse, GetPtzPositionResponse, SetPtzVelocityResponse, GetPtzVelocityResponse, ListPtzResponse, InitializeLensResponse, SetPtzPositionRequest, GetPtzPositionRequest, SetPtzVelocityRequest, GetPtzVelocityRequest, ListPtzRequest, InitializeLensRequest } from "./ptz"; import { PlaySoundResponse, LoadSoundResponse, DeleteSoundResponse, ListSoundsResponse, SetVolumeResponse, GetVolumeResponse, SetAudioCaptureChannelResponse, GetAudioCaptureChannelResponse, SetAudioCaptureGainResponse, GetAudioCaptureGainResponse, PlaySoundRequest, DeleteSoundRequest, ListSoundsRequest, SetVolumeRequest, GetVolumeRequest, SetAudioCaptureChannelRequest, GetAudioCaptureChannelRequest, SetAudioCaptureGainRequest, GetAudioCaptureGainRequest, LoadSoundRequest } from "./audio"; import { GetTemperatureResponse, GetBITStatusResponse, ClearBITEventsResponse, GetSystemLogResponse, GetTemperatureRequest, GetBITStatusRequest, ClearBITEventsRequest, GetSystemLogRequest } from "./health"; import { SetICEConfigurationResponse, GetICEConfigurationResponse, SetICEConfigurationRequest, GetICEConfigurationRequest } from "./network"; import { GetSoftwareVersionResponse, GetSoftwareVersionRequest } from "./version"; export declare const protobufPackage = "bosdyn.api.spot_cam"; /** Change the layout of of the video stream between available presets. */ export interface CompositorService { /** SetScreen changes the current view that is streamed over the network */ SetScreen(request: SetScreenRequest): Promise; /** GetScreen returns the currently-selected screen */ GetScreen(request: GetScreenRequest): Promise; /** ListScreens returns a list of available screens */ ListScreens(request: ListScreensRequest): Promise; /** GetVisibleCameras returns a list of currently visible windows, with any available metadata */ GetVisibleCameras(request: GetVisibleCamerasRequest): Promise; /** set the mapping between radiometric IR samples to color, for video */ SetIrColormap(request: SetIrColormapRequest): Promise; /** get the mapping between radiometric IR samples to color, for video */ GetIrColormap(request: GetIrColormapRequest): Promise; /** apply settings for the 'ir meter overlay' */ SetIrMeterOverlay(request: SetIrMeterOverlayRequest): Promise; } export declare class CompositorServiceClientImpl implements CompositorService { private readonly rpc; constructor(rpc: Rpc); SetScreen(request: SetScreenRequest): Promise; GetScreen(request: GetScreenRequest): Promise; ListScreens(request: ListScreensRequest): Promise; GetVisibleCameras(request: GetVisibleCamerasRequest): Promise; SetIrColormap(request: SetIrColormapRequest): Promise; GetIrColormap(request: GetIrColormapRequest): Promise; SetIrMeterOverlay(request: SetIrMeterOverlayRequest): Promise; } /** Set quality parameters for the stream, such as compression and image postprocessing settings. */ export interface StreamQualityService { SetStreamParams(request: SetStreamParamsRequest): Promise; GetStreamParams(request: GetStreamParamsRequest): Promise; EnableCongestionControl(request: EnableCongestionControlRequest): Promise; } export declare class StreamQualityServiceClientImpl implements StreamQualityService { private readonly rpc; constructor(rpc: Rpc); SetStreamParams(request: SetStreamParamsRequest): Promise; GetStreamParams(request: GetStreamParamsRequest): Promise; EnableCongestionControl(request: EnableCongestionControlRequest): Promise; } /** Turn hardware components' power on or off. */ export interface PowerService { /** * Turn components' power on or off. This should not be used to power cycle a component * Turning PTZ power off for too long will cause the video stream to fail */ SetPowerStatus(request: SetPowerStatusRequest): Promise; /** Get current status of a component */ GetPowerStatus(request: GetPowerStatusRequest): Promise; /** Cycle power for a component */ CyclePower(request: CyclePowerRequest): Promise; } export declare class PowerServiceClientImpl implements PowerService { private readonly rpc; constructor(rpc: Rpc); SetPowerStatus(request: SetPowerStatusRequest): Promise; GetPowerStatus(request: GetPowerStatusRequest): Promise; CyclePower(request: CyclePowerRequest): Promise; } /** Change the brightness level of individual LEDs. */ export interface LightingService { SetLEDBrightness(request: SetLEDBrightnessRequest): Promise; GetLEDBrightness(request: GetLEDBrightnessRequest): Promise; } export declare class LightingServiceClientImpl implements LightingService { private readonly rpc; constructor(rpc: Rpc); SetLEDBrightness(request: SetLEDBrightnessRequest): Promise; GetLEDBrightness(request: GetLEDBrightnessRequest): Promise; } /** Trigger data acquisitions, and retrieve resulting data. */ export interface MediaLogService { /** * Store queues up a Logpoint, which is a bit of media that the user wishes to store to disk * (still images are supported for now, more media types will be supported in the future) */ Store(request: StoreRequest): Promise; /** * GetStatus reads the 'name' field of the Logpoint contained in GetStatusRequest, and fills in * the rest of the fields. Mainly useful for getting the 'state' of the logpoint. */ GetStatus(request: GetStatusRequest): Promise; /** Tag updates the 'tag' field of the Logpoint that's passed, which must exist. */ Tag(request: TagRequest): Promise; /** EnableDebug starts the periodic logging of health data to the database; this increases disk utilization, but will record data that is useful post-mortum */ EnableDebug(request: DebugRequest): Promise; /** ListCameras returns a list of strings that identify valid cameras for logging */ ListCameras(request: ListCamerasRequest): Promise; /** Retrieve returns all raw data associated with a given logpoint */ RetrieveRawData(request: RetrieveRawDataRequest): Observable; /** Retrieve returns all data associated with a given logpoint */ Retrieve(request: RetrieveRequest): Observable; /** Delete removes a Logpoint from the system */ Delete(request: DeleteRequest): Promise; /** * ListLogpoints returns a list of all logpoints in the database. * Warning: this may be a lot of data. */ ListLogpoints(request: ListLogpointsRequest): Observable; /** * SetPassphrase sets the eCryptFS passphrase used by the filesystem. * there is no symmetry here, because key material is write-only * This rpc is now deprecated as of the switch from EXT4 to NTFS and returns UnimplementedError */ SetPassphrase(request: SetPassphraseRequest): Promise; } export declare class MediaLogServiceClientImpl implements MediaLogService { private readonly rpc; constructor(rpc: Rpc); Store(request: StoreRequest): Promise; GetStatus(request: GetStatusRequest): Promise; Tag(request: TagRequest): Promise; EnableDebug(request: DebugRequest): Promise; ListCameras(request: ListCamerasRequest): Promise; RetrieveRawData(request: RetrieveRawDataRequest): Observable; Retrieve(request: RetrieveRequest): Observable; Delete(request: DeleteRequest): Promise; ListLogpoints(request: ListLogpointsRequest): Observable; SetPassphrase(request: SetPassphraseRequest): Promise; } /** Control real and virtual ptz mechanisms. */ export interface PtzService { /** SetPosition points the referenced camera to a given vector (in PTZ-space) */ SetPtzPosition(request: SetPtzPositionRequest): Promise; /** GetPosition returns the current settings of the referenced camera */ GetPtzPosition(request: GetPtzPositionRequest): Promise; SetPtzVelocity(request: SetPtzVelocityRequest): Promise; GetPtzVelocity(request: GetPtzVelocityRequest): Promise; ListPtz(request: ListPtzRequest): Promise; /** Reinitializes PTZ autofocus */ InitializeLens(request: InitializeLensRequest): Promise; } export declare class PtzServiceClientImpl implements PtzService { private readonly rpc; constructor(rpc: Rpc); SetPtzPosition(request: SetPtzPositionRequest): Promise; GetPtzPosition(request: GetPtzPositionRequest): Promise; SetPtzVelocity(request: SetPtzVelocityRequest): Promise; GetPtzVelocity(request: GetPtzVelocityRequest): Promise; ListPtz(request: ListPtzRequest): Promise; InitializeLens(request: InitializeLensRequest): Promise; } /** Upload and play sounds over the SpotCam's speakers. */ export interface AudioService { /** Given a soundRequest that identifies a single sound present in the system's sound effects table, PlaySound executes the sound effect. */ PlaySound(request: PlaySoundRequest): Promise; /** * LoadSound loads a sound effect into the system's sound table. The stream must contain a wav file, with a RIFF header describing it. * The arguement is a stream, to allow for sounds that are bigger then the MTU of the network; in this case, the complete stream must * contain the entire sound. If the stream ends early, an error will be returned. The header and sound fields of the entire stream must * be the same. */ LoadSound(request: Observable): Promise; /** Delete the sound identified in the argument from the system's sound table. */ DeleteSound(request: DeleteSoundRequest): Promise; /** ListSounds returns a list of all of the sound effects that the system knows about. */ ListSounds(request: ListSoundsRequest): Promise; /** Set the overall volume level for playing sounds. */ SetVolume(request: SetVolumeRequest): Promise; /** Set the overall volume level for playing sounds. */ GetVolume(request: GetVolumeRequest): Promise; SetAudioCaptureChannel(request: SetAudioCaptureChannelRequest): Promise; GetAudioCaptureChannel(request: GetAudioCaptureChannelRequest): Promise; SetAudioCaptureGain(request: SetAudioCaptureGainRequest): Promise; GetAudioCaptureGain(request: GetAudioCaptureGainRequest): Promise; } export declare class AudioServiceClientImpl implements AudioService { private readonly rpc; constructor(rpc: Rpc); PlaySound(request: PlaySoundRequest): Promise; LoadSound(request: Observable): Promise; DeleteSound(request: DeleteSoundRequest): Promise; ListSounds(request: ListSoundsRequest): Promise; SetVolume(request: SetVolumeRequest): Promise; GetVolume(request: GetVolumeRequest): Promise; SetAudioCaptureChannel(request: SetAudioCaptureChannelRequest): Promise; GetAudioCaptureChannel(request: GetAudioCaptureChannelRequest): Promise; SetAudioCaptureGain(request: SetAudioCaptureGainRequest): Promise; GetAudioCaptureGain(request: GetAudioCaptureGainRequest): Promise; } /** Query temperature and built-in test results. */ export interface HealthService { /** GetTemperature returns a list of thermometers in the system, and the temperature that they measure. */ GetTemperature(request: GetTemperatureRequest): Promise; /** * GetBitStatus returns two lists; a list of system events, and a list of ways that the system is degraded; * for instance, a degredation may include a missing PTZ unit, or a missing USB storage device. */ GetBITStatus(request: GetBITStatusRequest): Promise; /** ClearBitEvents clears out the events list of the BITStatus structure. */ ClearBITEvents(request: ClearBITEventsRequest): Promise; /** * GetSystemLog retrieves an encrypted log of system events, for factory diagnosis of possible issues. * The data streamed back should be concatenated to a single file, before sending to the manufacturer. */ GetSystemLog(request: GetSystemLogRequest): Observable; } export declare class HealthServiceClientImpl implements HealthService { private readonly rpc; constructor(rpc: Rpc); GetTemperature(request: GetTemperatureRequest): Promise; GetBITStatus(request: GetBITStatusRequest): Promise; ClearBITEvents(request: ClearBITEventsRequest): Promise; GetSystemLog(request: GetSystemLogRequest): Observable; } /** Modify or query network settings of the SpotCam and ICE resolution servers. */ export interface NetworkService { /** SetICEConfiguration sets up parameters for ICE, including addresses for STUN and TURN services */ SetICEConfiguration(request: SetICEConfigurationRequest): Promise; /** GetICEConfiguration retrieves currently set parameters for ICE, including addresses for STUN and TURN services */ GetICEConfiguration(request: GetICEConfigurationRequest): Promise; } export declare class NetworkServiceClientImpl implements NetworkService { private readonly rpc; constructor(rpc: Rpc); SetICEConfiguration(request: SetICEConfigurationRequest): Promise; GetICEConfiguration(request: GetICEConfigurationRequest): Promise; } /** Query the version of the software release running on the SpotCam. */ export interface VersionService { GetSoftwareVersion(request: GetSoftwareVersionRequest): Promise; } export declare class VersionServiceClientImpl implements VersionService { private readonly rpc; constructor(rpc: Rpc); GetSoftwareVersion(request: GetSoftwareVersionRequest): Promise; } interface Rpc { request(service: string, method: string, data: Uint8Array): Promise; clientStreamingRequest(service: string, method: string, data: Observable): Promise; serverStreamingRequest(service: string, method: string, data: Uint8Array): Observable; bidirectionalStreamingRequest(service: string, method: string, data: Observable): Observable; } export {}; //# sourceMappingURL=service.d.ts.map