@viamrobotics/sdk 0.41.0 → 0.43.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 CHANGED
@@ -35,8 +35,19 @@ To use this SDK with node, read the [documentation](https://github.com/viamrobot
35
35
 
36
36
  To use this SDK with React Native, read the [documentation](https://github.com/viamrobotics/viam-typescript-sdk/blob/main/ReactNative.md) or view the [example](https://github.com/viamrobotics/viam-typescript-sdk/tree/main/examples/react-native/)
37
37
 
38
+ ## Offline Mode
39
+
40
+ > [!WARNING]
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
+ ```
48
+
38
49
  ## License
39
50
 
40
- Copyright 2022-2024 Viam Inc.
51
+ Copyright 2022-2025 Viam Inc.
41
52
 
42
53
  Apache 2.0 - See [LICENSE](https://github.com/viamrobotics/viam-typescript-sdk/blob/main/LICENSE) file
@@ -1 +1 @@
1
- export declare const apiVersion = "v0.1.432";
1
+ export declare const apiVersion = "v0.1.441";
@@ -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.
@@ -574,6 +574,15 @@ export declare class AppClient {
574
574
  *
575
575
  * ```ts
576
576
  * const robotPart = await appClient.getRobotPart('<YOUR-ROBOT-PART-ID>');
577
+ * // Get the part's address
578
+ * const address = robotPart.part.fqdn;
579
+ * // Check if machine is live (last access time less than 10 sec ago)
580
+ * if (
581
+ * Date.now() - Number(robotPart.part.lastAccess.seconds) * 1000 <=
582
+ * 10000
583
+ * ) {
584
+ * console.log('Machine is live');
585
+ * }
577
586
  * ```
578
587
  *
579
588
  * For more information, see [App
@@ -583,6 +592,26 @@ export declare class AppClient {
583
592
  * @returns The robot part and a its json config
584
593
  */
585
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>;
586
615
  /**
587
616
  * Get a page of log entries for a specific robot part. Logs are sorted by
588
617
  * descending time (newest first).
@@ -1,7 +1,9 @@
1
1
  import { type JsonValue } from '@bufbuild/protobuf';
2
- import { type Transport } from '@connectrpc/connect';
3
- import { BinaryID, CaptureMetadata, Filter, Order } from '../gen/app/data/v1/data_pb';
2
+ import { type PromiseClient, type Transport } from '@connectrpc/connect';
3
+ import { BinaryID, CaptureMetadata, Filter, Order, TabularDataSource } from '../gen/app/data/v1/data_pb';
4
4
  import type { Dataset as PBDataset } from '../gen/app/dataset/v1/dataset_pb';
5
+ import { DataPipelinesService } from '../gen/app/datapipelines/v1/data_pipelines_connect';
6
+ import { DataPipeline, DataPipelineRun } from '../gen/app/datapipelines/v1/data_pipelines_pb';
5
7
  export type FilterOptions = Partial<Filter> & {
6
8
  endTime?: Date;
7
9
  startTime?: Date;
@@ -35,6 +37,7 @@ export declare class DataClient {
35
37
  private dataClient;
36
38
  private datasetClient;
37
39
  private dataSyncClient;
40
+ private dataPipelinesClient;
38
41
  constructor(transport: Transport);
39
42
  /**
40
43
  * Obtain unified tabular data and metadata from the specified data source.
@@ -94,13 +97,7 @@ export declare class DataClient {
94
97
  * @example
95
98
  *
96
99
  * ```ts
97
- * type JsonValue =
98
- * | string
99
- * | number
100
- * | boolean
101
- * | null
102
- * | JsonValue[]
103
- * | { [key: string]: JsonValue };
100
+ * // {@link JsonValue} is imported from @bufbuild/protobuf
104
101
  * const mqlQuery: Record<string, JsonValue>[] = [
105
102
  * {
106
103
  * $match: {
@@ -124,10 +121,12 @@ export declare class DataClient {
124
121
  * @param organizationId The ID of the organization that owns the data
125
122
  * @param query The MQL query to run as a list of BSON documents
126
123
  * @param useRecentData Whether to query blob storage or your recent data
127
- * store. Defaults to false
124
+ * store. Defaults to false. Deprecated - use dataSource instead.
125
+ * @param dataSource The data source to query. Defaults to the standard data
126
+ * source.
128
127
  * @returns An array of data objects
129
128
  */
130
- tabularDataByMQL(organizationId: string, query: Uint8Array[] | Record<string, Date | JsonValue>[], useRecentData?: boolean): Promise<(Object | any[])[]>;
129
+ tabularDataByMQL(organizationId: string, query: Uint8Array[] | Record<string, Date | JsonValue>[], useRecentData?: boolean, tabularDataSource?: TabularDataSource): Promise<(Object | any[])[]>;
131
130
  /**
132
131
  * Filter and get a page of tabular data. The returned metadata might be empty
133
132
  * if the metadata index of the data is out of the bounds of the returned
@@ -778,6 +777,129 @@ export declare class DataClient {
778
777
  * captured data was over a year ago
779
778
  */
780
779
  getLatestTabularData(partId: string, resourceName: string, resourceSubtype: string, methodName: string): Promise<[Date, Date, Record<string, JsonValue>] | null>;
780
+ /**
781
+ * List all data pipelines for an organization.
782
+ *
783
+ * @example
784
+ *
785
+ * ```ts
786
+ * const pipelines = await dataClient.listDataPipelines(
787
+ * '123abc45-1234-5678-90ab-cdef12345678'
788
+ * );
789
+ * ```
790
+ *
791
+ * @param organizationId The ID of the organization
792
+ * @returns The list of data pipelines
793
+ */
794
+ listDataPipelines(organizationId: string): Promise<DataPipeline[]>;
795
+ /**
796
+ * Get a data pipeline configuration by its ID.
797
+ *
798
+ * @example
799
+ *
800
+ * ```ts
801
+ * const pipeline = await dataClient.getPipeline(
802
+ * '123abc45-1234-5678-90ab-cdef12345678'
803
+ * );
804
+ * ```
805
+ *
806
+ * @param pipelineId The ID of the data pipeline
807
+ * @returns The data pipeline configuration or null if it does not exist
808
+ */
809
+ getDataPipeline(pipelineId: string): Promise<DataPipeline | null>;
810
+ /**
811
+ * Creates a new data pipeline using the given query and schedule.
812
+ *
813
+ * @example
814
+ *
815
+ * ```ts
816
+ * // {@link JsonValue} is imported from @bufbuild/protobuf
817
+ * const mqlQuery: Record<string, JsonValue>[] = [
818
+ * {
819
+ * $match: {
820
+ * component_name: 'sensor-1',
821
+ * },
822
+ * },
823
+ * {
824
+ * $limit: 5,
825
+ * },
826
+ * ];
827
+ *
828
+ * const pipelineId = await dataClient.createDataPipeline(
829
+ * '123abc45-1234-5678-90ab-cdef12345678',
830
+ * 'my-pipeline',
831
+ * mqlQuery,
832
+ * '0 0 * * *'
833
+ * );
834
+ * ```
835
+ *
836
+ * @param organizationId The ID of the organization
837
+ * @param name The name of the data pipeline
838
+ * @param query The MQL query to run as a list of BSON documents
839
+ * @param schedule The schedule to run the query on (cron expression)
840
+ * @returns The ID of the created data pipeline
841
+ */
842
+ createDataPipeline(organizationId: string, name: string, query: Uint8Array[] | Record<string, Date | JsonValue>[], schedule: string): Promise<string>;
843
+ /**
844
+ * Deletes a data pipeline by its ID.
845
+ *
846
+ * @example
847
+ *
848
+ * ```ts
849
+ * await dataClient.deleteDataPipeline(
850
+ * '123abc45-1234-5678-90ab-cdef12345678'
851
+ * );
852
+ * ```
853
+ *
854
+ * @param pipelineId The ID of the data pipeline
855
+ */
856
+ deleteDataPipeline(pipelineId: string): Promise<void>;
857
+ /**
858
+ * List all runs of a data pipeline.
859
+ *
860
+ * @example
861
+ *
862
+ * ```ts
863
+ * const page = await dataClient.listDataPipelineRuns(
864
+ * '123abc45-1234-5678-90ab-cdef12345678'
865
+ * );
866
+ * page.runs.forEach((run) => {
867
+ * console.log(run);
868
+ * });
869
+ * page = await page.nextPage();
870
+ * page.runs.forEach((run) => {
871
+ * console.log(run);
872
+ * });
873
+ * ```
874
+ *
875
+ * @param pipelineId The ID of the data pipeline
876
+ * @param pageSize The number of runs to return per page
877
+ * @returns A page of data pipeline runs
878
+ */
879
+ listDataPipelineRuns(pipelineId: string, pageSize?: number): Promise<ListDataPipelineRunsPage>;
880
+ }
881
+ export declare class ListDataPipelineRunsPage {
882
+ private readonly dataPipelinesClient;
883
+ private readonly pipelineId;
884
+ readonly runs: DataPipelineRun[];
885
+ private readonly pageSize?;
886
+ private readonly nextPageToken?;
887
+ constructor(dataPipelinesClient: PromiseClient<typeof DataPipelinesService>, pipelineId: string, runs?: DataPipelineRun[], pageSize?: number | undefined, nextPageToken?: string | undefined);
888
+ /**
889
+ * Retrieves the next page of data pipeline runs.
890
+ *
891
+ * @example
892
+ *
893
+ * ```ts
894
+ * const page = await dataClient.listDataPipelineRuns(
895
+ * '123abc45-1234-5678-90ab-cdef12345678'
896
+ * );
897
+ * const nextPage = await page.nextPage();
898
+ * ```
899
+ *
900
+ * @returns A page of data pipeline runs
901
+ */
902
+ nextPage(): Promise<ListDataPipelineRunsPage>;
781
903
  }
782
904
  export { type BinaryID, type Order } from '../gen/app/data/v1/data_pb';
783
905
  export { type UploadMetadata } from '../gen/app/datasync/v1/data_sync_pb';
@@ -245,6 +245,13 @@ export declare class CreateDataPipelineRequest extends Message<CreateDataPipelin
245
245
  */
246
246
  schedule: string;
247
247
 
248
+ /**
249
+ * When true, pipeline runs will be scheduled for the organization's past data.
250
+ *
251
+ * @generated from field: optional bool enable_backfill = 5;
252
+ */
253
+ enableBackfill?: boolean;
254
+
248
255
  constructor(data?: PartialMessage<CreateDataPipelineRequest>);
249
256
 
250
257
  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
  */
@@ -872,9 +872,9 @@ export declare class UpdateOrganizationNamespaceRequest extends Message<UpdateOr
872
872
  organizationId: string;
873
873
 
874
874
  /**
875
- * @generated from field: optional string new_public_namespace = 2;
875
+ * @generated from field: string new_public_namespace = 2;
876
876
  */
877
- newPublicNamespace?: string;
877
+ newPublicNamespace: string;
878
878
 
879
879
  constructor(data?: PartialMessage<UpdateOrganizationNamespaceRequest>);
880
880
 
@@ -1303,6 +1303,14 @@ export declare class ResendOrganizationInviteRequest extends Message<ResendOrgan
1303
1303
  */
1304
1304
  email: string;
1305
1305
 
1306
+ /**
1307
+ * 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.
1308
+ * When set to false, the user automatically receives the associated authorization on the next login of the user with the associated email address.
1309
+ *
1310
+ * @generated from field: optional bool send_email_invite = 3;
1311
+ */
1312
+ sendEmailInvite?: boolean;
1313
+
1306
1314
  constructor(data?: PartialMessage<ResendOrganizationInviteRequest>);
1307
1315
 
1308
1316
  static readonly runtime: typeof proto3;
@@ -2943,6 +2951,59 @@ export declare class GetRobotPartResponse extends Message<GetRobotPartResponse>
2943
2951
  static equals(a: GetRobotPartResponse | PlainMessage<GetRobotPartResponse> | undefined, b: GetRobotPartResponse | PlainMessage<GetRobotPartResponse> | undefined): boolean;
2944
2952
  }
2945
2953
 
2954
+ /**
2955
+ * @generated from message viam.app.v1.GetRobotPartByNameAndLocationRequest
2956
+ */
2957
+ export declare class GetRobotPartByNameAndLocationRequest extends Message<GetRobotPartByNameAndLocationRequest> {
2958
+ /**
2959
+ * @generated from field: string name = 1;
2960
+ */
2961
+ name: string;
2962
+
2963
+ /**
2964
+ * @generated from field: string location_id = 2;
2965
+ */
2966
+ locationId: string;
2967
+
2968
+ constructor(data?: PartialMessage<GetRobotPartByNameAndLocationRequest>);
2969
+
2970
+ static readonly runtime: typeof proto3;
2971
+ static readonly typeName = "viam.app.v1.GetRobotPartByNameAndLocationRequest";
2972
+ static readonly fields: FieldList;
2973
+
2974
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetRobotPartByNameAndLocationRequest;
2975
+
2976
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetRobotPartByNameAndLocationRequest;
2977
+
2978
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetRobotPartByNameAndLocationRequest;
2979
+
2980
+ static equals(a: GetRobotPartByNameAndLocationRequest | PlainMessage<GetRobotPartByNameAndLocationRequest> | undefined, b: GetRobotPartByNameAndLocationRequest | PlainMessage<GetRobotPartByNameAndLocationRequest> | undefined): boolean;
2981
+ }
2982
+
2983
+ /**
2984
+ * @generated from message viam.app.v1.GetRobotPartByNameAndLocationResponse
2985
+ */
2986
+ export declare class GetRobotPartByNameAndLocationResponse extends Message<GetRobotPartByNameAndLocationResponse> {
2987
+ /**
2988
+ * @generated from field: viam.app.v1.RobotPart part = 1;
2989
+ */
2990
+ part?: RobotPart;
2991
+
2992
+ constructor(data?: PartialMessage<GetRobotPartByNameAndLocationResponse>);
2993
+
2994
+ static readonly runtime: typeof proto3;
2995
+ static readonly typeName = "viam.app.v1.GetRobotPartByNameAndLocationResponse";
2996
+ static readonly fields: FieldList;
2997
+
2998
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetRobotPartByNameAndLocationResponse;
2999
+
3000
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetRobotPartByNameAndLocationResponse;
3001
+
3002
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetRobotPartByNameAndLocationResponse;
3003
+
3004
+ static equals(a: GetRobotPartByNameAndLocationResponse | PlainMessage<GetRobotPartByNameAndLocationResponse> | undefined, b: GetRobotPartByNameAndLocationResponse | PlainMessage<GetRobotPartByNameAndLocationResponse> | undefined): boolean;
3005
+ }
3006
+
2946
3007
  /**
2947
3008
  * @generated from message viam.app.v1.GetRobotPartLogsRequest
2948
3009
  */
@@ -5644,6 +5705,13 @@ export declare class ModuleVersion extends Message<ModuleVersion> {
5644
5705
  */
5645
5706
  markdownDescription?: string;
5646
5707
 
5708
+ /**
5709
+ * A list of applications associated with the module
5710
+ *
5711
+ * @generated from field: repeated viam.app.v1.App apps = 7;
5712
+ */
5713
+ apps: App[];
5714
+
5647
5715
  constructor(data?: PartialMessage<ModuleVersion>);
5648
5716
 
5649
5717
  static readonly runtime: typeof proto3;
@@ -5699,6 +5767,13 @@ export declare class ModuleMetadata extends Message<ModuleMetadata> {
5699
5767
  */
5700
5768
  markdownDescription?: string;
5701
5769
 
5770
+ /**
5771
+ * A list of applications associated with the module
5772
+ *
5773
+ * @generated from field: repeated viam.app.v1.App apps = 6;
5774
+ */
5775
+ apps: App[];
5776
+
5702
5777
  constructor(data?: PartialMessage<ModuleMetadata>);
5703
5778
 
5704
5779
  static readonly runtime: typeof proto3;
@@ -6640,6 +6715,13 @@ export declare class UpdateModuleMetadata extends Message<UpdateModuleMetadata>
6640
6715
  */
6641
6716
  entrypoint: string;
6642
6717
 
6718
+ /**
6719
+ * A list of applications associated with the module
6720
+ *
6721
+ * @generated from field: repeated viam.app.v1.App apps = 3;
6722
+ */
6723
+ apps: App[];
6724
+
6643
6725
  constructor(data?: PartialMessage<UpdateModuleMetadata>);
6644
6726
 
6645
6727
  static readonly runtime: typeof proto3;
@@ -7048,6 +7130,13 @@ export declare class Module extends Message<Module> {
7048
7130
  */
7049
7131
  markdownDescription?: string;
7050
7132
 
7133
+ /**
7134
+ * A list of applications associated with the module
7135
+ *
7136
+ * @generated from field: repeated viam.app.v1.App apps = 15;
7137
+ */
7138
+ apps: App[];
7139
+
7051
7140
  constructor(data?: PartialMessage<Module>);
7052
7141
 
7053
7142
  static readonly runtime: typeof proto3;
@@ -7109,6 +7198,13 @@ export declare class VersionHistory extends Message<VersionHistory> {
7109
7198
  */
7110
7199
  markdownDescription?: string;
7111
7200
 
7201
+ /**
7202
+ * A list of applications associated with the module
7203
+ *
7204
+ * @generated from field: repeated viam.app.v1.App apps = 7;
7205
+ */
7206
+ apps: App[];
7207
+
7112
7208
  constructor(data?: PartialMessage<VersionHistory>);
7113
7209
 
7114
7210
  static readonly runtime: typeof proto3;
@@ -5,7 +5,7 @@
5
5
 
6
6
  import { GrabRequest, GrabResponse, 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
@@ -81,6 +81,17 @@ export declare const GripperService: {
81
81
  readonly O: typeof GetGeometriesResponse,
82
82
  readonly kind: MethodKind.Unary,
83
83
  },
84
+ /**
85
+ * GetKinematics returns the kinematics file for the component
86
+ *
87
+ * @generated from rpc viam.component.gripper.v1.GripperService.GetKinematics
88
+ */
89
+ readonly getKinematics: {
90
+ readonly name: "GetKinematics",
91
+ readonly I: typeof GetKinematicsRequest,
92
+ readonly O: typeof GetKinematicsResponse,
93
+ readonly kind: MethodKind.Unary,
94
+ },
84
95
  }
85
96
  };
86
97
 
@@ -306,8 +306,8 @@ export declare class TransformPoseResponse extends Message<TransformPoseResponse
306
306
  */
307
307
  export declare class TransformPCDRequest extends Message<TransformPCDRequest> {
308
308
  /**
309
- * the point clouds to transform. This should be in the PCD format
310
- * encoded into bytes: https://pointclouds.org/documentation/tutorials/pcd_file_format.html
309
+ * the point clouds to transform. This should be in the PCD format,
310
+ * [encoded into bytes](https://pointclouds.org/documentation/tutorials/pcd_file_format.html).
311
311
  *
312
312
  * @generated from field: bytes point_cloud_pcd = 1;
313
313
  */
@@ -155,8 +155,8 @@ export declare class GetPointCloudMapResponse extends Message<GetPointCloudMapRe
155
155
  * format where XY is the ground plane and positive Z is up, following
156
156
  * the Right Hand Rule.
157
157
  *
158
- * Read more about the pointcloud format here:
159
- * https://pointclouds.org/documentation/tutorials/pcd_file_format.html
158
+ * Read more about the pointcloud format
159
+ * [in the docs](https://pointclouds.org/documentation/tutorials/pcd_file_format.html)
160
160
  *
161
161
  * Viam expects pointcloud data with fields "x y z" or "x y z rgb", and for
162
162
  * this to be specified in the pointcloud header in the FIELDS entry. If color