@viamrobotics/sdk 0.42.0 → 0.44.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/app-client.d.ts +21 -1
- package/dist/app/data-client.d.ts +3 -2
- package/dist/gen/app/datapipelines/v1/data_pipelines_pb.d.ts +29 -0
- package/dist/gen/app/mltraining/v1/ml_training_pb.d.ts +5 -0
- package/dist/gen/app/v1/app_connect.d.ts +12 -1
- package/dist/gen/app/v1/app_pb.d.ts +78 -0
- package/dist/gen/app/v1/robot_pb.d.ts +7 -0
- package/dist/gen/component/gripper/v1/gripper_connect.d.ts +24 -2
- package/dist/gen/component/gripper/v1/gripper_pb.d.ts +58 -0
- package/dist/gen/provisioning/v1/provisioning_connect.d.ts +13 -1
- package/dist/gen/provisioning/v1/provisioning_pb.d.ts +43 -0
- package/dist/main.es.js +3967 -3806
- package/dist/main.umd.js +7 -7
- package/dist/robot/client.d.ts +12 -0
- package/package.json +1 -1
package/dist/api-version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const apiVersion = "v0.1.
|
|
1
|
+
export declare const apiVersion = "v0.1.448";
|
package/dist/app/app-client.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import type { JsonValue } from '@bufbuild/protobuf';
|
|
|
2
2
|
import { Struct } from '@bufbuild/protobuf';
|
|
3
3
|
import { type Transport } from '@connectrpc/connect';
|
|
4
4
|
import { PackageType } from '../gen/app/packages/v1/packages_pb';
|
|
5
|
-
import { APIKeyWithAuthorizations, Authorization, AuthorizedPermissions, CreateKeyFromExistingKeyAuthorizationsResponse, CreateKeyResponse, CreateModuleResponse, Fragment, FragmentVisibility, GetAppContentResponse, GetRobotPartLogsResponse, GetRobotPartResponse, ListOrganizationMembersResponse, Location, LocationAuth, Model, Module, Organization, OrganizationIdentity, OrganizationInvite, OrgDetails, RegistryItem, RegistryItemStatus, Robot, RobotPart, RobotPartHistoryEntry, RotateKeyResponse, RoverRentalRobot, Visibility } from '../gen/app/v1/app_pb';
|
|
5
|
+
import { APIKeyWithAuthorizations, Authorization, AuthorizedPermissions, CreateKeyFromExistingKeyAuthorizationsResponse, CreateKeyResponse, CreateModuleResponse, Fragment, FragmentVisibility, GetAppContentResponse, GetRobotPartLogsResponse, GetRobotPartResponse, GetRobotPartByNameAndLocationResponse, ListOrganizationMembersResponse, Location, LocationAuth, Model, Module, Organization, OrganizationIdentity, OrganizationInvite, OrgDetails, RegistryItem, RegistryItemStatus, Robot, RobotPart, RobotPartHistoryEntry, RotateKeyResponse, RoverRentalRobot, Visibility } from '../gen/app/v1/app_pb';
|
|
6
6
|
import type { LogEntry } from '../gen/common/v1/common_pb';
|
|
7
7
|
/**
|
|
8
8
|
* Creates an Authorization object from auth details.
|
|
@@ -592,6 +592,26 @@ export declare class AppClient {
|
|
|
592
592
|
* @returns The robot part and a its json config
|
|
593
593
|
*/
|
|
594
594
|
getRobotPart(id: string): Promise<GetRobotPartResponse>;
|
|
595
|
+
/**
|
|
596
|
+
* Queries a specific robot part by name and location id.
|
|
597
|
+
*
|
|
598
|
+
* @example
|
|
599
|
+
*
|
|
600
|
+
* ```ts
|
|
601
|
+
* const robotPart = await appClient.getRobotPartByNameAndLocation(
|
|
602
|
+
* '<YOUR-ROBOT-PART-NAME>',
|
|
603
|
+
* '<YOUR-LOCATION-ID>'
|
|
604
|
+
* );
|
|
605
|
+
* ```
|
|
606
|
+
*
|
|
607
|
+
* For more information, see [App
|
|
608
|
+
* API](https://docs.viam.com/dev/reference/apis/fleet/#getrobotpartbynameandlocation).
|
|
609
|
+
*
|
|
610
|
+
* @param name The name of the requested robot part
|
|
611
|
+
* @param locationId The ID of the location of the requested robot part
|
|
612
|
+
* @returns The robot part
|
|
613
|
+
*/
|
|
614
|
+
getRobotPartByNameAndLocation(name: string, locationId: string): Promise<GetRobotPartByNameAndLocationResponse>;
|
|
595
615
|
/**
|
|
596
616
|
* Get a page of log entries for a specific robot part. Logs are sorted by
|
|
597
617
|
* descending time (newest first).
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type JsonValue } from '@bufbuild/protobuf';
|
|
2
2
|
import { type PromiseClient, type Transport } from '@connectrpc/connect';
|
|
3
|
-
import { BinaryID, CaptureMetadata, Filter, Order, TabularDataSource } from '../gen/app/data/v1/data_pb';
|
|
3
|
+
import { BinaryID, CaptureMetadata, Filter, Order, TabularDataSource, TabularDataSourceType } from '../gen/app/data/v1/data_pb';
|
|
4
4
|
import type { Dataset as PBDataset } from '../gen/app/dataset/v1/dataset_pb';
|
|
5
5
|
import { DataPipelinesService } from '../gen/app/datapipelines/v1/data_pipelines_connect';
|
|
6
6
|
import { DataPipeline, DataPipelineRun } from '../gen/app/datapipelines/v1/data_pipelines_pb';
|
|
@@ -837,9 +837,10 @@ export declare class DataClient {
|
|
|
837
837
|
* @param name The name of the data pipeline
|
|
838
838
|
* @param query The MQL query to run as a list of BSON documents
|
|
839
839
|
* @param schedule The schedule to run the query on (cron expression)
|
|
840
|
+
* @param dataSourceType The type of data source to use for the data pipeline
|
|
840
841
|
* @returns The ID of the created data pipeline
|
|
841
842
|
*/
|
|
842
|
-
createDataPipeline(organizationId: string, name: string, query: Uint8Array[] | Record<string, Date | JsonValue>[], schedule: string): Promise<string>;
|
|
843
|
+
createDataPipeline(organizationId: string, name: string, query: Uint8Array[] | Record<string, Date | JsonValue>[], schedule: string, dataSourceType?: TabularDataSourceType): Promise<string>;
|
|
843
844
|
/**
|
|
844
845
|
* Deletes a data pipeline by its ID.
|
|
845
846
|
*
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Timestamp } from "@bufbuild/protobuf";
|
|
7
7
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
8
|
+
import type { TabularDataSourceType } from "../../data/v1/data_pb.js";
|
|
8
9
|
|
|
9
10
|
/**
|
|
10
11
|
* @generated from enum viam.app.datapipelines.v1.DataPipelineRunStatus
|
|
@@ -96,6 +97,13 @@ export declare class DataPipeline extends Message<DataPipeline> {
|
|
|
96
97
|
*/
|
|
97
98
|
updatedAt?: Timestamp;
|
|
98
99
|
|
|
100
|
+
/**
|
|
101
|
+
* The type of data source for the pipeline. If not specified, default is standard data storage.
|
|
102
|
+
*
|
|
103
|
+
* @generated from field: optional viam.app.data.v1.TabularDataSourceType data_source_type = 9;
|
|
104
|
+
*/
|
|
105
|
+
dataSourceType?: TabularDataSourceType;
|
|
106
|
+
|
|
99
107
|
constructor(data?: PartialMessage<DataPipeline>);
|
|
100
108
|
|
|
101
109
|
static readonly runtime: typeof proto3;
|
|
@@ -245,6 +253,20 @@ export declare class CreateDataPipelineRequest extends Message<CreateDataPipelin
|
|
|
245
253
|
*/
|
|
246
254
|
schedule: string;
|
|
247
255
|
|
|
256
|
+
/**
|
|
257
|
+
* When true, pipeline runs will be scheduled for the organization's past data.
|
|
258
|
+
*
|
|
259
|
+
* @generated from field: optional bool enable_backfill = 5;
|
|
260
|
+
*/
|
|
261
|
+
enableBackfill?: boolean;
|
|
262
|
+
|
|
263
|
+
/**
|
|
264
|
+
* The type of data source for the pipeline. If not specified, default is standard data storage.
|
|
265
|
+
*
|
|
266
|
+
* @generated from field: optional viam.app.data.v1.TabularDataSourceType data_source_type = 6;
|
|
267
|
+
*/
|
|
268
|
+
dataSourceType?: TabularDataSourceType;
|
|
269
|
+
|
|
248
270
|
constructor(data?: PartialMessage<CreateDataPipelineRequest>);
|
|
249
271
|
|
|
250
272
|
static readonly runtime: typeof proto3;
|
|
@@ -320,6 +342,13 @@ export declare class UpdateDataPipelineRequest extends Message<UpdateDataPipelin
|
|
|
320
342
|
*/
|
|
321
343
|
schedule: string;
|
|
322
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
|
+
|
|
323
352
|
constructor(data?: PartialMessage<UpdateDataPipelineRequest>);
|
|
324
353
|
|
|
325
354
|
static readonly runtime: typeof proto3;
|
|
@@ -453,6 +453,11 @@ export declare class TrainingJobMetadata extends Message<TrainingJobMetadata> {
|
|
|
453
453
|
*/
|
|
454
454
|
tags: string[];
|
|
455
455
|
|
|
456
|
+
/**
|
|
457
|
+
* @generated from field: map<string, string> arguments = 21;
|
|
458
|
+
*/
|
|
459
|
+
arguments: { [key: string]: string };
|
|
460
|
+
|
|
456
461
|
constructor(data?: PartialMessage<TrainingJobMetadata>);
|
|
457
462
|
|
|
458
463
|
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, 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, 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, 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";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -555,6 +555,17 @@ export declare const AppService: {
|
|
|
555
555
|
readonly O: typeof GetRobotPartResponse,
|
|
556
556
|
readonly kind: MethodKind.Unary,
|
|
557
557
|
},
|
|
558
|
+
/**
|
|
559
|
+
* Get a specific robot part by name and location
|
|
560
|
+
*
|
|
561
|
+
* @generated from rpc viam.app.v1.AppService.GetRobotPartByNameAndLocation
|
|
562
|
+
*/
|
|
563
|
+
readonly getRobotPartByNameAndLocation: {
|
|
564
|
+
readonly name: "GetRobotPartByNameAndLocation",
|
|
565
|
+
readonly I: typeof GetRobotPartByNameAndLocationRequest,
|
|
566
|
+
readonly O: typeof GetRobotPartByNameAndLocationResponse,
|
|
567
|
+
readonly kind: MethodKind.Unary,
|
|
568
|
+
},
|
|
558
569
|
/**
|
|
559
570
|
* @generated from rpc viam.app.v1.AppService.GetRobotPartLogs
|
|
560
571
|
*/
|
|
@@ -570,6 +570,11 @@ export declare class OrganizationMember extends Message<OrganizationMember> {
|
|
|
570
570
|
*/
|
|
571
571
|
lastLogin?: Timestamp;
|
|
572
572
|
|
|
573
|
+
/**
|
|
574
|
+
* @generated from field: optional google.protobuf.Timestamp last_access = 5;
|
|
575
|
+
*/
|
|
576
|
+
lastAccess?: Timestamp;
|
|
577
|
+
|
|
573
578
|
constructor(data?: PartialMessage<OrganizationMember>);
|
|
574
579
|
|
|
575
580
|
static readonly runtime: typeof proto3;
|
|
@@ -753,6 +758,11 @@ export declare class GetOrganizationNamespaceAvailabilityRequest extends Message
|
|
|
753
758
|
*/
|
|
754
759
|
publicNamespace: string;
|
|
755
760
|
|
|
761
|
+
/**
|
|
762
|
+
* @generated from field: string organization_id = 2;
|
|
763
|
+
*/
|
|
764
|
+
organizationId: string;
|
|
765
|
+
|
|
756
766
|
constructor(data?: PartialMessage<GetOrganizationNamespaceAvailabilityRequest>);
|
|
757
767
|
|
|
758
768
|
static readonly runtime: typeof proto3;
|
|
@@ -1303,6 +1313,14 @@ export declare class ResendOrganizationInviteRequest extends Message<ResendOrgan
|
|
|
1303
1313
|
*/
|
|
1304
1314
|
email: string;
|
|
1305
1315
|
|
|
1316
|
+
/**
|
|
1317
|
+
* Set to true (the default) to send an email to the recipient of an invite. The user must accept the email to be added to the associated authorizations.
|
|
1318
|
+
* When set to false, the user automatically receives the associated authorization on the next login of the user with the associated email address.
|
|
1319
|
+
*
|
|
1320
|
+
* @generated from field: optional bool send_email_invite = 3;
|
|
1321
|
+
*/
|
|
1322
|
+
sendEmailInvite?: boolean;
|
|
1323
|
+
|
|
1306
1324
|
constructor(data?: PartialMessage<ResendOrganizationInviteRequest>);
|
|
1307
1325
|
|
|
1308
1326
|
static readonly runtime: typeof proto3;
|
|
@@ -2943,6 +2961,59 @@ export declare class GetRobotPartResponse extends Message<GetRobotPartResponse>
|
|
|
2943
2961
|
static equals(a: GetRobotPartResponse | PlainMessage<GetRobotPartResponse> | undefined, b: GetRobotPartResponse | PlainMessage<GetRobotPartResponse> | undefined): boolean;
|
|
2944
2962
|
}
|
|
2945
2963
|
|
|
2964
|
+
/**
|
|
2965
|
+
* @generated from message viam.app.v1.GetRobotPartByNameAndLocationRequest
|
|
2966
|
+
*/
|
|
2967
|
+
export declare class GetRobotPartByNameAndLocationRequest extends Message<GetRobotPartByNameAndLocationRequest> {
|
|
2968
|
+
/**
|
|
2969
|
+
* @generated from field: string name = 1;
|
|
2970
|
+
*/
|
|
2971
|
+
name: string;
|
|
2972
|
+
|
|
2973
|
+
/**
|
|
2974
|
+
* @generated from field: string location_id = 2;
|
|
2975
|
+
*/
|
|
2976
|
+
locationId: string;
|
|
2977
|
+
|
|
2978
|
+
constructor(data?: PartialMessage<GetRobotPartByNameAndLocationRequest>);
|
|
2979
|
+
|
|
2980
|
+
static readonly runtime: typeof proto3;
|
|
2981
|
+
static readonly typeName = "viam.app.v1.GetRobotPartByNameAndLocationRequest";
|
|
2982
|
+
static readonly fields: FieldList;
|
|
2983
|
+
|
|
2984
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetRobotPartByNameAndLocationRequest;
|
|
2985
|
+
|
|
2986
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetRobotPartByNameAndLocationRequest;
|
|
2987
|
+
|
|
2988
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetRobotPartByNameAndLocationRequest;
|
|
2989
|
+
|
|
2990
|
+
static equals(a: GetRobotPartByNameAndLocationRequest | PlainMessage<GetRobotPartByNameAndLocationRequest> | undefined, b: GetRobotPartByNameAndLocationRequest | PlainMessage<GetRobotPartByNameAndLocationRequest> | undefined): boolean;
|
|
2991
|
+
}
|
|
2992
|
+
|
|
2993
|
+
/**
|
|
2994
|
+
* @generated from message viam.app.v1.GetRobotPartByNameAndLocationResponse
|
|
2995
|
+
*/
|
|
2996
|
+
export declare class GetRobotPartByNameAndLocationResponse extends Message<GetRobotPartByNameAndLocationResponse> {
|
|
2997
|
+
/**
|
|
2998
|
+
* @generated from field: viam.app.v1.RobotPart part = 1;
|
|
2999
|
+
*/
|
|
3000
|
+
part?: RobotPart;
|
|
3001
|
+
|
|
3002
|
+
constructor(data?: PartialMessage<GetRobotPartByNameAndLocationResponse>);
|
|
3003
|
+
|
|
3004
|
+
static readonly runtime: typeof proto3;
|
|
3005
|
+
static readonly typeName = "viam.app.v1.GetRobotPartByNameAndLocationResponse";
|
|
3006
|
+
static readonly fields: FieldList;
|
|
3007
|
+
|
|
3008
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetRobotPartByNameAndLocationResponse;
|
|
3009
|
+
|
|
3010
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetRobotPartByNameAndLocationResponse;
|
|
3011
|
+
|
|
3012
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetRobotPartByNameAndLocationResponse;
|
|
3013
|
+
|
|
3014
|
+
static equals(a: GetRobotPartByNameAndLocationResponse | PlainMessage<GetRobotPartByNameAndLocationResponse> | undefined, b: GetRobotPartByNameAndLocationResponse | PlainMessage<GetRobotPartByNameAndLocationResponse> | undefined): boolean;
|
|
3015
|
+
}
|
|
3016
|
+
|
|
2946
3017
|
/**
|
|
2947
3018
|
* @generated from message viam.app.v1.GetRobotPartLogsRequest
|
|
2948
3019
|
*/
|
|
@@ -4541,6 +4612,13 @@ export declare class ListMachineSummariesRequest extends Message<ListMachineSumm
|
|
|
4541
4612
|
*/
|
|
4542
4613
|
organizationId: string;
|
|
4543
4614
|
|
|
4615
|
+
/**
|
|
4616
|
+
* Optional list of fragment IDs to filter machines that use any of these fragments
|
|
4617
|
+
*
|
|
4618
|
+
* @generated from field: repeated string fragment_ids = 2;
|
|
4619
|
+
*/
|
|
4620
|
+
fragmentIds: string[];
|
|
4621
|
+
|
|
4544
4622
|
constructor(data?: PartialMessage<ListMachineSummariesRequest>);
|
|
4545
4623
|
|
|
4546
4624
|
static readonly runtime: typeof proto3;
|
|
@@ -1686,6 +1686,13 @@ export declare class ModuleConfig extends Message<ModuleConfig> {
|
|
|
1686
1686
|
*/
|
|
1687
1687
|
firstRunTimeout?: Duration;
|
|
1688
1688
|
|
|
1689
|
+
/**
|
|
1690
|
+
* whether we are starting a module in TCP mode
|
|
1691
|
+
*
|
|
1692
|
+
* @generated from field: bool tcp_mode = 9;
|
|
1693
|
+
*/
|
|
1694
|
+
tcpMode: boolean;
|
|
1695
|
+
|
|
1689
1696
|
constructor(data?: PartialMessage<ModuleConfig>);
|
|
1690
1697
|
|
|
1691
1698
|
static readonly runtime: typeof proto3;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
|
-
import { GrabRequest, GrabResponse, IsMovingRequest, IsMovingResponse, OpenRequest, OpenResponse, StopRequest, StopResponse } from "./gripper_pb.js";
|
|
6
|
+
import { GrabRequest, GrabResponse, IsHoldingSomethingRequest, IsHoldingSomethingResponse, IsMovingRequest, IsMovingResponse, OpenRequest, OpenResponse, StopRequest, StopResponse } from "./gripper_pb.js";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
-
import { DoCommandRequest, DoCommandResponse, GetGeometriesRequest, GetGeometriesResponse } from "../../../common/v1/common_pb.js";
|
|
8
|
+
import { DoCommandRequest, DoCommandResponse, GetGeometriesRequest, GetGeometriesResponse, GetKinematicsRequest, GetKinematicsResponse } from "../../../common/v1/common_pb.js";
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* An GripperService services all grippers associated with a robot
|
|
@@ -59,6 +59,17 @@ export declare const GripperService: {
|
|
|
59
59
|
readonly O: typeof IsMovingResponse,
|
|
60
60
|
readonly kind: MethodKind.Unary,
|
|
61
61
|
},
|
|
62
|
+
/**
|
|
63
|
+
* IsHoldingSomething returns whether the gripper is currently holding onto an object
|
|
64
|
+
*
|
|
65
|
+
* @generated from rpc viam.component.gripper.v1.GripperService.IsHoldingSomething
|
|
66
|
+
*/
|
|
67
|
+
readonly isHoldingSomething: {
|
|
68
|
+
readonly name: "IsHoldingSomething",
|
|
69
|
+
readonly I: typeof IsHoldingSomethingRequest,
|
|
70
|
+
readonly O: typeof IsHoldingSomethingResponse,
|
|
71
|
+
readonly kind: MethodKind.Unary,
|
|
72
|
+
},
|
|
62
73
|
/**
|
|
63
74
|
* DoCommand sends/receives arbitrary commands
|
|
64
75
|
*
|
|
@@ -81,6 +92,17 @@ export declare const GripperService: {
|
|
|
81
92
|
readonly O: typeof GetGeometriesResponse,
|
|
82
93
|
readonly kind: MethodKind.Unary,
|
|
83
94
|
},
|
|
95
|
+
/**
|
|
96
|
+
* GetKinematics returns the kinematics file for the component
|
|
97
|
+
*
|
|
98
|
+
* @generated from rpc viam.component.gripper.v1.GripperService.GetKinematics
|
|
99
|
+
*/
|
|
100
|
+
readonly getKinematics: {
|
|
101
|
+
readonly name: "GetKinematics",
|
|
102
|
+
readonly I: typeof GetKinematicsRequest,
|
|
103
|
+
readonly O: typeof GetKinematicsResponse,
|
|
104
|
+
readonly kind: MethodKind.Unary,
|
|
105
|
+
},
|
|
84
106
|
}
|
|
85
107
|
};
|
|
86
108
|
|
|
@@ -210,3 +210,61 @@ export declare class IsMovingResponse extends Message<IsMovingResponse> {
|
|
|
210
210
|
static equals(a: IsMovingResponse | PlainMessage<IsMovingResponse> | undefined, b: IsMovingResponse | PlainMessage<IsMovingResponse> | undefined): boolean;
|
|
211
211
|
}
|
|
212
212
|
|
|
213
|
+
/**
|
|
214
|
+
* @generated from message viam.component.gripper.v1.IsHoldingSomethingRequest
|
|
215
|
+
*/
|
|
216
|
+
export declare class IsHoldingSomethingRequest extends Message<IsHoldingSomethingRequest> {
|
|
217
|
+
/**
|
|
218
|
+
* @generated from field: string name = 1;
|
|
219
|
+
*/
|
|
220
|
+
name: string;
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* @generated from field: google.protobuf.Struct extra = 99;
|
|
224
|
+
*/
|
|
225
|
+
extra?: Struct;
|
|
226
|
+
|
|
227
|
+
constructor(data?: PartialMessage<IsHoldingSomethingRequest>);
|
|
228
|
+
|
|
229
|
+
static readonly runtime: typeof proto3;
|
|
230
|
+
static readonly typeName = "viam.component.gripper.v1.IsHoldingSomethingRequest";
|
|
231
|
+
static readonly fields: FieldList;
|
|
232
|
+
|
|
233
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IsHoldingSomethingRequest;
|
|
234
|
+
|
|
235
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IsHoldingSomethingRequest;
|
|
236
|
+
|
|
237
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IsHoldingSomethingRequest;
|
|
238
|
+
|
|
239
|
+
static equals(a: IsHoldingSomethingRequest | PlainMessage<IsHoldingSomethingRequest> | undefined, b: IsHoldingSomethingRequest | PlainMessage<IsHoldingSomethingRequest> | undefined): boolean;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* @generated from message viam.component.gripper.v1.IsHoldingSomethingResponse
|
|
244
|
+
*/
|
|
245
|
+
export declare class IsHoldingSomethingResponse extends Message<IsHoldingSomethingResponse> {
|
|
246
|
+
/**
|
|
247
|
+
* @generated from field: bool is_holding_something = 1;
|
|
248
|
+
*/
|
|
249
|
+
isHoldingSomething: boolean;
|
|
250
|
+
|
|
251
|
+
/**
|
|
252
|
+
* @generated from field: google.protobuf.Struct meta = 99;
|
|
253
|
+
*/
|
|
254
|
+
meta?: Struct;
|
|
255
|
+
|
|
256
|
+
constructor(data?: PartialMessage<IsHoldingSomethingResponse>);
|
|
257
|
+
|
|
258
|
+
static readonly runtime: typeof proto3;
|
|
259
|
+
static readonly typeName = "viam.component.gripper.v1.IsHoldingSomethingResponse";
|
|
260
|
+
static readonly fields: FieldList;
|
|
261
|
+
|
|
262
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IsHoldingSomethingResponse;
|
|
263
|
+
|
|
264
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IsHoldingSomethingResponse;
|
|
265
|
+
|
|
266
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IsHoldingSomethingResponse;
|
|
267
|
+
|
|
268
|
+
static equals(a: IsHoldingSomethingResponse | PlainMessage<IsHoldingSomethingResponse> | undefined, b: IsHoldingSomethingResponse | PlainMessage<IsHoldingSomethingResponse> | undefined): boolean;
|
|
269
|
+
}
|
|
270
|
+
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
|
-
import { GetNetworkListRequest, GetNetworkListResponse, GetSmartMachineStatusRequest, GetSmartMachineStatusResponse, SetNetworkCredentialsRequest, SetNetworkCredentialsResponse, SetSmartMachineCredentialsRequest, SetSmartMachineCredentialsResponse } from "./provisioning_pb.js";
|
|
6
|
+
import { ExitProvisioningRequest, ExitProvisioningResponse, GetNetworkListRequest, GetNetworkListResponse, GetSmartMachineStatusRequest, GetSmartMachineStatusResponse, SetNetworkCredentialsRequest, SetNetworkCredentialsResponse, SetSmartMachineCredentialsRequest, SetSmartMachineCredentialsResponse } from "./provisioning_pb.js";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -58,6 +58,18 @@ export declare const ProvisioningService: {
|
|
|
58
58
|
readonly O: typeof GetNetworkListResponse,
|
|
59
59
|
readonly kind: MethodKind.Unary,
|
|
60
60
|
},
|
|
61
|
+
/**
|
|
62
|
+
* ExitProvisioning is called when "done" with all other calls.
|
|
63
|
+
* It causes the device to exit provisioning mode to try any newly added wifi networks and resume normal operation.
|
|
64
|
+
*
|
|
65
|
+
* @generated from rpc viam.provisioning.v1.ProvisioningService.ExitProvisioning
|
|
66
|
+
*/
|
|
67
|
+
readonly exitProvisioning: {
|
|
68
|
+
readonly name: "ExitProvisioning",
|
|
69
|
+
readonly I: typeof ExitProvisioningRequest,
|
|
70
|
+
readonly O: typeof ExitProvisioningResponse,
|
|
71
|
+
readonly kind: MethodKind.Unary,
|
|
72
|
+
},
|
|
61
73
|
}
|
|
62
74
|
};
|
|
63
75
|
|
|
@@ -6,6 +6,44 @@
|
|
|
6
6
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
7
7
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
8
8
|
|
|
9
|
+
/**
|
|
10
|
+
* @generated from message viam.provisioning.v1.ExitProvisioningRequest
|
|
11
|
+
*/
|
|
12
|
+
export declare class ExitProvisioningRequest extends Message<ExitProvisioningRequest> {
|
|
13
|
+
constructor(data?: PartialMessage<ExitProvisioningRequest>);
|
|
14
|
+
|
|
15
|
+
static readonly runtime: typeof proto3;
|
|
16
|
+
static readonly typeName = "viam.provisioning.v1.ExitProvisioningRequest";
|
|
17
|
+
static readonly fields: FieldList;
|
|
18
|
+
|
|
19
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ExitProvisioningRequest;
|
|
20
|
+
|
|
21
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ExitProvisioningRequest;
|
|
22
|
+
|
|
23
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ExitProvisioningRequest;
|
|
24
|
+
|
|
25
|
+
static equals(a: ExitProvisioningRequest | PlainMessage<ExitProvisioningRequest> | undefined, b: ExitProvisioningRequest | PlainMessage<ExitProvisioningRequest> | undefined): boolean;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* @generated from message viam.provisioning.v1.ExitProvisioningResponse
|
|
30
|
+
*/
|
|
31
|
+
export declare class ExitProvisioningResponse extends Message<ExitProvisioningResponse> {
|
|
32
|
+
constructor(data?: PartialMessage<ExitProvisioningResponse>);
|
|
33
|
+
|
|
34
|
+
static readonly runtime: typeof proto3;
|
|
35
|
+
static readonly typeName = "viam.provisioning.v1.ExitProvisioningResponse";
|
|
36
|
+
static readonly fields: FieldList;
|
|
37
|
+
|
|
38
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ExitProvisioningResponse;
|
|
39
|
+
|
|
40
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ExitProvisioningResponse;
|
|
41
|
+
|
|
42
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ExitProvisioningResponse;
|
|
43
|
+
|
|
44
|
+
static equals(a: ExitProvisioningResponse | PlainMessage<ExitProvisioningResponse> | undefined, b: ExitProvisioningResponse | PlainMessage<ExitProvisioningResponse> | undefined): boolean;
|
|
45
|
+
}
|
|
46
|
+
|
|
9
47
|
/**
|
|
10
48
|
* @generated from message viam.provisioning.v1.GetSmartMachineStatusRequest
|
|
11
49
|
*/
|
|
@@ -54,6 +92,11 @@ export declare class GetSmartMachineStatusResponse extends Message<GetSmartMachi
|
|
|
54
92
|
*/
|
|
55
93
|
errors: string[];
|
|
56
94
|
|
|
95
|
+
/**
|
|
96
|
+
* @generated from field: string agent_version = 6;
|
|
97
|
+
*/
|
|
98
|
+
agentVersion: string;
|
|
99
|
+
|
|
57
100
|
constructor(data?: PartialMessage<GetSmartMachineStatusResponse>);
|
|
58
101
|
|
|
59
102
|
static readonly runtime: typeof proto3;
|