spot-sdk-ts
Version:
TypeScript bindings based on protobufs (proto3) provided by Boston Dynamics
26 lines • 1.26 kB
TypeScript
import { GetLicenseInfoResponse, GetFeatureEnabledResponse, GetLicenseInfoRequest, GetFeatureEnabledRequest } from "./license";
export declare const protobufPackage = "bosdyn.api";
/** The LicenseService allows clients to query the currently installed license on robot. */
export interface LicenseService {
/**
* Get information, such as the license number, dates of validity, and features for the license
* currently uploaded on the robot.
*/
GetLicenseInfo(request: GetLicenseInfoRequest): Promise<GetLicenseInfoResponse>;
/**
* Check if specific features (identified by string names) are enabled under the currently loaded
* license for this robot.
*/
GetFeatureEnabled(request: GetFeatureEnabledRequest): Promise<GetFeatureEnabledResponse>;
}
export declare class LicenseServiceClientImpl implements LicenseService {
private readonly rpc;
constructor(rpc: Rpc);
GetLicenseInfo(request: GetLicenseInfoRequest): Promise<GetLicenseInfoResponse>;
GetFeatureEnabled(request: GetFeatureEnabledRequest): Promise<GetFeatureEnabledResponse>;
}
interface Rpc {
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
}
export {};
//# sourceMappingURL=license_service.d.ts.map