@viamrobotics/sdk 0.29.0 → 0.31.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/extra/stream/client.d.ts +26 -0
- package/dist/extra/stream/stream.d.ts +7 -0
- package/dist/gen/app/data/v1/data_connect.d.ts +24 -1
- package/dist/gen/app/data/v1/data_pb.d.ts +213 -10
- package/dist/gen/app/v1/app_connect.d.ts +91 -1
- package/dist/gen/app/v1/app_pb.d.ts +684 -0
- package/dist/gen/google/longrunning/operations_connect.d.ts +9 -16
- package/dist/gen/google/longrunning/operations_pb.d.ts +21 -15
- package/dist/gen/robot/v1/robot_pb.d.ts +7 -0
- package/dist/main.es.js +4244 -3601
- package/dist/main.umd.js +7 -7
- package/package.json +7 -7
|
@@ -24,12 +24,12 @@ import { Empty, MethodKind } from "@bufbuild/protobuf";
|
|
|
24
24
|
* Manages long-running operations with an API service.
|
|
25
25
|
*
|
|
26
26
|
* When an API method normally takes long time to complete, it can be designed
|
|
27
|
-
* to return [Operation][google.longrunning.Operation] to the client, and the
|
|
28
|
-
* interface to receive the real response asynchronously by
|
|
29
|
-
* operation resource, or pass the operation resource to another API
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
27
|
+
* to return [Operation][google.longrunning.Operation] to the client, and the
|
|
28
|
+
* client can use this interface to receive the real response asynchronously by
|
|
29
|
+
* polling the operation resource, or pass the operation resource to another API
|
|
30
|
+
* (such as Pub/Sub API) to receive the response. Any API service that returns
|
|
31
|
+
* long-running operations should implement the `Operations` interface so
|
|
32
|
+
* developers can have a consistent client experience.
|
|
33
33
|
*
|
|
34
34
|
* @generated from service google.longrunning.Operations
|
|
35
35
|
*/
|
|
@@ -40,14 +40,6 @@ export declare const Operations: {
|
|
|
40
40
|
* Lists operations that match the specified filter in the request. If the
|
|
41
41
|
* server doesn't support this method, it returns `UNIMPLEMENTED`.
|
|
42
42
|
*
|
|
43
|
-
* NOTE: the `name` binding allows API services to override the binding
|
|
44
|
-
* to use different resource name schemes, such as `users/*\/operations`. To
|
|
45
|
-
* override the binding, API services can add a binding such as
|
|
46
|
-
* `"/v1/{name=users/*}/operations"` to their service configuration.
|
|
47
|
-
* For backwards compatibility, the default name includes the operations
|
|
48
|
-
* collection id, however overriding users must ensure the name binding
|
|
49
|
-
* is the parent resource, without the operations collection id.
|
|
50
|
-
*
|
|
51
43
|
* @generated from rpc google.longrunning.Operations.ListOperations
|
|
52
44
|
*/
|
|
53
45
|
readonly listOperations: {
|
|
@@ -92,8 +84,9 @@ export declare const Operations: {
|
|
|
92
84
|
* other methods to check whether the cancellation succeeded or whether the
|
|
93
85
|
* operation completed despite cancellation. On successful cancellation,
|
|
94
86
|
* the operation is not deleted; instead, it becomes an operation with
|
|
95
|
-
* an [Operation.error][google.longrunning.Operation.error] value with a
|
|
96
|
-
* corresponding to
|
|
87
|
+
* an [Operation.error][google.longrunning.Operation.error] value with a
|
|
88
|
+
* [google.rpc.Status.code][google.rpc.Status.code] of `1`, corresponding to
|
|
89
|
+
* `Code.CANCELLED`.
|
|
97
90
|
*
|
|
98
91
|
* @generated from rpc google.longrunning.Operations.CancelOperation
|
|
99
92
|
*/
|
|
@@ -59,7 +59,8 @@ export declare class Operation extends Message<Operation> {
|
|
|
59
59
|
/**
|
|
60
60
|
* The operation result, which can be either an `error` or a valid `response`.
|
|
61
61
|
* If `done` == `false`, neither `error` nor `response` is set.
|
|
62
|
-
* If `done` == `true`, exactly one of `error` or `response`
|
|
62
|
+
* If `done` == `true`, exactly one of `error` or `response` can be set.
|
|
63
|
+
* Some services might not provide the result.
|
|
63
64
|
*
|
|
64
65
|
* @generated from oneof google.longrunning.Operation.result
|
|
65
66
|
*/
|
|
@@ -73,7 +74,7 @@ export declare class Operation extends Message<Operation> {
|
|
|
73
74
|
case: "error";
|
|
74
75
|
} | {
|
|
75
76
|
/**
|
|
76
|
-
* The normal response of the operation
|
|
77
|
+
* The normal, successful response of the operation. If the original
|
|
77
78
|
* method returns no data on success, such as `Delete`, the response is
|
|
78
79
|
* `google.protobuf.Empty`. If the original method is standard
|
|
79
80
|
* `Get`/`Create`/`Update`, the response should be the resource. For other
|
|
@@ -104,7 +105,8 @@ export declare class Operation extends Message<Operation> {
|
|
|
104
105
|
}
|
|
105
106
|
|
|
106
107
|
/**
|
|
107
|
-
* The request message for
|
|
108
|
+
* The request message for
|
|
109
|
+
* [Operations.GetOperation][google.longrunning.Operations.GetOperation].
|
|
108
110
|
*
|
|
109
111
|
* @generated from message google.longrunning.GetOperationRequest
|
|
110
112
|
*/
|
|
@@ -132,7 +134,8 @@ export declare class GetOperationRequest extends Message<GetOperationRequest> {
|
|
|
132
134
|
}
|
|
133
135
|
|
|
134
136
|
/**
|
|
135
|
-
* The request message for
|
|
137
|
+
* The request message for
|
|
138
|
+
* [Operations.ListOperations][google.longrunning.Operations.ListOperations].
|
|
136
139
|
*
|
|
137
140
|
* @generated from message google.longrunning.ListOperationsRequest
|
|
138
141
|
*/
|
|
@@ -181,7 +184,8 @@ export declare class ListOperationsRequest extends Message<ListOperationsRequest
|
|
|
181
184
|
}
|
|
182
185
|
|
|
183
186
|
/**
|
|
184
|
-
* The response message for
|
|
187
|
+
* The response message for
|
|
188
|
+
* [Operations.ListOperations][google.longrunning.Operations.ListOperations].
|
|
185
189
|
*
|
|
186
190
|
* @generated from message google.longrunning.ListOperationsResponse
|
|
187
191
|
*/
|
|
@@ -216,7 +220,8 @@ export declare class ListOperationsResponse extends Message<ListOperationsRespon
|
|
|
216
220
|
}
|
|
217
221
|
|
|
218
222
|
/**
|
|
219
|
-
* The request message for
|
|
223
|
+
* The request message for
|
|
224
|
+
* [Operations.CancelOperation][google.longrunning.Operations.CancelOperation].
|
|
220
225
|
*
|
|
221
226
|
* @generated from message google.longrunning.CancelOperationRequest
|
|
222
227
|
*/
|
|
@@ -244,7 +249,8 @@ export declare class CancelOperationRequest extends Message<CancelOperationReque
|
|
|
244
249
|
}
|
|
245
250
|
|
|
246
251
|
/**
|
|
247
|
-
* The request message for
|
|
252
|
+
* The request message for
|
|
253
|
+
* [Operations.DeleteOperation][google.longrunning.Operations.DeleteOperation].
|
|
248
254
|
*
|
|
249
255
|
* @generated from message google.longrunning.DeleteOperationRequest
|
|
250
256
|
*/
|
|
@@ -272,7 +278,8 @@ export declare class DeleteOperationRequest extends Message<DeleteOperationReque
|
|
|
272
278
|
}
|
|
273
279
|
|
|
274
280
|
/**
|
|
275
|
-
* The request message for
|
|
281
|
+
* The request message for
|
|
282
|
+
* [Operations.WaitOperation][google.longrunning.Operations.WaitOperation].
|
|
276
283
|
*
|
|
277
284
|
* @generated from message google.longrunning.WaitOperationRequest
|
|
278
285
|
*/
|
|
@@ -313,13 +320,12 @@ export declare class WaitOperationRequest extends Message<WaitOperationRequest>
|
|
|
313
320
|
*
|
|
314
321
|
* Example:
|
|
315
322
|
*
|
|
316
|
-
*
|
|
317
|
-
*
|
|
318
|
-
*
|
|
319
|
-
*
|
|
320
|
-
*
|
|
321
|
-
* }
|
|
322
|
-
* }
|
|
323
|
+
* rpc Export(ExportRequest) returns (google.longrunning.Operation) {
|
|
324
|
+
* option (google.longrunning.operation_info) = {
|
|
325
|
+
* response_type: "ExportResponse"
|
|
326
|
+
* metadata_type: "ExportMetadata"
|
|
327
|
+
* };
|
|
328
|
+
* }
|
|
323
329
|
*
|
|
324
330
|
* @generated from message google.longrunning.OperationInfo
|
|
325
331
|
*/
|
|
@@ -1348,6 +1348,13 @@ export declare class ResourceStatus extends Message<ResourceStatus> {
|
|
|
1348
1348
|
*/
|
|
1349
1349
|
error: string;
|
|
1350
1350
|
|
|
1351
|
+
/**
|
|
1352
|
+
* infomation about resource orgID, locationID and partID
|
|
1353
|
+
*
|
|
1354
|
+
* @generated from field: optional viam.robot.v1.GetCloudMetadataResponse cloud_metadata = 6;
|
|
1355
|
+
*/
|
|
1356
|
+
cloudMetadata?: GetCloudMetadataResponse;
|
|
1357
|
+
|
|
1351
1358
|
constructor(data?: PartialMessage<ResourceStatus>);
|
|
1352
1359
|
|
|
1353
1360
|
static readonly runtime: typeof proto3;
|