@viamrobotics/sdk 0.68.2 → 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/events.d.ts +3 -1
- package/dist/gen/app/v1/app_pb.d.ts +61 -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 +1515 -1483
- 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
package/dist/api-version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const apiVersion = "v0.1.
|
|
1
|
+
export declare const apiVersion = "v0.1.539";
|
package/dist/events.d.ts
CHANGED
|
@@ -8,7 +8,9 @@ export declare enum MachineConnectionEvent {
|
|
|
8
8
|
CONNECTED = "connected",
|
|
9
9
|
DISCONNECTING = "disconnecting",
|
|
10
10
|
DISCONNECTED = "disconnected",
|
|
11
|
-
DIALING = "dialing"
|
|
11
|
+
DIALING = "dialing",
|
|
12
|
+
RECONNECTING = "reconnecting",
|
|
13
|
+
RECONNECTION_FAILED = "reconnection_failed"
|
|
12
14
|
}
|
|
13
15
|
export declare class EventDispatcher {
|
|
14
16
|
listeners: Partial<Record<string, Set<Callback>>>;
|
|
@@ -3339,6 +3339,26 @@ export declare class GetRobotPartHistoryRequest extends Message<GetRobotPartHist
|
|
|
3339
3339
|
*/
|
|
3340
3340
|
id: string;
|
|
3341
3341
|
|
|
3342
|
+
/**
|
|
3343
|
+
* @generated from field: optional string page_token = 2;
|
|
3344
|
+
*/
|
|
3345
|
+
pageToken?: string;
|
|
3346
|
+
|
|
3347
|
+
/**
|
|
3348
|
+
* @generated from field: optional int64 page_limit = 3;
|
|
3349
|
+
*/
|
|
3350
|
+
pageLimit?: bigint;
|
|
3351
|
+
|
|
3352
|
+
/**
|
|
3353
|
+
* @generated from field: optional google.protobuf.Timestamp start = 4;
|
|
3354
|
+
*/
|
|
3355
|
+
start?: Timestamp;
|
|
3356
|
+
|
|
3357
|
+
/**
|
|
3358
|
+
* @generated from field: optional google.protobuf.Timestamp end = 5;
|
|
3359
|
+
*/
|
|
3360
|
+
end?: Timestamp;
|
|
3361
|
+
|
|
3342
3362
|
constructor(data?: PartialMessage<GetRobotPartHistoryRequest>);
|
|
3343
3363
|
|
|
3344
3364
|
static readonly runtime: typeof proto3;
|
|
@@ -3363,6 +3383,11 @@ export declare class GetRobotPartHistoryResponse extends Message<GetRobotPartHis
|
|
|
3363
3383
|
*/
|
|
3364
3384
|
history: RobotPartHistoryEntry[];
|
|
3365
3385
|
|
|
3386
|
+
/**
|
|
3387
|
+
* @generated from field: string next_page_token = 2;
|
|
3388
|
+
*/
|
|
3389
|
+
nextPageToken: string;
|
|
3390
|
+
|
|
3366
3391
|
constructor(data?: PartialMessage<GetRobotPartHistoryResponse>);
|
|
3367
3392
|
|
|
3368
3393
|
static readonly runtime: typeof proto3;
|
|
@@ -7057,6 +7082,30 @@ export declare class UpdateModuleRequest extends Message<UpdateModuleRequest> {
|
|
|
7057
7082
|
static equals(a: UpdateModuleRequest | PlainMessage<UpdateModuleRequest> | undefined, b: UpdateModuleRequest | PlainMessage<UpdateModuleRequest> | undefined): boolean;
|
|
7058
7083
|
}
|
|
7059
7084
|
|
|
7085
|
+
/**
|
|
7086
|
+
* @generated from message viam.app.v1.AllowedOrgIDs
|
|
7087
|
+
*/
|
|
7088
|
+
export declare class AllowedOrgIDs extends Message<AllowedOrgIDs> {
|
|
7089
|
+
/**
|
|
7090
|
+
* @generated from field: repeated string ids = 1;
|
|
7091
|
+
*/
|
|
7092
|
+
ids: string[];
|
|
7093
|
+
|
|
7094
|
+
constructor(data?: PartialMessage<AllowedOrgIDs>);
|
|
7095
|
+
|
|
7096
|
+
static readonly runtime: typeof proto3;
|
|
7097
|
+
static readonly typeName = "viam.app.v1.AllowedOrgIDs";
|
|
7098
|
+
static readonly fields: FieldList;
|
|
7099
|
+
|
|
7100
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AllowedOrgIDs;
|
|
7101
|
+
|
|
7102
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AllowedOrgIDs;
|
|
7103
|
+
|
|
7104
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AllowedOrgIDs;
|
|
7105
|
+
|
|
7106
|
+
static equals(a: AllowedOrgIDs | PlainMessage<AllowedOrgIDs> | undefined, b: AllowedOrgIDs | PlainMessage<AllowedOrgIDs> | undefined): boolean;
|
|
7107
|
+
}
|
|
7108
|
+
|
|
7060
7109
|
/**
|
|
7061
7110
|
* @generated from message viam.app.v1.App
|
|
7062
7111
|
*/
|
|
@@ -7103,6 +7152,13 @@ export declare class App extends Message<App> {
|
|
|
7103
7152
|
*/
|
|
7104
7153
|
customizations?: AppCustomizations;
|
|
7105
7154
|
|
|
7155
|
+
/**
|
|
7156
|
+
* Optional: list of org IDs that are allowed to use this app; if empty, all orgs are allowed
|
|
7157
|
+
*
|
|
7158
|
+
* @generated from field: optional viam.app.v1.AllowedOrgIDs allowed_org_ids = 7;
|
|
7159
|
+
*/
|
|
7160
|
+
allowedOrgIds?: AllowedOrgIDs;
|
|
7161
|
+
|
|
7106
7162
|
constructor(data?: PartialMessage<App>);
|
|
7107
7163
|
|
|
7108
7164
|
static readonly runtime: typeof proto3;
|
|
@@ -9023,6 +9079,11 @@ export declare class GetAppBrandingResponse extends Message<GetAppBrandingRespon
|
|
|
9023
9079
|
*/
|
|
9024
9080
|
fragmentIds: string[];
|
|
9025
9081
|
|
|
9082
|
+
/**
|
|
9083
|
+
* @generated from field: repeated string allowed_org_ids = 4;
|
|
9084
|
+
*/
|
|
9085
|
+
allowedOrgIds: string[];
|
|
9086
|
+
|
|
9026
9087
|
constructor(data?: PartialMessage<GetAppBrandingResponse>);
|
|
9027
9088
|
|
|
9028
9089
|
static readonly runtime: typeof proto3;
|
|
@@ -175,6 +175,8 @@ export declare class CommonLanguageSettings extends Message<CommonLanguageSettin
|
|
|
175
175
|
/**
|
|
176
176
|
* Configuration for which RPCs should be generated in the GAPIC client.
|
|
177
177
|
*
|
|
178
|
+
* Note: This field should not be used in most cases.
|
|
179
|
+
*
|
|
178
180
|
* @generated from field: google.api.SelectiveGapicGeneration selective_gapic_generation = 3;
|
|
179
181
|
*/
|
|
180
182
|
selectiveGapicGeneration?: SelectiveGapicGeneration;
|
|
@@ -964,6 +966,8 @@ export declare class MethodSettings_LongRunning extends Message<MethodSettings_L
|
|
|
964
966
|
* This message is used to configure the generation of a subset of the RPCs in
|
|
965
967
|
* a service for client libraries.
|
|
966
968
|
*
|
|
969
|
+
* Note: This feature should not be used in most cases.
|
|
970
|
+
*
|
|
967
971
|
* @generated from message google.api.SelectiveGapicGeneration
|
|
968
972
|
*/
|
|
969
973
|
export declare class SelectiveGapicGeneration extends Message<SelectiveGapicGeneration> {
|
|
@@ -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.
|
|
@@ -611,6 +611,23 @@ export declare class Decl_FunctionDecl extends Message<Decl_FunctionDecl> {
|
|
|
611
611
|
*/
|
|
612
612
|
overloads: Decl_FunctionDecl_Overload[];
|
|
613
613
|
|
|
614
|
+
/**
|
|
615
|
+
* Documentation string for the function that indicates the general purpose
|
|
616
|
+
* of the function and its behavior.
|
|
617
|
+
*
|
|
618
|
+
* Documentation strings for the function should be general purpose with
|
|
619
|
+
* specific examples provided in the overload doc string.
|
|
620
|
+
*
|
|
621
|
+
* Examples:
|
|
622
|
+
*
|
|
623
|
+
* The 'in' operator tests whether an item exists in a collection.
|
|
624
|
+
*
|
|
625
|
+
* The 'substring' function returns a substring of a target string.
|
|
626
|
+
*
|
|
627
|
+
* @generated from field: string doc = 2;
|
|
628
|
+
*/
|
|
629
|
+
doc: string;
|
|
630
|
+
|
|
614
631
|
constructor(data?: PartialMessage<Decl_FunctionDecl>);
|
|
615
632
|
|
|
616
633
|
static readonly runtime: typeof proto3;
|
|
@@ -700,7 +717,23 @@ export declare class Decl_FunctionDecl_Overload extends Message<Decl_FunctionDec
|
|
|
700
717
|
isInstanceFunction: boolean;
|
|
701
718
|
|
|
702
719
|
/**
|
|
703
|
-
*
|
|
720
|
+
* Examples for the overload and its expected return value, separated by
|
|
721
|
+
* newlines.
|
|
722
|
+
*
|
|
723
|
+
* Prefer using CEL literals in examples as they are easily consumed by
|
|
724
|
+
* humans and simple to validate with machines. The example should contain
|
|
725
|
+
* an expression with a literal return value in comments inline. If the
|
|
726
|
+
* expression example is too complex or would need an example for a
|
|
727
|
+
* variable that cannot be expressed in CEL, document the input and return
|
|
728
|
+
* in a comment preceding the example.
|
|
729
|
+
*
|
|
730
|
+
* Examples:
|
|
731
|
+
*
|
|
732
|
+
* 1 in [1, 2, 3] // true
|
|
733
|
+
* 'key' in {'key1: 1, 'key2': 2} // false
|
|
734
|
+
* // Test whether one or more keys exist within a map.
|
|
735
|
+
* // returns true if list_of_keys contains 'key2' or 'key3'
|
|
736
|
+
* list_of_keys.exists(key, key in {'key3': 1, 'key2': 2})
|
|
704
737
|
*
|
|
705
738
|
* @generated from field: string doc = 6;
|
|
706
739
|
*/
|
|
@@ -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.
|
|
@@ -25,7 +25,7 @@ import type { Status } from "../../../rpc/status_pb.js";
|
|
|
25
25
|
/**
|
|
26
26
|
* The state of an evaluation.
|
|
27
27
|
*
|
|
28
|
-
* Can represent an
|
|
28
|
+
* Can represent an initial, partial, or completed state of evaluation.
|
|
29
29
|
*
|
|
30
30
|
* @generated from message google.api.expr.v1alpha1.EvalState
|
|
31
31
|
*/
|
|
@@ -63,13 +63,13 @@ export declare class EvalState extends Message<EvalState> {
|
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
/**
|
|
66
|
-
* A single
|
|
66
|
+
* A single evaluation result.
|
|
67
67
|
*
|
|
68
68
|
* @generated from message google.api.expr.v1alpha1.EvalState.Result
|
|
69
69
|
*/
|
|
70
70
|
export declare class EvalState_Result extends Message<EvalState_Result> {
|
|
71
71
|
/**
|
|
72
|
-
* The id of the expression this result
|
|
72
|
+
* The id of the expression this result is for.
|
|
73
73
|
*
|
|
74
74
|
* @generated from field: int64 expr = 1;
|
|
75
75
|
*/
|
|
@@ -118,14 +118,14 @@ export declare class ExprValue extends Message<ExprValue> {
|
|
|
118
118
|
case: "value";
|
|
119
119
|
} | {
|
|
120
120
|
/**
|
|
121
|
-
* The set of errors in the critical path of
|
|
121
|
+
* The set of errors in the critical path of evaluation.
|
|
122
122
|
*
|
|
123
123
|
* Only errors in the critical path are included. For example,
|
|
124
124
|
* `(<error1> || true) && <error2>` will only result in `<error2>`,
|
|
125
125
|
* while `<error1> || <error2>` will result in both `<error1>` and
|
|
126
126
|
* `<error2>`.
|
|
127
127
|
*
|
|
128
|
-
* Errors
|
|
128
|
+
* Errors caused by the presence of other errors are not included in the
|
|
129
129
|
* set. For example `<error1>.foo`, `foo(<error1>)`, and `<error1> + 1` will
|
|
130
130
|
* only result in `<error1>`.
|
|
131
131
|
*
|
|
@@ -155,13 +155,13 @@ export declare class ExprValue extends Message<ExprValue> {
|
|
|
155
155
|
* foo(<unknown[1]>) -> <unknown[1]>
|
|
156
156
|
* <unknown[1]> + <unknown[2]> -> <unknown[1]> or <unknown[2[>
|
|
157
157
|
*
|
|
158
|
-
* Unknown takes
|
|
158
|
+
* Unknown takes precedence over Error in cases where a `Value` can short
|
|
159
159
|
* circuit the result:
|
|
160
160
|
*
|
|
161
161
|
* <error> || <unknown> -> <unknown>
|
|
162
162
|
* <error> && <unknown> -> <unknown>
|
|
163
163
|
*
|
|
164
|
-
* Errors take
|
|
164
|
+
* Errors take precedence in all other cases:
|
|
165
165
|
*
|
|
166
166
|
* <unknown> + <error> -> <error>
|
|
167
167
|
* foo(<unknown>, <error>) -> <error>
|
|
@@ -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.
|
|
@@ -61,12 +61,12 @@ export declare class ParsedExpr extends Message<ParsedExpr> {
|
|
|
61
61
|
* Expressions are abstractly represented as a collection of identifiers,
|
|
62
62
|
* select statements, function calls, literals, and comprehensions. All
|
|
63
63
|
* operators with the exception of the '.' operator are modelled as function
|
|
64
|
-
* calls. This makes it easy to represent new operators
|
|
64
|
+
* calls. This makes it easy to represent new operators in the existing AST.
|
|
65
65
|
*
|
|
66
66
|
* All references within expressions must resolve to a
|
|
67
67
|
* [Decl][google.api.expr.v1alpha1.Decl] provided at type-check for an
|
|
68
68
|
* expression to be valid. A reference may either be a bare identifier `name` or
|
|
69
|
-
* a qualified identifier `google.api.name`. References may
|
|
69
|
+
* a qualified identifier `google.api.name`. References may refer to either a
|
|
70
70
|
* value or a function declaration.
|
|
71
71
|
*
|
|
72
72
|
* For example, the expression `google.api.name.startsWith('expr')` references
|
|
@@ -80,7 +80,7 @@ export declare class Expr extends Message<Expr> {
|
|
|
80
80
|
/**
|
|
81
81
|
* Required. An id assigned to this node by the parser which is unique in a
|
|
82
82
|
* given expression tree. This is used to associate type information and other
|
|
83
|
-
* attributes
|
|
83
|
+
* attributes with a node in the parse tree.
|
|
84
84
|
*
|
|
85
85
|
* @generated from field: int64 id = 2;
|
|
86
86
|
*/
|
|
@@ -255,7 +255,7 @@ export declare class Expr_Select extends Message<Expr_Select> {
|
|
|
255
255
|
*/
|
|
256
256
|
export declare class Expr_Call extends Message<Expr_Call> {
|
|
257
257
|
/**
|
|
258
|
-
* The target of
|
|
258
|
+
* The target of a method call-style expression. For example, `x` in
|
|
259
259
|
* `x.f()`.
|
|
260
260
|
*
|
|
261
261
|
* @generated from field: google.api.expr.v1alpha1.Expr target = 1;
|
|
@@ -294,7 +294,7 @@ export declare class Expr_Call extends Message<Expr_Call> {
|
|
|
294
294
|
/**
|
|
295
295
|
* A list creation expression.
|
|
296
296
|
*
|
|
297
|
-
* Lists may either be
|
|
297
|
+
* Lists may either be homogeneous, e.g. `[1, 2, 3]`, or heterogeneous, e.g.
|
|
298
298
|
* `dyn([1, 'hello', 2.0])`
|
|
299
299
|
*
|
|
300
300
|
* @generated from message google.api.expr.v1alpha1.Expr.CreateList
|
|
@@ -345,7 +345,7 @@ export declare class Expr_CreateList extends Message<Expr_CreateList> {
|
|
|
345
345
|
*/
|
|
346
346
|
export declare class Expr_CreateStruct extends Message<Expr_CreateStruct> {
|
|
347
347
|
/**
|
|
348
|
-
* The type name of the message to be created
|
|
348
|
+
* The type name of the message to be created; empty when creating map
|
|
349
349
|
* literals.
|
|
350
350
|
*
|
|
351
351
|
* @generated from field: string message_name = 1;
|
|
@@ -383,7 +383,7 @@ export declare class Expr_CreateStruct_Entry extends Message<Expr_CreateStruct_E
|
|
|
383
383
|
/**
|
|
384
384
|
* Required. An id assigned to this node by the parser which is unique
|
|
385
385
|
* in a given expression tree. This is used to associate type
|
|
386
|
-
* information and other attributes
|
|
386
|
+
* information and other attributes with the node.
|
|
387
387
|
*
|
|
388
388
|
* @generated from field: int64 id = 1;
|
|
389
389
|
*/
|
|
@@ -469,7 +469,7 @@ export declare class Expr_CreateStruct_Entry extends Message<Expr_CreateStruct_E
|
|
|
469
469
|
*
|
|
470
470
|
* The `has(m.x)` macro tests whether the property `x` is present in struct
|
|
471
471
|
* `m`. The semantics of this macro depend on the type of `m`. For proto2
|
|
472
|
-
* messages `has(m.x)` is defined as 'defined, but not set
|
|
472
|
+
* messages `has(m.x)` is defined as 'defined, but not set'. For proto3, the
|
|
473
473
|
* macro tests whether the property is set to its default. For map and struct
|
|
474
474
|
* types, the macro tests whether the property `x` is defined on `m`.
|
|
475
475
|
*
|
|
@@ -489,7 +489,7 @@ export declare class Expr_CreateStruct_Entry extends Message<Expr_CreateStruct_E
|
|
|
489
489
|
*
|
|
490
490
|
* Comprehensions for the optional V2 macros which support map-to-map
|
|
491
491
|
* translation differ slightly from the standard environment macros in that
|
|
492
|
-
* they expose
|
|
492
|
+
* they expose the key or index in addition to the value for each list
|
|
493
493
|
* or map entry:
|
|
494
494
|
*
|
|
495
495
|
* ```
|
|
@@ -508,17 +508,16 @@ export declare class Expr_CreateStruct_Entry extends Message<Expr_CreateStruct_E
|
|
|
508
508
|
export declare class Expr_Comprehension extends Message<Expr_Comprehension> {
|
|
509
509
|
/**
|
|
510
510
|
* The name of the first iteration variable.
|
|
511
|
-
*
|
|
512
|
-
*
|
|
511
|
+
* For the single iteration variable macros, when iter_range is a list, this
|
|
512
|
+
* variable is the list element and when the iter_range is a map, this
|
|
513
|
+
* variable is the map key.
|
|
513
514
|
*
|
|
514
515
|
* @generated from field: string iter_var = 1;
|
|
515
516
|
*/
|
|
516
517
|
iterVar: string;
|
|
517
518
|
|
|
518
519
|
/**
|
|
519
|
-
* The name of the second iteration variable
|
|
520
|
-
* When the iter_range is a list, this variable is the integer index.
|
|
521
|
-
* When the iter_range is a map, this variable is the map entry value.
|
|
520
|
+
* The name of the second iteration variable; empty if not set.
|
|
522
521
|
* This field is only set for comprehension v2 macros.
|
|
523
522
|
*
|
|
524
523
|
* @generated from field: string iter_var2 = 8;
|
|
@@ -594,7 +593,7 @@ export declare class Expr_Comprehension extends Message<Expr_Comprehension> {
|
|
|
594
593
|
*
|
|
595
594
|
* Named 'Constant' here for backwards compatibility.
|
|
596
595
|
*
|
|
597
|
-
* This is similar
|
|
596
|
+
* This is similar to the primitives supported in the well-known type
|
|
598
597
|
* `google.protobuf.Value`, but richer so it can represent CEL's full range of
|
|
599
598
|
* primitives.
|
|
600
599
|
*
|
|
@@ -673,7 +672,7 @@ export declare class Constant extends Message<Constant> {
|
|
|
673
672
|
/**
|
|
674
673
|
* protobuf.Duration value.
|
|
675
674
|
*
|
|
676
|
-
* Deprecated: duration is no longer considered a builtin
|
|
675
|
+
* Deprecated: duration is no longer considered a builtin CEL type.
|
|
677
676
|
*
|
|
678
677
|
* @generated from field: google.protobuf.Duration duration_value = 8 [deprecated = true];
|
|
679
678
|
* @deprecated
|
|
@@ -684,7 +683,7 @@ export declare class Constant extends Message<Constant> {
|
|
|
684
683
|
/**
|
|
685
684
|
* protobuf.Timestamp value.
|
|
686
685
|
*
|
|
687
|
-
* Deprecated: timestamp is no longer considered a builtin
|
|
686
|
+
* Deprecated: timestamp is no longer considered a builtin CEL type.
|
|
688
687
|
*
|
|
689
688
|
* @generated from field: google.protobuf.Timestamp timestamp_value = 9 [deprecated = true];
|
|
690
689
|
* @deprecated
|
|
@@ -738,7 +737,7 @@ export declare class SourceInfo extends Message<SourceInfo> {
|
|
|
738
737
|
*
|
|
739
738
|
* The line number of a given position is the index `i` where for a given
|
|
740
739
|
* `id` the `line_offsets[i] < id_positions[id] < line_offsets[i+1]`. The
|
|
741
|
-
* column may be
|
|
740
|
+
* column may be derived from `id_positions[id] - line_offsets[i]`.
|
|
742
741
|
*
|
|
743
742
|
* @generated from field: repeated int32 line_offsets = 3;
|
|
744
743
|
*/
|
|
@@ -811,7 +810,7 @@ export declare class SourceInfo_Extension extends Message<SourceInfo_Extension>
|
|
|
811
810
|
* If set, the listed components must understand the extension for the
|
|
812
811
|
* expression to evaluate correctly.
|
|
813
812
|
*
|
|
814
|
-
* This field has set semantics
|
|
813
|
+
* This field has set semantics; repeated values should be deduplicated.
|
|
815
814
|
*
|
|
816
815
|
* @generated from field: repeated google.api.expr.v1alpha1.SourceInfo.Extension.Component affected_components = 2;
|
|
817
816
|
*/
|
|
@@ -921,7 +920,7 @@ export declare class SourceInfo_Extension_Version extends Message<SourceInfo_Ext
|
|
|
921
920
|
*/
|
|
922
921
|
export declare class SourcePosition extends Message<SourcePosition> {
|
|
923
922
|
/**
|
|
924
|
-
* The
|
|
923
|
+
* The source location name (e.g. file name).
|
|
925
924
|
*
|
|
926
925
|
* @generated from field: string location = 1;
|
|
927
926
|
*/
|
|
@@ -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.
|
|
@@ -225,7 +225,7 @@ export declare class MapValue extends Message<MapValue> {
|
|
|
225
225
|
/**
|
|
226
226
|
* The set of map entries.
|
|
227
227
|
*
|
|
228
|
-
* CEL has fewer restrictions on keys, so a protobuf map
|
|
228
|
+
* CEL has fewer restrictions on keys, so a protobuf map representation
|
|
229
229
|
* cannot be used.
|
|
230
230
|
*
|
|
231
231
|
* @generated from field: repeated google.api.expr.v1alpha1.MapValue.Entry entries = 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.
|
|
@@ -442,6 +442,16 @@ export declare class AttributeContext_Request extends Message<AttributeContext_R
|
|
|
442
442
|
*/
|
|
443
443
|
auth?: AttributeContext_Auth;
|
|
444
444
|
|
|
445
|
+
/**
|
|
446
|
+
* The values from Origin header from the HTTP request, such as
|
|
447
|
+
* "https://console.cloud.google.com". Modern browsers can only have one
|
|
448
|
+
* origin. Special browsers and/or HTTP clients may require multiple
|
|
449
|
+
* origins.
|
|
450
|
+
*
|
|
451
|
+
* @generated from field: string origin = 14;
|
|
452
|
+
*/
|
|
453
|
+
origin: string;
|
|
454
|
+
|
|
445
455
|
constructor(data?: PartialMessage<AttributeContext_Request>);
|
|
446
456
|
|
|
447
457
|
static readonly runtime: typeof proto3;
|
|
@@ -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
|
*/
|