@viamrobotics/sdk 0.35.0 → 0.35.2-b.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/components/button/button.d.ts +7 -0
- package/dist/components/button/client.d.ts +19 -0
- package/dist/components/button.d.ts +2 -0
- package/dist/components/switch/client.d.ts +21 -0
- package/dist/components/switch/switch.d.ts +11 -0
- package/dist/components/switch.d.ts +2 -0
- package/dist/gen/app/v1/app_pb.d.ts +10 -0
- package/dist/gen/app/v1/billing_pb.d.ts +2 -2
- package/dist/gen/app/v1/end_user_connect.d.ts +3 -0
- package/dist/gen/app/v1/end_user_pb.d.ts +6 -0
- package/dist/gen/component/button/v1/button_connect.d.ts +42 -0
- package/dist/gen/component/button/v1/button_pb.d.ts +56 -0
- package/dist/gen/component/switch/v1/switch_connect.d.ts +66 -0
- package/dist/gen/component/switch/v1/switch_pb.d.ts +167 -0
- package/dist/gen/robot/v1/robot_connect.d.ts +14 -1
- package/dist/gen/robot/v1/robot_pb.d.ts +59 -2
- package/dist/main.d.ts +66 -57
- package/dist/main.es.js +9253 -7911
- package/dist/main.umd.js +7 -7
- package/dist/robot/client.d.ts +28 -12
- package/dist/robot/robot.d.ts +10 -7
- package/dist/services/discovery/client.d.ts +19 -0
- package/dist/services/discovery/client.spec.d.ts +1 -0
- package/dist/services/discovery/discovery.d.ts +13 -0
- package/dist/services/discovery.d.ts +2 -0
- package/package.json +1 -1
package/dist/main.d.ts
CHANGED
|
@@ -1,186 +1,187 @@
|
|
|
1
1
|
export declare const version: string;
|
|
2
|
+
export { RobotClient, RobotClient as Client, createRobotClient, type CloudMetadata, type DialConf, type DialDirectConf, type DialWebRTCConf, type Robot, } from './robot';
|
|
2
3
|
/**
|
|
3
4
|
* Raw Protobuf interfaces for a Robot component.
|
|
4
5
|
*
|
|
5
6
|
* Generated with https://github.com/connectrpc/connect-es
|
|
6
7
|
*
|
|
7
8
|
* @deprecated Use {@link RobotClient} instead.
|
|
8
|
-
* @alpha
|
|
9
9
|
* @group Raw Protobufs
|
|
10
10
|
*/
|
|
11
11
|
export * as robotApi from './gen/robot/v1/robot_pb';
|
|
12
|
-
export { RobotClient, createRobotClient, type CloudMetadata, type DialConf, type DialDirectConf, type DialWebRTCConf, type Robot, } from './robot';
|
|
13
|
-
/**
|
|
14
|
-
* @deprecated Use {@link RobotClient} instead.
|
|
15
|
-
* @group Clients
|
|
16
|
-
*/
|
|
17
|
-
export { RobotClient as Client } from './robot';
|
|
18
12
|
export { createViamClient, type ViamClient, type ViamClientOptions, } from './app/viam-client';
|
|
19
13
|
export { type AccessToken, type Credential, type CredentialType, type Credentials, } from './app/viam-transport';
|
|
14
|
+
export { type BinaryID, type DataClient, type FilterOptions, } from './app/data-client';
|
|
20
15
|
/**
|
|
21
16
|
* Raw Protobuf interfaces for Data.
|
|
22
17
|
*
|
|
23
18
|
* Generated with https://github.com/connectrpc/connect-es
|
|
24
19
|
*
|
|
25
20
|
* @deprecated Use {@link DataClient} instead.
|
|
26
|
-
* @alpha
|
|
27
21
|
* @group Raw Protobufs
|
|
28
22
|
*/
|
|
29
|
-
export { type BinaryID, type DataClient, type FilterOptions, } from './app/data-client';
|
|
30
23
|
export * as dataApi from './gen/app/data/v1/data_pb';
|
|
24
|
+
export { type AppClient } from './app/app-client';
|
|
31
25
|
/**
|
|
32
26
|
* Raw Protobuf interfaces for an App service.
|
|
33
27
|
*
|
|
34
28
|
* Generated with https://github.com/connectrpc/connect-es
|
|
35
29
|
*
|
|
36
30
|
* @deprecated Use {@link AppClient} instead.
|
|
37
|
-
* @alpha
|
|
38
31
|
* @group Raw Protobufs
|
|
39
32
|
*/
|
|
40
|
-
export { type AppClient } from './app/app-client';
|
|
41
33
|
export * as appApi from './gen/app/v1/app_pb';
|
|
34
|
+
export * as appRobotApi from './gen/app/v1/robot_pb';
|
|
35
|
+
export { ModelType, TrainingStatus, type MlTrainingClient, } from './app/ml-training-client';
|
|
42
36
|
/**
|
|
43
37
|
* Raw Protobuf interfaces for ML Training.
|
|
44
38
|
*
|
|
45
39
|
* Generated with https://github.com/connectrpc/connect-es
|
|
46
40
|
*
|
|
47
41
|
* @deprecated Use {@link MlTrainingClient} instead.
|
|
48
|
-
* @alpha
|
|
49
42
|
* @group Raw Protobufs
|
|
50
43
|
*/
|
|
51
|
-
export { ModelType, TrainingStatus, type MlTrainingClient, } from './app/ml-training-client';
|
|
52
44
|
export * as mlTrainingApi from './gen/app/mltraining/v1/ml_training_pb';
|
|
45
|
+
export { CloudConfig, type ProvisioningClient, } from './app/provisioning-client';
|
|
53
46
|
/**
|
|
54
47
|
* Raw Protobuf interfaces for Provisioning.
|
|
55
48
|
*
|
|
56
49
|
* Generated with https://github.com/connectrpc/connect-es
|
|
57
50
|
*
|
|
58
51
|
* @deprecated Use {@link ProvisioningClient} instead.
|
|
59
|
-
* @alpha
|
|
60
52
|
* @group Raw Protobufs
|
|
61
53
|
*/
|
|
62
|
-
export { CloudConfig, type ProvisioningClient, } from './app/provisioning-client';
|
|
63
54
|
export * as provisioningApi from './gen/provisioning/v1/provisioning_pb';
|
|
55
|
+
export { type BillingClient } from './app/billing-client';
|
|
64
56
|
/**
|
|
65
57
|
* Raw Protobuf interfaces for Billing.
|
|
66
58
|
*
|
|
67
59
|
* Generated with https://github.com/connectrpc/connect-es
|
|
68
60
|
*
|
|
69
61
|
* @deprecated Use {@link BillingClient} instead.
|
|
70
|
-
* @alpha
|
|
71
62
|
* @group Raw Protobufs
|
|
72
63
|
*/
|
|
73
|
-
export { type BillingClient } from './app/billing-client';
|
|
74
64
|
export * as billingApi from './gen/app/v1/billing_pb';
|
|
65
|
+
export { ArmClient, ArmJointPositions, type Arm } from './components/arm';
|
|
75
66
|
/**
|
|
76
67
|
* Raw Protobuf interfaces for an Arm component.
|
|
77
68
|
*
|
|
78
69
|
* Generated with https://github.com/connectrpc/connect-es
|
|
79
70
|
*
|
|
80
71
|
* @deprecated Use {@link ArmClient} instead.
|
|
81
|
-
* @alpha
|
|
82
72
|
* @group Raw Protobufs
|
|
83
73
|
*/
|
|
84
|
-
export { ArmClient, ArmJointPositions, type Arm } from './components/arm';
|
|
85
74
|
export * as armApi from './gen/component/arm/v1/arm_pb';
|
|
75
|
+
export { BaseClient, BaseProperties, type Base } from './components/base';
|
|
86
76
|
/**
|
|
87
77
|
* Raw Protobuf interfaces for a Base component.
|
|
88
78
|
*
|
|
89
79
|
* Generated with https://github.com/connectrpc/connect-es
|
|
90
80
|
*
|
|
91
81
|
* @deprecated Use {@link BaseClient} instead.
|
|
92
|
-
* @alpha
|
|
93
82
|
* @group Raw Protobufs
|
|
94
83
|
*/
|
|
95
|
-
export { BaseClient, BaseProperties, type Base } from './components/base';
|
|
96
84
|
export * as baseApi from './gen/component/base/v1/base_pb';
|
|
85
|
+
export { AnalogValue, BoardClient, PowerMode, type Board, type Tick, } from './components/board';
|
|
97
86
|
/**
|
|
98
87
|
* Raw Protobuf interfaces for a Board component.
|
|
99
88
|
*
|
|
100
89
|
* Generated with https://github.com/connectrpc/connect-es
|
|
101
90
|
*
|
|
102
91
|
* @deprecated Use {@link BoardClient} instead.
|
|
103
|
-
* @alpha
|
|
104
92
|
* @group Raw Protobufs
|
|
105
93
|
*/
|
|
106
|
-
export { AnalogValue, BoardClient, PowerMode, type Board, type Tick, } from './components/board';
|
|
107
94
|
export * as boardApi from './gen/component/board/v1/board_pb';
|
|
95
|
+
export { ButtonClient, type Button } from './components/button';
|
|
96
|
+
/**
|
|
97
|
+
* Raw Protobuf interfaces for a Button component.
|
|
98
|
+
*
|
|
99
|
+
* Generated with https://github.com/connectrpc/connect-es
|
|
100
|
+
*
|
|
101
|
+
* @deprecated Use {@link ButtonClient} instead.
|
|
102
|
+
* @group Raw Protobufs
|
|
103
|
+
*/
|
|
104
|
+
export * as buttonApi from './gen/component/button/v1/button_pb';
|
|
105
|
+
export { CameraClient, type Camera, type MimeType } from './components/camera';
|
|
108
106
|
/**
|
|
109
107
|
* Raw Protobuf interfaces for a Camera component.
|
|
110
108
|
*
|
|
111
109
|
* Generated with https://github.com/connectrpc/connect-es
|
|
112
110
|
*
|
|
113
111
|
* @deprecated Use {@link CameraClient} instead.
|
|
114
|
-
* @alpha
|
|
115
112
|
* @group Raw Protobufs
|
|
116
113
|
*/
|
|
117
|
-
export { CameraClient, type Camera, type MimeType } from './components/camera';
|
|
118
114
|
export * as cameraApi from './gen/component/camera/v1/camera_pb';
|
|
115
|
+
export { DiscoveryClient, type Discovery } from './services/discovery';
|
|
116
|
+
/**
|
|
117
|
+
* Raw Protobuf interfaces for a Discovery service.
|
|
118
|
+
*
|
|
119
|
+
* Generated with https://github.com/connectrpc/connect-es
|
|
120
|
+
*
|
|
121
|
+
* @deprecated Use {@link DiscoveryService} instead.
|
|
122
|
+
* @group Raw Protobufs
|
|
123
|
+
*/
|
|
124
|
+
export * as discoveryApi from './gen/service/discovery/v1/discovery_pb';
|
|
125
|
+
export { EncoderClient, EncoderPositionType, EncoderProperties, type Encoder, } from './components/encoder';
|
|
119
126
|
/**
|
|
120
127
|
* Raw Protobuf interfaces for an Encoder component.
|
|
121
128
|
*
|
|
122
129
|
* Generated with https://github.com/connectrpc/connect-es
|
|
123
130
|
*
|
|
124
131
|
* @deprecated Use {@link EncoderClient} instead.
|
|
125
|
-
* @alpha
|
|
126
132
|
* @group Raw Protobufs
|
|
127
133
|
*/
|
|
128
|
-
export { EncoderClient, EncoderPositionType, EncoderProperties, type Encoder, } from './components/encoder';
|
|
129
134
|
export * as encoderApi from './gen/component/encoder/v1/encoder_pb';
|
|
135
|
+
export { GantryClient, type Gantry } from './components/gantry';
|
|
130
136
|
/**
|
|
131
137
|
* Raw Protobuf interfaces for a Gantry component.
|
|
132
138
|
*
|
|
133
139
|
* Generated with https://github.com/connectrpc/connect-es
|
|
134
140
|
*
|
|
135
141
|
* @deprecated Use {@link GantryClient} instead.
|
|
136
|
-
* @alpha
|
|
137
142
|
* @group Raw Protobufs
|
|
138
143
|
*/
|
|
139
|
-
export { GantryClient, type Gantry } from './components/gantry';
|
|
140
144
|
export * as gantryApi from './gen/component/gantry/v1/gantry_pb';
|
|
145
|
+
export { MotorClient, type Motor } from './components/motor';
|
|
141
146
|
/**
|
|
142
147
|
* Raw Protobuf interfaces for a Motor component.
|
|
143
148
|
*
|
|
144
149
|
* Generated with https://github.com/connectrpc/connect-es
|
|
145
150
|
*
|
|
146
151
|
* @deprecated Use {@link MotorClient} instead.
|
|
147
|
-
* @alpha
|
|
148
152
|
* @group Raw Protobufs
|
|
149
153
|
*/
|
|
150
|
-
export { MotorClient, type Motor } from './components/motor';
|
|
151
154
|
export * as motorApi from './gen/component/motor/v1/motor_pb';
|
|
155
|
+
export { MovementSensorAccuracy, MovementSensorClient, MovementSensorPosition, MovementSensorProperties, type MovementSensor, } from './components/movementsensor';
|
|
152
156
|
/**
|
|
153
157
|
* Raw Protobuf interfaces for a MovementSensor component.
|
|
154
158
|
*
|
|
155
159
|
* Generated with https://github.com/connectrpc/connect-es
|
|
156
160
|
*
|
|
157
161
|
* @deprecated Use {@link MovementSensorClient} instead.
|
|
158
|
-
* @alpha
|
|
159
162
|
* @group Raw Protobufs
|
|
160
163
|
*/
|
|
161
|
-
export { MovementSensorAccuracy, MovementSensorClient, MovementSensorPosition, MovementSensorProperties, type MovementSensor, } from './components/movementsensor';
|
|
162
164
|
export * as movementSensorApi from './gen/component/movementsensor/v1/movementsensor_pb';
|
|
165
|
+
export { PowerSensorClient, type PowerSensor } from './components/powersensor';
|
|
163
166
|
/**
|
|
164
167
|
* Raw Protobuf interfaces for a PowerSensor component.
|
|
165
168
|
*
|
|
166
169
|
* Generated with https://github.com/connectrpc/connect-es
|
|
167
170
|
*
|
|
168
171
|
* @deprecated Use {@link PowerSensorClient} instead.
|
|
169
|
-
* @alpha
|
|
170
172
|
* @group Raw Protobufs
|
|
171
173
|
*/
|
|
172
|
-
export { PowerSensorClient, type PowerSensor } from './components/powersensor';
|
|
173
174
|
export * as powerSensorApi from './gen/component/powersensor/v1/powersensor_pb';
|
|
175
|
+
export { SensorClient, type Sensor } from './components/sensor';
|
|
174
176
|
/**
|
|
175
177
|
* Raw Protobuf interfaces generated with
|
|
176
178
|
* https://github.com/connectrpc/connect-es for a Sensor component.
|
|
177
179
|
*
|
|
178
180
|
* @deprecated Use {@link SensorClient} instead.
|
|
179
|
-
* @alpha
|
|
180
181
|
* @group Raw Protobufs
|
|
181
182
|
*/
|
|
182
|
-
export { SensorClient, type Sensor } from './components/sensor';
|
|
183
183
|
export * as sensorApi from './gen/component/sensor/v1/sensor_connect';
|
|
184
|
+
export { StreamClient, type Stream } from './extra/stream';
|
|
184
185
|
/**
|
|
185
186
|
* Raw Protobuf interfaces for a Stream.
|
|
186
187
|
*
|
|
@@ -189,115 +190,123 @@ export * as sensorApi from './gen/component/sensor/v1/sensor_connect';
|
|
|
189
190
|
* @deprecated Use {@link StreamClient} instead.
|
|
190
191
|
* @group Raw Protobufs
|
|
191
192
|
*/
|
|
192
|
-
export { StreamClient, type Stream } from './extra/stream';
|
|
193
193
|
export * as streamApi from './gen/stream/v1/stream_pb';
|
|
194
|
+
export { SwitchClient, type Switch } from './components/switch';
|
|
195
|
+
/**
|
|
196
|
+
* Raw Protobuf interfaces for a Switch component.
|
|
197
|
+
*
|
|
198
|
+
* Generated with https://github.com/connectrpc/connect-es
|
|
199
|
+
*
|
|
200
|
+
* @deprecated Use {@link SwitchClient} instead.
|
|
201
|
+
* @group Raw Protobufs
|
|
202
|
+
*/
|
|
203
|
+
export * as switchApi from './gen/component/switch/v1/switch_pb';
|
|
204
|
+
export { GenericClient as GenericComponentClient, type Generic as GenericComponent, } from './components/generic';
|
|
194
205
|
/**
|
|
195
206
|
* Raw Protobuf interfaces for a Generic component.
|
|
196
207
|
*
|
|
197
208
|
* Generated with https://github.com/connectrpc/connect-es
|
|
198
209
|
*
|
|
199
210
|
* @deprecated Use {@link GenericComponentClient} instead.
|
|
200
|
-
* @alpha
|
|
201
211
|
* @group Raw Protobufs
|
|
202
212
|
*/
|
|
203
|
-
export { GenericClient as GenericComponentClient, type Generic as GenericComponent, } from './components/generic';
|
|
204
213
|
export * as genericComponentApi from './gen/component/generic/v1/generic_connect';
|
|
214
|
+
export { GripperClient, type Gripper } from './components/gripper';
|
|
205
215
|
/**
|
|
206
216
|
* Raw Protobuf interfaces for a Gripper component.
|
|
207
217
|
*
|
|
208
218
|
* Generated with https://github.com/connectrpc/connect-es
|
|
209
219
|
*
|
|
210
220
|
* @deprecated Use {@link GripperClient} instead.
|
|
211
|
-
* @alpha
|
|
212
221
|
* @group Raw Protobufs
|
|
213
222
|
*/
|
|
214
|
-
export { GripperClient, type Gripper } from './components/gripper';
|
|
215
223
|
export * as gripperApi from './gen/component/gripper/v1/gripper_pb';
|
|
224
|
+
export * from './components/inputcontroller';
|
|
216
225
|
/**
|
|
217
226
|
* Raw Protobuf interfaces for an InputController component.
|
|
218
227
|
*
|
|
219
228
|
* Generated with https://github.com/connectrpc/connect-es
|
|
220
229
|
*
|
|
221
230
|
* @deprecated Use {@link GripperClient} instead.
|
|
222
|
-
* @alpha
|
|
223
231
|
* @group Raw Protobufs
|
|
224
232
|
*/
|
|
225
|
-
export * from './components/inputcontroller';
|
|
226
233
|
export * as inputControllerApi from './gen/component/inputcontroller/v1/input_controller_pb';
|
|
234
|
+
export { CollisionSpecification, Constraints, LinearConstraint, ListPlanStatusesResponse, MotionClient, MotionConfiguration, ObstacleDetector, OrientationConstraint, type GetPlanResponse, type Motion, type PlanState, } from './services/motion';
|
|
227
235
|
/**
|
|
228
236
|
* Raw Protobuf interfaces for a Motion service.
|
|
229
237
|
*
|
|
230
238
|
* Generated with https://github.com/connectrpc/connect-es
|
|
231
239
|
*
|
|
232
240
|
* @deprecated Use {@link MotionClient} instead.
|
|
233
|
-
* @alpha
|
|
234
241
|
* @group Raw Protobufs
|
|
235
242
|
*/
|
|
236
243
|
export * as motionApi from './gen/service/motion/v1/motion_pb';
|
|
237
|
-
export { CollisionSpecification, Constraints, LinearConstraint, ListPlanStatusesResponse, MotionClient, MotionConfiguration, ObstacleDetector, OrientationConstraint, type GetPlanResponse, type Motion, type PlanState, } from './services/motion';
|
|
238
244
|
export { DataManagerClient, type DataManager } from './services/data-manager';
|
|
245
|
+
/**
|
|
246
|
+
* Raw Protobuf interfaces for a DataManager service.
|
|
247
|
+
*
|
|
248
|
+
* Generated with https://github.com/connectrpc/connect-es
|
|
249
|
+
*
|
|
250
|
+
* @deprecated Use {@link DataManagerClient} instead.
|
|
251
|
+
* @group Raw Protobufs
|
|
252
|
+
*/
|
|
253
|
+
export * as dataManagerApi from './gen/service/datamanager/v1/data_manager_pb';
|
|
254
|
+
export { NavigationClient, NavigationPosition, NavigationProperties, Path, Waypoint, type Mode, } from './services/navigation';
|
|
239
255
|
/**
|
|
240
256
|
* Raw Protobuf interfaces for a Navigation service.
|
|
241
257
|
*
|
|
242
258
|
* Generated with https://github.com/connectrpc/connect-es
|
|
243
259
|
*
|
|
244
260
|
* @deprecated Use {@link NavigationClient} instead.
|
|
245
|
-
* @alpha
|
|
246
261
|
* @group Raw Protobufs
|
|
247
262
|
*/
|
|
248
263
|
export * as navigationApi from './gen/service/navigation/v1/navigation_pb';
|
|
249
|
-
export {
|
|
264
|
+
export { ServoClient, type Servo } from './components/servo';
|
|
250
265
|
/**
|
|
251
266
|
* Raw Protobuf interfaces for a Servo component.
|
|
252
267
|
*
|
|
253
268
|
* Generated with https://github.com/connectrpc/connect-es
|
|
254
269
|
*
|
|
255
270
|
* @deprecated Use {@link ServoClient} instead.
|
|
256
|
-
* @alpha
|
|
257
271
|
* @group Raw Protobufs
|
|
258
272
|
*/
|
|
259
|
-
export { ServoClient, type Servo } from './components/servo';
|
|
260
273
|
export * as servoApi from './gen/component/servo/v1/servo_pb';
|
|
274
|
+
export { SlamClient, SlamPosition, SlamProperties } from './services/slam';
|
|
261
275
|
/**
|
|
262
276
|
* Raw Protobuf interfaces for a Slam service.
|
|
263
277
|
*
|
|
264
278
|
* Generated with https://github.com/connectrpc/connect-es
|
|
265
279
|
*
|
|
266
280
|
* @deprecated Use {@link SlamClient} instead.
|
|
267
|
-
* @alpha
|
|
268
281
|
* @group Raw Protobufs
|
|
269
282
|
*/
|
|
270
283
|
export * as slamApi from './gen/service/slam/v1/slam_pb';
|
|
271
|
-
export {
|
|
284
|
+
export { Classification, Detection, PointCloudObject, VisionClient, } from './services/vision';
|
|
272
285
|
/**
|
|
273
286
|
* Raw Protobuf interfaces for a Vision service.
|
|
274
287
|
*
|
|
275
288
|
* Generated with https://github.com/connectrpc/connect-es
|
|
276
289
|
*
|
|
277
290
|
* @deprecated Use {@link VisionClient} instead.
|
|
278
|
-
* @alpha
|
|
279
291
|
* @group Raw Protobufs
|
|
280
292
|
*/
|
|
281
293
|
export * as visionApi from './gen/service/vision/v1/vision_pb';
|
|
282
|
-
export {
|
|
294
|
+
export { GenericClient as GenericServiceClient, type Generic as GenericService, } from './services/generic';
|
|
283
295
|
/**
|
|
284
296
|
* Raw Protobuf interfaces for a Generic service.
|
|
285
297
|
*
|
|
286
298
|
* Generated with https://github.com/connectrpc/connect-es
|
|
287
299
|
*
|
|
288
300
|
* @deprecated Use {@link GenericServiceClient} instead.
|
|
289
|
-
* @alpha
|
|
290
301
|
* @group Raw Protobufs
|
|
291
302
|
*/
|
|
292
303
|
export * as genericServiceApi from './gen/service/generic/v1/generic_connect';
|
|
293
|
-
export { GenericClient as GenericServiceClient, type Generic as GenericService, } from './services/generic';
|
|
294
304
|
/**
|
|
295
305
|
* Raw Protobuf interfaces that are shared across multiple components and
|
|
296
306
|
* services.
|
|
297
307
|
*
|
|
298
308
|
* Generated with https://github.com/connectrpc/connect-es
|
|
299
309
|
*
|
|
300
|
-
* @alpha
|
|
301
310
|
* @group Raw Protobufs
|
|
302
311
|
*/
|
|
303
312
|
export * as commonApi from './gen/common/v1/common_pb';
|