@viamrobotics/sdk 0.73.0 → 0.74.0-b.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (126) hide show
  1. package/dist/api-version.d.ts +1 -1
  2. package/dist/app/app-client.d.ts +186 -254
  3. package/dist/app/billing-client.d.ts +6 -15
  4. package/dist/app/data-client.d.ts +175 -252
  5. package/dist/app/ml-training-client.d.ts +5 -5
  6. package/dist/app/provisioning-client.d.ts +2 -4
  7. package/dist/app/viam-client.d.ts +1 -1
  8. package/dist/app/viam-transport.d.ts +1 -4
  9. package/dist/assert.d.ts +2 -3
  10. package/dist/components/arm/arm.d.ts +2 -2
  11. package/dist/components/arm/client.d.ts +1 -1
  12. package/dist/components/audio-out/audio-out.d.ts +6 -7
  13. package/dist/components/audioin.d.ts +1 -1
  14. package/dist/components/audioout.d.ts +1 -1
  15. package/dist/components/base/base.d.ts +10 -11
  16. package/dist/components/board/board.d.ts +8 -15
  17. package/dist/components/board/client.d.ts +1 -1
  18. package/dist/components/camera/camera.d.ts +2 -4
  19. package/dist/components/camera/client.d.ts +2 -2
  20. package/dist/components/encoder/encoder.d.ts +4 -5
  21. package/dist/components/encoder.d.ts +1 -1
  22. package/dist/components/gantry/gantry.d.ts +7 -10
  23. package/dist/components/generic/generic.d.ts +1 -4
  24. package/dist/components/gripper/gripper.d.ts +1 -2
  25. package/dist/components/input-controller/input-controller.d.ts +5 -15
  26. package/dist/components/inputcontroller.d.ts +1 -1
  27. package/dist/components/motor/motor.d.ts +17 -19
  28. package/dist/components/movement-sensor/movement-sensor.d.ts +14 -42
  29. package/dist/components/pose-tracker/pose-tracker.d.ts +1 -4
  30. package/dist/components/power-sensor/power-sensor.d.ts +6 -20
  31. package/dist/components/switch/switch.d.ts +2 -3
  32. package/dist/debug.d.ts +7 -15
  33. package/dist/events.d.ts +12 -10
  34. package/dist/extra/stream/client.d.ts +12 -11
  35. package/dist/extra/stream/stream.d.ts +1 -1
  36. package/dist/gen/app/agent/v1/agent_connect.d.ts +1 -1
  37. package/dist/gen/app/build/v1/build_connect.d.ts +1 -1
  38. package/dist/gen/app/cloudslam/v1/cloud_slam_connect.d.ts +1 -1
  39. package/dist/gen/app/data/v1/data_connect.d.ts +1 -1
  40. package/dist/gen/app/datapipelines/v1/data_pipelines_connect.d.ts +1 -1
  41. package/dist/gen/app/dataset/v1/dataset_connect.d.ts +1 -1
  42. package/dist/gen/app/datasync/v1/data_sync_connect.d.ts +1 -1
  43. package/dist/gen/app/mlinference/v1/ml_inference_connect.d.ts +1 -1
  44. package/dist/gen/app/mltraining/v1/ml_training_connect.d.ts +1 -1
  45. package/dist/gen/app/packages/v1/packages_connect.d.ts +1 -1
  46. package/dist/gen/app/v1/app_connect.d.ts +38 -2
  47. package/dist/gen/app/v1/app_pb.d.ts +278 -1
  48. package/dist/gen/app/v1/billing_connect.d.ts +1 -1
  49. package/dist/gen/app/v1/end_user_connect.d.ts +1 -1
  50. package/dist/gen/app/v1/robot_connect.d.ts +1 -1
  51. package/dist/gen/component/arm/v1/arm_connect.d.ts +1 -1
  52. package/dist/gen/component/audioin/v1/audioin_connect.d.ts +1 -1
  53. package/dist/gen/component/audioout/v1/audioout_connect.d.ts +1 -1
  54. package/dist/gen/component/base/v1/base_connect.d.ts +1 -1
  55. package/dist/gen/component/board/v1/board_connect.d.ts +1 -1
  56. package/dist/gen/component/button/v1/button_connect.d.ts +1 -1
  57. package/dist/gen/component/camera/v1/camera_connect.d.ts +1 -1
  58. package/dist/gen/component/encoder/v1/encoder_connect.d.ts +1 -1
  59. package/dist/gen/component/gantry/v1/gantry_connect.d.ts +1 -1
  60. package/dist/gen/component/generic/v1/generic_connect.d.ts +1 -1
  61. package/dist/gen/component/gripper/v1/gripper_connect.d.ts +1 -1
  62. package/dist/gen/component/inputcontroller/v1/input_controller_connect.d.ts +1 -1
  63. package/dist/gen/component/motor/v1/motor_connect.d.ts +1 -1
  64. package/dist/gen/component/movementsensor/v1/movementsensor_connect.d.ts +1 -1
  65. package/dist/gen/component/posetracker/v1/pose_tracker_connect.d.ts +1 -1
  66. package/dist/gen/component/powersensor/v1/powersensor_connect.d.ts +1 -1
  67. package/dist/gen/component/sensor/v1/sensor_connect.d.ts +1 -1
  68. package/dist/gen/component/servo/v1/servo_connect.d.ts +1 -1
  69. package/dist/gen/component/switch/v1/switch_connect.d.ts +1 -1
  70. package/dist/gen/component/testecho/v1/testecho_connect.d.ts +1 -1
  71. package/dist/gen/google/bytestream/bytestream_connect.d.ts +1 -1
  72. package/dist/gen/google/iam/v1/iam_policy_connect.d.ts +1 -1
  73. package/dist/gen/google/longrunning/operations_connect.d.ts +1 -1
  74. package/dist/gen/grpc/reflection/v1/reflection_connect.d.ts +1 -1
  75. package/dist/gen/opentelemetry/proto/collector/logs/v1/logs_service_connect.d.ts +1 -1
  76. package/dist/gen/opentelemetry/proto/collector/metrics/v1/metrics_service_connect.d.ts +1 -1
  77. package/dist/gen/opentelemetry/proto/collector/profiles/v1development/profiles_service_connect.d.ts +1 -1
  78. package/dist/gen/opentelemetry/proto/collector/trace/v1/trace_service_connect.d.ts +1 -1
  79. package/dist/gen/proto/rpc/examples/echo/v1/echo_connect.d.ts +1 -1
  80. package/dist/gen/proto/rpc/examples/echoresource/v1/echoresource_connect.d.ts +1 -1
  81. package/dist/gen/proto/rpc/v1/auth_connect.d.ts +1 -1
  82. package/dist/gen/proto/rpc/webrtc/v1/signaling_connect.d.ts +1 -1
  83. package/dist/gen/provisioning/v1/provisioning_connect.d.ts +1 -1
  84. package/dist/gen/robot/v1/robot_connect.d.ts +1 -1
  85. package/dist/gen/robot/v1/robot_pb.d.ts +115 -0
  86. package/dist/gen/service/datamanager/v1/data_manager_connect.d.ts +1 -1
  87. package/dist/gen/service/discovery/v1/discovery_connect.d.ts +1 -1
  88. package/dist/gen/service/generic/v1/generic_connect.d.ts +1 -1
  89. package/dist/gen/service/mlmodel/v1/mlmodel_connect.d.ts +1 -1
  90. package/dist/gen/service/motion/v1/motion_connect.d.ts +1 -1
  91. package/dist/gen/service/navigation/v1/navigation_connect.d.ts +1 -1
  92. package/dist/gen/service/sensors/v1/sensors_connect.d.ts +1 -1
  93. package/dist/gen/service/shell/v1/shell_connect.d.ts +1 -1
  94. package/dist/gen/service/slam/v1/slam_connect.d.ts +1 -1
  95. package/dist/gen/service/video/v1/video_connect.d.ts +1 -1
  96. package/dist/gen/service/vision/v1/vision_connect.d.ts +1 -1
  97. package/dist/gen/service/worldstatestore/v1/world_state_store_connect.d.ts +1 -1
  98. package/dist/gen/stream/v1/stream_connect.d.ts +1 -1
  99. package/dist/main.d.ts +11 -12
  100. package/dist/main.es.js +29098 -33211
  101. package/dist/main.umd.js +6 -7
  102. package/dist/robot/client.d.ts +59 -86
  103. package/dist/robot/dial.d.ts +7 -10
  104. package/dist/robot/robot.d.ts +29 -29
  105. package/dist/rpc/client-channel.d.ts +1 -1
  106. package/dist/rpc/client-stream.d.ts +4 -5
  107. package/dist/rpc/connection-closed-error.d.ts +1 -1
  108. package/dist/rpc/dial.d.ts +34 -41
  109. package/dist/rpc/signaling-exchange.d.ts +1 -1
  110. package/dist/rpc/stream-client-stream.d.ts +1 -1
  111. package/dist/rpc/unary-client-stream.d.ts +1 -1
  112. package/dist/services/data-manager/client.d.ts +5 -14
  113. package/dist/services/data-manager/data-manager.d.ts +1 -1
  114. package/dist/services/generic/client.d.ts +1 -1
  115. package/dist/services/generic/generic.d.ts +1 -2
  116. package/dist/services/motion/motion.d.ts +53 -78
  117. package/dist/services/navigation/client.d.ts +1 -1
  118. package/dist/services/navigation/navigation.d.ts +2 -4
  119. package/dist/services/slam/client.d.ts +1 -1
  120. package/dist/services/slam/slam.d.ts +4 -6
  121. package/dist/services/video/video.d.ts +2 -6
  122. package/dist/services/vision/vision.d.ts +13 -19
  123. package/dist/services/world-state-store/world-state-store.d.ts +6 -19
  124. package/dist/types.d.ts +5 -7
  125. package/dist/utils.d.ts +5 -5
  126. package/package.json +29 -29
