@viamrobotics/sdk 0.66.1 → 0.68.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.
- package/dist/api-version.d.ts +1 -1
- package/dist/app/data-client.d.ts +18 -11
- package/dist/gen/app/agent/v1/agent_pb.d.ts +14 -0
- package/dist/gen/app/build/v1/build_pb.d.ts +8 -0
- package/dist/gen/app/data/v1/data_pb.d.ts +67 -0
- package/dist/gen/app/v1/app_pb.d.ts +5 -0
- package/dist/gen/app/v1/end_user_pb.d.ts +7 -0
- package/dist/gen/common/v1/common_pb.d.ts +59 -0
- package/dist/gen/opentelemetry/proto/common/v1/common_pb.d.ts +35 -0
- package/dist/gen/opentelemetry/proto/logs/v1/logs_pb.d.ts +0 -2
- package/dist/gen/opentelemetry/proto/profiles/v1development/profiles_pb.d.ts +29 -14
- package/dist/main.d.ts +1 -1
- package/dist/main.es.js +3849 -3675
- package/dist/main.umd.js +7 -7
- package/dist/robot/client.d.ts +61 -4
- package/dist/rpc/dial.d.ts +7 -0
- package/dist/rpc/index.d.ts +2 -1
- package/package.json +1 -1
package/dist/api-version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const apiVersion = "v0.1.
|
|
1
|
+
export declare const apiVersion = "v0.1.530";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { type JsonValue } from '@bufbuild/protobuf';
|
|
1
|
+
import { 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, TabularDataSource, TabularDataSourceType } from '../gen/app/data/v1/data_pb';
|
|
3
|
+
import { BinaryID, CaptureMetadata, Filter, Index, IndexableCollection, Order, TabularDataSource, TabularDataSourceType, DeleteTabularFilter } from '../gen/app/data/v1/data_pb';
|
|
4
4
|
import { DataPipelinesService } from '../gen/app/datapipelines/v1/data_pipelines_connect';
|
|
5
5
|
import { DataPipeline, DataPipelineRun } from '../gen/app/datapipelines/v1/data_pipelines_pb';
|
|
6
6
|
import type { Dataset as PBDataset } from '../gen/app/dataset/v1/dataset_pb';
|
|
@@ -313,6 +313,16 @@ export declare class DataClient {
|
|
|
313
313
|
* '123abc45-1234-5678-90ab-cdef12345678',
|
|
314
314
|
* 10
|
|
315
315
|
* );
|
|
316
|
+
*
|
|
317
|
+
* // Delete with additional filter constraints
|
|
318
|
+
* const data = await dataClient.deleteTabularData(
|
|
319
|
+
* '123abc45-1234-5678-90ab-cdef12345678',
|
|
320
|
+
* 10,
|
|
321
|
+
* {
|
|
322
|
+
* locationIds: ['location-id'],
|
|
323
|
+
* componentName: 'camera',
|
|
324
|
+
* }
|
|
325
|
+
* );
|
|
316
326
|
* ```
|
|
317
327
|
*
|
|
318
328
|
* For more information, see [Data
|
|
@@ -320,12 +330,14 @@ export declare class DataClient {
|
|
|
320
330
|
*
|
|
321
331
|
* @param organizationId The ID of organization to delete data from
|
|
322
332
|
* @param deleteOlderThanDays Delete data that was captured more than this
|
|
323
|
-
* many days ago. For example
|
|
324
|
-
*
|
|
325
|
-
*
|
|
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.
|
|
326
338
|
* @returns The number of items deleted
|
|
327
339
|
*/
|
|
328
|
-
deleteTabularData(organizationId: string, deleteOlderThanDays: number): Promise<bigint>;
|
|
340
|
+
deleteTabularData(organizationId: string, deleteOlderThanDays: number, filter?: PartialMessage<DeleteTabularFilter>): Promise<bigint>;
|
|
329
341
|
/**
|
|
330
342
|
* Filter and delete binary data.
|
|
331
343
|
*
|
|
@@ -857,11 +869,6 @@ export declare class DataClient {
|
|
|
857
869
|
* @returns The binary data ID of the uploaded data
|
|
858
870
|
*/
|
|
859
871
|
binaryDataCaptureUpload(binaryData: Uint8Array, partId: string, componentType: string, componentName: string, methodName: string, dataRequestTimes: [Date, Date], options?: BinaryDataCaptureUploadOptions): Promise<string>;
|
|
860
|
-
/**
|
|
861
|
-
* @deprecated Use the overload that takes `(dataRequestTimes, options)` to
|
|
862
|
-
* provide `mimeType`, `fileExtension`, `tags`, and `datasetIds`.
|
|
863
|
-
*/
|
|
864
|
-
binaryDataCaptureUpload(binaryData: Uint8Array, partId: string, componentType: string, componentName: string, methodName: string, fileExtension: string, dataRequestTimes: [Date, Date], tags?: string[], datasetIds?: string[]): Promise<string>;
|
|
865
872
|
/**
|
|
866
873
|
* Upload arbitrary file data.
|
|
867
874
|
*
|
|
@@ -82,6 +82,20 @@ export declare class DeviceAgentConfigRequest extends Message<DeviceAgentConfigR
|
|
|
82
82
|
*/
|
|
83
83
|
versionInfo?: VersionInfo;
|
|
84
84
|
|
|
85
|
+
/**
|
|
86
|
+
* how long viam-agent has been running since its most recent start
|
|
87
|
+
*
|
|
88
|
+
* @generated from field: google.protobuf.Duration agent_uptime = 5;
|
|
89
|
+
*/
|
|
90
|
+
agentUptime?: Duration;
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* how long viam-server has been running since its most recent start (omitted if not running)
|
|
94
|
+
*
|
|
95
|
+
* @generated from field: google.protobuf.Duration viam_server_uptime = 6;
|
|
96
|
+
*/
|
|
97
|
+
viamServerUptime?: Duration;
|
|
98
|
+
|
|
85
99
|
constructor(data?: PartialMessage<DeviceAgentConfigRequest>);
|
|
86
100
|
|
|
87
101
|
static readonly runtime: typeof proto3;
|
|
@@ -88,6 +88,14 @@ export declare class StartBuildRequest extends Message<StartBuildRequest> {
|
|
|
88
88
|
*/
|
|
89
89
|
workdir?: string;
|
|
90
90
|
|
|
91
|
+
/**
|
|
92
|
+
* optional distro for linux platforms. defaults to bullseye.
|
|
93
|
+
* must be bookworm for cpp module builds.
|
|
94
|
+
*
|
|
95
|
+
* @generated from field: optional string distro = 8;
|
|
96
|
+
*/
|
|
97
|
+
distro?: string;
|
|
98
|
+
|
|
91
99
|
constructor(data?: PartialMessage<StartBuildRequest>);
|
|
92
100
|
|
|
93
101
|
static readonly runtime: typeof proto3;
|
|
@@ -1357,6 +1357,11 @@ export declare class BinaryMetadata extends Message<BinaryMetadata> {
|
|
|
1357
1357
|
*/
|
|
1358
1358
|
binaryDataId: string;
|
|
1359
1359
|
|
|
1360
|
+
/**
|
|
1361
|
+
* @generated from field: uint64 file_size_bytes = 11;
|
|
1362
|
+
*/
|
|
1363
|
+
fileSizeBytes: bigint;
|
|
1364
|
+
|
|
1360
1365
|
constructor(data?: PartialMessage<BinaryMetadata>);
|
|
1361
1366
|
|
|
1362
1367
|
static readonly runtime: typeof proto3;
|
|
@@ -1372,6 +1377,62 @@ export declare class BinaryMetadata extends Message<BinaryMetadata> {
|
|
|
1372
1377
|
static equals(a: BinaryMetadata | PlainMessage<BinaryMetadata> | undefined, b: BinaryMetadata | PlainMessage<BinaryMetadata> | undefined): boolean;
|
|
1373
1378
|
}
|
|
1374
1379
|
|
|
1380
|
+
/**
|
|
1381
|
+
* TabularFilter filters tabular data. All fields are optional; omitted fields are treated as unconstrained.
|
|
1382
|
+
*
|
|
1383
|
+
* @generated from message viam.app.data.v1.DeleteTabularFilter
|
|
1384
|
+
*/
|
|
1385
|
+
export declare class DeleteTabularFilter extends Message<DeleteTabularFilter> {
|
|
1386
|
+
/**
|
|
1387
|
+
* @generated from field: repeated string location_ids = 1;
|
|
1388
|
+
*/
|
|
1389
|
+
locationIds: string[];
|
|
1390
|
+
|
|
1391
|
+
/**
|
|
1392
|
+
* @generated from field: string robot_id = 2;
|
|
1393
|
+
*/
|
|
1394
|
+
robotId: string;
|
|
1395
|
+
|
|
1396
|
+
/**
|
|
1397
|
+
* @generated from field: string part_id = 3;
|
|
1398
|
+
*/
|
|
1399
|
+
partId: string;
|
|
1400
|
+
|
|
1401
|
+
/**
|
|
1402
|
+
* @generated from field: string component_type = 4;
|
|
1403
|
+
*/
|
|
1404
|
+
componentType: string;
|
|
1405
|
+
|
|
1406
|
+
/**
|
|
1407
|
+
* @generated from field: string component_name = 5;
|
|
1408
|
+
*/
|
|
1409
|
+
componentName: string;
|
|
1410
|
+
|
|
1411
|
+
/**
|
|
1412
|
+
* @generated from field: string method = 6;
|
|
1413
|
+
*/
|
|
1414
|
+
method: string;
|
|
1415
|
+
|
|
1416
|
+
/**
|
|
1417
|
+
* @generated from field: viam.app.data.v1.TagsFilter tags_filter = 7;
|
|
1418
|
+
*/
|
|
1419
|
+
tagsFilter?: TagsFilter;
|
|
1420
|
+
|
|
1421
|
+
constructor(data?: PartialMessage<DeleteTabularFilter>);
|
|
1422
|
+
|
|
1423
|
+
static readonly runtime: typeof proto3;
|
|
1424
|
+
static readonly typeName = "viam.app.data.v1.DeleteTabularFilter";
|
|
1425
|
+
static readonly fields: FieldList;
|
|
1426
|
+
|
|
1427
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteTabularFilter;
|
|
1428
|
+
|
|
1429
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteTabularFilter;
|
|
1430
|
+
|
|
1431
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteTabularFilter;
|
|
1432
|
+
|
|
1433
|
+
static equals(a: DeleteTabularFilter | PlainMessage<DeleteTabularFilter> | undefined, b: DeleteTabularFilter | PlainMessage<DeleteTabularFilter> | undefined): boolean;
|
|
1434
|
+
}
|
|
1435
|
+
|
|
1375
1436
|
/**
|
|
1376
1437
|
* DeleteTabularDataRequest deletes the data from the organization that is older than `delete_older_than_days`
|
|
1377
1438
|
* in UTC time. For example, if delete_older_than_days=1 and the request is made at 1AM EST on March 11
|
|
@@ -1379,6 +1440,7 @@ export declare class BinaryMetadata extends Message<BinaryMetadata> {
|
|
|
1379
1440
|
* If the request is at 10PM EST on March 11 (March 12 2AM UTC), this deletes all data captured
|
|
1380
1441
|
* through March 11 11:59:59PM UTC.
|
|
1381
1442
|
* If delete_older_than_days is 0, all existing data is deleted.
|
|
1443
|
+
* If no filter is provided, data will be deleted based on organization_id.
|
|
1382
1444
|
*
|
|
1383
1445
|
* @generated from message viam.app.data.v1.DeleteTabularDataRequest
|
|
1384
1446
|
*/
|
|
@@ -1393,6 +1455,11 @@ export declare class DeleteTabularDataRequest extends Message<DeleteTabularDataR
|
|
|
1393
1455
|
*/
|
|
1394
1456
|
deleteOlderThanDays: number;
|
|
1395
1457
|
|
|
1458
|
+
/**
|
|
1459
|
+
* @generated from field: optional viam.app.data.v1.DeleteTabularFilter filter = 3;
|
|
1460
|
+
*/
|
|
1461
|
+
filter?: DeleteTabularFilter;
|
|
1462
|
+
|
|
1396
1463
|
constructor(data?: PartialMessage<DeleteTabularDataRequest>);
|
|
1397
1464
|
|
|
1398
1465
|
static readonly runtime: typeof proto3;
|
|
@@ -8914,6 +8914,11 @@ export declare class OAuthConfig extends Message<OAuthConfig> {
|
|
|
8914
8914
|
*/
|
|
8915
8915
|
enabledGrants: EnabledGrant[];
|
|
8916
8916
|
|
|
8917
|
+
/**
|
|
8918
|
+
* @generated from field: string invite_redirect_uri = 8;
|
|
8919
|
+
*/
|
|
8920
|
+
inviteRedirectUri: string;
|
|
8921
|
+
|
|
8917
8922
|
constructor(data?: PartialMessage<OAuthConfig>);
|
|
8918
8923
|
|
|
8919
8924
|
static readonly runtime: typeof proto3;
|
|
@@ -36,6 +36,13 @@ export declare class IsLegalAcceptedResponse extends Message<IsLegalAcceptedResp
|
|
|
36
36
|
*/
|
|
37
37
|
acceptedLegal: boolean;
|
|
38
38
|
|
|
39
|
+
/**
|
|
40
|
+
* Whether the user has ever accepted any version of the legal terms.
|
|
41
|
+
*
|
|
42
|
+
* @generated from field: bool ever_accepted_legal = 2;
|
|
43
|
+
*/
|
|
44
|
+
everAcceptedLegal: boolean;
|
|
45
|
+
|
|
39
46
|
constructor(data?: PartialMessage<IsLegalAcceptedResponse>);
|
|
40
47
|
|
|
41
48
|
static readonly runtime: typeof proto3;
|
|
@@ -191,6 +191,60 @@ export declare class Orientation extends Message<Orientation> {
|
|
|
191
191
|
static equals(a: Orientation | PlainMessage<Orientation> | undefined, b: Orientation | PlainMessage<Orientation> | undefined): boolean;
|
|
192
192
|
}
|
|
193
193
|
|
|
194
|
+
/**
|
|
195
|
+
* @generated from message viam.common.v1.PoseCloud
|
|
196
|
+
*/
|
|
197
|
+
export declare class PoseCloud extends Message<PoseCloud> {
|
|
198
|
+
/**
|
|
199
|
+
* @generated from field: double x = 1;
|
|
200
|
+
*/
|
|
201
|
+
x: number;
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* @generated from field: double y = 2;
|
|
205
|
+
*/
|
|
206
|
+
y: number;
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* @generated from field: double z = 3;
|
|
210
|
+
*/
|
|
211
|
+
z: number;
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* @generated from field: double o_x = 4;
|
|
215
|
+
*/
|
|
216
|
+
oX: number;
|
|
217
|
+
|
|
218
|
+
/**
|
|
219
|
+
* @generated from field: double o_y = 5;
|
|
220
|
+
*/
|
|
221
|
+
oY: number;
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* @generated from field: double o_z = 6;
|
|
225
|
+
*/
|
|
226
|
+
oZ: number;
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* @generated from field: double theta = 7;
|
|
230
|
+
*/
|
|
231
|
+
theta: number;
|
|
232
|
+
|
|
233
|
+
constructor(data?: PartialMessage<PoseCloud>);
|
|
234
|
+
|
|
235
|
+
static readonly runtime: typeof proto3;
|
|
236
|
+
static readonly typeName = "viam.common.v1.PoseCloud";
|
|
237
|
+
static readonly fields: FieldList;
|
|
238
|
+
|
|
239
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PoseCloud;
|
|
240
|
+
|
|
241
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PoseCloud;
|
|
242
|
+
|
|
243
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PoseCloud;
|
|
244
|
+
|
|
245
|
+
static equals(a: PoseCloud | PlainMessage<PoseCloud> | undefined, b: PoseCloud | PlainMessage<PoseCloud> | undefined): boolean;
|
|
246
|
+
}
|
|
247
|
+
|
|
194
248
|
/**
|
|
195
249
|
* PoseInFrame contains a pose and the reference frame in which it was observed
|
|
196
250
|
*
|
|
@@ -207,6 +261,11 @@ export declare class PoseInFrame extends Message<PoseInFrame> {
|
|
|
207
261
|
*/
|
|
208
262
|
pose?: Pose;
|
|
209
263
|
|
|
264
|
+
/**
|
|
265
|
+
* @generated from field: optional viam.common.v1.PoseCloud goal_cloud = 3;
|
|
266
|
+
*/
|
|
267
|
+
goalCloud?: PoseCloud;
|
|
268
|
+
|
|
210
269
|
constructor(data?: PartialMessage<PoseInFrame>);
|
|
211
270
|
|
|
212
271
|
static readonly runtime: typeof proto3;
|
|
@@ -76,6 +76,23 @@ export declare class AnyValue extends Message<AnyValue> {
|
|
|
76
76
|
*/
|
|
77
77
|
value: Uint8Array;
|
|
78
78
|
case: "bytesValue";
|
|
79
|
+
} | {
|
|
80
|
+
/**
|
|
81
|
+
* Reference to the string value in ProfilesDictionary.string_table.
|
|
82
|
+
*
|
|
83
|
+
* Note: This is currently used exclusively in the Profiling signal.
|
|
84
|
+
* Implementers of OTLP receivers for signals other than Profiling should
|
|
85
|
+
* treat the presence of this value as a non-fatal issue.
|
|
86
|
+
* Log an error or warning indicating an unexpected field intended for the
|
|
87
|
+
* Profiling signal and process the data as if this value were absent or
|
|
88
|
+
* empty, ignoring its semantic content for the non-Profiling signal.
|
|
89
|
+
*
|
|
90
|
+
* Status: [Development]
|
|
91
|
+
*
|
|
92
|
+
* @generated from field: int32 string_value_strindex = 8;
|
|
93
|
+
*/
|
|
94
|
+
value: number;
|
|
95
|
+
case: "stringValueStrindex";
|
|
79
96
|
} | { case: undefined; value?: undefined };
|
|
80
97
|
|
|
81
98
|
constructor(data?: PartialMessage<AnyValue>);
|
|
@@ -168,6 +185,7 @@ export declare class KeyValueList extends Message<KeyValueList> {
|
|
|
168
185
|
export declare class KeyValue extends Message<KeyValue> {
|
|
169
186
|
/**
|
|
170
187
|
* The key name of the pair.
|
|
188
|
+
* key_ref MUST NOT be set if key is used.
|
|
171
189
|
*
|
|
172
190
|
* @generated from field: string key = 1;
|
|
173
191
|
*/
|
|
@@ -180,6 +198,23 @@ export declare class KeyValue extends Message<KeyValue> {
|
|
|
180
198
|
*/
|
|
181
199
|
value?: AnyValue;
|
|
182
200
|
|
|
201
|
+
/**
|
|
202
|
+
* Reference to the string key in ProfilesDictionary.string_table.
|
|
203
|
+
* key MUST NOT be set if key_strindex is used.
|
|
204
|
+
*
|
|
205
|
+
* Note: This is currently used exclusively in the Profiling signal.
|
|
206
|
+
* Implementers of OTLP receivers for signals other than Profiling should
|
|
207
|
+
* treat the presence of this key as a non-fatal issue.
|
|
208
|
+
* Log an error or warning indicating an unexpected field intended for the
|
|
209
|
+
* Profiling signal and process the data as if this value were absent or
|
|
210
|
+
* empty, ignoring its semantic content for the non-Profiling signal.
|
|
211
|
+
*
|
|
212
|
+
* Status: [Development]
|
|
213
|
+
*
|
|
214
|
+
* @generated from field: int32 key_strindex = 3;
|
|
215
|
+
*/
|
|
216
|
+
keyStrindex: number;
|
|
217
|
+
|
|
183
218
|
constructor(data?: PartialMessage<KeyValue>);
|
|
184
219
|
|
|
185
220
|
static readonly runtime: typeof proto3;
|
|
@@ -29,8 +29,6 @@ import type { AnyValue, InstrumentationScope, KeyValue } from "../../common/v1/c
|
|
|
29
29
|
*/
|
|
30
30
|
export declare enum SeverityNumber {
|
|
31
31
|
/**
|
|
32
|
-
* UNSPECIFIED is the default SeverityNumber, it MUST NOT be used.
|
|
33
|
-
*
|
|
34
32
|
* @generated from enum value: SEVERITY_NUMBER_UNSPECIFIED = 0;
|
|
35
33
|
*/
|
|
36
34
|
UNSPECIFIED = 0,
|
|
@@ -344,14 +344,19 @@ export declare class Profile extends Message<Profile> {
|
|
|
344
344
|
samples: Sample[];
|
|
345
345
|
|
|
346
346
|
/**
|
|
347
|
-
* Time of collection
|
|
347
|
+
* Time of collection. Value is UNIX Epoch time in nanoseconds since 00:00:00
|
|
348
|
+
* UTC on 1 January 1970.
|
|
348
349
|
*
|
|
349
350
|
* @generated from field: fixed64 time_unix_nano = 3;
|
|
350
351
|
*/
|
|
351
352
|
timeUnixNano: bigint;
|
|
352
353
|
|
|
353
354
|
/**
|
|
354
|
-
* Duration of the profile
|
|
355
|
+
* Duration of the profile. For instant profiles like live heap snapshot, the
|
|
356
|
+
* duration can be zero but it may be preferable to set time_unix_nano to the
|
|
357
|
+
* process start time and duration_nano to the relative time when the profile
|
|
358
|
+
* was gathered. This ensures Sample.timestamps_unix_nano values such as
|
|
359
|
+
* allocation timestamp fall into the profile time range.
|
|
355
360
|
*
|
|
356
361
|
* @generated from field: uint64 duration_nano = 4;
|
|
357
362
|
*/
|
|
@@ -530,7 +535,11 @@ export declare class ValueType extends Message<ValueType> {
|
|
|
530
535
|
* both fields are populated, they MUST contain the same number of elements, and
|
|
531
536
|
* the elements at the same index MUST refer to the same event.
|
|
532
537
|
*
|
|
533
|
-
*
|
|
538
|
+
* For the purposes of efficiently representing aggregated data observations, a Sample is regarded
|
|
539
|
+
* as having a shared identity and an associated collection of per-observation data points.
|
|
540
|
+
* Samples having the same identity SHOULD be combined by inserting timestamps and values to the data arrays.
|
|
541
|
+
*
|
|
542
|
+
* Examples of different ways ('shapes') of representing a sample with the total value of 10:
|
|
534
543
|
*
|
|
535
544
|
* Report of a stacktrace at 10 timestamps (consumers must assume the value is 1 for each point):
|
|
536
545
|
* values: []
|
|
@@ -544,6 +553,10 @@ export declare class ValueType extends Message<ValueType> {
|
|
|
544
553
|
* values: [2, 2, 3, 3]
|
|
545
554
|
* timestamps_unix_nano: [1, 2, 3, 4]
|
|
546
555
|
*
|
|
556
|
+
* All Samples for a Profile SHOULD have the same shape, i.e. all data observation series should consistently
|
|
557
|
+
* adopt the same data recording style.
|
|
558
|
+
*
|
|
559
|
+
*
|
|
547
560
|
* @generated from message opentelemetry.proto.profiles.v1development.Sample
|
|
548
561
|
*/
|
|
549
562
|
export declare class Sample extends Message<Sample> {
|
|
@@ -554,17 +567,10 @@ export declare class Sample extends Message<Sample> {
|
|
|
554
567
|
*/
|
|
555
568
|
stackIndex: number;
|
|
556
569
|
|
|
557
|
-
/**
|
|
558
|
-
* The type and unit of each value is defined by Profile.sample_type.
|
|
559
|
-
*
|
|
560
|
-
* @generated from field: repeated int64 values = 2;
|
|
561
|
-
*/
|
|
562
|
-
values: bigint[];
|
|
563
|
-
|
|
564
570
|
/**
|
|
565
571
|
* References to attributes in ProfilesDictionary.attribute_table. [optional]
|
|
566
572
|
*
|
|
567
|
-
* @generated from field: repeated int32 attribute_indices =
|
|
573
|
+
* @generated from field: repeated int32 attribute_indices = 2;
|
|
568
574
|
*/
|
|
569
575
|
attributeIndices: number[];
|
|
570
576
|
|
|
@@ -572,13 +578,22 @@ export declare class Sample extends Message<Sample> {
|
|
|
572
578
|
* Reference to link in ProfilesDictionary.link_table. [optional]
|
|
573
579
|
* It can be unset / set to 0 if no link exists, as link_table[0] is always a 'null' default value.
|
|
574
580
|
*
|
|
575
|
-
* @generated from field: int32 link_index =
|
|
581
|
+
* @generated from field: int32 link_index = 3;
|
|
576
582
|
*/
|
|
577
583
|
linkIndex: number;
|
|
578
584
|
|
|
579
585
|
/**
|
|
580
|
-
*
|
|
581
|
-
*
|
|
586
|
+
* The type and unit of each value is defined by Profile.sample_type.
|
|
587
|
+
*
|
|
588
|
+
* @generated from field: repeated int64 values = 4;
|
|
589
|
+
*/
|
|
590
|
+
values: bigint[];
|
|
591
|
+
|
|
592
|
+
/**
|
|
593
|
+
* Timestamps associated with Sample. Value is UNIX Epoch time in nanoseconds
|
|
594
|
+
* since 00:00:00 UTC on 1 January 1970. The timestamps should fall within the
|
|
595
|
+
* [Profile.time_unix_nano, Profile.time_unix_nano + Profile.duration_nano)
|
|
596
|
+
* time range.
|
|
582
597
|
*
|
|
583
598
|
* @generated from field: repeated fixed64 timestamps_unix_nano = 5;
|
|
584
599
|
*/
|
package/dist/main.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export { RobotClient as Client, createRobotClient, RobotClient, type CloudMetada
|
|
|
11
11
|
export * as robotApi from './gen/robot/v1/robot_pb';
|
|
12
12
|
export { createViamClient, type ViamClient, type ViamClientOptions, } from './app/viam-client';
|
|
13
13
|
export { type AccessToken, type Credential, type Credentials, type CredentialType, } from './app/viam-transport';
|
|
14
|
-
export { type BinaryID, type DataClient, type FilterOptions, type IndexableCollection, } from './app/data-client';
|
|
14
|
+
export { type BinaryDataCaptureUploadOptions, type BinaryID, type DataClient, type FilterOptions, type IndexableCollection, } from './app/data-client';
|
|
15
15
|
/**
|
|
16
16
|
* Raw Protobuf interfaces for Data.
|
|
17
17
|
*
|