@viamrobotics/sdk 0.28.0 → 0.30.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/gen/app/data/v1/data_pb.d.ts +45 -0
- package/dist/gen/app/datasync/v1/data_sync_pb.d.ts +38 -1
- package/dist/gen/app/v1/app_connect.d.ts +10 -1
- package/dist/gen/app/v1/app_pb.d.ts +77 -19
- package/dist/gen/app/v1/robot_pb.d.ts +5 -0
- package/dist/gen/common/v1/common_pb.d.ts +10 -0
- package/dist/gen/google/api/client_pb.d.ts +10 -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/main.es.js +2975 -2901
- package/dist/main.umd.js +7 -7
- package/dist/robot/dial.d.ts +1 -0
- package/package.json +6 -6
package/dist/api-version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const apiVersion = "v0.1.
|
|
1
|
+
export declare const apiVersion = "v0.1.361";
|
|
@@ -852,6 +852,13 @@ export declare class BoundingBox extends Message<BoundingBox> {
|
|
|
852
852
|
*/
|
|
853
853
|
yMaxNormalized: number;
|
|
854
854
|
|
|
855
|
+
/**
|
|
856
|
+
* confidence is an optional range from 0 - 1
|
|
857
|
+
*
|
|
858
|
+
* @generated from field: optional double confidence = 7;
|
|
859
|
+
*/
|
|
860
|
+
confidence?: number;
|
|
861
|
+
|
|
855
862
|
constructor(data?: PartialMessage<BoundingBox>);
|
|
856
863
|
|
|
857
864
|
static readonly runtime: typeof proto3;
|
|
@@ -867,6 +874,39 @@ export declare class BoundingBox extends Message<BoundingBox> {
|
|
|
867
874
|
static equals(a: BoundingBox | PlainMessage<BoundingBox> | undefined, b: BoundingBox | PlainMessage<BoundingBox> | undefined): boolean;
|
|
868
875
|
}
|
|
869
876
|
|
|
877
|
+
/**
|
|
878
|
+
* Classification represents a confidence score with a label.
|
|
879
|
+
*
|
|
880
|
+
* @generated from message viam.app.data.v1.Classification
|
|
881
|
+
*/
|
|
882
|
+
export declare class Classification extends Message<Classification> {
|
|
883
|
+
/**
|
|
884
|
+
* @generated from field: string label = 1;
|
|
885
|
+
*/
|
|
886
|
+
label: string;
|
|
887
|
+
|
|
888
|
+
/**
|
|
889
|
+
* confidence is an optional range from 0 - 1
|
|
890
|
+
*
|
|
891
|
+
* @generated from field: optional double confidence = 2;
|
|
892
|
+
*/
|
|
893
|
+
confidence?: number;
|
|
894
|
+
|
|
895
|
+
constructor(data?: PartialMessage<Classification>);
|
|
896
|
+
|
|
897
|
+
static readonly runtime: typeof proto3;
|
|
898
|
+
static readonly typeName = "viam.app.data.v1.Classification";
|
|
899
|
+
static readonly fields: FieldList;
|
|
900
|
+
|
|
901
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Classification;
|
|
902
|
+
|
|
903
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Classification;
|
|
904
|
+
|
|
905
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Classification;
|
|
906
|
+
|
|
907
|
+
static equals(a: Classification | PlainMessage<Classification> | undefined, b: Classification | PlainMessage<Classification> | undefined): boolean;
|
|
908
|
+
}
|
|
909
|
+
|
|
870
910
|
/**
|
|
871
911
|
* Annotations are data annotations used for machine learning.
|
|
872
912
|
*
|
|
@@ -878,6 +918,11 @@ export declare class Annotations extends Message<Annotations> {
|
|
|
878
918
|
*/
|
|
879
919
|
bboxes: BoundingBox[];
|
|
880
920
|
|
|
921
|
+
/**
|
|
922
|
+
* @generated from field: repeated viam.app.data.v1.Classification classifications = 2;
|
|
923
|
+
*/
|
|
924
|
+
classifications: Classification[];
|
|
925
|
+
|
|
881
926
|
constructor(data?: PartialMessage<Annotations>);
|
|
882
927
|
|
|
883
928
|
static readonly runtime: typeof proto3;
|
|
@@ -5,6 +5,32 @@
|
|
|
5
5
|
|
|
6
6
|
import type { Any, BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Struct, Timestamp } from "@bufbuild/protobuf";
|
|
7
7
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
8
|
+
import type { Annotations } from "../../data/v1/data_pb.js";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* @generated from enum viam.app.datasync.v1.MimeType
|
|
12
|
+
*/
|
|
13
|
+
export declare enum MimeType {
|
|
14
|
+
/**
|
|
15
|
+
* @generated from enum value: MIME_TYPE_UNSPECIFIED = 0;
|
|
16
|
+
*/
|
|
17
|
+
UNSPECIFIED = 0,
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* @generated from enum value: MIME_TYPE_IMAGE_JPEG = 1;
|
|
21
|
+
*/
|
|
22
|
+
IMAGE_JPEG = 1,
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* @generated from enum value: MIME_TYPE_IMAGE_PNG = 2;
|
|
26
|
+
*/
|
|
27
|
+
IMAGE_PNG = 2,
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* @generated from enum value: MIME_TYPE_APPLICATION_PCD = 3;
|
|
31
|
+
*/
|
|
32
|
+
APPLICATION_PCD = 3,
|
|
33
|
+
}
|
|
8
34
|
|
|
9
35
|
/**
|
|
10
36
|
* DataType specifies the type of data uploaded.
|
|
@@ -221,7 +247,8 @@ export declare class StreamingDataCaptureUploadResponse extends Message<Streamin
|
|
|
221
247
|
}
|
|
222
248
|
|
|
223
249
|
/**
|
|
224
|
-
* SensorMetadata contains the time the sensor data was requested and was
|
|
250
|
+
* SensorMetadata contains the time the sensor data was requested and was
|
|
251
|
+
* received.
|
|
225
252
|
*
|
|
226
253
|
* @generated from message viam.app.datasync.v1.SensorMetadata
|
|
227
254
|
*/
|
|
@@ -236,6 +263,16 @@ export declare class SensorMetadata extends Message<SensorMetadata> {
|
|
|
236
263
|
*/
|
|
237
264
|
timeReceived?: Timestamp;
|
|
238
265
|
|
|
266
|
+
/**
|
|
267
|
+
* @generated from field: viam.app.datasync.v1.MimeType mime_type = 3;
|
|
268
|
+
*/
|
|
269
|
+
mimeType: MimeType;
|
|
270
|
+
|
|
271
|
+
/**
|
|
272
|
+
* @generated from field: viam.app.data.v1.Annotations annotations = 4;
|
|
273
|
+
*/
|
|
274
|
+
annotations?: Annotations;
|
|
275
|
+
|
|
239
276
|
constructor(data?: PartialMessage<SensorMetadata>);
|
|
240
277
|
|
|
241
278
|
static readonly runtime: typeof proto3;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
|
-
import { AddRoleRequest, AddRoleResponse, ChangeRoleRequest, ChangeRoleResponse, CheckPermissionsRequest, CheckPermissionsResponse, CreateFragmentRequest, CreateFragmentResponse, CreateKeyFromExistingKeyAuthorizationsRequest, CreateKeyFromExistingKeyAuthorizationsResponse, CreateKeyRequest, CreateKeyResponse, CreateLocationRequest, CreateLocationResponse, CreateLocationSecretRequest, CreateLocationSecretResponse, CreateModuleRequest, CreateModuleResponse, CreateOrganizationInviteRequest, CreateOrganizationInviteResponse, CreateOrganizationRequest, CreateOrganizationResponse, CreateRegistryItemRequest, CreateRegistryItemResponse, CreateRobotPartSecretRequest, CreateRobotPartSecretResponse, DeleteFragmentRequest, DeleteFragmentResponse, DeleteKeyRequest, DeleteKeyResponse, DeleteLocationRequest, DeleteLocationResponse, DeleteLocationSecretRequest, DeleteLocationSecretResponse, DeleteOrganizationInviteRequest, DeleteOrganizationInviteResponse, DeleteOrganizationMemberRequest, DeleteOrganizationMemberResponse, DeleteOrganizationRequest, DeleteOrganizationResponse, DeleteRegistryItemRequest, DeleteRegistryItemResponse, DeleteRobotPartRequest, DeleteRobotPartResponse, DeleteRobotPartSecretRequest, DeleteRobotPartSecretResponse, DeleteRobotRequest, DeleteRobotResponse, DisableBillingServiceRequest, DisableBillingServiceResponse, EnableBillingServiceRequest, EnableBillingServiceResponse, GetFragmentHistoryRequest, GetFragmentHistoryResponse, GetFragmentRequest, GetFragmentResponse, GetLocationRequest, GetLocationResponse, GetModuleRequest, GetModuleResponse, GetOrganizationNamespaceAvailabilityRequest, GetOrganizationNamespaceAvailabilityResponse, GetOrganizationRequest, GetOrganizationResponse, GetOrganizationsWithAccessToLocationRequest, GetOrganizationsWithAccessToLocationResponse, GetRegistryItemRequest, GetRegistryItemResponse, GetRobotAPIKeysRequest, GetRobotAPIKeysResponse, GetRobotPartHistoryRequest, GetRobotPartHistoryResponse, GetRobotPartLogsRequest, GetRobotPartLogsResponse, GetRobotPartRequest, GetRobotPartResponse, GetRobotPartsRequest, GetRobotPartsResponse, GetRobotRequest, GetRobotResponse, GetRoverRentalRobotsRequest, GetRoverRentalRobotsResponse, GetUserIDByEmailRequest, GetUserIDByEmailResponse, ListAuthorizationsRequest, ListAuthorizationsResponse, ListFragmentsRequest, ListFragmentsResponse, ListKeysRequest, ListKeysResponse, ListLocationsRequest, ListLocationsResponse, ListMachineFragmentsRequest, ListMachineFragmentsResponse, ListModulesRequest, ListModulesResponse, ListOrganizationMembersRequest, ListOrganizationMembersResponse, ListOrganizationsByUserRequest, ListOrganizationsByUserResponse, ListOrganizationsRequest, ListOrganizationsResponse, ListRegistryItemsRequest, ListRegistryItemsResponse, ListRobotsRequest, ListRobotsResponse, LocationAuthRequest, LocationAuthResponse, MarkPartAsMainRequest, MarkPartAsMainResponse, MarkPartForRestartRequest, MarkPartForRestartResponse, NewRobotPartRequest, NewRobotPartResponse, NewRobotRequest, NewRobotResponse, OrganizationGetSupportEmailRequest, OrganizationGetSupportEmailResponse, OrganizationSetSupportEmailRequest, OrganizationSetSupportEmailResponse, RemoveRoleRequest, RemoveRoleResponse, RenameKeyRequest, RenameKeyResponse, ResendOrganizationInviteRequest, ResendOrganizationInviteResponse, RotateKeyRequest, RotateKeyResponse, ShareLocationRequest, ShareLocationResponse, TailRobotPartLogsRequest, TailRobotPartLogsResponse, TransferRegistryItemRequest, TransferRegistryItemResponse, UnshareLocationRequest, UnshareLocationResponse, UpdateBillingServiceRequest, UpdateBillingServiceResponse, UpdateFragmentRequest, UpdateFragmentResponse, UpdateLocationRequest, UpdateLocationResponse, UpdateModuleRequest, UpdateModuleResponse, UpdateOrganizationInviteAuthorizationsRequest, UpdateOrganizationInviteAuthorizationsResponse, UpdateOrganizationRequest, UpdateOrganizationResponse, UpdateRegistryItemRequest, UpdateRegistryItemResponse, UpdateRobotPartRequest, UpdateRobotPartResponse, UpdateRobotRequest, UpdateRobotResponse, UploadModuleFileRequest, UploadModuleFileResponse } from "./app_pb.js";
|
|
6
|
+
import { AddRoleRequest, AddRoleResponse, ChangeRoleRequest, ChangeRoleResponse, CheckPermissionsRequest, CheckPermissionsResponse, CreateFragmentRequest, CreateFragmentResponse, CreateKeyFromExistingKeyAuthorizationsRequest, CreateKeyFromExistingKeyAuthorizationsResponse, CreateKeyRequest, CreateKeyResponse, CreateLocationRequest, CreateLocationResponse, CreateLocationSecretRequest, CreateLocationSecretResponse, CreateModuleRequest, CreateModuleResponse, CreateOrganizationInviteRequest, CreateOrganizationInviteResponse, CreateOrganizationRequest, CreateOrganizationResponse, CreateRegistryItemRequest, CreateRegistryItemResponse, CreateRobotPartSecretRequest, CreateRobotPartSecretResponse, DeleteFragmentRequest, DeleteFragmentResponse, DeleteKeyRequest, DeleteKeyResponse, DeleteLocationRequest, DeleteLocationResponse, DeleteLocationSecretRequest, DeleteLocationSecretResponse, DeleteOrganizationInviteRequest, DeleteOrganizationInviteResponse, DeleteOrganizationMemberRequest, DeleteOrganizationMemberResponse, DeleteOrganizationRequest, DeleteOrganizationResponse, DeleteRegistryItemRequest, DeleteRegistryItemResponse, DeleteRobotPartRequest, DeleteRobotPartResponse, DeleteRobotPartSecretRequest, DeleteRobotPartSecretResponse, DeleteRobotRequest, DeleteRobotResponse, DisableBillingServiceRequest, DisableBillingServiceResponse, EnableBillingServiceRequest, EnableBillingServiceResponse, GetBillingServiceConfigRequest, GetBillingServiceConfigResponse, GetFragmentHistoryRequest, GetFragmentHistoryResponse, GetFragmentRequest, GetFragmentResponse, GetLocationRequest, GetLocationResponse, GetModuleRequest, GetModuleResponse, GetOrganizationNamespaceAvailabilityRequest, GetOrganizationNamespaceAvailabilityResponse, GetOrganizationRequest, GetOrganizationResponse, GetOrganizationsWithAccessToLocationRequest, GetOrganizationsWithAccessToLocationResponse, GetRegistryItemRequest, GetRegistryItemResponse, GetRobotAPIKeysRequest, GetRobotAPIKeysResponse, GetRobotPartHistoryRequest, GetRobotPartHistoryResponse, GetRobotPartLogsRequest, GetRobotPartLogsResponse, GetRobotPartRequest, GetRobotPartResponse, GetRobotPartsRequest, GetRobotPartsResponse, GetRobotRequest, GetRobotResponse, GetRoverRentalRobotsRequest, GetRoverRentalRobotsResponse, GetUserIDByEmailRequest, GetUserIDByEmailResponse, ListAuthorizationsRequest, ListAuthorizationsResponse, ListFragmentsRequest, ListFragmentsResponse, ListKeysRequest, ListKeysResponse, ListLocationsRequest, ListLocationsResponse, ListMachineFragmentsRequest, ListMachineFragmentsResponse, ListModulesRequest, ListModulesResponse, ListOrganizationMembersRequest, ListOrganizationMembersResponse, ListOrganizationsByUserRequest, ListOrganizationsByUserResponse, ListOrganizationsRequest, ListOrganizationsResponse, ListRegistryItemsRequest, ListRegistryItemsResponse, ListRobotsRequest, ListRobotsResponse, LocationAuthRequest, LocationAuthResponse, MarkPartAsMainRequest, MarkPartAsMainResponse, MarkPartForRestartRequest, MarkPartForRestartResponse, NewRobotPartRequest, NewRobotPartResponse, NewRobotRequest, NewRobotResponse, OrganizationGetSupportEmailRequest, OrganizationGetSupportEmailResponse, OrganizationSetSupportEmailRequest, OrganizationSetSupportEmailResponse, RemoveRoleRequest, RemoveRoleResponse, RenameKeyRequest, RenameKeyResponse, ResendOrganizationInviteRequest, ResendOrganizationInviteResponse, RotateKeyRequest, RotateKeyResponse, ShareLocationRequest, ShareLocationResponse, TailRobotPartLogsRequest, TailRobotPartLogsResponse, TransferRegistryItemRequest, TransferRegistryItemResponse, UnshareLocationRequest, UnshareLocationResponse, UpdateBillingServiceRequest, UpdateBillingServiceResponse, UpdateFragmentRequest, UpdateFragmentResponse, UpdateLocationRequest, UpdateLocationResponse, UpdateModuleRequest, UpdateModuleResponse, UpdateOrganizationInviteAuthorizationsRequest, UpdateOrganizationInviteAuthorizationsResponse, UpdateOrganizationRequest, UpdateOrganizationResponse, UpdateRegistryItemRequest, UpdateRegistryItemResponse, UpdateRobotPartRequest, UpdateRobotPartResponse, UpdateRobotRequest, UpdateRobotResponse, UploadModuleFileRequest, UploadModuleFileResponse } from "./app_pb.js";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -206,6 +206,15 @@ export declare const AppService: {
|
|
|
206
206
|
readonly O: typeof UpdateBillingServiceResponse,
|
|
207
207
|
readonly kind: MethodKind.Unary,
|
|
208
208
|
},
|
|
209
|
+
/**
|
|
210
|
+
* @generated from rpc viam.app.v1.AppService.GetBillingServiceConfig
|
|
211
|
+
*/
|
|
212
|
+
readonly getBillingServiceConfig: {
|
|
213
|
+
readonly name: "GetBillingServiceConfig",
|
|
214
|
+
readonly I: typeof GetBillingServiceConfigRequest,
|
|
215
|
+
readonly O: typeof GetBillingServiceConfigResponse,
|
|
216
|
+
readonly kind: MethodKind.Unary,
|
|
217
|
+
},
|
|
209
218
|
/**
|
|
210
219
|
* @generated from rpc viam.app.v1.AppService.OrganizationSetSupportEmail
|
|
211
220
|
*/
|
|
@@ -1242,11 +1242,6 @@ export declare class UpdateBillingServiceRequest extends Message<UpdateBillingSe
|
|
|
1242
1242
|
*/
|
|
1243
1243
|
billingAddress?: BillingAddress;
|
|
1244
1244
|
|
|
1245
|
-
/**
|
|
1246
|
-
* @generated from field: string billing_support_email = 3;
|
|
1247
|
-
*/
|
|
1248
|
-
billingSupportEmail: string;
|
|
1249
|
-
|
|
1250
1245
|
constructor(data?: PartialMessage<UpdateBillingServiceRequest>);
|
|
1251
1246
|
|
|
1252
1247
|
static readonly runtime: typeof proto3;
|
|
@@ -1281,6 +1276,69 @@ export declare class UpdateBillingServiceResponse extends Message<UpdateBillingS
|
|
|
1281
1276
|
static equals(a: UpdateBillingServiceResponse | PlainMessage<UpdateBillingServiceResponse> | undefined, b: UpdateBillingServiceResponse | PlainMessage<UpdateBillingServiceResponse> | undefined): boolean;
|
|
1282
1277
|
}
|
|
1283
1278
|
|
|
1279
|
+
/**
|
|
1280
|
+
* @generated from message viam.app.v1.GetBillingServiceConfigRequest
|
|
1281
|
+
*/
|
|
1282
|
+
export declare class GetBillingServiceConfigRequest extends Message<GetBillingServiceConfigRequest> {
|
|
1283
|
+
/**
|
|
1284
|
+
* @generated from field: string org_id = 1;
|
|
1285
|
+
*/
|
|
1286
|
+
orgId: string;
|
|
1287
|
+
|
|
1288
|
+
constructor(data?: PartialMessage<GetBillingServiceConfigRequest>);
|
|
1289
|
+
|
|
1290
|
+
static readonly runtime: typeof proto3;
|
|
1291
|
+
static readonly typeName = "viam.app.v1.GetBillingServiceConfigRequest";
|
|
1292
|
+
static readonly fields: FieldList;
|
|
1293
|
+
|
|
1294
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetBillingServiceConfigRequest;
|
|
1295
|
+
|
|
1296
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetBillingServiceConfigRequest;
|
|
1297
|
+
|
|
1298
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetBillingServiceConfigRequest;
|
|
1299
|
+
|
|
1300
|
+
static equals(a: GetBillingServiceConfigRequest | PlainMessage<GetBillingServiceConfigRequest> | undefined, b: GetBillingServiceConfigRequest | PlainMessage<GetBillingServiceConfigRequest> | undefined): boolean;
|
|
1301
|
+
}
|
|
1302
|
+
|
|
1303
|
+
/**
|
|
1304
|
+
* @generated from message viam.app.v1.GetBillingServiceConfigResponse
|
|
1305
|
+
*/
|
|
1306
|
+
export declare class GetBillingServiceConfigResponse extends Message<GetBillingServiceConfigResponse> {
|
|
1307
|
+
/**
|
|
1308
|
+
* @generated from field: viam.app.v1.BillingAddress billing_address = 1;
|
|
1309
|
+
*/
|
|
1310
|
+
billingAddress?: BillingAddress;
|
|
1311
|
+
|
|
1312
|
+
/**
|
|
1313
|
+
* @generated from field: string support_email = 2;
|
|
1314
|
+
*/
|
|
1315
|
+
supportEmail: string;
|
|
1316
|
+
|
|
1317
|
+
/**
|
|
1318
|
+
* @generated from field: string logo_url = 3;
|
|
1319
|
+
*/
|
|
1320
|
+
logoUrl: string;
|
|
1321
|
+
|
|
1322
|
+
/**
|
|
1323
|
+
* @generated from field: string billing_dashboard_url = 4;
|
|
1324
|
+
*/
|
|
1325
|
+
billingDashboardUrl: string;
|
|
1326
|
+
|
|
1327
|
+
constructor(data?: PartialMessage<GetBillingServiceConfigResponse>);
|
|
1328
|
+
|
|
1329
|
+
static readonly runtime: typeof proto3;
|
|
1330
|
+
static readonly typeName = "viam.app.v1.GetBillingServiceConfigResponse";
|
|
1331
|
+
static readonly fields: FieldList;
|
|
1332
|
+
|
|
1333
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetBillingServiceConfigResponse;
|
|
1334
|
+
|
|
1335
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetBillingServiceConfigResponse;
|
|
1336
|
+
|
|
1337
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetBillingServiceConfigResponse;
|
|
1338
|
+
|
|
1339
|
+
static equals(a: GetBillingServiceConfigResponse | PlainMessage<GetBillingServiceConfigResponse> | undefined, b: GetBillingServiceConfigResponse | PlainMessage<GetBillingServiceConfigResponse> | undefined): boolean;
|
|
1340
|
+
}
|
|
1341
|
+
|
|
1284
1342
|
/**
|
|
1285
1343
|
* @generated from message viam.app.v1.DisableBillingServiceRequest
|
|
1286
1344
|
*/
|
|
@@ -3131,37 +3189,37 @@ export declare class FragmentError extends Message<FragmentError> {
|
|
|
3131
3189
|
}
|
|
3132
3190
|
|
|
3133
3191
|
/**
|
|
3134
|
-
* @generated from message viam.app.v1.
|
|
3192
|
+
* @generated from message viam.app.v1.ResolvedFragment
|
|
3135
3193
|
*/
|
|
3136
|
-
export declare class
|
|
3194
|
+
export declare class ResolvedFragment extends Message<ResolvedFragment> {
|
|
3137
3195
|
/**
|
|
3138
|
-
* @generated from field: string
|
|
3196
|
+
* @generated from field: string fragment_id = 1;
|
|
3139
3197
|
*/
|
|
3140
|
-
|
|
3198
|
+
fragmentId: string;
|
|
3141
3199
|
|
|
3142
3200
|
/**
|
|
3143
|
-
* @generated from field:
|
|
3201
|
+
* @generated from field: google.protobuf.Struct resolved_config = 2;
|
|
3144
3202
|
*/
|
|
3145
|
-
|
|
3203
|
+
resolvedConfig?: Struct;
|
|
3146
3204
|
|
|
3147
3205
|
/**
|
|
3148
3206
|
* @generated from field: viam.app.v1.FragmentError error = 3;
|
|
3149
3207
|
*/
|
|
3150
3208
|
error?: FragmentError;
|
|
3151
3209
|
|
|
3152
|
-
constructor(data?: PartialMessage<
|
|
3210
|
+
constructor(data?: PartialMessage<ResolvedFragment>);
|
|
3153
3211
|
|
|
3154
3212
|
static readonly runtime: typeof proto3;
|
|
3155
|
-
static readonly typeName = "viam.app.v1.
|
|
3213
|
+
static readonly typeName = "viam.app.v1.ResolvedFragment";
|
|
3156
3214
|
static readonly fields: FieldList;
|
|
3157
3215
|
|
|
3158
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
3216
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ResolvedFragment;
|
|
3159
3217
|
|
|
3160
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
3218
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ResolvedFragment;
|
|
3161
3219
|
|
|
3162
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
3220
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ResolvedFragment;
|
|
3163
3221
|
|
|
3164
|
-
static equals(a:
|
|
3222
|
+
static equals(a: ResolvedFragment | PlainMessage<ResolvedFragment> | undefined, b: ResolvedFragment | PlainMessage<ResolvedFragment> | undefined): boolean;
|
|
3165
3223
|
}
|
|
3166
3224
|
|
|
3167
3225
|
/**
|
|
@@ -3576,9 +3634,9 @@ export declare class ListMachineFragmentsResponse extends Message<ListMachineFra
|
|
|
3576
3634
|
fragments: Fragment[];
|
|
3577
3635
|
|
|
3578
3636
|
/**
|
|
3579
|
-
* @generated from field: repeated viam.app.v1.
|
|
3637
|
+
* @generated from field: repeated viam.app.v1.ResolvedFragment resolved_fragments = 2;
|
|
3580
3638
|
*/
|
|
3581
|
-
|
|
3639
|
+
resolvedFragments: ResolvedFragment[];
|
|
3582
3640
|
|
|
3583
3641
|
constructor(data?: PartialMessage<ListMachineFragmentsResponse>);
|
|
3584
3642
|
|
|
@@ -478,6 +478,11 @@ export declare class ProcessConfig extends Message<ProcessConfig> {
|
|
|
478
478
|
*/
|
|
479
479
|
env: { [key: string]: string };
|
|
480
480
|
|
|
481
|
+
/**
|
|
482
|
+
* @generated from field: string username = 10;
|
|
483
|
+
*/
|
|
484
|
+
username: string;
|
|
485
|
+
|
|
481
486
|
constructor(data?: PartialMessage<ProcessConfig>);
|
|
482
487
|
|
|
483
488
|
static readonly runtime: typeof proto3;
|
|
@@ -52,6 +52,16 @@ export declare class ResourceName extends Message<ResourceName> {
|
|
|
52
52
|
*/
|
|
53
53
|
name: string;
|
|
54
54
|
|
|
55
|
+
/**
|
|
56
|
+
* @generated from field: repeated string remote_path = 5;
|
|
57
|
+
*/
|
|
58
|
+
remotePath: string[];
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* @generated from field: string local_name = 6;
|
|
62
|
+
*/
|
|
63
|
+
localName: string;
|
|
64
|
+
|
|
55
65
|
constructor(data?: PartialMessage<ResourceName>);
|
|
56
66
|
|
|
57
67
|
static readonly runtime: typeof proto3;
|
|
@@ -545,6 +545,16 @@ export declare class PythonSettings_ExperimentalFeatures extends Message<PythonS
|
|
|
545
545
|
*/
|
|
546
546
|
restAsyncIoEnabled: boolean;
|
|
547
547
|
|
|
548
|
+
/**
|
|
549
|
+
* Enables generation of protobuf code using new types that are more
|
|
550
|
+
* Pythonic which are included in `protobuf>=5.29.x`. This feature will be
|
|
551
|
+
* enabled by default 1 month after launching the feature in preview
|
|
552
|
+
* packages.
|
|
553
|
+
*
|
|
554
|
+
* @generated from field: bool protobuf_pythonic_types_enabled = 2;
|
|
555
|
+
*/
|
|
556
|
+
protobufPythonicTypesEnabled: boolean;
|
|
557
|
+
|
|
548
558
|
constructor(data?: PartialMessage<PythonSettings_ExperimentalFeatures>);
|
|
549
559
|
|
|
550
560
|
static readonly runtime: typeof proto3;
|
|
@@ -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
|
*/
|