@viamrobotics/sdk 0.37.0 → 0.38.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/README.md +2 -2
- package/dist/api-version.d.ts +1 -1
- package/dist/app/app-client.d.ts +58 -1
- package/dist/gen/app/data/v1/data_pb.d.ts +50 -0
- package/dist/gen/app/datapipelines/v1/data_pipelines_connect.d.ts +74 -0
- package/dist/gen/app/datapipelines/v1/data_pipelines_pb.d.ts +378 -0
- package/dist/gen/app/datasync/v1/data_sync_pb.d.ts +15 -0
- package/dist/gen/app/mlinference/v1/ml_inference_pb.d.ts +5 -0
- package/dist/gen/app/mltraining/v1/ml_training_pb.d.ts +5 -0
- package/dist/gen/app/v1/app_connect.d.ts +21 -1
- package/dist/gen/app/v1/app_pb.d.ts +423 -23
- package/dist/gen/common/v1/common_pb.d.ts +40 -1
- package/dist/gen/grpc/reflection/v1/reflection_connect.d.ts +50 -0
- package/dist/gen/grpc/reflection/v1/reflection_pb.d.ts +384 -0
- package/dist/gen/robot/v1/robot_connect.d.ts +12 -14
- package/dist/gen/robot/v1/robot_pb.d.ts +72 -115
- package/dist/gen/service/vision/v1/vision_pb.d.ts +22 -0
- package/dist/main.es.js +5016 -4487
- package/dist/main.umd.js +7 -7
- package/dist/robot/client.d.ts +7 -8
- package/dist/robot/robot.d.ts +2 -12
- package/dist/robot/session-manager.d.ts +5 -1
- package/dist/robot/session-transport.d.ts +1 -1
- package/package.json +2 -2
|
@@ -80,6 +80,78 @@ export declare class TunnelResponse extends Message<TunnelResponse> {
|
|
|
80
80
|
static equals(a: TunnelResponse | PlainMessage<TunnelResponse> | undefined, b: TunnelResponse | PlainMessage<TunnelResponse> | undefined): boolean;
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
+
/**
|
|
84
|
+
* @generated from message viam.robot.v1.ListTunnelsRequest
|
|
85
|
+
*/
|
|
86
|
+
export declare class ListTunnelsRequest extends Message<ListTunnelsRequest> {
|
|
87
|
+
constructor(data?: PartialMessage<ListTunnelsRequest>);
|
|
88
|
+
|
|
89
|
+
static readonly runtime: typeof proto3;
|
|
90
|
+
static readonly typeName = "viam.robot.v1.ListTunnelsRequest";
|
|
91
|
+
static readonly fields: FieldList;
|
|
92
|
+
|
|
93
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListTunnelsRequest;
|
|
94
|
+
|
|
95
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListTunnelsRequest;
|
|
96
|
+
|
|
97
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListTunnelsRequest;
|
|
98
|
+
|
|
99
|
+
static equals(a: ListTunnelsRequest | PlainMessage<ListTunnelsRequest> | undefined, b: ListTunnelsRequest | PlainMessage<ListTunnelsRequest> | undefined): boolean;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* @generated from message viam.robot.v1.ListTunnelsResponse
|
|
104
|
+
*/
|
|
105
|
+
export declare class ListTunnelsResponse extends Message<ListTunnelsResponse> {
|
|
106
|
+
/**
|
|
107
|
+
* @generated from field: repeated viam.robot.v1.Tunnel tunnels = 1;
|
|
108
|
+
*/
|
|
109
|
+
tunnels: Tunnel[];
|
|
110
|
+
|
|
111
|
+
constructor(data?: PartialMessage<ListTunnelsResponse>);
|
|
112
|
+
|
|
113
|
+
static readonly runtime: typeof proto3;
|
|
114
|
+
static readonly typeName = "viam.robot.v1.ListTunnelsResponse";
|
|
115
|
+
static readonly fields: FieldList;
|
|
116
|
+
|
|
117
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListTunnelsResponse;
|
|
118
|
+
|
|
119
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListTunnelsResponse;
|
|
120
|
+
|
|
121
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListTunnelsResponse;
|
|
122
|
+
|
|
123
|
+
static equals(a: ListTunnelsResponse | PlainMessage<ListTunnelsResponse> | undefined, b: ListTunnelsResponse | PlainMessage<ListTunnelsResponse> | undefined): boolean;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* @generated from message viam.robot.v1.Tunnel
|
|
128
|
+
*/
|
|
129
|
+
export declare class Tunnel extends Message<Tunnel> {
|
|
130
|
+
/**
|
|
131
|
+
* @generated from field: uint32 port = 1;
|
|
132
|
+
*/
|
|
133
|
+
port: number;
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* @generated from field: google.protobuf.Duration connection_timeout = 2;
|
|
137
|
+
*/
|
|
138
|
+
connectionTimeout?: Duration;
|
|
139
|
+
|
|
140
|
+
constructor(data?: PartialMessage<Tunnel>);
|
|
141
|
+
|
|
142
|
+
static readonly runtime: typeof proto3;
|
|
143
|
+
static readonly typeName = "viam.robot.v1.Tunnel";
|
|
144
|
+
static readonly fields: FieldList;
|
|
145
|
+
|
|
146
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Tunnel;
|
|
147
|
+
|
|
148
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Tunnel;
|
|
149
|
+
|
|
150
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Tunnel;
|
|
151
|
+
|
|
152
|
+
static equals(a: Tunnel | PlainMessage<Tunnel> | undefined, b: Tunnel | PlainMessage<Tunnel> | undefined): boolean;
|
|
153
|
+
}
|
|
154
|
+
|
|
83
155
|
/**
|
|
84
156
|
* @generated from message viam.robot.v1.FrameSystemConfig
|
|
85
157
|
*/
|
|
@@ -690,71 +762,6 @@ export declare class GetSessionsResponse extends Message<GetSessionsResponse> {
|
|
|
690
762
|
static equals(a: GetSessionsResponse | PlainMessage<GetSessionsResponse> | undefined, b: GetSessionsResponse | PlainMessage<GetSessionsResponse> | undefined): boolean;
|
|
691
763
|
}
|
|
692
764
|
|
|
693
|
-
/**
|
|
694
|
-
* @generated from message viam.robot.v1.DiscoveryQuery
|
|
695
|
-
* @deprecated
|
|
696
|
-
*/
|
|
697
|
-
export declare class DiscoveryQuery extends Message<DiscoveryQuery> {
|
|
698
|
-
/**
|
|
699
|
-
* @generated from field: string subtype = 1;
|
|
700
|
-
*/
|
|
701
|
-
subtype: string;
|
|
702
|
-
|
|
703
|
-
/**
|
|
704
|
-
* @generated from field: string model = 2;
|
|
705
|
-
*/
|
|
706
|
-
model: string;
|
|
707
|
-
|
|
708
|
-
/**
|
|
709
|
-
* @generated from field: google.protobuf.Struct extra = 99;
|
|
710
|
-
*/
|
|
711
|
-
extra?: Struct;
|
|
712
|
-
|
|
713
|
-
constructor(data?: PartialMessage<DiscoveryQuery>);
|
|
714
|
-
|
|
715
|
-
static readonly runtime: typeof proto3;
|
|
716
|
-
static readonly typeName = "viam.robot.v1.DiscoveryQuery";
|
|
717
|
-
static readonly fields: FieldList;
|
|
718
|
-
|
|
719
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DiscoveryQuery;
|
|
720
|
-
|
|
721
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DiscoveryQuery;
|
|
722
|
-
|
|
723
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DiscoveryQuery;
|
|
724
|
-
|
|
725
|
-
static equals(a: DiscoveryQuery | PlainMessage<DiscoveryQuery> | undefined, b: DiscoveryQuery | PlainMessage<DiscoveryQuery> | undefined): boolean;
|
|
726
|
-
}
|
|
727
|
-
|
|
728
|
-
/**
|
|
729
|
-
* @generated from message viam.robot.v1.Discovery
|
|
730
|
-
* @deprecated
|
|
731
|
-
*/
|
|
732
|
-
export declare class Discovery extends Message<Discovery> {
|
|
733
|
-
/**
|
|
734
|
-
* @generated from field: viam.robot.v1.DiscoveryQuery query = 1;
|
|
735
|
-
*/
|
|
736
|
-
query?: DiscoveryQuery;
|
|
737
|
-
|
|
738
|
-
/**
|
|
739
|
-
* @generated from field: google.protobuf.Struct results = 2;
|
|
740
|
-
*/
|
|
741
|
-
results?: Struct;
|
|
742
|
-
|
|
743
|
-
constructor(data?: PartialMessage<Discovery>);
|
|
744
|
-
|
|
745
|
-
static readonly runtime: typeof proto3;
|
|
746
|
-
static readonly typeName = "viam.robot.v1.Discovery";
|
|
747
|
-
static readonly fields: FieldList;
|
|
748
|
-
|
|
749
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Discovery;
|
|
750
|
-
|
|
751
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Discovery;
|
|
752
|
-
|
|
753
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Discovery;
|
|
754
|
-
|
|
755
|
-
static equals(a: Discovery | PlainMessage<Discovery> | undefined, b: Discovery | PlainMessage<Discovery> | undefined): boolean;
|
|
756
|
-
}
|
|
757
|
-
|
|
758
765
|
/**
|
|
759
766
|
* @generated from message viam.robot.v1.ModuleModel
|
|
760
767
|
*/
|
|
@@ -837,56 +844,6 @@ export declare class GetModelsFromModulesResponse extends Message<GetModelsFromM
|
|
|
837
844
|
static equals(a: GetModelsFromModulesResponse | PlainMessage<GetModelsFromModulesResponse> | undefined, b: GetModelsFromModulesResponse | PlainMessage<GetModelsFromModulesResponse> | undefined): boolean;
|
|
838
845
|
}
|
|
839
846
|
|
|
840
|
-
/**
|
|
841
|
-
* @generated from message viam.robot.v1.DiscoverComponentsRequest
|
|
842
|
-
* @deprecated
|
|
843
|
-
*/
|
|
844
|
-
export declare class DiscoverComponentsRequest extends Message<DiscoverComponentsRequest> {
|
|
845
|
-
/**
|
|
846
|
-
* @generated from field: repeated viam.robot.v1.DiscoveryQuery queries = 1;
|
|
847
|
-
*/
|
|
848
|
-
queries: DiscoveryQuery[];
|
|
849
|
-
|
|
850
|
-
constructor(data?: PartialMessage<DiscoverComponentsRequest>);
|
|
851
|
-
|
|
852
|
-
static readonly runtime: typeof proto3;
|
|
853
|
-
static readonly typeName = "viam.robot.v1.DiscoverComponentsRequest";
|
|
854
|
-
static readonly fields: FieldList;
|
|
855
|
-
|
|
856
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DiscoverComponentsRequest;
|
|
857
|
-
|
|
858
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DiscoverComponentsRequest;
|
|
859
|
-
|
|
860
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DiscoverComponentsRequest;
|
|
861
|
-
|
|
862
|
-
static equals(a: DiscoverComponentsRequest | PlainMessage<DiscoverComponentsRequest> | undefined, b: DiscoverComponentsRequest | PlainMessage<DiscoverComponentsRequest> | undefined): boolean;
|
|
863
|
-
}
|
|
864
|
-
|
|
865
|
-
/**
|
|
866
|
-
* @generated from message viam.robot.v1.DiscoverComponentsResponse
|
|
867
|
-
* @deprecated
|
|
868
|
-
*/
|
|
869
|
-
export declare class DiscoverComponentsResponse extends Message<DiscoverComponentsResponse> {
|
|
870
|
-
/**
|
|
871
|
-
* @generated from field: repeated viam.robot.v1.Discovery discovery = 1;
|
|
872
|
-
*/
|
|
873
|
-
discovery: Discovery[];
|
|
874
|
-
|
|
875
|
-
constructor(data?: PartialMessage<DiscoverComponentsResponse>);
|
|
876
|
-
|
|
877
|
-
static readonly runtime: typeof proto3;
|
|
878
|
-
static readonly typeName = "viam.robot.v1.DiscoverComponentsResponse";
|
|
879
|
-
static readonly fields: FieldList;
|
|
880
|
-
|
|
881
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DiscoverComponentsResponse;
|
|
882
|
-
|
|
883
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DiscoverComponentsResponse;
|
|
884
|
-
|
|
885
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DiscoverComponentsResponse;
|
|
886
|
-
|
|
887
|
-
static equals(a: DiscoverComponentsResponse | PlainMessage<DiscoverComponentsResponse> | undefined, b: DiscoverComponentsResponse | PlainMessage<DiscoverComponentsResponse> | undefined): boolean;
|
|
888
|
-
}
|
|
889
|
-
|
|
890
847
|
/**
|
|
891
848
|
* @generated from message viam.robot.v1.Status
|
|
892
849
|
*/
|
|
@@ -199,6 +199,28 @@ export declare class Detection extends Message<Detection> {
|
|
|
199
199
|
*/
|
|
200
200
|
className: string;
|
|
201
201
|
|
|
202
|
+
/**
|
|
203
|
+
* the four corners of the box, in proportion to the respective image dimension
|
|
204
|
+
*
|
|
205
|
+
* @generated from field: optional double x_min_normalized = 7;
|
|
206
|
+
*/
|
|
207
|
+
xMinNormalized?: number;
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* @generated from field: optional double y_min_normalized = 8;
|
|
211
|
+
*/
|
|
212
|
+
yMinNormalized?: number;
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* @generated from field: optional double x_max_normalized = 9;
|
|
216
|
+
*/
|
|
217
|
+
xMaxNormalized?: number;
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* @generated from field: optional double y_max_normalized = 10;
|
|
221
|
+
*/
|
|
222
|
+
yMaxNormalized?: number;
|
|
223
|
+
|
|
202
224
|
constructor(data?: PartialMessage<Detection>);
|
|
203
225
|
|
|
204
226
|
static readonly runtime: typeof proto3;
|