@viamrobotics/sdk 0.74.0-b.0 → 0.74.1

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.562";
1
+ export declare const apiVersion = "v0.1.569";
@@ -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 { type PackageType } from '../gen/app/packages/v1/packages_pb';
5
- import { type APIKeyWithAuthorizations, Authorization, AuthorizedPermissions, type CreateKeyFromExistingKeyAuthorizationsResponse, type CreateKeyResponse, type CreateModuleResponse, type CreateOAuthAppUserResponse, type Fragment, type FragmentImportList, type FragmentVisibility, type GetAppContentResponse, type GetAppBrandingResponse, type GetRobotPartLogsResponse, type GetRobotPartResponse, type GetRobotPartByNameAndLocationResponse, type ListOrganizationMembersResponse, type Location, type LocationAuth, type Model, type Module, type Organization, type OrganizationIdentity, type OrganizationInvite, type OrgDetails, type RegistryItem, type RegistryItemStatus, type Robot, type RobotPart, type RobotPartHistoryEntry, type RotateKeyResponse, type RoverRentalRobot, type Visibility, type LocationSummary } from '../gen/app/v1/app_pb';
5
+ import { type APIKeyWithAuthorizations, type AllowedLoginMethods, Authorization, AuthorizedPermissions, type CreateKeyFromExistingKeyAuthorizationsResponse, type CreateKeyResponse, type CreateModuleResponse, type CreateOAuthAppUserResponse, type Fragment, type FragmentImportList, type FragmentVisibility, type GetAppContentResponse, type GetAppBrandingResponse, type GetRobotPartLogsResponse, type GetRobotPartResponse, type GetRobotPartByNameAndLocationResponse, type ListOrganizationMembersResponse, type Location, type LocationAuth, type Model, type Module, type Organization, type OrganizationIdentity, type OrganizationInvite, type OrgDetails, type RegistryItem, type RegistryItemBilling, type RegistryItemStatus, type Robot, type RobotPart, type RobotPartHistoryEntry, type RotateKeyResponse, type RoverRentalRobot, type Visibility, type LocationSummary } 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.
@@ -157,9 +157,10 @@ export declare class AppClient {
157
157
  * @param region Optional region to update the organization with
158
158
  * @param cid Optional CRM ID to update the organization with
159
159
  * @param defaultFragments Optional default fragments to set for the organization
160
+ * @param allowedLoginMethods Optional allowed login methods to set for the organization
160
161
  * @returns The updated organization details
161
162
  */
162
- updateOrganization(organizationId: string, name?: string, publicNamespace?: string, region?: string, cid?: string, defaultFragments?: FragmentImportList): Promise<Organization | undefined>;
163
+ updateOrganization(organizationId: string, name?: string, publicNamespace?: string, region?: string, cid?: string, defaultFragments?: FragmentImportList, allowedLoginMethods?: AllowedLoginMethods): Promise<Organization | undefined>;
163
164
  /**
164
165
  * Deletes an organization.
165
166
  *
@@ -1105,8 +1106,10 @@ export declare class AppClient {
1105
1106
  * @param type The PackageType to update the item to
1106
1107
  * @param description A description of the item
1107
1108
  * @param visibility A visibility value to update to
1109
+ * @param billing Optional usage cost information to store on the item. When unset, the existing
1110
+ * billing configuration is left unchanged.
1108
1111
  */
1109
- updateRegistryItem(itemId: string, type: PackageType, description: string, visibility: Visibility): Promise<void>;
1112
+ updateRegistryItem(itemId: string, type: PackageType, description: string, visibility: Visibility, billing?: RegistryItemBilling): Promise<void>;
1110
1113
  /**
1111
1114
  * List all registry items for an organization.
1112
1115
  *
@@ -1,6 +1,6 @@
1
1
  import { type FieldMask, type JsonValue, type PartialMessage } from '@bufbuild/protobuf';
2
2
  import { type Client, type Transport } from '@connectrpc/connect';
3
- import { type BinaryID, CaptureMetadata, Filter, type Index, type IndexableCollection, type Order, type Sequence, type SequenceResourceFilter, TabularDataSource, TabularDataSourceType, type DeleteTabularFilter } from '../gen/app/data/v1/data_pb';
3
+ import { type BinaryData, type BinaryID, CaptureMetadata, Filter, type Index, type IndexableCollection, type Order, type Sequence, type SequenceResourceFilter, TabularDataSource, TabularDataSourceType, type DeleteTabularFilter } from '../gen/app/data/v1/data_pb';
4
4
  import { DataPipelinesService } from '../gen/app/datapipelines/v1/data_pipelines_connect';
5
5
  import { type DataPipeline, type DataPipelineRun } from '../gen/app/datapipelines/v1/data_pipelines_pb';
6
6
  import { type DatasetType, type Dataset as PBDataset, type GetSequenceDatasetExportResponse } from '../gen/app/dataset/v1/dataset_pb';
@@ -240,7 +240,7 @@ export declare class DataClient {
240
240
  * ID.
241
241
  */
242
242
  binaryDataByFilter(filter?: Filter, limit?: number, sortOrder?: Order, last?: string, includeBinary?: boolean, countOnly?: boolean, includeInternalData?: boolean): Promise<{
243
- data: import("../gen/app/data/v1/data_pb").BinaryData[];
243
+ data: BinaryData[];
244
244
  count: bigint;
245
245
  last: string;
246
246
  }>;
@@ -262,7 +262,7 @@ export declare class DataClient {
262
262
  * @param includeBinary Whether to include binary file data with each retrieved file
263
263
  * @returns An array of data objects
264
264
  */
265
- binaryDataByIds(ids: string[] | BinaryID[], includeBinary?: boolean): Promise<import("../gen/app/data/v1/data_pb").BinaryData[]>;
265
+ binaryDataByIds(ids: string[] | BinaryID[], includeBinary?: boolean): Promise<BinaryData[]>;
266
266
  /**
267
267
  * Create a signed URL for binary data.
268
268
  *
@@ -1071,6 +1071,24 @@ export declare class DataClient {
1071
1071
  * @returns The sequence
1072
1072
  */
1073
1073
  getSequence(id: string): Promise<Sequence>;
1074
+ /**
1075
+ * Retrieve paginated binary data records matching a sequence's time range and binary resources.
1076
+ *
1077
+ * @example
1078
+ *
1079
+ * ```ts
1080
+ * const { data, nextPageToken } = await dataClient.getSequenceBinaryData('sequence-id');
1081
+ * ```
1082
+ *
1083
+ * @param sequenceId The ID of the sequence
1084
+ * @param pageToken Optional page token for pagination
1085
+ * @param pageSize Optional page size
1086
+ * @returns The binary data records and a next page token
1087
+ */
1088
+ getSequenceBinaryData(sequenceId: string, pageToken?: string, pageSize?: number): Promise<{
1089
+ data: BinaryData[];
1090
+ nextPageToken: string;
1091
+ }>;
1074
1092
  /**
1075
1093
  * Update the mutable fields of a sequence.
1076
1094
  *
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
 
6
- import { GetLogsRequest, GetLogsResponse, LinkOrgRequest, LinkOrgResponse, LinkRepoRequest, LinkRepoResponse, ListAppLinksRequest, ListAppLinksResponse, ListJobsRequest, ListJobsResponse, ListRepoLinksRequest, ListRepoLinksResponse, RemoveAppLinkRequest, RemoveAppLinkResponse, StartBuildRequest, StartBuildResponse, StartPackageBuildRequest, StartPackageBuildResponse, StartReloadBuildRequest, StartReloadBuildResponse, UnlinkOrgRequest, UnlinkOrgResponse, UnlinkRepoRequest, UnlinkRepoResponse } from "./build_pb.js";
6
+ import { GetLogsRequest, GetLogsResponse, LinkOrgRequest, LinkOrgResponse, LinkRepoRequest, LinkRepoResponse, ListAppLinksRequest, ListAppLinksResponse, ListJobsRequest, ListJobsResponse, ListRepoLinksRequest, ListRepoLinksResponse, RemoveAppLinkRequest, RemoveAppLinkResponse, StartBuildRequest, StartBuildResponse, StartPackageBuildRequest, StartPackageBuildResponse, StartReloadBuildRequest, StartReloadBuildResponse, StartSourceUploadBuildRequest, StartSourceUploadBuildResponse, UnlinkOrgRequest, UnlinkOrgResponse, UnlinkRepoRequest, UnlinkRepoResponse } from "./build_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
8
 
9
9
  /**
@@ -135,6 +135,17 @@ export declare const BuildService: {
135
135
  readonly O: typeof StartReloadBuildResponse,
136
136
  readonly kind: MethodKind.ClientStreaming,
137
137
  },
138
+ /**
139
+ * upload the local dev environment and build a module to publish to the registry
140
+ *
141
+ * @generated from rpc viam.app.build.v1.BuildService.StartSourceUploadBuild
142
+ */
143
+ readonly startSourceUploadBuild: {
144
+ readonly name: "StartSourceUploadBuild",
145
+ readonly I: typeof StartSourceUploadBuildRequest,
146
+ readonly O: typeof StartSourceUploadBuildResponse,
147
+ readonly kind: MethodKind.ClientStreaming,
148
+ },
138
149
  /**
139
150
  * Start a build where the source code is hosted by Viam
140
151
  *
@@ -302,6 +302,134 @@ export declare class StartReloadBuildResponse extends Message<StartReloadBuildRe
302
302
  static equals(a: StartReloadBuildResponse | PlainMessage<StartReloadBuildResponse> | undefined, b: StartReloadBuildResponse | PlainMessage<StartReloadBuildResponse> | undefined): boolean;
303
303
  }
304
304
 
305
+ /**
306
+ * @generated from message viam.app.build.v1.SourceUploadBuildInfo
307
+ */
308
+ export declare class SourceUploadBuildInfo extends Message<SourceUploadBuildInfo> {
309
+ /**
310
+ * platforms to build the module for
311
+ *
312
+ * @generated from field: repeated string platforms = 1;
313
+ */
314
+ platforms: string[];
315
+
316
+ /**
317
+ * optional working directory. defaults to repo root.
318
+ *
319
+ * @generated from field: optional string workdir = 2;
320
+ */
321
+ workdir?: string;
322
+
323
+ /**
324
+ * org id/namespace and module name
325
+ *
326
+ * @generated from field: string module_id = 3;
327
+ */
328
+ moduleId: string;
329
+
330
+ /**
331
+ * optional distro for linux platforms.
332
+ * must be bookworm for cpp module builds.
333
+ *
334
+ * @generated from field: optional string distro = 4;
335
+ */
336
+ distro?: string;
337
+
338
+ constructor(data?: PartialMessage<SourceUploadBuildInfo>);
339
+
340
+ static readonly runtime: typeof proto3;
341
+ static readonly typeName = "viam.app.build.v1.SourceUploadBuildInfo";
342
+ static readonly fields: FieldList;
343
+
344
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SourceUploadBuildInfo;
345
+
346
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SourceUploadBuildInfo;
347
+
348
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SourceUploadBuildInfo;
349
+
350
+ static equals(a: SourceUploadBuildInfo | PlainMessage<SourceUploadBuildInfo> | undefined, b: SourceUploadBuildInfo | PlainMessage<SourceUploadBuildInfo> | undefined): boolean;
351
+ }
352
+
353
+ /**
354
+ * @generated from message viam.app.build.v1.StartSourceUploadBuildRequest
355
+ */
356
+ export declare class StartSourceUploadBuildRequest extends Message<StartSourceUploadBuildRequest> {
357
+ /**
358
+ * @generated from oneof viam.app.build.v1.StartSourceUploadBuildRequest.cloud_build
359
+ */
360
+ cloudBuild: {
361
+ /**
362
+ * @generated from field: viam.app.packages.v1.CreatePackageRequest package = 1;
363
+ */
364
+ value: CreatePackageRequest;
365
+ case: "package";
366
+ } | {
367
+ /**
368
+ * @generated from field: viam.app.build.v1.SourceUploadBuildInfo build_info = 2;
369
+ */
370
+ value: SourceUploadBuildInfo;
371
+ case: "buildInfo";
372
+ } | { case: undefined; value?: undefined };
373
+
374
+ /**
375
+ * @generated from field: string module_version = 3;
376
+ */
377
+ moduleVersion: string;
378
+
379
+ /**
380
+ * optional target builder. defaults to 'default'.
381
+ * use 'viam-cloudbuild-test' to target the new Viam build service (org must be whitelisted).
382
+ *
383
+ * @generated from field: optional string builder = 4;
384
+ */
385
+ builder?: string;
386
+
387
+ constructor(data?: PartialMessage<StartSourceUploadBuildRequest>);
388
+
389
+ static readonly runtime: typeof proto3;
390
+ static readonly typeName = "viam.app.build.v1.StartSourceUploadBuildRequest";
391
+ static readonly fields: FieldList;
392
+
393
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StartSourceUploadBuildRequest;
394
+
395
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StartSourceUploadBuildRequest;
396
+
397
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StartSourceUploadBuildRequest;
398
+
399
+ static equals(a: StartSourceUploadBuildRequest | PlainMessage<StartSourceUploadBuildRequest> | undefined, b: StartSourceUploadBuildRequest | PlainMessage<StartSourceUploadBuildRequest> | undefined): boolean;
400
+ }
401
+
402
+ /**
403
+ * @generated from message viam.app.build.v1.StartSourceUploadBuildResponse
404
+ */
405
+ export declare class StartSourceUploadBuildResponse extends Message<StartSourceUploadBuildResponse> {
406
+ /**
407
+ * @generated from field: string build_id = 1;
408
+ */
409
+ buildId: string;
410
+
411
+ /**
412
+ * present when the requested builder was unavailable for this org and the default builder was used instead.
413
+ *
414
+ * @generated from field: optional string builder_fallback_message = 2;
415
+ */
416
+ builderFallbackMessage?: string;
417
+
418
+ constructor(data?: PartialMessage<StartSourceUploadBuildResponse>);
419
+
420
+ static readonly runtime: typeof proto3;
421
+ static readonly typeName = "viam.app.build.v1.StartSourceUploadBuildResponse";
422
+ static readonly fields: FieldList;
423
+
424
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StartSourceUploadBuildResponse;
425
+
426
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StartSourceUploadBuildResponse;
427
+
428
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StartSourceUploadBuildResponse;
429
+
430
+ static equals(a: StartSourceUploadBuildResponse | PlainMessage<StartSourceUploadBuildResponse> | undefined, b: StartSourceUploadBuildResponse | PlainMessage<StartSourceUploadBuildResponse> | undefined): boolean;
431
+ }
432
+
305
433
  /**
306
434
  * @generated from message viam.app.build.v1.StartPackageBuildRequest
307
435
  */
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
 
6
- import { AddBinaryDataToDatasetByIDsRequest, AddBinaryDataToDatasetByIDsResponse, AddBoundingBoxToImageByIDRequest, AddBoundingBoxToImageByIDResponse, AddSequencesToDatasetRequest, AddSequencesToDatasetResponse, AddTagsToBinaryDataByFilterRequest, AddTagsToBinaryDataByFilterResponse, AddTagsToBinaryDataByIDsRequest, AddTagsToBinaryDataByIDsResponse, BinaryDataByFilterRequest, BinaryDataByFilterResponse, BinaryDataByIDsRequest, BinaryDataByIDsResponse, BoundingBoxLabelsByFilterRequest, BoundingBoxLabelsByFilterResponse, ConfigureDatabaseUserRequest, ConfigureDatabaseUserResponse, CreateBinaryDataSignedURLRequest, CreateBinaryDataSignedURLResponse, CreateIndexRequest, CreateIndexResponse, CreateSavedQueryRequest, CreateSavedQueryResponse, CreateSequenceRequest, CreateSequenceResponse, DeleteBinaryDataByFilterRequest, DeleteBinaryDataByFilterResponse, DeleteBinaryDataByIDsRequest, DeleteBinaryDataByIDsResponse, DeleteIndexRequest, DeleteIndexResponse, DeleteSavedQueryRequest, DeleteSavedQueryResponse, DeleteSequenceRequest, DeleteSequenceResponse, DeleteTabularDataRequest, DeleteTabularDataResponse, ExportTabularDataRequest, ExportTabularDataResponse, GetDatabaseConnectionRequest, GetDatabaseConnectionResponse, GetLatestTabularDataRequest, GetLatestTabularDataResponse, GetSavedQueryRequest, GetSavedQueryResponse, GetSequenceRequest, GetSequenceResponse, ListIndexesRequest, ListIndexesResponse, ListSavedQueriesRequest, ListSavedQueriesResponse, ListSequencesRequest, ListSequencesResponse, RemoveBinaryDataFromDatasetByIDsRequest, RemoveBinaryDataFromDatasetByIDsResponse, RemoveBoundingBoxFromImageByIDRequest, RemoveBoundingBoxFromImageByIDResponse, RemoveSequencesFromDatasetRequest, RemoveSequencesFromDatasetResponse, RemoveTagsFromBinaryDataByFilterRequest, RemoveTagsFromBinaryDataByFilterResponse, RemoveTagsFromBinaryDataByIDsRequest, RemoveTagsFromBinaryDataByIDsResponse, SequencesByDatasetIDRequest, SequencesByDatasetIDResponse, TabularDataByFilterRequest, TabularDataByFilterResponse, TabularDataByMQLRequest, TabularDataByMQLResponse, TabularDataBySQLRequest, TabularDataBySQLResponse, TagsByFilterRequest, TagsByFilterResponse, UpdateBoundingBoxRequest, UpdateBoundingBoxResponse, UpdateSavedQueryRequest, UpdateSavedQueryResponse, UpdateSequenceRequest, UpdateSequenceResponse } from "./data_pb.js";
6
+ import { AddBinaryDataToDatasetByIDsRequest, AddBinaryDataToDatasetByIDsResponse, AddBoundingBoxToImageByIDRequest, AddBoundingBoxToImageByIDResponse, AddSequencesToDatasetRequest, AddSequencesToDatasetResponse, AddTagsToBinaryDataByFilterRequest, AddTagsToBinaryDataByFilterResponse, AddTagsToBinaryDataByIDsRequest, AddTagsToBinaryDataByIDsResponse, BinaryDataByFilterRequest, BinaryDataByFilterResponse, BinaryDataByIDsRequest, BinaryDataByIDsResponse, BoundingBoxLabelsByFilterRequest, BoundingBoxLabelsByFilterResponse, ConfigureDatabaseUserRequest, ConfigureDatabaseUserResponse, CreateBinaryDataSignedURLRequest, CreateBinaryDataSignedURLResponse, CreateIndexRequest, CreateIndexResponse, CreateSavedQueryRequest, CreateSavedQueryResponse, CreateSequenceRequest, CreateSequenceResponse, DeleteBinaryDataByFilterRequest, DeleteBinaryDataByFilterResponse, DeleteBinaryDataByIDsRequest, DeleteBinaryDataByIDsResponse, DeleteIndexRequest, DeleteIndexResponse, DeleteSavedQueryRequest, DeleteSavedQueryResponse, DeleteSequenceRequest, DeleteSequenceResponse, DeleteTabularDataRequest, DeleteTabularDataResponse, ExportTabularDataRequest, ExportTabularDataResponse, GetDatabaseConnectionRequest, GetDatabaseConnectionResponse, GetLatestTabularDataRequest, GetLatestTabularDataResponse, GetSavedQueryRequest, GetSavedQueryResponse, GetSequenceBinaryDataRequest, GetSequenceBinaryDataResponse, GetSequenceRequest, GetSequenceResponse, ListIndexesRequest, ListIndexesResponse, ListSavedQueriesRequest, ListSavedQueriesResponse, ListSequencesRequest, ListSequencesResponse, RemoveBinaryDataFromDatasetByIDsRequest, RemoveBinaryDataFromDatasetByIDsResponse, RemoveBoundingBoxFromImageByIDRequest, RemoveBoundingBoxFromImageByIDResponse, RemoveSequencesFromDatasetRequest, RemoveSequencesFromDatasetResponse, RemoveTagsFromBinaryDataByFilterRequest, RemoveTagsFromBinaryDataByFilterResponse, RemoveTagsFromBinaryDataByIDsRequest, RemoveTagsFromBinaryDataByIDsResponse, SequencesByDatasetIDRequest, SequencesByDatasetIDResponse, TabularDataByFilterRequest, TabularDataByFilterResponse, TabularDataByMQLRequest, TabularDataByMQLResponse, TabularDataBySQLRequest, TabularDataBySQLResponse, TagsByFilterRequest, TagsByFilterResponse, UpdateBoundingBoxRequest, UpdateBoundingBoxResponse, UpdateSavedQueryRequest, UpdateSavedQueryResponse, UpdateSequenceRequest, UpdateSequenceResponse } from "./data_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
8
 
9
9
  /**
@@ -461,6 +461,18 @@ export declare const DataService: {
461
461
  readonly O: typeof SequencesByDatasetIDResponse,
462
462
  readonly kind: MethodKind.Unary,
463
463
  },
464
+ /**
465
+ * GetSequenceBinaryData returns paginated binary data records matching the
466
+ * sequence's time range and binary resources.
467
+ *
468
+ * @generated from rpc viam.app.data.v1.DataService.GetSequenceBinaryData
469
+ */
470
+ readonly getSequenceBinaryData: {
471
+ readonly name: "GetSequenceBinaryData",
472
+ readonly I: typeof GetSequenceBinaryDataRequest,
473
+ readonly O: typeof GetSequenceBinaryDataResponse,
474
+ readonly kind: MethodKind.Unary,
475
+ },
464
476
  }
465
477
  };