@@ -1,9 +1,9 @@
1
- import { FieldMask, type JsonValue, type PartialMessage } from '@bufbuild/protobuf';
1
+ import { type FieldMask, type JsonValue, type PartialMessage } from '@bufbuild/protobuf';
2
2
  import { type Client, type Transport } from '@connectrpc/connect';
3
- import { BinaryID, CaptureMetadata, Filter, Index, IndexableCollection, Order, Sequence, SequenceResourceFilter, TabularDataSource, TabularDataSourceType, DeleteTabularFilter } from '../gen/app/data/v1/data_pb';
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';
4
4
  import { DataPipelinesService } from '../gen/app/datapipelines/v1/data_pipelines_connect';
5
- import { DataPipeline, DataPipelineRun } from '../gen/app/datapipelines/v1/data_pipelines_pb';
6
- import { DatasetType, type Dataset as PBDataset, type GetSequenceDatasetExportResponse } from '../gen/app/dataset/v1/dataset_pb';
5
+ import { type DataPipeline, type DataPipelineRun } from '../gen/app/datapipelines/v1/data_pipelines_pb';
6
+ import { type DatasetType, type Dataset as PBDataset, type GetSequenceDatasetExportResponse } from '../gen/app/dataset/v1/dataset_pb';
7
7
  export type FilterOptions = Partial<Filter> & {
8
8
  endTime?: Date;
9
9
  startTime?: Date;
@@ -32,30 +32,24 @@ interface TabularDataPoint {
32
32
  }
33
33
  /** Optional parameters for uploading files */
34
34
  export interface FileUploadOptions {
35
- /**
36
- * Optional type of the component associated with the file (for example,
37
- * "movement_sensor").
38
- */
35
+ /** Optional type of the component associated with the file (for example, "movement_sensor"). */
39
36
  componentType?: string;
40
37
  /** Optional name of the component associated with the file. */
41
38
  componentName?: string;
42
39
  /** Optional name of the method associated with the file. */
43
40
  methodName?: string;
44
41
  /**
45
- * Optional name of the file. The empty string `""` will be assigned as the
46
- * file name if one isn't provided.
42
+ * Optional name of the file. The empty string `""` will be assigned as the file name if one isn't
43
+ * provided.
47
44
  */
48
45
  fileName?: string;
49
46
  /**
50
- * Optional file extension. The empty string `""` will be assigned as the file
51
- * extension if one isn't provided. Files with a `.jpeg`, `.jpg`, or `.png`
52
- * extension will be saved to the **Images** tab.
47
+ * Optional file extension. The empty string `""` will be assigned as the file extension if one
48
+ * isn't provided. Files with a `.jpeg`, `.jpg`, or `.png` extension will be saved to the
49
+ * **Images** tab.
53
50
  */
54
51
  fileExtension?: string;
55
- /**
56
- * Optional list of tags to allow for tag-based filtering when retrieving
57
- * data.
58
- */
52
+ /** Optional list of tags to allow for tag-based filtering when retrieving data. */
59
53
  tags?: string[];
60
54
  /** Optional list of datasets to add the data to. */
61
55
  datasetIds?: string[];
@@ -65,19 +59,16 @@ export interface BinaryDataCaptureUploadOptions {
65
59
  /**
66
60
  * Optional MIME type of the binary data (for example, "image/jpeg").
67
61
  *
68
- * If provided, the backend will use this value. Otherwise, it may derive the
69
- * MIME type from the file extension.
62
+ * If provided, the backend will use this value. Otherwise, it may derive the MIME type from the
63
+ * file extension.
70
64
  */
71
65
  mimeType?: string;
72
66
  /**
73
- * Optional file extension of the binary data including the period, for
74
- * example ".jpg", ".png", or ".pcd".
67
+ * Optional file extension of the binary data including the period, for example ".jpg", ".png", or
68
+ * ".pcd".
75
69
  */
76
70
  fileExtension?: string;
77
- /**
78
- * Optional list of tags to allow for tag-based filtering when retrieving
79
- * data.
80
- */
71
+ /** Optional list of tags to allow for tag-based filtering when retrieving data. */
81
72
  tags?: string[];
82
73
  /** Optional list of dataset IDs to add the data to. */
83
74
  datasetIds?: string[];
@@ -104,7 +95,7 @@ export declare class DataClient {
104
95
  * 'rdk:component:sensor',
105
96
  * 'Readings',
106
97
  * new Date('2025-03-25'),
107
- * new Date('2024-03-27')
98
+ * new Date('2024-03-27'),
108
99
  * );
109
100
  * ```
110
101
  *
@@ -112,15 +103,11 @@ export declare class DataClient {
112
103
  * API](https://docs.viam.com/dev/reference/apis/data-client/#exporttabulardata).
113
104
  *
114
105
  * @param partId The ID of the part that owns the data
115
- * @param resourceName The name of the requested resource that captured the
116
- * data
117
- * @param resourceSubtype The subtype of the requested resource that captured
118
- * the data
106
+ * @param resourceName The name of the requested resource that captured the data
107
+ * @param resourceSubtype The subtype of the requested resource that captured the data
119
108
  * @param methodName The data capture method name
120
- * @param startTime Optional start time (`Date` object) for requesting a
121
- * specific range of data
122
- * @param endTime Optional end time (`Date` object) for requesting a specific
123
- * range of data
109
+ * @param startTime Optional start time (`Date` object) for requesting a specific range of data
110
+ * @param endTime Optional end time (`Date` object) for requesting a specific range of data
124
111
  * @returns An array of unified tabular data and metadata.
125
112
  */
126
113
  exportTabularData(partId: string, resourceName: string, resourceSubtype: string, methodName: string, startTime?: Date, endTime?: Date, additionalParams?: Record<string, JsonValue>): Promise<TabularDataPoint[]>;
@@ -132,7 +119,7 @@ export declare class DataClient {
132
119
  * ```ts
133
120
  * const data = await dataClient.tabularDataBySQL(
134
121
  * '123abc45-1234-5678-90ab-cdef12345678',
135
- * 'SELECT * FROM readings LIMIT 5'
122
+ * 'SELECT * FROM readings LIMIT 5',
136
123
  * );
137
124
  * ```
138
125
  *
@@ -164,7 +151,7 @@ export declare class DataClient {
164
151
  *
165
152
  * const data = await dataClient.tabularDataByMQL(
166
153
  * '123abc45-1234-5678-90ab-cdef12345678',
167
- * mqlQuery
154
+ * mqlQuery,
168
155
  * );
169
156
  * ```
170
157
  *
@@ -173,19 +160,18 @@ export declare class DataClient {
173
160
  *
174
161
  * @param organizationId The ID of the organization that owns the data
175
162
  * @param query The MQL query to run as a list of BSON documents
176
- * @param useRecentData Whether to query blob storage or your recent data
177
- * store. Defaults to false. Deprecated - use dataSource instead.
178
- * @param dataSource The data source to query. Defaults to the standard data
179
- * source.
163
+ * @param useRecentData Whether to query blob storage or your recent data store. Defaults to
164
+ * false. Deprecated - use dataSource instead.
165
+ * @param dataSource The data source to query. Defaults to the standard data source.
180
166
  * @param queryPrefixName Optional name of the query prefix.
181
167
  * @returns An array of data objects
182
168
  */
183
169
  tabularDataByMQL(organizationId: string, query: Uint8Array[] | Record<string, Date | JsonValue>[], useRecentData?: boolean, tabularDataSource?: TabularDataSource, queryPrefixName?: string): Promise<(Object | any[])[]>;
184
170
  /**
185
- * Filter and get a page of tabular data. The returned metadata might be empty
186
- * if the metadata index of the data is out of the bounds of the returned
187
- * metadata list. The data will be paginated into pages of `limit` items, and
188
- * the pagination ID will be included in the returned tuple.
171
+ * Filter and get a page of tabular data. The returned metadata might be empty if the metadata
172
+ * index of the data is out of the bounds of the returned metadata list. The data will be
173
+ * paginated into pages of `limit` items, and the pagination ID will be included in the returned
174
+ * tuple.
189
175
  *
190
176
  * @example
191
177
  *
@@ -195,27 +181,24 @@ export declare class DataClient {
195
181
  * componentName: 'sensor-1',
196
182
  * componentType: 'rdk:component:sensor',
197
183
  * } as Filter,
198
- * 5
184
+ * 5,
199
185
  * );
200
186
  * ```
201
187
  *
202
188
  * For more information, see [Data
203
189
  * API](https://docs.viam.com/dev/reference/apis/data-client/#tabulardatabyfilter).
204
190
  *
205
- * @param filter Optional `pb.Filter` specifying tabular data to retrieve. No
206
- * `filter` implies all tabular data.
207
- * @param limit The maximum number of entries to include in a page. Defaults
208
- * to 50 if unspecfied
191
+ * @param filter Optional `pb.Filter` specifying tabular data to retrieve. No `filter` implies all
192
+ * tabular data.
193
+ * @param limit The maximum number of entries to include in a page. Defaults to 50 if unspecfied
209
194
  * @param sortOrder The desired sort order of the data
210
- * @param last Optional string indicating the ID of the last-returned data. If
211
- * provided, the server will return the next data entries after the `last`
212
- * ID.
195
+ * @param last Optional string indicating the ID of the last-returned data. If provided, the
196
+ * server will return the next data entries after the `last` ID.
213
197
  * @param countOnly Whether to return only the total count of entries
214
- * @param includeInternalData Whether to retun internal data. Internal data is
215
- * used for Viam-specific data ingestion, like cloud SLAM. Defaults to
216
- * `false`.
217
- * @returns An array of data objects, the count (number of entries), and the
218
- * last-returned page ID.
198
+ * @param includeInternalData Whether to retun internal data. Internal data is used for
199
+ * Viam-specific data ingestion, like cloud SLAM. Defaults to `false`.
200
+ * @returns An array of data objects, the count (number of entries), and the last-returned page
201
+ * ID.
219
202
  */
220
203
  tabularDataByFilter(filter?: Filter, limit?: number, sortOrder?: Order, last?: string, countOnly?: boolean, includeInternalData?: boolean): Promise<{
221
204
  data: TabularData[];
@@ -223,10 +206,10 @@ export declare class DataClient {
223
206
  last: string;
224
207
  }>;
225
208
  /**
226
- * Filter and get a page of binary data. The returned metadata might be empty
227
- * if the metadata index of the data is out of the bounds of the returned
228
- * metadata list. The data will be paginated into pages of `limit` items, and
229
- * the pagination ID will be included in the returned tuple.
209
+ * Filter and get a page of binary data. The returned metadata might be empty if the metadata
210
+ * index of the data is out of the bounds of the returned metadata list. The data will be
211
+ * paginated into pages of `limit` items, and the pagination ID will be included in the returned
212
+ * tuple.
230
213
  *
231
214
  * @example
232
215
  *
@@ -236,29 +219,25 @@ export declare class DataClient {
236
219
  * componentName: 'camera-1',
237
220
  * componentType: 'rdk:component:camera',
238
221
  * } as Filter,
239
- * 1
222
+ * 1,
240
223
  * );
241
224
  * ```
242
225
  *
243
226
  * For more information, see [Data
244
227
  * API](https://docs.viam.com/dev/reference/apis/data-client/#binarydatabyfilter).
245
228
  *
246
- * @param filter Optional `pb.Filter` specifying binary data to retrieve. No
247
- * `filter` implies all binary data.
248
- * @param limit The maximum number of entries to include in a page. Defaults
249
- * to 50 if unspecfied
229
+ * @param filter Optional `pb.Filter` specifying binary data to retrieve. No `filter` implies all
230
+ * binary data.
231
+ * @param limit The maximum number of entries to include in a page. Defaults to 50 if unspecfied
250
232
  * @param sortOrder The desired sort order of the data
251
- * @param last Optional string indicating the ID of the last-returned data. If
252
- * provided, the server will return the next data entries after the `last`
253
- * ID.
254
- * @param includeBinary Whether to include binary file data with each
255
- * retrieved file
233
+ * @param last Optional string indicating the ID of the last-returned data. If provided, the
234
+ * server will return the next data entries after the `last` ID.
235
+ * @param includeBinary Whether to include binary file data with each retrieved file
256
236
  * @param countOnly Whether to return only the total count of entries
257
- * @param includeInternalData Whether to retun internal data. Internal data is
258
- * used for Viam-specific data ingestion, like cloud SLAM. Defaults to
259
- * `false`.
260
- * @returns An array of data objects, the count (number of entries), and the
261
- * last-returned page ID.
237
+ * @param includeInternalData Whether to retun internal data. Internal data is used for
238
+ * Viam-specific data ingestion, like cloud SLAM. Defaults to `false`.
239
+ * @returns An array of data objects, the count (number of entries), and the last-returned page
240
+ * ID.
262
241
  */
263
242
  binaryDataByFilter(filter?: Filter, limit?: number, sortOrder?: Order, last?: string, includeBinary?: boolean, countOnly?: boolean, includeInternalData?: boolean): Promise<{
264
243
  data: import("../gen/app/data/v1/data_pb").BinaryData[];
@@ -280,8 +259,7 @@ export declare class DataClient {
280
259
  * API](https://docs.viam.com/dev/reference/apis/data-client/#binarydatabyids).
281
260
  *
282
261
  * @param ids The IDs of the requested binary data
283
- * @param includeBinary Whether to include binary file data with each
284
- * retrieved file
262
+ * @param includeBinary Whether to include binary file data with each retrieved file
285
263
  * @returns An array of data objects
286
264
  */
287
265
  binaryDataByIds(ids: string[] | BinaryID[], includeBinary?: boolean): Promise<import("../gen/app/data/v1/data_pb").BinaryData[]>;
@@ -292,7 +270,7 @@ export declare class DataClient {
292
270
  *
293
271
  * ```ts
294
272
  * const signedUrl = await dataClient.createBinaryDataSignedURL(
295
- * 'ccb74b53-1235-4328-a4b9-91dff1915a50/x5vur1fmps/YAEzj5I1kTwtYsDdf4a7ctaJpGgKRHmnM9bJNVyblk52UpqmrnMVTITaBKZctKEh'
273
+ * 'ccb74b53-1235-4328-a4b9-91dff1915a50/x5vur1fmps/YAEzj5I1kTwtYsDdf4a7ctaJpGgKRHmnM9bJNVyblk52UpqmrnMVTITaBKZctKEh',
296
274
  * );
297
275
  * ```
298
276
  *
@@ -311,7 +289,7 @@ export declare class DataClient {
311
289
  * ```ts
312
290
  * const data = await dataClient.deleteTabularData(
313
291
  * '123abc45-1234-5678-90ab-cdef12345678',
314
- * 10
292
+ * 10,
315
293
  * );
316
294
  *
317
295
  * // Delete with additional filter constraints
@@ -321,7 +299,7 @@ export declare class DataClient {
321
299
  * {
322
300
  * locationIds: ['location-id'],
323
301
  * componentName: 'camera',
324
- * }
302
+ * },
325
303
  * );
326
304
  * ```
327
305
  *
@@ -329,12 +307,12 @@ export declare class DataClient {
329
307
  * API](https://docs.viam.com/dev/reference/apis/data-client/#deletetabulardata).
330
308
  *
331
309
  * @param organizationId The ID of organization to delete data from
332
- * @param deleteOlderThanDays Delete data that was captured more than this
333
- * many days ago. For example, a value of 10 deletes any data that was
334
- * captured more than 10 days ago. A value of 0 deletes all existing data.
335
- * @param filter Optional filter to further constrain which data is deleted.
336
- * If provided, only data matching the filter will be deleted. If omitted,
337
- * data is deleted based on organization_id and delete_older_than_days.
310
+ * @param deleteOlderThanDays Delete data that was captured more than this many days ago. For
311
+ * example, a value of 10 deletes any data that was captured more than 10 days ago. A value of 0
312
+ * deletes all existing data.
313
+ * @param filter Optional filter to further constrain which data is deleted. If provided, only
314
+ * data matching the filter will be deleted. If omitted, data is deleted based on
315
+ * organization_id and delete_older_than_days.
338
316
  * @returns The number of items deleted
339
317
  */
340
318
  deleteTabularData(organizationId: string, deleteOlderThanDays: number, filter?: PartialMessage<DeleteTabularFilter>): Promise<bigint>;
@@ -356,10 +334,9 @@ export declare class DataClient {
356
334
  * For more information, see [Data
357
335
  * API](https://docs.viam.com/dev/reference/apis/data-client/#deletebinarydatabyfilter).
358
336
  *
359
- * @param filter Optional `pb.Filter` specifying binary data to delete. No
360
- * `filter` implies all binary data.
361
- * @param includeInternalData Whether or not to delete internal data. Default
362
- * is true
337
+ * @param filter Optional `pb.Filter` specifying binary data to delete. No `filter` implies all
338
+ * binary data.
339
+ * @param includeInternalData Whether or not to delete internal data. Default is true
363
340
  * @returns The number of items deleted
364
341
  */
365
342
  deleteBinaryDataByFilter(filter?: Filter, includeInternalData?: boolean): Promise<bigint>;
@@ -391,15 +368,14 @@ export declare class DataClient {
391
368
  * ['tag1', 'tag2'],
392
369
  * [
393
370
  * 'ccb74b53-1235-4328-a4b9-91dff1915a50/x5vur1fmps/YAEzj5I1kTwtYsDdf4a7ctaJpGgKRHmnM9bJNVyblk52UpqmrnMVTITaBKZctKEh',
394
- * ]
371
+ * ],
395
372
  * );
396
373
  * ```
397
374
  *
398
375
  * For more information, see [Data
399
376
  * API](https://docs.viam.com/dev/reference/apis/data-client/#addtagstobinarydatabyids).
400
377
  *
401
- * @param tags The list of tags to add to specified binary data. Must be
402
- * non-empty.
378
+ * @param tags The list of tags to add to specified binary data. Must be non-empty.
403
379
  * @param ids The IDs of the data to be tagged. Must be non-empty.
404
380
  */
405
381
  addTagsToBinaryDataByIds(tags: string[], ids: string[] | BinaryID[]): Promise<void>;
@@ -415,7 +391,7 @@ export declare class DataClient {
415
391
  * {
416
392
  * componentName: 'camera-1',
417
393
  * } as Filter,
418
- * ]
394
+ * ],
419
395
  * );
420
396
  * ```
421
397
  *
@@ -423,8 +399,8 @@ export declare class DataClient {
423
399
  * API](https://docs.viam.com/dev/reference/apis/data-client/#addtagstobinarydatabyfilter).
424
400
  *
425
401
  * @param tags The tags to add to the data
426
- * @param filter Optional `pb.Filter` specifying binary data to add tags to.
427
- * No `filter` implies all binary data.
402
+ * @param filter Optional `pb.Filter` specifying binary data to add tags to. No `filter` implies
403
+ * all binary data.
428
404
  */
429
405
  addTagsToBinaryDataByFilter(tags: string[], filter?: Filter): Promise<void>;
430
406
  /**
@@ -437,15 +413,14 @@ export declare class DataClient {
437
413
  * ['tag1', 'tag2'],
438
414
  * [
439
415
  * 'ccb74b53-1235-4328-a4b9-91dff1915a50/x5vur1fmps/YAEzj5I1kTwtYsDdf4a7ctaJpGgKRHmnM9bJNVyblk52UpqmrnMVTITaBKZctKEh',
440
- * ]
416
+ * ],
441
417
  * );
442
418
  * ```
443
419
  *
444
420
  * For more information, see [Data
445
421
  * API](https://docs.viam.com/dev/reference/apis/data-client/#removetagsfrombinarydatabyids).
446
422
  *
447
- * @param tags List of tags to remove from specified binary data. Must be
448
- * non-empty.
423
+ * @param tags List of tags to remove from specified binary data. Must be non-empty.
449
424
  * @param ids The IDs of the data to be edited. Must be non-empty.
450
425
  * @returns The number of items deleted
451
426
  */
@@ -456,25 +431,21 @@ export declare class DataClient {
456
431
  * @example
457
432
  *
458
433
  * ```ts
459
- * const data = await dataClient.removeTagsFromBinaryDataByFilter(
460
- * ['tag1', 'tag2'],
461
- * {
462
- * componentName: 'camera-1',
463
- * componentType: 'rdk:component:camera',
464
- * organizationIds: ['123abc45-1234-5678-90ab-cdef12345678'],
465
- * startTime: new Date('2025-03-19'),
466
- * endTime: new Date('2025-03-20'),
467
- * } as Filter
468
- * );
434
+ * const data = await dataClient.removeTagsFromBinaryDataByFilter(['tag1', 'tag2'], {
435
+ * componentName: 'camera-1',
436
+ * componentType: 'rdk:component:camera',
437
+ * organizationIds: ['123abc45-1234-5678-90ab-cdef12345678'],
438
+ * startTime: new Date('2025-03-19'),
439
+ * endTime: new Date('2025-03-20'),
440
+ * } as Filter);
469
441
  * ```
470
442
  *
471
443
  * For more information, see [Data
472
444
  * API](https://docs.viam.com/dev/reference/apis/data-client/#removetagsfrombinarydatabyfilter).
473
445
  *
474
- * @param tags List of tags to remove from specified binary data. Must be
475
- * non-empty.
476
- * @param filter Optional `pb.Filter` specifying binary data to add tags to.
477
- * No `filter` implies all binary data.
446
+ * @param tags List of tags to remove from specified binary data. Must be non-empty.
447
+ * @param filter Optional `pb.Filter` specifying binary data to add tags to. No `filter` implies
448
+ * all binary data.
478
449
  * @returns The number of items deleted
479
450
  */
480
451
  removeTagsFromBinaryDataByFilter(tags: string[], filter?: Filter): Promise<bigint>;
@@ -492,8 +463,8 @@ export declare class DataClient {
492
463
  * For more information, see [Data
493
464
  * API](https://docs.viam.com/dev/reference/apis/data-client/#tagsbyfilter).
494
465
  *
495
- * @param filter Optional `pb.Filter` specifying what data to get tags from.
496
- * No `filter` implies all data.
466
+ * @param filter Optional `pb.Filter` specifying what data to get tags from. No `filter` implies
467
+ * all data.
497
468
  * @returns The list of tags
498
469
  */
499
470
  tagsByFilter(filter?: Filter): Promise<string[]>;
@@ -510,26 +481,21 @@ export declare class DataClient {
510
481
  * 0.3,
511
482
  * 0.6,
512
483
  * 0.6,
513
- * 0.4
484
+ * 0.4,
514
485
  * );
515
486
  * ```
516
487
  *
517
488
  * For more information, see [Data
518
489
  * API](https://docs.viam.com/dev/reference/apis/data-client/#addboundingboxtoimagebyid).
519
490
  *
520
- * @param {string | BinaryID} binaryId The ID of the image to add the bounding
521
- * box to
491
+ * @param {string | BinaryID} binaryId The ID of the image to add the bounding box to
522
492
  * @param {string} label A label for the bounding box
523
- * @param {number} xMinNormalized The min X value of the bounding box
524
- * normalized from 0 to 1
525
- * @param {number} yMinNormalized The min Y value of the bounding box
526
- * normalized from 0 to 1
527
- * @param {number} xMaxNormalized The max X value of the bounding box
528
- * normalized from 0 to 1
529
- * @param {number} yMaxNormalized The max Y value of the bounding box
530
- * normalized from 0 to 1
531
- * @param {number} [confidence] Model's confidence in a predicted bounding box
532
- * expressed as a normalized value from 0 to 1
493
+ * @param {number} xMinNormalized The min X value of the bounding box normalized from 0 to 1
494
+ * @param {number} yMinNormalized The min Y value of the bounding box normalized from 0 to 1
495
+ * @param {number} xMaxNormalized The max X value of the bounding box normalized from 0 to 1
496
+ * @param {number} yMaxNormalized The max Y value of the bounding box normalized from 0 to 1
497
+ * @param {number} [confidence] Model's confidence in a predicted bounding box expressed as a
498
+ * normalized value from 0 to 1
533
499
  * @returns The bounding box ID
534
500
  */
535
501
  addBoundingBoxToImageById(binaryId: string | BinaryID, label: string, xMinNormalized: number, yMinNormalized: number, xMaxNormalized: number, yMaxNormalized: number, confidence?: number): Promise<string>;
@@ -541,7 +507,7 @@ export declare class DataClient {
541
507
  * ```ts
542
508
  * await dataClient.removeBoundingBoxFromImageById(
543
509
  * 'ccb74b53-1235-4328-a4b9-91dff1915a50/x5vur1fmps/YAEzj5I1kTwtYsDdf4a7ctaJpGgKRHmnM9bJNVyblk52UpqmrnMVTITaBKZctKEh',
544
- * '5Z9ryhkW7ULaXROjJO6ghPYulNllnH20QImda1iZFroZpQbjahK6igQ1WbYigXED'
510
+ * '5Z9ryhkW7ULaXROjJO6ghPYulNllnH20QImda1iZFroZpQbjahK6igQ1WbYigXED',
545
511
  * );
546
512
  * ```
547
513
  *
@@ -570,20 +536,16 @@ export declare class DataClient {
570
536
  * );
571
537
  * ```
572
538
  *
573
- * @param {string | BinaryID} binaryId The ID of the image that the target
574
- * bounding box is attached to
539
+ * @param {string | BinaryID} binaryId The ID of the image that the target bounding box is
540
+ * attached to
575
541
  * @param {string} bboxId The ID of the bounding box
576
542
  * @param {string} [label] A label for the bounding box
577
- * @param {number} [xMinNormalized] The min X value of the bounding box
578
- * normalized from 0 to 1
579
- * @param {number} [yMinNormalized] The min Y value of the bounding box
580
- * normalized from 0 to 1
581
- * @param {number} [xMaxNormalized] The max X value of the bounding box
582
- * normalized from 0 to 1
583
- * @param {number} [yMaxNormalized] The max Y value of the bounding box
584
- * normalized from 0 to 1
585
- * @param {number} [confidence] Model's confidence in a predicted bounding box
586
- * expressed as a normalized value from 0 to 1
543
+ * @param {number} [xMinNormalized] The min X value of the bounding box normalized from 0 to 1
544
+ * @param {number} [yMinNormalized] The min Y value of the bounding box normalized from 0 to 1
545
+ * @param {number} [xMaxNormalized] The max X value of the bounding box normalized from 0 to 1
546
+ * @param {number} [yMaxNormalized] The max Y value of the bounding box normalized from 0 to 1
547
+ * @param {number} [confidence] Model's confidence in a predicted bounding box expressed as a
548
+ * normalized value from 0 to 1
587
549
  */
588
550
  updateBoundingBox(binaryId: string | BinaryID, bboxId: string, label: string, xMinNormalized: number, yMinNormalized: number, xMaxNormalized: number, yMaxNormalized: number, confidence?: number): Promise<void>;
589
551
  /**
@@ -600,22 +562,21 @@ export declare class DataClient {
600
562
  * For more information, see [Data
601
563
  * API](https://docs.viam.com/dev/reference/apis/data-client/#boundingboxlabelsbyfilter).
602
564
  *
603
- * @param filter Optional `pb.Filter` specifying what data to get tags from.
604
- * No `filter` implies all labels.
565
+ * @param filter Optional `pb.Filter` specifying what data to get tags from. No `filter` implies
566
+ * all labels.
605
567
  * @returns The list of bounding box labels
606
568
  */
607
569
  boundingBoxLabelsByFilter(filter?: Filter): Promise<string[]>;
608
570
  /**
609
- * Configure a database user for the Viam organization's MongoDB Atlas Data
610
- * Federation instance. It can also be used to reset the password of the
611
- * existing database user.
571
+ * Configure a database user for the Viam organization's MongoDB Atlas Data Federation instance.
572
+ * It can also be used to reset the password of the existing database user.
612
573
  *
613
574
  * @example
614
575
  *
615
576
  * ```ts
616
577
  * await dataClient.configureDatabaseUser(
617
578
  * '123abc45-1234-5678-90ab-cdef12345678',
618
- * 'Password01!'
579
+ * 'Password01!',
619
580
  * );
620
581
  * ```
621
582
  *
@@ -633,7 +594,7 @@ export declare class DataClient {
633
594
  *
634
595
  * ```ts
635
596
  * const hostname = await dataClient.getDatabaseConnection(
636
- * '123abc45-1234-5678-90ab-cdef12345678'
597
+ * '123abc45-1234-5678-90ab-cdef12345678',
637
598
  * );
638
599
  * ```
639
600
  *
@@ -654,7 +615,7 @@ export declare class DataClient {
654
615
  * [
655
616
  * 'ccb74b53-1235-4328-a4b9-91dff1915a50/x5vur1fmps/YAEzj5I1kTwtYsDdf4a7ctaJpGgKRHmnM9bJNVyblk52UpqmrnMVTITaBKZctKEh',
656
617
  * ],
657
- * '12ab3de4f56a7bcd89ef0ab1'
618
+ * '12ab3de4f56a7bcd89ef0ab1',
658
619
  * );
659
620
  * ```
660
621
  *
@@ -675,7 +636,7 @@ export declare class DataClient {
675
636
  * [
676
637
  * 'ccb74b53-1235-4328-a4b9-91dff1915a50/x5vur1fmps/YAEzj5I1kTwtYsDdf4a7ctaJpGgKRHmnM9bJNVyblk52UpqmrnMVTITaBKZctKEh',
677
638
  * ],
678
- * '12ab3de4f56a7bcd89ef0ab1'
639
+ * '12ab3de4f56a7bcd89ef0ab1',
679
640
  * );
680
641
  * ```
681
642
  *
@@ -694,7 +655,7 @@ export declare class DataClient {
694
655
  * ```ts
695
656
  * const datasetId = await dataClient.createDataset(
696
657
  * 'my-new-dataset',
697
- * '123abc45-1234-5678-90ab-cdef12345678'
658
+ * '123abc45-1234-5678-90ab-cdef12345678',
698
659
  * );
699
660
  * ```
700
661
  *
@@ -702,8 +663,7 @@ export declare class DataClient {
702
663
  * API](https://docs.viam.com/dev/reference/apis/data-client/#createdataset).
703
664
  *
704
665
  * @param name The name of the new dataset
705
- * @param organizationId The ID of the organization the dataset is being
706
- * created in
666
+ * @param organizationId The ID of the organization the dataset is being created in
707
667
  * @returns The ID of the dataset
708
668
  */
709
669
  createDataset(name: string, organizationId: string): Promise<string>;
@@ -728,10 +688,7 @@ export declare class DataClient {
728
688
  * @example
729
689
  *
730
690
  * ```ts
731
- * await dataClient.renameDataset(
732
- * '12ab3de4f56a7bcd89ef0ab1',
733
- * 'my-new-dataset'
734
- * );
691
+ * await dataClient.renameDataset('12ab3de4f56a7bcd89ef0ab1', 'my-new-dataset');
735
692
  * ```
736
693
  *
737
694
  * For more information, see [Data
@@ -748,7 +705,7 @@ export declare class DataClient {
748
705
  *
749
706
  * ```ts
750
707
  * const datasets = await dataClient.listDatasetsByOrganizationID(
751
- * '123abc45-1234-5678-90ab-cdef12345678'
708
+ * '123abc45-1234-5678-90ab-cdef12345678',
752
709
  * );
753
710
  * ```
754
711
  *
@@ -766,9 +723,7 @@ export declare class DataClient {
766
723
  * @example
767
724
  *
768
725
  * ```ts
769
- * const datasets = await dataClient.listDatasetsByIds([
770
- * '12ab3de4f56a7bcd89ef0ab1',
771
- * ]);
726
+ * const datasets = await dataClient.listDatasetsByIds(['12ab3de4f56a7bcd89ef0ab1']);
772
727
  * ```
773
728
  *
774
729
  * For more information, see [Data
@@ -781,10 +736,9 @@ export declare class DataClient {
781
736
  /**
782
737
  * Uploads the content and metadata for tabular data.
783
738
  *
784
- * Upload tabular data collected on a robot through a specific component (for
785
- * example, a motor) along with the relevant metadata to app.viam.com. Tabular
786
- * data can be found under the "Sensors" subtab of the Data tab on
787
- * app.viam.com.
739
+ * Upload tabular data collected on a robot through a specific component (for example, a motor)
740
+ * along with the relevant metadata to app.viam.com. Tabular data can be found under the "Sensors"
741
+ * subtab of the Data tab on app.viam.com.
788
742
  *
789
743
  * @example
790
744
  *
@@ -802,42 +756,33 @@ export declare class DataClient {
802
756
  * 'rdk:component:sensor',
803
757
  * 'my-sensor',
804
758
  * 'Readings',
805
- * [
806
- * [
807
- * new Date('2025-03-26T10:00:00Z'),
808
- * new Date('2025-03-26T10:00:00Z'),
809
- * ],
810
- * ]
759
+ * [[new Date('2025-03-26T10:00:00Z'), new Date('2025-03-26T10:00:00Z')]],
811
760
  * );
812
761
  * ```
813
762
  *
814
763
  * For more information, see [Data
815
764
  * API](https://docs.viam.com/dev/reference/apis/data-client/#tabulardatacaptureupload).
816
765
  *
817
- * @param tabularData The list of data to be uploaded, represented tabularly
818
- * as an array.
766
+ * @param tabularData The list of data to be uploaded, represented tabularly as an array.
819
767
  * @param partId The part ID of the component used to capture the data
820
- * @param componentType The type of the component used to capture the data
821
- * (for example, "movementSensor")
768
+ * @param componentType The type of the component used to capture the data (for example,
769
+ * "movementSensor")
822
770
  * @param componentName The name of the component used to capture the data
823
771
  * @param methodName The name of the method used to capture the data.
824
- * @param tags The list of tags to allow for tag-based filtering when
825
- * retrieving data
826
- * @param dataRequestTimes Array of Date tuples, each containing two `Date`
827
- * objects denoting the times this data was requested[0] by the robot and
828
- * received[1] from the appropriate sensor. Passing a list of tabular data
829
- * and Timestamps with length n > 1 will result in n datapoints being
830
- * uploaded, all tied to the same metadata.
772
+ * @param tags The list of tags to allow for tag-based filtering when retrieving data
773
+ * @param dataRequestTimes Array of Date tuples, each containing two `Date` objects denoting the
774
+ * times this data was requested[0] by the robot and received[1] from the appropriate sensor.
775
+ * Passing a list of tabular data and Timestamps with length n > 1 will result in n datapoints
776
+ * being uploaded, all tied to the same metadata.
831
777
  * @returns The file ID of the uploaded data
832
778
  */
833
779
  tabularDataCaptureUpload(tabularData: Record<string, JsonValue>[], partId: string, componentType: string, componentName: string, methodName: string, dataRequestTimes: [Date, Date][], tags?: string[]): Promise<string>;
834
780
  /**
835
781
  * Uploads the content and metadata for binary data.
836
782
  *
837
- * Upload binary data collected on a robot through a specific component (for
838
- * example, a motor) along with the relevant metadata to app.viam.com. binary
839
- * data can be found under the "Sensors" subtab of the Data tab on
840
- * app.viam.com.
783
+ * Upload binary data collected on a robot through a specific component (for example, a motor)
784
+ * along with the relevant metadata to app.viam.com. binary data can be found under the "Sensors"
785
+ * subtab of the Data tab on app.viam.com.
841
786
  *
842
787
  * @example
843
788
  *
@@ -849,7 +794,7 @@ export declare class DataClient {
849
794
  * 'my-camera',
850
795
  * 'ReadImage',
851
796
  * [new Date('2025-03-19'), new Date('2025-03-19')],
852
- * { mimeType: 'image/jpeg' }
797
+ * { mimeType: 'image/jpeg' },
853
798
  * );
854
799
  * ```
855
800
  *
@@ -858,36 +803,30 @@ export declare class DataClient {
858
803
  *
859
804
  * @param binaryData The data to be uploaded, represented in bytes
860
805
  * @param partId The part ID of the component used to capture the data
861
- * @param componentType The type of the component used to capture the data
862
- * (for example, "movementSensor")
806
+ * @param componentType The type of the component used to capture the data (for example,
807
+ * "movementSensor")
863
808
  * @param componentName The name of the component used to capture the data
864
809
  * @param methodName The name of the method used to capture the data.
865
- * @param dataRequestTimes Tuple containing `Date` objects denoting the times
866
- * this data was requested[0] by the robot and received[1] from the
867
- * appropriate sensor.
868
- * @param options Optional parameters including `mimeType`, `fileExtension`,
869
- * `tags`, and `datasetIds`.
810
+ * @param dataRequestTimes Tuple containing `Date` objects denoting the times this data was
811
+ * requested[0] by the robot and received[1] from the appropriate sensor.
812
+ * @param options Optional parameters including `mimeType`, `fileExtension`, `tags`, and
813
+ * `datasetIds`.
870
814
  * @returns The binary data ID of the uploaded data
871
815
  */
872
816
  binaryDataCaptureUpload(binaryData: Uint8Array, partId: string, componentType: string, componentName: string, methodName: string, dataRequestTimes: [Date, Date], options?: BinaryDataCaptureUploadOptions): Promise<string>;
873
817
  /**
874
818
  * Upload arbitrary file data.
875
819
  *
876
- * Upload file data that may be stored on a robot along with the relevant
877
- * metadata. File data can be found in the **Files** tab of the **DATA**
878
- * page.
820
+ * Upload file data that may be stored on a robot along with the relevant metadata. File data can
821
+ * be found in the **Files** tab of the **DATA** page.
879
822
  *
880
823
  * @example
881
824
  *
882
825
  * ```ts
883
- * const binaryDataId = await dataClient.fileUpload(
884
- * binaryData,
885
- * 'INSERT YOUR PART ID',
886
- * {
887
- * fileExtension: '.jpeg',
888
- * tags: ['tag_1', 'tag_2'],
889
- * }
890
- * );
826
+ * const binaryDataId = await dataClient.fileUpload(binaryData, 'INSERT YOUR PART ID', {
827
+ * fileExtension: '.jpeg',
828
+ * tags: ['tag_1', 'tag_2'],
829
+ * });
891
830
  * ```
892
831
  *
893
832
  * For more information, see [Data
@@ -900,8 +839,7 @@ export declare class DataClient {
900
839
  */
901
840
  fileUpload(binaryData: Uint8Array, partId: string, options?: FileUploadOptions): Promise<string>;
902
841
  /**
903
- * Create an async generator of FileUploadRequests to use with FileUpload
904
- * methods.
842
+ * Create an async generator of FileUploadRequests to use with FileUpload methods.
905
843
  *
906
844
  * @param metadata The file's metadata
907
845
  * @param data The binary data of the file
@@ -909,8 +847,8 @@ export declare class DataClient {
909
847
  private static fileUploadRequests;
910
848
  static createFilter(options: FilterOptions): Filter;
911
849
  /**
912
- * Gets the most recent tabular data captured from the specified data source,
913
- * as long as it was synced within the last year.
850
+ * Gets the most recent tabular data captured from the specified data source, as long as it was
851
+ * synced within the last year.
914
852
  *
915
853
  * @example
916
854
  *
@@ -919,7 +857,7 @@ export declare class DataClient {
919
857
  * '123abc45-1234-5678-90ab-cdef12345678',
920
858
  * 'my-sensor',
921
859
  * 'rdk:component:sensor',
922
- * 'Readings'
860
+ * 'Readings',
923
861
  * );
924
862
  * ```
925
863
  *
@@ -927,14 +865,12 @@ export declare class DataClient {
927
865
  * API](https://docs.viam.com/dev/reference/apis/data-client/#getlatesttabulardata).
928
866
  *
929
867
  * @param partId The ID of the part that owns the data
930
- * @param resourceName The name of the requested resource that captured the
931
- * data. Ex: "my-sensor"
932
- * @param resourceSubtype The subtype of the requested resource that captured
933
- * the data. Ex: "rdk:component:sensor"
868
+ * @param resourceName The name of the requested resource that captured the data. Ex: "my-sensor"
869
+ * @param resourceSubtype The subtype of the requested resource that captured the data. Ex:
870
+ * "rdk:component:sensor"
934
871
  * @param methodName The data capture method name. Ex: "Readings"
935
- * @returns A tuple containing [timeCaptured, timeSynced, payload] or null if
936
- * no data has been synced for the specified resource OR the most recently
937
- * captured data was over a year ago
872
+ * @returns A tuple containing [timeCaptured, timeSynced, payload] or null if no data has been
873
+ * synced for the specified resource OR the most recently captured data was over a year ago
938
874
  */
939
875
  getLatestTabularData(partId: string, resourceName: string, resourceSubtype: string, methodName: string, additionalParams?: Record<string, JsonValue>): Promise<[Date, Date, Record<string, JsonValue>] | null>;
940
876
  /**
@@ -944,7 +880,7 @@ export declare class DataClient {
944
880
  *
945
881
  * ```ts
946
882
  * const pipelines = await dataClient.listDataPipelines(
947
- * '123abc45-1234-5678-90ab-cdef12345678'
883
+ * '123abc45-1234-5678-90ab-cdef12345678',
948
884
  * );
949
885
  * ```
950
886
  *
@@ -958,9 +894,7 @@ export declare class DataClient {
958
894
  * @example
959
895
  *
960
896
  * ```ts
961
- * const pipeline = await dataClient.getPipeline(
962
- * '123abc45-1234-5678-90ab-cdef12345678'
963
- * );
897
+ * const pipeline = await dataClient.getPipeline('123abc45-1234-5678-90ab-cdef12345678');
964
898
  * ```
965
899
  *
966
900
  * @param pipelineId The ID of the data pipeline
@@ -1010,9 +944,7 @@ export declare class DataClient {
1010
944
  * @example
1011
945
  *
1012
946
  * ```ts
1013
- * await dataClient.deleteDataPipeline(
1014
- * '123abc45-1234-5678-90ab-cdef12345678'
1015
- * );
947
+ * await dataClient.deleteDataPipeline('123abc45-1234-5678-90ab-cdef12345678');
1016
948
  * ```
1017
949
  *
1018
950
  * @param pipelineId The ID of the data pipeline
@@ -1024,9 +956,7 @@ export declare class DataClient {
1024
956
  * @example
1025
957
  *
1026
958
  * ```ts
1027
- * const page = await dataClient.listDataPipelineRuns(
1028
- * '123abc45-1234-5678-90ab-cdef12345678'
1029
- * );
959
+ * const page = await dataClient.listDataPipelineRuns('123abc45-1234-5678-90ab-cdef12345678');
1030
960
  * page.runs.forEach((run) => {
1031
961
  * console.log(run);
1032
962
  * });
@@ -1050,16 +980,14 @@ export declare class DataClient {
1050
980
  * await dataClient.createIndex(
1051
981
  * '123abc45-1234-5678-90ab-cdef12345678',
1052
982
  * IndexableCollection.HOT_STORE,
1053
- * [new TextEncoder().encode(JSON.stringify({ field: 1 }))]
983
+ * [new TextEncoder().encode(JSON.stringify({ field: 1 }))],
1054
984
  * );
1055
985
  * ```
1056
986
  *
1057
987
  * @param organizationId The ID of the organization
1058
988
  * @param collectionType The type of collection to create the index on
1059
- * @param indexSpec The MongoDB index specification in JSON format, as a
1060
- * Uint8Array
1061
- * @param pipelineName Optional name of the pipeline if collectionType is
1062
- * PIPELINE_SINK
989
+ * @param indexSpec The MongoDB index specification in JSON format, as a Uint8Array
990
+ * @param pipelineName Optional name of the pipeline if collectionType is PIPELINE_SINK
1063
991
  */
1064
992
  createIndex(organizationId: string, collectionType: IndexableCollection, indexSpec: {
1065
993
  keys: Record<string, number>;
@@ -1073,14 +1001,13 @@ export declare class DataClient {
1073
1001
  * ```ts
1074
1002
  * const indexes = await dataClient.listIndexes(
1075
1003
  * '123abc45-1234-5678-90ab-cdef12345678',
1076
- * IndexableCollection.HOT_STORE
1004
+ * IndexableCollection.HOT_STORE,
1077
1005
  * );
1078
1006
  * ```
1079
1007
  *
1080
1008
  * @param organizationId The ID of the organization
1081
1009
  * @param collectionType The type of collection to list indexes for
1082
- * @param pipelineName Optional name of the pipeline if collectionType is
1083
- * PIPELINE_SINK
1010
+ * @param pipelineName Optional name of the pipeline if collectionType is PIPELINE_SINK
1084
1011
  * @returns An array of indexes
1085
1012
  */
1086
1013
  listIndexes(organizationId: string, collectionType: IndexableCollection, pipelineName?: string): Promise<Index[]>;
@@ -1093,15 +1020,14 @@ export declare class DataClient {
1093
1020
  * await dataClient.deleteIndex(
1094
1021
  * '123abc45-1234-5678-90ab-cdef12345678',
1095
1022
  * IndexableCollection.HOT_STORE,
1096
- * 'my_index'
1023
+ * 'my_index',
1097
1024
  * );
1098
1025
  * ```
1099
1026
  *
1100
1027
  * @param organizationId The ID of the organization
1101
1028
  * @param collectionType The type of collection to delete the index from
1102
1029
  * @param indexName The name of the index to delete
1103
- * @param pipelineName Optional name of the pipeline if collectionType is
1104
- * PIPELINE_SINK
1030
+ * @param pipelineName Optional name of the pipeline if collectionType is PIPELINE_SINK
1105
1031
  */
1106
1032
  deleteIndex(organizationId: string, collectionType: IndexableCollection, indexName: string, pipelineName?: string): Promise<void>;
1107
1033
  /**
@@ -1120,7 +1046,7 @@ export declare class DataClient {
1120
1046
  * ],
1121
1047
  * ['tag1', 'tag2'],
1122
1048
  * new Date('2025-01-01'),
1123
- * new Date('2025-12-31')
1049
+ * new Date('2025-12-31'),
1124
1050
  * );
1125
1051
  * ```
1126
1052
  *
@@ -1163,7 +1089,7 @@ export declare class DataClient {
1163
1089
  * ['tag1'],
1164
1090
  * new Date('2025-01-01'),
1165
1091
  * new Date('2025-12-31'),
1166
- * { paths: ['resources', 'sequence_tags'] }
1092
+ * { paths: ['resources', 'sequence_tags'] },
1167
1093
  * );
1168
1094
  * ```
1169
1095
  *
@@ -1194,7 +1120,7 @@ export declare class DataClient {
1194
1120
  *
1195
1121
  * ```ts
1196
1122
  * const { sequences, nextPageToken } = await dataClient.listSequences(
1197
- * '123abc45-1234-5678-90ab-cdef12345678'
1123
+ * '123abc45-1234-5678-90ab-cdef12345678',
1198
1124
  * );
1199
1125
  * ```
1200
1126
  *
@@ -1215,7 +1141,7 @@ export declare class DataClient {
1215
1141
  * ```ts
1216
1142
  * await dataClient.addSequencesToDataset(
1217
1143
  * ['sequence-id-1', 'sequence-id-2'],
1218
- * '12ab3de4f56a7bcd89ef0ab1'
1144
+ * '12ab3de4f56a7bcd89ef0ab1',
1219
1145
  * );
1220
1146
  * ```
1221
1147
  *
@@ -1231,7 +1157,7 @@ export declare class DataClient {
1231
1157
  * ```ts
1232
1158
  * await dataClient.removeSequencesFromDataset(
1233
1159
  * ['sequence-id-1', 'sequence-id-2'],
1234
- * '12ab3de4f56a7bcd89ef0ab1'
1160
+ * '12ab3de4f56a7bcd89ef0ab1',
1235
1161
  * );
1236
1162
  * ```
1237
1163
  *
@@ -1245,8 +1171,9 @@ export declare class DataClient {
1245
1171
  * @example
1246
1172
  *
1247
1173
  * ```ts
1248
- * const { sequences, nextPageToken } =
1249
- * await dataClient.sequencesByDatasetID('12ab3de4f56a7bcd89ef0ab1');
1174
+ * const { sequences, nextPageToken } = await dataClient.sequencesByDatasetID(
1175
+ * '12ab3de4f56a7bcd89ef0ab1',
1176
+ * );
1250
1177
  * ```
1251
1178
  *
1252
1179
  * @param datasetId The ID of the dataset
@@ -1264,9 +1191,7 @@ export declare class DataClient {
1264
1191
  * @example
1265
1192
  *
1266
1193
  * ```ts
1267
- * const jobId = await dataClient.startSequenceDatasetExport(
1268
- * '12ab3de4f56a7bcd89ef0ab1'
1269
- * );
1194
+ * const jobId = await dataClient.startSequenceDatasetExport('12ab3de4f56a7bcd89ef0ab1');
1270
1195
  * ```
1271
1196
  *
1272
1197
  * @param datasetId The ID of the sequence dataset to export
@@ -1300,9 +1225,7 @@ export declare class ListDataPipelineRunsPage {
1300
1225
  * @example
1301
1226
  *
1302
1227
  * ```ts
1303
- * const page = await dataClient.listDataPipelineRuns(
1304
- * '123abc45-1234-5678-90ab-cdef12345678'
1305
- * );
1228
+ * const page = await dataClient.listDataPipelineRuns('123abc45-1234-5678-90ab-cdef12345678');
1306
1229
  * const nextPage = await page.nextPage();
1307
1230
  * ```
1308
1231
  *