@viamrobotics/sdk 0.49.0 → 0.49.1
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/constants.d.ts +1 -1
- package/dist/gen/app/data/v1/data_connect.d.ts +4 -0
- package/dist/gen/app/data/v1/data_pb.d.ts +8 -0
- package/dist/gen/service/datamanager/v1/data_manager_connect.d.ts +12 -1
- package/dist/gen/service/datamanager/v1/data_manager_pb.d.ts +71 -0
- package/dist/gen/service/motion/v1/motion_pb.d.ts +41 -2
- package/dist/main.es.js +1617 -1528
- package/dist/main.umd.js +7 -7
- package/dist/robot/client.d.ts +70 -17
- package/dist/robot/dial.d.ts +1 -46
- package/dist/robot/robot.d.ts +1 -2
- package/dist/robot/session-manager.d.ts +2 -1
- package/dist/robot.d.ts +2 -2
- package/dist/services/data-manager/client.d.ts +27 -0
- package/dist/services/data-manager/data-manager.d.ts +2 -0
- package/dist/services/motion/types.d.ts +2 -1
- package/package.json +1 -1
package/dist/api-version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const apiVersion = "v0.1.
|
|
1
|
+
export declare const apiVersion = "v0.1.474";
|
package/dist/constants.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const DIAL_TIMEOUT =
|
|
1
|
+
export declare const DIAL_TIMEOUT = 10000;
|
|
@@ -140,6 +140,7 @@ export declare const DataService: {
|
|
|
140
140
|
* AddTagsToBinaryDataByFilter adds string tags, unless the tags are already present, to binary data based on the given filter.
|
|
141
141
|
*
|
|
142
142
|
* @generated from rpc viam.app.data.v1.DataService.AddTagsToBinaryDataByFilter
|
|
143
|
+
* @deprecated
|
|
143
144
|
*/
|
|
144
145
|
readonly addTagsToBinaryDataByFilter: {
|
|
145
146
|
readonly name: "AddTagsToBinaryDataByFilter",
|
|
@@ -162,6 +163,7 @@ export declare const DataService: {
|
|
|
162
163
|
* RemoveTagsToBinaryDataByFilter removes string tags from binary data based on the given filter.
|
|
163
164
|
*
|
|
164
165
|
* @generated from rpc viam.app.data.v1.DataService.RemoveTagsFromBinaryDataByFilter
|
|
166
|
+
* @deprecated
|
|
165
167
|
*/
|
|
166
168
|
readonly removeTagsFromBinaryDataByFilter: {
|
|
167
169
|
readonly name: "RemoveTagsFromBinaryDataByFilter",
|
|
@@ -173,6 +175,7 @@ export declare const DataService: {
|
|
|
173
175
|
* TagsByFilter gets all unique tags from data based on given filter.
|
|
174
176
|
*
|
|
175
177
|
* @generated from rpc viam.app.data.v1.DataService.TagsByFilter
|
|
178
|
+
* @deprecated
|
|
176
179
|
*/
|
|
177
180
|
readonly tagsByFilter: {
|
|
178
181
|
readonly name: "TagsByFilter",
|
|
@@ -206,6 +209,7 @@ export declare const DataService: {
|
|
|
206
209
|
* BoundingBoxLabelsByFilter gets all string labels for bounding boxes from data based on given filter.
|
|
207
210
|
*
|
|
208
211
|
* @generated from rpc viam.app.data.v1.DataService.BoundingBoxLabelsByFilter
|
|
212
|
+
* @deprecated
|
|
209
213
|
*/
|
|
210
214
|
readonly boundingBoxLabelsByFilter: {
|
|
211
215
|
readonly name: "BoundingBoxLabelsByFilter",
|
|
@@ -1558,6 +1558,7 @@ export declare class AddTagsToBinaryDataByIDsResponse extends Message<AddTagsToB
|
|
|
1558
1558
|
* AddTagsToBinaryDataByFilterRequest requests adding all specified tags to each of the files when a filter is provided.
|
|
1559
1559
|
*
|
|
1560
1560
|
* @generated from message viam.app.data.v1.AddTagsToBinaryDataByFilterRequest
|
|
1561
|
+
* @deprecated
|
|
1561
1562
|
*/
|
|
1562
1563
|
export declare class AddTagsToBinaryDataByFilterRequest extends Message<AddTagsToBinaryDataByFilterRequest> {
|
|
1563
1564
|
/**
|
|
@@ -1587,6 +1588,7 @@ export declare class AddTagsToBinaryDataByFilterRequest extends Message<AddTagsT
|
|
|
1587
1588
|
|
|
1588
1589
|
/**
|
|
1589
1590
|
* @generated from message viam.app.data.v1.AddTagsToBinaryDataByFilterResponse
|
|
1591
|
+
* @deprecated
|
|
1590
1592
|
*/
|
|
1591
1593
|
export declare class AddTagsToBinaryDataByFilterResponse extends Message<AddTagsToBinaryDataByFilterResponse> {
|
|
1592
1594
|
constructor(data?: PartialMessage<AddTagsToBinaryDataByFilterResponse>);
|
|
@@ -1671,6 +1673,7 @@ export declare class RemoveTagsFromBinaryDataByIDsResponse extends Message<Remov
|
|
|
1671
1673
|
* RemoveTagsFromBinaryDataByFilterRequest requests removing the given tags value from each file when a filter is provided.
|
|
1672
1674
|
*
|
|
1673
1675
|
* @generated from message viam.app.data.v1.RemoveTagsFromBinaryDataByFilterRequest
|
|
1676
|
+
* @deprecated
|
|
1674
1677
|
*/
|
|
1675
1678
|
export declare class RemoveTagsFromBinaryDataByFilterRequest extends Message<RemoveTagsFromBinaryDataByFilterRequest> {
|
|
1676
1679
|
/**
|
|
@@ -1702,6 +1705,7 @@ export declare class RemoveTagsFromBinaryDataByFilterRequest extends Message<Rem
|
|
|
1702
1705
|
* RemoveTagsFromBinaryDataByFilterResponse returns the number of binary files which had tags removed.
|
|
1703
1706
|
*
|
|
1704
1707
|
* @generated from message viam.app.data.v1.RemoveTagsFromBinaryDataByFilterResponse
|
|
1708
|
+
* @deprecated
|
|
1705
1709
|
*/
|
|
1706
1710
|
export declare class RemoveTagsFromBinaryDataByFilterResponse extends Message<RemoveTagsFromBinaryDataByFilterResponse> {
|
|
1707
1711
|
/**
|
|
@@ -1728,6 +1732,7 @@ export declare class RemoveTagsFromBinaryDataByFilterResponse extends Message<Re
|
|
|
1728
1732
|
* TagsByFilterRequest requests the unique tags from data based on given filter.
|
|
1729
1733
|
*
|
|
1730
1734
|
* @generated from message viam.app.data.v1.TagsByFilterRequest
|
|
1735
|
+
* @deprecated
|
|
1731
1736
|
*/
|
|
1732
1737
|
export declare class TagsByFilterRequest extends Message<TagsByFilterRequest> {
|
|
1733
1738
|
/**
|
|
@@ -1754,6 +1759,7 @@ export declare class TagsByFilterRequest extends Message<TagsByFilterRequest> {
|
|
|
1754
1759
|
* TagsByFilterResponse returns the unique tags from data based on given filter.
|
|
1755
1760
|
*
|
|
1756
1761
|
* @generated from message viam.app.data.v1.TagsByFilterResponse
|
|
1762
|
+
* @deprecated
|
|
1757
1763
|
*/
|
|
1758
1764
|
export declare class TagsByFilterResponse extends Message<TagsByFilterResponse> {
|
|
1759
1765
|
/**
|
|
@@ -2001,6 +2007,7 @@ export declare class UpdateBoundingBoxResponse extends Message<UpdateBoundingBox
|
|
|
2001
2007
|
* BoundingBoxLabelsByFilterRequest requests all the labels of the bounding boxes from files from a given filter.
|
|
2002
2008
|
*
|
|
2003
2009
|
* @generated from message viam.app.data.v1.BoundingBoxLabelsByFilterRequest
|
|
2010
|
+
* @deprecated
|
|
2004
2011
|
*/
|
|
2005
2012
|
export declare class BoundingBoxLabelsByFilterRequest extends Message<BoundingBoxLabelsByFilterRequest> {
|
|
2006
2013
|
/**
|
|
@@ -2027,6 +2034,7 @@ export declare class BoundingBoxLabelsByFilterRequest extends Message<BoundingBo
|
|
|
2027
2034
|
* BoundingBoxLabelsByFilterRequest returns all the labels of the bounding boxes from files from a given filter.
|
|
2028
2035
|
*
|
|
2029
2036
|
* @generated from message viam.app.data.v1.BoundingBoxLabelsByFilterResponse
|
|
2037
|
+
* @deprecated
|
|
2030
2038
|
*/
|
|
2031
2039
|
export declare class BoundingBoxLabelsByFilterResponse extends Message<BoundingBoxLabelsByFilterResponse> {
|
|
2032
2040
|
/**
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
|
-
import { SyncRequest, SyncResponse } from "./data_manager_pb.js";
|
|
6
|
+
import { SyncRequest, SyncResponse, UploadBinaryDataToDatasetsRequest, UploadBinaryDataToDatasetsResponse } from "./data_manager_pb.js";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
import { DoCommandRequest, DoCommandResponse } from "../../../common/v1/common_pb.js";
|
|
9
9
|
|
|
@@ -37,6 +37,17 @@ export declare const DataManagerService: {
|
|
|
37
37
|
readonly O: typeof DoCommandResponse,
|
|
38
38
|
readonly kind: MethodKind.Unary,
|
|
39
39
|
},
|
|
40
|
+
/**
|
|
41
|
+
* UploadBinaryDataToDatasets uploads binary data to specified datasets.
|
|
42
|
+
*
|
|
43
|
+
* @generated from rpc viam.service.datamanager.v1.DataManagerService.UploadBinaryDataToDatasets
|
|
44
|
+
*/
|
|
45
|
+
readonly uploadBinaryDataToDatasets: {
|
|
46
|
+
readonly name: "UploadBinaryDataToDatasets",
|
|
47
|
+
readonly I: typeof UploadBinaryDataToDatasetsRequest,
|
|
48
|
+
readonly O: typeof UploadBinaryDataToDatasetsResponse,
|
|
49
|
+
readonly kind: MethodKind.Unary,
|
|
50
|
+
},
|
|
40
51
|
}
|
|
41
52
|
};
|
|
42
53
|
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Struct } from "@bufbuild/protobuf";
|
|
7
7
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
8
|
+
import type { MimeType } from "../../../app/datasync/v1/data_sync_pb.js";
|
|
8
9
|
|
|
9
10
|
/**
|
|
10
11
|
* @generated from message viam.service.datamanager.v1.SyncRequest
|
|
@@ -56,3 +57,73 @@ export declare class SyncResponse extends Message<SyncResponse> {
|
|
|
56
57
|
static equals(a: SyncResponse | PlainMessage<SyncResponse> | undefined, b: SyncResponse | PlainMessage<SyncResponse> | undefined): boolean;
|
|
57
58
|
}
|
|
58
59
|
|
|
60
|
+
/**
|
|
61
|
+
* @generated from message viam.service.datamanager.v1.UploadBinaryDataToDatasetsRequest
|
|
62
|
+
*/
|
|
63
|
+
export declare class UploadBinaryDataToDatasetsRequest extends Message<UploadBinaryDataToDatasetsRequest> {
|
|
64
|
+
/**
|
|
65
|
+
* @generated from field: string name = 1;
|
|
66
|
+
*/
|
|
67
|
+
name: string;
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* @generated from field: bytes binary_data = 2;
|
|
71
|
+
*/
|
|
72
|
+
binaryData: Uint8Array;
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* @generated from field: repeated string tags = 3;
|
|
76
|
+
*/
|
|
77
|
+
tags: string[];
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* @generated from field: repeated string dataset_ids = 4;
|
|
81
|
+
*/
|
|
82
|
+
datasetIds: string[];
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* @generated from field: viam.app.datasync.v1.MimeType mime_type = 5;
|
|
86
|
+
*/
|
|
87
|
+
mimeType: MimeType;
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Additional arguments to the method
|
|
91
|
+
*
|
|
92
|
+
* @generated from field: google.protobuf.Struct extra = 99;
|
|
93
|
+
*/
|
|
94
|
+
extra?: Struct;
|
|
95
|
+
|
|
96
|
+
constructor(data?: PartialMessage<UploadBinaryDataToDatasetsRequest>);
|
|
97
|
+
|
|
98
|
+
static readonly runtime: typeof proto3;
|
|
99
|
+
static readonly typeName = "viam.service.datamanager.v1.UploadBinaryDataToDatasetsRequest";
|
|
100
|
+
static readonly fields: FieldList;
|
|
101
|
+
|
|
102
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UploadBinaryDataToDatasetsRequest;
|
|
103
|
+
|
|
104
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UploadBinaryDataToDatasetsRequest;
|
|
105
|
+
|
|
106
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UploadBinaryDataToDatasetsRequest;
|
|
107
|
+
|
|
108
|
+
static equals(a: UploadBinaryDataToDatasetsRequest | PlainMessage<UploadBinaryDataToDatasetsRequest> | undefined, b: UploadBinaryDataToDatasetsRequest | PlainMessage<UploadBinaryDataToDatasetsRequest> | undefined): boolean;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* @generated from message viam.service.datamanager.v1.UploadBinaryDataToDatasetsResponse
|
|
113
|
+
*/
|
|
114
|
+
export declare class UploadBinaryDataToDatasetsResponse extends Message<UploadBinaryDataToDatasetsResponse> {
|
|
115
|
+
constructor(data?: PartialMessage<UploadBinaryDataToDatasetsResponse>);
|
|
116
|
+
|
|
117
|
+
static readonly runtime: typeof proto3;
|
|
118
|
+
static readonly typeName = "viam.service.datamanager.v1.UploadBinaryDataToDatasetsResponse";
|
|
119
|
+
static readonly fields: FieldList;
|
|
120
|
+
|
|
121
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UploadBinaryDataToDatasetsResponse;
|
|
122
|
+
|
|
123
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UploadBinaryDataToDatasetsResponse;
|
|
124
|
+
|
|
125
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UploadBinaryDataToDatasetsResponse;
|
|
126
|
+
|
|
127
|
+
static equals(a: UploadBinaryDataToDatasetsResponse | PlainMessage<UploadBinaryDataToDatasetsResponse> | undefined, b: UploadBinaryDataToDatasetsResponse | PlainMessage<UploadBinaryDataToDatasetsResponse> | undefined): boolean;
|
|
128
|
+
}
|
|
129
|
+
|
|
@@ -749,12 +749,17 @@ export declare class Constraints extends Message<Constraints> {
|
|
|
749
749
|
orientationConstraint: OrientationConstraint[];
|
|
750
750
|
|
|
751
751
|
/**
|
|
752
|
-
* Arc constraint, Time constraint, and others will be added here when they are supported
|
|
753
|
-
*
|
|
754
752
|
* @generated from field: repeated viam.service.motion.v1.CollisionSpecification collision_specification = 3;
|
|
755
753
|
*/
|
|
756
754
|
collisionSpecification: CollisionSpecification[];
|
|
757
755
|
|
|
756
|
+
/**
|
|
757
|
+
* Arc constraint, Time constraint, and others will be added here when they are supported
|
|
758
|
+
*
|
|
759
|
+
* @generated from field: repeated viam.service.motion.v1.PseudolinearConstraint pseudolinear_constraint = 4;
|
|
760
|
+
*/
|
|
761
|
+
pseudolinearConstraint: PseudolinearConstraint[];
|
|
762
|
+
|
|
758
763
|
constructor(data?: PartialMessage<Constraints>);
|
|
759
764
|
|
|
760
765
|
static readonly runtime: typeof proto3;
|
|
@@ -806,6 +811,40 @@ export declare class LinearConstraint extends Message<LinearConstraint> {
|
|
|
806
811
|
static equals(a: LinearConstraint | PlainMessage<LinearConstraint> | undefined, b: LinearConstraint | PlainMessage<LinearConstraint> | undefined): boolean;
|
|
807
812
|
}
|
|
808
813
|
|
|
814
|
+
/**
|
|
815
|
+
* PseudolinearConstraint specifies that the component being moved should not deviate from the straight-line path to their goal by
|
|
816
|
+
* more than a factor proportional to the distance from start to goal.
|
|
817
|
+
* For example, if a component is moving 100mm, then a LineToleranceFactor of 1.0 means that the component will remain within a 100mm
|
|
818
|
+
* radius of the straight-line start-goal path.
|
|
819
|
+
*
|
|
820
|
+
* @generated from message viam.service.motion.v1.PseudolinearConstraint
|
|
821
|
+
*/
|
|
822
|
+
export declare class PseudolinearConstraint extends Message<PseudolinearConstraint> {
|
|
823
|
+
/**
|
|
824
|
+
* @generated from field: optional float line_tolerance_factor = 1;
|
|
825
|
+
*/
|
|
826
|
+
lineToleranceFactor?: number;
|
|
827
|
+
|
|
828
|
+
/**
|
|
829
|
+
* @generated from field: optional float orientation_tolerance_factor = 2;
|
|
830
|
+
*/
|
|
831
|
+
orientationToleranceFactor?: number;
|
|
832
|
+
|
|
833
|
+
constructor(data?: PartialMessage<PseudolinearConstraint>);
|
|
834
|
+
|
|
835
|
+
static readonly runtime: typeof proto3;
|
|
836
|
+
static readonly typeName = "viam.service.motion.v1.PseudolinearConstraint";
|
|
837
|
+
static readonly fields: FieldList;
|
|
838
|
+
|
|
839
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PseudolinearConstraint;
|
|
840
|
+
|
|
841
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PseudolinearConstraint;
|
|
842
|
+
|
|
843
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PseudolinearConstraint;
|
|
844
|
+
|
|
845
|
+
static equals(a: PseudolinearConstraint | PlainMessage<PseudolinearConstraint> | undefined, b: PseudolinearConstraint | PlainMessage<PseudolinearConstraint> | undefined): boolean;
|
|
846
|
+
}
|
|
847
|
+
|
|
809
848
|
/**
|
|
810
849
|
* OrientationConstraint specifies that the component being moved will not deviate its orientation beyond some threshold relative
|
|
811
850
|
* to the goal. It does not constrain the motion of components other than the `component_name` specified in motion.Move
|