@viamrobotics/sdk 0.28.0 → 0.29.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/gen/app/data/v1/data_pb.d.ts +45 -0
- package/dist/gen/app/datasync/v1/data_sync_pb.d.ts +38 -1
- package/dist/gen/app/v1/app_pb.d.ts +14 -19
- package/dist/gen/app/v1/robot_pb.d.ts +5 -0
- package/dist/gen/common/v1/common_pb.d.ts +10 -0
- package/dist/gen/google/api/client_pb.d.ts +10 -0
- package/dist/main.es.js +2260 -2234
- package/dist/main.umd.js +7 -7
- package/dist/robot/dial.d.ts +1 -0
- package/package.json +2 -2
package/dist/api-version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const apiVersion = "v0.1.
|
|
1
|
+
export declare const apiVersion = "v0.1.360";
|
|
@@ -852,6 +852,13 @@ export declare class BoundingBox extends Message<BoundingBox> {
|
|
|
852
852
|
*/
|
|
853
853
|
yMaxNormalized: number;
|
|
854
854
|
|
|
855
|
+
/**
|
|
856
|
+
* confidence is an optional range from 0 - 1
|
|
857
|
+
*
|
|
858
|
+
* @generated from field: optional double confidence = 7;
|
|
859
|
+
*/
|
|
860
|
+
confidence?: number;
|
|
861
|
+
|
|
855
862
|
constructor(data?: PartialMessage<BoundingBox>);
|
|
856
863
|
|
|
857
864
|
static readonly runtime: typeof proto3;
|
|
@@ -867,6 +874,39 @@ export declare class BoundingBox extends Message<BoundingBox> {
|
|
|
867
874
|
static equals(a: BoundingBox | PlainMessage<BoundingBox> | undefined, b: BoundingBox | PlainMessage<BoundingBox> | undefined): boolean;
|
|
868
875
|
}
|
|
869
876
|
|
|
877
|
+
/**
|
|
878
|
+
* Classification represents a confidence score with a label.
|
|
879
|
+
*
|
|
880
|
+
* @generated from message viam.app.data.v1.Classification
|
|
881
|
+
*/
|
|
882
|
+
export declare class Classification extends Message<Classification> {
|
|
883
|
+
/**
|
|
884
|
+
* @generated from field: string label = 1;
|
|
885
|
+
*/
|
|
886
|
+
label: string;
|
|
887
|
+
|
|
888
|
+
/**
|
|
889
|
+
* confidence is an optional range from 0 - 1
|
|
890
|
+
*
|
|
891
|
+
* @generated from field: optional double confidence = 2;
|
|
892
|
+
*/
|
|
893
|
+
confidence?: number;
|
|
894
|
+
|
|
895
|
+
constructor(data?: PartialMessage<Classification>);
|
|
896
|
+
|
|
897
|
+
static readonly runtime: typeof proto3;
|
|
898
|
+
static readonly typeName = "viam.app.data.v1.Classification";
|
|
899
|
+
static readonly fields: FieldList;
|
|
900
|
+
|
|
901
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Classification;
|
|
902
|
+
|
|
903
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Classification;
|
|
904
|
+
|
|
905
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Classification;
|
|
906
|
+
|
|
907
|
+
static equals(a: Classification | PlainMessage<Classification> | undefined, b: Classification | PlainMessage<Classification> | undefined): boolean;
|
|
908
|
+
}
|
|
909
|
+
|
|
870
910
|
/**
|
|
871
911
|
* Annotations are data annotations used for machine learning.
|
|
872
912
|
*
|
|
@@ -878,6 +918,11 @@ export declare class Annotations extends Message<Annotations> {
|
|
|
878
918
|
*/
|
|
879
919
|
bboxes: BoundingBox[];
|
|
880
920
|
|
|
921
|
+
/**
|
|
922
|
+
* @generated from field: repeated viam.app.data.v1.Classification classifications = 2;
|
|
923
|
+
*/
|
|
924
|
+
classifications: Classification[];
|
|
925
|
+
|
|
881
926
|
constructor(data?: PartialMessage<Annotations>);
|
|
882
927
|
|
|
883
928
|
static readonly runtime: typeof proto3;
|
|
@@ -5,6 +5,32 @@
|
|
|
5
5
|
|
|
6
6
|
import type { Any, BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Struct, Timestamp } from "@bufbuild/protobuf";
|
|
7
7
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
8
|
+
import type { Annotations } from "../../data/v1/data_pb.js";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* @generated from enum viam.app.datasync.v1.MimeType
|
|
12
|
+
*/
|
|
13
|
+
export declare enum MimeType {
|
|
14
|
+
/**
|
|
15
|
+
* @generated from enum value: MIME_TYPE_UNSPECIFIED = 0;
|
|
16
|
+
*/
|
|
17
|
+
UNSPECIFIED = 0,
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* @generated from enum value: MIME_TYPE_IMAGE_JPEG = 1;
|
|
21
|
+
*/
|
|
22
|
+
IMAGE_JPEG = 1,
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* @generated from enum value: MIME_TYPE_IMAGE_PNG = 2;
|
|
26
|
+
*/
|
|
27
|
+
IMAGE_PNG = 2,
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* @generated from enum value: MIME_TYPE_APPLICATION_PCD = 3;
|
|
31
|
+
*/
|
|
32
|
+
APPLICATION_PCD = 3,
|
|
33
|
+
}
|
|
8
34
|
|
|
9
35
|
/**
|
|
10
36
|
* DataType specifies the type of data uploaded.
|
|
@@ -221,7 +247,8 @@ export declare class StreamingDataCaptureUploadResponse extends Message<Streamin
|
|
|
221
247
|
}
|
|
222
248
|
|
|
223
249
|
/**
|
|
224
|
-
* SensorMetadata contains the time the sensor data was requested and was
|
|
250
|
+
* SensorMetadata contains the time the sensor data was requested and was
|
|
251
|
+
* received.
|
|
225
252
|
*
|
|
226
253
|
* @generated from message viam.app.datasync.v1.SensorMetadata
|
|
227
254
|
*/
|
|
@@ -236,6 +263,16 @@ export declare class SensorMetadata extends Message<SensorMetadata> {
|
|
|
236
263
|
*/
|
|
237
264
|
timeReceived?: Timestamp;
|
|
238
265
|
|
|
266
|
+
/**
|
|
267
|
+
* @generated from field: viam.app.datasync.v1.MimeType mime_type = 3;
|
|
268
|
+
*/
|
|
269
|
+
mimeType: MimeType;
|
|
270
|
+
|
|
271
|
+
/**
|
|
272
|
+
* @generated from field: viam.app.data.v1.Annotations annotations = 4;
|
|
273
|
+
*/
|
|
274
|
+
annotations?: Annotations;
|
|
275
|
+
|
|
239
276
|
constructor(data?: PartialMessage<SensorMetadata>);
|
|
240
277
|
|
|
241
278
|
static readonly runtime: typeof proto3;
|
|
@@ -1242,11 +1242,6 @@ export declare class UpdateBillingServiceRequest extends Message<UpdateBillingSe
|
|
|
1242
1242
|
*/
|
|
1243
1243
|
billingAddress?: BillingAddress;
|
|
1244
1244
|
|
|
1245
|
-
/**
|
|
1246
|
-
* @generated from field: string billing_support_email = 3;
|
|
1247
|
-
*/
|
|
1248
|
-
billingSupportEmail: string;
|
|
1249
|
-
|
|
1250
1245
|
constructor(data?: PartialMessage<UpdateBillingServiceRequest>);
|
|
1251
1246
|
|
|
1252
1247
|
static readonly runtime: typeof proto3;
|
|
@@ -3131,37 +3126,37 @@ export declare class FragmentError extends Message<FragmentError> {
|
|
|
3131
3126
|
}
|
|
3132
3127
|
|
|
3133
3128
|
/**
|
|
3134
|
-
* @generated from message viam.app.v1.
|
|
3129
|
+
* @generated from message viam.app.v1.ResolvedFragment
|
|
3135
3130
|
*/
|
|
3136
|
-
export declare class
|
|
3131
|
+
export declare class ResolvedFragment extends Message<ResolvedFragment> {
|
|
3137
3132
|
/**
|
|
3138
|
-
* @generated from field: string
|
|
3133
|
+
* @generated from field: string fragment_id = 1;
|
|
3139
3134
|
*/
|
|
3140
|
-
|
|
3135
|
+
fragmentId: string;
|
|
3141
3136
|
|
|
3142
3137
|
/**
|
|
3143
|
-
* @generated from field:
|
|
3138
|
+
* @generated from field: google.protobuf.Struct resolved_config = 2;
|
|
3144
3139
|
*/
|
|
3145
|
-
|
|
3140
|
+
resolvedConfig?: Struct;
|
|
3146
3141
|
|
|
3147
3142
|
/**
|
|
3148
3143
|
* @generated from field: viam.app.v1.FragmentError error = 3;
|
|
3149
3144
|
*/
|
|
3150
3145
|
error?: FragmentError;
|
|
3151
3146
|
|
|
3152
|
-
constructor(data?: PartialMessage<
|
|
3147
|
+
constructor(data?: PartialMessage<ResolvedFragment>);
|
|
3153
3148
|
|
|
3154
3149
|
static readonly runtime: typeof proto3;
|
|
3155
|
-
static readonly typeName = "viam.app.v1.
|
|
3150
|
+
static readonly typeName = "viam.app.v1.ResolvedFragment";
|
|
3156
3151
|
static readonly fields: FieldList;
|
|
3157
3152
|
|
|
3158
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
3153
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ResolvedFragment;
|
|
3159
3154
|
|
|
3160
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
3155
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ResolvedFragment;
|
|
3161
3156
|
|
|
3162
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
3157
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ResolvedFragment;
|
|
3163
3158
|
|
|
3164
|
-
static equals(a:
|
|
3159
|
+
static equals(a: ResolvedFragment | PlainMessage<ResolvedFragment> | undefined, b: ResolvedFragment | PlainMessage<ResolvedFragment> | undefined): boolean;
|
|
3165
3160
|
}
|
|
3166
3161
|
|
|
3167
3162
|
/**
|
|
@@ -3576,9 +3571,9 @@ export declare class ListMachineFragmentsResponse extends Message<ListMachineFra
|
|
|
3576
3571
|
fragments: Fragment[];
|
|
3577
3572
|
|
|
3578
3573
|
/**
|
|
3579
|
-
* @generated from field: repeated viam.app.v1.
|
|
3574
|
+
* @generated from field: repeated viam.app.v1.ResolvedFragment resolved_fragments = 2;
|
|
3580
3575
|
*/
|
|
3581
|
-
|
|
3576
|
+
resolvedFragments: ResolvedFragment[];
|
|
3582
3577
|
|
|
3583
3578
|
constructor(data?: PartialMessage<ListMachineFragmentsResponse>);
|
|
3584
3579
|
|
|
@@ -478,6 +478,11 @@ export declare class ProcessConfig extends Message<ProcessConfig> {
|
|
|
478
478
|
*/
|
|
479
479
|
env: { [key: string]: string };
|
|
480
480
|
|
|
481
|
+
/**
|
|
482
|
+
* @generated from field: string username = 10;
|
|
483
|
+
*/
|
|
484
|
+
username: string;
|
|
485
|
+
|
|
481
486
|
constructor(data?: PartialMessage<ProcessConfig>);
|
|
482
487
|
|
|
483
488
|
static readonly runtime: typeof proto3;
|
|
@@ -52,6 +52,16 @@ export declare class ResourceName extends Message<ResourceName> {
|
|
|
52
52
|
*/
|
|
53
53
|
name: string;
|
|
54
54
|
|
|
55
|
+
/**
|
|
56
|
+
* @generated from field: repeated string remote_path = 5;
|
|
57
|
+
*/
|
|
58
|
+
remotePath: string[];
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* @generated from field: string local_name = 6;
|
|
62
|
+
*/
|
|
63
|
+
localName: string;
|
|
64
|
+
|
|
55
65
|
constructor(data?: PartialMessage<ResourceName>);
|
|
56
66
|
|
|
57
67
|
static readonly runtime: typeof proto3;
|
|
@@ -545,6 +545,16 @@ export declare class PythonSettings_ExperimentalFeatures extends Message<PythonS
|
|
|
545
545
|
*/
|
|
546
546
|
restAsyncIoEnabled: boolean;
|
|
547
547
|
|
|
548
|
+
/**
|
|
549
|
+
* Enables generation of protobuf code using new types that are more
|
|
550
|
+
* Pythonic which are included in `protobuf>=5.29.x`. This feature will be
|
|
551
|
+
* enabled by default 1 month after launching the feature in preview
|
|
552
|
+
* packages.
|
|
553
|
+
*
|
|
554
|
+
* @generated from field: bool protobuf_pythonic_types_enabled = 2;
|
|
555
|
+
*/
|
|
556
|
+
protobufPythonicTypesEnabled: boolean;
|
|
557
|
+
|
|
548
558
|
constructor(data?: PartialMessage<PythonSettings_ExperimentalFeatures>);
|
|
549
559
|
|
|
550
560
|
static readonly runtime: typeof proto3;
|