@viamrobotics/sdk 0.32.0 → 0.34.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.367";
1
+ export declare const apiVersion = "v0.1.379";
@@ -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
@@ -655,14 +655,14 @@ export declare class ExportTabularDataResponse extends Message<ExportTabularData
655
655
  partId: string;
656
656
 
657
657
  /**
658
- * @generated from field: string component_name = 2;
658
+ * @generated from field: string resource_name = 2;
659
659
  */
660
- componentName: string;
660
+ resourceName: string;
661
661
 
662
662
  /**
663
- * @generated from field: string component_type = 3;
663
+ * @generated from field: string resource_subtype = 3;
664
664
  */
665
- componentType: string;
665
+ resourceSubtype: string;
666
666
 
667
667
  /**
668
668
  * @generated from field: string method_name = 4;
@@ -700,9 +700,9 @@ export declare class ExportTabularDataResponse extends Message<ExportTabularData
700
700
  partName: string;
701
701
 
702
702
  /**
703
- * @generated from field: map<string, google.protobuf.Any> method_parameters = 11;
703
+ * @generated from field: google.protobuf.Struct method_parameters = 11;
704
704
  */
705
- methodParameters: { [key: string]: Any };
705
+ methodParameters?: Struct;
706
706
 
707
707
  /**
708
708
  * @generated from field: repeated string tags = 12;
@@ -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
  *
@@ -3293,6 +3293,45 @@ export declare class FragmentError extends Message<FragmentError> {
3293
3293
  static equals(a: FragmentError | PlainMessage<FragmentError> | undefined, b: FragmentError | PlainMessage<FragmentError> | undefined): boolean;
3294
3294
  }
3295
3295
 
3296
+ /**
3297
+ * @generated from message viam.app.v1.FragmentUsage
3298
+ */
3299
+ export declare class FragmentUsage extends Message<FragmentUsage> {
3300
+ /**
3301
+ * @generated from field: string fragment_id = 1;
3302
+ */
3303
+ fragmentId: string;
3304
+
3305
+ /**
3306
+ * @generated from field: int32 organizations = 2;
3307
+ */
3308
+ organizations: number;
3309
+
3310
+ /**
3311
+ * @generated from field: int32 machines = 3;
3312
+ */
3313
+ machines: number;
3314
+
3315
+ /**
3316
+ * @generated from field: int32 machines_in_current_org = 4;
3317
+ */
3318
+ machinesInCurrentOrg: number;
3319
+
3320
+ constructor(data?: PartialMessage<FragmentUsage>);
3321
+
3322
+ static readonly runtime: typeof proto3;
3323
+ static readonly typeName = "viam.app.v1.FragmentUsage";
3324
+ static readonly fields: FieldList;
3325
+
3326
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FragmentUsage;
3327
+
3328
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FragmentUsage;
3329
+
3330
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FragmentUsage;
3331
+
3332
+ static equals(a: FragmentUsage | PlainMessage<FragmentUsage> | undefined, b: FragmentUsage | PlainMessage<FragmentUsage> | undefined): boolean;
3333
+ }
3334
+
3296
3335
  /**
3297
3336
  * @generated from message viam.app.v1.ResolvedFragment
3298
3337
  */
@@ -3370,6 +3409,11 @@ export declare class ListFragmentsResponse extends Message<ListFragmentsResponse
3370
3409
  */
3371
3410
  fragments: Fragment[];
3372
3411
 
3412
+ /**
3413
+ * @generated from field: repeated viam.app.v1.FragmentUsage fragment_usages = 2;
3414
+ */
3415
+ fragmentUsages: FragmentUsage[];
3416
+
3373
3417
  constructor(data?: PartialMessage<ListFragmentsResponse>);
3374
3418
 
3375
3419
  static readonly runtime: typeof proto3;
