@viamrobotics/sdk 0.33.0 → 0.35.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.373";
1
+ export declare const apiVersion = "v0.1.381";
@@ -13,6 +13,21 @@ interface TabularData {
13
13
  timeRequested?: Date;
14
14
  timeReceived?: Date;
15
15
  }
16
+ interface TabularDataPoint {
17
+ partId: string;
18
+ resourceName: string;
19
+ resourceSubtype: string;
20
+ methodName: string;
21
+ timeCaptured: Date;
22
+ organizationId: string;
23
+ locationId: string;
24
+ robotName: string;
25
+ robotId: string;
26
+ partName: string;
27
+ methodParameters: JsonValue;
28
+ tags: string[];
29
+ payload: JsonValue;
30
+ }
16
31
  export type Dataset = Partial<PBDataset> & {
17
32
  created?: Date;
18
33
  };
@@ -21,6 +36,22 @@ export declare class DataClient {
21
36
  private datasetClient;
22
37
  private dataSyncClient;
23
38
  constructor(transport: Transport);
39
+ /**
40
+ * Obtain unified tabular data and metadata from the specified data source.
41
+ *
42
+ * @param partId The ID of the part that owns the data
43
+ * @param resourceName The name of the requested resource that captured the
44
+ * data
45
+ * @param resourceSubtype The subtype of the requested resource that captured
46
+ * the data
47
+ * @param methodName The data capture method name
48
+ * @param startTime Optional start time (`Date` object) for requesting a
49
+ * specific range of data
50
+ * @param endTime Optional end time (`Date` object) for requesting a specific
51
+ * range of data
52
+ * @returns An array of unified tabular data and metadata.
53
+ */
54
+ exportTabularData(partId: string, resourceName: string, resourceSubtype: string, methodName: string, startTime?: Date, endTime?: Date): Promise<TabularDataPoint[]>;
24
55
  /**
25
56
  * Obtain unified tabular data and metadata, queried with SQL.
26
57
  *
@@ -36,7 +67,7 @@ export declare class DataClient {
36
67
  * @param query The MQL query to run as a list of BSON documents
37
68
  * @returns An array of data objects
38
69
  */
39
- tabularDataByMQL(organizationId: string, query: Uint8Array[]): Promise<(Object | any[])[]>;
70
+ tabularDataByMQL(organizationId: string, query: Uint8Array[] | Record<string, Date | JsonValue>[]): Promise<(Object | any[])[]>;
40
71
  /**
41
72
  * Filter and get a page of tabular data. The returned metadata might be empty
42
73
  * if the metadata index of the data is out of the bounds of the returned
@@ -323,10 +354,10 @@ export declare class DataClient {
323
354
  *
324
355
  * @param partId The ID of the part that owns the data
325
356
  * @param resourceName The name of the requested resource that captured the
326
- * data
357
+ * data. Ex: "my-sensor"
327
358
  * @param resourceSubtype The subtype of the requested resource that captured
328
- * the data
329
- * @param methodName The data capture method name
359
+ * the data. Ex: "rdk:component:sensor"
360
+ * @param methodName The data capture method name. Ex: "Readings"
330
361
  * @returns A tuple containing [timeCaptured, timeSynced, payload] or null if
331
362
  * no data has been synced for the specified resource OR the most recently
332
363
  * captured data was over a year ago
@@ -556,6 +556,11 @@ export declare class TabularDataByMQLRequest extends Message<TabularDataByMQLReq
556
556
  */
557
557
  mqlBinary: Uint8Array[];
558
558
 
559
+ /**
560
+ * @generated from field: optional bool use_recent_data = 4;
561
+ */
562
+ useRecentData?: boolean;
563
+
559
564
  constructor(data?: PartialMessage<TabularDataByMQLRequest>);
560
565
 
561
566
  static readonly runtime: typeof proto3;
@@ -5,7 +5,8 @@
5
5
 
6
6
  import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
7
7
  import { Message, proto3 } from "@bufbuild/protobuf";
8
- import type { BinaryID } from "../../data/v1/data_pb.js";
8
+ import type { Annotations, BinaryID } from "../../data/v1/data_pb.js";
9
+ import type { FlatTensors } from "../../../service/mlmodel/v1/mlmodel_pb.js";
9
10
 
10
11
  /**
11
12
  * @generated from message viam.app.mlinference.v1.GetInferenceRequest
@@ -54,6 +55,16 @@ export declare class GetInferenceRequest extends Message<GetInferenceRequest> {
54
55
  * @generated from message viam.app.mlinference.v1.GetInferenceResponse
55
56
  */
56
57
  export declare class GetInferenceResponse extends Message<GetInferenceResponse> {
58
+ /**
59
+ * @generated from field: viam.service.mlmodel.v1.FlatTensors output_tensors = 1;
60
+ */
61
+ outputTensors?: FlatTensors;
62
+
63
+ /**
64
+ * @generated from field: viam.app.data.v1.Annotations annotations = 2;
65
+ */
66
+ annotations?: Annotations;
67
+
57
68
  constructor(data?: PartialMessage<GetInferenceResponse>);
58
69
 
59
70
  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, 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, GetBillingServiceConfigRequest, GetBillingServiceConfigResponse, GetFragmentHistoryRequest, GetFragmentHistoryResponse, GetFragmentRequest, GetFragmentResponse, GetLocationRequest, GetLocationResponse, GetModuleRequest, GetModuleResponse, GetOrganizationNamespaceAvailabilityRequest, GetOrganizationNamespaceAvailabilityResponse, GetOrganizationRequest, GetOrganizationResponse, GetOrganizationsWithAccessToLocationRequest, GetOrganizationsWithAccessToLocationResponse, GetRegistryItemRequest, GetRegistryItemResponse, GetRobotAPIKeysRequest, GetRobotAPIKeysResponse, GetRobotPartHistoryRequest, GetRobotPartHistoryResponse, GetRobotPartLogsRequest, GetRobotPartLogsResponse, GetRobotPartRequest, GetRobotPartResponse, GetRobotPartsRequest, GetRobotPartsResponse, GetRobotRequest, GetRobotResponse, GetRoverRentalRobotsRequest, GetRoverRentalRobotsResponse, GetUserIDByEmailRequest, GetUserIDByEmailResponse, ListAuthorizationsRequest, ListAuthorizationsResponse, ListFragmentsRequest, ListFragmentsResponse, ListKeysRequest, ListKeysResponse, ListLocationsRequest, ListLocationsResponse, ListMachineFragmentsRequest, ListMachineFragmentsResponse, ListModulesRequest, ListModulesResponse, 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, ResendOrganizationInviteRequest, ResendOrganizationInviteResponse, RotateKeyRequest, RotateKeyResponse, ShareLocationRequest, ShareLocationResponse, TailRobotPartLogsRequest, TailRobotPartLogsResponse, TransferRegistryItemRequest, TransferRegistryItemResponse, UnshareLocationRequest, UnshareLocationResponse, UpdateBillingServiceRequest, UpdateBillingServiceResponse, UpdateFragmentRequest, UpdateFragmentResponse, UpdateLocationRequest, UpdateLocationResponse, UpdateModuleRequest, UpdateModuleResponse, UpdateOAuthAppRequest, UpdateOAuthAppResponse, UpdateOrganizationInviteAuthorizationsRequest, UpdateOrganizationInviteAuthorizationsResponse, UpdateOrganizationRequest, UpdateOrganizationResponse, UpdateRegistryItemRequest, UpdateRegistryItemResponse, UpdateRobotPartRequest, UpdateRobotPartResponse, UpdateRobotRequest, UpdateRobotResponse, UploadModuleFileRequest, UploadModuleFileResponse } from "./app_pb.js";
6
+ import { AddRoleRequest, AddRoleResponse, ChangeRoleRequest, ChangeRoleResponse, CheckPermissionsRequest, CheckPermissionsResponse, CreateFragmentRequest, CreateFragmentResponse, CreateKeyFromExistingKeyAuthorizationsRequest, CreateKeyFromExistingKeyAuthorizationsResponse, CreateKeyRequest, CreateKeyResponse, CreateLocationRequest, CreateLocationResponse, CreateLocationSecretRequest, CreateLocationSecretResponse, CreateModuleRequest, CreateModuleResponse, CreateOAuthAppRequest, CreateOAuthAppResponse, CreateOrganizationInviteRequest, CreateOrganizationInviteResponse, CreateOrganizationRequest, CreateOrganizationResponse, CreateRegistryItemRequest, CreateRegistryItemResponse, CreateRobotPartSecretRequest, CreateRobotPartSecretResponse, DeleteFragmentRequest, DeleteFragmentResponse, 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, GetBillingServiceConfigRequest, GetBillingServiceConfigResponse, GetFragmentHistoryRequest, GetFragmentHistoryResponse, GetFragmentRequest, GetFragmentResponse, GetLocationRequest, GetLocationResponse, GetModuleRequest, GetModuleResponse, GetOrganizationNamespaceAvailabilityRequest, GetOrganizationNamespaceAvailabilityResponse, GetOrganizationRequest, GetOrganizationResponse, GetOrganizationsWithAccessToLocationRequest, GetOrganizationsWithAccessToLocationResponse, GetRegistryItemRequest, GetRegistryItemResponse, GetRobotAPIKeysRequest, GetRobotAPIKeysResponse, GetRobotPartHistoryRequest, GetRobotPartHistoryResponse, GetRobotPartLogsRequest, GetRobotPartLogsResponse, GetRobotPartRequest, GetRobotPartResponse, GetRobotPartsRequest, GetRobotPartsResponse, GetRobotRequest, GetRobotResponse, GetRoverRentalRobotsRequest, GetRoverRentalRobotsResponse, GetUserIDByEmailRequest, GetUserIDByEmailResponse, ListAuthorizationsRequest, ListAuthorizationsResponse, ListFragmentsRequest, ListFragmentsResponse, ListKeysRequest, ListKeysResponse, ListLocationsRequest, ListLocationsResponse, ListMachineFragmentsRequest, ListMachineFragmentsResponse, ListModulesRequest, ListModulesResponse, 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, ResendOrganizationInviteRequest, ResendOrganizationInviteResponse, RotateKeyRequest, RotateKeyResponse, SearchOrganizationsRequest, SearchOrganizationsResponse, ShareLocationRequest, ShareLocationResponse, TailRobotPartLogsRequest, TailRobotPartLogsResponse, TransferRegistryItemRequest, TransferRegistryItemResponse, UnshareLocationRequest, UnshareLocationResponse, UpdateBillingServiceRequest, UpdateBillingServiceResponse, UpdateFragmentRequest, UpdateFragmentResponse, UpdateLocationRequest, UpdateLocationResponse, UpdateModuleRequest, UpdateModuleResponse, UpdateOAuthAppRequest, UpdateOAuthAppResponse, UpdateOrganizationInviteAuthorizationsRequest, UpdateOrganizationInviteAuthorizationsResponse, UpdateOrganizationRequest, UpdateOrganizationResponse, UpdateRegistryItemRequest, UpdateRegistryItemResponse, UpdateRobotPartRequest, UpdateRobotPartResponse, UpdateRobotRequest, UpdateRobotResponse, UploadModuleFileRequest, UploadModuleFileResponse } from "./app_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
8
 
9
9
  /**
@@ -69,6 +69,17 @@ export declare const AppService: {
69
69
  readonly O: typeof ListOrganizationsByUserResponse,
70
70
  readonly kind: MethodKind.Unary,
71
71
  },
72
+ /**
73
+ * Search organizations by a couple fields
74
+ *
75
+ * @generated from rpc viam.app.v1.AppService.SearchOrganizations
76
+ */
77
+ readonly searchOrganizations: {
78
+ readonly name: "SearchOrganizations",
79
+ readonly I: typeof SearchOrganizationsRequest,
80
+ readonly O: typeof SearchOrganizationsResponse,
81
+ readonly kind: MethodKind.Unary,
82
+ },
72
83
  /**
73
84
  * Get an organization
74
85
  *
@@ -3298,24 +3298,24 @@ export declare class FragmentError extends Message<FragmentError> {
3298
3298
  */
3299
3299
  export declare class FragmentUsage extends Message<FragmentUsage> {
3300
3300
  /**
3301
- * @generated from field: int32 fragment_id = 1;
3301
+ * @generated from field: string fragment_id = 1;
3302
3302
  */
3303
- fragmentId: number;
3303
+ fragmentId: string;
3304
3304
 
3305
3305
  /**
3306
- * @generated from field: int64 organizations = 2;
3306
+ * @generated from field: int32 organizations = 2;
3307
3307
  */
3308
- organizations: bigint;
3308
+ organizations: number;
3309
3309
 
3310
3310
  /**
3311
- * @generated from field: int64 machines = 3;
3311
+ * @generated from field: int32 machines = 3;
3312
3312
  */
3313
- machines: bigint;
3313
+ machines: number;
3314
3314
 
3315
3315
  /**
3316
- * @generated from field: int64 machines_in_current_org = 4;
3316
+ * @generated from field: int32 machines_in_current_org = 4;
3317
3317
  */
3318
- machinesInCurrentOrg: bigint;
3318
+ machinesInCurrentOrg: number;
3319
3319
 
3320
3320
  constructor(data?: PartialMessage<FragmentUsage>);
3321
3321
 
@@ -4863,6 +4863,11 @@ export declare class GetRegistryItemRequest extends Message<GetRegistryItemReque
4863
4863
  */
4864
4864
  itemId: string;
4865
4865
 
4866
+ /**
4867
+ * @generated from field: optional bool include_markdown_documentation = 2;
4868
+ */
4869
+ includeMarkdownDocumentation?: boolean;
4870
+
4866
4871
  constructor(data?: PartialMessage<GetRegistryItemRequest>);
4867
4872
 
4868
4873
  static readonly runtime: typeof proto3;
@@ -4990,6 +4995,29 @@ export declare class UpdateRegistryItemRequest extends Message<UpdateRegistryIte
4990
4995
  */
4991
4996
  url?: string;
4992
4997
 
4998
+ /**
4999
+ * @generated from oneof viam.app.v1.UpdateRegistryItemRequest.metadata
5000
+ */
5001
+ metadata: {
5002
+ /**
5003
+ * @generated from field: viam.app.v1.UpdateModuleMetadata module_update_metadata = 6;
5004
+ */
5005
+ value: UpdateModuleMetadata;
5006
+ case: "moduleUpdateMetadata";
5007
+ } | {
5008
+ /**
5009
+ * @generated from field: viam.app.v1.UpdateMLModelMetadata ml_model_update_metadata = 7;
5010
+ */
5011
+ value: UpdateMLModelMetadata;
5012
+ case: "mlModelUpdateMetadata";
5013
+ } | {
5014
+ /**
5015
+ * @generated from field: viam.app.v1.UpdateMLTrainingMetadata ml_training_update_metadata = 8;
5016
+ */
5017
+ value: UpdateMLTrainingMetadata;
5018
+ case: "mlTrainingUpdateMetadata";
5019
+ } | { case: undefined; value?: undefined };
5020
+
4993
5021
  constructor(data?: PartialMessage<UpdateRegistryItemRequest>);
4994
5022
 
4995
5023
  static readonly runtime: typeof proto3;
@@ -5072,6 +5100,11 @@ export declare class ListRegistryItemsRequest extends Message<ListRegistryItemsR
5072
5100
  */
5073
5101
  publicNamespaces: string[];
5074
5102
 
5103
+ /**
5104
+ * @generated from field: optional bool include_markdown_documentation = 9;
5105
+ */
5106
+ includeMarkdownDocumentation?: boolean;
5107
+
5075
5108
  constructor(data?: PartialMessage<ListRegistryItemsRequest>);
5076
5109
 
5077
5110
  static readonly runtime: typeof proto3;
@@ -5366,6 +5399,102 @@ export declare class UpdateModuleResponse extends Message<UpdateModuleResponse>
5366
5399
  static equals(a: UpdateModuleResponse | PlainMessage<UpdateModuleResponse> | undefined, b: UpdateModuleResponse | PlainMessage<UpdateModuleResponse> | undefined): boolean;
5367
5400
  }
5368
5401
 
5402
+ /**
5403
+ * @generated from message viam.app.v1.UpdateModuleMetadata
5404
+ */
5405
+ export declare class UpdateModuleMetadata extends Message<UpdateModuleMetadata> {
5406
+ /**
5407
+ * A list of models that are available in the module
5408
+ *
5409
+ * @generated from field: repeated viam.app.v1.Model models = 1;
5410
+ */
5411
+ models: Model[];
5412
+
5413
+ /**
5414
+ * The executable to run to start the module program
5415
+ *
5416
+ * @generated from field: string entrypoint = 2;
5417
+ */
5418
+ entrypoint: string;
5419
+
5420
+ constructor(data?: PartialMessage<UpdateModuleMetadata>);
5421
+
5422
+ static readonly runtime: typeof proto3;
5423
+ static readonly typeName = "viam.app.v1.UpdateModuleMetadata";
5424
+ static readonly fields: FieldList;
5425
+
5426
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateModuleMetadata;
5427
+
5428
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateModuleMetadata;
5429
+
5430
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateModuleMetadata;
5431
+
5432
+ static equals(a: UpdateModuleMetadata | PlainMessage<UpdateModuleMetadata> | undefined, b: UpdateModuleMetadata | PlainMessage<UpdateModuleMetadata> | undefined): boolean;
5433
+ }
5434
+
5435
+ /**
5436
+ * @generated from message viam.app.v1.UpdateMLModelMetadata
5437
+ */
5438
+ export declare class UpdateMLModelMetadata extends Message<UpdateMLModelMetadata> {
5439
+ /**
5440
+ * @generated from field: viam.app.mltraining.v1.ModelType model_type = 1;
5441
+ */
5442
+ modelType: ModelType;
5443
+
5444
+ /**
5445
+ * @generated from field: viam.app.mltraining.v1.ModelFramework model_framework = 2;
5446
+ */
5447
+ modelFramework: ModelFramework;
5448
+
5449
+ constructor(data?: PartialMessage<UpdateMLModelMetadata>);
5450
+
5451
+ static readonly runtime: typeof proto3;
5452
+ static readonly typeName = "viam.app.v1.UpdateMLModelMetadata";
5453
+ static readonly fields: FieldList;
5454
+
5455
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateMLModelMetadata;
5456
+
5457
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateMLModelMetadata;
5458
+
5459
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateMLModelMetadata;
5460
+
5461
+ static equals(a: UpdateMLModelMetadata | PlainMessage<UpdateMLModelMetadata> | undefined, b: UpdateMLModelMetadata | PlainMessage<UpdateMLModelMetadata> | undefined): boolean;
5462
+ }
5463
+
5464
+ /**
5465
+ * @generated from message viam.app.v1.UpdateMLTrainingMetadata
5466
+ */
5467
+ export declare class UpdateMLTrainingMetadata extends Message<UpdateMLTrainingMetadata> {
5468
+ /**
5469
+ * @generated from field: viam.app.mltraining.v1.ModelType model_type = 1;
5470
+ */
5471
+ modelType: ModelType;
5472
+
5473
+ /**
5474
+ * @generated from field: viam.app.mltraining.v1.ModelFramework model_framework = 2;
5475
+ */
5476
+ modelFramework: ModelFramework;
5477
+
5478
+ /**
5479
+ * @generated from field: bool draft = 3;
5480
+ */
5481
+ draft: boolean;
5482
+
5483
+ constructor(data?: PartialMessage<UpdateMLTrainingMetadata>);
5484
+
5485
+ static readonly runtime: typeof proto3;
5486
+ static readonly typeName = "viam.app.v1.UpdateMLTrainingMetadata";
5487
+ static readonly fields: FieldList;
5488
+
5489
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateMLTrainingMetadata;
5490
+
5491
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateMLTrainingMetadata;
5492
+
5493
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateMLTrainingMetadata;
5494
+
5495
+ static equals(a: UpdateMLTrainingMetadata | PlainMessage<UpdateMLTrainingMetadata> | undefined, b: UpdateMLTrainingMetadata | PlainMessage<UpdateMLTrainingMetadata> | undefined): boolean;
5496
+ }
5497
+
5369
5498
  /**
5370
5499
  * @generated from message viam.app.v1.Model
5371
5500
  */
@@ -5384,6 +5513,20 @@ export declare class Model extends Message<Model> {
5384
5513
  */
5385
5514
  model: string;
5386
5515
 
5516
+ /**
5517
+ * The markdown content describing the usage of the model
5518
+ *
5519
+ * @generated from field: optional string markdown_documentation = 3;
5520
+ */
5521
+ markdownDocumentation?: string;
5522
+
5523
+ /**
5524
+ * A short description of the model that explains its purpose
5525
+ *
5526
+ * @generated from field: optional string description = 4;
5527
+ */
5528
+ description?: string;
5529
+
5387
5530
  constructor(data?: PartialMessage<Model>);
5388
5531
 
5389
5532
  static readonly runtime: typeof proto3;
@@ -5525,6 +5668,11 @@ export declare class GetModuleRequest extends Message<GetModuleRequest> {
5525
5668
  */
5526
5669
  moduleId: string;
5527
5670
 
5671
+ /**
5672
+ * @generated from field: optional bool include_markdown_documentation = 2;
5673
+ */
5674
+ includeMarkdownDocumentation?: boolean;
5675
+
5528
5676
  constructor(data?: PartialMessage<GetModuleRequest>);
5529
5677
 
5530
5678
  static readonly runtime: typeof proto3;
@@ -5776,6 +5924,11 @@ export declare class ListModulesRequest extends Message<ListModulesRequest> {
5776
5924
  */
5777
5925
  organizationId?: string;
5778
5926
 
5927
+ /**
5928
+ * @generated from field: optional bool include_markdown_documentation = 2;
5929
+ */
5930
+ includeMarkdownDocumentation?: boolean;
5931
+
5779
5932
  constructor(data?: PartialMessage<ListModulesRequest>);
5780
5933
 
5781
5934
  static readonly runtime: typeof proto3;
@@ -5903,6 +6056,16 @@ export declare class OrgDetails extends Message<OrgDetails> {
5903
6056
  */
5904
6057
  orgName: string;
5905
6058
 
6059
+ /**
6060
+ * @generated from field: optional string org_cid = 3;
6061
+ */
6062
+ orgCid?: string;
6063
+
6064
+ /**
6065
+ * @generated from field: optional string public_namespace = 4;
6066
+ */
6067
+ publicNamespace?: string;
6068
+
5906
6069
  constructor(data?: PartialMessage<OrgDetails>);
5907
6070
 
5908
6071
  static readonly runtime: typeof proto3;
@@ -5942,6 +6105,69 @@ export declare class ListOrganizationsByUserResponse extends Message<ListOrganiz
5942
6105
  static equals(a: ListOrganizationsByUserResponse | PlainMessage<ListOrganizationsByUserResponse> | undefined, b: ListOrganizationsByUserResponse | PlainMessage<ListOrganizationsByUserResponse> | undefined): boolean;
5943
6106
  }
5944
6107
 
6108
+ /**
6109
+ * @generated from message viam.app.v1.SearchOrganizationsRequest
6110
+ */
6111
+ export declare class SearchOrganizationsRequest extends Message<SearchOrganizationsRequest> {
6112
+ /**
6113
+ * @generated from field: optional string org_id = 1;
6114
+ */
6115
+ orgId?: string;
6116
+
6117
+ /**
6118
+ * @generated from field: optional string org_name = 2;
6119
+ */
6120
+ orgName?: string;
6121
+
6122
+ /**
6123
+ * @generated from field: optional string cid = 3;
6124
+ */
6125
+ cid?: string;
6126
+
6127
+ /**
6128
+ * @generated from field: optional string public_namespace = 4;
6129
+ */
6130
+ publicNamespace?: string;
6131
+
6132
+ constructor(data?: PartialMessage<SearchOrganizationsRequest>);
6133
+
6134
+ static readonly runtime: typeof proto3;
6135
+ static readonly typeName = "viam.app.v1.SearchOrganizationsRequest";
6136
+ static readonly fields: FieldList;
6137
+
6138
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SearchOrganizationsRequest;
6139
+
6140
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SearchOrganizationsRequest;
6141
+
6142
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SearchOrganizationsRequest;
6143
+
6144
+ static equals(a: SearchOrganizationsRequest | PlainMessage<SearchOrganizationsRequest> | undefined, b: SearchOrganizationsRequest | PlainMessage<SearchOrganizationsRequest> | undefined): boolean;
6145
+ }
6146
+
6147
+ /**
6148
+ * @generated from message viam.app.v1.SearchOrganizationsResponse
6149
+ */
6150
+ export declare class SearchOrganizationsResponse extends Message<SearchOrganizationsResponse> {
6151
+ /**
6152
+ * @generated from field: repeated viam.app.v1.OrgDetails organizations = 1;
6153
+ */
6154
+ organizations: OrgDetails[];
6155
+
6156
+ constructor(data?: PartialMessage<SearchOrganizationsResponse>);
6157
+
6158
+ static readonly runtime: typeof proto3;
6159
+ static readonly typeName = "viam.app.v1.SearchOrganizationsResponse";
6160
+ static readonly fields: FieldList;
6161
+
6162
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SearchOrganizationsResponse;
6163
+
6164
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SearchOrganizationsResponse;
6165
+
6166
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SearchOrganizationsResponse;
6167
+
6168
+ static equals(a: SearchOrganizationsResponse | PlainMessage<SearchOrganizationsResponse> | undefined, b: SearchOrganizationsResponse | PlainMessage<SearchOrganizationsResponse> | undefined): boolean;
6169
+ }
6170
+
5945
6171
  /**
5946
6172
  * @generated from message viam.app.v1.CreateKeyRequest
5947
6173
  */
@@ -31,12 +31,14 @@ export declare enum UsageCostType {
31
31
  UNSPECIFIED = 0,
32
32
 
33
33
  /**
34
- * @generated from enum value: USAGE_COST_TYPE_DATA_UPLOAD = 1;
34
+ * @generated from enum value: USAGE_COST_TYPE_DATA_UPLOAD = 1 [deprecated = true];
35
+ * @deprecated
35
36
  */
36
37
  DATA_UPLOAD = 1,
37
38
 
38
39
  /**
39
- * @generated from enum value: USAGE_COST_TYPE_DATA_EGRESS = 2;
40
+ * @generated from enum value: USAGE_COST_TYPE_DATA_EGRESS = 2 [deprecated = true];
41
+ * @deprecated
40
42
  */
41
43
  DATA_EGRESS = 2,
42
44
 
@@ -51,7 +53,8 @@ export declare enum UsageCostType {
51
53
  STANDARD_COMPUTE = 4,
52
54
 
53
55
  /**
54
- * @generated from enum value: USAGE_COST_TYPE_CLOUD_STORAGE = 5;
56
+ * @generated from enum value: USAGE_COST_TYPE_CLOUD_STORAGE = 5 [deprecated = true];
57
+ * @deprecated
55
58
  */
56
59
  CLOUD_STORAGE = 5,
57
60
 
@@ -61,7 +64,8 @@ export declare enum UsageCostType {
61
64
  BINARY_DATA_CLOUD_STORAGE = 6,
62
65
 
63
66
  /**
64
- * @generated from enum value: USAGE_COST_TYPE_OTHER_CLOUD_STORAGE = 7;
67
+ * @generated from enum value: USAGE_COST_TYPE_OTHER_CLOUD_STORAGE = 7 [deprecated = true];
68
+ * @deprecated
65
69
  */
66
70
  OTHER_CLOUD_STORAGE = 7,
67
71
 
@@ -74,6 +78,66 @@ export declare enum UsageCostType {
74
78
  * @generated from enum value: USAGE_COST_TYPE_TRIGGER_NOTIFICATION = 9;
75
79
  */
76
80
  TRIGGER_NOTIFICATION = 9,
81
+
82
+ /**
83
+ * @generated from enum value: USAGE_COST_TYPE_TABULAR_DATA_CLOUD_STORAGE = 10;
84
+ */
85
+ TABULAR_DATA_CLOUD_STORAGE = 10,
86
+
87
+ /**
88
+ * @generated from enum value: USAGE_COST_TYPE_CONFIG_HISTORY_CLOUD_STORAGE = 11;
89
+ */
90
+ CONFIG_HISTORY_CLOUD_STORAGE = 11,
91
+
92
+ /**
93
+ * @generated from enum value: USAGE_COST_TYPE_LOGS_CLOUD_STORAGE = 12;
94
+ */
95
+ LOGS_CLOUD_STORAGE = 12,
96
+
97
+ /**
98
+ * @generated from enum value: USAGE_COST_TYPE_TRAINING_LOGS_CLOUD_STORAGE = 13;
99
+ */
100
+ TRAINING_LOGS_CLOUD_STORAGE = 13,
101
+
102
+ /**
103
+ * @generated from enum value: USAGE_COST_TYPE_PACKAGES_CLOUD_STORAGE = 14;
104
+ */
105
+ PACKAGES_CLOUD_STORAGE = 14,
106
+
107
+ /**
108
+ * @generated from enum value: USAGE_COST_TYPE_BINARY_DATA_UPLOAD = 15;
109
+ */
110
+ BINARY_DATA_UPLOAD = 15,
111
+
112
+ /**
113
+ * @generated from enum value: USAGE_COST_TYPE_TABULAR_DATA_UPLOAD = 16;
114
+ */
115
+ TABULAR_DATA_UPLOAD = 16,
116
+
117
+ /**
118
+ * @generated from enum value: USAGE_COST_TYPE_LOGS_UPLOAD = 17;
119
+ */
120
+ LOGS_UPLOAD = 17,
121
+
122
+ /**
123
+ * @generated from enum value: USAGE_COST_TYPE_BINARY_DATA_EGRESS = 18;
124
+ */
125
+ BINARY_DATA_EGRESS = 18,
126
+
127
+ /**
128
+ * @generated from enum value: USAGE_COST_TYPE_TABULAR_DATA_EGRESS = 19;
129
+ */
130
+ TABULAR_DATA_EGRESS = 19,
131
+
132
+ /**
133
+ * @generated from enum value: USAGE_COST_TYPE_LOGS_EGRESS = 20;
134
+ */
135
+ LOGS_EGRESS = 20,
136
+
137
+ /**
138
+ * @generated from enum value: USAGE_COST_TYPE_ML_TRAINING_LOGS_EGRESS = 21;
139
+ */
140
+ ML_TRAINING_LOGS_EGRESS = 21,
77
141
  }
78
142
 
79
143
  /**
@@ -590,7 +590,8 @@ export declare class AttributeContext_Resource extends Message<AttributeContext_
590
590
  * may be set by external tools to store and retrieve arbitrary metadata.
591
591
  * They are not queryable and should be preserved when modifying objects.
592
592
  *
593
- * More info: https://kubernetes.io/docs/user-guide/annotations
593
+ * More info:
594
+ * https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
594
595
  *
595
596
  * @generated from field: map<string, string> annotations = 6;
596
597
  */
@@ -75,11 +75,12 @@ export declare class ErrorInfo extends Message<ErrorInfo> {
75
75
  /**
76
76
  * Additional structured details about this error.
77
77
  *
78
- * Keys should match /[a-zA-Z0-9-_]/ and be limited to 64 characters in
78
+ * Keys must match a regular expression of `[a-z][a-zA-Z0-9-_]+` but should
79
+ * ideally be lowerCamelCase. Also, they must be limited to 64 characters in
79
80
  * length. When identifying the current value of an exceeded limit, the units
80
81
  * should be contained in the key, not the value. For example, rather than
81
- * {"instanceLimit": "100/request"}, should be returned as,
82
- * {"instanceLimitPerRequest": "100"}, if the client exceeds the number of
82
+ * `{"instanceLimit": "100/request"}`, should be returned as,
83
+ * `{"instanceLimitPerRequest": "100"}`, if the client exceeds the number of
83
84
  * instances that can be created in a single (batch) request.
84
85
  *
85
86
  * @generated from field: map<string, string> metadata = 3;
@@ -424,6 +425,26 @@ export declare class BadRequest_FieldViolation extends Message<BadRequest_FieldV
424
425
  */
425
426
  description: string;
426
427
 
428
+ /**
429
+ * The reason of the field-level error. This is a constant value that
430
+ * identifies the proximate cause of the field-level error. It should
431
+ * uniquely identify the type of the FieldViolation within the scope of the
432
+ * google.rpc.ErrorInfo.domain. This should be at most 63
433
+ * characters and match a regular expression of `[A-Z][A-Z0-9_]+[A-Z0-9]`,
434
+ * which represents UPPER_SNAKE_CASE.
435
+ *
436
+ * @generated from field: string reason = 3;
437
+ */
438
+ reason: string;
439
+
440
+ /**
441
+ * Provides a localized error message for field-level errors that is safe to
442
+ * return to the API consumer.
443
+ *
444
+ * @generated from field: google.rpc.LocalizedMessage localized_message = 4;
445
+ */
446
+ localizedMessage?: LocalizedMessage;
447
+
427
448
  constructor(data?: PartialMessage<BadRequest_FieldViolation>);
428
449
 
429
450
  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, DiscoverComponentsRequest, DiscoverComponentsResponse, FrameSystemConfigRequest, FrameSystemConfigResponse, GetCloudMetadataRequest, GetCloudMetadataResponse, GetMachineStatusRequest, GetMachineStatusResponse, GetOperationsRequest, GetOperationsResponse, GetSessionsRequest, GetSessionsResponse, GetStatusRequest, GetStatusResponse, GetVersionRequest, GetVersionResponse, LogRequest, LogResponse, ResourceNamesRequest, ResourceNamesResponse, ResourceRPCSubtypesRequest, ResourceRPCSubtypesResponse, RestartModuleRequest, RestartModuleResponse, SendSessionHeartbeatRequest, SendSessionHeartbeatResponse, ShutdownRequest, ShutdownResponse, StartSessionRequest, StartSessionResponse, StopAllRequest, StopAllResponse, StreamStatusRequest, StreamStatusResponse, TransformPCDRequest, TransformPCDResponse, TransformPoseRequest, TransformPoseResponse } from "./robot_pb.js";
6
+ import { BlockForOperationRequest, BlockForOperationResponse, CancelOperationRequest, CancelOperationResponse, DiscoverComponentsRequest, DiscoverComponentsResponse, FrameSystemConfigRequest, FrameSystemConfigResponse, GetCloudMetadataRequest, GetCloudMetadataResponse, GetMachineStatusRequest, GetMachineStatusResponse, GetModelsFromModulesRequest, GetModelsFromModulesResponse, GetOperationsRequest, GetOperationsResponse, GetSessionsRequest, GetSessionsResponse, GetStatusRequest, GetStatusResponse, GetVersionRequest, GetVersionResponse, LogRequest, LogResponse, ResourceNamesRequest, ResourceNamesResponse, ResourceRPCSubtypesRequest, ResourceRPCSubtypesResponse, RestartModuleRequest, RestartModuleResponse, SendSessionHeartbeatRequest, SendSessionHeartbeatResponse, ShutdownRequest, ShutdownResponse, StartSessionRequest, StartSessionResponse, StopAllRequest, StopAllResponse, StreamStatusRequest, StreamStatusResponse, TransformPCDRequest, TransformPCDResponse, TransformPoseRequest, TransformPoseResponse } from "./robot_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
8
 
9
9
  /**
@@ -72,6 +72,17 @@ export declare const RobotService: {
72
72
  readonly O: typeof BlockForOperationResponse,
73
73
  readonly kind: MethodKind.Unary,
74
74
  },
75
+ /**
76
+ * GetModelsFromModules returns the list of models supported in modules on the machine.
77
+ *
78
+ * @generated from rpc viam.robot.v1.RobotService.GetModelsFromModules
79
+ */
80
+ readonly getModelsFromModules: {
81
+ readonly name: "GetModelsFromModules",
82
+ readonly I: typeof GetModelsFromModulesRequest,
83
+ readonly O: typeof GetModelsFromModulesResponse,
84
+ readonly kind: MethodKind.Unary,
85
+ },
75
86
  /**
76
87
  * DiscoverComponents returns the list of discovered component configurations.
77
88
  *