@viamrobotics/sdk 0.36.1 → 0.38.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.
Files changed (72) hide show
  1. package/README.md +2 -2
  2. package/dist/api-version.d.ts +1 -1
  3. package/dist/app/app-client.d.ts +58 -1
  4. package/dist/gen/app/agent/v1/agent_pb.d.ts +107 -12
  5. package/dist/gen/app/data/v1/data_pb.d.ts +50 -0
  6. package/dist/gen/app/datasync/v1/data_sync_pb.d.ts +15 -0
  7. package/dist/gen/app/mlinference/v1/ml_inference_pb.d.ts +5 -0
  8. package/dist/gen/app/mltraining/v1/ml_training_pb.d.ts +5 -0
  9. package/dist/gen/app/v1/app_connect.d.ts +109 -1
  10. package/dist/gen/app/v1/app_pb.d.ts +860 -40
  11. package/dist/gen/app/v1/billing_pb.d.ts +10 -0
  12. package/dist/gen/app/v1/robot_pb.d.ts +34 -0
  13. package/dist/gen/common/v1/common_pb.d.ts +40 -1
  14. package/dist/gen/google/api/annotations_pb.d.ts +1 -1
  15. package/dist/gen/google/api/client_pb.d.ts +1 -1
  16. package/dist/gen/google/api/expr/v1alpha1/checked_pb.d.ts +1 -1
  17. package/dist/gen/google/api/expr/v1alpha1/eval_pb.d.ts +1 -1
  18. package/dist/gen/google/api/expr/v1alpha1/explain_pb.d.ts +1 -1
  19. package/dist/gen/google/api/expr/v1alpha1/syntax_pb.d.ts +1 -1
  20. package/dist/gen/google/api/expr/v1alpha1/value_pb.d.ts +1 -1
  21. package/dist/gen/google/api/expr/v1beta1/decl_pb.d.ts +1 -1
  22. package/dist/gen/google/api/expr/v1beta1/eval_pb.d.ts +1 -1
  23. package/dist/gen/google/api/expr/v1beta1/expr_pb.d.ts +1 -1
  24. package/dist/gen/google/api/expr/v1beta1/source_pb.d.ts +1 -1
  25. package/dist/gen/google/api/expr/v1beta1/value_pb.d.ts +1 -1
  26. package/dist/gen/google/api/field_behavior_pb.d.ts +1 -1
  27. package/dist/gen/google/api/field_info_pb.d.ts +1 -1
  28. package/dist/gen/google/api/http_pb.d.ts +1 -1
  29. package/dist/gen/google/api/httpbody_pb.d.ts +1 -1
  30. package/dist/gen/google/api/launch_stage_pb.d.ts +1 -1
  31. package/dist/gen/google/api/resource_pb.d.ts +1 -1
  32. package/dist/gen/google/api/visibility_pb.d.ts +1 -1
  33. package/dist/gen/google/bytestream/bytestream_connect.d.ts +1 -1
  34. package/dist/gen/google/bytestream/bytestream_pb.d.ts +1 -1
  35. package/dist/gen/google/geo/type/viewport_pb.d.ts +1 -1
  36. package/dist/gen/google/longrunning/operations_connect.d.ts +1 -1
  37. package/dist/gen/google/longrunning/operations_pb.d.ts +1 -1
  38. package/dist/gen/google/rpc/code_pb.d.ts +1 -1
  39. package/dist/gen/google/rpc/context/attribute_context_pb.d.ts +1 -1
  40. package/dist/gen/google/rpc/error_details_pb.d.ts +1 -1
  41. package/dist/gen/google/rpc/status_pb.d.ts +1 -1
  42. package/dist/gen/google/type/calendar_period_pb.d.ts +1 -1
  43. package/dist/gen/google/type/color_pb.d.ts +1 -1
  44. package/dist/gen/google/type/date_pb.d.ts +1 -1
  45. package/dist/gen/google/type/datetime_pb.d.ts +1 -1
  46. package/dist/gen/google/type/dayofweek_pb.d.ts +1 -1
  47. package/dist/gen/google/type/decimal_pb.d.ts +1 -1
  48. package/dist/gen/google/type/expr_pb.d.ts +1 -1
  49. package/dist/gen/google/type/fraction_pb.d.ts +1 -1
  50. package/dist/gen/google/type/interval_pb.d.ts +1 -1
  51. package/dist/gen/google/type/latlng_pb.d.ts +1 -1
  52. package/dist/gen/google/type/localized_text_pb.d.ts +1 -1
  53. package/dist/gen/google/type/money_pb.d.ts +1 -1
  54. package/dist/gen/google/type/month_pb.d.ts +1 -1
  55. package/dist/gen/google/type/phone_number_pb.d.ts +1 -1
  56. package/dist/gen/google/type/postal_address_pb.d.ts +1 -1
  57. package/dist/gen/google/type/quaternion_pb.d.ts +1 -1
  58. package/dist/gen/google/type/timeofday_pb.d.ts +1 -1
  59. package/dist/gen/grpc/reflection/v1/reflection_connect.d.ts +50 -0
  60. package/dist/gen/grpc/reflection/v1/reflection_pb.d.ts +384 -0
  61. package/dist/gen/robot/v1/robot_connect.d.ts +12 -14
  62. package/dist/gen/robot/v1/robot_pb.d.ts +72 -115
  63. package/dist/gen/service/vision/v1/vision_pb.d.ts +22 -0
  64. package/dist/main.es.js +5457 -4669
  65. package/dist/main.umd.js +7 -7
  66. package/dist/robot/client.d.ts +7 -8
  67. package/dist/robot/robot.d.ts +2 -12
  68. package/dist/robot/session-manager.d.ts +5 -1
  69. package/dist/robot/session-transport.d.ts +1 -1
  70. package/dist/services/vision/client.d.ts +1 -0
  71. package/dist/services/vision/types.d.ts +2 -1
  72. package/package.json +2 -2
