@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.
@@ -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 {};
@@ -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 {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viamrobotics/sdk",
3
- "version": "0.34.0",
3
+ "version": "0.35.0",
4
4
  "description": "",
5
5
  "main": "./dist/main.umd.js",
6
6
  "module": "./dist/main.es.js",