@viamrobotics/sdk 0.3.3 → 0.4.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/app/data-client.d.ts +24 -0
- package/dist/app/viam-client.d.ts +11 -0
- package/dist/app/viam-transport.d.ts +10 -0
- package/dist/gen/app/cloudslam/v1/cloud_slam_pb.d.ts +494 -0
- package/dist/gen/app/cloudslam/v1/cloud_slam_pb_service.d.ts +177 -0
- package/dist/gen/app/data/v1/data_pb.d.ts +1342 -0
- package/dist/gen/app/data/v1/data_pb_service.d.ts +386 -0
- package/dist/gen/app/dataset/v1/dataset_pb.d.ts +246 -0
- package/dist/gen/app/dataset/v1/dataset_pb_service.d.ts +139 -0
- package/dist/gen/app/datasync/v1/data_sync_pb.d.ts +425 -0
- package/dist/gen/app/datasync/v1/data_sync_pb_service.d.ts +85 -0
- package/dist/gen/app/mltraining/v1/ml_training_pb.d.ts +270 -0
- package/dist/gen/app/mltraining/v1/ml_training_pb_service.d.ts +120 -0
- package/dist/gen/app/packages/v1/packages_pb.d.ts +368 -0
- package/dist/gen/app/packages/v1/packages_pb_service.d.ts +112 -0
- package/dist/gen/app/v1/app_pb.d.ts +3801 -0
- package/dist/gen/app/v1/app_pb_service.d.ts +1225 -0
- package/dist/gen/app/v1/billing_pb.d.ts +753 -0
- package/dist/gen/app/v1/billing_pb_service.d.ts +207 -0
- package/dist/gen/app/v1/end_user_pb.d.ts +81 -0
- package/dist/gen/app/v1/end_user_pb_service.d.ts +82 -0
- package/dist/gen/app/v1/robot_pb.d.ts +1245 -0
- package/dist/gen/app/v1/robot_pb_service.d.ts +120 -0
- package/dist/gen/component/board/v1/board_pb.d.ts +50 -0
- package/dist/gen/component/board/v1/board_pb_service.d.ts +19 -0
- package/dist/gen/service/motion/v1/motion_pb.d.ts +442 -0
- package/dist/gen/service/motion/v1/motion_pb_service.d.ts +76 -0
- package/dist/gen/service/navigation/v1/navigation_pb.d.ts +1 -0
- package/dist/main.d.ts +12 -0
- package/dist/main.es.js +35870 -25701
- package/dist/main.umd.js +20 -18
- package/dist/robot/dial.d.ts +9 -0
- package/dist/services/navigation/client.d.ts +1 -1
- package/package.json +1 -1
|
@@ -32,6 +32,15 @@ type MotionServiceMoveOnGlobe = {
|
|
|
32
32
|
readonly responseType: typeof service_motion_v1_motion_pb.MoveOnGlobeResponse;
|
|
33
33
|
};
|
|
34
34
|
|
|
35
|
+
type MotionServiceMoveOnGlobeNew = {
|
|
36
|
+
readonly methodName: string;
|
|
37
|
+
readonly service: typeof MotionService;
|
|
38
|
+
readonly requestStream: false;
|
|
39
|
+
readonly responseStream: false;
|
|
40
|
+
readonly requestType: typeof service_motion_v1_motion_pb.MoveOnGlobeNewRequest;
|
|
41
|
+
readonly responseType: typeof service_motion_v1_motion_pb.MoveOnGlobeNewResponse;
|
|
42
|
+
};
|
|
43
|
+
|
|
35
44
|
type MotionServiceGetPose = {
|
|
36
45
|
readonly methodName: string;
|
|
37
46
|
readonly service: typeof MotionService;
|
|
@@ -41,6 +50,33 @@ type MotionServiceGetPose = {
|
|
|
41
50
|
readonly responseType: typeof service_motion_v1_motion_pb.GetPoseResponse;
|
|
42
51
|
};
|
|
43
52
|
|
|
53
|
+
type MotionServiceStopPlan = {
|
|
54
|
+
readonly methodName: string;
|
|
55
|
+
readonly service: typeof MotionService;
|
|
56
|
+
readonly requestStream: false;
|
|
57
|
+
readonly responseStream: false;
|
|
58
|
+
readonly requestType: typeof service_motion_v1_motion_pb.StopPlanRequest;
|
|
59
|
+
readonly responseType: typeof service_motion_v1_motion_pb.StopPlanResponse;
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
type MotionServiceListPlanStatuses = {
|
|
63
|
+
readonly methodName: string;
|
|
64
|
+
readonly service: typeof MotionService;
|
|
65
|
+
readonly requestStream: false;
|
|
66
|
+
readonly responseStream: false;
|
|
67
|
+
readonly requestType: typeof service_motion_v1_motion_pb.ListPlanStatusesRequest;
|
|
68
|
+
readonly responseType: typeof service_motion_v1_motion_pb.ListPlanStatusesResponse;
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
type MotionServiceGetPlan = {
|
|
72
|
+
readonly methodName: string;
|
|
73
|
+
readonly service: typeof MotionService;
|
|
74
|
+
readonly requestStream: false;
|
|
75
|
+
readonly responseStream: false;
|
|
76
|
+
readonly requestType: typeof service_motion_v1_motion_pb.GetPlanRequest;
|
|
77
|
+
readonly responseType: typeof service_motion_v1_motion_pb.GetPlanResponse;
|
|
78
|
+
};
|
|
79
|
+
|
|
44
80
|
type MotionServiceDoCommand = {
|
|
45
81
|
readonly methodName: string;
|
|
46
82
|
readonly service: typeof MotionService;
|
|
@@ -55,7 +91,11 @@ export class MotionService {
|
|
|
55
91
|
static readonly Move: MotionServiceMove;
|
|
56
92
|
static readonly MoveOnMap: MotionServiceMoveOnMap;
|
|
57
93
|
static readonly MoveOnGlobe: MotionServiceMoveOnGlobe;
|
|
94
|
+
static readonly MoveOnGlobeNew: MotionServiceMoveOnGlobeNew;
|
|
58
95
|
static readonly GetPose: MotionServiceGetPose;
|
|
96
|
+
static readonly StopPlan: MotionServiceStopPlan;
|
|
97
|
+
static readonly ListPlanStatuses: MotionServiceListPlanStatuses;
|
|
98
|
+
static readonly GetPlan: MotionServiceGetPlan;
|
|
59
99
|
static readonly DoCommand: MotionServiceDoCommand;
|
|
60
100
|
}
|
|
61
101
|
|
|
@@ -118,6 +158,15 @@ export class MotionServiceClient {
|
|
|
118
158
|
requestMessage: service_motion_v1_motion_pb.MoveOnGlobeRequest,
|
|
119
159
|
callback: (error: ServiceError|null, responseMessage: service_motion_v1_motion_pb.MoveOnGlobeResponse|null) => void
|
|
120
160
|
): UnaryResponse;
|
|
161
|
+
moveOnGlobeNew(
|
|
162
|
+
requestMessage: service_motion_v1_motion_pb.MoveOnGlobeNewRequest,
|
|
163
|
+
metadata: grpc.Metadata,
|
|
164
|
+
callback: (error: ServiceError|null, responseMessage: service_motion_v1_motion_pb.MoveOnGlobeNewResponse|null) => void
|
|
165
|
+
): UnaryResponse;
|
|
166
|
+
moveOnGlobeNew(
|
|
167
|
+
requestMessage: service_motion_v1_motion_pb.MoveOnGlobeNewRequest,
|
|
168
|
+
callback: (error: ServiceError|null, responseMessage: service_motion_v1_motion_pb.MoveOnGlobeNewResponse|null) => void
|
|
169
|
+
): UnaryResponse;
|
|
121
170
|
getPose(
|
|
122
171
|
requestMessage: service_motion_v1_motion_pb.GetPoseRequest,
|
|
123
172
|
metadata: grpc.Metadata,
|
|
@@ -127,6 +176,33 @@ export class MotionServiceClient {
|
|
|
127
176
|
requestMessage: service_motion_v1_motion_pb.GetPoseRequest,
|
|
128
177
|
callback: (error: ServiceError|null, responseMessage: service_motion_v1_motion_pb.GetPoseResponse|null) => void
|
|
129
178
|
): UnaryResponse;
|
|
179
|
+
stopPlan(
|
|
180
|
+
requestMessage: service_motion_v1_motion_pb.StopPlanRequest,
|
|
181
|
+
metadata: grpc.Metadata,
|
|
182
|
+
callback: (error: ServiceError|null, responseMessage: service_motion_v1_motion_pb.StopPlanResponse|null) => void
|
|
183
|
+
): UnaryResponse;
|
|
184
|
+
stopPlan(
|
|
185
|
+
requestMessage: service_motion_v1_motion_pb.StopPlanRequest,
|
|
186
|
+
callback: (error: ServiceError|null, responseMessage: service_motion_v1_motion_pb.StopPlanResponse|null) => void
|
|
187
|
+
): UnaryResponse;
|
|
188
|
+
listPlanStatuses(
|
|
189
|
+
requestMessage: service_motion_v1_motion_pb.ListPlanStatusesRequest,
|
|
190
|
+
metadata: grpc.Metadata,
|
|
191
|
+
callback: (error: ServiceError|null, responseMessage: service_motion_v1_motion_pb.ListPlanStatusesResponse|null) => void
|
|
192
|
+
): UnaryResponse;
|
|
193
|
+
listPlanStatuses(
|
|
194
|
+
requestMessage: service_motion_v1_motion_pb.ListPlanStatusesRequest,
|
|
195
|
+
callback: (error: ServiceError|null, responseMessage: service_motion_v1_motion_pb.ListPlanStatusesResponse|null) => void
|
|
196
|
+
): UnaryResponse;
|
|
197
|
+
getPlan(
|
|
198
|
+
requestMessage: service_motion_v1_motion_pb.GetPlanRequest,
|
|
199
|
+
metadata: grpc.Metadata,
|
|
200
|
+
callback: (error: ServiceError|null, responseMessage: service_motion_v1_motion_pb.GetPlanResponse|null) => void
|
|
201
|
+
): UnaryResponse;
|
|
202
|
+
getPlan(
|
|
203
|
+
requestMessage: service_motion_v1_motion_pb.GetPlanRequest,
|
|
204
|
+
callback: (error: ServiceError|null, responseMessage: service_motion_v1_motion_pb.GetPlanResponse|null) => void
|
|
205
|
+
): UnaryResponse;
|
|
130
206
|
doCommand(
|
|
131
207
|
requestMessage: common_v1_common_pb.DoCommandRequest,
|
|
132
208
|
metadata: grpc.Metadata,
|
package/dist/main.d.ts
CHANGED
|
@@ -15,6 +15,18 @@ export { type Robot, type DialConf, type DialDirectConf, type DialWebRTCConf, ty
|
|
|
15
15
|
* @group Clients
|
|
16
16
|
*/
|
|
17
17
|
export { RobotClient as Client } from './robot';
|
|
18
|
+
export { ViamClient } from './app/viam-client';
|
|
19
|
+
/**
|
|
20
|
+
* Raw Protobuf interfaces for a Data service.
|
|
21
|
+
*
|
|
22
|
+
* Generated with https://github.com/improbable-eng/grpc-web
|
|
23
|
+
*
|
|
24
|
+
* @deprecated Use {@link DataClient} instead.
|
|
25
|
+
* @alpha
|
|
26
|
+
* @group Raw Protobufs
|
|
27
|
+
*/
|
|
28
|
+
export { default as dataApi } from './gen/app/data/v1/data_pb';
|
|
29
|
+
export { type BinaryID, type DataClient, type FilterOptions, } from './app/data-client';
|
|
18
30
|
/**
|
|
19
31
|
* Raw Protobuf interfaces for an Arm component.
|
|
20
32
|
*
|