@@ -3394,6 +3438,11 @@ export declare class GetFragmentRequest extends Message<GetFragmentRequest> {
3394
3438
  */
3395
3439
  id: string;
3396
3440
 
3441
+ /**
3442
+ * @generated from field: string current_organization_id = 2;
3443
+ */
3444
+ currentOrganizationId: string;
3445
+
3397
3446
  constructor(data?: PartialMessage<GetFragmentRequest>);
3398
3447
 
3399
3448
  static readonly runtime: typeof proto3;
@@ -3418,6 +3467,11 @@ export declare class GetFragmentResponse extends Message<GetFragmentResponse> {
3418
3467
  */
3419
3468
  fragment?: Fragment;
3420
3469
 
3470
+ /**
3471
+ * @generated from field: viam.app.v1.FragmentUsage fragment_usage = 2;
3472
+ */
3473
+ fragmentUsage?: FragmentUsage;
3474
+
3421
3475
  constructor(data?: PartialMessage<GetFragmentResponse>);
3422
3476
 
3423
3477
  static readonly runtime: typeof proto3;
@@ -4809,6 +4863,11 @@ export declare class GetRegistryItemRequest extends Message<GetRegistryItemReque
4809
4863
  */
4810
4864
  itemId: string;
4811
4865
 
4866
+ /**
4867
+ * @generated from field: optional bool include_markdown_documentation = 2;
4868
+ */
4869
+ includeMarkdownDocumentation?: boolean;
4870
+
4812
4871
  constructor(data?: PartialMessage<GetRegistryItemRequest>);
4813
4872
 
4814
4873
  static readonly runtime: typeof proto3;
@@ -4936,6 +4995,29 @@ export declare class UpdateRegistryItemRequest extends Message<UpdateRegistryIte
4936
4995
  */
4937
4996
  url?: string;
4938
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
+
4939
5021
  constructor(data?: PartialMessage<UpdateRegistryItemRequest>);
4940
5022
 
4941
5023
  static readonly runtime: typeof proto3;
@@ -5018,6 +5100,11 @@ export declare class ListRegistryItemsRequest extends Message<ListRegistryItemsR
5018
5100
  */
5019
5101
  publicNamespaces: string[];
5020
5102
 
5103
+ /**
5104
+ * @generated from field: optional bool include_markdown_documentation = 9;
5105
+ */
5106
+ includeMarkdownDocumentation?: boolean;
5107
+
5021
5108
  constructor(data?: PartialMessage<ListRegistryItemsRequest>);
5022
5109
 
5023
5110
  static readonly runtime: typeof proto3;
@@ -5312,6 +5399,102 @@ export declare class UpdateModuleResponse extends Message<UpdateModuleResponse>
5312
5399
  static equals(a: UpdateModuleResponse | PlainMessage<UpdateModuleResponse> | undefined, b: UpdateModuleResponse | PlainMessage<UpdateModuleResponse> | undefined): boolean;
5313
5400
  }
5314
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
+
5315
5498
  /**
5316
5499
  * @generated from message viam.app.v1.Model
5317
5500
  */
@@ -5330,6 +5513,20 @@ export declare class Model extends Message<Model> {
5330
5513
  */
5331
5514
  model: string;
5332
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
+
5333
5530
  constructor(data?: PartialMessage<Model>);
5334
5531
 
5335
5532
  static readonly runtime: typeof proto3;
@@ -5471,6 +5668,11 @@ export declare class GetModuleRequest extends Message<GetModuleRequest> {
5471
5668
  */
5472
5669
  moduleId: string;
5473
5670
 
5671
+ /**
5672
+ * @generated from field: optional bool include_markdown_documentation = 2;
5673
+ */
5674
+ includeMarkdownDocumentation?: boolean;
5675
+
5474
5676
  constructor(data?: PartialMessage<GetModuleRequest>);
5475
5677
 
5476
5678
  static readonly runtime: typeof proto3;
@@ -5722,6 +5924,11 @@ export declare class ListModulesRequest extends Message<ListModulesRequest> {
5722
5924
  */
5723
5925
  organizationId?: string;
5724
5926
 
5927
+ /**
5928
+ * @generated from field: optional bool include_markdown_documentation = 2;
5929
+ */
5930
+ includeMarkdownDocumentation?: boolean;
5931
+
5725
5932
  constructor(data?: PartialMessage<ListModulesRequest>);
5726
5933
 
5727
5934
  static readonly runtime: typeof proto3;
@@ -5849,6 +6056,16 @@ export declare class OrgDetails extends Message<OrgDetails> {
5849
6056
  */
5850
6057
  orgName: string;
5851
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
+
5852
6069
  constructor(data?: PartialMessage<OrgDetails>);
5853
6070
 
5854
6071
  static readonly runtime: typeof proto3;
@@ -5888,6 +6105,69 @@ export declare class ListOrganizationsByUserResponse extends Message<ListOrganiz
5888
6105
  static equals(a: ListOrganizationsByUserResponse | PlainMessage<ListOrganizationsByUserResponse> | undefined, b: ListOrganizationsByUserResponse | PlainMessage<ListOrganizationsByUserResponse> | undefined): boolean;
5889
6106
  }
5890
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
+
5891
6171
  /**
5892
6172
  * @generated from message viam.app.v1.CreateKeyRequest
5893
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
 
@@ -69,6 +73,71 @@ export declare enum UsageCostType {
69
73
  * @generated from enum value: USAGE_COST_TYPE_PER_MACHINE = 8;
70
74
  */
71
75
  PER_MACHINE = 8,
76
+
77
+ /**
78
+ * @generated from enum value: USAGE_COST_TYPE_TRIGGER_NOTIFICATION = 9;
79
+ */
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,
72
141
  }
73
142
 
74
143
  /**
@@ -127,6 +127,14 @@ export declare class RobotConfig extends Message<RobotConfig> {
127
127
  */
128
128
  maintenance?: MaintenanceConfig;
129
129
 
130
+ /**
131
+ * Disables the robot's log deduplication (identical, noisy logs will still
132
+ * be output individually instead of aggregated.)
133
+ *
134
+ * @generated from field: bool disable_log_deduplication = 17;
135
+ */
136
+ disableLogDeduplication: boolean;
137
+
130
138
  constructor(data?: PartialMessage<RobotConfig>);
131
139
 
132
140
  static readonly runtime: typeof proto3;
@@ -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
  */