@viamrobotics/sdk 0.68.1 → 0.69.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/arm/client.d.ts +1 -0
- package/dist/components/audio-in/client.d.ts +1 -0
- package/dist/components/audio-out/client.d.ts +1 -0
- package/dist/components/base/client.d.ts +1 -0
- package/dist/components/board/client.d.ts +1 -0
- package/dist/components/button/client.d.ts +1 -0
- package/dist/components/camera/client.d.ts +1 -0
- package/dist/components/encoder/client.d.ts +1 -0
- package/dist/components/gantry/client.d.ts +1 -0
- package/dist/components/generic/client.d.ts +1 -0
- package/dist/components/gripper/client.d.ts +1 -0
- package/dist/components/input-controller/client.d.ts +1 -0
- package/dist/components/motor/client.d.ts +1 -0
- package/dist/components/movement-sensor/client.d.ts +1 -0
- package/dist/components/pose-tracker/client.d.ts +1 -0
- package/dist/components/power-sensor/client.d.ts +1 -0
- package/dist/components/sensor/client.d.ts +1 -0
- package/dist/components/servo/client.d.ts +1 -0
- package/dist/components/switch/client.d.ts +1 -0
- package/dist/events.d.ts +3 -1
- package/dist/gen/app/build/v1/build_pb.d.ts +17 -1
- package/dist/gen/app/v1/app_connect.d.ts +68 -1
- package/dist/gen/app/v1/app_pb.d.ts +359 -0
- package/dist/gen/google/api/client_pb.d.ts +4 -0
- package/dist/gen/google/api/expr/v1alpha1/checked_pb.d.ts +35 -2
- package/dist/gen/google/api/expr/v1alpha1/eval_pb.d.ts +8 -8
- package/dist/gen/google/api/expr/v1alpha1/explain_pb.d.ts +1 -1
- package/dist/gen/google/api/expr/v1alpha1/syntax_pb.d.ts +20 -21
- package/dist/gen/google/api/expr/v1alpha1/value_pb.d.ts +2 -2
- package/dist/gen/google/rpc/code_pb.d.ts +1 -1
- package/dist/gen/google/rpc/context/attribute_context_pb.d.ts +11 -1
- package/dist/gen/google/rpc/error_details_pb.d.ts +5 -5
- package/dist/gen/google/rpc/status_pb.d.ts +1 -1
- package/dist/gen/google/type/calendar_period_pb.d.ts +1 -1
- package/dist/gen/google/type/color_pb.d.ts +9 -9
- package/dist/gen/google/type/date_pb.d.ts +11 -8
- package/dist/gen/google/type/datetime_pb.d.ts +17 -16
- package/dist/gen/google/type/dayofweek_pb.d.ts +1 -1
- package/dist/gen/google/type/decimal_pb.d.ts +11 -12
- package/dist/gen/google/type/expr_pb.d.ts +1 -1
- package/dist/gen/google/type/fraction_pb.d.ts +1 -1
- package/dist/gen/google/type/interval_pb.d.ts +1 -1
- package/dist/gen/google/type/latlng_pb.d.ts +4 -4
- package/dist/gen/google/type/localized_text_pb.d.ts +3 -2
- package/dist/gen/google/type/money_pb.d.ts +1 -1
- package/dist/gen/google/type/month_pb.d.ts +1 -1
- package/dist/gen/google/type/phone_number_pb.d.ts +20 -14
- package/dist/gen/google/type/postal_address_pb.d.ts +39 -38
- package/dist/gen/google/type/quaternion_pb.d.ts +4 -3
- package/dist/gen/google/type/timeofday_pb.d.ts +11 -7
- package/dist/gen/robot/v1/robot_pb.d.ts +0 -8
- package/dist/main.d.ts +1 -1
- package/dist/main.es.js +6622 -6095
- package/dist/main.umd.js +7 -7
- package/dist/robot/client.d.ts +68 -31
- package/dist/robot/robot.d.ts +2 -1
- package/dist/rpc/dial.d.ts +29 -0
- package/dist/services/data-manager/client.d.ts +1 -0
- package/dist/services/discovery/client.d.ts +1 -0
- package/dist/services/generic/client.d.ts +1 -0
- package/dist/services/motion/client.d.ts +1 -0
- package/dist/services/navigation/client.d.ts +1 -0
- package/dist/services/slam/client.d.ts +1 -0
- package/dist/services/video/client.d.ts +1 -0
- package/dist/services/vision/client.d.ts +1 -0
- package/dist/services/world-state-store/client.d.ts +1 -0
- package/dist/types.d.ts +2 -0
- package/dist/utils.d.ts +4 -1
- package/package.json +2 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright
|
|
1
|
+
// Copyright 2026 Google LLC
|
|
2
2
|
//
|
|
3
3
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
// you may not use this file except in compliance with the License.
|
|
@@ -21,23 +21,23 @@ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialM
|
|
|
21
21
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
|
-
* Represents a postal address,
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
* mountains).
|
|
24
|
+
* Represents a postal address, such as for postal delivery or payments
|
|
25
|
+
* addresses. With a postal address, a postal service can deliver items to a
|
|
26
|
+
* premise, P.O. box, or similar. A postal address is not intended to model
|
|
27
|
+
* geographical locations like roads, towns, or mountains.
|
|
29
28
|
*
|
|
30
|
-
* In typical usage an address would be created
|
|
29
|
+
* In typical usage, an address would be created by user input or from importing
|
|
31
30
|
* existing data, depending on the type of process.
|
|
32
31
|
*
|
|
33
|
-
* Advice on address input
|
|
34
|
-
* - Use an i18n-ready address widget such as
|
|
35
|
-
* https://github.com/google/libaddressinput)
|
|
36
|
-
* - Users should not be presented with UI elements for input or editing of
|
|
37
|
-
* fields outside countries where that field is used.
|
|
32
|
+
* Advice on address input or editing:
|
|
38
33
|
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
34
|
+
* - Use an internationalization-ready address widget such as
|
|
35
|
+
* https://github.com/google/libaddressinput.
|
|
36
|
+
* - Users should not be presented with UI elements for input or editing of
|
|
37
|
+
* fields outside countries where that field is used.
|
|
38
|
+
*
|
|
39
|
+
* For more guidance on how to use this schema, see:
|
|
40
|
+
* https://support.google.com/business/answer/6397478.
|
|
41
41
|
*
|
|
42
42
|
* @generated from message google.type.PostalAddress
|
|
43
43
|
*/
|
|
@@ -55,8 +55,8 @@ export declare class PostalAddress extends Message<PostalAddress> {
|
|
|
55
55
|
/**
|
|
56
56
|
* Required. CLDR region code of the country/region of the address. This
|
|
57
57
|
* is never inferred and it is up to the user to ensure the value is
|
|
58
|
-
* correct. See
|
|
59
|
-
*
|
|
58
|
+
* correct. See https://cldr.unicode.org/ and
|
|
59
|
+
* https://www.unicode.org/cldr/charts/30/supplemental/territory_information.html
|
|
60
60
|
* for details. Example: "CH" for Switzerland.
|
|
61
61
|
*
|
|
62
62
|
* @generated from field: string region_code = 2;
|
|
@@ -84,8 +84,8 @@ export declare class PostalAddress extends Message<PostalAddress> {
|
|
|
84
84
|
/**
|
|
85
85
|
* Optional. Postal code of the address. Not all countries use or require
|
|
86
86
|
* postal codes to be present, but where they are used, they may trigger
|
|
87
|
-
* additional validation with other parts of the address (
|
|
88
|
-
* validation in the
|
|
87
|
+
* additional validation with other parts of the address (for example,
|
|
88
|
+
* state or zip code validation in the United States).
|
|
89
89
|
*
|
|
90
90
|
* @generated from field: string postal_code = 4;
|
|
91
91
|
*/
|
|
@@ -94,9 +94,9 @@ export declare class PostalAddress extends Message<PostalAddress> {
|
|
|
94
94
|
/**
|
|
95
95
|
* Optional. Additional, country-specific, sorting code. This is not used
|
|
96
96
|
* in most regions. Where it is used, the value is either a string like
|
|
97
|
-
* "CEDEX", optionally followed by a number (
|
|
98
|
-
* alone, representing the "sector code" (Jamaica), "delivery area
|
|
99
|
-
* (Malawi) or "post office indicator" (
|
|
97
|
+
* "CEDEX", optionally followed by a number (for example, "CEDEX 7"), or just
|
|
98
|
+
* a number alone, representing the "sector code" (Jamaica), "delivery area
|
|
99
|
+
* indicator" (Malawi) or "post office indicator" (Côte d'Ivoire).
|
|
100
100
|
*
|
|
101
101
|
* @generated from field: string sorting_code = 5;
|
|
102
102
|
*/
|
|
@@ -106,20 +106,20 @@ export declare class PostalAddress extends Message<PostalAddress> {
|
|
|
106
106
|
* Optional. Highest administrative subdivision which is used for postal
|
|
107
107
|
* addresses of a country or region.
|
|
108
108
|
* For example, this can be a state, a province, an oblast, or a prefecture.
|
|
109
|
-
*
|
|
110
|
-
* community (
|
|
111
|
-
* Many countries don't use an administrative area in postal addresses.
|
|
112
|
-
* in Switzerland this should be left unpopulated.
|
|
109
|
+
* For Spain, this is the province and not the autonomous
|
|
110
|
+
* community (for example, "Barcelona" and not "Catalonia").
|
|
111
|
+
* Many countries don't use an administrative area in postal addresses. For
|
|
112
|
+
* example, in Switzerland, this should be left unpopulated.
|
|
113
113
|
*
|
|
114
114
|
* @generated from field: string administrative_area = 6;
|
|
115
115
|
*/
|
|
116
116
|
administrativeArea: string;
|
|
117
117
|
|
|
118
118
|
/**
|
|
119
|
-
* Optional. Generally refers to the city
|
|
119
|
+
* Optional. Generally refers to the city or town portion of the address.
|
|
120
120
|
* Examples: US city, IT comune, UK post town.
|
|
121
121
|
* In regions of the world where localities are not well defined or do not fit
|
|
122
|
-
* into this structure well, leave locality empty and use address_lines
|
|
122
|
+
* into this structure well, leave `locality` empty and use `address_lines`.
|
|
123
123
|
*
|
|
124
124
|
* @generated from field: string locality = 7;
|
|
125
125
|
*/
|
|
@@ -127,7 +127,7 @@ export declare class PostalAddress extends Message<PostalAddress> {
|
|
|
127
127
|
|
|
128
128
|
/**
|
|
129
129
|
* Optional. Sublocality of the address.
|
|
130
|
-
* For example, this can be
|
|
130
|
+
* For example, this can be a neighborhood, borough, or district.
|
|
131
131
|
*
|
|
132
132
|
* @generated from field: string sublocality = 8;
|
|
133
133
|
*/
|
|
@@ -136,23 +136,24 @@ export declare class PostalAddress extends Message<PostalAddress> {
|
|
|
136
136
|
/**
|
|
137
137
|
* Unstructured address lines describing the lower levels of an address.
|
|
138
138
|
*
|
|
139
|
-
* Because values in address_lines do not have type information and may
|
|
140
|
-
* sometimes contain multiple values in a single field (
|
|
139
|
+
* Because values in `address_lines` do not have type information and may
|
|
140
|
+
* sometimes contain multiple values in a single field (for example,
|
|
141
141
|
* "Austin, TX"), it is important that the line order is clear. The order of
|
|
142
|
-
* address lines should be "envelope order" for the country
|
|
143
|
-
* address. In places where this can vary (
|
|
144
|
-
* used to make it explicit (
|
|
145
|
-
* "ja-Latn" or "en" for small-to-large).
|
|
146
|
-
* an address can be selected based on the
|
|
142
|
+
* address lines should be "envelope order" for the country or region of the
|
|
143
|
+
* address. In places where this can vary (for example, Japan),
|
|
144
|
+
* `address_language` is used to make it explicit (for example, "ja" for
|
|
145
|
+
* large-to-small ordering and "ja-Latn" or "en" for small-to-large). In this
|
|
146
|
+
* way, the most specific line of an address can be selected based on the
|
|
147
|
+
* language.
|
|
147
148
|
*
|
|
148
149
|
* The minimum permitted structural representation of an address consists
|
|
149
|
-
* of a region_code with all remaining information placed in the
|
|
150
|
-
* address_lines
|
|
150
|
+
* of a `region_code` with all remaining information placed in the
|
|
151
|
+
* `address_lines`. It would be possible to format such an address very
|
|
151
152
|
* approximately without geocoding, but no semantic reasoning could be
|
|
152
153
|
* made about any of the address components until it was at least
|
|
153
154
|
* partially resolved.
|
|
154
155
|
*
|
|
155
|
-
* Creating an address only containing a region_code and address_lines
|
|
156
|
+
* Creating an address only containing a `region_code` and `address_lines` and
|
|
156
157
|
* then geocoding is the recommended way to handle completely unstructured
|
|
157
158
|
* addresses (as opposed to guessing which parts of the address should be
|
|
158
159
|
* localities or administrative areas).
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright
|
|
1
|
+
// Copyright 2026 Google LLC
|
|
2
2
|
//
|
|
3
3
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
// you may not use this file except in compliance with the License.
|
|
@@ -21,6 +21,8 @@ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialM
|
|
|
21
21
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
|
+
* A quaternion, represented by four 64-bit floating point values.
|
|
25
|
+
*
|
|
24
26
|
* A quaternion is defined as the quotient of two directed lines in a
|
|
25
27
|
* three-dimensional space or equivalently as the quotient of two Euclidean
|
|
26
28
|
* vectors (https://en.wikipedia.org/wiki/Quaternion).
|
|
@@ -38,7 +40,7 @@ import { Message, proto3 } from "@bufbuild/protobuf";
|
|
|
38
40
|
* where x, y, z, and w are real numbers, and i, j, and k are three imaginary
|
|
39
41
|
* numbers.
|
|
40
42
|
*
|
|
41
|
-
*
|
|
43
|
+
* The naming choice `(x, y, z, w)` comes from the desire to avoid confusion for
|
|
42
44
|
* those interested in the geometric properties of the quaternion in the 3D
|
|
43
45
|
* Cartesian space. Other texts often use alternative names or subscripts, such
|
|
44
46
|
* as `(a, b, c, d)`, `(1, i, j, k)`, or `(0, 1, 2, 3)`, which are perhaps
|
|
@@ -77,7 +79,6 @@ import { Message, proto3 } from "@bufbuild/protobuf";
|
|
|
77
79
|
* kept positive, which can be achieved by changing all the signs when `w` is
|
|
78
80
|
* negative.
|
|
79
81
|
*
|
|
80
|
-
*
|
|
81
82
|
* @generated from message google.type.Quaternion
|
|
82
83
|
*/
|
|
83
84
|
export declare class Quaternion extends Message<Quaternion> {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright
|
|
1
|
+
// Copyright 2026 Google LLC
|
|
2
2
|
//
|
|
3
3
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
// you may not use this file except in compliance with the License.
|
|
@@ -30,30 +30,34 @@ import { Message, proto3 } from "@bufbuild/protobuf";
|
|
|
30
30
|
*/
|
|
31
31
|
export declare class TimeOfDay extends Message<TimeOfDay> {
|
|
32
32
|
/**
|
|
33
|
-
* Hours of day in 24 hour format.
|
|
34
|
-
*
|
|
33
|
+
* Hours of a day in 24 hour format. Must be greater than or equal to 0 and
|
|
34
|
+
* typically must be less than or equal to 23. An API may choose to allow the
|
|
35
|
+
* value "24:00:00" for scenarios like business closing time.
|
|
35
36
|
*
|
|
36
37
|
* @generated from field: int32 hours = 1;
|
|
37
38
|
*/
|
|
38
39
|
hours: number;
|
|
39
40
|
|
|
40
41
|
/**
|
|
41
|
-
* Minutes of hour
|
|
42
|
+
* Minutes of an hour. Must be greater than or equal to 0 and less than or
|
|
43
|
+
* equal to 59.
|
|
42
44
|
*
|
|
43
45
|
* @generated from field: int32 minutes = 2;
|
|
44
46
|
*/
|
|
45
47
|
minutes: number;
|
|
46
48
|
|
|
47
49
|
/**
|
|
48
|
-
* Seconds of
|
|
49
|
-
* allow the value 60 if it allows
|
|
50
|
+
* Seconds of a minute. Must be greater than or equal to 0 and typically must
|
|
51
|
+
* be less than or equal to 59. An API may allow the value 60 if it allows
|
|
52
|
+
* leap-seconds.
|
|
50
53
|
*
|
|
51
54
|
* @generated from field: int32 seconds = 3;
|
|
52
55
|
*/
|
|
53
56
|
seconds: number;
|
|
54
57
|
|
|
55
58
|
/**
|
|
56
|
-
* Fractions of seconds in nanoseconds. Must be
|
|
59
|
+
* Fractions of seconds, in nanoseconds. Must be greater than or equal to 0
|
|
60
|
+
* and less than or equal to 999,999,999.
|
|
57
61
|
*
|
|
58
62
|
* @generated from field: int32 nanos = 4;
|
|
59
63
|
*/
|
|
@@ -1262,14 +1262,6 @@ export declare class GetCloudMetadataRequest extends Message<GetCloudMetadataReq
|
|
|
1262
1262
|
* @generated from message viam.robot.v1.GetCloudMetadataResponse
|
|
1263
1263
|
*/
|
|
1264
1264
|
export declare class GetCloudMetadataResponse extends Message<GetCloudMetadataResponse> {
|
|
1265
|
-
/**
|
|
1266
|
-
* Deprecated: use machine_part_id field.
|
|
1267
|
-
*
|
|
1268
|
-
* @generated from field: string robot_part_id = 1 [deprecated = true];
|
|
1269
|
-
* @deprecated
|
|
1270
|
-
*/
|
|
1271
|
-
robotPartId: string;
|
|
1272
|
-
|
|
1273
1265
|
/**
|
|
1274
1266
|
* @generated from field: string primary_org_id = 2;
|
|
1275
1267
|
*/
|
package/dist/main.d.ts
CHANGED
|
@@ -318,5 +318,5 @@ export * as genericServiceApi from './gen/service/generic/v1/generic_connect';
|
|
|
318
318
|
*/
|
|
319
319
|
export * as commonApi from './gen/common/v1/common_pb';
|
|
320
320
|
export * from './types';
|
|
321
|
-
export { addMetadata, deleteMetadata, disableDebugLogging, doCommandFromClient, enableDebugLogging, } from './utils';
|
|
321
|
+
export { addMetadata, deleteMetadata, disableDebugLogging, doCommandFromClient, enableDebugLogging, getStatusFromClient, } from './utils';
|
|
322
322
|
export { MachineConnectionEvent } from './events';
|