@viamrobotics/sdk 0.36.1-b.0 → 0.37.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/components/arm/client.d.ts +1 -1
- package/dist/components/base/client.d.ts +1 -1
- package/dist/components/board/client.d.ts +1 -1
- package/dist/components/button/client.d.ts +1 -1
- package/dist/components/camera/client.d.ts +1 -1
- package/dist/components/encoder/client.d.ts +1 -1
- package/dist/components/gantry/client.d.ts +1 -1
- package/dist/components/generic/client.d.ts +1 -1
- package/dist/components/gripper/client.d.ts +1 -1
- package/dist/components/input-controller/client.d.ts +1 -1
- package/dist/components/motor/client.d.ts +1 -1
- package/dist/components/movement-sensor/client.d.ts +1 -1
- package/dist/components/power-sensor/client.d.ts +1 -1
- package/dist/components/sensor/client.d.ts +1 -1
- package/dist/components/servo/client.d.ts +1 -1
- package/dist/components/switch/client.d.ts +1 -1
- package/dist/gen/app/agent/v1/agent_pb.d.ts +107 -12
- package/dist/gen/app/v1/app_connect.d.ts +89 -1
- package/dist/gen/app/v1/app_pb.d.ts +428 -3
- package/dist/gen/app/v1/billing_pb.d.ts +10 -0
- package/dist/gen/app/v1/robot_pb.d.ts +34 -0
- package/dist/gen/google/api/annotations_pb.d.ts +1 -1
- package/dist/gen/google/api/client_pb.d.ts +1 -1
- package/dist/gen/google/api/expr/v1alpha1/checked_pb.d.ts +1 -1
- package/dist/gen/google/api/expr/v1alpha1/eval_pb.d.ts +1 -1
- package/dist/gen/google/api/expr/v1alpha1/explain_pb.d.ts +1 -1
- package/dist/gen/google/api/expr/v1alpha1/syntax_pb.d.ts +1 -1
- package/dist/gen/google/api/expr/v1alpha1/value_pb.d.ts +1 -1
- package/dist/gen/google/api/expr/v1beta1/decl_pb.d.ts +1 -1
- package/dist/gen/google/api/expr/v1beta1/eval_pb.d.ts +1 -1
- package/dist/gen/google/api/expr/v1beta1/expr_pb.d.ts +1 -1
- package/dist/gen/google/api/expr/v1beta1/source_pb.d.ts +1 -1
- package/dist/gen/google/api/expr/v1beta1/value_pb.d.ts +1 -1
- package/dist/gen/google/api/field_behavior_pb.d.ts +1 -1
- package/dist/gen/google/api/field_info_pb.d.ts +1 -1
- package/dist/gen/google/api/http_pb.d.ts +1 -1
- package/dist/gen/google/api/httpbody_pb.d.ts +1 -1
- package/dist/gen/google/api/launch_stage_pb.d.ts +1 -1
- package/dist/gen/google/api/resource_pb.d.ts +1 -1
- package/dist/gen/google/api/visibility_pb.d.ts +1 -1
- package/dist/gen/google/bytestream/bytestream_connect.d.ts +1 -1
- package/dist/gen/google/bytestream/bytestream_pb.d.ts +1 -1
- package/dist/gen/google/geo/type/viewport_pb.d.ts +1 -1
- package/dist/gen/google/longrunning/operations_connect.d.ts +1 -1
- package/dist/gen/google/longrunning/operations_pb.d.ts +1 -1
- package/dist/gen/google/rpc/code_pb.d.ts +1 -1
- package/dist/gen/google/rpc/context/attribute_context_pb.d.ts +1 -1
- package/dist/gen/google/rpc/error_details_pb.d.ts +1 -1
- package/dist/gen/google/rpc/status_pb.d.ts +1 -1
- package/dist/gen/google/type/calendar_period_pb.d.ts +1 -1
- package/dist/gen/google/type/color_pb.d.ts +1 -1
- package/dist/gen/google/type/date_pb.d.ts +1 -1
- package/dist/gen/google/type/datetime_pb.d.ts +1 -1
- package/dist/gen/google/type/dayofweek_pb.d.ts +1 -1
- package/dist/gen/google/type/decimal_pb.d.ts +1 -1
- package/dist/gen/google/type/expr_pb.d.ts +1 -1
- package/dist/gen/google/type/fraction_pb.d.ts +1 -1
- package/dist/gen/google/type/interval_pb.d.ts +1 -1
- package/dist/gen/google/type/latlng_pb.d.ts +1 -1
- package/dist/gen/google/type/localized_text_pb.d.ts +1 -1
- package/dist/gen/google/type/money_pb.d.ts +1 -1
- package/dist/gen/google/type/month_pb.d.ts +1 -1
- package/dist/gen/google/type/phone_number_pb.d.ts +1 -1
- package/dist/gen/google/type/postal_address_pb.d.ts +1 -1
- package/dist/gen/google/type/quaternion_pb.d.ts +1 -1
- package/dist/gen/google/type/timeofday_pb.d.ts +1 -1
- package/dist/main.es.js +2796 -2530
- package/dist/main.umd.js +7 -7
- package/dist/services/data-manager/client.d.ts +1 -1
- package/dist/services/discovery/client.d.ts +1 -1
- package/dist/services/generic/client.d.ts +1 -1
- package/dist/services/motion/client.d.ts +1 -1
- package/dist/services/navigation/client.d.ts +1 -1
- package/dist/services/slam/client.d.ts +1 -1
- package/dist/services/vision/client.d.ts +2 -1
- package/dist/services/vision/types.d.ts +2 -1
- package/dist/types.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.396";
|
|
@@ -11,7 +11,7 @@ import type { Arm } from './arm';
|
|
|
11
11
|
*/
|
|
12
12
|
export declare class ArmClient implements Arm {
|
|
13
13
|
private client;
|
|
14
|
-
|
|
14
|
+
readonly name: string;
|
|
15
15
|
private readonly options;
|
|
16
16
|
callOptions: CallOptions;
|
|
17
17
|
constructor(client: RobotClient, name: string, options?: Options);
|
|
@@ -10,7 +10,7 @@ import type { Base } from './base';
|
|
|
10
10
|
*/
|
|
11
11
|
export declare class BaseClient implements Base {
|
|
12
12
|
private client;
|
|
13
|
-
|
|
13
|
+
readonly name: string;
|
|
14
14
|
private readonly options;
|
|
15
15
|
callOptions: CallOptions;
|
|
16
16
|
constructor(client: RobotClient, name: string, options?: Options);
|
|
@@ -10,7 +10,7 @@ import { type Board, type PowerMode, type Tick } from './board';
|
|
|
10
10
|
*/
|
|
11
11
|
export declare class BoardClient implements Board {
|
|
12
12
|
private client;
|
|
13
|
-
|
|
13
|
+
readonly name: string;
|
|
14
14
|
private readonly options;
|
|
15
15
|
callOptions: CallOptions;
|
|
16
16
|
constructor(client: RobotClient, name: string, options?: Options);
|
|
@@ -10,7 +10,7 @@ import type { Button } from './button';
|
|
|
10
10
|
*/
|
|
11
11
|
export declare class ButtonClient implements Button {
|
|
12
12
|
private client;
|
|
13
|
-
|
|
13
|
+
readonly name: string;
|
|
14
14
|
private readonly options;
|
|
15
15
|
callOptions: CallOptions;
|
|
16
16
|
constructor(client: RobotClient, name: string, options?: Options);
|
|
@@ -10,7 +10,7 @@ import type { Camera, MimeType } from './camera';
|
|
|
10
10
|
*/
|
|
11
11
|
export declare class CameraClient implements Camera {
|
|
12
12
|
private client;
|
|
13
|
-
|
|
13
|
+
readonly name: string;
|
|
14
14
|
private readonly options;
|
|
15
15
|
callOptions: CallOptions;
|
|
16
16
|
constructor(client: RobotClient, name: string, options?: Options);
|
|
@@ -10,7 +10,7 @@ import { EncoderPositionType, type Encoder } from './encoder';
|
|
|
10
10
|
*/
|
|
11
11
|
export declare class EncoderClient implements Encoder {
|
|
12
12
|
private client;
|
|
13
|
-
|
|
13
|
+
readonly name: string;
|
|
14
14
|
private readonly options;
|
|
15
15
|
callOptions: CallOptions;
|
|
16
16
|
constructor(client: RobotClient, name: string, options?: Options);
|
|
@@ -10,7 +10,7 @@ import type { Gantry } from './gantry';
|
|
|
10
10
|
*/
|
|
11
11
|
export declare class GantryClient implements Gantry {
|
|
12
12
|
private client;
|
|
13
|
-
|
|
13
|
+
readonly name: string;
|
|
14
14
|
private readonly options;
|
|
15
15
|
callOptions: CallOptions;
|
|
16
16
|
constructor(client: RobotClient, name: string, options?: Options);
|
|
@@ -10,7 +10,7 @@ import type { Generic } from './generic';
|
|
|
10
10
|
*/
|
|
11
11
|
export declare class GenericClient implements Generic {
|
|
12
12
|
private client;
|
|
13
|
-
|
|
13
|
+
readonly name: string;
|
|
14
14
|
private readonly options;
|
|
15
15
|
callOptions: CallOptions;
|
|
16
16
|
constructor(client: RobotClient, name: string, options?: Options);
|
|
@@ -10,7 +10,7 @@ import type { Gripper } from './gripper';
|
|
|
10
10
|
*/
|
|
11
11
|
export declare class GripperClient implements Gripper {
|
|
12
12
|
private client;
|
|
13
|
-
|
|
13
|
+
readonly name: string;
|
|
14
14
|
private readonly options;
|
|
15
15
|
callOptions: CallOptions;
|
|
16
16
|
constructor(client: RobotClient, name: string, options?: Options);
|
|
@@ -10,7 +10,7 @@ import type { InputController, InputControllerEvent } from './input-controller';
|
|
|
10
10
|
*/
|
|
11
11
|
export declare class InputControllerClient implements InputController {
|
|
12
12
|
private client;
|
|
13
|
-
|
|
13
|
+
readonly name: string;
|
|
14
14
|
private readonly options;
|
|
15
15
|
callOptions: CallOptions;
|
|
16
16
|
constructor(client: RobotClient, name: string, options?: Options);
|
|
@@ -10,7 +10,7 @@ import type { Motor } from './motor';
|
|
|
10
10
|
*/
|
|
11
11
|
export declare class MotorClient implements Motor {
|
|
12
12
|
private client;
|
|
13
|
-
|
|
13
|
+
readonly name: string;
|
|
14
14
|
private readonly options;
|
|
15
15
|
callOptions: CallOptions;
|
|
16
16
|
constructor(client: RobotClient, name: string, options?: Options);
|
|
@@ -10,7 +10,7 @@ import type { MovementSensor } from './movement-sensor';
|
|
|
10
10
|
*/
|
|
11
11
|
export declare class MovementSensorClient implements MovementSensor {
|
|
12
12
|
private client;
|
|
13
|
-
|
|
13
|
+
readonly name: string;
|
|
14
14
|
private readonly options;
|
|
15
15
|
callOptions: CallOptions;
|
|
16
16
|
constructor(client: RobotClient, name: string, options?: Options);
|
|
@@ -10,7 +10,7 @@ import type { PowerSensor } from './power-sensor';
|
|
|
10
10
|
*/
|
|
11
11
|
export declare class PowerSensorClient implements PowerSensor {
|
|
12
12
|
private client;
|
|
13
|
-
|
|
13
|
+
readonly name: string;
|
|
14
14
|
private readonly options;
|
|
15
15
|
callOptions: CallOptions;
|
|
16
16
|
constructor(client: RobotClient, name: string, options?: Options);
|
|
@@ -10,7 +10,7 @@ import type { Sensor } from './sensor';
|
|
|
10
10
|
*/
|
|
11
11
|
export declare class SensorClient implements Sensor {
|
|
12
12
|
private client;
|
|
13
|
-
|
|
13
|
+
readonly name: string;
|
|
14
14
|
private readonly options;
|
|
15
15
|
callOptions: CallOptions;
|
|
16
16
|
constructor(client: RobotClient, name: string, options?: Options);
|
|
@@ -10,7 +10,7 @@ import type { Servo } from './servo';
|
|
|
10
10
|
*/
|
|
11
11
|
export declare class ServoClient implements Servo {
|
|
12
12
|
private client;
|
|
13
|
-
|
|
13
|
+
readonly name: string;
|
|
14
14
|
private readonly options;
|
|
15
15
|
callOptions: CallOptions;
|
|
16
16
|
constructor(client: RobotClient, name: string, options?: Options);
|
|
@@ -10,7 +10,7 @@ import type { Switch } from './switch';
|
|
|
10
10
|
*/
|
|
11
11
|
export declare class SwitchClient implements Switch {
|
|
12
12
|
private client;
|
|
13
|
-
|
|
13
|
+
readonly name: string;
|
|
14
14
|
private readonly options;
|
|
15
15
|
callOptions: CallOptions;
|
|
16
16
|
constructor(client: RobotClient, name: string, options?: Options);
|
|
@@ -68,11 +68,20 @@ export declare class DeviceAgentConfigRequest extends Message<DeviceAgentConfigR
|
|
|
68
68
|
|
|
69
69
|
/**
|
|
70
70
|
* current subsystems and versions
|
|
71
|
+
* DEPRECATED in favor of version_info
|
|
71
72
|
*
|
|
72
|
-
* @generated from field: map<string, string> subsystem_versions = 3;
|
|
73
|
+
* @generated from field: map<string, string> subsystem_versions = 3 [deprecated = true];
|
|
74
|
+
* @deprecated
|
|
73
75
|
*/
|
|
74
76
|
subsystemVersions: { [key: string]: string };
|
|
75
77
|
|
|
78
|
+
/**
|
|
79
|
+
* Currently installed versions for agent and viam-server
|
|
80
|
+
*
|
|
81
|
+
* @generated from field: viam.app.agent.v1.VersionInfo version_info = 4;
|
|
82
|
+
*/
|
|
83
|
+
versionInfo?: VersionInfo;
|
|
84
|
+
|
|
76
85
|
constructor(data?: PartialMessage<DeviceAgentConfigRequest>);
|
|
77
86
|
|
|
78
87
|
static readonly runtime: typeof proto3;
|
|
@@ -95,8 +104,10 @@ export declare class DeviceAgentConfigResponse extends Message<DeviceAgentConfig
|
|
|
95
104
|
/**
|
|
96
105
|
* subsystems to be installed/configured/updated
|
|
97
106
|
* note: previously installed subsystems will be removed from the system if removed from this list
|
|
107
|
+
* DEPRECATED in favor of indidivual update_info and settings fields
|
|
98
108
|
*
|
|
99
|
-
* @generated from field: map<string, viam.app.agent.v1.DeviceSubsystemConfig> subsystem_configs = 1;
|
|
109
|
+
* @generated from field: map<string, viam.app.agent.v1.DeviceSubsystemConfig> subsystem_configs = 1 [deprecated = true];
|
|
110
|
+
* @deprecated
|
|
100
111
|
*/
|
|
101
112
|
subsystemConfigs: { [key: string]: DeviceSubsystemConfig };
|
|
102
113
|
|
|
@@ -107,6 +118,40 @@ export declare class DeviceAgentConfigResponse extends Message<DeviceAgentConfig
|
|
|
107
118
|
*/
|
|
108
119
|
checkInterval?: Duration;
|
|
109
120
|
|
|
121
|
+
/**
|
|
122
|
+
* update info for agent and viam-server, parsed/processed in App
|
|
123
|
+
*
|
|
124
|
+
* @generated from field: viam.app.agent.v1.UpdateInfo agent_update_info = 3;
|
|
125
|
+
*/
|
|
126
|
+
agentUpdateInfo?: UpdateInfo;
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* @generated from field: viam.app.agent.v1.UpdateInfo viam_server_update_info = 4;
|
|
130
|
+
*/
|
|
131
|
+
viamServerUpdateInfo?: UpdateInfo;
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* various settings that are passed directly to device Agent
|
|
135
|
+
*
|
|
136
|
+
* @generated from field: google.protobuf.Struct advanced_settings = 5;
|
|
137
|
+
*/
|
|
138
|
+
advancedSettings?: Struct;
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* @generated from field: google.protobuf.Struct network_configuration = 6;
|
|
142
|
+
*/
|
|
143
|
+
networkConfiguration?: Struct;
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* @generated from field: google.protobuf.Struct additional_networks = 7;
|
|
147
|
+
*/
|
|
148
|
+
additionalNetworks?: Struct;
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* @generated from field: google.protobuf.Struct system_configuration = 8;
|
|
152
|
+
*/
|
|
153
|
+
systemConfiguration?: Struct;
|
|
154
|
+
|
|
110
155
|
constructor(data?: PartialMessage<DeviceAgentConfigResponse>);
|
|
111
156
|
|
|
112
157
|
static readonly runtime: typeof proto3;
|
|
@@ -123,15 +168,18 @@ export declare class DeviceAgentConfigResponse extends Message<DeviceAgentConfig
|
|
|
123
168
|
}
|
|
124
169
|
|
|
125
170
|
/**
|
|
171
|
+
* DEPRECATED as of January 2025
|
|
172
|
+
*
|
|
126
173
|
* @generated from message viam.app.agent.v1.DeviceSubsystemConfig
|
|
174
|
+
* @deprecated
|
|
127
175
|
*/
|
|
128
176
|
export declare class DeviceSubsystemConfig extends Message<DeviceSubsystemConfig> {
|
|
129
177
|
/**
|
|
130
178
|
* data needed to download/validate the subsystem
|
|
131
179
|
*
|
|
132
|
-
* @generated from field: viam.app.agent.v1.
|
|
180
|
+
* @generated from field: viam.app.agent.v1.UpdateInfo update_info = 1;
|
|
133
181
|
*/
|
|
134
|
-
updateInfo?:
|
|
182
|
+
updateInfo?: UpdateInfo;
|
|
135
183
|
|
|
136
184
|
/**
|
|
137
185
|
* if this subsystem is disabled and should not be started by the agent
|
|
@@ -169,6 +217,53 @@ export declare class DeviceSubsystemConfig extends Message<DeviceSubsystemConfig
|
|
|
169
217
|
static equals(a: DeviceSubsystemConfig | PlainMessage<DeviceSubsystemConfig> | undefined, b: DeviceSubsystemConfig | PlainMessage<DeviceSubsystemConfig> | undefined): boolean;
|
|
170
218
|
}
|
|
171
219
|
|
|
220
|
+
/**
|
|
221
|
+
* @generated from message viam.app.agent.v1.VersionInfo
|
|
222
|
+
*/
|
|
223
|
+
export declare class VersionInfo extends Message<VersionInfo> {
|
|
224
|
+
/**
|
|
225
|
+
* the version of agent currently running and making the request
|
|
226
|
+
*
|
|
227
|
+
* @generated from field: string agent_running = 1;
|
|
228
|
+
*/
|
|
229
|
+
agentRunning: string;
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* the version of agent installed (will run after restart if different)
|
|
233
|
+
*
|
|
234
|
+
* @generated from field: string agent_installed = 2;
|
|
235
|
+
*/
|
|
236
|
+
agentInstalled: string;
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* the version of viam-server currently running
|
|
240
|
+
*
|
|
241
|
+
* @generated from field: string viam_server_running = 3;
|
|
242
|
+
*/
|
|
243
|
+
viamServerRunning: string;
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
* the version of viam-server installed (will run after restart if different)
|
|
247
|
+
*
|
|
248
|
+
* @generated from field: string viam_server_installed = 4;
|
|
249
|
+
*/
|
|
250
|
+
viamServerInstalled: string;
|
|
251
|
+
|
|
252
|
+
constructor(data?: PartialMessage<VersionInfo>);
|
|
253
|
+
|
|
254
|
+
static readonly runtime: typeof proto3;
|
|
255
|
+
static readonly typeName = "viam.app.agent.v1.VersionInfo";
|
|
256
|
+
static readonly fields: FieldList;
|
|
257
|
+
|
|
258
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VersionInfo;
|
|
259
|
+
|
|
260
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VersionInfo;
|
|
261
|
+
|
|
262
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VersionInfo;
|
|
263
|
+
|
|
264
|
+
static equals(a: VersionInfo | PlainMessage<VersionInfo> | undefined, b: VersionInfo | PlainMessage<VersionInfo> | undefined): boolean;
|
|
265
|
+
}
|
|
266
|
+
|
|
172
267
|
/**
|
|
173
268
|
* @generated from message viam.app.agent.v1.HostInfo
|
|
174
269
|
*/
|
|
@@ -211,9 +306,9 @@ export declare class HostInfo extends Message<HostInfo> {
|
|
|
211
306
|
}
|
|
212
307
|
|
|
213
308
|
/**
|
|
214
|
-
* @generated from message viam.app.agent.v1.
|
|
309
|
+
* @generated from message viam.app.agent.v1.UpdateInfo
|
|
215
310
|
*/
|
|
216
|
-
export declare class
|
|
311
|
+
export declare class UpdateInfo extends Message<UpdateInfo> {
|
|
217
312
|
/**
|
|
218
313
|
* unpacked filename as it is expected on disk (regardless of url)
|
|
219
314
|
*
|
|
@@ -249,18 +344,18 @@ export declare class SubsystemUpdateInfo extends Message<SubsystemUpdateInfo> {
|
|
|
249
344
|
*/
|
|
250
345
|
format: PackageFormat;
|
|
251
346
|
|
|
252
|
-
constructor(data?: PartialMessage<
|
|
347
|
+
constructor(data?: PartialMessage<UpdateInfo>);
|
|
253
348
|
|
|
254
349
|
static readonly runtime: typeof proto3;
|
|
255
|
-
static readonly typeName = "viam.app.agent.v1.
|
|
350
|
+
static readonly typeName = "viam.app.agent.v1.UpdateInfo";
|
|
256
351
|
static readonly fields: FieldList;
|
|
257
352
|
|
|
258
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
353
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateInfo;
|
|
259
354
|
|
|
260
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
355
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateInfo;
|
|
261
356
|
|
|
262
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
357
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateInfo;
|
|
263
358
|
|
|
264
|
-
static equals(a:
|
|
359
|
+
static equals(a: UpdateInfo | PlainMessage<UpdateInfo> | undefined, b: UpdateInfo | PlainMessage<UpdateInfo> | undefined): boolean;
|
|
265
360
|
}
|
|
266
361
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
|
-
import { AddRoleRequest, AddRoleResponse, ChangeRoleRequest, ChangeRoleResponse, CheckPermissionsRequest, CheckPermissionsResponse, CreateFragmentRequest, CreateFragmentResponse, CreateKeyFromExistingKeyAuthorizationsRequest, CreateKeyFromExistingKeyAuthorizationsResponse, CreateKeyRequest, CreateKeyResponse, CreateLocationRequest, CreateLocationResponse, CreateLocationSecretRequest, CreateLocationSecretResponse, CreateModuleRequest, CreateModuleResponse, CreateOAuthAppRequest, CreateOAuthAppResponse, CreateOrganizationInviteRequest, CreateOrganizationInviteResponse, CreateOrganizationRequest, CreateOrganizationResponse, CreateRegistryItemRequest, CreateRegistryItemResponse, CreateRobotPartSecretRequest, CreateRobotPartSecretResponse, DeleteFragmentRequest, DeleteFragmentResponse, DeleteFragmentTagRequest, DeleteFragmentTagResponse, DeleteKeyRequest, DeleteKeyResponse, DeleteLocationRequest, DeleteLocationResponse, DeleteLocationSecretRequest, DeleteLocationSecretResponse, DeleteOAuthAppRequest, DeleteOAuthAppResponse, DeleteOrganizationInviteRequest, DeleteOrganizationInviteResponse, DeleteOrganizationMemberRequest, DeleteOrganizationMemberResponse, DeleteOrganizationRequest, DeleteOrganizationResponse, DeleteRegistryItemRequest, DeleteRegistryItemResponse, DeleteRobotPartRequest, DeleteRobotPartResponse, DeleteRobotPartSecretRequest, DeleteRobotPartSecretResponse, DeleteRobotRequest, DeleteRobotResponse, DisableAuthServiceRequest, DisableAuthServiceResponse, DisableBillingServiceRequest, DisableBillingServiceResponse, EnableAuthServiceRequest, EnableAuthServiceResponse, EnableBillingServiceRequest, EnableBillingServiceResponse, GetBillingServiceConfigRequest, GetBillingServiceConfigResponse, GetFragmentHistoryRequest, GetFragmentHistoryResponse, GetFragmentRequest, GetFragmentResponse, GetFragmentUsageRequest, GetFragmentUsageResponse, GetLocationRequest, GetLocationResponse, GetModuleRequest, GetModuleResponse, GetOrganizationNamespaceAvailabilityRequest, GetOrganizationNamespaceAvailabilityResponse, GetOrganizationRequest, GetOrganizationResponse, GetOrganizationsWithAccessToLocationRequest, GetOrganizationsWithAccessToLocationResponse, GetRegistryItemRequest, GetRegistryItemResponse, GetRobotAPIKeysRequest, GetRobotAPIKeysResponse, GetRobotPartHistoryRequest, GetRobotPartHistoryResponse, GetRobotPartLogsRequest, GetRobotPartLogsResponse, GetRobotPartRequest, GetRobotPartResponse, GetRobotPartsRequest, GetRobotPartsResponse, GetRobotRequest, GetRobotResponse, GetRoverRentalRobotsRequest, GetRoverRentalRobotsResponse, GetUserIDByEmailRequest, GetUserIDByEmailResponse, ListAuthorizationsRequest, ListAuthorizationsResponse, ListFragmentsRequest, ListFragmentsResponse, ListKeysRequest, ListKeysResponse, ListLocationsRequest, ListLocationsResponse, ListMachineFragmentsRequest, ListMachineFragmentsResponse, ListModulesRequest, ListModulesResponse, ListOAuthAppsRequest, ListOAuthAppsResponse, ListOrganizationMembersRequest, ListOrganizationMembersResponse, ListOrganizationsByUserRequest, ListOrganizationsByUserResponse, ListOrganizationsRequest, ListOrganizationsResponse, ListRegistryItemsRequest, ListRegistryItemsResponse, ListRobotsRequest, ListRobotsResponse, LocationAuthRequest, LocationAuthResponse, MarkPartAsMainRequest, MarkPartAsMainResponse, MarkPartForRestartRequest, MarkPartForRestartResponse, NewRobotPartRequest, NewRobotPartResponse, NewRobotRequest, NewRobotResponse, OrganizationGetLogoRequest, OrganizationGetLogoResponse, OrganizationGetSupportEmailRequest, OrganizationGetSupportEmailResponse, OrganizationSetLogoRequest, OrganizationSetLogoResponse, OrganizationSetSupportEmailRequest, OrganizationSetSupportEmailResponse, ReadOAuthAppRequest, ReadOAuthAppResponse, RemoveRoleRequest, RemoveRoleResponse, RenameKeyRequest, RenameKeyResponse, ResendOrganizationInviteRequest, ResendOrganizationInviteResponse, RotateKeyRequest, RotateKeyResponse, SearchOrganizationsRequest, SearchOrganizationsResponse, SetFragmentTagRequest, SetFragmentTagResponse, ShareLocationRequest, ShareLocationResponse, TailRobotPartLogsRequest, TailRobotPartLogsResponse, TransferRegistryItemRequest, TransferRegistryItemResponse, UnshareLocationRequest, UnshareLocationResponse, UpdateBillingServiceRequest, UpdateBillingServiceResponse, UpdateFragmentRequest, UpdateFragmentResponse, UpdateLocationRequest, UpdateLocationResponse, UpdateModuleRequest, UpdateModuleResponse, UpdateOAuthAppRequest, UpdateOAuthAppResponse, UpdateOrganizationInviteAuthorizationsRequest, UpdateOrganizationInviteAuthorizationsResponse, UpdateOrganizationRequest, UpdateOrganizationResponse, UpdateRegistryItemRequest, UpdateRegistryItemResponse, UpdateRobotPartRequest, UpdateRobotPartResponse, UpdateRobotRequest, UpdateRobotResponse, UploadModuleFileRequest, UploadModuleFileResponse } from "./app_pb.js";
|
|
6
|
+
import { AddRoleRequest, AddRoleResponse, ChangeRoleRequest, ChangeRoleResponse, CheckPermissionsRequest, CheckPermissionsResponse, CreateFragmentRequest, CreateFragmentResponse, CreateKeyFromExistingKeyAuthorizationsRequest, CreateKeyFromExistingKeyAuthorizationsResponse, CreateKeyRequest, CreateKeyResponse, CreateLocationRequest, CreateLocationResponse, CreateLocationSecretRequest, CreateLocationSecretResponse, CreateModuleRequest, CreateModuleResponse, CreateOAuthAppRequest, CreateOAuthAppResponse, CreateOrganizationInviteRequest, CreateOrganizationInviteResponse, CreateOrganizationRequest, CreateOrganizationResponse, CreateRegistryItemRequest, CreateRegistryItemResponse, CreateRobotPartSecretRequest, CreateRobotPartSecretResponse, DeleteFragmentRequest, DeleteFragmentResponse, DeleteFragmentTagRequest, DeleteFragmentTagResponse, DeleteKeyRequest, DeleteKeyResponse, DeleteLocationRequest, DeleteLocationResponse, DeleteLocationSecretRequest, DeleteLocationSecretResponse, DeleteOAuthAppRequest, DeleteOAuthAppResponse, DeleteOrganizationInviteRequest, DeleteOrganizationInviteResponse, DeleteOrganizationMemberRequest, DeleteOrganizationMemberResponse, DeleteOrganizationRequest, DeleteOrganizationResponse, DeleteRegistryItemRequest, DeleteRegistryItemResponse, DeleteRobotPartRequest, DeleteRobotPartResponse, DeleteRobotPartSecretRequest, DeleteRobotPartSecretResponse, DeleteRobotRequest, DeleteRobotResponse, DisableAuthServiceRequest, DisableAuthServiceResponse, DisableBillingServiceRequest, DisableBillingServiceResponse, EnableAuthServiceRequest, EnableAuthServiceResponse, EnableBillingServiceRequest, EnableBillingServiceResponse, GetBillingServiceConfigRequest, GetBillingServiceConfigResponse, GetFragmentHistoryRequest, GetFragmentHistoryResponse, GetFragmentRequest, GetFragmentResponse, GetFragmentUsageRequest, GetFragmentUsageResponse, GetLocationMetadataRequest, GetLocationMetadataResponse, GetLocationRequest, GetLocationResponse, GetModuleRequest, GetModuleResponse, GetOrganizationMetadataRequest, GetOrganizationMetadataResponse, GetOrganizationNamespaceAvailabilityRequest, GetOrganizationNamespaceAvailabilityResponse, GetOrganizationRequest, GetOrganizationResponse, GetOrganizationsWithAccessToLocationRequest, GetOrganizationsWithAccessToLocationResponse, GetRegistryItemRequest, GetRegistryItemResponse, GetRobotAPIKeysRequest, GetRobotAPIKeysResponse, GetRobotMetadataRequest, GetRobotMetadataResponse, GetRobotPartHistoryRequest, GetRobotPartHistoryResponse, GetRobotPartLogsRequest, GetRobotPartLogsResponse, GetRobotPartMetadataRequest, GetRobotPartMetadataResponse, GetRobotPartRequest, GetRobotPartResponse, GetRobotPartsRequest, GetRobotPartsResponse, GetRobotRequest, GetRobotResponse, GetRoverRentalRobotsRequest, GetRoverRentalRobotsResponse, GetUserIDByEmailRequest, GetUserIDByEmailResponse, ListAuthorizationsRequest, ListAuthorizationsResponse, ListFragmentsRequest, ListFragmentsResponse, ListKeysRequest, ListKeysResponse, ListLocationsRequest, ListLocationsResponse, ListMachineFragmentsRequest, ListMachineFragmentsResponse, ListModulesRequest, ListModulesResponse, ListOAuthAppsRequest, ListOAuthAppsResponse, ListOrganizationMembersRequest, ListOrganizationMembersResponse, ListOrganizationsByUserRequest, ListOrganizationsByUserResponse, ListOrganizationsRequest, ListOrganizationsResponse, ListRegistryItemsRequest, ListRegistryItemsResponse, ListRobotsRequest, ListRobotsResponse, LocationAuthRequest, LocationAuthResponse, MarkPartAsMainRequest, MarkPartAsMainResponse, MarkPartForRestartRequest, MarkPartForRestartResponse, NewRobotPartRequest, NewRobotPartResponse, NewRobotRequest, NewRobotResponse, OrganizationGetLogoRequest, OrganizationGetLogoResponse, OrganizationGetSupportEmailRequest, OrganizationGetSupportEmailResponse, OrganizationSetLogoRequest, OrganizationSetLogoResponse, OrganizationSetSupportEmailRequest, OrganizationSetSupportEmailResponse, ReadOAuthAppRequest, ReadOAuthAppResponse, RemoveRoleRequest, RemoveRoleResponse, RenameKeyRequest, RenameKeyResponse, ResendOrganizationInviteRequest, ResendOrganizationInviteResponse, RotateKeyRequest, RotateKeyResponse, SearchOrganizationsRequest, SearchOrganizationsResponse, SetFragmentTagRequest, SetFragmentTagResponse, ShareLocationRequest, ShareLocationResponse, TailRobotPartLogsRequest, TailRobotPartLogsResponse, TransferRegistryItemRequest, TransferRegistryItemResponse, UnshareLocationRequest, UnshareLocationResponse, UpdateBillingServiceRequest, UpdateBillingServiceResponse, UpdateFragmentRequest, UpdateFragmentResponse, UpdateLocationMetadataRequest, UpdateLocationMetadataResponse, UpdateLocationRequest, UpdateLocationResponse, UpdateModuleRequest, UpdateModuleResponse, UpdateOAuthAppRequest, UpdateOAuthAppResponse, UpdateOrganizationInviteAuthorizationsRequest, UpdateOrganizationInviteAuthorizationsResponse, UpdateOrganizationMetadataRequest, UpdateOrganizationMetadataResponse, UpdateOrganizationRequest, UpdateOrganizationResponse, UpdateRegistryItemRequest, UpdateRegistryItemResponse, UpdateRobotMetadataRequest, UpdateRobotMetadataResponse, UpdateRobotPartMetadataRequest, UpdateRobotPartMetadataResponse, UpdateRobotPartRequest, UpdateRobotPartResponse, UpdateRobotRequest, UpdateRobotResponse, UploadModuleFileRequest, UploadModuleFileResponse } from "./app_pb.js";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -124,6 +124,28 @@ export declare const AppService: {
|
|
|
124
124
|
readonly O: typeof DeleteOrganizationResponse,
|
|
125
125
|
readonly kind: MethodKind.Unary,
|
|
126
126
|
},
|
|
127
|
+
/**
|
|
128
|
+
* Get user-defined metadata for an organization
|
|
129
|
+
*
|
|
130
|
+
* @generated from rpc viam.app.v1.AppService.GetOrganizationMetadata
|
|
131
|
+
*/
|
|
132
|
+
readonly getOrganizationMetadata: {
|
|
133
|
+
readonly name: "GetOrganizationMetadata",
|
|
134
|
+
readonly I: typeof GetOrganizationMetadataRequest,
|
|
135
|
+
readonly O: typeof GetOrganizationMetadataResponse,
|
|
136
|
+
readonly kind: MethodKind.Unary,
|
|
137
|
+
},
|
|
138
|
+
/**
|
|
139
|
+
* Update user-defined metadata for an organization
|
|
140
|
+
*
|
|
141
|
+
* @generated from rpc viam.app.v1.AppService.UpdateOrganizationMetadata
|
|
142
|
+
*/
|
|
143
|
+
readonly updateOrganizationMetadata: {
|
|
144
|
+
readonly name: "UpdateOrganizationMetadata",
|
|
145
|
+
readonly I: typeof UpdateOrganizationMetadataRequest,
|
|
146
|
+
readonly O: typeof UpdateOrganizationMetadataResponse,
|
|
147
|
+
readonly kind: MethodKind.Unary,
|
|
148
|
+
},
|
|
127
149
|
/**
|
|
128
150
|
* List all members of an organization and all invited members to the organization.
|
|
129
151
|
*
|
|
@@ -369,6 +391,28 @@ export declare const AppService: {
|
|
|
369
391
|
readonly O: typeof DeleteLocationResponse,
|
|
370
392
|
readonly kind: MethodKind.Unary,
|
|
371
393
|
},
|
|
394
|
+
/**
|
|
395
|
+
* Get user-defined metadata for a location
|
|
396
|
+
*
|
|
397
|
+
* @generated from rpc viam.app.v1.AppService.GetLocationMetadata
|
|
398
|
+
*/
|
|
399
|
+
readonly getLocationMetadata: {
|
|
400
|
+
readonly name: "GetLocationMetadata",
|
|
401
|
+
readonly I: typeof GetLocationMetadataRequest,
|
|
402
|
+
readonly O: typeof GetLocationMetadataResponse,
|
|
403
|
+
readonly kind: MethodKind.Unary,
|
|
404
|
+
},
|
|
405
|
+
/**
|
|
406
|
+
* Update user-defined metadata for a location
|
|
407
|
+
*
|
|
408
|
+
* @generated from rpc viam.app.v1.AppService.UpdateLocationMetadata
|
|
409
|
+
*/
|
|
410
|
+
readonly updateLocationMetadata: {
|
|
411
|
+
readonly name: "UpdateLocationMetadata",
|
|
412
|
+
readonly I: typeof UpdateLocationMetadataRequest,
|
|
413
|
+
readonly O: typeof UpdateLocationMetadataResponse,
|
|
414
|
+
readonly kind: MethodKind.Unary,
|
|
415
|
+
},
|
|
372
416
|
/**
|
|
373
417
|
* Get a list of locations
|
|
374
418
|
*
|
|
@@ -447,6 +491,28 @@ export declare const AppService: {
|
|
|
447
491
|
readonly O: typeof GetRobotResponse,
|
|
448
492
|
readonly kind: MethodKind.Unary,
|
|
449
493
|
},
|
|
494
|
+
/**
|
|
495
|
+
* Get user-defined metadata for a robot
|
|
496
|
+
*
|
|
497
|
+
* @generated from rpc viam.app.v1.AppService.GetRobotMetadata
|
|
498
|
+
*/
|
|
499
|
+
readonly getRobotMetadata: {
|
|
500
|
+
readonly name: "GetRobotMetadata",
|
|
501
|
+
readonly I: typeof GetRobotMetadataRequest,
|
|
502
|
+
readonly O: typeof GetRobotMetadataResponse,
|
|
503
|
+
readonly kind: MethodKind.Unary,
|
|
504
|
+
},
|
|
505
|
+
/**
|
|
506
|
+
* Update user-defined metadata for an robot
|
|
507
|
+
*
|
|
508
|
+
* @generated from rpc viam.app.v1.AppService.UpdateRobotMetadata
|
|
509
|
+
*/
|
|
510
|
+
readonly updateRobotMetadata: {
|
|
511
|
+
readonly name: "UpdateRobotMetadata",
|
|
512
|
+
readonly I: typeof UpdateRobotMetadataRequest,
|
|
513
|
+
readonly O: typeof UpdateRobotMetadataResponse,
|
|
514
|
+
readonly kind: MethodKind.Unary,
|
|
515
|
+
},
|
|
450
516
|
/**
|
|
451
517
|
* Get Rover Rental Location Robots
|
|
452
518
|
*
|
|
@@ -540,6 +606,28 @@ export declare const AppService: {
|
|
|
540
606
|
readonly O: typeof DeleteRobotPartResponse,
|
|
541
607
|
readonly kind: MethodKind.Unary,
|
|
542
608
|
},
|
|
609
|
+
/**
|
|
610
|
+
* Get user-defined metadata for a robot part
|
|
611
|
+
*
|
|
612
|
+
* @generated from rpc viam.app.v1.AppService.GetRobotPartMetadata
|
|
613
|
+
*/
|
|
614
|
+
readonly getRobotPartMetadata: {
|
|
615
|
+
readonly name: "GetRobotPartMetadata",
|
|
616
|
+
readonly I: typeof GetRobotPartMetadataRequest,
|
|
617
|
+
readonly O: typeof GetRobotPartMetadataResponse,
|
|
618
|
+
readonly kind: MethodKind.Unary,
|
|
619
|
+
},
|
|
620
|
+
/**
|
|
621
|
+
* Update user-defined metadata for an robot part
|
|
622
|
+
*
|
|
623
|
+
* @generated from rpc viam.app.v1.AppService.UpdateRobotPartMetadata
|
|
624
|
+
*/
|
|
625
|
+
readonly updateRobotPartMetadata: {
|
|
626
|
+
readonly name: "UpdateRobotPartMetadata",
|
|
627
|
+
readonly I: typeof UpdateRobotPartMetadataRequest,
|
|
628
|
+
readonly O: typeof UpdateRobotPartMetadataResponse,
|
|
629
|
+
readonly kind: MethodKind.Unary,
|
|
630
|
+
},
|
|
543
631
|
/**
|
|
544
632
|
* Gets the Robot API Keys for the robot
|
|
545
633
|
*
|