466
478
 
@@ -3583,3 +3583,66 @@ export declare class SequencesByDatasetIDResponse extends Message<SequencesByDat
3583
3583
  static equals(a: SequencesByDatasetIDResponse | PlainMessage<SequencesByDatasetIDResponse> | undefined, b: SequencesByDatasetIDResponse | PlainMessage<SequencesByDatasetIDResponse> | undefined): boolean;
3584
3584
  }
3585
3585
 
3586
+ /**
3587
+ * @generated from message viam.app.data.v1.GetSequenceBinaryDataRequest
3588
+ */
3589
+ export declare class GetSequenceBinaryDataRequest extends Message<GetSequenceBinaryDataRequest> {
3590
+ /**
3591
+ * @generated from field: string sequence_id = 1;
3592
+ */
3593
+ sequenceId: string;
3594
+
3595
+ /**
3596
+ * @generated from field: string page_token = 2;
3597
+ */
3598
+ pageToken: string;
3599
+
3600
+ /**
3601
+ * @generated from field: uint32 page_size = 3;
3602
+ */
3603
+ pageSize: number;
3604
+
3605
+ constructor(data?: PartialMessage<GetSequenceBinaryDataRequest>);
3606
+
3607
+ static readonly runtime: typeof proto3;
3608
+ static readonly typeName = "viam.app.data.v1.GetSequenceBinaryDataRequest";
3609
+ static readonly fields: FieldList;
3610
+
3611
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetSequenceBinaryDataRequest;
3612
+
3613
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetSequenceBinaryDataRequest;
3614
+
3615
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSequenceBinaryDataRequest;
3616
+
3617
+ static equals(a: GetSequenceBinaryDataRequest | PlainMessage<GetSequenceBinaryDataRequest> | undefined, b: GetSequenceBinaryDataRequest | PlainMessage<GetSequenceBinaryDataRequest> | undefined): boolean;
3618
+ }
3619
+
3620
+ /**
3621
+ * @generated from message viam.app.data.v1.GetSequenceBinaryDataResponse
3622
+ */
3623
+ export declare class GetSequenceBinaryDataResponse extends Message<GetSequenceBinaryDataResponse> {
3624
+ /**
3625
+ * @generated from field: repeated viam.app.data.v1.BinaryData data = 1;
3626
+ */
3627
+ data: BinaryData[];
3628
+
3629
+ /**
3630
+ * @generated from field: string next_page_token = 2;
3631
+ */
3632
+ nextPageToken: string;
3633
+
3634
+ constructor(data?: PartialMessage<GetSequenceBinaryDataResponse>);
3635
+
3636
+ static readonly runtime: typeof proto3;
3637
+ static readonly typeName = "viam.app.data.v1.GetSequenceBinaryDataResponse";
3638
+ static readonly fields: FieldList;
3639
+
3640
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetSequenceBinaryDataResponse;
3641
+
3642
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetSequenceBinaryDataResponse;
3643
+
3644
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSequenceBinaryDataResponse;
3645
+
3646
+ static equals(a: GetSequenceBinaryDataResponse | PlainMessage<GetSequenceBinaryDataResponse> | undefined, b: GetSequenceBinaryDataResponse | PlainMessage<GetSequenceBinaryDataResponse> | undefined): boolean;
3647
+ }
3648
+
@@ -64,6 +64,38 @@ export declare enum AuthenticationType {
64
64
  LOCATION_SECRET = 4,
65
65
  }
