@viamrobotics/sdk 0.33.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;
@@ -1045,6 +1056,8 @@ export declare class RobotClient extends EventDispatcher implements Robot {
1045
1056
  getCloudMetadata(): Promise<import("../gen/robot/v1/robot_pb").GetCloudMetadataResponse>;
1046
1057
  resourceNames(): Promise<import("../gen/common/v1/common_pb").ResourceName[]>;
1047
1058
  resourceRPCSubtypes(): Promise<import("../gen/robot/v1/robot_pb").ResourceRPCSubtype[]>;
1059
+ getMachineStatus(): Promise<import("../gen/robot/v1/robot_pb").GetMachineStatusResponse>;
1060
+ getVersion(): Promise<import("../gen/robot/v1/robot_pb").GetVersionResponse>;
1048
1061
  restartModule(moduleId?: string, moduleName?: string): Promise<void>;
1049
1062
  }
1050
1063
  export {};
@@ -126,6 +126,12 @@ export interface Robot {
126
126
  * @alpha
127
127
  */
128
128
  getCloudMetadata(): Promise<CloudMetadata>;
129
+ /**
130
+ * Get the current status of the robot.
131
+ *
132
+ * @alpha
133
+ */
134
+ getMachineStatus(): Promise<proto.GetMachineStatusResponse>;
129
135
  /**
130
136
  * Restarts a module running on the machine with the given id or name.
131
137
  *
@@ -137,5 +143,12 @@ export interface Robot {
137
143
  * @alpha
138
144
  */
139
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>;
140
153
  }
141
154
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viamrobotics/sdk",
3
- "version": "0.33.0",
3
+ "version": "0.35.0",
4
4
  "description": "",
5
5
  "main": "./dist/main.umd.js",
6
6
  "module": "./dist/main.es.js",