@viamrobotics/sdk 0.34.0 → 0.35.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api-version.d.ts +1 -1
- package/dist/gen/app/data/v1/data_pb.d.ts +5 -0
- package/dist/gen/app/v1/app_pb.d.ts +10 -0
- package/dist/gen/app/v1/billing_pb.d.ts +2 -2
- package/dist/gen/app/v1/end_user_connect.d.ts +3 -0
- package/dist/gen/app/v1/end_user_pb.d.ts +6 -0
- package/dist/gen/component/button/v1/button_connect.d.ts +42 -0
- package/dist/gen/component/button/v1/button_pb.d.ts +56 -0
- package/dist/gen/component/switch/v1/switch_connect.d.ts +66 -0
- package/dist/gen/component/switch/v1/switch_pb.d.ts +167 -0
- package/dist/gen/robot/v1/robot_connect.d.ts +14 -1
- package/dist/gen/robot/v1/robot_pb.d.ts +86 -0
- package/dist/gen/service/discovery/v1/discovery_connect.d.ts +40 -0
- package/dist/gen/service/discovery/v1/discovery_pb.d.ts +68 -0
- package/dist/main.es.js +3373 -2967
- package/dist/main.umd.js +7 -7
- package/dist/robot/client.d.ts +28 -6
- package/dist/robot/robot.d.ts +10 -0
- package/dist/services/discovery/client.d.ts +19 -0
- package/dist/services/discovery/client.spec.d.ts +1 -0
- package/dist/services/discovery/discovery.d.ts +13 -0
- package/dist/services/discovery.d.ts +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v1.10.0
|
|
2
|
+
// @generated from file service/discovery/v1/discovery.proto (package viam.service.discovery.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Struct } from "@bufbuild/protobuf";
|
|
7
|
+
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
8
|
+
import type { ComponentConfig } from "../../../app/v1/robot_pb.js";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* @generated from message viam.service.discovery.v1.DiscoverResourcesRequest
|
|
12
|
+
*/
|
|
13
|
+
export declare class DiscoverResourcesRequest extends Message<DiscoverResourcesRequest> {
|
|
14
|
+
/**
|
|
15
|
+
* name of the discover service
|
|
16
|
+
*
|
|
17
|
+
* @generated from field: string name = 1;
|
|
18
|
+
*/
|
|
19
|
+
name: string;
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Additional arguments to the method
|
|
23
|
+
*
|
|
24
|
+
* @generated from field: google.protobuf.Struct extra = 99;
|
|
25
|
+
*/
|
|
26
|
+
extra?: Struct;
|
|
27
|
+
|
|
28
|
+
constructor(data?: PartialMessage<DiscoverResourcesRequest>);
|
|
29
|
+
|
|
30
|
+
static readonly runtime: typeof proto3;
|
|
31
|
+
static readonly typeName = "viam.service.discovery.v1.DiscoverResourcesRequest";
|
|
32
|
+
static readonly fields: FieldList;
|
|
33
|
+
|
|
34
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DiscoverResourcesRequest;
|
|
35
|
+
|
|
36
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DiscoverResourcesRequest;
|
|
37
|
+
|
|
38
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DiscoverResourcesRequest;
|
|
39
|
+
|
|
40
|
+
static equals(a: DiscoverResourcesRequest | PlainMessage<DiscoverResourcesRequest> | undefined, b: DiscoverResourcesRequest | PlainMessage<DiscoverResourcesRequest> | undefined): boolean;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* @generated from message viam.service.discovery.v1.DiscoverResourcesResponse
|
|
45
|
+
*/
|
|
46
|
+
export declare class DiscoverResourcesResponse extends Message<DiscoverResourcesResponse> {
|
|
47
|
+
/**
|
|
48
|
+
* list of ComponentConfigs that describe the components found by a discover service.
|
|
49
|
+
*
|
|
50
|
+
* @generated from field: repeated viam.app.v1.ComponentConfig discoveries = 1;
|
|
51
|
+
*/
|
|
52
|
+
discoveries: ComponentConfig[];
|
|
53
|
+
|
|
54
|
+
constructor(data?: PartialMessage<DiscoverResourcesResponse>);
|
|
55
|
+
|
|
56
|
+
static readonly runtime: typeof proto3;
|
|
57
|
+
static readonly typeName = "viam.service.discovery.v1.DiscoverResourcesResponse";
|
|
58
|
+
static readonly fields: FieldList;
|
|
59
|
+
|
|
60
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DiscoverResourcesResponse;
|
|
61
|
+
|
|
62
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DiscoverResourcesResponse;
|
|
63
|
+
|
|
64
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DiscoverResourcesResponse;
|
|
65
|
+
|
|
66
|
+
static equals(a: DiscoverResourcesResponse | PlainMessage<DiscoverResourcesResponse> | undefined, b: DiscoverResourcesResponse | PlainMessage<DiscoverResourcesResponse> | undefined): boolean;
|
|
67
|
+
}
|
|
68
|
+
|