66
66
 
67
+ /**
68
+ * LoginMethod is an interactive login mechanism an organization may allow.
69
+ *
70
+ * @generated from enum viam.app.v1.LoginMethod
71
+ */
72
+ export declare enum LoginMethod {
73
+ /**
74
+ * @generated from enum value: LOGIN_METHOD_UNSPECIFIED = 0;
75
+ */
76
+ UNSPECIFIED = 0,
77
+
78
+ /**
79
+ * @generated from enum value: LOGIN_METHOD_PASSWORD = 1;
80
+ */
81
+ PASSWORD = 1,
82
+
83
+ /**
84
+ * @generated from enum value: LOGIN_METHOD_GOOGLE = 2;
85
+ */
86
+ GOOGLE = 2,
87
+
88
+ /**
89
+ * @generated from enum value: LOGIN_METHOD_GITHUB = 3;
90
+ */
91
+ GITHUB = 3,
92
+
93
+ /**
94
+ * @generated from enum value: LOGIN_METHOD_APPLE = 4;
95
+ */
96
+ APPLE = 4,
97
+ }
98
+
67
99
  /**
68
100
  * @generated from enum viam.app.v1.FragmentVisibility
69
101
  */
@@ -615,6 +647,32 @@ export declare class ListOrganizationsRequest extends Message<ListOrganizationsR
615
647
  static equals(a: ListOrganizationsRequest | PlainMessage<ListOrganizationsRequest> | undefined, b: ListOrganizationsRequest | PlainMessage<ListOrganizationsRequest> | undefined): boolean;