package/README.md CHANGED
@@ -29,11 +29,11 @@ npm install @viamrobotics/sdk
29
29
 
30
30
  ## Node
31
31
 
32
- To use this SDK with node, read the [documentation](/Node.md) or view the [example](/examples/node/)
32
+ To use this SDK with node, read the [documentation](https://github.com/viamrobotics/viam-typescript-sdk/blob/main/Node.md) or view the [example](https://github.com/viamrobotics/viam-typescript-sdk/tree/main/examples/node)
33
33
 
34
34
  ## React Native
35
35
 
36
- To use this SDK with React Native, read the [documentation](/ReactNative.md) or view the [example](/examples/react-native/)
36
+ To use this SDK with React Native, read the [documentation](https://github.com/viamrobotics/viam-typescript-sdk/blob/main/ReactNative.md) or view the [example](https://github.com/viamrobotics/viam-typescript-sdk/tree/main/examples/react-native/)
37
37
 
38
38
  ## License
39
39
 
@@ -1 +1 @@
1
- export declare const apiVersion = "v0.1.391";
1
+ export declare const apiVersion = "v0.1.409";
@@ -1,4 +1,5 @@
1
- import type { Struct } from '@bufbuild/protobuf';
1
+ import type { JsonValue } from '@bufbuild/protobuf';
2
+ import { Struct } from '@bufbuild/protobuf';
2
3
  import { type Transport } from '@connectrpc/connect';
3
4
  import { PackageType } from '../gen/app/packages/v1/packages_pb';
4
5
  import { APIKeyWithAuthorizations, Authorization, AuthorizedPermissions, CreateKeyFromExistingKeyAuthorizationsResponse, CreateKeyResponse, CreateModuleResponse, Fragment, FragmentVisibility, GetRobotPartLogsResponse, GetRobotPartResponse, ListOrganizationMembersResponse, Location, LocationAuth, Model, Module, Organization, OrganizationIdentity, OrganizationInvite, OrgDetails, RegistryItem, RegistryItemStatus, Robot, RobotPart, RobotPartHistoryEntry, RotateKeyResponse, RoverRentalRobot, Visibility } from '../gen/app/v1/app_pb';
@@ -607,4 +608,60 @@ export declare class AppClient {
607
608
  * @returns The new key and ID
608
609
  */
609
610
  createKeyFromExistingKeyAuthorizations(id: string): Promise<CreateKeyFromExistingKeyAuthorizationsResponse>;
611
+ /**
612
+ * Retrieves user-defined metadata for an organization.
613
+ *
614
+ * @param id The ID of the organization
615
+ * @returns The metadata associated with the organization
616
+ */
617
+ getOrganizationMetadata(id: string): Promise<Record<string, JsonValue>>;
618
+ /**
619
+ * Updates user-defined metadata for an organization.
620
+ *
621
+ * @param id The ID of the organization
622
+ * @param data The metadata to update
623
+ */
624
+ updateOrganizationMetadata(id: string, data: Record<string, JsonValue>): Promise<void>;
625
+ /**
626
+ * Retrieves user-defined metadata for a location.
627
+ *
628
+ * @param id The ID of the location
629
+ * @returns The metadata associated with the location
630
+ */
631
+ getLocationMetadata(id: string): Promise<Record<string, JsonValue>>;
632
+ /**
633
+ * Updates user-defined metadata for a location.
634
+ *
635
+ * @param id The ID of the location
636
+ * @param data The metadata to update
637
+ */
638
+ updateLocationMetadata(id: string, data: Record<string, JsonValue>): Promise<void>;
639
+ /**
640
+ * Retrieves user-defined metadata for a robot.
641
+ *
642
+ * @param id The ID of the robot
643
+ * @returns The metadata associated with the robot
644
+ */
645
+ getRobotMetadata(id: string): Promise<Record<string, JsonValue>>;
646
+ /**
647
+ * Updates user-defined metadata for a robot.
648
+ *
649
+ * @param id The ID of the robot
650
+ * @param data The metadata to update
651
+ */
652
+ updateRobotMetadata(id: string, data: Record<string, JsonValue>): Promise<void>;
653
+ /**
654
+ * Retrieves user-defined metadata for a robot part.
655
+ *
656
+ * @param id The ID of the robot part
657
+ * @returns The metadata associated with the robot part
658
+ */
659
+ getRobotPartMetadata(id: string): Promise<Record<string, JsonValue>>;
660
+ /**
661
+ * Updates user-defined metadata for a robot part.
662
+ *
663
+ * @param id The ID of the robot part
664
+ * @param data The metadata to update
665
+ */
666
+ updateRobotPartMetadata(id: string, data: Record<string, JsonValue>): Promise<void>;
610
667
  }
@@ -68,11 +68,20 @@ export declare class DeviceAgentConfigRequest extends Message<DeviceAgentConfigR
68
68
 
69
69
  /**
70
70
  * current subsystems and versions
71
+ * DEPRECATED in favor of version_info
71
72
  *
72
- * @generated from field: map<string, string> subsystem_versions = 3;
73
+ * @generated from field: map<string, string> subsystem_versions = 3 [deprecated = true];
74
+ * @deprecated
73
75
  */
74
76
  subsystemVersions: { [key: string]: string };
75
77
 
78
+ /**
79
+ * Currently installed versions for agent and viam-server
80
+ *
81
+ * @generated from field: viam.app.agent.v1.VersionInfo version_info = 4;
82
+ */
83
+ versionInfo?: VersionInfo;
84
+
76
85
  constructor(data?: PartialMessage<DeviceAgentConfigRequest>);
77
86
 
78
87
  static readonly runtime: typeof proto3;
@@ -95,8 +104,10 @@ export declare class DeviceAgentConfigResponse extends Message<DeviceAgentConfig
95
104
  /**
96
105
  * subsystems to be installed/configured/updated
97
106
  * note: previously installed subsystems will be removed from the system if removed from this list
107
+ * DEPRECATED in favor of indidivual update_info and settings fields
98
108
  *
99
- * @generated from field: map<string, viam.app.agent.v1.DeviceSubsystemConfig> subsystem_configs = 1;
109
+ * @generated from field: map<string, viam.app.agent.v1.DeviceSubsystemConfig> subsystem_configs = 1 [deprecated = true];
110
+ * @deprecated
100
111
  */
101
112
  subsystemConfigs: { [key: string]: DeviceSubsystemConfig };
102
113
 
@@ -107,6 +118,40 @@ export declare class DeviceAgentConfigResponse extends Message<DeviceAgentConfig
107
118
  */
108
119
  checkInterval?: Duration;
109
120
 
121
+ /**
122
+ * update info for agent and viam-server, parsed/processed in App
123
+ *
124
+ * @generated from field: viam.app.agent.v1.UpdateInfo agent_update_info = 3;
125
+ */
126
+ agentUpdateInfo?: UpdateInfo;
127
+
128
+ /**
129
+ * @generated from field: viam.app.agent.v1.UpdateInfo viam_server_update_info = 4;
130
+ */
131
+ viamServerUpdateInfo?: UpdateInfo;
132
+
133
+ /**
134
+ * various settings that are passed directly to device Agent
135
+ *
136
+ * @generated from field: google.protobuf.Struct advanced_settings = 5;
137
+ */
138
+ advancedSettings?: Struct;
139
+
140
+ /**
141
+ * @generated from field: google.protobuf.Struct network_configuration = 6;
142
+ */
143
+ networkConfiguration?: Struct;
144
+
145
+ /**
146
+ * @generated from field: google.protobuf.Struct additional_networks = 7;
147
+ */
148
+ additionalNetworks?: Struct;
149
+
150
+ /**
151
+ * @generated from field: google.protobuf.Struct system_configuration = 8;
152
+ */
153
+ systemConfiguration?: Struct;
154
+
110
155
  constructor(data?: PartialMessage<DeviceAgentConfigResponse>);
111
156
 
112
157
  static readonly runtime: typeof proto3;
@@ -123,15 +168,18 @@ export declare class DeviceAgentConfigResponse extends Message<DeviceAgentConfig
123
168
  }
124
169
 
125
170
  /**
171
+ * DEPRECATED as of January 2025
172
+ *
126
173
  * @generated from message viam.app.agent.v1.DeviceSubsystemConfig
174
+ * @deprecated
127
175
  */
128
176
  export declare class DeviceSubsystemConfig extends Message<DeviceSubsystemConfig> {
129
177
  /**
130
178
  * data needed to download/validate the subsystem
131
179
  *
132
- * @generated from field: viam.app.agent.v1.SubsystemUpdateInfo update_info = 1;
180
+ * @generated from field: viam.app.agent.v1.UpdateInfo update_info = 1;
133
181
  */
134
- updateInfo?: SubsystemUpdateInfo;
182
+ updateInfo?: UpdateInfo;
135
183
 
136
184
  /**
137
185
  * if this subsystem is disabled and should not be started by the agent
@@ -169,6 +217,53 @@ export declare class DeviceSubsystemConfig extends Message<DeviceSubsystemConfig
169
217
  static equals(a: DeviceSubsystemConfig | PlainMessage<DeviceSubsystemConfig> | undefined, b: DeviceSubsystemConfig | PlainMessage<DeviceSubsystemConfig> | undefined): boolean;
170
218
  }
171
219
 
220
+ /**
221
+ * @generated from message viam.app.agent.v1.VersionInfo
222
+ */
223
+ export declare class VersionInfo extends Message<VersionInfo> {
224
+ /**
225
+ * the version of agent currently running and making the request
226
+ *
227
+ * @generated from field: string agent_running = 1;
228
+ */
229
+ agentRunning: string;
230
+
231
+ /**
232
+ * the version of agent installed (will run after restart if different)
233
+ *
234
+ * @generated from field: string agent_installed = 2;
235
+ */
236
+ agentInstalled: string;
237
+
238
+ /**
239
+ * the version of viam-server currently running
240
+ *
241
+ * @generated from field: string viam_server_running = 3;
242
+ */
243
+ viamServerRunning: string;
244
+
245
+ /**
246
+ * the version of viam-server installed (will run after restart if different)
247
+ *
248
+ * @generated from field: string viam_server_installed = 4;
249
+ */
250
+ viamServerInstalled: string;
251
+
252
+ constructor(data?: PartialMessage<VersionInfo>);
253
+
254
+ static readonly runtime: typeof proto3;
255
+ static readonly typeName = "viam.app.agent.v1.VersionInfo";
256
+ static readonly fields: FieldList;
257
+
258
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VersionInfo;
259
+
260
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VersionInfo;
261
+
262
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VersionInfo;
263
+
264
+ static equals(a: VersionInfo | PlainMessage<VersionInfo> | undefined, b: VersionInfo | PlainMessage<VersionInfo> | undefined): boolean;
265
+ }
266
+
172
267
  /**
173
268
  * @generated from message viam.app.agent.v1.HostInfo
174
269
  */
@@ -211,9 +306,9 @@ export declare class HostInfo extends Message<HostInfo> {
211
306
  }
212
307
 
213
308
  /**
214
- * @generated from message viam.app.agent.v1.SubsystemUpdateInfo
309
+ * @generated from message viam.app.agent.v1.UpdateInfo
215
310
  */
216
- export declare class SubsystemUpdateInfo extends Message<SubsystemUpdateInfo> {
311
+ export declare class UpdateInfo extends Message<UpdateInfo> {
217
312
  /**
218
313
  * unpacked filename as it is expected on disk (regardless of url)
219
314
  *
@@ -249,18 +344,18 @@ export declare class SubsystemUpdateInfo extends Message<SubsystemUpdateInfo> {
249
344
  */
250
345
  format: PackageFormat;
251
346
 
252
- constructor(data?: PartialMessage<SubsystemUpdateInfo>);
347
+ constructor(data?: PartialMessage<UpdateInfo>);
253
348
 
254
349
  static readonly runtime: typeof proto3;
255
- static readonly typeName = "viam.app.agent.v1.SubsystemUpdateInfo";
350
+ static readonly typeName = "viam.app.agent.v1.UpdateInfo";
256
351
  static readonly fields: FieldList;
257
352
 
258
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubsystemUpdateInfo;
353
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateInfo;
259
354
 
260
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubsystemUpdateInfo;
355
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateInfo;
261
356
 
262
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubsystemUpdateInfo;
357
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateInfo;
263
358
 
264
- static equals(a: SubsystemUpdateInfo | PlainMessage<SubsystemUpdateInfo> | undefined, b: SubsystemUpdateInfo | PlainMessage<SubsystemUpdateInfo> | undefined): boolean;
359
+ static equals(a: UpdateInfo | PlainMessage<UpdateInfo> | undefined, b: UpdateInfo | PlainMessage<UpdateInfo> | undefined): boolean;
265
360
  }
266
361
 
@@ -977,6 +977,11 @@ export declare class BinaryDataByIDsRequest extends Message<BinaryDataByIDsReque
977
977
  */
978
978
  binaryIds: BinaryID[];
979
979
 
980
+ /**
981
+ * @generated from field: repeated string binary_data_ids = 4;
982
+ */
983
+ binaryDataIds: string[];
984
+
980
985
  constructor(data?: PartialMessage<BinaryDataByIDsRequest>);
981
986
 
982
987
  static readonly runtime: typeof proto3;
@@ -1197,6 +1202,11 @@ export declare class BinaryMetadata extends Message<BinaryMetadata> {
1197
1202
  */
1198
1203
  datasetIds: string[];
1199
1204
 
1205
+ /**
1206
+ * @generated from field: string binary_data_id = 10;
1207
+ */
1208
+ binaryDataId: string;
1209
+
1200
1210
  constructor(data?: PartialMessage<BinaryMetadata>);
1201
1211
 
1202
1212
  static readonly runtime: typeof proto3;
@@ -1342,6 +1352,11 @@ export declare class DeleteBinaryDataByIDsRequest extends Message<DeleteBinaryDa
1342
1352
  */
1343
1353
  binaryIds: BinaryID[];
1344
1354
 
1355
+ /**
1356
+ * @generated from field: repeated string binary_data_ids = 3;
1357
+ */
1358
+ binaryDataIds: string[];
1359
+
1345
1360
  constructor(data?: PartialMessage<DeleteBinaryDataByIDsRequest>);
1346
1361
 
1347
1362
  static readonly runtime: typeof proto3;
@@ -1394,6 +1409,11 @@ export declare class AddTagsToBinaryDataByIDsRequest extends Message<AddTagsToBi
1394
1409
  */
1395
1410
  binaryIds: BinaryID[];
1396
1411
 
1412
+ /**
1413
+ * @generated from field: repeated string binary_data_ids = 4;
1414
+ */
1415
+ binaryDataIds: string[];
1416
+
1397
1417
  /**
1398
1418
  * @generated from field: repeated string tags = 2;
1399
1419
  */
@@ -1494,6 +1514,11 @@ export declare class RemoveTagsFromBinaryDataByIDsRequest extends Message<Remove
1494
1514
  */
1495
1515
  binaryIds: BinaryID[];
1496
1516
 
1517
+ /**
1518
+ * @generated from field: repeated string binary_data_ids = 4;
1519
+ */
1520
+ binaryDataIds: string[];
1521
+
1497
1522
  /**
1498
1523
  * @generated from field: repeated string tags = 2;
1499
1524
  */
@@ -1661,6 +1686,11 @@ export declare class AddBoundingBoxToImageByIDRequest extends Message<AddBoundin
1661
1686
  */
1662
1687
  binaryId?: BinaryID;
1663
1688
 
1689
+ /**
1690
+ * @generated from field: string binary_data_id = 8;
1691
+ */
1692
+ binaryDataId: string;
1693
+
1664
1694
  /**
1665
1695
  * @generated from field: string label = 2;
1666
1696
  */
@@ -1738,6 +1768,11 @@ export declare class RemoveBoundingBoxFromImageByIDRequest extends Message<Remov
1738
1768
  */
1739
1769
  binaryId?: BinaryID;
1740
1770
 
1771
+ /**
1772
+ * @generated from field: string binary_data_id = 4;
1773
+ */
1774
+ binaryDataId: string;
1775
+
1741
1776
  /**
1742
1777
  * @generated from field: string bbox_id = 2;
1743
1778
  */
@@ -1788,6 +1823,11 @@ export declare class UpdateBoundingBoxRequest extends Message<UpdateBoundingBoxR
1788
1823
  */
1789
1824
  binaryId?: BinaryID;
1790
1825
 
1826
+ /**
1827
+ * @generated from field: string binary_data_id = 8;
1828
+ */
1829
+ binaryDataId: string;
1830
+
1791
1831
  /**
1792
1832
  * @generated from field: string bbox_id = 2;
1793
1833
  */
@@ -2031,6 +2071,11 @@ export declare class AddBinaryDataToDatasetByIDsRequest extends Message<AddBinar
2031
2071
  */
2032
2072
  binaryIds: BinaryID[];
2033
2073
 
2074
+ /**
2075
+ * @generated from field: repeated string binary_data_ids = 3;
2076
+ */
2077
+ binaryDataIds: string[];
2078
+
2034
2079
  /**
2035
2080
  * @generated from field: string dataset_id = 2;
2036
2081
  */
@@ -2081,6 +2126,11 @@ export declare class RemoveBinaryDataFromDatasetByIDsRequest extends Message<Rem
2081
2126
  */
2082
2127
  binaryIds: BinaryID[];
2083
2128
 
2129
+ /**
2130
+ * @generated from field: repeated string binary_data_ids = 3;
2131
+ */
2132
+ binaryDataIds: string[];
2133
+
2084
2134
  /**
2085
2135
  * @generated from field: string dataset_id = 2;
2086
2136
  */
@@ -101,6 +101,11 @@ export declare class DataCaptureUploadResponse extends Message<DataCaptureUpload
101
101
  */
102
102
  fileId: string;
103
103
 
104
+ /**
105
+ * @generated from field: string binary_data_id = 2;
106
+ */
107
+ binaryDataId: string;
108
+
104
109
  constructor(data?: PartialMessage<DataCaptureUploadResponse>);
105
110
 
106
111
  static readonly runtime: typeof proto3;
@@ -166,6 +171,11 @@ export declare class FileUploadResponse extends Message<FileUploadResponse> {
166
171
  */
167
172
  fileId: string;
168
173
 
174
+ /**
175
+ * @generated from field: string binary_data_id = 2;
176
+ */
177
+ binaryDataId: string;
178
+
169
179
  constructor(data?: PartialMessage<FileUploadResponse>);
170
180
 
171
181
  static readonly runtime: typeof proto3;
@@ -231,6 +241,11 @@ export declare class StreamingDataCaptureUploadResponse extends Message<Streamin
231
241
  */
232
242
  fileId: string;
233
243
 
244
+ /**
245
+ * @generated from field: string binary_data_id = 2;
246
+ */
247
+ binaryDataId: string;
248
+
234
249
  constructor(data?: PartialMessage<StreamingDataCaptureUploadResponse>);
235
250
 
236
251
  static readonly runtime: typeof proto3;
@@ -31,6 +31,11 @@ export declare class GetInferenceRequest extends Message<GetInferenceRequest> {
31
31
  */
32
32
  binaryId?: BinaryID;
33
33
 
34
+ /**
35
+ * @generated from field: string binary_data_id = 5;
36
+ */
37
+ binaryDataId: string;
38
+
34
39
  /**
35
40
  * @generated from field: string organization_id = 4;
36
41
  */
@@ -131,6 +131,11 @@ export declare class SubmitTrainingJobRequest extends Message<SubmitTrainingJobR
131
131
  */
132
132
  modelType: ModelType;
133
133
 
134
+ /**
135
+ * @generated from field: viam.app.mltraining.v1.ModelFramework model_framework = 8;
136
+ */
137
+ modelFramework: ModelFramework;
138
+
134
139
  /**
135
140
  * @generated from field: repeated string tags = 6;
136
141
  */
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
 
6
- import { AddRoleRequest, AddRoleResponse, ChangeRoleRequest, ChangeRoleResponse, CheckPermissionsRequest, CheckPermissionsResponse, CreateFragmentRequest, CreateFragmentResponse, CreateKeyFromExistingKeyAuthorizationsRequest, CreateKeyFromExistingKeyAuthorizationsResponse, CreateKeyRequest, CreateKeyResponse, CreateLocationRequest, CreateLocationResponse, CreateLocationSecretRequest, CreateLocationSecretResponse, CreateModuleRequest, CreateModuleResponse, CreateOAuthAppRequest, CreateOAuthAppResponse, CreateOrganizationInviteRequest, CreateOrganizationInviteResponse, CreateOrganizationRequest, CreateOrganizationResponse, CreateRegistryItemRequest, CreateRegistryItemResponse, CreateRobotPartSecretRequest, CreateRobotPartSecretResponse, DeleteFragmentRequest, DeleteFragmentResponse, DeleteFragmentTagRequest, DeleteFragmentTagResponse, DeleteKeyRequest, DeleteKeyResponse, DeleteLocationRequest, DeleteLocationResponse, DeleteLocationSecretRequest, DeleteLocationSecretResponse, DeleteOAuthAppRequest, DeleteOAuthAppResponse, DeleteOrganizationInviteRequest, DeleteOrganizationInviteResponse, DeleteOrganizationMemberRequest, DeleteOrganizationMemberResponse, DeleteOrganizationRequest, DeleteOrganizationResponse, DeleteRegistryItemRequest, DeleteRegistryItemResponse, DeleteRobotPartRequest, DeleteRobotPartResponse, DeleteRobotPartSecretRequest, DeleteRobotPartSecretResponse, DeleteRobotRequest, DeleteRobotResponse, DisableAuthServiceRequest, DisableAuthServiceResponse, DisableBillingServiceRequest, DisableBillingServiceResponse, EnableAuthServiceRequest, EnableAuthServiceResponse, EnableBillingServiceRequest, EnableBillingServiceResponse, GetBillingServiceConfigRequest, GetBillingServiceConfigResponse, GetFragmentHistoryRequest, GetFragmentHistoryResponse, GetFragmentRequest, GetFragmentResponse, GetFragmentUsageRequest, GetFragmentUsageResponse, 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, SetFragmentTagRequest, SetFragmentTagResponse, 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, DeleteFragmentTagRequest, DeleteFragmentTagResponse, DeleteKeyRequest, DeleteKeyResponse, DeleteLocationRequest, DeleteLocationResponse, DeleteLocationSecretRequest, DeleteLocationSecretResponse, DeleteOAuthAppRequest, DeleteOAuthAppResponse, DeleteOrganizationInviteRequest, DeleteOrganizationInviteResponse, DeleteOrganizationMemberRequest, DeleteOrganizationMemberResponse, DeleteOrganizationRequest, DeleteOrganizationResponse, DeleteRegistryItemRequest, DeleteRegistryItemResponse, DeleteRobotPartRequest, DeleteRobotPartResponse, DeleteRobotPartSecretRequest, DeleteRobotPartSecretResponse, DeleteRobotRequest, DeleteRobotResponse, DisableAuthServiceRequest, DisableAuthServiceResponse, DisableBillingServiceRequest, DisableBillingServiceResponse, EnableAuthServiceRequest, EnableAuthServiceResponse, EnableBillingServiceRequest, EnableBillingServiceResponse, GetAppContentRequest, GetAppContentResponse, GetBillingServiceConfigRequest, GetBillingServiceConfigResponse, GetFragmentHistoryRequest, GetFragmentHistoryResponse, GetFragmentRequest, GetFragmentResponse, GetFragmentUsageRequest, GetFragmentUsageResponse, GetLocationMetadataRequest, GetLocationMetadataResponse, GetLocationRequest, GetLocationResponse, GetModuleRequest, GetModuleResponse, GetOrganizationMetadataRequest, GetOrganizationMetadataResponse, GetOrganizationNamespaceAvailabilityRequest, GetOrganizationNamespaceAvailabilityResponse, GetOrganizationRequest, GetOrganizationResponse, GetOrganizationsWithAccessToLocationRequest, GetOrganizationsWithAccessToLocationResponse, GetRegistryItemRequest, GetRegistryItemResponse, GetRobotAPIKeysRequest, GetRobotAPIKeysResponse, GetRobotMetadataRequest, GetRobotMetadataResponse, GetRobotPartHistoryRequest, GetRobotPartHistoryResponse, GetRobotPartLogsRequest, GetRobotPartLogsResponse, GetRobotPartMetadataRequest, GetRobotPartMetadataResponse, GetRobotPartRequest, GetRobotPartResponse, GetRobotPartsRequest, GetRobotPartsResponse, GetRobotRequest, GetRobotResponse, GetRoverRentalRobotsRequest, GetRoverRentalRobotsResponse, GetUserIDByEmailRequest, GetUserIDByEmailResponse, ListAuthorizationsRequest, ListAuthorizationsResponse, ListFragmentsRequest, ListFragmentsResponse, ListKeysRequest, ListKeysResponse, ListLocationsRequest, ListLocationsResponse, ListMachineFragmentsRequest, ListMachineFragmentsResponse, ListMachineSummariesRequest, ListMachineSummariesResponse, ListModulesRequest, ListModulesResponse, 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, SetFragmentTagRequest, SetFragmentTagResponse, ShareLocationRequest, ShareLocationResponse, TailRobotPartLogsRequest, TailRobotPartLogsResponse, TransferRegistryItemRequest, TransferRegistryItemResponse, UnshareLocationRequest, UnshareLocationResponse, UpdateBillingServiceRequest, UpdateBillingServiceResponse, UpdateFragmentRequest, UpdateFragmentResponse, UpdateLocationMetadataRequest, UpdateLocationMetadataResponse, UpdateLocationRequest, UpdateLocationResponse, UpdateModuleRequest, UpdateModuleResponse, UpdateOAuthAppRequest, UpdateOAuthAppResponse, UpdateOrganizationInviteAuthorizationsRequest, UpdateOrganizationInviteAuthorizationsResponse, UpdateOrganizationMetadataRequest, UpdateOrganizationMetadataResponse, UpdateOrganizationRequest, UpdateOrganizationResponse, UpdateRegistryItemRequest, UpdateRegistryItemResponse, UpdateRobotMetadataRequest, UpdateRobotMetadataResponse, UpdateRobotPartMetadataRequest, UpdateRobotPartMetadataResponse, UpdateRobotPartRequest, UpdateRobotPartResponse, UpdateRobotRequest, UpdateRobotResponse, UploadModuleFileRequest, UploadModuleFileResponse } from "./app_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
8
 
9
9
  /**
@@ -124,6 +124,28 @@ export declare const AppService: {
124
124
  readonly O: typeof DeleteOrganizationResponse,
125
125
  readonly kind: MethodKind.Unary,
126
126
  },
127
+ /**
128
+ * Get user-defined metadata for an organization
129
+ *
130
+ * @generated from rpc viam.app.v1.AppService.GetOrganizationMetadata
131
+ */
132
+ readonly getOrganizationMetadata: {
133
+ readonly name: "GetOrganizationMetadata",
134
+ readonly I: typeof GetOrganizationMetadataRequest,
135
+ readonly O: typeof GetOrganizationMetadataResponse,
136
+ readonly kind: MethodKind.Unary,
137
+ },
138
+ /**
139
+ * Update user-defined metadata for an organization
140
+ *
141
+ * @generated from rpc viam.app.v1.AppService.UpdateOrganizationMetadata
142
+ */
143
+ readonly updateOrganizationMetadata: {
144
+ readonly name: "UpdateOrganizationMetadata",
145
+ readonly I: typeof UpdateOrganizationMetadataRequest,
146
+ readonly O: typeof UpdateOrganizationMetadataResponse,
147
+ readonly kind: MethodKind.Unary,
148
+ },
127
149
  /**
128
150
  * List all members of an organization and all invited members to the organization.
129
151
  *
@@ -369,6 +391,28 @@ export declare const AppService: {
369
391
  readonly O: typeof DeleteLocationResponse,
370
392
  readonly kind: MethodKind.Unary,
371
393
  },
394
+ /**
395
+ * Get user-defined metadata for a location
396
+ *
397
+ * @generated from rpc viam.app.v1.AppService.GetLocationMetadata
398
+ */
399
+ readonly getLocationMetadata: {
400
+ readonly name: "GetLocationMetadata",
401
+ readonly I: typeof GetLocationMetadataRequest,
402
+ readonly O: typeof GetLocationMetadataResponse,
403
+ readonly kind: MethodKind.Unary,
404
+ },
405
+ /**
406
+ * Update user-defined metadata for a location
407
+ *
408
+ * @generated from rpc viam.app.v1.AppService.UpdateLocationMetadata
409
+ */
410
+ readonly updateLocationMetadata: {
411
+ readonly name: "UpdateLocationMetadata",
412
+ readonly I: typeof UpdateLocationMetadataRequest,
413
+ readonly O: typeof UpdateLocationMetadataResponse,
414
+ readonly kind: MethodKind.Unary,
415
+ },
372
416
  /**
373
417
  * Get a list of locations
374
418
  *
@@ -447,6 +491,28 @@ export declare const AppService: {
447
491
  readonly O: typeof GetRobotResponse,
448
492
  readonly kind: MethodKind.Unary,
449
493
  },
494
+ /**
495
+ * Get user-defined metadata for a robot
496
+ *
497
+ * @generated from rpc viam.app.v1.AppService.GetRobotMetadata
498
+ */
499
+ readonly getRobotMetadata: {
500
+ readonly name: "GetRobotMetadata",
501
+ readonly I: typeof GetRobotMetadataRequest,
502
+ readonly O: typeof GetRobotMetadataResponse,
503
+ readonly kind: MethodKind.Unary,
504
+ },
505
+ /**
506
+ * Update user-defined metadata for an robot
507
+ *
508
+ * @generated from rpc viam.app.v1.AppService.UpdateRobotMetadata
509
+ */
510
+ readonly updateRobotMetadata: {
511
+ readonly name: "UpdateRobotMetadata",
512
+ readonly I: typeof UpdateRobotMetadataRequest,
513
+ readonly O: typeof UpdateRobotMetadataResponse,
514
+ readonly kind: MethodKind.Unary,
515
+ },
450
516
  /**
451
517
  * Get Rover Rental Location Robots
452
518
  *
@@ -540,6 +606,28 @@ export declare const AppService: {
540
606
  readonly O: typeof DeleteRobotPartResponse,
541
607
  readonly kind: MethodKind.Unary,
542
608
  },
609
+ /**
610
+ * Get user-defined metadata for a robot part
611
+ *
612
+ * @generated from rpc viam.app.v1.AppService.GetRobotPartMetadata
613
+ */
614
+ readonly getRobotPartMetadata: {
615
+ readonly name: "GetRobotPartMetadata",
616
+ readonly I: typeof GetRobotPartMetadataRequest,
617
+ readonly O: typeof GetRobotPartMetadataResponse,
618
+ readonly kind: MethodKind.Unary,
619
+ },
620
+ /**
621
+ * Update user-defined metadata for an robot part
622
+ *
623
+ * @generated from rpc viam.app.v1.AppService.UpdateRobotPartMetadata
624
+ */
625
+ readonly updateRobotPartMetadata: {
626
+ readonly name: "UpdateRobotPartMetadata",
627
+ readonly I: typeof UpdateRobotPartMetadataRequest,
628
+ readonly O: typeof UpdateRobotPartMetadataResponse,
629
+ readonly kind: MethodKind.Unary,
630
+ },
543
631
  /**
544
632
  * Gets the Robot API Keys for the robot
545
633
  *
@@ -710,6 +798,17 @@ export declare const AppService: {
710
798
  readonly O: typeof ListMachineFragmentsResponse,
711
799
  readonly kind: MethodKind.Unary,
712
800
  },
801
+ /**
802
+ * List all machines and their corresponding machine dashboard information
803
+ *
804
+ * @generated from rpc viam.app.v1.AppService.ListMachineSummaries
805
+ */
806
+ readonly listMachineSummaries: {
807
+ readonly name: "ListMachineSummaries",
808
+ readonly I: typeof ListMachineSummariesRequest,
809
+ readonly O: typeof ListMachineSummariesResponse,
810
+ readonly kind: MethodKind.Unary,
811
+ },
713
812
  /**
714
813
  * Gets fragment history
715
814
  *
@@ -962,6 +1061,15 @@ export declare const AppService: {
962
1061
  readonly O: typeof CreateKeyFromExistingKeyAuthorizationsResponse,
963
1062
  readonly kind: MethodKind.Unary,
964
1063
  },
1064
+ /**
1065
+ * @generated from rpc viam.app.v1.AppService.GetAppContent
1066
+ */
1067
+ readonly getAppContent: {
1068
+ readonly name: "GetAppContent",
1069
+ readonly I: typeof GetAppContentRequest,
1070
+ readonly O: typeof GetAppContentResponse,
1071
+ readonly kind: MethodKind.Unary,
1072
+ },
965
1073
  }
966
1074
  };
967
1075