@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.
@@ -1 +1 @@
1
- export declare const apiVersion = "v0.1.379";
1
+ export declare const apiVersion = "v0.1.386";
@@ -556,6 +556,11 @@ export declare class TabularDataByMQLRequest extends Message<TabularDataByMQLReq
556
556
  */
557
557
  mqlBinary: Uint8Array[];
558
558
 
559
+ /**
560
+ * @generated from field: optional bool use_recent_data = 4;
561
+ */
562
+ useRecentData?: boolean;
563
+
559
564
  constructor(data?: PartialMessage<TabularDataByMQLRequest>);
560
565
 
561
566
  static readonly runtime: typeof proto3;
@@ -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: USAGE_COST_TYPE_ML_TRAINING_LOGS_EGRESS = 21;
138
+ * @generated from enum value: USAGE_COST_TYPE_TRAINING_LOGS_EGRESS = 21;
139
139
  */
140
- ML_TRAINING_LOGS_EGRESS = 21,
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
+
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
 
6
- import { BlockForOperationRequest, BlockForOperationResponse, CancelOperationRequest, CancelOperationResponse, DiscoverComponentsRequest, DiscoverComponentsResponse, FrameSystemConfigRequest, FrameSystemConfigResponse, GetCloudMetadataRequest, GetCloudMetadataResponse, GetMachineStatusRequest, GetMachineStatusResponse, GetOperationsRequest, GetOperationsResponse, GetSessionsRequest, GetSessionsResponse, GetStatusRequest, GetStatusResponse, GetVersionRequest, GetVersionResponse, LogRequest, LogResponse, ResourceNamesRequest, ResourceNamesResponse, ResourceRPCSubtypesRequest, ResourceRPCSubtypesResponse, RestartModuleRequest, RestartModuleResponse, SendSessionHeartbeatRequest, SendSessionHeartbeatResponse, ShutdownRequest, ShutdownResponse, StartSessionRequest, StartSessionResponse, StopAllRequest, StopAllResponse, StreamStatusRequest, StreamStatusResponse, TransformPCDRequest, TransformPCDResponse, TransformPoseRequest, TransformPoseResponse } from "./robot_pb.js";
6
+ import { BlockForOperationRequest, BlockForOperationResponse, CancelOperationRequest, CancelOperationResponse, DiscoverComponentsRequest, DiscoverComponentsResponse, FrameSystemConfigRequest, FrameSystemConfigResponse, GetCloudMetadataRequest, GetCloudMetadataResponse, GetMachineStatusRequest, GetMachineStatusResponse, GetModelsFromModulesRequest, GetModelsFromModulesResponse, GetOperationsRequest, GetOperationsResponse, GetSessionsRequest, GetSessionsResponse, GetStatusRequest, GetStatusResponse, GetVersionRequest, GetVersionResponse, LogRequest, LogResponse, ResourceNamesRequest, ResourceNamesResponse, ResourceRPCSubtypesRequest, ResourceRPCSubtypesResponse, RestartModuleRequest, RestartModuleResponse, SendSessionHeartbeatRequest, SendSessionHeartbeatResponse, ShutdownRequest, ShutdownResponse, StartSessionRequest, StartSessionResponse, StopAllRequest, StopAllResponse, StreamStatusRequest, StreamStatusResponse, TransformPCDRequest, TransformPCDResponse, TransformPoseRequest, TransformPoseResponse } from "./robot_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
8
 
9
9
  /**
@@ -72,10 +72,23 @@ export declare const RobotService: {
72
72
  readonly O: typeof BlockForOperationResponse,
73
73
  readonly kind: MethodKind.Unary,
74
74
  },
75
+ /**
76
+ * GetModelsFromModules returns the list of models supported in modules on the machine.
77
+ *
78
+ * @generated from rpc viam.robot.v1.RobotService.GetModelsFromModules
79
+ */
80
+ readonly getModelsFromModules: {
81
+ readonly name: "GetModelsFromModules",
82
+ readonly I: typeof GetModelsFromModulesRequest,
83
+ readonly O: typeof GetModelsFromModulesResponse,
84
+ readonly kind: MethodKind.Unary,
85
+ },
75
86
  /**
76
87
  * DiscoverComponents returns the list of discovered component configurations.
88
+ * This API is deprecated
77
89
  *
78
90
  * @generated from rpc viam.robot.v1.RobotService.DiscoverComponents
91
+ * @deprecated
79
92
  */