616
648
  }
617
649
 
650
+ /**
651
+ * An empty list means that all methods are allowed.
652
+ *
653
+ * @generated from message viam.app.v1.AllowedLoginMethods
654
+ */
655
+ export declare class AllowedLoginMethods extends Message<AllowedLoginMethods> {
656
+ /**
657
+ * @generated from field: repeated viam.app.v1.LoginMethod methods = 1;
658
+ */
659
+ methods: LoginMethod[];
660
+
661
+ constructor(data?: PartialMessage<AllowedLoginMethods>);
662
+
663
+ static readonly runtime: typeof proto3;
664
+ static readonly typeName = "viam.app.v1.AllowedLoginMethods";
665
+ static readonly fields: FieldList;
666
+
667
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AllowedLoginMethods;
668
+
669
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AllowedLoginMethods;
670
+
671
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AllowedLoginMethods;
672
+
673
+ static equals(a: AllowedLoginMethods | PlainMessage<AllowedLoginMethods> | undefined, b: AllowedLoginMethods | PlainMessage<AllowedLoginMethods> | undefined): boolean;
674
+ }
675
+
618
676
  /**
619
677
  * @generated from message viam.app.v1.Organization
620
678
  */
@@ -657,6 +715,11 @@ export declare class Organization extends Message<Organization> {
657
715
  */
658
716
  defaultFragments?: FragmentImportList;
659
717
 
718
+ /**
719
+ * @generated from field: optional viam.app.v1.AllowedLoginMethods allowed_login_methods = 8;
720
+ */
721
+ allowedLoginMethods?: AllowedLoginMethods;
722
+
660
723
  constructor(data?: PartialMessage<Organization>);
661
724
 
662
725
  static readonly runtime: typeof proto3;
@@ -988,6 +1051,11 @@ export declare class UpdateOrganizationRequest extends Message<UpdateOrganizatio
988
1051
  */
989
1052
  defaultFragments?: FragmentImportList;
990
1053
 
1054
+ /**
1055
+ * @generated from field: optional viam.app.v1.AllowedLoginMethods allowed_login_methods = 7;
1056
+ */
1057
+ allowedLoginMethods?: AllowedLoginMethods;
1058
+
991
1059
  constructor(data?: PartialMessage<UpdateOrganizationRequest>);
992
1060
 
993
1061
  static readonly runtime: typeof proto3;
@@ -3832,6 +3900,11 @@ export declare class Fragment extends Message<Fragment> {
3832
3900
  */
3833
3901
  revision: string;
3834
3902
 
3903
+ /**
3904
+ * @generated from field: optional string public_namespace = 15;
3905
+ */
3906
+ publicNamespace?: string;
3907
+
3835
3908
  constructor(data?: PartialMessage<Fragment>);
3836
3909
 
3837
3910
  static readonly runtime: typeof proto3;
@@ -6387,6 +6460,80 @@ export declare class DeprecatedStatus extends Message<DeprecatedStatus> {
6387
6460
  static equals(a: DeprecatedStatus | PlainMessage<DeprecatedStatus> | undefined, b: DeprecatedStatus | PlainMessage<DeprecatedStatus> | undefined): boolean;
6388
6461
  }
6389
6462
 
6463
+ /**
6464
+ * RegistryItemBilling stores usage cost information for a registry item. Its shape mirrors the
6465
+ * billing block used by fragments so that billing jobs can consume registry item costs the same
6466
+ * way. For now only cost_per_month.per_machine is supported; the additional fields that fragment
6467
+ * billing supports (cost_per_year, tier_name, in_arrears, etc.) are intentionally omitted.
6468
+ *
6469
+ * @generated from message viam.app.v1.RegistryItemBilling
6470
+ */
6471
+ export declare class RegistryItemBilling extends Message<RegistryItemBilling> {
6472
+ /**
6473
+ * @generated from oneof viam.app.v1.RegistryItemBilling.frequency
6474
+ */
6475
+ frequency: {
6476
+ /**
6477
+ * The recurring monthly cost of the item, broken down by billable resource.
6478
+ *
6479
+ * @generated from field: viam.app.v1.RegistryItemCostByResource cost_per_month = 1;
6480
+ */
6481
+ value: RegistryItemCostByResource;
6482
+ case: "costPerMonth";
6483
+ } | {
6484
+ /**
6485
+ * The recurring yearly cost of the item, broken down by billable resource.
6486
+ *
6487
+ * @generated from field: viam.app.v1.RegistryItemCostByResource cost_per_year = 2;
6488
+ */
6489
+ value: RegistryItemCostByResource;
6490
+ case: "costPerYear";
6491
+ } | { case: undefined; value?: undefined };
6492
+
6493
+ constructor(data?: PartialMessage<RegistryItemBilling>);
6494
+
6495
+ static readonly runtime: typeof proto3;
6496
+ static readonly typeName = "viam.app.v1.RegistryItemBilling";
6497
+ static readonly fields: FieldList;
6498
+
6499
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RegistryItemBilling;
6500
+
6501
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RegistryItemBilling;
6502
+
6503
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RegistryItemBilling;
6504
+
6505
+ static equals(a: RegistryItemBilling | PlainMessage<RegistryItemBilling> | undefined, b: RegistryItemBilling | PlainMessage<RegistryItemBilling> | undefined): boolean;
6506
+ }
6507
+
6508
+ /**
6509
+ * RegistryItemCostByResource holds the cost of a registry item broken down by billable resource.
6510
+ * Only the per_machine resource is currently supported.
6511
+ *
6512
+ * @generated from message viam.app.v1.RegistryItemCostByResource
6513
+ */
6514
+ export declare class RegistryItemCostByResource extends Message<RegistryItemCostByResource> {
6515
+ /**
6516
+ * The cost charged per machine using the item, in USD.
6517
+ *
6518
+ * @generated from field: double per_machine = 1;
6519
+ */
6520
+ perMachine: number;
6521
+
6522
+ constructor(data?: PartialMessage<RegistryItemCostByResource>);
6523
+
6524
+ static readonly runtime: typeof proto3;
6525
+ static readonly typeName = "viam.app.v1.RegistryItemCostByResource";
6526
+ static readonly fields: FieldList;
6527
+
6528
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RegistryItemCostByResource;
6529
+
6530
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RegistryItemCostByResource;
6531
+
6532
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RegistryItemCostByResource;
6533
+
6534
+ static equals(a: RegistryItemCostByResource | PlainMessage<RegistryItemCostByResource> | undefined, b: RegistryItemCostByResource | PlainMessage<RegistryItemCostByResource> | undefined): boolean;
6535
+ }
6536
+
6390
6537
  /**
6391
6538
  * @generated from message viam.app.v1.RegistryItem
6392
6539
  */
@@ -6524,6 +6671,14 @@ export declare class RegistryItem extends Message<RegistryItem> {
6524
6671
  */
6525
6672
  deprecatedStatus?: DeprecatedStatus;
6526
6673
 
6674
+ /**
6675
+ * Usage cost information used by billing jobs to bill for monthly usage of the item.
6676
+ * This is unset when no cost has been configured for the item.
6677
+ *
6678
+ * @generated from field: optional viam.app.v1.RegistryItemBilling billing = 19;
6679
+ */
6680
+ billing?: RegistryItemBilling;
6681
+
6527
6682
  constructor(data?: PartialMessage<RegistryItem>);
6528
6683
 
6529
6684
  static readonly runtime: typeof proto3;
@@ -6708,6 +6863,14 @@ export declare class UpdateRegistryItemRequest extends Message<UpdateRegistryIte
6708
6863
  */
6709
6864
  markdownDescription?: string;
6710
6865
 
6866
+ /**
6867
+ * The usage cost information to store on the item. When unset, the existing billing
6868
+ * configuration is left unchanged.
6869
+ *
6870
+ * @generated from field: optional viam.app.v1.RegistryItemBilling billing = 10;
6871
+ */
6872
+ billing?: RegistryItemBilling;
6873
+
6711
6874
  constructor(data?: PartialMessage<UpdateRegistryItemRequest>);
6712
6875
 
6713
6876
  static readonly runtime: typeof proto3;
@@ -168,6 +168,11 @@ export declare enum UsageCostType {
168
168
  * @generated from enum value: USAGE_COST_TYPE_PIPELINE_SINK_COMPUTE = 26;
169
169
  */
170
170
  PIPELINE_SINK_COMPUTE = 26,
171
+
172
+ /**
173
+ * @generated from enum value: USAGE_COST_TYPE_PREMIUM_MODULE = 27;
174
+ */
175
+ PREMIUM_MODULE = 27,
171
176
  }
172
177
 
173
178
  /**
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
 
6
- import { BlockForOperationRequest, BlockForOperationResponse, CancelOperationRequest, CancelOperationResponse, FrameSystemConfigRequest, FrameSystemConfigResponse, GetCloudMetadataRequest, GetCloudMetadataResponse, GetMachineStatusRequest, GetMachineStatusResponse, GetModelsFromModulesRequest, GetModelsFromModulesResponse, GetOperationsRequest, GetOperationsResponse, GetPoseRequest, GetPoseResponse, GetSessionsRequest, GetSessionsResponse, GetStatusRequest, GetStatusResponse, GetVersionRequest, GetVersionResponse, ListTunnelsRequest, ListTunnelsResponse, LogRequest, LogResponse, ResourceNamesRequest, ResourceNamesResponse, ResourceRPCSubtypesRequest, ResourceRPCSubtypesResponse, RestartModuleRequest, RestartModuleResponse, SendSessionHeartbeatRequest, SendSessionHeartbeatResponse, SendTracesRequest, SendTracesResponse, ShutdownRequest, ShutdownResponse, StartSessionRequest, StartSessionResponse, StopAllRequest, StopAllResponse, StreamStatusRequest, StreamStatusResponse, TransformPCDRequest, TransformPCDResponse, TransformPoseRequest, TransformPoseResponse, TunnelRequest, TunnelResponse } from "./robot_pb.js";
6
+ import { BlockForOperationRequest, BlockForOperationResponse, CancelOperationRequest, CancelOperationResponse, FrameSystemConfigRequest, FrameSystemConfigResponse, GetCloudMetadataRequest, GetCloudMetadataResponse, GetMachineStatusRequest, GetMachineStatusResponse, GetModelsFromModulesRequest, GetModelsFromModulesResponse, GetOperationsRequest, GetOperationsResponse, GetPoseRequest, GetPoseResponse, GetSessionsRequest, GetSessionsResponse, GetStatusRequest, GetStatusResponse, GetVersionRequest, GetVersionResponse, ListTunnelsRequest, ListTunnelsResponse, LogRequest, LogResponse, ResourceNamesRequest, ResourceNamesResponse, ResourceRPCSubtypesRequest, ResourceRPCSubtypesResponse, RestartModuleRequest, RestartModuleResponse, SendSessionHeartbeatRequest, SendSessionHeartbeatResponse, SendTracesRequest, SendTracesResponse, ShutdownRequest, ShutdownResponse, StartSessionRequest, StartSessionResponse, StopAllRequest, StopAllResponse, StreamStatusRequest, StreamStatusResponse, TransformPCDRequest, TransformPCDResponse, TransformPoseRequest, TransformPoseResponse, TunnelRequest, TunnelResponse, UploadDataFromPathRequest, UploadDataFromPathResponse } from "./robot_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
8
 
9
9
  /**
@@ -282,6 +282,18 @@ export declare const RobotService: {
282
282
  readonly O: typeof SendTracesResponse,
283
283
  readonly kind: MethodKind.Unary,
284
284
  },
285
+ /**
286
+ * UploadDataFromPath uploads a file or directory from the robot to the cloud
287
+ * via the configured data manager service.
288
+ *
289
+ * @generated from rpc viam.robot.v1.RobotService.UploadDataFromPath
290
+ */
291
+ readonly uploadDataFromPath: {
292
+ readonly name: "UploadDataFromPath",
293
+ readonly I: typeof UploadDataFromPathRequest,
294
+ readonly O: typeof UploadDataFromPathResponse,
295
+ readonly kind: MethodKind.Unary,
296
+ },
285
297
  }
286
298
  };
287
299