@viamrobotics/sdk 0.43.0 → 0.44.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 +3 -2
- package/dist/gen/app/datapipelines/v1/data_pipelines_pb.d.ts +22 -0
- package/dist/gen/app/v1/app_pb.d.ts +17 -0
- package/dist/gen/app/v1/robot_pb.d.ts +7 -0
- package/dist/gen/component/gripper/v1/gripper_connect.d.ts +12 -1
- package/dist/gen/component/gripper/v1/gripper_pb.d.ts +58 -0
- package/dist/gen/provisioning/v1/provisioning_connect.d.ts +13 -1
- package/dist/gen/provisioning/v1/provisioning_pb.d.ts +43 -0
- package/dist/main.es.js +3235 -3150
- package/dist/main.umd.js +7 -7
- package/dist/robot/client.d.ts +6 -0
- 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.448";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type JsonValue } from '@bufbuild/protobuf';
|
|
2
2
|
import { type PromiseClient, type Transport } from '@connectrpc/connect';
|
|
3
|
-
import { BinaryID, CaptureMetadata, Filter, Order, TabularDataSource } from '../gen/app/data/v1/data_pb';
|
|
3
|
+
import { BinaryID, CaptureMetadata, Filter, Order, TabularDataSource, TabularDataSourceType } from '../gen/app/data/v1/data_pb';
|
|
4
4
|
import type { Dataset as PBDataset } from '../gen/app/dataset/v1/dataset_pb';
|
|
5
5
|
import { DataPipelinesService } from '../gen/app/datapipelines/v1/data_pipelines_connect';
|
|
6
6
|
import { DataPipeline, DataPipelineRun } from '../gen/app/datapipelines/v1/data_pipelines_pb';
|
|
@@ -837,9 +837,10 @@ export declare class DataClient {
|
|
|
837
837
|
* @param name The name of the data pipeline
|
|
838
838
|
* @param query The MQL query to run as a list of BSON documents
|
|
839
839
|
* @param schedule The schedule to run the query on (cron expression)
|
|
840
|
+
* @param dataSourceType The type of data source to use for the data pipeline
|
|
840
841
|
* @returns The ID of the created data pipeline
|
|
841
842
|
*/
|
|
842
|
-
createDataPipeline(organizationId: string, name: string, query: Uint8Array[] | Record<string, Date | JsonValue>[], schedule: string): Promise<string>;
|
|
843
|
+
createDataPipeline(organizationId: string, name: string, query: Uint8Array[] | Record<string, Date | JsonValue>[], schedule: string, dataSourceType?: TabularDataSourceType): Promise<string>;
|
|
843
844
|
/**
|
|
844
845
|
* Deletes a data pipeline by its ID.
|
|
845
846
|
*
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Timestamp } from "@bufbuild/protobuf";
|
|
7
7
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
8
|
+
import type { TabularDataSourceType } from "../../data/v1/data_pb.js";
|
|
8
9
|
|
|
9
10
|
/**
|
|
10
11
|
* @generated from enum viam.app.datapipelines.v1.DataPipelineRunStatus
|
|
@@ -96,6 +97,13 @@ export declare class DataPipeline extends Message<DataPipeline> {
|
|
|
96
97
|
*/
|
|
97
98
|
updatedAt?: Timestamp;
|
|
98
99
|
|
|
100
|
+
/**
|
|
101
|
+
* The type of data source for the pipeline. If not specified, default is standard data storage.
|
|
102
|
+
*
|
|
103
|
+
* @generated from field: optional viam.app.data.v1.TabularDataSourceType data_source_type = 9;
|
|
104
|
+
*/
|
|
105
|
+
dataSourceType?: TabularDataSourceType;
|
|
106
|
+
|
|
99
107
|
constructor(data?: PartialMessage<DataPipeline>);
|
|
100
108
|
|
|
101
109
|
static readonly runtime: typeof proto3;
|
|
@@ -252,6 +260,13 @@ export declare class CreateDataPipelineRequest extends Message<CreateDataPipelin
|
|
|
252
260
|
*/
|
|
253
261
|
enableBackfill?: boolean;
|
|
254
262
|
|
|
263
|
+
/**
|
|
264
|
+
* The type of data source for the pipeline. If not specified, default is standard data storage.
|
|
265
|
+
*
|
|
266
|
+
* @generated from field: optional viam.app.data.v1.TabularDataSourceType data_source_type = 6;
|
|
267
|
+
*/
|
|
268
|
+
dataSourceType?: TabularDataSourceType;
|
|
269
|
+
|
|
255
270
|
constructor(data?: PartialMessage<CreateDataPipelineRequest>);
|
|
256
271
|
|
|
257
272
|
static readonly runtime: typeof proto3;
|
|
@@ -327,6 +342,13 @@ export declare class UpdateDataPipelineRequest extends Message<UpdateDataPipelin
|
|
|
327
342
|
*/
|
|
328
343
|
schedule: string;
|
|
329
344
|
|
|
345
|
+
/**
|
|
346
|
+
* The type of data source for the pipeline. If not specified, default is standard data storage.
|
|
347
|
+
*
|
|
348
|
+
* @generated from field: optional viam.app.data.v1.TabularDataSourceType data_source_type = 5;
|
|
349
|
+
*/
|
|
350
|
+
dataSourceType?: TabularDataSourceType;
|
|
351
|
+
|
|
330
352
|
constructor(data?: PartialMessage<UpdateDataPipelineRequest>);
|
|
331
353
|
|
|
332
354
|
static readonly runtime: typeof proto3;
|
|
@@ -570,6 +570,11 @@ export declare class OrganizationMember extends Message<OrganizationMember> {
|
|
|
570
570
|
*/
|
|
571
571
|
lastLogin?: Timestamp;
|
|
572
572
|
|
|
573
|
+
/**
|
|
574
|
+
* @generated from field: optional google.protobuf.Timestamp last_access = 5;
|
|
575
|
+
*/
|
|
576
|
+
lastAccess?: Timestamp;
|
|
577
|
+
|
|
573
578
|
constructor(data?: PartialMessage<OrganizationMember>);
|
|
574
579
|
|
|
575
580
|
static readonly runtime: typeof proto3;
|
|
@@ -753,6 +758,11 @@ export declare class GetOrganizationNamespaceAvailabilityRequest extends Message
|
|
|
753
758
|
*/
|
|
754
759
|
publicNamespace: string;
|
|
755
760
|
|
|
761
|
+
/**
|
|
762
|
+
* @generated from field: string organization_id = 2;
|
|
763
|
+
*/
|
|
764
|
+
organizationId: string;
|
|
765
|
+
|
|
756
766
|
constructor(data?: PartialMessage<GetOrganizationNamespaceAvailabilityRequest>);
|
|
757
767
|
|
|
758
768
|
static readonly runtime: typeof proto3;
|
|
@@ -4602,6 +4612,13 @@ export declare class ListMachineSummariesRequest extends Message<ListMachineSumm
|
|
|
4602
4612
|
*/
|
|
4603
4613
|
organizationId: string;
|
|
4604
4614
|
|
|
4615
|
+
/**
|
|
4616
|
+
* Optional list of fragment IDs to filter machines that use any of these fragments
|
|
4617
|
+
*
|
|
4618
|
+
* @generated from field: repeated string fragment_ids = 2;
|
|
4619
|
+
*/
|
|
4620
|
+
fragmentIds: string[];
|
|
4621
|
+
|
|
4605
4622
|
constructor(data?: PartialMessage<ListMachineSummariesRequest>);
|
|
4606
4623
|
|
|
4607
4624
|
static readonly runtime: typeof proto3;
|
|
@@ -1686,6 +1686,13 @@ export declare class ModuleConfig extends Message<ModuleConfig> {
|
|
|
1686
1686
|
*/
|
|
1687
1687
|
firstRunTimeout?: Duration;
|
|
1688
1688
|
|
|
1689
|
+
/**
|
|
1690
|
+
* whether we are starting a module in TCP mode
|
|
1691
|
+
*
|
|
1692
|
+
* @generated from field: bool tcp_mode = 9;
|
|
1693
|
+
*/
|
|
1694
|
+
tcpMode: boolean;
|
|
1695
|
+
|
|
1689
1696
|
constructor(data?: PartialMessage<ModuleConfig>);
|
|
1690
1697
|
|
|
1691
1698
|
static readonly runtime: typeof proto3;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
|
-
import { GrabRequest, GrabResponse, IsMovingRequest, IsMovingResponse, OpenRequest, OpenResponse, StopRequest, StopResponse } from "./gripper_pb.js";
|
|
6
|
+
import { GrabRequest, GrabResponse, IsHoldingSomethingRequest, IsHoldingSomethingResponse, IsMovingRequest, IsMovingResponse, OpenRequest, OpenResponse, StopRequest, StopResponse } from "./gripper_pb.js";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
import { DoCommandRequest, DoCommandResponse, GetGeometriesRequest, GetGeometriesResponse, GetKinematicsRequest, GetKinematicsResponse } from "../../../common/v1/common_pb.js";
|
|
9
9
|
|
|
@@ -59,6 +59,17 @@ export declare const GripperService: {
|
|
|
59
59
|
readonly O: typeof IsMovingResponse,
|
|
60
60
|
readonly kind: MethodKind.Unary,
|
|
61
61
|
},
|
|
62
|
+
/**
|
|
63
|
+
* IsHoldingSomething returns whether the gripper is currently holding onto an object
|
|
64
|
+
*
|
|
65
|
+
* @generated from rpc viam.component.gripper.v1.GripperService.IsHoldingSomething
|
|
66
|
+
*/
|
|
67
|
+
readonly isHoldingSomething: {
|
|
68
|
+
readonly name: "IsHoldingSomething",
|
|
69
|
+
readonly I: typeof IsHoldingSomethingRequest,
|
|
70
|
+
readonly O: typeof IsHoldingSomethingResponse,
|
|
71
|
+
readonly kind: MethodKind.Unary,
|
|
72
|
+
},
|
|
62
73
|
/**
|
|
63
74
|
* DoCommand sends/receives arbitrary commands
|
|
64
75
|
*
|
|
@@ -210,3 +210,61 @@ export declare class IsMovingResponse extends Message<IsMovingResponse> {
|
|
|
210
210
|
static equals(a: IsMovingResponse | PlainMessage<IsMovingResponse> | undefined, b: IsMovingResponse | PlainMessage<IsMovingResponse> | undefined): boolean;
|
|
211
211
|
}
|
|
212
212
|
|
|
213
|
+
/**
|
|
214
|
+
* @generated from message viam.component.gripper.v1.IsHoldingSomethingRequest
|
|
215
|
+
*/
|
|
216
|
+
export declare class IsHoldingSomethingRequest extends Message<IsHoldingSomethingRequest> {
|
|
217
|
+
/**
|
|
218
|
+
* @generated from field: string name = 1;
|
|
219
|
+
*/
|
|
220
|
+
name: string;
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* @generated from field: google.protobuf.Struct extra = 99;
|
|
224
|
+
*/
|
|
225
|
+
extra?: Struct;
|
|
226
|
+
|
|
227
|
+
constructor(data?: PartialMessage<IsHoldingSomethingRequest>);
|
|
228
|
+
|
|
229
|
+
static readonly runtime: typeof proto3;
|
|
230
|
+
static readonly typeName = "viam.component.gripper.v1.IsHoldingSomethingRequest";
|
|
231
|
+
static readonly fields: FieldList;
|
|
232
|
+
|
|
233
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IsHoldingSomethingRequest;
|
|
234
|
+
|
|
235
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IsHoldingSomethingRequest;
|
|
236
|
+
|
|
237
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IsHoldingSomethingRequest;
|
|
238
|
+
|
|
239
|
+
static equals(a: IsHoldingSomethingRequest | PlainMessage<IsHoldingSomethingRequest> | undefined, b: IsHoldingSomethingRequest | PlainMessage<IsHoldingSomethingRequest> | undefined): boolean;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* @generated from message viam.component.gripper.v1.IsHoldingSomethingResponse
|
|
244
|
+
*/
|
|
245
|
+
export declare class IsHoldingSomethingResponse extends Message<IsHoldingSomethingResponse> {
|
|
246
|
+
/**
|
|
247
|
+
* @generated from field: bool is_holding_something = 1;
|
|
248
|
+
*/
|
|
249
|
+
isHoldingSomething: boolean;
|
|
250
|
+
|
|
251
|
+
/**
|
|
252
|
+
* @generated from field: google.protobuf.Struct meta = 99;
|
|
253
|
+
*/
|
|
254
|
+
meta?: Struct;
|
|
255
|
+
|
|
256
|
+
constructor(data?: PartialMessage<IsHoldingSomethingResponse>);
|
|
257
|
+
|
|
258
|
+
static readonly runtime: typeof proto3;
|
|
259
|
+
static readonly typeName = "viam.component.gripper.v1.IsHoldingSomethingResponse";
|
|
260
|
+
static readonly fields: FieldList;
|
|
261
|
+
|
|
262
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IsHoldingSomethingResponse;
|
|
263
|
+
|
|
264
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IsHoldingSomethingResponse;
|
|
265
|
+
|
|
266
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IsHoldingSomethingResponse;
|
|
267
|
+
|
|
268
|
+
static equals(a: IsHoldingSomethingResponse | PlainMessage<IsHoldingSomethingResponse> | undefined, b: IsHoldingSomethingResponse | PlainMessage<IsHoldingSomethingResponse> | undefined): boolean;
|
|
269
|
+
}
|
|
270
|
+
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
|
-
import { GetNetworkListRequest, GetNetworkListResponse, GetSmartMachineStatusRequest, GetSmartMachineStatusResponse, SetNetworkCredentialsRequest, SetNetworkCredentialsResponse, SetSmartMachineCredentialsRequest, SetSmartMachineCredentialsResponse } from "./provisioning_pb.js";
|
|
6
|
+
import { ExitProvisioningRequest, ExitProvisioningResponse, GetNetworkListRequest, GetNetworkListResponse, GetSmartMachineStatusRequest, GetSmartMachineStatusResponse, SetNetworkCredentialsRequest, SetNetworkCredentialsResponse, SetSmartMachineCredentialsRequest, SetSmartMachineCredentialsResponse } from "./provisioning_pb.js";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -58,6 +58,18 @@ export declare const ProvisioningService: {
|
|
|
58
58
|
readonly O: typeof GetNetworkListResponse,
|
|
59
59
|
readonly kind: MethodKind.Unary,
|
|
60
60
|
},
|
|
61
|
+
/**
|
|
62
|
+
* ExitProvisioning is called when "done" with all other calls.
|
|
63
|
+
* It causes the device to exit provisioning mode to try any newly added wifi networks and resume normal operation.
|
|
64
|
+
*
|
|
65
|
+
* @generated from rpc viam.provisioning.v1.ProvisioningService.ExitProvisioning
|
|
66
|
+
*/
|
|
67
|
+
readonly exitProvisioning: {
|
|
68
|
+
readonly name: "ExitProvisioning",
|
|
69
|
+
readonly I: typeof ExitProvisioningRequest,
|
|
70
|
+
readonly O: typeof ExitProvisioningResponse,
|
|
71
|
+
readonly kind: MethodKind.Unary,
|
|
72
|
+
},
|
|
61
73
|
}
|
|
62
74
|
};
|
|
63
75
|
|
|
@@ -6,6 +6,44 @@
|
|
|
6
6
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
7
7
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
8
8
|
|
|
9
|
+
/**
|
|
10
|
+
* @generated from message viam.provisioning.v1.ExitProvisioningRequest
|
|
11
|
+
*/
|
|
12
|
+
export declare class ExitProvisioningRequest extends Message<ExitProvisioningRequest> {
|
|
13
|
+
constructor(data?: PartialMessage<ExitProvisioningRequest>);
|
|
14
|
+
|
|
15
|
+
static readonly runtime: typeof proto3;
|
|
16
|
+
static readonly typeName = "viam.provisioning.v1.ExitProvisioningRequest";
|
|
17
|
+
static readonly fields: FieldList;
|
|
18
|
+
|
|
19
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ExitProvisioningRequest;
|
|
20
|
+
|
|
21
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ExitProvisioningRequest;
|
|
22
|
+
|
|
23
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ExitProvisioningRequest;
|
|
24
|
+
|
|
25
|
+
static equals(a: ExitProvisioningRequest | PlainMessage<ExitProvisioningRequest> | undefined, b: ExitProvisioningRequest | PlainMessage<ExitProvisioningRequest> | undefined): boolean;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* @generated from message viam.provisioning.v1.ExitProvisioningResponse
|
|
30
|
+
*/
|
|
31
|
+
export declare class ExitProvisioningResponse extends Message<ExitProvisioningResponse> {
|
|
32
|
+
constructor(data?: PartialMessage<ExitProvisioningResponse>);
|
|
33
|
+
|
|
34
|
+
static readonly runtime: typeof proto3;
|
|
35
|
+
static readonly typeName = "viam.provisioning.v1.ExitProvisioningResponse";
|
|
36
|
+
static readonly fields: FieldList;
|
|
37
|
+
|
|
38
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ExitProvisioningResponse;
|
|
39
|
+
|
|
40
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ExitProvisioningResponse;
|
|
41
|
+
|
|
42
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ExitProvisioningResponse;
|
|
43
|
+
|
|
44
|
+
static equals(a: ExitProvisioningResponse | PlainMessage<ExitProvisioningResponse> | undefined, b: ExitProvisioningResponse | PlainMessage<ExitProvisioningResponse> | undefined): boolean;
|
|
45
|
+
}
|
|
46
|
+
|
|
9
47
|
/**
|
|
10
48
|
* @generated from message viam.provisioning.v1.GetSmartMachineStatusRequest
|
|
11
49
|
*/
|
|
@@ -54,6 +92,11 @@ export declare class GetSmartMachineStatusResponse extends Message<GetSmartMachi
|
|
|
54
92
|
*/
|
|
55
93
|
errors: string[];
|
|
56
94
|
|
|
95
|
+
/**
|
|
96
|
+
* @generated from field: string agent_version = 6;
|
|
97
|
+
*/
|
|
98
|
+
agentVersion: string;
|
|
99
|
+
|
|
57
100
|
constructor(data?: PartialMessage<GetSmartMachineStatusResponse>);
|
|
58
101
|
|
|
59
102
|
static readonly runtime: typeof proto3;
|