80
93
  readonly discoverComponents: {
81
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
  /**
@@ -700,8 +702,91 @@ export declare class Discovery extends Message<Discovery> {
700
702
  static equals(a: Discovery | PlainMessage<Discovery> | undefined, b: Discovery | PlainMessage<Discovery> | undefined): boolean;
701
703
  }
702
704
 
705
+ /**
706
+ * @generated from message viam.robot.v1.ModuleModel
707
+ */
708
+ export declare class ModuleModel extends Message<ModuleModel> {
709
+ /**
710
+ * @generated from field: string module_name = 1;
711
+ */
712
+ moduleName: string;
713
+
714
+ /**
715
+ * @generated from field: string model = 2;
716
+ */
717
+ model: string;
718
+
719
+ /**
720
+ * @generated from field: string api = 3;
721
+ */
722
+ api: string;
723
+
724
+ /**
725
+ * @generated from field: bool from_local_module = 4;
726
+ */
727
+ fromLocalModule: boolean;
728
+
729
+ constructor(data?: PartialMessage<ModuleModel>);
730
+
731
+ static readonly runtime: typeof proto3;
732
+ static readonly typeName = "viam.robot.v1.ModuleModel";
733
+ static readonly fields: FieldList;
734
+
735
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ModuleModel;
736
+
737
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ModuleModel;
738
+
739
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ModuleModel;
740
+
741
+ static equals(a: ModuleModel | PlainMessage<ModuleModel> | undefined, b: ModuleModel | PlainMessage<ModuleModel> | undefined): boolean;
742
+ }
743
+
744
+ /**
745
+ * @generated from message viam.robot.v1.GetModelsFromModulesRequest
746
+ */
747
+ export declare class GetModelsFromModulesRequest extends Message<GetModelsFromModulesRequest> {
748
+ constructor(data?: PartialMessage<GetModelsFromModulesRequest>);
749
+
750
+ static readonly runtime: typeof proto3;
751
+ static readonly typeName = "viam.robot.v1.GetModelsFromModulesRequest";
752
+ static readonly fields: FieldList;
753
+
754
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetModelsFromModulesRequest;
755
+
756
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetModelsFromModulesRequest;
757
+
758
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetModelsFromModulesRequest;
759
+
760
+ static equals(a: GetModelsFromModulesRequest | PlainMessage<GetModelsFromModulesRequest> | undefined, b: GetModelsFromModulesRequest | PlainMessage<GetModelsFromModulesRequest> | undefined): boolean;
761
+ }
762
+
763
+ /**
764
+ * @generated from message viam.robot.v1.GetModelsFromModulesResponse
765
+ */
766
+ export declare class GetModelsFromModulesResponse extends Message<GetModelsFromModulesResponse> {
767
+ /**
768
+ * @generated from field: repeated viam.robot.v1.ModuleModel models = 1;
769
+ */
770
+ models: ModuleModel[];
771
+
772
+ constructor(data?: PartialMessage<GetModelsFromModulesResponse>);
773
+
774
+ static readonly runtime: typeof proto3;
775
+ static readonly typeName = "viam.robot.v1.GetModelsFromModulesResponse";
776
+ static readonly fields: FieldList;
777
+
778
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetModelsFromModulesResponse;
779
+
780
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetModelsFromModulesResponse;
781
+
782
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetModelsFromModulesResponse;
783
+
784
+ static equals(a: GetModelsFromModulesResponse | PlainMessage<GetModelsFromModulesResponse> | undefined, b: GetModelsFromModulesResponse | PlainMessage<GetModelsFromModulesResponse> | undefined): boolean;
785
+ }
786
+
703
787
  /**
704
788
  * @generated from message viam.robot.v1.DiscoverComponentsRequest
789
+ * @deprecated
705
790
  */
706
791
  export declare class DiscoverComponentsRequest extends Message<DiscoverComponentsRequest> {
707
792
  /**
@@ -726,6 +811,7 @@ export declare class DiscoverComponentsRequest extends Message<DiscoverComponent
726
811
 
727
812
  /**
728
813
  * @generated from message viam.robot.v1.DiscoverComponentsResponse
814
+ * @deprecated
729
815
  */
730
816
  export declare class DiscoverComponentsResponse extends Message<DiscoverComponentsResponse> {
731
817
  /**
@@ -0,0 +1,40 @@
1
+ // @generated by protoc-gen-connect-es v1.5.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 { DiscoverResourcesRequest, DiscoverResourcesResponse } from "./discovery_pb.js";
7
+ import { MethodKind } from "@bufbuild/protobuf";
8
+ import { DoCommandRequest, DoCommandResponse } from "../../../common/v1/common_pb.js";
9
+
10
+ /**
11
+ * @generated from service viam.service.discovery.v1.DiscoveryService
12
+ */
13
+ export declare const DiscoveryService: {
14
+ readonly typeName: "viam.service.discovery.v1.DiscoveryService",
15
+ readonly methods: {
16
+ /**
17
+ * DiscoverResources returns the list of all discovered viam resources connected to the viam-server machine.
18
+ *
19
+ * @generated from rpc viam.service.discovery.v1.DiscoveryService.DiscoverResources
20
+ */
21
+ readonly discoverResources: {
22
+ readonly name: "DiscoverResources",
23
+ readonly I: typeof DiscoverResourcesRequest,
24
+ readonly O: typeof DiscoverResourcesResponse,
25
+ readonly kind: MethodKind.Unary,
26
+ },
27
+ /**
28
+ * DoCommand sends/receives arbitrary commands
29
+ *
30
+ * @generated from rpc viam.service.discovery.v1.DiscoveryService.DoCommand
31
+ */
32
+ readonly doCommand: {
33
+ readonly name: "DoCommand",
34
+ readonly I: typeof DoCommandRequest,
35
+ readonly O: typeof DoCommandResponse,
36
+ readonly kind: MethodKind.Unary,
37
+ },
38
+ }
39
+ };
40
+