@viamrobotics/sdk 0.46.0 → 0.46.1-b.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.
@@ -1 +1 @@
1
- export declare const apiVersion = "v0.1.453";
1
+ export declare const apiVersion = "v0.1.454";
@@ -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
  *
@@ -776,7 +776,7 @@ export declare class DataClient {
776
776
  * no data has been synced for the specified resource OR the most recently
777
777
  * captured data was over a year ago
778
778
  */
779
- getLatestTabularData(partId: string, resourceName: string, resourceSubtype: string, methodName: string): Promise<[Date, Date, Record<string, JsonValue>] | null>;
779
+ getLatestTabularData(partId: string, resourceName: string, resourceSubtype: string, methodName: string, additionalParams?: Record<string, JsonValue>): Promise<[Date, Date, Record<string, JsonValue>] | null>;
780
780
  /**
781
781
  * List all data pipelines for an organization.
782
782
  *
@@ -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
  *
@@ -4445,6 +4445,54 @@ export declare class ListRobotsRequest extends Message<ListRobotsRequest> {
4445
4445
  static equals(a: ListRobotsRequest | PlainMessage<ListRobotsRequest> | undefined, b: ListRobotsRequest | PlainMessage<ListRobotsRequest> | undefined): boolean;
4446
4446
  }
4447
4447
 
4448
+ /**
4449
+ * @generated from message viam.app.v1.ListRobotsForLocationsRequest
4450
+ */
4451
+ export declare class ListRobotsForLocationsRequest extends Message<ListRobotsForLocationsRequest> {
4452
+ /**
4453
+ * @generated from field: repeated string location_ids = 1;
4454
+ */
4455
+ locationIds: string[];
4456
+
4457
+ constructor(data?: PartialMessage<ListRobotsForLocationsRequest>);
4458
+
4459
+ static readonly runtime: typeof proto3;
4460
+ static readonly typeName = "viam.app.v1.ListRobotsForLocationsRequest";
4461
+ static readonly fields: FieldList;
4462
+
4463
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListRobotsForLocationsRequest;
4464
+
4465
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListRobotsForLocationsRequest;
4466
+
4467
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListRobotsForLocationsRequest;
4468
+
4469
+ static equals(a: ListRobotsForLocationsRequest | PlainMessage<ListRobotsForLocationsRequest> | undefined, b: ListRobotsForLocationsRequest | PlainMessage<ListRobotsForLocationsRequest> | undefined): boolean;
4470
+ }
4471
+
4472
+ /**
4473
+ * @generated from message viam.app.v1.ListRobotsForOrgRequest
4474
+ */
4475
+ export declare class ListRobotsForOrgRequest extends Message<ListRobotsForOrgRequest> {
4476
+ /**
4477
+ * @generated from field: string org_id = 1;
4478
+ */
4479
+ orgId: string;
4480
+
4481
+ constructor(data?: PartialMessage<ListRobotsForOrgRequest>);
4482
+
4483
+ static readonly runtime: typeof proto3;
4484
+ static readonly typeName = "viam.app.v1.ListRobotsForOrgRequest";
4485
+ static readonly fields: FieldList;
4486
+
4487
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListRobotsForOrgRequest;
4488
+
4489
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListRobotsForOrgRequest;
4490
+
4491
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListRobotsForOrgRequest;
4492
+
4493
+ static equals(a: ListRobotsForOrgRequest | PlainMessage<ListRobotsForOrgRequest> | undefined, b: ListRobotsForOrgRequest | PlainMessage<ListRobotsForOrgRequest> | undefined): boolean;
4494
+ }
4495
+
4448
4496
  /**
4449
4497
  * @generated from message viam.app.v1.AdditionalFragment
4450
4498
  */
@@ -4929,6 +4977,54 @@ export declare class ListRobotsResponse extends Message<ListRobotsResponse> {
4929
4977
  static equals(a: ListRobotsResponse | PlainMessage<ListRobotsResponse> | undefined, b: ListRobotsResponse | PlainMessage<ListRobotsResponse> | undefined): boolean;
4930
4978
  }
4931
4979
 
4980
+ /**
4981
+ * @generated from message viam.app.v1.ListRobotsForLocationsResponse
4982
+ */
4983
+ export declare class ListRobotsForLocationsResponse extends Message<ListRobotsForLocationsResponse> {
4984
+ /**
4985
+ * @generated from field: repeated viam.app.v1.Robot robots = 1;
4986
+ */
4987
+ robots: Robot[];
4988
+
4989
+ constructor(data?: PartialMessage<ListRobotsForLocationsResponse>);
4990
+
4991
+ static readonly runtime: typeof proto3;
4992
+ static readonly typeName = "viam.app.v1.ListRobotsForLocationsResponse";
4993
+ static readonly fields: FieldList;
4994
+
4995
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListRobotsForLocationsResponse;
4996
+
4997
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListRobotsForLocationsResponse;
4998
+
4999
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListRobotsForLocationsResponse;
5000
+
5001
+ static equals(a: ListRobotsForLocationsResponse | PlainMessage<ListRobotsForLocationsResponse> | undefined, b: ListRobotsForLocationsResponse | PlainMessage<ListRobotsForLocationsResponse> | undefined): boolean;
5002
+ }
5003
+
5004
+ /**
5005
+ * @generated from message viam.app.v1.ListRobotsForOrgResponse
5006
+ */
5007
+ export declare class ListRobotsForOrgResponse extends Message<ListRobotsForOrgResponse> {
5008
+ /**
5009
+ * @generated from field: repeated viam.app.v1.Robot robots = 1;
5010
+ */
5011
+ robots: Robot[];
5012
+
5013
+ constructor(data?: PartialMessage<ListRobotsForOrgResponse>);
5014
+
5015
+ static readonly runtime: typeof proto3;
5016
+ static readonly typeName = "viam.app.v1.ListRobotsForOrgResponse";
5017
+ static readonly fields: FieldList;
5018
+
5019
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListRobotsForOrgResponse;
5020
+
5021
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListRobotsForOrgResponse;
5022
+
5023
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListRobotsForOrgResponse;
5024
+
5025
+ static equals(a: ListRobotsForOrgResponse | PlainMessage<ListRobotsForOrgResponse> | undefined, b: ListRobotsForOrgResponse | PlainMessage<ListRobotsForOrgResponse> | undefined): boolean;
5026
+ }
5027
+
4932
5028
  /**
4933
5029
  * @generated from message viam.app.v1.NewRobotRequest
4934
5030
  */