@viamrobotics/sdk 0.76.0 → 0.78.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/README.md +1 -1
- package/dist/api-version.d.ts +1 -1
- package/dist/app/app-client.d.ts +108 -102
- package/dist/app/billing-client.d.ts +4 -5
- package/dist/app/data-client.d.ts +31 -31
- package/dist/app/ml-training-client.d.ts +6 -6
- package/dist/components/arm/arm.d.ts +8 -9
- package/dist/components/base/base.d.ts +8 -8
- package/dist/components/board/board.d.ts +12 -13
- package/dist/components/button/button.d.ts +1 -1
- package/dist/components/camera/camera.d.ts +2 -2
- package/dist/components/encoder/encoder.d.ts +4 -4
- package/dist/components/gantry/gantry.d.ts +8 -8
- package/dist/components/generic/generic.d.ts +1 -1
- package/dist/components/gripper/gripper.d.ts +6 -6
- package/dist/components/input-controller/input-controller.d.ts +3 -3
- package/dist/components/motor/motor.d.ts +11 -11
- package/dist/components/movement-sensor/movement-sensor.d.ts +10 -10
- package/dist/components/pose-tracker/pose-tracker.d.ts +1 -1
- package/dist/components/power-sensor/power-sensor.d.ts +4 -4
- package/dist/components/sensor/sensor.d.ts +1 -1
- package/dist/components/servo/servo.d.ts +5 -5
- package/dist/components/switch/switch.d.ts +3 -3
- package/dist/debug.d.ts +4 -0
- package/dist/gen/app/mltraining/v1/ml_training_connect.d.ts +46 -2
- package/dist/gen/app/mltraining/v1/ml_training_pb.d.ts +234 -10
- package/dist/gen/app/v1/app_connect.d.ts +45 -1
- package/dist/gen/app/v1/app_pb.d.ts +340 -1
- package/dist/gen/app/v1/billing_pb.d.ts +5 -0
- package/dist/gen/common/v1/common_pb.d.ts +588 -6
- package/dist/gen/component/camera/v1/camera_pb.d.ts +8 -0
- package/dist/gen/google/api/field_behavior_pb.d.ts +1 -1
- package/dist/gen/opentelemetry/proto/collector/profiles/v1development/profiles_service_connect.d.ts +2 -0
- package/dist/gen/opentelemetry/proto/collector/profiles/v1development/profiles_service_pb.d.ts +8 -0
- package/dist/gen/opentelemetry/proto/common/v1/common_pb.d.ts +6 -0
- package/dist/gen/opentelemetry/proto/logs/v1/logs_pb.d.ts +2 -0
- package/dist/gen/opentelemetry/proto/metrics/v1/metrics_pb.d.ts +3 -1
- package/dist/gen/opentelemetry/proto/processcontext/v1development/process_context_pb.d.ts +2 -0
- package/dist/gen/opentelemetry/proto/profiles/v1development/profiles_pb.d.ts +140 -2
- package/dist/gen/opentelemetry/proto/resource/v1/resource_pb.d.ts +2 -0
- package/dist/gen/opentelemetry/proto/trace/v1/trace_pb.d.ts +15 -5
- package/dist/gen/proto/rpc/webrtc/v1/grpc_pb.d.ts +9 -0
- package/dist/gen/proto/rpc/webrtc/v1/signaling_pb.d.ts +25 -0
- package/dist/gen/robot/v1/robot_pb.d.ts +67 -3
- package/dist/gen/service/motion/v1/motion_connect.d.ts +18 -1
- package/dist/gen/service/motion/v1/motion_pb.d.ts +198 -0
- package/dist/gen/service/navigation/v1/navigation_connect.d.ts +324 -43
- package/dist/gen/service/navigation/v1/navigation_pb.d.ts +2350 -229
- package/dist/gen/service/vision/v1/vision_connect.d.ts +15 -1
- package/dist/gen/service/vision/v1/vision_pb.d.ts +131 -1
- package/dist/main.d.ts +2 -2
- package/dist/main.es.js +10919 -8671
- package/dist/main.umd.js +9 -9
- package/dist/robot/client.d.ts +168 -30
- package/dist/services/data-manager/client.d.ts +2 -2
- package/dist/services/motion/motion.d.ts +7 -7
- package/dist/services/navigation/client.d.ts +32 -11
- package/dist/services/navigation/navigation.d.ts +162 -110
- package/dist/services/navigation/types.d.ts +36 -5
- package/dist/services/navigation.d.ts +1 -1
- package/dist/services/slam/slam.d.ts +4 -4
- package/dist/services/vision/client.d.ts +4 -1
- package/dist/services/vision/types.d.ts +7 -1
- package/dist/services/vision/vision.d.ts +29 -8
- package/dist/services/vision.d.ts +1 -1
- package/package.json +5 -2
|
@@ -17,7 +17,7 @@ export declare class BillingClient {
|
|
|
17
17
|
* ```
|
|
18
18
|
*
|
|
19
19
|
* For more information, see [Billing
|
|
20
|
-
* API](https://docs.viam.com/
|
|
20
|
+
* API](https://docs.viam.com/reference/apis/billing-client/#getcurrentmonthusage).
|
|
21
21
|
*
|
|
22
22
|
* @param orgId - The organization ID.
|
|
23
23
|
*/
|
|
@@ -32,7 +32,7 @@ export declare class BillingClient {
|
|
|
32
32
|
* ```
|
|
33
33
|
*
|
|
34
34
|
* For more information, see [Billing
|
|
35
|
-
* API](https://docs.viam.com/
|
|
35
|
+
* API](https://docs.viam.com/reference/apis/billing-client/#getorgbillinginformation).
|
|
36
36
|
*
|
|
37
37
|
* @param orgId - The organization ID.
|
|
38
38
|
*/
|
|
@@ -46,8 +46,7 @@ export declare class BillingClient {
|
|
|
46
46
|
* const invoicesSummary = await billing.getInvoicesSummary('<organization-id>');
|
|
47
47
|
* ```
|
|
48
48
|
*
|
|
49
|
-
* For more information, see [Billing
|
|
50
|
-
* API](https://docs.viam.com/dev/reference/apis/billing-client/#getinvoicesummary).
|
|
49
|
+
* For more information, see [Billing API](https://docs.viam.com/reference/apis/billing-client/).
|
|
51
50
|
*
|
|
52
51
|
* @param orgId - The organization ID.
|
|
53
52
|
*/
|
|
@@ -62,7 +61,7 @@ export declare class BillingClient {
|
|
|
62
61
|
* ```
|
|
63
62
|
*
|
|
64
63
|
* For more information, see [Billing
|
|
65
|
-
* API](https://docs.viam.com/
|
|
64
|
+
* API](https://docs.viam.com/reference/apis/billing-client/#getinvoicepdf).
|
|
66
65
|
*
|
|
67
66
|
* @param id - The invoice ID.
|
|
68
67
|
* @param orgId - The organization ID.
|
|
@@ -100,7 +100,7 @@ export declare class DataClient {
|
|
|
100
100
|
* ```
|
|
101
101
|
*
|
|
102
102
|
* For more information, see [Data
|
|
103
|
-
* API](https://docs.viam.com/
|
|
103
|
+
* API](https://docs.viam.com/reference/apis/data-client/#exporttabulardata).
|
|
104
104
|
*
|
|
105
105
|
* @param partId The ID of the part that owns the data
|
|
106
106
|
* @param resourceName The name of the requested resource that captured the data
|
|
@@ -124,7 +124,7 @@ export declare class DataClient {
|
|
|
124
124
|
* ```
|
|
125
125
|
*
|
|
126
126
|
* For more information, see [Data
|
|
127
|
-
* API](https://docs.viam.com/
|
|
127
|
+
* API](https://docs.viam.com/reference/apis/data-client/#exporttabulardata).
|
|
128
128
|
*
|
|
129
129
|
* @param organizationId The ID of the organization that owns the data
|
|
130
130
|
* @param query The SQL query to run
|
|
@@ -156,7 +156,7 @@ export declare class DataClient {
|
|
|
156
156
|
* ```
|
|
157
157
|
*
|
|
158
158
|
* For more information, see [Data
|
|
159
|
-
* API](https://docs.viam.com/
|
|
159
|
+
* API](https://docs.viam.com/reference/apis/data-client/#tabulardatabymql).
|
|
160
160
|
*
|
|
161
161
|
* @param organizationId The ID of the organization that owns the data
|
|
162
162
|
* @param query The MQL query to run as a list of BSON documents
|
|
@@ -186,7 +186,7 @@ export declare class DataClient {
|
|
|
186
186
|
* ```
|
|
187
187
|
*
|
|
188
188
|
* For more information, see [Data
|
|
189
|
-
* API](https://docs.viam.com/
|
|
189
|
+
* API](https://docs.viam.com/reference/apis/data-client/#tabulardatabyfilter).
|
|
190
190
|
*
|
|
191
191
|
* @param filter Optional `pb.Filter` specifying tabular data to retrieve. No `filter` implies all
|
|
192
192
|
* tabular data.
|
|
@@ -224,7 +224,7 @@ export declare class DataClient {
|
|
|
224
224
|
* ```
|
|
225
225
|
*
|
|
226
226
|
* For more information, see [Data
|
|
227
|
-
* API](https://docs.viam.com/
|
|
227
|
+
* API](https://docs.viam.com/reference/apis/data-client/#binarydatabyfilter).
|
|
228
228
|
*
|
|
229
229
|
* @param filter Optional `pb.Filter` specifying binary data to retrieve. No `filter` implies all
|
|
230
230
|
* binary data.
|
|
@@ -256,7 +256,7 @@ export declare class DataClient {
|
|
|
256
256
|
* ```
|
|
257
257
|
*
|
|
258
258
|
* For more information, see [Data
|
|
259
|
-
* API](https://docs.viam.com/
|
|
259
|
+
* API](https://docs.viam.com/reference/apis/data-client/#binarydatabyids).
|
|
260
260
|
*
|
|
261
261
|
* @param ids The IDs of the requested binary data
|
|
262
262
|
* @param includeBinary Whether to include binary file data with each retrieved file
|
|
@@ -275,7 +275,7 @@ export declare class DataClient {
|
|
|
275
275
|
* ```
|
|
276
276
|
*
|
|
277
277
|
* For more information, see [Data
|
|
278
|
-
* API](https://docs.viam.com/
|
|
278
|
+
* API](https://docs.viam.com/reference/apis/data-client/#createbinarydatasignedurl).
|
|
279
279
|
*
|
|
280
280
|
* @param binaryDataId The ID of the binary data
|
|
281
281
|
* @returns A signed URL string for accessing the binary data
|
|
@@ -304,7 +304,7 @@ export declare class DataClient {
|
|
|
304
304
|
* ```
|
|
305
305
|
*
|
|
306
306
|
* For more information, see [Data
|
|
307
|
-
* API](https://docs.viam.com/
|
|
307
|
+
* API](https://docs.viam.com/reference/apis/data-client/#deletetabulardata).
|
|
308
308
|
*
|
|
309
309
|
* @param organizationId The ID of organization to delete data from
|
|
310
310
|
* @param deleteOlderThanDays Delete data that was captured more than this many days ago. For
|
|
@@ -332,7 +332,7 @@ export declare class DataClient {
|
|
|
332
332
|
* ```
|
|
333
333
|
*
|
|
334
334
|
* For more information, see [Data
|
|
335
|
-
* API](https://docs.viam.com/
|
|
335
|
+
* API](https://docs.viam.com/reference/apis/data-client/#deletebinarydatabyfilter).
|
|
336
336
|
*
|
|
337
337
|
* @param filter Optional `pb.Filter` specifying binary data to delete. No `filter` implies all
|
|
338
338
|
* binary data.
|
|
@@ -352,7 +352,7 @@ export declare class DataClient {
|
|
|
352
352
|
* ```
|
|
353
353
|
*
|
|
354
354
|
* For more information, see [Data
|
|
355
|
-
* API](https://docs.viam.com/
|
|
355
|
+
* API](https://docs.viam.com/reference/apis/data-client/#deletebinarydatabyids).
|
|
356
356
|
*
|
|
357
357
|
* @param ids The IDs of the data to be deleted. Must be non-empty.
|
|
358
358
|
* @returns The number of items deleted
|
|
@@ -373,7 +373,7 @@ export declare class DataClient {
|
|
|
373
373
|
* ```
|
|
374
374
|
*
|
|
375
375
|
* For more information, see [Data
|
|
376
|
-
* API](https://docs.viam.com/
|
|
376
|
+
* API](https://docs.viam.com/reference/apis/data-client/#addtagstobinarydatabyids).
|
|
377
377
|
*
|
|
378
378
|
* @param tags The list of tags to add to specified binary data. Must be non-empty.
|
|
379
379
|
* @param ids The IDs of the data to be tagged. Must be non-empty.
|
|
@@ -396,7 +396,7 @@ export declare class DataClient {
|
|
|
396
396
|
* ```
|
|
397
397
|
*
|
|
398
398
|
* For more information, see [Data
|
|
399
|
-
* API](https://docs.viam.com/
|
|
399
|
+
* API](https://docs.viam.com/reference/apis/data-client/#addtagstobinarydatabyfilter).
|
|
400
400
|
*
|
|
401
401
|
* @param tags The tags to add to the data
|
|
402
402
|
* @param filter Optional `pb.Filter` specifying binary data to add tags to. No `filter` implies
|
|
@@ -418,7 +418,7 @@ export declare class DataClient {
|
|
|
418
418
|
* ```
|
|
419
419
|
*
|
|
420
420
|
* For more information, see [Data
|
|
421
|
-
* API](https://docs.viam.com/
|
|
421
|
+
* API](https://docs.viam.com/reference/apis/data-client/#removetagsfrombinarydatabyids).
|
|
422
422
|
*
|
|
423
423
|
* @param tags List of tags to remove from specified binary data. Must be non-empty.
|
|
424
424
|
* @param ids The IDs of the data to be edited. Must be non-empty.
|
|
@@ -441,7 +441,7 @@ export declare class DataClient {
|
|
|
441
441
|
* ```
|
|
442
442
|
*
|
|
443
443
|
* For more information, see [Data
|
|
444
|
-
* API](https://docs.viam.com/
|
|
444
|
+
* API](https://docs.viam.com/reference/apis/data-client/#removetagsfrombinarydatabyfilter).
|
|
445
445
|
*
|
|
446
446
|
* @param tags List of tags to remove from specified binary data. Must be non-empty.
|
|
447
447
|
* @param filter Optional `pb.Filter` specifying binary data to add tags to. No `filter` implies
|
|
@@ -461,7 +461,7 @@ export declare class DataClient {
|
|
|
461
461
|
* ```
|
|
462
462
|
*
|
|
463
463
|
* For more information, see [Data
|
|
464
|
-
* API](https://docs.viam.com/
|
|
464
|
+
* API](https://docs.viam.com/reference/apis/data-client/#tagsbyfilter).
|
|
465
465
|
*
|
|
466
466
|
* @param filter Optional `pb.Filter` specifying what data to get tags from. No `filter` implies
|
|
467
467
|
* all data.
|
|
@@ -486,7 +486,7 @@ export declare class DataClient {
|
|
|
486
486
|
* ```
|
|
487
487
|
*
|
|
488
488
|
* For more information, see [Data
|
|
489
|
-
* API](https://docs.viam.com/
|
|
489
|
+
* API](https://docs.viam.com/reference/apis/data-client/#addboundingboxtoimagebyid).
|
|
490
490
|
*
|
|
491
491
|
* @param {string | BinaryID} binaryId The ID of the image to add the bounding box to
|
|
492
492
|
* @param {string} label A label for the bounding box
|
|
@@ -512,7 +512,7 @@ export declare class DataClient {
|
|
|
512
512
|
* ```
|
|
513
513
|
*
|
|
514
514
|
* For more information, see [Data
|
|
515
|
-
* API](https://docs.viam.com/
|
|
515
|
+
* API](https://docs.viam.com/reference/apis/data-client/#removeboundingboxfromimagebyid).
|
|
516
516
|
*
|
|
517
517
|
* @param binId The ID of the image to remove the bounding box from
|
|
518
518
|
* @param bboxId The ID of the bounding box to remove
|
|
@@ -560,7 +560,7 @@ export declare class DataClient {
|
|
|
560
560
|
* ```
|
|
561
561
|
*
|
|
562
562
|
* For more information, see [Data
|
|
563
|
-
* API](https://docs.viam.com/
|
|
563
|
+
* API](https://docs.viam.com/reference/apis/data-client/#boundingboxlabelsbyfilter).
|
|
564
564
|
*
|
|
565
565
|
* @param filter Optional `pb.Filter` specifying what data to get tags from. No `filter` implies
|
|
566
566
|
* all labels.
|
|
@@ -581,7 +581,7 @@ export declare class DataClient {
|
|
|
581
581
|
* ```
|
|
582
582
|
*
|
|
583
583
|
* For more information, see [Data
|
|
584
|
-
* API](https://docs.viam.com/
|
|
584
|
+
* API](https://docs.viam.com/reference/apis/data-client/#configuredatabaseuser).
|
|
585
585
|
*
|
|
586
586
|
* @param organizationId The ID of the organization
|
|
587
587
|
* @param password The password of the user
|
|
@@ -599,7 +599,7 @@ export declare class DataClient {
|
|
|
599
599
|
* ```
|
|
600
600
|
*
|
|
601
601
|
* For more information, see [Data
|
|
602
|
-
* API](https://docs.viam.com/
|
|
602
|
+
* API](https://docs.viam.com/reference/apis/data-client/#getdatabaseconnection).
|
|
603
603
|
*
|
|
604
604
|
* @param organizationId Organization to retrieve connection for
|
|
605
605
|
* @returns Hostname of the federated database
|
|
@@ -620,7 +620,7 @@ export declare class DataClient {
|
|
|
620
620
|
* ```
|
|
621
621
|
*
|
|
622
622
|
* For more information, see [Data
|
|
623
|
-
* API](https://docs.viam.com/
|
|
623
|
+
* API](https://docs.viam.com/reference/apis/data-client/#addbinarydatatodatasetbyids).
|
|
624
624
|
*
|
|
625
625
|
* @param ids The IDs of binary data to add to dataset
|
|
626
626
|
* @param datasetId The ID of the dataset to be added to
|
|
@@ -641,7 +641,7 @@ export declare class DataClient {
|
|
|
641
641
|
* ```
|
|
642
642
|
*
|
|
643
643
|
* For more information, see [Data
|
|
644
|
-
* API](https://docs.viam.com/
|
|
644
|
+
* API](https://docs.viam.com/reference/apis/data-client/#removebinarydatafromdatasetbyids).
|
|
645
645
|
*
|
|
646
646
|
* @param ids The IDs of the binary data to remove from dataset
|
|
647
647
|
* @param datasetId The ID of the dataset to be removed from
|
|
@@ -660,7 +660,7 @@ export declare class DataClient {
|
|
|
660
660
|
* ```
|
|
661
661
|
*
|
|
662
662
|
* For more information, see [Data
|
|
663
|
-
* API](https://docs.viam.com/
|
|
663
|
+
* API](https://docs.viam.com/reference/apis/data-client/#createdataset).
|
|
664
664
|
*
|
|
665
665
|
* @param name The name of the new dataset
|
|
666
666
|
* @param organizationId The ID of the organization the dataset is being created in
|
|
@@ -677,7 +677,7 @@ export declare class DataClient {
|
|
|
677
677
|
* ```
|
|
678
678
|
*
|
|
679
679
|
* For more information, see [Data
|
|
680
|
-
* API](https://docs.viam.com/
|
|
680
|
+
* API](https://docs.viam.com/reference/apis/data-client/#deletedataset).
|
|
681
681
|
*
|
|
682
682
|
* @param id The ID of the dataset.
|
|
683
683
|
*/
|
|
@@ -692,7 +692,7 @@ export declare class DataClient {
|
|
|
692
692
|
* ```
|
|
693
693
|
*
|
|
694
694
|
* For more information, see [Data
|
|
695
|
-
* API](https://docs.viam.com/
|
|
695
|
+
* API](https://docs.viam.com/reference/apis/data-client/#renamedataset).
|
|
696
696
|
*
|
|
697
697
|
* @param id The ID of the dataset
|
|
698
698
|
* @param name The new name of the dataset
|
|
@@ -710,7 +710,7 @@ export declare class DataClient {
|
|
|
710
710
|
* ```
|
|
711
711
|
*
|
|
712
712
|
* For more information, see [Data
|
|
713
|
-
* API](https://docs.viam.com/
|
|
713
|
+
* API](https://docs.viam.com/reference/apis/data-client/#listdatasetsbyorganizationid).
|
|
714
714
|
*
|
|
715
715
|
* @param organizationId The ID of the organization
|
|
716
716
|
* @param type Optional dataset type to filter on
|
|
@@ -727,7 +727,7 @@ export declare class DataClient {
|
|
|
727
727
|
* ```
|
|
728
728
|
*
|
|
729
729
|
* For more information, see [Data
|
|
730
|
-
* API](https://docs.viam.com/
|
|
730
|
+
* API](https://docs.viam.com/reference/apis/data-client/#listdatasetsbyids).
|
|
731
731
|
*
|
|
732
732
|
* @param ids The list of IDs of the datasets
|
|
733
733
|
* @returns The list of datasets
|
|
@@ -761,7 +761,7 @@ export declare class DataClient {
|
|
|
761
761
|
* ```
|
|
762
762
|
*
|
|
763
763
|
* For more information, see [Data
|
|
764
|
-
* API](https://docs.viam.com/
|
|
764
|
+
* API](https://docs.viam.com/reference/apis/data-client/#tabulardatacaptureupload).
|
|
765
765
|
*
|
|
766
766
|
* @param tabularData The list of data to be uploaded, represented tabularly as an array.
|
|
767
767
|
* @param partId The part ID of the component used to capture the data
|
|
@@ -799,7 +799,7 @@ export declare class DataClient {
|
|
|
799
799
|
* ```
|
|
800
800
|
*
|
|
801
801
|
* For more information, see [Data
|
|
802
|
-
* API](https://docs.viam.com/
|
|
802
|
+
* API](https://docs.viam.com/reference/apis/data-client/#binarydatacaptureupload).
|
|
803
803
|
*
|
|
804
804
|
* @param binaryData The data to be uploaded, represented in bytes
|
|
805
805
|
* @param partId The part ID of the component used to capture the data
|
|
@@ -830,7 +830,7 @@ export declare class DataClient {
|
|
|
830
830
|
* ```
|
|
831
831
|
*
|
|
832
832
|
* For more information, see [Data
|
|
833
|
-
* API](https://docs.viam.com/
|
|
833
|
+
* API](https://docs.viam.com/reference/apis/data-client/#fileupload).
|
|
834
834
|
*
|
|
835
835
|
* @param binaryData The data to be uploaded
|
|
836
836
|
* @param partId The part ID of the machine that captured the data
|
|
@@ -862,7 +862,7 @@ export declare class DataClient {
|
|
|
862
862
|
* ```
|
|
863
863
|
*
|
|
864
864
|
* For more information, see [Data
|
|
865
|
-
* API](https://docs.viam.com/
|
|
865
|
+
* API](https://docs.viam.com/reference/apis/data-client/#getlatesttabulardata).
|
|
866
866
|
*
|
|
867
867
|
* @param partId The ID of the part that owns the data
|
|
868
868
|
* @param resourceName The name of the requested resource that captured the data. Ex: "my-sensor"
|
|
@@ -20,7 +20,7 @@ export declare class MlTrainingClient {
|
|
|
20
20
|
* ```
|
|
21
21
|
*
|
|
22
22
|
* For more information, see [ML Training
|
|
23
|
-
* API](https://docs.viam.com/
|
|
23
|
+
* API](https://docs.viam.com/reference/apis/ml-training-client/#submittrainingjob).
|
|
24
24
|
*
|
|
25
25
|
* @param organizationId - The organization ID.
|
|
26
26
|
* @param datasetId - The dataset ID.
|
|
@@ -47,7 +47,7 @@ export declare class MlTrainingClient {
|
|
|
47
47
|
* ```
|
|
48
48
|
*
|
|
49
49
|
* For more information, see [ML Training
|
|
50
|
-
* API](https://docs.viam.com/
|
|
50
|
+
* API](https://docs.viam.com/reference/apis/ml-training-client/#submitcustomtrainingjob).
|
|
51
51
|
*
|
|
52
52
|
* @param organizationId - The organization ID.
|
|
53
53
|
* @param datasetId - The dataset ID.
|
|
@@ -67,7 +67,7 @@ export declare class MlTrainingClient {
|
|
|
67
67
|
* ```
|
|
68
68
|
*
|
|
69
69
|
* For more information, see [ML Training
|
|
70
|
-
* API](https://docs.viam.com/
|
|
70
|
+
* API](https://docs.viam.com/reference/apis/ml-training-client/#gettrainingjob).
|
|
71
71
|
*
|
|
72
72
|
* @param id - The training job ID.
|
|
73
73
|
*/
|
|
@@ -85,7 +85,7 @@ export declare class MlTrainingClient {
|
|
|
85
85
|
* ```
|
|
86
86
|
*
|
|
87
87
|
* For more information, see [ML Training
|
|
88
|
-
* API](https://docs.viam.com/
|
|
88
|
+
* API](https://docs.viam.com/reference/apis/ml-training-client/#listtrainingjobs).
|
|
89
89
|
*
|
|
90
90
|
* @param organizationId - The organization ID.
|
|
91
91
|
* @param status - The training job status.
|
|
@@ -101,7 +101,7 @@ export declare class MlTrainingClient {
|
|
|
101
101
|
* ```
|
|
102
102
|
*
|
|
103
103
|
* For more information, see [ML Training
|
|
104
|
-
* API](https://docs.viam.com/
|
|
104
|
+
* API](https://docs.viam.com/reference/apis/ml-training-client/#canceltrainingjob).
|
|
105
105
|
*
|
|
106
106
|
* @param id - The training job ID.
|
|
107
107
|
*/
|
|
@@ -116,7 +116,7 @@ export declare class MlTrainingClient {
|
|
|
116
116
|
* ```
|
|
117
117
|
*
|
|
118
118
|
* For more information, see [ML Training
|
|
119
|
-
* API](https://docs.viam.com/
|
|
119
|
+
* API](https://docs.viam.com/reference/apis/ml-training-client/#deletecompletedtrainingjob).
|
|
120
120
|
*
|
|
121
121
|
* @param id - The training job ID.
|
|
122
122
|
*/
|
|
@@ -19,7 +19,7 @@ export interface Arm extends Resource {
|
|
|
19
19
|
* ```
|
|
20
20
|
*
|
|
21
21
|
* For more information, see [Arm
|
|
22
|
-
* API](https://docs.viam.com/
|
|
22
|
+
* API](https://docs.viam.com/reference/apis/components/arm/#getendposition).
|
|
23
23
|
*/
|
|
24
24
|
getEndPosition: (extra?: Struct) => Promise<Pose>;
|
|
25
25
|
/**
|
|
@@ -34,7 +34,7 @@ export interface Arm extends Resource {
|
|
|
34
34
|
* ```
|
|
35
35
|
*
|
|
36
36
|
* For more information, see [Arm
|
|
37
|
-
* API](https://docs.viam.com/
|
|
37
|
+
* API](https://docs.viam.com/reference/apis/components/arm/#getgeometries).
|
|
38
38
|
*/
|
|
39
39
|
getGeometries: (extra?: Struct) => Promise<Geometry[]>;
|
|
40
40
|
/**
|
|
@@ -60,7 +60,7 @@ export interface Arm extends Resource {
|
|
|
60
60
|
* console.log(kinematics);
|
|
61
61
|
*
|
|
62
62
|
* For more information, see [Arm
|
|
63
|
-
* API](https://docs.viam.com/
|
|
63
|
+
* API](https://docs.viam.com/reference/apis/components/arm/#getkinematics).
|
|
64
64
|
* ```
|
|
65
65
|
*
|
|
66
66
|
* @returns The legacy kinematics data shape or the newer object containing kinematics data plus a
|
|
@@ -91,7 +91,7 @@ export interface Arm extends Resource {
|
|
|
91
91
|
* ```
|
|
92
92
|
*
|
|
93
93
|
* For more information, see [Arm
|
|
94
|
-
* API](https://docs.viam.com/
|
|
94
|
+
* API](https://docs.viam.com/reference/apis/components/arm/#movetoposition).
|
|
95
95
|
*
|
|
96
96
|
* @param pose - The destination pose for the arm.
|
|
97
97
|
*/
|
|
@@ -109,7 +109,7 @@ export interface Arm extends Resource {
|
|
|
109
109
|
* ```
|
|
110
110
|
*
|
|
111
111
|
* For more information, see [Arm
|
|
112
|
-
* API](https://docs.viam.com/
|
|
112
|
+
* API](https://docs.viam.com/reference/apis/components/arm/#movetojointpositions).
|
|
113
113
|
*
|
|
114
114
|
* @param jointPositionsList - List of angles (0-360) to move each joint to.
|
|
115
115
|
*/
|
|
@@ -125,7 +125,7 @@ export interface Arm extends Resource {
|
|
|
125
125
|
* ```
|
|
126
126
|
*
|
|
127
127
|
* For more information, see [Arm
|
|
128
|
-
* API](https://docs.viam.com/
|
|
128
|
+
* API](https://docs.viam.com/reference/apis/components/arm/#getjointpositions).
|
|
129
129
|
*/
|
|
130
130
|
getJointPositions: (extra?: Struct) => Promise<ArmJointPositions>;
|
|
131
131
|
/**
|
|
@@ -138,8 +138,7 @@ export interface Arm extends Resource {
|
|
|
138
138
|
* await arm.stop();
|
|
139
139
|
* ```
|
|
140
140
|
*
|
|
141
|
-
* For more information, see [Arm
|
|
142
|
-
* API](https://docs.viam.com/dev/reference/apis/components/arm/#stop).
|
|
141
|
+
* For more information, see [Arm API](https://docs.viam.com/reference/apis/components/arm/#stop).
|
|
143
142
|
*/
|
|
144
143
|
stop: (extra?: Struct) => Promise<void>;
|
|
145
144
|
/**
|
|
@@ -154,7 +153,7 @@ export interface Arm extends Resource {
|
|
|
154
153
|
* ```
|
|
155
154
|
*
|
|
156
155
|
* For more information, see [Arm
|
|
157
|
-
* API](https://docs.viam.com/
|
|
156
|
+
* API](https://docs.viam.com/reference/apis/components/arm/#ismoving).
|
|
158
157
|
*/
|
|
159
158
|
isMoving: () => Promise<boolean>;
|
|
160
159
|
/**
|
|
@@ -16,7 +16,7 @@ export interface Base extends Resource {
|
|
|
16
16
|
* ```
|
|
17
17
|
*
|
|
18
18
|
* For more information, see [Base
|
|
19
|
-
* API](https://docs.viam.com/
|
|
19
|
+
* API](https://docs.viam.com/reference/apis/components/base/#getgeometries).
|
|
20
20
|
*/
|
|
21
21
|
getGeometries: (extra?: Struct) => Promise<Geometry[]>;
|
|
22
22
|
/**
|
|
@@ -36,7 +36,7 @@ export interface Base extends Resource {
|
|
|
36
36
|
* ```
|
|
37
37
|
*
|
|
38
38
|
* For more information, see [Base
|
|
39
|
-
* API](https://docs.viam.com/
|
|
39
|
+
* API](https://docs.viam.com/reference/apis/components/base/#movestraight).
|
|
40
40
|
*
|
|
41
41
|
* @param distanceMm - Distance to move, in millimeters.
|
|
42
42
|
* @param mmPerSec - Movement speed, in millimeters per second.
|
|
@@ -59,7 +59,7 @@ export interface Base extends Resource {
|
|
|
59
59
|
* ```
|
|
60
60
|
*
|
|
61
61
|
* For more information, see [Base
|
|
62
|
-
* API](https://docs.viam.com/
|
|
62
|
+
* API](https://docs.viam.com/reference/apis/components/base/#spin).
|
|
63
63
|
*
|
|
64
64
|
* @param angleDeg - Degrees to spin.
|
|
65
65
|
* @param degsPerSec - Angular speed, in degrees per second.
|
|
@@ -99,7 +99,7 @@ export interface Base extends Resource {
|
|
|
99
99
|
* ```
|
|
100
100
|
*
|
|
101
101
|
* For more information, see [Base
|
|
102
|
-
* API](https://docs.viam.com/
|
|
102
|
+
* API](https://docs.viam.com/reference/apis/components/base/#setpower).
|
|
103
103
|
*
|
|
104
104
|
* @param linear - Desired linear power percentage from -1 to 1.
|
|
105
105
|
* @param angular - Desired angular power percentage from -1 to 1.
|
|
@@ -121,7 +121,7 @@ export interface Base extends Resource {
|
|
|
121
121
|
* ```
|
|
122
122
|
*
|
|
123
123
|
* For more information, see [Base
|
|
124
|
-
* API](https://docs.viam.com/
|
|
124
|
+
* API](https://docs.viam.com/reference/apis/components/base/#setvelocity).
|
|
125
125
|
*
|
|
126
126
|
* @param linear - Desired linear velocity in millimeters per second.
|
|
127
127
|
* @param angular - Desired angular velocity in degrees per second.
|
|
@@ -138,7 +138,7 @@ export interface Base extends Resource {
|
|
|
138
138
|
* ```
|
|
139
139
|
*
|
|
140
140
|
* For more information, see [Base
|
|
141
|
-
* API](https://docs.viam.com/
|
|
141
|
+
* API](https://docs.viam.com/reference/apis/components/base/#stop).
|
|
142
142
|
*/
|
|
143
143
|
stop(extra?: Struct): Promise<void>;
|
|
144
144
|
/**
|
|
@@ -152,7 +152,7 @@ export interface Base extends Resource {
|
|
|
152
152
|
* ```
|
|
153
153
|
*
|
|
154
154
|
* For more information, see [Base
|
|
155
|
-
* API](https://docs.viam.com/
|
|
155
|
+
* API](https://docs.viam.com/reference/apis/components/base/#ismoving).
|
|
156
156
|
*/
|
|
157
157
|
isMoving(): Promise<boolean>;
|
|
158
158
|
/**
|
|
@@ -166,7 +166,7 @@ export interface Base extends Resource {
|
|
|
166
166
|
* ```
|
|
167
167
|
*
|
|
168
168
|
* For more information, see [Base
|
|
169
|
-
* API](https://docs.viam.com/
|
|
169
|
+
* API](https://docs.viam.com/reference/apis/components/base/#getproperties).
|
|
170
170
|
*/
|
|
171
171
|
getProperties(extra?: Struct): Promise<BaseProperties>;
|
|
172
172
|
}
|
|
@@ -26,7 +26,7 @@ export interface Board extends Resource {
|
|
|
26
26
|
* ```
|
|
27
27
|
*
|
|
28
28
|
* For more information, see [Board
|
|
29
|
-
* API](https://docs.viam.com/
|
|
29
|
+
* API](https://docs.viam.com/reference/apis/components/board/#getgeometries).
|
|
30
30
|
*/
|
|
31
31
|
getGeometries: (extra?: Struct) => Promise<Geometry[]>;
|
|
32
32
|
/**
|
|
@@ -42,7 +42,7 @@ export interface Board extends Resource {
|
|
|
42
42
|
* ```
|
|
43
43
|
*
|
|
44
44
|
* For more information, see [Board
|
|
45
|
-
* API](https://docs.viam.com/
|
|
45
|
+
* API](https://docs.viam.com/reference/apis/components/board/#getgpio).
|
|
46
46
|
*
|
|
47
47
|
* @param pin - The pin number.
|
|
48
48
|
*/
|
|
@@ -60,7 +60,7 @@ export interface Board extends Resource {
|
|
|
60
60
|
* ```
|
|
61
61
|
*
|
|
62
62
|
* For more information, see [Board
|
|
63
|
-
* API](https://docs.viam.com/
|
|
63
|
+
* API](https://docs.viam.com/reference/apis/components/board/#setgpio).
|
|
64
64
|
*
|
|
65
65
|
* @param pin - The pin number.
|
|
66
66
|
* @param high - When true, set the given pin to high. When false, set the given pin to low.
|
|
@@ -79,7 +79,7 @@ export interface Board extends Resource {
|
|
|
79
79
|
* ```
|
|
80
80
|
*
|
|
81
81
|
* For more information, see [Board
|
|
82
|
-
* API](https://docs.viam.com/
|
|
82
|
+
* API](https://docs.viam.com/reference/apis/components/board/#getpwm).
|
|
83
83
|
*
|
|
84
84
|
* @param pin - The pin number.
|
|
85
85
|
* @returns The duty cycle, which is a value from 0 to 1.
|
|
@@ -99,7 +99,7 @@ export interface Board extends Resource {
|
|
|
99
99
|
* ```
|
|
100
100
|
*
|
|
101
101
|
* For more information, see [Board
|
|
102
|
-
* API](https://docs.viam.com/
|
|
102
|
+
* API](https://docs.viam.com/reference/apis/components/board/#setpwm).
|
|
103
103
|
*
|
|
104
104
|
* @param pin - The pin.
|
|
105
105
|
* @param dutyCyclePct - A value from 0 to 1.
|
|
@@ -117,8 +117,7 @@ export interface Board extends Resource {
|
|
|
117
117
|
* const freq = await board.getPWMFrequency('15');
|
|
118
118
|
* ```
|
|
119
119
|
*
|
|
120
|
-
* For more information, see [Board
|
|
121
|
-
* API](https://docs.viam.com/dev/reference/apis/components/board/#getpwmfrequency).
|
|
120
|
+
* For more information, see [Board API](https://docs.viam.com/reference/apis/components/board/).
|
|
122
121
|
*
|
|
123
122
|
* @param pin - The pin.
|
|
124
123
|
*/
|
|
@@ -136,7 +135,7 @@ export interface Board extends Resource {
|
|
|
136
135
|
* ```
|
|
137
136
|
*
|
|
138
137
|
* For more information, see [Board
|
|
139
|
-
* API](https://docs.viam.com/
|
|
138
|
+
* API](https://docs.viam.com/reference/apis/components/board/#setpwmfrequency).
|
|
140
139
|
*
|
|
141
140
|
* @param pin - The pin.
|
|
142
141
|
* @param frequencyHz - The PWM frequency, in hertz. 0 will use the board's default PWM frequency.
|
|
@@ -156,7 +155,7 @@ export interface Board extends Resource {
|
|
|
156
155
|
* ```
|
|
157
156
|
*
|
|
158
157
|
* For more information, see [Board
|
|
159
|
-
* API](https://docs.viam.com/
|
|
158
|
+
* API](https://docs.viam.com/reference/apis/components/board/#readanalogreader).
|
|
160
159
|
*
|
|
161
160
|
* @param analogReader - The name of the analog reader.
|
|
162
161
|
*/
|
|
@@ -174,7 +173,7 @@ export interface Board extends Resource {
|
|
|
174
173
|
* ```
|
|
175
174
|
*
|
|
176
175
|
* For more information, see [Board
|
|
177
|
-
* API](https://docs.viam.com/
|
|
176
|
+
* API](https://docs.viam.com/reference/apis/components/board/#writeanalog).
|
|
178
177
|
*
|
|
179
178
|
* @param pin - The pin name.
|
|
180
179
|
* @param value - An integer value to write.
|
|
@@ -193,7 +192,7 @@ export interface Board extends Resource {
|
|
|
193
192
|
* ```
|
|
194
193
|
*
|
|
195
194
|
* For more information, see [Board
|
|
196
|
-
* API](https://docs.viam.com/
|
|
195
|
+
* API](https://docs.viam.com/reference/apis/components/board/#getdigitalinterruptvalue).
|
|
197
196
|
*
|
|
198
197
|
* @param digitalInterruptName - The name of the digital interrupt.
|
|
199
198
|
*/
|
|
@@ -217,7 +216,7 @@ export interface Board extends Resource {
|
|
|
217
216
|
* ```
|
|
218
217
|
*
|
|
219
218
|
* For more information, see [Board
|
|
220
|
-
* API](https://docs.viam.com/
|
|
219
|
+
* API](https://docs.viam.com/reference/apis/components/board/#streamticks).
|
|
221
220
|
*
|
|
222
221
|
* @param interrupts - Names of the interrupts to stream.
|
|
223
222
|
* @param queue - Array to put the ticks in.
|
|
@@ -237,7 +236,7 @@ export interface Board extends Resource {
|
|
|
237
236
|
* ```
|
|
238
237
|
*
|
|
239
238
|
* For more information, see [Board
|
|
240
|
-
* API](https://docs.viam.com/
|
|
239
|
+
* API](https://docs.viam.com/reference/apis/components/board/#setpowermode).
|
|
241
240
|
*
|
|
242
241
|
* @param powerMode - The requested power mode.
|
|
243
242
|
* @param duration - The requested duration to stay in power mode.
|
|
@@ -15,7 +15,7 @@ export interface Button extends Resource {
|
|
|
15
15
|
* ```
|
|
16
16
|
*
|
|
17
17
|
* For more information, see [Button
|
|
18
|
-
* API](https://docs.viam.com/
|
|
18
|
+
* API](https://docs.viam.com/reference/apis/components/button/#push).
|
|
19
19
|
*/
|
|
20
20
|
push: (extra?: Struct) => Promise<void>;
|
|
21
21
|
}
|
|
@@ -55,7 +55,7 @@ export interface Camera extends Resource {
|
|
|
55
55
|
* ```
|
|
56
56
|
*
|
|
57
57
|
* For more information, see [Camera
|
|
58
|
-
* API](https://docs.viam.com/
|
|
58
|
+
* API](https://docs.viam.com/reference/apis/components/camera/#getpointcloud).
|
|
59
59
|
*/
|
|
60
60
|
getPointCloud: (extra?: Struct) => Promise<Uint8Array>;
|
|
61
61
|
/**
|
|
@@ -69,7 +69,7 @@ export interface Camera extends Resource {
|
|
|
69
69
|
* ```
|
|
70
70
|
*
|
|
71
71
|
* For more information, see [Camera
|
|
72
|
-
* API](https://docs.viam.com/
|
|
72
|
+
* API](https://docs.viam.com/reference/apis/components/camera/#getproperties).
|
|
73
73
|
*/
|
|
74
74
|
getProperties: () => Promise<Properties>;
|
|
75
75
|
}
|