spot-sdk-ts
Version:
TypeScript bindings based on protobufs (proto3) provided by Boston Dynamics
26 lines • 1.81 kB
TypeScript
import { RegisterPayloadResponse, UpdatePayloadVersionResponse, GetPayloadAuthTokenResponse, UpdatePayloadAttachedResponse, RegisterPayloadRequest, UpdatePayloadVersionRequest, GetPayloadAuthTokenRequest, UpdatePayloadAttachedRequest } from "./payload_registration";
export declare const protobufPackage = "bosdyn.api";
/** This service provides a way to register new payloads. */
export interface PayloadRegistrationService {
/** Register a payload with the directory. */
RegisterPayload(request: RegisterPayloadRequest): Promise<RegisterPayloadResponse>;
/** Update the version for the registered payload. */
UpdatePayloadVersion(request: UpdatePayloadVersionRequest): Promise<UpdatePayloadVersionResponse>;
/** Get the authentication token information associated with a given payload. */
GetPayloadAuthToken(request: GetPayloadAuthTokenRequest): Promise<GetPayloadAuthTokenResponse>;
/** Tell the robot whether the specified payload is attached.. */
UpdatePayloadAttached(request: UpdatePayloadAttachedRequest): Promise<UpdatePayloadAttachedResponse>;
}
export declare class PayloadRegistrationServiceClientImpl implements PayloadRegistrationService {
private readonly rpc;
constructor(rpc: Rpc);
RegisterPayload(request: RegisterPayloadRequest): Promise<RegisterPayloadResponse>;
UpdatePayloadVersion(request: UpdatePayloadVersionRequest): Promise<UpdatePayloadVersionResponse>;
GetPayloadAuthToken(request: GetPayloadAuthTokenRequest): Promise<GetPayloadAuthTokenResponse>;
UpdatePayloadAttached(request: UpdatePayloadAttachedRequest): Promise<UpdatePayloadAttachedResponse>;
}
interface Rpc {
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
}
export {};
//# sourceMappingURL=payload_registration_service.d.ts.map