@viamrobotics/sdk 0.34.0 → 0.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api-version.d.ts +1 -1
- package/dist/gen/app/data/v1/data_pb.d.ts +5 -0
- package/dist/gen/robot/v1/robot_connect.d.ts +12 -1
- package/dist/gen/robot/v1/robot_pb.d.ts +82 -0
- package/dist/gen/service/discovery/v1/discovery_connect.d.ts +40 -0
- package/dist/gen/service/discovery/v1/discovery_pb.d.ts +68 -0
- package/dist/main.es.js +2103 -2044
- package/dist/main.umd.js +7 -7
- package/dist/robot/client.d.ts +12 -0
- package/dist/robot/robot.d.ts +7 -0
- package/package.json +1 -1
package/dist/robot/client.d.ts
CHANGED
|
@@ -96,6 +96,11 @@ export declare class RobotClient extends EventDispatcher implements Robot {
|
|
|
96
96
|
readonly O: typeof import("../gen/robot/v1/robot_pb").ResourceRPCSubtypesResponse;
|
|
97
97
|
readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
|
|
98
98
|
};
|
|
99
|
+
/**
|
|
100
|
+
* A gRPC-web client for a Robot.
|
|
101
|
+
*
|
|
102
|
+
* @group Clients
|
|
103
|
+
*/
|
|
99
104
|
readonly cancelOperation: {
|
|
100
105
|
readonly name: "CancelOperation";
|
|
101
106
|
readonly I: typeof import("../gen/robot/v1/robot_pb").CancelOperationRequest;
|
|
@@ -108,6 +113,12 @@ export declare class RobotClient extends EventDispatcher implements Robot {
|
|
|
108
113
|
readonly O: typeof import("../gen/robot/v1/robot_pb").BlockForOperationResponse;
|
|
109
114
|
readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
|
|
110
115
|
};
|
|
116
|
+
readonly getModelsFromModules: {
|
|
117
|
+
readonly name: "GetModelsFromModules";
|
|
118
|
+
readonly I: typeof import("../gen/robot/v1/robot_pb").GetModelsFromModulesRequest;
|
|
119
|
+
readonly O: typeof import("../gen/robot/v1/robot_pb").GetModelsFromModulesResponse;
|
|
120
|
+
readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
|
|
121
|
+
};
|
|
111
122
|
readonly discoverComponents: {
|
|
112
123
|
readonly name: "DiscoverComponents";
|
|
113
124
|
readonly I: typeof import("../gen/robot/v1/robot_pb").DiscoverComponentsRequest;
|
|
@@ -1046,6 +1057,7 @@ export declare class RobotClient extends EventDispatcher implements Robot {
|
|
|
1046
1057
|
resourceNames(): Promise<import("../gen/common/v1/common_pb").ResourceName[]>;
|
|
1047
1058
|
resourceRPCSubtypes(): Promise<import("../gen/robot/v1/robot_pb").ResourceRPCSubtype[]>;
|
|
1048
1059
|
getMachineStatus(): Promise<import("../gen/robot/v1/robot_pb").GetMachineStatusResponse>;
|
|
1060
|
+
getVersion(): Promise<import("../gen/robot/v1/robot_pb").GetVersionResponse>;
|
|
1049
1061
|
restartModule(moduleId?: string, moduleName?: string): Promise<void>;
|
|
1050
1062
|
}
|
|
1051
1063
|
export {};
|
package/dist/robot/robot.d.ts
CHANGED
|
@@ -143,5 +143,12 @@ export interface Robot {
|
|
|
143
143
|
* @alpha
|
|
144
144
|
*/
|
|
145
145
|
restartModule(moduleId?: string, moduleName?: string): Promise<void>;
|
|
146
|
+
/**
|
|
147
|
+
* Get version information about the robot, such as platform, version, and api
|
|
148
|
+
* version.
|
|
149
|
+
*
|
|
150
|
+
* @alpha
|
|
151
|
+
*/
|
|
152
|
+
getVersion(): Promise<proto.GetVersionResponse>;
|
|
146
153
|
}
|
|
147
154
|
export {};
|