@viamrobotics/sdk 0.68.2 → 0.70.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/app/app-client.d.ts +26 -1
- package/dist/events.d.ts +3 -1
- package/dist/gen/app/v1/app_connect.d.ts +10 -1
- package/dist/gen/app/v1/app_pb.d.ts +149 -0
- package/dist/gen/app/v1/billing_pb.d.ts +17 -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/main.es.js +1647 -1484
- package/dist/main.umd.js +7 -7
- package/dist/robot/client.d.ts +38 -34
- package/dist/robot/robot.d.ts +2 -1
- package/dist/rpc/dial.d.ts +5 -0
- package/package.json +1 -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.
|
|
@@ -490,17 +490,17 @@ export declare class BadRequest_FieldViolation extends Message<BadRequest_FieldV
|
|
|
490
490
|
* In this example, in proto `field` could take one of the following values:
|
|
491
491
|
*
|
|
492
492
|
* * `full_name` for a violation in the `full_name` value
|
|
493
|
-
* * `email_addresses[
|
|
493
|
+
* * `email_addresses[0].email` for a violation in the `email` field of the
|
|
494
494
|
* first `email_addresses` message
|
|
495
|
-
* * `email_addresses[
|
|
495
|
+
* * `email_addresses[2].type[1]` for a violation in the second `type`
|
|
496
496
|
* value in the third `email_addresses` message.
|
|
497
497
|
*
|
|
498
498
|
* In JSON, the same values are represented as:
|
|
499
499
|
*
|
|
500
500
|
* * `fullName` for a violation in the `fullName` value
|
|
501
|
-
* * `emailAddresses[
|
|
501
|
+
* * `emailAddresses[0].email` for a violation in the `email` field of the
|
|
502
502
|
* first `emailAddresses` message
|
|
503
|
-
* * `emailAddresses[
|
|
503
|
+
* * `emailAddresses[2].type[1]` for a violation in the second `type`
|
|
504
504
|
* value in the third `emailAddresses` message.
|
|
505
505
|
*
|
|
506
506
|
* @generated from field: string field = 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.
|
|
@@ -22,22 +22,22 @@ import { Message, proto3 } from "@bufbuild/protobuf";
|
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
24
|
* Represents a color in the RGBA color space. This representation is designed
|
|
25
|
-
* for simplicity of conversion to
|
|
25
|
+
* for simplicity of conversion to and from color representations in various
|
|
26
26
|
* languages over compactness. For example, the fields of this representation
|
|
27
27
|
* can be trivially provided to the constructor of `java.awt.Color` in Java; it
|
|
28
28
|
* can also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
|
29
29
|
* method in iOS; and, with just a little work, it can be easily formatted into
|
|
30
30
|
* a CSS `rgba()` string in JavaScript.
|
|
31
31
|
*
|
|
32
|
-
* This reference page doesn't
|
|
33
|
-
* space
|
|
34
|
-
*
|
|
35
|
-
* DCI-P3, BT.2020
|
|
32
|
+
* This reference page doesn't have information about the absolute color
|
|
33
|
+
* space that should be used to interpret the RGB value—for example, sRGB,
|
|
34
|
+
* Adobe RGB,
|
|
35
|
+
* DCI-P3, and BT.2020. By default, applications should assume the sRGB color
|
|
36
36
|
* space.
|
|
37
37
|
*
|
|
38
|
-
* When color equality needs to be decided, implementations, unless
|
|
39
|
-
*
|
|
40
|
-
*
|
|
38
|
+
* When color equality needs to be decided, implementations, unless documented
|
|
39
|
+
* otherwise, treat two colors as equal if all their red, green, blue, and alpha
|
|
40
|
+
* values each differ by at most `1e-5`.
|
|
41
41
|
*
|
|
42
42
|
* Example (Java):
|
|
43
43
|
*
|
|
@@ -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.
|
|
@@ -26,14 +26,17 @@ import { Message, proto3 } from "@bufbuild/protobuf";
|
|
|
26
26
|
* date is relative to the Gregorian Calendar. This can represent one of the
|
|
27
27
|
* following:
|
|
28
28
|
*
|
|
29
|
-
* * A full date, with non-zero year, month, and day values
|
|
30
|
-
* * A month and day
|
|
31
|
-
* * A year on its own, with zero month and day
|
|
32
|
-
* * A year and month
|
|
33
|
-
*
|
|
29
|
+
* * A full date, with non-zero year, month, and day values.
|
|
30
|
+
* * A month and day, with a zero year (for example, an anniversary).
|
|
31
|
+
* * A year on its own, with a zero month and a zero day.
|
|
32
|
+
* * A year and month, with a zero day (for example, a credit card expiration
|
|
33
|
+
* date).
|
|
34
34
|
*
|
|
35
|
-
* Related types
|
|
36
|
-
*
|
|
35
|
+
* Related types:
|
|
36
|
+
*
|
|
37
|
+
* * [google.type.TimeOfDay][google.type.TimeOfDay]
|
|
38
|
+
* * [google.type.DateTime][google.type.DateTime]
|
|
39
|
+
* * [google.protobuf.Timestamp][google.protobuf.Timestamp]
|
|
37
40
|
*
|
|
38
41
|
* @generated from message google.type.Date
|
|
39
42
|
*/
|
|
@@ -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.
|
|
@@ -34,8 +34,8 @@ import { Message, proto3 } from "@bufbuild/protobuf";
|
|
|
34
34
|
*
|
|
35
35
|
* The date is relative to the Proleptic Gregorian Calendar.
|
|
36
36
|
*
|
|
37
|
-
* If year
|
|
38
|
-
*
|
|
37
|
+
* If year, month, or day are 0, the DateTime is considered not to have a
|
|
38
|
+
* specific year, month, or day respectively.
|
|
39
39
|
*
|
|
40
40
|
* This type may also be used to represent a physical time if all the date and
|
|
41
41
|
* time fields are set and either case of the `time_offset` oneof is set.
|
|
@@ -58,47 +58,48 @@ export declare class DateTime extends Message<DateTime> {
|
|
|
58
58
|
year: number;
|
|
59
59
|
|
|
60
60
|
/**
|
|
61
|
-
*
|
|
61
|
+
* Optional. Month of year. Must be from 1 to 12, or 0 if specifying a
|
|
62
|
+
* datetime without a month.
|
|
62
63
|
*
|
|
63
64
|
* @generated from field: int32 month = 2;
|
|
64
65
|
*/
|
|
65
66
|
month: number;
|
|
66
67
|
|
|
67
68
|
/**
|
|
68
|
-
*
|
|
69
|
-
* month.
|
|
69
|
+
* Optional. Day of month. Must be from 1 to 31 and valid for the year and
|
|
70
|
+
* month, or 0 if specifying a datetime without a day.
|
|
70
71
|
*
|
|
71
72
|
* @generated from field: int32 day = 3;
|
|
72
73
|
*/
|
|
73
74
|
day: number;
|
|
74
75
|
|
|
75
76
|
/**
|
|
76
|
-
*
|
|
77
|
-
* may choose to allow the value "24:00:00" for
|
|
78
|
-
* closing time.
|
|
77
|
+
* Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults
|
|
78
|
+
* to 0 (midnight). An API may choose to allow the value "24:00:00" for
|
|
79
|
+
* scenarios like business closing time.
|
|
79
80
|
*
|
|
80
81
|
* @generated from field: int32 hours = 4;
|
|
81
82
|
*/
|
|
82
83
|
hours: number;
|
|
83
84
|
|
|
84
85
|
/**
|
|
85
|
-
*
|
|
86
|
+
* Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.
|
|
86
87
|
*
|
|
87
88
|
* @generated from field: int32 minutes = 5;
|
|
88
89
|
*/
|
|
89
90
|
minutes: number;
|
|
90
91
|
|
|
91
92
|
/**
|
|
92
|
-
*
|
|
93
|
-
* API may allow the value 60 if it allows leap-seconds.
|
|
93
|
+
* Optional. Seconds of minutes of the time. Must normally be from 0 to 59,
|
|
94
|
+
* defaults to 0. An API may allow the value 60 if it allows leap-seconds.
|
|
94
95
|
*
|
|
95
96
|
* @generated from field: int32 seconds = 6;
|
|
96
97
|
*/
|
|
97
98
|
seconds: number;
|
|
98
99
|
|
|
99
100
|
/**
|
|
100
|
-
*
|
|
101
|
-
* 999,999,999.
|
|
101
|
+
* Optional. Fractions of seconds in nanoseconds. Must be from 0 to
|
|
102
|
+
* 999,999,999, defaults to 0.
|
|
102
103
|
*
|
|
103
104
|
* @generated from field: int32 nanos = 7;
|
|
104
105
|
*/
|
|
@@ -156,14 +157,14 @@ export declare class DateTime extends Message<DateTime> {
|
|
|
156
157
|
*/
|
|
157
158
|
export declare class TimeZone extends Message<TimeZone> {
|
|
158
159
|
/**
|
|
159
|
-
* IANA Time Zone Database time zone
|
|
160
|
+
* IANA Time Zone Database time zone. For example "America/New_York".
|
|
160
161
|
*
|
|
161
162
|
* @generated from field: string id = 1;
|
|
162
163
|
*/
|
|
163
164
|
id: string;
|
|
164
165
|
|
|
165
166
|
/**
|
|
166
|
-
* Optional. IANA Time Zone Database version number
|
|
167
|
+
* Optional. IANA Time Zone Database version number. For example "2019a".
|
|
167
168
|
*
|
|
168
169
|
* @generated from field: string version = 2;
|
|
169
170
|
*/
|
|
@@ -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.
|
|
@@ -22,12 +22,10 @@ import { Message, proto3 } from "@bufbuild/protobuf";
|
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
24
|
* A representation of a decimal value, such as 2.5. Clients may convert values
|
|
25
|
-
* into language-native decimal formats, such as Java's
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
* [
|
|
29
|
-
* https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/math/BigDecimal.html
|
|
30
|
-
* [decimal.Decimal]: https://docs.python.org/3/library/decimal.html
|
|
25
|
+
* into language-native decimal formats, such as Java's
|
|
26
|
+
* [BigDecimal](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/math/BigDecimal.html)
|
|
27
|
+
* or Python's
|
|
28
|
+
* [decimal.Decimal](https://docs.python.org/3/library/decimal.html).
|
|
31
29
|
*
|
|
32
30
|
* @generated from message google.type.Decimal
|
|
33
31
|
*/
|
|
@@ -38,7 +36,7 @@ export declare class Decimal extends Message<Decimal> {
|
|
|
38
36
|
* The string representation consists of an optional sign, `+` (`U+002B`)
|
|
39
37
|
* or `-` (`U+002D`), followed by a sequence of zero or more decimal digits
|
|
40
38
|
* ("the integer"), optionally followed by a fraction, optionally followed
|
|
41
|
-
* by an exponent.
|
|
39
|
+
* by an exponent. An empty string **should** be interpreted as `0`.
|
|
42
40
|
*
|
|
43
41
|
* The fraction consists of a decimal point followed by zero or more decimal
|
|
44
42
|
* digits. The string must contain at least one digit in either the integer
|
|
@@ -52,12 +50,13 @@ export declare class Decimal extends Message<Decimal> {
|
|
|
52
50
|
*
|
|
53
51
|
* - Removing an explicitly-provided `+` sign (`+2.5` -> `2.5`).
|
|
54
52
|
* - Replacing a zero-length integer value with `0` (`.5` -> `0.5`).
|
|
55
|
-
* - Coercing the exponent character to
|
|
56
|
-
*
|
|
53
|
+
* - Coercing the exponent character to upper-case, with explicit sign
|
|
54
|
+
* (`2.5e8` -> `2.5E+8`).
|
|
55
|
+
* - Removing an explicitly-provided zero exponent (`2.5E0` -> `2.5`).
|
|
57
56
|
*
|
|
58
57
|
* Services **may** perform additional normalization based on its own needs
|
|
59
58
|
* and the internal decimal implementation selected, such as shifting the
|
|
60
|
-
* decimal point and exponent value together (example: `2.
|
|
59
|
+
* decimal point and exponent value together (example: `2.5E-1` <-> `0.25`).
|
|
61
60
|
* Additionally, services **may** preserve trailing zeroes in the fraction
|
|
62
61
|
* to indicate increased precision, but are not required to do so.
|
|
63
62
|
*
|
|
@@ -69,7 +68,7 @@ export declare class Decimal extends Message<Decimal> {
|
|
|
69
68
|
* The ENBF grammar is:
|
|
70
69
|
*
|
|
71
70
|
* DecimalString =
|
|
72
|
-
* [Sign] Significand [Exponent];
|
|
71
|
+
* '' | [Sign] Significand [Exponent];
|
|
73
72
|
*
|
|
74
73
|
* Sign = '+' | '-';
|
|
75
74
|
*
|
|
@@ -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.
|
|
@@ -23,9 +23,9 @@ import { Message, proto3 } from "@bufbuild/protobuf";
|
|
|
23
23
|
/**
|
|
24
24
|
* An object that represents a latitude/longitude pair. This is expressed as a
|
|
25
25
|
* pair of doubles to represent degrees latitude and degrees longitude. Unless
|
|
26
|
-
* specified otherwise, this must conform to the
|
|
27
|
-
* <a href="
|
|
28
|
-
* standard</a>. Values must be within normalized ranges.
|
|
26
|
+
* specified otherwise, this object must conform to the
|
|
27
|
+
* <a href="https://en.wikipedia.org/wiki/World_Geodetic_System#1984_version">
|
|
28
|
+
* WGS84 standard</a>. Values must be within normalized ranges.
|
|
29
29
|
*
|
|
30
30
|
* @generated from message google.type.LatLng
|
|
31
31
|
*/
|
|
@@ -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.
|
|
@@ -27,7 +27,8 @@ import { Message, proto3 } from "@bufbuild/protobuf";
|
|
|
27
27
|
*/
|
|
28
28
|
export declare class LocalizedText extends Message<LocalizedText> {
|
|
29
29
|
/**
|
|
30
|
-
* Localized string in the language corresponding to
|
|
30
|
+
* Localized string in the language corresponding to
|
|
31
|
+
* [language_code][google.type.LocalizedText.language_code] below.
|
|
31
32
|
*
|
|
32
33
|
* @generated from field: string text = 1;
|
|
33
34
|
*/
|
|
@@ -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.
|
|
@@ -37,13 +37,13 @@ import { Message, proto3 } from "@bufbuild/protobuf";
|
|
|
37
37
|
*
|
|
38
38
|
* For instance, in Java this would be:
|
|
39
39
|
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
40
|
+
* com.google.type.PhoneNumber wireProto =
|
|
41
|
+
* com.google.type.PhoneNumber.newBuilder().build();
|
|
42
|
+
* com.google.i18n.phonenumbers.Phonenumber.PhoneNumber phoneNumber =
|
|
43
|
+
* PhoneNumberUtil.getInstance().parse(wireProto.getE164Number(), "ZZ");
|
|
44
|
+
* if (!wireProto.getExtension().isEmpty()) {
|
|
45
|
+
* phoneNumber.setExtension(wireProto.getExtension());
|
|
46
|
+
* }
|
|
47
47
|
*
|
|
48
48
|
* Reference(s):
|
|
49
49
|
* - https://github.com/google/libphonenumber
|
|
@@ -63,17 +63,22 @@ export declare class PhoneNumber extends Message<PhoneNumber> {
|
|
|
63
63
|
* The phone number, represented as a leading plus sign ('+'), followed by a
|
|
64
64
|
* phone number that uses a relaxed ITU E.164 format consisting of the
|
|
65
65
|
* country calling code (1 to 3 digits) and the subscriber number, with no
|
|
66
|
-
* additional spaces or formatting
|
|
66
|
+
* additional spaces or formatting. For example:
|
|
67
|
+
*
|
|
67
68
|
* - correct: "+15552220123"
|
|
68
|
-
*
|
|
69
|
+
*
|
|
70
|
+
* - incorrect: "+1 (555) 222-01234 x123"
|
|
69
71
|
*
|
|
70
72
|
* The ITU E.164 format limits the latter to 12 digits, but in practice not
|
|
71
73
|
* all countries respect that, so we relax that restriction here.
|
|
72
74
|
* National-only numbers are not allowed.
|
|
73
75
|
*
|
|
74
76
|
* References:
|
|
77
|
+
*
|
|
75
78
|
* - https://www.itu.int/rec/T-REC-E.164-201011-I
|
|
79
|
+
*
|
|
76
80
|
* - https://en.wikipedia.org/wiki/E.164.
|
|
81
|
+
*
|
|
77
82
|
* - https://en.wikipedia.org/wiki/List_of_country_calling_codes
|
|
78
83
|
*
|
|
79
84
|
* @generated from field: string e164_number = 1;
|
|
@@ -85,7 +90,7 @@ export declare class PhoneNumber extends Message<PhoneNumber> {
|
|
|
85
90
|
* A short code.
|
|
86
91
|
*
|
|
87
92
|
* Reference(s):
|
|
88
|
-
* - https://
|
|
93
|
+
* - https://wikipedia.org/wiki/Short_code
|
|
89
94
|
*
|
|
90
95
|
* @generated from field: google.type.PhoneNumber.ShortCode short_code = 2;
|
|
91
96
|
*/
|
|
@@ -127,12 +132,13 @@ export declare class PhoneNumber extends Message<PhoneNumber> {
|
|
|
127
132
|
* An object representing a short code, which is a phone number that is
|
|
128
133
|
* typically much shorter than regular phone numbers and can be used to
|
|
129
134
|
* address messages in MMS and SMS systems, as well as for abbreviated dialing
|
|
130
|
-
* (
|
|
135
|
+
* (For example "Text 611 to see how many minutes you have remaining on your
|
|
136
|
+
* plan.").
|
|
131
137
|
*
|
|
132
138
|
* Short codes are restricted to a region and are not internationally
|
|
133
139
|
* dialable, which means the same short code can exist in different regions,
|
|
134
140
|
* with different usage and pricing, even if those regions share the same
|
|
135
|
-
* country calling code (
|
|
141
|
+
* country calling code (For example: US and CA).
|
|
136
142
|
*
|
|
137
143
|
* @generated from message google.type.PhoneNumber.ShortCode
|
|
138
144
|
*/
|
|
@@ -150,7 +156,7 @@ export declare class PhoneNumber_ShortCode extends Message<PhoneNumber_ShortCode
|
|
|
150
156
|
|
|
151
157
|
/**
|
|
152
158
|
* Required. The short code digits, without a leading plus ('+') or country
|
|
153
|
-
* calling code
|
|
159
|
+
* calling code. For example "611".
|
|
154
160
|
*
|
|
155
161
|
* @generated from field: string number = 2;
|
|
156
162
|
*/
|
|
@@ -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> {
|