@viamrobotics/sdk 0.46.0 → 0.47.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/README.md +1 -8
- package/dist/api-version.d.ts +1 -1
- package/dist/app/data-client.d.ts +8 -5
- package/dist/gen/app/datapipelines/v1/data_pipelines_connect.d.ts +7 -7
- package/dist/gen/app/datapipelines/v1/data_pipelines_pb.d.ts +18 -41
- package/dist/gen/app/datasync/v1/data_sync_pb.d.ts +5 -0
- package/dist/gen/app/v1/app_connect.d.ts +24 -2
- package/dist/gen/app/v1/app_pb.d.ts +121 -0
- package/dist/gen/app/v1/billing_pb.d.ts +5 -0
- package/dist/gen/app/v1/robot_pb.d.ts +7 -0
- package/dist/gen/component/camera/v1/camera_pb.d.ts +7 -0
- package/dist/gen/robot/v1/robot_connect.d.ts +45 -28
- package/dist/gen/robot/v1/robot_pb.d.ts +74 -0
- package/dist/gen/service/motion/v1/motion_connect.d.ts +1 -0
- package/dist/gen/service/motion/v1/motion_pb.d.ts +2 -0
- package/dist/main.es.js +3211 -3094
- package/dist/main.umd.js +7 -7
- package/dist/robot/client.d.ts +24 -18
- package/dist/robot/robot.d.ts +2 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -37,14 +37,7 @@ To use this SDK with React Native, read the [documentation](https://github.com/v
|
|
|
37
37
|
|
|
38
38
|
## Offline Mode
|
|
39
39
|
|
|
40
|
-
|
|
41
|
-
> Using the typescript SDK in offline mode necessitates disabling TLS verification and so should be done with caution.
|
|
42
|
-
|
|
43
|
-
To use the browser on a local network with limited-or-no internet, follow these instructions:
|
|
44
|
-
```
|
|
45
|
-
1. start viam-server with the `-no-tls` flag
|
|
46
|
-
2. set the signaling server in typescript to `http://{HOST}.local:8080`
|
|
47
|
-
```
|
|
40
|
+
To run the TypeScript SDK in offline mode, see [Connect over local network or offline](https://docs.viam.com/dev/reference/sdks/connectivity/#connect-over-local-network-or-offline).
|
|
48
41
|
|
|
49
42
|
## License
|
|
50
43
|
|
package/dist/api-version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const apiVersion = "v0.1.
|
|
1
|
+
export declare const apiVersion = "v0.1.462";
|
|
@@ -70,7 +70,7 @@ export declare class DataClient {
|
|
|
70
70
|
* range of data
|
|
71
71
|
* @returns An array of unified tabular data and metadata.
|
|
72
72
|
*/
|
|
73
|
-
exportTabularData(partId: string, resourceName: string, resourceSubtype: string, methodName: string, startTime?: Date, endTime?: Date): Promise<TabularDataPoint[]>;
|
|
73
|
+
exportTabularData(partId: string, resourceName: string, resourceSubtype: string, methodName: string, startTime?: Date, endTime?: Date, additionalParams?: Record<string, JsonValue>): Promise<TabularDataPoint[]>;
|
|
74
74
|
/**
|
|
75
75
|
* Obtain unified tabular data and metadata, queried with SQL.
|
|
76
76
|
*
|
|
@@ -667,8 +667,10 @@ export declare class DataClient {
|
|
|
667
667
|
* const fileId = await dataClient.tabularDataCaptureUpload(
|
|
668
668
|
* [
|
|
669
669
|
* {
|
|
670
|
-
*
|
|
671
|
-
*
|
|
670
|
+
* readings: {
|
|
671
|
+
* timestamp: '2025-03-26T10:00:00Z',
|
|
672
|
+
* value: 10,
|
|
673
|
+
* },
|
|
672
674
|
* },
|
|
673
675
|
* ],
|
|
674
676
|
* '123abc45-1234-5678-90ab-cdef12345678',
|
|
@@ -776,7 +778,7 @@ export declare class DataClient {
|
|
|
776
778
|
* no data has been synced for the specified resource OR the most recently
|
|
777
779
|
* captured data was over a year ago
|
|
778
780
|
*/
|
|
779
|
-
getLatestTabularData(partId: string, resourceName: string, resourceSubtype: string, methodName: string): Promise<[Date, Date, Record<string, JsonValue>] | null>;
|
|
781
|
+
getLatestTabularData(partId: string, resourceName: string, resourceSubtype: string, methodName: string, additionalParams?: Record<string, JsonValue>): Promise<[Date, Date, Record<string, JsonValue>] | null>;
|
|
780
782
|
/**
|
|
781
783
|
* List all data pipelines for an organization.
|
|
782
784
|
*
|
|
@@ -830,6 +832,7 @@ export declare class DataClient {
|
|
|
830
832
|
* 'my-pipeline',
|
|
831
833
|
* mqlQuery,
|
|
832
834
|
* '0 0 * * *'
|
|
835
|
+
* false
|
|
833
836
|
* );
|
|
834
837
|
* ```
|
|
835
838
|
*
|
|
@@ -840,7 +843,7 @@ export declare class DataClient {
|
|
|
840
843
|
* @param dataSourceType The type of data source to use for the data pipeline
|
|
841
844
|
* @returns The ID of the created data pipeline
|
|
842
845
|
*/
|
|
843
|
-
createDataPipeline(organizationId: string, name: string, query: Uint8Array[] | Record<string, Date | JsonValue>[], schedule: string, dataSourceType?: TabularDataSourceType): Promise<string>;
|
|
846
|
+
createDataPipeline(organizationId: string, name: string, query: Uint8Array[] | Record<string, Date | JsonValue>[], schedule: string, enableBackfill: boolean, dataSourceType?: TabularDataSourceType): Promise<string>;
|
|
844
847
|
/**
|
|
845
848
|
* Deletes a data pipeline by its ID.
|
|
846
849
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
|
-
import { CreateDataPipelineRequest, CreateDataPipelineResponse, DeleteDataPipelineRequest, DeleteDataPipelineResponse, DisableDataPipelineRequest, DisableDataPipelineResponse, EnableDataPipelineRequest, EnableDataPipelineResponse, GetDataPipelineRequest, GetDataPipelineResponse, ListDataPipelineRunsRequest, ListDataPipelineRunsResponse, ListDataPipelinesRequest, ListDataPipelinesResponse,
|
|
6
|
+
import { CreateDataPipelineRequest, CreateDataPipelineResponse, DeleteDataPipelineRequest, DeleteDataPipelineResponse, DisableDataPipelineRequest, DisableDataPipelineResponse, EnableDataPipelineRequest, EnableDataPipelineResponse, GetDataPipelineRequest, GetDataPipelineResponse, ListDataPipelineRunsRequest, ListDataPipelineRunsResponse, ListDataPipelinesRequest, ListDataPipelinesResponse, RenameDataPipelineRequest, RenameDataPipelineResponse } from "./data_pipelines_pb.js";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -48,14 +48,14 @@ export declare const DataPipelinesService: {
|
|
|
48
48
|
readonly kind: MethodKind.Unary,
|
|
49
49
|
},
|
|
50
50
|
/**
|
|
51
|
-
*
|
|
51
|
+
* RenameDataPipeline changes a data pipeline's name.
|
|
52
52
|
*
|
|
53
|
-
* @generated from rpc viam.app.datapipelines.v1.DataPipelinesService.
|
|
53
|
+
* @generated from rpc viam.app.datapipelines.v1.DataPipelinesService.RenameDataPipeline
|
|
54
54
|
*/
|
|
55
|
-
readonly
|
|
56
|
-
readonly name: "
|
|
57
|
-
readonly I: typeof
|
|
58
|
-
readonly O: typeof
|
|
55
|
+
readonly renameDataPipeline: {
|
|
56
|
+
readonly name: "RenameDataPipeline",
|
|
57
|
+
readonly I: typeof RenameDataPipelineRequest,
|
|
58
|
+
readonly O: typeof RenameDataPipelineResponse,
|
|
59
59
|
readonly kind: MethodKind.Unary,
|
|
60
60
|
},
|
|
61
61
|
/**
|
|
@@ -309,78 +309,55 @@ export declare class CreateDataPipelineResponse extends Message<CreateDataPipeli
|
|
|
309
309
|
}
|
|
310
310
|
|
|
311
311
|
/**
|
|
312
|
-
* @generated from message viam.app.datapipelines.v1.
|
|
312
|
+
* @generated from message viam.app.datapipelines.v1.RenameDataPipelineRequest
|
|
313
313
|
*/
|
|
314
|
-
export declare class
|
|
314
|
+
export declare class RenameDataPipelineRequest extends Message<RenameDataPipelineRequest> {
|
|
315
315
|
/**
|
|
316
|
-
* The ID of the data pipeline to
|
|
316
|
+
* The ID of the data pipeline to rename.
|
|
317
317
|
*
|
|
318
318
|
* @generated from field: string id = 1;
|
|
319
319
|
*/
|
|
320
320
|
id: string;
|
|
321
321
|
|
|
322
322
|
/**
|
|
323
|
-
* A unique identifier at the
|
|
323
|
+
* A unique identifier at the organization level.
|
|
324
324
|
*
|
|
325
325
|
* @generated from field: string name = 2;
|
|
326
326
|
*/
|
|
327
327
|
name: string;
|
|
328
328
|
|
|
329
|
-
|
|
330
|
-
* A MongoDB aggregation pipeline as a list of BSON documents, where
|
|
331
|
-
* each document is one stage in the pipeline.
|
|
332
|
-
*
|
|
333
|
-
* @generated from field: repeated bytes mql_binary = 3;
|
|
334
|
-
*/
|
|
335
|
-
mqlBinary: Uint8Array[];
|
|
336
|
-
|
|
337
|
-
/**
|
|
338
|
-
* A cron expression representing the expected execution schedule in UTC (note this also
|
|
339
|
-
* defines the input time window; an hourly schedule would process 1 hour of data at a time).
|
|
340
|
-
*
|
|
341
|
-
* @generated from field: string schedule = 4;
|
|
342
|
-
*/
|
|
343
|
-
schedule: string;
|
|
344
|
-
|
|
345
|
-
/**
|
|
346
|
-
* The type of data source for the pipeline. If not specified, default is standard data storage.
|
|
347
|
-
*
|
|
348
|
-
* @generated from field: optional viam.app.data.v1.TabularDataSourceType data_source_type = 5;
|
|
349
|
-
*/
|
|
350
|
-
dataSourceType?: TabularDataSourceType;
|
|
351
|
-
|
|
352
|
-
constructor(data?: PartialMessage<UpdateDataPipelineRequest>);
|
|
329
|
+
constructor(data?: PartialMessage<RenameDataPipelineRequest>);
|
|
353
330
|
|
|
354
331
|
static readonly runtime: typeof proto3;
|
|
355
|
-
static readonly typeName = "viam.app.datapipelines.v1.
|
|
332
|
+
static readonly typeName = "viam.app.datapipelines.v1.RenameDataPipelineRequest";
|
|
356
333
|
static readonly fields: FieldList;
|
|
357
334
|
|
|
358
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
335
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RenameDataPipelineRequest;
|
|
359
336
|
|
|
360
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
337
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RenameDataPipelineRequest;
|
|
361
338
|
|
|
362
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
339
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RenameDataPipelineRequest;
|
|
363
340
|
|
|
364
|
-
static equals(a:
|
|
341
|
+
static equals(a: RenameDataPipelineRequest | PlainMessage<RenameDataPipelineRequest> | undefined, b: RenameDataPipelineRequest | PlainMessage<RenameDataPipelineRequest> | undefined): boolean;
|
|
365
342
|
}
|
|
366
343
|
|
|
367
344
|
/**
|
|
368
|
-
* @generated from message viam.app.datapipelines.v1.
|
|
345
|
+
* @generated from message viam.app.datapipelines.v1.RenameDataPipelineResponse
|
|
369
346
|
*/
|
|
370
|
-
export declare class
|
|
371
|
-
constructor(data?: PartialMessage<
|
|
347
|
+
export declare class RenameDataPipelineResponse extends Message<RenameDataPipelineResponse> {
|
|
348
|
+
constructor(data?: PartialMessage<RenameDataPipelineResponse>);
|
|
372
349
|
|
|
373
350
|
static readonly runtime: typeof proto3;
|
|
374
|
-
static readonly typeName = "viam.app.datapipelines.v1.
|
|
351
|
+
static readonly typeName = "viam.app.datapipelines.v1.RenameDataPipelineResponse";
|
|
375
352
|
static readonly fields: FieldList;
|
|
376
353
|
|
|
377
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
354
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RenameDataPipelineResponse;
|
|
378
355
|
|
|
379
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
356
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RenameDataPipelineResponse;
|
|
380
357
|
|
|
381
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
358
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RenameDataPipelineResponse;
|
|
382
359
|
|
|
383
|
-
static equals(a:
|
|
360
|
+
static equals(a: RenameDataPipelineResponse | PlainMessage<RenameDataPipelineResponse> | undefined, b: RenameDataPipelineResponse | PlainMessage<RenameDataPipelineResponse> | undefined): boolean;
|
|
384
361
|
}
|
|
385
362
|
|
|
386
363
|
/**
|
|
@@ -425,6 +425,11 @@ export declare class UploadMetadata extends Message<UploadMetadata> {
|
|
|
425
425
|
*/
|
|
426
426
|
tags: string[];
|
|
427
427
|
|
|
428
|
+
/**
|
|
429
|
+
* @generated from field: repeated string dataset_ids = 12;
|
|
430
|
+
*/
|
|
431
|
+
datasetIds: string[];
|
|
432
|
+
|
|
428
433
|
constructor(data?: PartialMessage<UploadMetadata>);
|
|
429
434
|
|
|
430
435
|
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, CreateOAuthAppRequest, CreateOAuthAppResponse, CreateOrganizationInviteRequest, CreateOrganizationInviteResponse, CreateOrganizationRequest, CreateOrganizationResponse, CreateRegistryItemRequest, CreateRegistryItemResponse, CreateRobotPartSecretRequest, CreateRobotPartSecretResponse, DeleteFragmentRequest, DeleteFragmentResponse, DeleteFragmentTagRequest, DeleteFragmentTagResponse, DeleteKeyRequest, DeleteKeyResponse, DeleteLocationRequest, DeleteLocationResponse, DeleteLocationSecretRequest, DeleteLocationSecretResponse, DeleteOAuthAppRequest, DeleteOAuthAppResponse, DeleteOrganizationInviteRequest, DeleteOrganizationInviteResponse, DeleteOrganizationMemberRequest, DeleteOrganizationMemberResponse, DeleteOrganizationRequest, DeleteOrganizationResponse, DeleteRegistryItemRequest, DeleteRegistryItemResponse, DeleteRobotPartRequest, DeleteRobotPartResponse, DeleteRobotPartSecretRequest, DeleteRobotPartSecretResponse, DeleteRobotRequest, DeleteRobotResponse, DisableAuthServiceRequest, DisableAuthServiceResponse, DisableBillingServiceRequest, DisableBillingServiceResponse, EnableAuthServiceRequest, EnableAuthServiceResponse, EnableBillingServiceRequest, EnableBillingServiceResponse, GetAppBrandingRequest, GetAppBrandingResponse, GetAppContentRequest, GetAppContentResponse, GetBillingServiceConfigRequest, GetBillingServiceConfigResponse, GetFragmentHistoryRequest, GetFragmentHistoryResponse, GetFragmentRequest, GetFragmentResponse, GetFragmentUsageRequest, GetFragmentUsageResponse, GetLocationMetadataRequest, GetLocationMetadataResponse, GetLocationRequest, GetLocationResponse, GetModuleRequest, GetModuleResponse, GetOrganizationMetadataRequest, GetOrganizationMetadataResponse, GetOrganizationNamespaceAvailabilityRequest, GetOrganizationNamespaceAvailabilityResponse, GetOrganizationRequest, GetOrganizationResponse, GetOrganizationsWithAccessToLocationRequest, GetOrganizationsWithAccessToLocationResponse, GetRegistryItemRequest, GetRegistryItemResponse, GetRobotAPIKeysRequest, GetRobotAPIKeysResponse, GetRobotMetadataRequest, GetRobotMetadataResponse, GetRobotPartByNameAndLocationRequest, GetRobotPartByNameAndLocationResponse, GetRobotPartHistoryRequest, GetRobotPartHistoryResponse, GetRobotPartLogsRequest, GetRobotPartLogsResponse, GetRobotPartMetadataRequest, GetRobotPartMetadataResponse, GetRobotPartRequest, GetRobotPartResponse, GetRobotPartsRequest, GetRobotPartsResponse, GetRobotRequest, GetRobotResponse, GetRoverRentalRobotsRequest, GetRoverRentalRobotsResponse, GetUserIDByEmailRequest, GetUserIDByEmailResponse, ListAuthorizationsRequest, ListAuthorizationsResponse, ListFragmentsRequest, ListFragmentsResponse, ListKeysRequest, ListKeysResponse, ListLocationsRequest, ListLocationsResponse, ListMachineFragmentsRequest, ListMachineFragmentsResponse, ListMachineSummariesRequest, ListMachineSummariesResponse, ListModulesRequest, ListModulesResponse, ListNestedFragmentsRequest, ListNestedFragmentsResponse, ListOAuthAppsRequest, ListOAuthAppsResponse, ListOrganizationMembersRequest, ListOrganizationMembersResponse, ListOrganizationsByUserRequest, ListOrganizationsByUserResponse, ListOrganizationsRequest, ListOrganizationsResponse, ListRegistryItemsRequest, ListRegistryItemsResponse, ListRobotsRequest, ListRobotsResponse, LocationAuthRequest, LocationAuthResponse, MarkPartAsMainRequest, MarkPartAsMainResponse, MarkPartForRestartRequest, MarkPartForRestartResponse, NewRobotPartRequest, NewRobotPartResponse, NewRobotRequest, NewRobotResponse, OrganizationGetLogoRequest, OrganizationGetLogoResponse, OrganizationGetSupportEmailRequest, OrganizationGetSupportEmailResponse, OrganizationSetLogoRequest, OrganizationSetLogoResponse, OrganizationSetSupportEmailRequest, OrganizationSetSupportEmailResponse, ReadOAuthAppRequest, ReadOAuthAppResponse, RemoveRoleRequest, RemoveRoleResponse, RenameKeyRequest, RenameKeyResponse, RenameRegistryItemRequest, RenameRegistryItemResponse, ResendOrganizationInviteRequest, ResendOrganizationInviteResponse, RotateKeyRequest, RotateKeyResponse, SearchOrganizationsRequest, SearchOrganizationsResponse, SetFragmentTagRequest, SetFragmentTagResponse, ShareLocationRequest, ShareLocationResponse, TailRobotPartLogsRequest, TailRobotPartLogsResponse, TransferRegistryItemRequest, TransferRegistryItemResponse, UnshareLocationRequest, UnshareLocationResponse, UpdateBillingServiceRequest, UpdateBillingServiceResponse, UpdateFragmentRequest, UpdateFragmentResponse, UpdateLocationMetadataRequest, UpdateLocationMetadataResponse, UpdateLocationRequest, UpdateLocationResponse, UpdateModuleRequest, UpdateModuleResponse, UpdateOAuthAppRequest, UpdateOAuthAppResponse, UpdateOrganizationInviteAuthorizationsRequest, UpdateOrganizationInviteAuthorizationsResponse, UpdateOrganizationMetadataRequest, UpdateOrganizationMetadataResponse, UpdateOrganizationNamespaceRequest, UpdateOrganizationNamespaceResponse, UpdateOrganizationRequest, UpdateOrganizationResponse, UpdateRegistryItemRequest, UpdateRegistryItemResponse, UpdateRobotMetadataRequest, UpdateRobotMetadataResponse, UpdateRobotPartMetadataRequest, UpdateRobotPartMetadataResponse, 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, CreateOAuthAppRequest, CreateOAuthAppResponse, CreateOrganizationInviteRequest, CreateOrganizationInviteResponse, CreateOrganizationRequest, CreateOrganizationResponse, CreateRegistryItemRequest, CreateRegistryItemResponse, CreateRobotPartSecretRequest, CreateRobotPartSecretResponse, DeleteFragmentRequest, DeleteFragmentResponse, DeleteFragmentTagRequest, DeleteFragmentTagResponse, DeleteKeyRequest, DeleteKeyResponse, DeleteLocationRequest, DeleteLocationResponse, DeleteLocationSecretRequest, DeleteLocationSecretResponse, DeleteOAuthAppRequest, DeleteOAuthAppResponse, DeleteOrganizationInviteRequest, DeleteOrganizationInviteResponse, DeleteOrganizationMemberRequest, DeleteOrganizationMemberResponse, DeleteOrganizationRequest, DeleteOrganizationResponse, DeleteRegistryItemRequest, DeleteRegistryItemResponse, DeleteRobotPartRequest, DeleteRobotPartResponse, DeleteRobotPartSecretRequest, DeleteRobotPartSecretResponse, DeleteRobotRequest, DeleteRobotResponse, DisableAuthServiceRequest, DisableAuthServiceResponse, DisableBillingServiceRequest, DisableBillingServiceResponse, EnableAuthServiceRequest, EnableAuthServiceResponse, EnableBillingServiceRequest, EnableBillingServiceResponse, GetAppBrandingRequest, GetAppBrandingResponse, GetAppContentRequest, GetAppContentResponse, GetBillingServiceConfigRequest, GetBillingServiceConfigResponse, GetFragmentHistoryRequest, GetFragmentHistoryResponse, GetFragmentRequest, GetFragmentResponse, GetFragmentUsageRequest, GetFragmentUsageResponse, GetLocationMetadataRequest, GetLocationMetadataResponse, GetLocationRequest, GetLocationResponse, GetModuleRequest, GetModuleResponse, GetOrganizationMetadataRequest, GetOrganizationMetadataResponse, GetOrganizationNamespaceAvailabilityRequest, GetOrganizationNamespaceAvailabilityResponse, GetOrganizationRequest, GetOrganizationResponse, GetOrganizationsWithAccessToLocationRequest, GetOrganizationsWithAccessToLocationResponse, GetRegistryItemRequest, GetRegistryItemResponse, GetRobotAPIKeysRequest, GetRobotAPIKeysResponse, GetRobotMetadataRequest, GetRobotMetadataResponse, GetRobotPartByNameAndLocationRequest, GetRobotPartByNameAndLocationResponse, GetRobotPartHistoryRequest, GetRobotPartHistoryResponse, GetRobotPartLogsRequest, GetRobotPartLogsResponse, GetRobotPartMetadataRequest, GetRobotPartMetadataResponse, GetRobotPartRequest, GetRobotPartResponse, GetRobotPartsRequest, GetRobotPartsResponse, GetRobotRequest, GetRobotResponse, GetRoverRentalRobotsRequest, GetRoverRentalRobotsResponse, GetUserIDByEmailRequest, GetUserIDByEmailResponse, ListAuthorizationsRequest, ListAuthorizationsResponse, ListFragmentsRequest, ListFragmentsResponse, ListKeysRequest, ListKeysResponse, ListLocationsRequest, ListLocationsResponse, ListMachineFragmentsRequest, ListMachineFragmentsResponse, ListMachineSummariesRequest, ListMachineSummariesResponse, ListModulesRequest, ListModulesResponse, ListNestedFragmentsRequest, ListNestedFragmentsResponse, ListOAuthAppsRequest, ListOAuthAppsResponse, ListOrganizationMembersRequest, ListOrganizationMembersResponse, ListOrganizationsByUserRequest, ListOrganizationsByUserResponse, ListOrganizationsRequest, ListOrganizationsResponse, ListRegistryItemsRequest, ListRegistryItemsResponse, ListRobotsForLocationsRequest, ListRobotsForLocationsResponse, ListRobotsForOrgRequest, ListRobotsForOrgResponse, ListRobotsRequest, ListRobotsResponse, LocationAuthRequest, LocationAuthResponse, MarkPartAsMainRequest, MarkPartAsMainResponse, MarkPartForRestartRequest, MarkPartForRestartResponse, NewRobotPartRequest, NewRobotPartResponse, NewRobotRequest, NewRobotResponse, OrganizationGetLogoRequest, OrganizationGetLogoResponse, OrganizationGetSupportEmailRequest, OrganizationGetSupportEmailResponse, OrganizationSetLogoRequest, OrganizationSetLogoResponse, OrganizationSetSupportEmailRequest, OrganizationSetSupportEmailResponse, ReadOAuthAppRequest, ReadOAuthAppResponse, RemoveRoleRequest, RemoveRoleResponse, RenameKeyRequest, RenameKeyResponse, RenameRegistryItemRequest, RenameRegistryItemResponse, ResendOrganizationInviteRequest, ResendOrganizationInviteResponse, RotateKeyRequest, RotateKeyResponse, SearchOrganizationsRequest, SearchOrganizationsResponse, SetFragmentTagRequest, SetFragmentTagResponse, ShareLocationRequest, ShareLocationResponse, TailRobotPartLogsRequest, TailRobotPartLogsResponse, TransferRegistryItemRequest, TransferRegistryItemResponse, UnshareLocationRequest, UnshareLocationResponse, UpdateBillingServiceRequest, UpdateBillingServiceResponse, UpdateFragmentRequest, UpdateFragmentResponse, UpdateLocationMetadataRequest, UpdateLocationMetadataResponse, UpdateLocationRequest, UpdateLocationResponse, UpdateModuleRequest, UpdateModuleResponse, UpdateOAuthAppRequest, UpdateOAuthAppResponse, UpdateOrganizationInviteAuthorizationsRequest, UpdateOrganizationInviteAuthorizationsResponse, UpdateOrganizationMetadataRequest, UpdateOrganizationMetadataResponse, UpdateOrganizationNamespaceRequest, UpdateOrganizationNamespaceResponse, UpdateOrganizationRequest, UpdateOrganizationResponse, UpdateRegistryItemRequest, UpdateRegistryItemResponse, UpdateRobotMetadataRequest, UpdateRobotMetadataResponse, UpdateRobotPartMetadataRequest, UpdateRobotPartMetadataResponse, UpdateRobotPartRequest, UpdateRobotPartResponse, UpdateRobotRequest, UpdateRobotResponse, UploadModuleFileRequest, UploadModuleFileResponse } from "./app_pb.js";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -711,7 +711,7 @@ export declare const AppService: {
|
|
|
711
711
|
readonly kind: MethodKind.Unary,
|
|
712
712
|
},
|
|
713
713
|
/**
|
|
714
|
-
* Get a list of robots
|
|
714
|
+
* Get a list of robots at a location
|
|
715
715
|
*
|
|
716
716
|
* @generated from rpc viam.app.v1.AppService.ListRobots
|
|
717
717
|
*/
|
|
@@ -721,6 +721,28 @@ export declare const AppService: {
|
|
|
721
721
|
readonly O: typeof ListRobotsResponse,
|
|
722
722
|
readonly kind: MethodKind.Unary,
|
|
723
723
|
},
|
|
724
|
+
/**
|
|
725
|
+
* Get a list of robots at multiple locations
|
|
726
|
+
*
|
|
727
|
+
* @generated from rpc viam.app.v1.AppService.ListRobotsForLocations
|
|
728
|
+
*/
|
|
729
|
+
readonly listRobotsForLocations: {
|
|
730
|
+
readonly name: "ListRobotsForLocations",
|
|
731
|
+
readonly I: typeof ListRobotsForLocationsRequest,
|
|
732
|
+
readonly O: typeof ListRobotsForLocationsResponse,
|
|
733
|
+
readonly kind: MethodKind.Unary,
|
|
734
|
+
},
|
|
735
|
+
/**
|
|
736
|
+
* Get a list of robots at an org
|
|
737
|
+
*
|
|
738
|
+
* @generated from rpc viam.app.v1.AppService.ListRobotsForOrg
|
|
739
|
+
*/
|
|
740
|
+
readonly listRobotsForOrg: {
|
|
741
|
+
readonly name: "ListRobotsForOrg",
|
|
742
|
+
readonly I: typeof ListRobotsForOrgRequest,
|
|
743
|
+
readonly O: typeof ListRobotsForOrgResponse,
|
|
744
|
+
readonly kind: MethodKind.Unary,
|
|
745
|
+
},
|
|
724
746
|
/**
|
|
725
747
|
* NewRobot creates a new robot
|
|
726
748
|
*
|
|
@@ -145,6 +145,26 @@ export declare enum Visibility {
|
|
|
145
145
|
PUBLIC_UNLISTED = 3,
|
|
146
146
|
}
|
|
147
147
|
|
|
148
|
+
/**
|
|
149
|
+
* @generated from enum viam.app.v1.AppType
|
|
150
|
+
*/
|
|
151
|
+
export declare enum AppType {
|
|
152
|
+
/**
|
|
153
|
+
* @generated from enum value: APP_TYPE_UNSPECIFIED = 0;
|
|
154
|
+
*/
|
|
155
|
+
UNSPECIFIED = 0,
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* @generated from enum value: APP_TYPE_SINGLE_MACHINE = 1;
|
|
159
|
+
*/
|
|
160
|
+
SINGLE_MACHINE = 1,
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* @generated from enum value: APP_TYPE_MULTI_MACHINE = 2;
|
|
164
|
+
*/
|
|
165
|
+
MULTI_MACHINE = 2,
|
|
166
|
+
}
|
|
167
|
+
|
|
148
168
|
/**
|
|
149
169
|
* @generated from enum viam.app.v1.ClientAuthentication
|
|
150
170
|
*/
|
|
@@ -4445,6 +4465,54 @@ export declare class ListRobotsRequest extends Message<ListRobotsRequest> {
|
|
|
4445
4465
|
static equals(a: ListRobotsRequest | PlainMessage<ListRobotsRequest> | undefined, b: ListRobotsRequest | PlainMessage<ListRobotsRequest> | undefined): boolean;
|
|
4446
4466
|
}
|
|
4447
4467
|
|
|
4468
|
+
/**
|
|
4469
|
+
* @generated from message viam.app.v1.ListRobotsForLocationsRequest
|
|
4470
|
+
*/
|
|
4471
|
+
export declare class ListRobotsForLocationsRequest extends Message<ListRobotsForLocationsRequest> {
|
|
4472
|
+
/**
|
|
4473
|
+
* @generated from field: repeated string location_ids = 1;
|
|
4474
|
+
*/
|
|
4475
|
+
locationIds: string[];
|
|
4476
|
+
|
|
4477
|
+
constructor(data?: PartialMessage<ListRobotsForLocationsRequest>);
|
|
4478
|
+
|
|
4479
|
+
static readonly runtime: typeof proto3;
|
|
4480
|
+
static readonly typeName = "viam.app.v1.ListRobotsForLocationsRequest";
|
|
4481
|
+
static readonly fields: FieldList;
|
|
4482
|
+
|
|
4483
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListRobotsForLocationsRequest;
|
|
4484
|
+
|
|
4485
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListRobotsForLocationsRequest;
|
|
4486
|
+
|
|
4487
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListRobotsForLocationsRequest;
|
|
4488
|
+
|
|
4489
|
+
static equals(a: ListRobotsForLocationsRequest | PlainMessage<ListRobotsForLocationsRequest> | undefined, b: ListRobotsForLocationsRequest | PlainMessage<ListRobotsForLocationsRequest> | undefined): boolean;
|
|
4490
|
+
}
|
|
4491
|
+
|
|
4492
|
+
/**
|
|
4493
|
+
* @generated from message viam.app.v1.ListRobotsForOrgRequest
|
|
4494
|
+
*/
|
|
4495
|
+
export declare class ListRobotsForOrgRequest extends Message<ListRobotsForOrgRequest> {
|
|
4496
|
+
/**
|
|
4497
|
+
* @generated from field: string org_id = 1;
|
|
4498
|
+
*/
|
|
4499
|
+
orgId: string;
|
|
4500
|
+
|
|
4501
|
+
constructor(data?: PartialMessage<ListRobotsForOrgRequest>);
|
|
4502
|
+
|
|
4503
|
+
static readonly runtime: typeof proto3;
|
|
4504
|
+
static readonly typeName = "viam.app.v1.ListRobotsForOrgRequest";
|
|
4505
|
+
static readonly fields: FieldList;
|
|
4506
|
+
|
|
4507
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListRobotsForOrgRequest;
|
|
4508
|
+
|
|
4509
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListRobotsForOrgRequest;
|
|
4510
|
+
|
|
4511
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListRobotsForOrgRequest;
|
|
4512
|
+
|
|
4513
|
+
static equals(a: ListRobotsForOrgRequest | PlainMessage<ListRobotsForOrgRequest> | undefined, b: ListRobotsForOrgRequest | PlainMessage<ListRobotsForOrgRequest> | undefined): boolean;
|
|
4514
|
+
}
|
|
4515
|
+
|
|
4448
4516
|
/**
|
|
4449
4517
|
* @generated from message viam.app.v1.AdditionalFragment
|
|
4450
4518
|
*/
|
|
@@ -4929,6 +4997,54 @@ export declare class ListRobotsResponse extends Message<ListRobotsResponse> {
|
|
|
4929
4997
|
static equals(a: ListRobotsResponse | PlainMessage<ListRobotsResponse> | undefined, b: ListRobotsResponse | PlainMessage<ListRobotsResponse> | undefined): boolean;
|
|
4930
4998
|
}
|
|
4931
4999
|
|
|
5000
|
+
/**
|
|
5001
|
+
* @generated from message viam.app.v1.ListRobotsForLocationsResponse
|
|
5002
|
+
*/
|
|
5003
|
+
export declare class ListRobotsForLocationsResponse extends Message<ListRobotsForLocationsResponse> {
|
|
5004
|
+
/**
|
|
5005
|
+
* @generated from field: repeated viam.app.v1.Robot robots = 1;
|
|
5006
|
+
*/
|
|
5007
|
+
robots: Robot[];
|
|
5008
|
+
|
|
5009
|
+
constructor(data?: PartialMessage<ListRobotsForLocationsResponse>);
|
|
5010
|
+
|
|
5011
|
+
static readonly runtime: typeof proto3;
|
|
5012
|
+
static readonly typeName = "viam.app.v1.ListRobotsForLocationsResponse";
|
|
5013
|
+
static readonly fields: FieldList;
|
|
5014
|
+
|
|
5015
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListRobotsForLocationsResponse;
|
|
5016
|
+
|
|
5017
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListRobotsForLocationsResponse;
|
|
5018
|
+
|
|
5019
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListRobotsForLocationsResponse;
|
|
5020
|
+
|
|
5021
|
+
static equals(a: ListRobotsForLocationsResponse | PlainMessage<ListRobotsForLocationsResponse> | undefined, b: ListRobotsForLocationsResponse | PlainMessage<ListRobotsForLocationsResponse> | undefined): boolean;
|
|
5022
|
+
}
|
|
5023
|
+
|
|
5024
|
+
/**
|
|
5025
|
+
* @generated from message viam.app.v1.ListRobotsForOrgResponse
|
|
5026
|
+
*/
|
|
5027
|
+
export declare class ListRobotsForOrgResponse extends Message<ListRobotsForOrgResponse> {
|
|
5028
|
+
/**
|
|
5029
|
+
* @generated from field: repeated viam.app.v1.Robot robots = 1;
|
|
5030
|
+
*/
|
|
5031
|
+
robots: Robot[];
|
|
5032
|
+
|
|
5033
|
+
constructor(data?: PartialMessage<ListRobotsForOrgResponse>);
|
|
5034
|
+
|
|
5035
|
+
static readonly runtime: typeof proto3;
|
|
5036
|
+
static readonly typeName = "viam.app.v1.ListRobotsForOrgResponse";
|
|
5037
|
+
static readonly fields: FieldList;
|
|
5038
|
+
|
|
5039
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListRobotsForOrgResponse;
|
|
5040
|
+
|
|
5041
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListRobotsForOrgResponse;
|
|
5042
|
+
|
|
5043
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListRobotsForOrgResponse;
|
|
5044
|
+
|
|
5045
|
+
static equals(a: ListRobotsForOrgResponse | PlainMessage<ListRobotsForOrgResponse> | undefined, b: ListRobotsForOrgResponse | PlainMessage<ListRobotsForOrgResponse> | undefined): boolean;
|
|
5046
|
+
}
|
|
5047
|
+
|
|
4932
5048
|
/**
|
|
4933
5049
|
* @generated from message viam.app.v1.NewRobotRequest
|
|
4934
5050
|
*/
|
|
@@ -7994,6 +8110,11 @@ export declare class GetAppContentResponse extends Message<GetAppContentResponse
|
|
|
7994
8110
|
*/
|
|
7995
8111
|
entrypoint: string;
|
|
7996
8112
|
|
|
8113
|
+
/**
|
|
8114
|
+
* @generated from field: viam.app.v1.AppType app_type = 3;
|
|
8115
|
+
*/
|
|
8116
|
+
appType: AppType;
|
|
8117
|
+
|
|
7997
8118
|
constructor(data?: PartialMessage<GetAppContentResponse>);
|
|
7998
8119
|
|
|
7999
8120
|
static readonly runtime: typeof proto3;
|
|
@@ -148,6 +148,11 @@ export declare enum UsageCostType {
|
|
|
148
148
|
* @generated from enum value: USAGE_COST_TYPE_TABULAR_DATA_DATABASE_COMPUTE = 23;
|
|
149
149
|
*/
|
|
150
150
|
TABULAR_DATA_DATABASE_COMPUTE = 23,
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* @generated from enum value: USAGE_COST_TYPE_BINARY_DATA_CROSS_REGION_EGRESS = 24;
|
|
154
|
+
*/
|
|
155
|
+
BINARY_DATA_CROSS_REGION_EGRESS = 24,
|
|
151
156
|
}
|
|
152
157
|
|
|
153
158
|
/**
|
|
@@ -1312,6 +1312,13 @@ export declare class RemoteConfig extends Message<RemoteConfig> {
|
|
|
1312
1312
|
*/
|
|
1313
1313
|
secret: string;
|
|
1314
1314
|
|
|
1315
|
+
/**
|
|
1316
|
+
* A string with which to prefix all resource names fetched from this remote.
|
|
1317
|
+
*
|
|
1318
|
+
* @generated from field: string prefix = 11;
|
|
1319
|
+
*/
|
|
1320
|
+
prefix: string;
|
|
1321
|
+
|
|
1315
1322
|
constructor(data?: PartialMessage<RemoteConfig>);
|
|
1316
1323
|
|
|
1317
1324
|
static readonly runtime: typeof proto3;
|
|
@@ -121,6 +121,13 @@ export declare class GetImagesRequest extends Message<GetImagesRequest> {
|
|
|
121
121
|
*/
|
|
122
122
|
name: string;
|
|
123
123
|
|
|
124
|
+
/**
|
|
125
|
+
* Additional arguments to the method
|
|
126
|
+
*
|
|
127
|
+
* @generated from field: google.protobuf.Struct extra = 99;
|
|
128
|
+
*/
|
|
129
|
+
extra?: Struct;
|
|
130
|
+
|
|
124
131
|
constructor(data?: PartialMessage<GetImagesRequest>);
|
|
125
132
|
|
|
126
133
|
static readonly runtime: typeof proto3;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
|
-
import { BlockForOperationRequest, BlockForOperationResponse, CancelOperationRequest, CancelOperationResponse, FrameSystemConfigRequest, FrameSystemConfigResponse, GetCloudMetadataRequest, GetCloudMetadataResponse, GetMachineStatusRequest, GetMachineStatusResponse, GetModelsFromModulesRequest, GetModelsFromModulesResponse, GetOperationsRequest, GetOperationsResponse, GetSessionsRequest, GetSessionsResponse, GetStatusRequest, GetStatusResponse, GetVersionRequest, GetVersionResponse, ListTunnelsRequest, ListTunnelsResponse, LogRequest, LogResponse, ResourceNamesRequest, ResourceNamesResponse, ResourceRPCSubtypesRequest, ResourceRPCSubtypesResponse, RestartModuleRequest, RestartModuleResponse, SendSessionHeartbeatRequest, SendSessionHeartbeatResponse, ShutdownRequest, ShutdownResponse, StartSessionRequest, StartSessionResponse, StopAllRequest, StopAllResponse, StreamStatusRequest, StreamStatusResponse, TransformPCDRequest, TransformPCDResponse, TransformPoseRequest, TransformPoseResponse, TunnelRequest, TunnelResponse } from "./robot_pb.js";
|
|
6
|
+
import { BlockForOperationRequest, BlockForOperationResponse, CancelOperationRequest, CancelOperationResponse, FrameSystemConfigRequest, FrameSystemConfigResponse, GetCloudMetadataRequest, GetCloudMetadataResponse, GetMachineStatusRequest, GetMachineStatusResponse, GetModelsFromModulesRequest, GetModelsFromModulesResponse, GetOperationsRequest, GetOperationsResponse, GetPoseRequest, GetPoseResponse, GetSessionsRequest, GetSessionsResponse, GetStatusRequest, GetStatusResponse, GetVersionRequest, GetVersionResponse, ListTunnelsRequest, ListTunnelsResponse, LogRequest, LogResponse, ResourceNamesRequest, ResourceNamesResponse, ResourceRPCSubtypesRequest, ResourceRPCSubtypesResponse, RestartModuleRequest, RestartModuleResponse, SendSessionHeartbeatRequest, SendSessionHeartbeatResponse, ShutdownRequest, ShutdownResponse, StartSessionRequest, StartSessionResponse, StopAllRequest, StopAllResponse, StreamStatusRequest, StreamStatusResponse, TransformPCDRequest, TransformPCDResponse, TransformPoseRequest, TransformPoseResponse, TunnelRequest, TunnelResponse } from "./robot_pb.js";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -83,33 +83,6 @@ export declare const RobotService: {
|
|
|
83
83
|
readonly O: typeof GetModelsFromModulesResponse,
|
|
84
84
|
readonly kind: MethodKind.Unary,
|
|
85
85
|
},
|
|
86
|
-
/**
|
|
87
|
-
* @generated from rpc viam.robot.v1.RobotService.FrameSystemConfig
|
|
88
|
-
*/
|
|
89
|
-
readonly frameSystemConfig: {
|
|
90
|
-
readonly name: "FrameSystemConfig",
|
|
91
|
-
readonly I: typeof FrameSystemConfigRequest,
|
|
92
|
-
readonly O: typeof FrameSystemConfigResponse,
|
|
93
|
-
readonly kind: MethodKind.Unary,
|
|
94
|
-
},
|
|
95
|
-
/**
|
|
96
|
-
* @generated from rpc viam.robot.v1.RobotService.TransformPose
|
|
97
|
-
*/
|
|
98
|
-
readonly transformPose: {
|
|
99
|
-
readonly name: "TransformPose",
|
|
100
|
-
readonly I: typeof TransformPoseRequest,
|
|
101
|
-
readonly O: typeof TransformPoseResponse,
|
|
102
|
-
readonly kind: MethodKind.Unary,
|
|
103
|
-
},
|
|
104
|
-
/**
|
|
105
|
-
* @generated from rpc viam.robot.v1.RobotService.TransformPCD
|
|
106
|
-
*/
|
|
107
|
-
readonly transformPCD: {
|
|
108
|
-
readonly name: "TransformPCD",
|
|
109
|
-
readonly I: typeof TransformPCDRequest,
|
|
110
|
-
readonly O: typeof TransformPCDResponse,
|
|
111
|
-
readonly kind: MethodKind.Unary,
|
|
112
|
-
},
|
|
113
86
|
/**
|
|
114
87
|
* GetStatus returns the list of all statuses requested. An empty request signifies all resources.
|
|
115
88
|
*
|
|
@@ -256,6 +229,50 @@ export declare const RobotService: {
|
|
|
256
229
|
readonly O: typeof ListTunnelsResponse,
|
|
257
230
|
readonly kind: MethodKind.Unary,
|
|
258
231
|
},
|
|
232
|
+
/**
|
|
233
|
+
* FrameSystemConfig returns the information relevant to building the robot's frame system.
|
|
234
|
+
*
|
|
235
|
+
* @generated from rpc viam.robot.v1.RobotService.FrameSystemConfig
|
|
236
|
+
*/
|
|
237
|
+
readonly frameSystemConfig: {
|
|
238
|
+
readonly name: "FrameSystemConfig",
|
|
239
|
+
readonly I: typeof FrameSystemConfigRequest,
|
|
240
|
+
readonly O: typeof FrameSystemConfigResponse,
|
|
241
|
+
readonly kind: MethodKind.Unary,
|
|
242
|
+
},
|
|
243
|
+
/**
|
|
244
|
+
* GetPose returns the pose of a component in a desired referenceframe.
|
|
245
|
+
*
|
|
246
|
+
* @generated from rpc viam.robot.v1.RobotService.GetPose
|
|
247
|
+
*/
|
|
248
|
+
readonly getPose: {
|
|
249
|
+
readonly name: "GetPose",
|
|
250
|
+
readonly I: typeof GetPoseRequest,
|
|
251
|
+
readonly O: typeof GetPoseResponse,
|
|
252
|
+
readonly kind: MethodKind.Unary,
|
|
253
|
+
},
|
|
254
|
+
/**
|
|
255
|
+
* TransformPose returns a pose in one referenceframe in a desired referenceframe.
|
|
256
|
+
*
|
|
257
|
+
* @generated from rpc viam.robot.v1.RobotService.TransformPose
|
|
258
|
+
*/
|
|
259
|
+
readonly transformPose: {
|
|
260
|
+
readonly name: "TransformPose",
|
|
261
|
+
readonly I: typeof TransformPoseRequest,
|
|
262
|
+
readonly O: typeof TransformPoseResponse,
|
|
263
|
+
readonly kind: MethodKind.Unary,
|
|
264
|
+
},
|
|
265
|
+
/**
|
|
266
|
+
* TransformPose returns a point cloud in one referenceframe in a desired referenceframe.
|
|
267
|
+
*
|
|
268
|
+
* @generated from rpc viam.robot.v1.RobotService.TransformPCD
|
|
269
|
+
*/
|
|
270
|
+
readonly transformPCD: {
|
|
271
|
+
readonly name: "TransformPCD",
|
|
272
|
+
readonly I: typeof TransformPCDRequest,
|
|
273
|
+
readonly O: typeof TransformPCDResponse,
|
|
274
|
+
readonly kind: MethodKind.Unary,
|
|
275
|
+
},
|
|
259
276
|
}
|
|
260
277
|
};
|
|
261
278
|
|
|
@@ -1632,3 +1632,77 @@ export declare class GetVersionResponse extends Message<GetVersionResponse> {
|
|
|
1632
1632
|
static equals(a: GetVersionResponse | PlainMessage<GetVersionResponse> | undefined, b: GetVersionResponse | PlainMessage<GetVersionResponse> | undefined): boolean;
|
|
1633
1633
|
}
|
|
1634
1634
|
|
|
1635
|
+
/**
|
|
1636
|
+
* @generated from message viam.robot.v1.GetPoseRequest
|
|
1637
|
+
*/
|
|
1638
|
+
export declare class GetPoseRequest extends Message<GetPoseRequest> {
|
|
1639
|
+
/**
|
|
1640
|
+
* the component whose pose is being requested
|
|
1641
|
+
*
|
|
1642
|
+
* @generated from field: string component_name = 1;
|
|
1643
|
+
*/
|
|
1644
|
+
componentName: string;
|
|
1645
|
+
|
|
1646
|
+
/**
|
|
1647
|
+
* the reference frame in which the component's pose
|
|
1648
|
+
* should be provided, if unset this defaults
|
|
1649
|
+
* to the "world" reference frame
|
|
1650
|
+
*
|
|
1651
|
+
* @generated from field: string destination_frame = 2;
|
|
1652
|
+
*/
|
|
1653
|
+
destinationFrame: string;
|
|
1654
|
+
|
|
1655
|
+
/**
|
|
1656
|
+
* pose information on any additional reference frames that are needed
|
|
1657
|
+
* to compute the component's pose
|
|
1658
|
+
*
|
|
1659
|
+
* @generated from field: repeated viam.common.v1.Transform supplemental_transforms = 3;
|
|
1660
|
+
*/
|
|
1661
|
+
supplementalTransforms: Transform[];
|
|
1662
|
+
|
|
1663
|
+
/**
|
|
1664
|
+
* Additional arguments to the method
|
|
1665
|
+
*
|
|
1666
|
+
* @generated from field: google.protobuf.Struct extra = 99;
|
|
1667
|
+
*/
|
|
1668
|
+
extra?: Struct;
|
|
1669
|
+
|
|
1670
|
+
constructor(data?: PartialMessage<GetPoseRequest>);
|
|
1671
|
+
|
|
1672
|
+
static readonly runtime: typeof proto3;
|
|
1673
|
+
static readonly typeName = "viam.robot.v1.GetPoseRequest";
|
|
1674
|
+
static readonly fields: FieldList;
|
|
1675
|
+
|
|
1676
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPoseRequest;
|
|
1677
|
+
|
|
1678
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPoseRequest;
|
|
1679
|
+
|
|
1680
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPoseRequest;
|
|
1681
|
+
|
|
1682
|
+
static equals(a: GetPoseRequest | PlainMessage<GetPoseRequest> | undefined, b: GetPoseRequest | PlainMessage<GetPoseRequest> | undefined): boolean;
|
|
1683
|
+
}
|
|
1684
|
+
|
|
1685
|
+
/**
|
|
1686
|
+
* @generated from message viam.robot.v1.GetPoseResponse
|
|
1687
|
+
*/
|
|
1688
|
+
export declare class GetPoseResponse extends Message<GetPoseResponse> {
|
|
1689
|
+
/**
|
|
1690
|
+
* @generated from field: viam.common.v1.PoseInFrame pose = 1;
|
|
1691
|
+
*/
|
|
1692
|
+
pose?: PoseInFrame;
|
|
1693
|
+
|
|
1694
|
+
constructor(data?: PartialMessage<GetPoseResponse>);
|
|
1695
|
+
|
|
1696
|
+
static readonly runtime: typeof proto3;
|
|
1697
|
+
static readonly typeName = "viam.robot.v1.GetPoseResponse";
|
|
1698
|
+
static readonly fields: FieldList;
|
|
1699
|
+
|
|
1700
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPoseResponse;
|
|
1701
|
+
|
|
1702
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPoseResponse;
|
|
1703
|
+
|
|
1704
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPoseResponse;
|
|
1705
|
+
|
|
1706
|
+
static equals(a: GetPoseResponse | PlainMessage<GetPoseResponse> | undefined, b: GetPoseResponse | PlainMessage<GetPoseResponse> | undefined): boolean;
|
|
1707
|
+
}
|
|
1708
|
+
|