@viamrobotics/sdk 0.55.0 → 0.57.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/data-client.d.ts +18 -0
- package/dist/events.d.ts +2 -1
- package/dist/gen/app/data/v1/data_connect.d.ts +12 -1
- package/dist/gen/app/data/v1/data_pb.d.ts +67 -0
- package/dist/gen/app/mltraining/v1/ml_training_connect.d.ts +12 -1
- package/dist/gen/app/mltraining/v1/ml_training_pb.d.ts +107 -0
- package/dist/gen/app/v1/billing_pb.d.ts +15 -0
- package/dist/gen/app/v1/robot_pb.d.ts +7 -0
- package/dist/gen/common/v1/common_pb.d.ts +1 -1
- package/dist/gen/component/gantry/v1/gantry_connect.d.ts +10 -1
- package/dist/gen/google/api/routing_pb.d.ts +508 -0
- package/dist/gen/google/iam/v1/iam_policy_connect.d.ts +102 -0
- package/dist/gen/google/iam/v1/iam_policy_pb.d.ts +179 -0
- package/dist/gen/google/iam/v1/options_pb.d.ts +67 -0
- package/dist/gen/google/iam/v1/policy_pb.d.ts +668 -0
- package/dist/gen/robot/v1/robot_pb.d.ts +39 -0
- package/dist/main.es.js +4559 -4286
- package/dist/main.umd.js +7 -7
- package/dist/robot/client.d.ts +28 -15
- package/package.json +11 -7
- package/dist/robot/client.spec.d.ts +0 -1
- package/dist/robot/grpc-connection-manager.spec.d.ts +0 -1
- package/dist/robot/session-manager.spec.d.ts +0 -1
- package/dist/rpc/dial.spec.d.ts +0 -1
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
// Copyright 2025 Google LLC
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
|
|
15
|
+
// @generated by protoc-gen-es v1.10.0
|
|
16
|
+
// @generated from file google/iam/v1/iam_policy.proto (package google.iam.v1, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
// @ts-nocheck
|
|
19
|
+
|
|
20
|
+
import type { BinaryReadOptions, FieldList, FieldMask, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
21
|
+
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
22
|
+
import type { Policy } from "./policy_pb.js";
|
|
23
|
+
import type { GetPolicyOptions } from "./options_pb.js";
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Request message for `SetIamPolicy` method.
|
|
27
|
+
*
|
|
28
|
+
* @generated from message google.iam.v1.SetIamPolicyRequest
|
|
29
|
+
*/
|
|
30
|
+
export declare class SetIamPolicyRequest extends Message<SetIamPolicyRequest> {
|
|
31
|
+
/**
|
|
32
|
+
* REQUIRED: The resource for which the policy is being specified.
|
|
33
|
+
* See the operation documentation for the appropriate value for this field.
|
|
34
|
+
*
|
|
35
|
+
* @generated from field: string resource = 1;
|
|
36
|
+
*/
|
|
37
|
+
resource: string;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* REQUIRED: The complete policy to be applied to the `resource`. The size of
|
|
41
|
+
* the policy is limited to a few 10s of KB. An empty policy is a
|
|
42
|
+
* valid policy but certain Cloud Platform services (such as Projects)
|
|
43
|
+
* might reject them.
|
|
44
|
+
*
|
|
45
|
+
* @generated from field: google.iam.v1.Policy policy = 2;
|
|
46
|
+
*/
|
|
47
|
+
policy?: Policy;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
|
|
51
|
+
* the fields in the mask will be modified. If no mask is provided, the
|
|
52
|
+
* following default mask is used:
|
|
53
|
+
*
|
|
54
|
+
* `paths: "bindings, etag"`
|
|
55
|
+
*
|
|
56
|
+
* @generated from field: google.protobuf.FieldMask update_mask = 3;
|
|
57
|
+
*/
|
|
58
|
+
updateMask?: FieldMask;
|
|
59
|
+
|
|
60
|
+
constructor(data?: PartialMessage<SetIamPolicyRequest>);
|
|
61
|
+
|
|
62
|
+
static readonly runtime: typeof proto3;
|
|
63
|
+
static readonly typeName = "google.iam.v1.SetIamPolicyRequest";
|
|
64
|
+
static readonly fields: FieldList;
|
|
65
|
+
|
|
66
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetIamPolicyRequest;
|
|
67
|
+
|
|
68
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetIamPolicyRequest;
|
|
69
|
+
|
|
70
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetIamPolicyRequest;
|
|
71
|
+
|
|
72
|
+
static equals(a: SetIamPolicyRequest | PlainMessage<SetIamPolicyRequest> | undefined, b: SetIamPolicyRequest | PlainMessage<SetIamPolicyRequest> | undefined): boolean;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Request message for `GetIamPolicy` method.
|
|
77
|
+
*
|
|
78
|
+
* @generated from message google.iam.v1.GetIamPolicyRequest
|
|
79
|
+
*/
|
|
80
|
+
export declare class GetIamPolicyRequest extends Message<GetIamPolicyRequest> {
|
|
81
|
+
/**
|
|
82
|
+
* REQUIRED: The resource for which the policy is being requested.
|
|
83
|
+
* See the operation documentation for the appropriate value for this field.
|
|
84
|
+
*
|
|
85
|
+
* @generated from field: string resource = 1;
|
|
86
|
+
*/
|
|
87
|
+
resource: string;
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* OPTIONAL: A `GetPolicyOptions` object for specifying options to
|
|
91
|
+
* `GetIamPolicy`.
|
|
92
|
+
*
|
|
93
|
+
* @generated from field: google.iam.v1.GetPolicyOptions options = 2;
|
|
94
|
+
*/
|
|
95
|
+
options?: GetPolicyOptions;
|
|
96
|
+
|
|
97
|
+
constructor(data?: PartialMessage<GetIamPolicyRequest>);
|
|
98
|
+
|
|
99
|
+
static readonly runtime: typeof proto3;
|
|
100
|
+
static readonly typeName = "google.iam.v1.GetIamPolicyRequest";
|
|
101
|
+
static readonly fields: FieldList;
|
|
102
|
+
|
|
103
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetIamPolicyRequest;
|
|
104
|
+
|
|
105
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetIamPolicyRequest;
|
|
106
|
+
|
|
107
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetIamPolicyRequest;
|
|
108
|
+
|
|
109
|
+
static equals(a: GetIamPolicyRequest | PlainMessage<GetIamPolicyRequest> | undefined, b: GetIamPolicyRequest | PlainMessage<GetIamPolicyRequest> | undefined): boolean;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* Request message for `TestIamPermissions` method.
|
|
114
|
+
*
|
|
115
|
+
* @generated from message google.iam.v1.TestIamPermissionsRequest
|
|
116
|
+
*/
|
|
117
|
+
export declare class TestIamPermissionsRequest extends Message<TestIamPermissionsRequest> {
|
|
118
|
+
/**
|
|
119
|
+
* REQUIRED: The resource for which the policy detail is being requested.
|
|
120
|
+
* See the operation documentation for the appropriate value for this field.
|
|
121
|
+
*
|
|
122
|
+
* @generated from field: string resource = 1;
|
|
123
|
+
*/
|
|
124
|
+
resource: string;
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* The set of permissions to check for the `resource`. Permissions with
|
|
128
|
+
* wildcards (such as '*' or 'storage.*') are not allowed. For more
|
|
129
|
+
* information see
|
|
130
|
+
* [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
|
131
|
+
*
|
|
132
|
+
* @generated from field: repeated string permissions = 2;
|
|
133
|
+
*/
|
|
134
|
+
permissions: string[];
|
|
135
|
+
|
|
136
|
+
constructor(data?: PartialMessage<TestIamPermissionsRequest>);
|
|
137
|
+
|
|
138
|
+
static readonly runtime: typeof proto3;
|
|
139
|
+
static readonly typeName = "google.iam.v1.TestIamPermissionsRequest";
|
|
140
|
+
static readonly fields: FieldList;
|
|
141
|
+
|
|
142
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TestIamPermissionsRequest;
|
|
143
|
+
|
|
144
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TestIamPermissionsRequest;
|
|
145
|
+
|
|
146
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TestIamPermissionsRequest;
|
|
147
|
+
|
|
148
|
+
static equals(a: TestIamPermissionsRequest | PlainMessage<TestIamPermissionsRequest> | undefined, b: TestIamPermissionsRequest | PlainMessage<TestIamPermissionsRequest> | undefined): boolean;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* Response message for `TestIamPermissions` method.
|
|
153
|
+
*
|
|
154
|
+
* @generated from message google.iam.v1.TestIamPermissionsResponse
|
|
155
|
+
*/
|
|
156
|
+
export declare class TestIamPermissionsResponse extends Message<TestIamPermissionsResponse> {
|
|
157
|
+
/**
|
|
158
|
+
* A subset of `TestPermissionsRequest.permissions` that the caller is
|
|
159
|
+
* allowed.
|
|
160
|
+
*
|
|
161
|
+
* @generated from field: repeated string permissions = 1;
|
|
162
|
+
*/
|
|
163
|
+
permissions: string[];
|
|
164
|
+
|
|
165
|
+
constructor(data?: PartialMessage<TestIamPermissionsResponse>);
|
|
166
|
+
|
|
167
|
+
static readonly runtime: typeof proto3;
|
|
168
|
+
static readonly typeName = "google.iam.v1.TestIamPermissionsResponse";
|
|
169
|
+
static readonly fields: FieldList;
|
|
170
|
+
|
|
171
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TestIamPermissionsResponse;
|
|
172
|
+
|
|
173
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TestIamPermissionsResponse;
|
|
174
|
+
|
|
175
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TestIamPermissionsResponse;
|
|
176
|
+
|
|
177
|
+
static equals(a: TestIamPermissionsResponse | PlainMessage<TestIamPermissionsResponse> | undefined, b: TestIamPermissionsResponse | PlainMessage<TestIamPermissionsResponse> | undefined): boolean;
|
|
178
|
+
}
|
|
179
|
+
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
// Copyright 2025 Google LLC
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
|
|
15
|
+
// @generated by protoc-gen-es v1.10.0
|
|
16
|
+
// @generated from file google/iam/v1/options.proto (package google.iam.v1, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
// @ts-nocheck
|
|
19
|
+
|
|
20
|
+
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
21
|
+
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Encapsulates settings provided to GetIamPolicy.
|
|
25
|
+
*
|
|
26
|
+
* @generated from message google.iam.v1.GetPolicyOptions
|
|
27
|
+
*/
|
|
28
|
+
export declare class GetPolicyOptions extends Message<GetPolicyOptions> {
|
|
29
|
+
/**
|
|
30
|
+
* Optional. The maximum policy version that will be used to format the
|
|
31
|
+
* policy.
|
|
32
|
+
*
|
|
33
|
+
* Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
|
34
|
+
* rejected.
|
|
35
|
+
*
|
|
36
|
+
* Requests for policies with any conditional role bindings must specify
|
|
37
|
+
* version 3. Policies with no conditional role bindings may specify any valid
|
|
38
|
+
* value or leave the field unset.
|
|
39
|
+
*
|
|
40
|
+
* The policy in the response might use the policy version that you specified,
|
|
41
|
+
* or it might use a lower policy version. For example, if you specify version
|
|
42
|
+
* 3, but the policy has no conditional role bindings, the response uses
|
|
43
|
+
* version 1.
|
|
44
|
+
*
|
|
45
|
+
* To learn which resources support conditions in their IAM policies, see the
|
|
46
|
+
* [IAM
|
|
47
|
+
* documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
48
|
+
*
|
|
49
|
+
* @generated from field: int32 requested_policy_version = 1;
|
|
50
|
+
*/
|
|
51
|
+
requestedPolicyVersion: number;
|
|
52
|
+
|
|
53
|
+
constructor(data?: PartialMessage<GetPolicyOptions>);
|
|
54
|
+
|
|
55
|
+
static readonly runtime: typeof proto3;
|
|
56
|
+
static readonly typeName = "google.iam.v1.GetPolicyOptions";
|
|
57
|
+
static readonly fields: FieldList;
|
|
58
|
+
|
|
59
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPolicyOptions;
|
|
60
|
+
|
|
61
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPolicyOptions;
|
|
62
|
+
|
|
63
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPolicyOptions;
|
|
64
|
+
|
|
65
|
+
static equals(a: GetPolicyOptions | PlainMessage<GetPolicyOptions> | undefined, b: GetPolicyOptions | PlainMessage<GetPolicyOptions> | undefined): boolean;
|
|
66
|
+
}
|
|
67
|
+
|