@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.
- package/dist/api-version.d.ts +1 -1
- package/dist/app/data-client.d.ts +35 -4
- package/dist/gen/app/data/v1/data_pb.d.ts +5 -0
- package/dist/gen/app/mlinference/v1/ml_inference_pb.d.ts +12 -1
- package/dist/gen/app/v1/app_connect.d.ts +12 -1
- package/dist/gen/app/v1/app_pb.d.ts +234 -8
- package/dist/gen/app/v1/billing_pb.d.ts +68 -4
- package/dist/gen/google/rpc/context/attribute_context_pb.d.ts +2 -1
- package/dist/gen/google/rpc/error_details_pb.d.ts +24 -3
- 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 +4062 -3869
- package/dist/main.umd.js +7 -7
- package/dist/robot/client.d.ts +13 -0
- package/dist/robot/robot.d.ts +13 -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;
|
|
@@ -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 {};
|
package/dist/robot/robot.d.ts
CHANGED
|
@@ -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 {};
|