@viamrobotics/sdk 0.35.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/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 +2 -0
- package/dist/gen/robot/v1/robot_pb.d.ts +4 -0
- package/dist/main.es.js +1630 -1283
- package/dist/main.umd.js +7 -7
- package/dist/robot/client.d.ts +22 -12
- package/dist/robot/robot.d.ts +10 -7
- 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
package/dist/api-version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const apiVersion = "v0.1.
|
|
1
|
+
export declare const apiVersion = "v0.1.386";
|
|
@@ -3244,6 +3244,16 @@ export declare class FragmentHistoryEntry extends Message<FragmentHistoryEntry>
|
|
|
3244
3244
|
*/
|
|
3245
3245
|
editedBy?: AuthenticatorInfo;
|
|
3246
3246
|
|
|
3247
|
+
/**
|
|
3248
|
+
* @generated from field: string revision = 5;
|
|
3249
|
+
*/
|
|
3250
|
+
revision: string;
|
|
3251
|
+
|
|
3252
|
+
/**
|
|
3253
|
+
* @generated from field: google.protobuf.Struct config = 6;
|
|
3254
|
+
*/
|
|
3255
|
+
config?: Struct;
|
|
3256
|
+
|
|
3247
3257
|
constructor(data?: PartialMessage<FragmentHistoryEntry>);
|
|
3248
3258
|
|
|
3249
3259
|
static readonly runtime: typeof proto3;
|
|
@@ -135,9 +135,9 @@ export declare enum UsageCostType {
|
|
|
135
135
|
LOGS_EGRESS = 20,
|
|
136
136
|
|
|
137
137
|
/**
|
|
138
|
-
* @generated from enum value:
|
|
138
|
+
* @generated from enum value: USAGE_COST_TYPE_TRAINING_LOGS_EGRESS = 21;
|
|
139
139
|
*/
|
|
140
|
-
|
|
140
|
+
TRAINING_LOGS_EGRESS = 21,
|
|
141
141
|
}
|
|
142
142
|
|
|
143
143
|
/**
|
|
@@ -39,6 +39,7 @@ export declare const EndUserService: {
|
|
|
39
39
|
* Allows users to register third party auth applications using Viam linked to the indicated organization
|
|
40
40
|
*
|
|
41
41
|
* @generated from rpc viam.app.v1.EndUserService.RegisterAuthApplication
|
|
42
|
+
* @deprecated
|
|
42
43
|
*/
|
|
43
44
|
readonly registerAuthApplication: {
|
|
44
45
|
readonly name: "RegisterAuthApplication",
|
|
@@ -50,6 +51,7 @@ export declare const EndUserService: {
|
|
|
50
51
|
* Allows users to update their third party auth applications
|
|
51
52
|
*
|
|
52
53
|
* @generated from rpc viam.app.v1.EndUserService.UpdateAuthApplication
|
|
54
|
+
* @deprecated
|
|
53
55
|
*/
|
|
54
56
|
readonly updateAuthApplication: {
|
|
55
57
|
readonly name: "UpdateAuthApplication",
|
|
@@ -61,6 +63,7 @@ export declare const EndUserService: {
|
|
|
61
63
|
* Allows users to get the config for their third party auth applications
|
|
62
64
|
*
|
|
63
65
|
* @generated from rpc viam.app.v1.EndUserService.GetAuthApplication
|
|
66
|
+
* @deprecated
|
|
64
67
|
*/
|
|
65
68
|
readonly getAuthApplication: {
|
|
66
69
|
readonly name: "GetAuthApplication",
|
|
@@ -91,6 +91,7 @@ export declare class AcceptLegalResponse extends Message<AcceptLegalResponse> {
|
|
|
91
91
|
|
|
92
92
|
/**
|
|
93
93
|
* @generated from message viam.app.v1.RegisterAuthApplicationRequest
|
|
94
|
+
* @deprecated
|
|
94
95
|
*/
|
|
95
96
|
export declare class RegisterAuthApplicationRequest extends Message<RegisterAuthApplicationRequest> {
|
|
96
97
|
/**
|
|
@@ -135,6 +136,7 @@ export declare class RegisterAuthApplicationRequest extends Message<RegisterAuth
|
|
|
135
136
|
|
|
136
137
|
/**
|
|
137
138
|
* @generated from message viam.app.v1.RegisterAuthApplicationResponse
|
|
139
|
+
* @deprecated
|
|
138
140
|
*/
|
|
139
141
|
export declare class RegisterAuthApplicationResponse extends Message<RegisterAuthApplicationResponse> {
|
|
140
142
|
/**
|
|
@@ -169,6 +171,7 @@ export declare class RegisterAuthApplicationResponse extends Message<RegisterAut
|
|
|
169
171
|
|
|
170
172
|
/**
|
|
171
173
|
* @generated from message viam.app.v1.UpdateAuthApplicationRequest
|
|
174
|
+
* @deprecated
|
|
172
175
|
*/
|
|
173
176
|
export declare class UpdateAuthApplicationRequest extends Message<UpdateAuthApplicationRequest> {
|
|
174
177
|
/**
|
|
@@ -218,6 +221,7 @@ export declare class UpdateAuthApplicationRequest extends Message<UpdateAuthAppl
|
|
|
218
221
|
|
|
219
222
|
/**
|
|
220
223
|
* @generated from message viam.app.v1.UpdateAuthApplicationResponse
|
|
224
|
+
* @deprecated
|
|
221
225
|
*/
|
|
222
226
|
export declare class UpdateAuthApplicationResponse extends Message<UpdateAuthApplicationResponse> {
|
|
223
227
|
/**
|
|
@@ -247,6 +251,7 @@ export declare class UpdateAuthApplicationResponse extends Message<UpdateAuthApp
|
|
|
247
251
|
|
|
248
252
|
/**
|
|
249
253
|
* @generated from message viam.app.v1.GetAuthApplicationRequest
|
|
254
|
+
* @deprecated
|
|
250
255
|
*/
|
|
251
256
|
export declare class GetAuthApplicationRequest extends Message<GetAuthApplicationRequest> {
|
|
252
257
|
/**
|
|
@@ -276,6 +281,7 @@ export declare class GetAuthApplicationRequest extends Message<GetAuthApplicatio
|
|
|
276
281
|
|
|
277
282
|
/**
|
|
278
283
|
* @generated from message viam.app.v1.GetAuthApplicationResponse
|
|
284
|
+
* @deprecated
|
|
279
285
|
*/
|
|
280
286
|
export declare class GetAuthApplicationResponse extends Message<GetAuthApplicationResponse> {
|
|
281
287
|
/**
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-es v1.5.0
|
|
2
|
+
// @generated from file component/button/v1/button.proto (package viam.component.button.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import { PushRequest, PushResponse } from "./button_pb.js";
|
|
7
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
+
import { DoCommandRequest, DoCommandResponse } from "../../../common/v1/common_pb.js";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* A ButtonService services buttons associated with a machine
|
|
12
|
+
*
|
|
13
|
+
* @generated from service viam.component.button.v1.ButtonService
|
|
14
|
+
*/
|
|
15
|
+
export declare const ButtonService: {
|
|
16
|
+
readonly typeName: "viam.component.button.v1.ButtonService",
|
|
17
|
+
readonly methods: {
|
|
18
|
+
/**
|
|
19
|
+
* Pushes a button
|
|
20
|
+
*
|
|
21
|
+
* @generated from rpc viam.component.button.v1.ButtonService.Push
|
|
22
|
+
*/
|
|
23
|
+
readonly push: {
|
|
24
|
+
readonly name: "Push",
|
|
25
|
+
readonly I: typeof PushRequest,
|
|
26
|
+
readonly O: typeof PushResponse,
|
|
27
|
+
readonly kind: MethodKind.Unary,
|
|
28
|
+
},
|
|
29
|
+
/**
|
|
30
|
+
* DoCommand sends/receives arbitrary commands
|
|
31
|
+
*
|
|
32
|
+
* @generated from rpc viam.component.button.v1.ButtonService.DoCommand
|
|
33
|
+
*/
|
|
34
|
+
readonly doCommand: {
|
|
35
|
+
readonly name: "DoCommand",
|
|
36
|
+
readonly I: typeof DoCommandRequest,
|
|
37
|
+
readonly O: typeof DoCommandResponse,
|
|
38
|
+
readonly kind: MethodKind.Unary,
|
|
39
|
+
},
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v1.10.0
|
|
2
|
+
// @generated from file component/button/v1/button.proto (package viam.component.button.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
|
+
|
|
9
|
+
/**
|
|
10
|
+
* @generated from message viam.component.button.v1.PushRequest
|
|
11
|
+
*/
|
|
12
|
+
export declare class PushRequest extends Message<PushRequest> {
|
|
13
|
+
/**
|
|
14
|
+
* @generated from field: string name = 1;
|
|
15
|
+
*/
|
|
16
|
+
name: string;
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* @generated from field: google.protobuf.Struct extra = 99;
|
|
20
|
+
*/
|
|
21
|
+
extra?: Struct;
|
|
22
|
+
|
|
23
|
+
constructor(data?: PartialMessage<PushRequest>);
|
|
24
|
+
|
|
25
|
+
static readonly runtime: typeof proto3;
|
|
26
|
+
static readonly typeName = "viam.component.button.v1.PushRequest";
|
|
27
|
+
static readonly fields: FieldList;
|
|
28
|
+
|
|
29
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PushRequest;
|
|
30
|
+
|
|
31
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PushRequest;
|
|
32
|
+
|
|
33
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PushRequest;
|
|
34
|
+
|
|
35
|
+
static equals(a: PushRequest | PlainMessage<PushRequest> | undefined, b: PushRequest | PlainMessage<PushRequest> | undefined): boolean;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* @generated from message viam.component.button.v1.PushResponse
|
|
40
|
+
*/
|
|
41
|
+
export declare class PushResponse extends Message<PushResponse> {
|
|
42
|
+
constructor(data?: PartialMessage<PushResponse>);
|
|
43
|
+
|
|
44
|
+
static readonly runtime: typeof proto3;
|
|
45
|
+
static readonly typeName = "viam.component.button.v1.PushResponse";
|
|
46
|
+
static readonly fields: FieldList;
|
|
47
|
+
|
|
48
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PushResponse;
|
|
49
|
+
|
|
50
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PushResponse;
|
|
51
|
+
|
|
52
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PushResponse;
|
|
53
|
+
|
|
54
|
+
static equals(a: PushResponse | PlainMessage<PushResponse> | undefined, b: PushResponse | PlainMessage<PushResponse> | undefined): boolean;
|
|
55
|
+
}
|
|
56
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-es v1.5.0
|
|
2
|
+
// @generated from file component/switch/v1/switch.proto (package viam.component.switch.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import { GetNumberOfPositionsRequest, GetNumberOfPositionsResponse, GetPositionRequest, GetPositionResponse, SetPositionRequest, SetPositionResponse } from "./switch_pb.js";
|
|
7
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
+
import { DoCommandRequest, DoCommandResponse } from "../../../common/v1/common_pb.js";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* A SwitchService services switches associated with a machine.
|
|
12
|
+
* Switches can have multiple discrete positions - e.g. a simple
|
|
13
|
+
* switch has 2 positions, but a knob could have 10 positions.
|
|
14
|
+
*
|
|
15
|
+
* @generated from service viam.component.switch.v1.SwitchService
|
|
16
|
+
*/
|
|
17
|
+
export declare const SwitchService: {
|
|
18
|
+
readonly typeName: "viam.component.switch.v1.SwitchService",
|
|
19
|
+
readonly methods: {
|
|
20
|
+
/**
|
|
21
|
+
* Set the position of the switch
|
|
22
|
+
*
|
|
23
|
+
* @generated from rpc viam.component.switch.v1.SwitchService.SetPosition
|
|
24
|
+
*/
|
|
25
|
+
readonly setPosition: {
|
|
26
|
+
readonly name: "SetPosition",
|
|
27
|
+
readonly I: typeof SetPositionRequest,
|
|
28
|
+
readonly O: typeof SetPositionResponse,
|
|
29
|
+
readonly kind: MethodKind.Unary,
|
|
30
|
+
},
|
|
31
|
+
/**
|
|
32
|
+
* Get the position of the switch
|
|
33
|
+
*
|
|
34
|
+
* @generated from rpc viam.component.switch.v1.SwitchService.GetPosition
|
|
35
|
+
*/
|
|
36
|
+
readonly getPosition: {
|
|
37
|
+
readonly name: "GetPosition",
|
|
38
|
+
readonly I: typeof GetPositionRequest,
|
|
39
|
+
readonly O: typeof GetPositionResponse,
|
|
40
|
+
readonly kind: MethodKind.Unary,
|
|
41
|
+
},
|
|
42
|
+
/**
|
|
43
|
+
* Get the number of positions that the switch supports
|
|
44
|
+
*
|
|
45
|
+
* @generated from rpc viam.component.switch.v1.SwitchService.GetNumberOfPositions
|
|
46
|
+
*/
|
|
47
|
+
readonly getNumberOfPositions: {
|
|
48
|
+
readonly name: "GetNumberOfPositions",
|
|
49
|
+
readonly I: typeof GetNumberOfPositionsRequest,
|
|
50
|
+
readonly O: typeof GetNumberOfPositionsResponse,
|
|
51
|
+
readonly kind: MethodKind.Unary,
|
|
52
|
+
},
|
|
53
|
+
/**
|
|
54
|
+
* DoCommand sends/receives arbitrary commands
|
|
55
|
+
*
|
|
56
|
+
* @generated from rpc viam.component.switch.v1.SwitchService.DoCommand
|
|
57
|
+
*/
|
|
58
|
+
readonly doCommand: {
|
|
59
|
+
readonly name: "DoCommand",
|
|
60
|
+
readonly I: typeof DoCommandRequest,
|
|
61
|
+
readonly O: typeof DoCommandResponse,
|
|
62
|
+
readonly kind: MethodKind.Unary,
|
|
63
|
+
},
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v1.10.0
|
|
2
|
+
// @generated from file component/switch/v1/switch.proto (package viam.component.switch.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
|
+
|
|
9
|
+
/**
|
|
10
|
+
* @generated from message viam.component.switch.v1.SetPositionRequest
|
|
11
|
+
*/
|
|
12
|
+
export declare class SetPositionRequest extends Message<SetPositionRequest> {
|
|
13
|
+
/**
|
|
14
|
+
* @generated from field: string name = 1;
|
|
15
|
+
*/
|
|
16
|
+
name: string;
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* @generated from field: uint32 position = 2;
|
|
20
|
+
*/
|
|
21
|
+
position: number;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* @generated from field: google.protobuf.Struct extra = 99;
|
|
25
|
+
*/
|
|
26
|
+
extra?: Struct;
|
|
27
|
+
|
|
28
|
+
constructor(data?: PartialMessage<SetPositionRequest>);
|
|
29
|
+
|
|
30
|
+
static readonly runtime: typeof proto3;
|
|
31
|
+
static readonly typeName = "viam.component.switch.v1.SetPositionRequest";
|
|
32
|
+
static readonly fields: FieldList;
|
|
33
|
+
|
|
34
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetPositionRequest;
|
|
35
|
+
|
|
36
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetPositionRequest;
|
|
37
|
+
|
|
38
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetPositionRequest;
|
|
39
|
+
|
|
40
|
+
static equals(a: SetPositionRequest | PlainMessage<SetPositionRequest> | undefined, b: SetPositionRequest | PlainMessage<SetPositionRequest> | undefined): boolean;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* @generated from message viam.component.switch.v1.SetPositionResponse
|
|
45
|
+
*/
|
|
46
|
+
export declare class SetPositionResponse extends Message<SetPositionResponse> {
|
|
47
|
+
constructor(data?: PartialMessage<SetPositionResponse>);
|
|
48
|
+
|
|
49
|
+
static readonly runtime: typeof proto3;
|
|
50
|
+
static readonly typeName = "viam.component.switch.v1.SetPositionResponse";
|
|
51
|
+
static readonly fields: FieldList;
|
|
52
|
+
|
|
53
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetPositionResponse;
|
|
54
|
+
|
|
55
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetPositionResponse;
|
|
56
|
+
|
|
57
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetPositionResponse;
|
|
58
|
+
|
|
59
|
+
static equals(a: SetPositionResponse | PlainMessage<SetPositionResponse> | undefined, b: SetPositionResponse | PlainMessage<SetPositionResponse> | undefined): boolean;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* @generated from message viam.component.switch.v1.GetPositionRequest
|
|
64
|
+
*/
|
|
65
|
+
export declare class GetPositionRequest extends Message<GetPositionRequest> {
|
|
66
|
+
/**
|
|
67
|
+
* @generated from field: string name = 1;
|
|
68
|
+
*/
|
|
69
|
+
name: string;
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* @generated from field: google.protobuf.Struct extra = 99;
|
|
73
|
+
*/
|
|
74
|
+
extra?: Struct;
|
|
75
|
+
|
|
76
|
+
constructor(data?: PartialMessage<GetPositionRequest>);
|
|
77
|
+
|
|
78
|
+
static readonly runtime: typeof proto3;
|
|
79
|
+
static readonly typeName = "viam.component.switch.v1.GetPositionRequest";
|
|
80
|
+
static readonly fields: FieldList;
|
|
81
|
+
|
|
82
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPositionRequest;
|
|
83
|
+
|
|
84
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPositionRequest;
|
|
85
|
+
|
|
86
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPositionRequest;
|
|
87
|
+
|
|
88
|
+
static equals(a: GetPositionRequest | PlainMessage<GetPositionRequest> | undefined, b: GetPositionRequest | PlainMessage<GetPositionRequest> | undefined): boolean;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* @generated from message viam.component.switch.v1.GetPositionResponse
|
|
93
|
+
*/
|
|
94
|
+
export declare class GetPositionResponse extends Message<GetPositionResponse> {
|
|
95
|
+
/**
|
|
96
|
+
* @generated from field: uint32 position = 1;
|
|
97
|
+
*/
|
|
98
|
+
position: number;
|
|
99
|
+
|
|
100
|
+
constructor(data?: PartialMessage<GetPositionResponse>);
|
|
101
|
+
|
|
102
|
+
static readonly runtime: typeof proto3;
|
|
103
|
+
static readonly typeName = "viam.component.switch.v1.GetPositionResponse";
|
|
104
|
+
static readonly fields: FieldList;
|
|
105
|
+
|
|
106
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPositionResponse;
|
|
107
|
+
|
|
108
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPositionResponse;
|
|
109
|
+
|
|
110
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPositionResponse;
|
|
111
|
+
|
|
112
|
+
static equals(a: GetPositionResponse | PlainMessage<GetPositionResponse> | undefined, b: GetPositionResponse | PlainMessage<GetPositionResponse> | undefined): boolean;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* @generated from message viam.component.switch.v1.GetNumberOfPositionsRequest
|
|
117
|
+
*/
|
|
118
|
+
export declare class GetNumberOfPositionsRequest extends Message<GetNumberOfPositionsRequest> {
|
|
119
|
+
/**
|
|
120
|
+
* @generated from field: string name = 1;
|
|
121
|
+
*/
|
|
122
|
+
name: string;
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* @generated from field: google.protobuf.Struct extra = 99;
|
|
126
|
+
*/
|
|
127
|
+
extra?: Struct;
|
|
128
|
+
|
|
129
|
+
constructor(data?: PartialMessage<GetNumberOfPositionsRequest>);
|
|
130
|
+
|
|
131
|
+
static readonly runtime: typeof proto3;
|
|
132
|
+
static readonly typeName = "viam.component.switch.v1.GetNumberOfPositionsRequest";
|
|
133
|
+
static readonly fields: FieldList;
|
|
134
|
+
|
|
135
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetNumberOfPositionsRequest;
|
|
136
|
+
|
|
137
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetNumberOfPositionsRequest;
|
|
138
|
+
|
|
139
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetNumberOfPositionsRequest;
|
|
140
|
+
|
|
141
|
+
static equals(a: GetNumberOfPositionsRequest | PlainMessage<GetNumberOfPositionsRequest> | undefined, b: GetNumberOfPositionsRequest | PlainMessage<GetNumberOfPositionsRequest> | undefined): boolean;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* @generated from message viam.component.switch.v1.GetNumberOfPositionsResponse
|
|
146
|
+
*/
|
|
147
|
+
export declare class GetNumberOfPositionsResponse extends Message<GetNumberOfPositionsResponse> {
|
|
148
|
+
/**
|
|
149
|
+
* @generated from field: uint32 number_of_positions = 1;
|
|
150
|
+
*/
|
|
151
|
+
numberOfPositions: number;
|
|
152
|
+
|
|
153
|
+
constructor(data?: PartialMessage<GetNumberOfPositionsResponse>);
|
|
154
|
+
|
|
155
|
+
static readonly runtime: typeof proto3;
|
|
156
|
+
static readonly typeName = "viam.component.switch.v1.GetNumberOfPositionsResponse";
|
|
157
|
+
static readonly fields: FieldList;
|
|
158
|
+
|
|
159
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetNumberOfPositionsResponse;
|
|
160
|
+
|
|
161
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetNumberOfPositionsResponse;
|
|
162
|
+
|
|
163
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetNumberOfPositionsResponse;
|
|
164
|
+
|
|
165
|
+
static equals(a: GetNumberOfPositionsResponse | PlainMessage<GetNumberOfPositionsResponse> | undefined, b: GetNumberOfPositionsResponse | PlainMessage<GetNumberOfPositionsResponse> | undefined): boolean;
|
|
166
|
+
}
|
|
167
|
+
|
|
@@ -85,8 +85,10 @@ export declare const RobotService: {
|
|
|
85
85
|
},
|
|
86
86
|
/**
|
|
87
87
|
* DiscoverComponents returns the list of discovered component configurations.
|
|
88
|
+
* This API is deprecated
|
|
88
89
|
*
|
|
89
90
|
* @generated from rpc viam.robot.v1.RobotService.DiscoverComponents
|
|
91
|
+
* @deprecated
|
|
90
92
|
*/
|
|
91
93
|
readonly discoverComponents: {
|
|
92
94
|
readonly name: "DiscoverComponents",
|
|
@@ -639,6 +639,7 @@ export declare class GetSessionsResponse extends Message<GetSessionsResponse> {
|
|
|
639
639
|
|
|
640
640
|
/**
|
|
641
641
|
* @generated from message viam.robot.v1.DiscoveryQuery
|
|
642
|
+
* @deprecated
|
|
642
643
|
*/
|
|
643
644
|
export declare class DiscoveryQuery extends Message<DiscoveryQuery> {
|
|
644
645
|
/**
|
|
@@ -673,6 +674,7 @@ export declare class DiscoveryQuery extends Message<DiscoveryQuery> {
|
|
|
673
674
|
|
|
674
675
|
/**
|
|
675
676
|
* @generated from message viam.robot.v1.Discovery
|
|
677
|
+
* @deprecated
|
|
676
678
|
*/
|
|
677
679
|
export declare class Discovery extends Message<Discovery> {
|
|
678
680
|
/**
|
|
@@ -784,6 +786,7 @@ export declare class GetModelsFromModulesResponse extends Message<GetModelsFromM
|
|
|
784
786
|
|
|
785
787
|
/**
|
|
786
788
|
* @generated from message viam.robot.v1.DiscoverComponentsRequest
|
|
789
|
+
* @deprecated
|
|
787
790
|
*/
|
|
788
791
|
export declare class DiscoverComponentsRequest extends Message<DiscoverComponentsRequest> {
|
|
789
792
|
/**
|
|
@@ -808,6 +811,7 @@ export declare class DiscoverComponentsRequest extends Message<DiscoverComponent
|
|
|
808
811
|
|
|
809
812
|
/**
|
|
810
813
|
* @generated from message viam.robot.v1.DiscoverComponentsResponse
|
|
814
|
+
* @deprecated
|
|
811
815
|
*/
|
|
812
816
|
export declare class DiscoverComponentsResponse extends Message<DiscoverComponentsResponse> {
|
|
813
817
|
/**
|