@viamrobotics/sdk 0.59.0 → 0.61.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/arm.d.ts +3 -15
- package/dist/components/arm/client.d.ts +1 -13
- package/dist/components/camera/camera.d.ts +0 -51
- package/dist/components/camera/client.d.ts +1 -3
- package/dist/components/gantry/client.d.ts +1 -0
- package/dist/components/gantry/gantry.d.ts +17 -0
- package/dist/gen/app/build/v1/build_connect.d.ts +12 -1
- package/dist/gen/app/build/v1/build_pb.d.ts +71 -0
- package/dist/gen/app/datasync/v1/data_sync_pb.d.ts +5 -0
- package/dist/gen/app/v1/app_pb.d.ts +87 -0
- package/dist/gen/provisioning/v1/provisioning_pb.d.ts +34 -0
- package/dist/main.es.js +4336 -4290
- package/dist/main.umd.js +7 -7
- package/dist/services/vision/vision.d.ts +6 -8
- package/dist/utils.d.ts +23 -2
- 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.508";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { PlainMessage, Struct } from '@bufbuild/protobuf';
|
|
2
|
-
import type { Pose, Resource
|
|
2
|
+
import type { Pose, Resource } from '../../types';
|
|
3
3
|
import * as armApi from '../../gen/component/arm/v1/arm_pb';
|
|
4
4
|
import type { Geometry, Mesh } from '../../gen/common/v1/common_pb';
|
|
5
|
-
import type {
|
|
5
|
+
import type { KinematicsData } from '../../utils';
|
|
6
6
|
export type ArmJointPositions = PlainMessage<armApi.JointPositions>;
|
|
7
7
|
export declare const ArmJointPositions: typeof armApi.JointPositions;
|
|
8
8
|
/** Represents a physical robot arm that exists in three-dimensional space. */
|
|
@@ -62,19 +62,7 @@ export interface Arm extends Resource {
|
|
|
62
62
|
* API](https://docs.viam.com/dev/reference/apis/components/arm/#getkinematics).
|
|
63
63
|
* ```
|
|
64
64
|
*/
|
|
65
|
-
getKinematics: (extra?: Struct) => Promise<
|
|
66
|
-
name: string;
|
|
67
|
-
kinematic_param_type: 'SVA' | 'URDF' | 'UNSPECIFIED';
|
|
68
|
-
joints: {
|
|
69
|
-
id: string;
|
|
70
|
-
type: string;
|
|
71
|
-
parent: string;
|
|
72
|
-
axis: Vector3;
|
|
73
|
-
max: number;
|
|
74
|
-
min: number;
|
|
75
|
-
}[];
|
|
76
|
-
links: Frame[];
|
|
77
|
-
}>;
|
|
65
|
+
getKinematics: (extra?: Struct) => Promise<KinematicsData>;
|
|
78
66
|
/**
|
|
79
67
|
* Move the end of the arm to the pose.
|
|
80
68
|
*
|
|
@@ -18,20 +18,8 @@ export declare class ArmClient implements Arm {
|
|
|
18
18
|
constructor(client: RobotClient, name: string, options?: Options);
|
|
19
19
|
getEndPosition(extra?: {}, callOptions?: CallOptions): Promise<import("../../gen/common/v1/common_pb").Pose>;
|
|
20
20
|
getGeometries(extra?: {}, callOptions?: CallOptions): Promise<import("../../gen/common/v1/common_pb").Geometry[]>;
|
|
21
|
+
getKinematics(extra?: {}, callOptions?: CallOptions): Promise<import("../../utils").KinematicsData>;
|
|
21
22
|
get3DModels(extra?: {}, callOptions?: CallOptions): Promise<Record<string, Mesh>>;
|
|
22
|
-
getKinematics(extra?: {}, callOptions?: CallOptions): Promise<{
|
|
23
|
-
name: string;
|
|
24
|
-
kinematic_param_type: "SVA" | "URDF" | "UNSPECIFIED";
|
|
25
|
-
joints: {
|
|
26
|
-
id: string;
|
|
27
|
-
type: string;
|
|
28
|
-
parent: string;
|
|
29
|
-
axis: import("@bufbuild/protobuf").PlainMessage<import("../../gen/common/v1/common_pb").Vector3>;
|
|
30
|
-
max: number;
|
|
31
|
-
min: number;
|
|
32
|
-
}[];
|
|
33
|
-
links: import("../../gen/app/v1/robot_pb").Frame[];
|
|
34
|
-
}>;
|
|
35
23
|
moveToPosition(pose: Pose, extra?: {}, callOptions?: CallOptions): Promise<void>;
|
|
36
24
|
moveToJointPositions(jointPositionsList: number[], extra?: {}, callOptions?: CallOptions): Promise<void>;
|
|
37
25
|
getJointPositions(extra?: {}, callOptions?: CallOptions): Promise<JointPositions>;
|
|
@@ -26,39 +26,6 @@ export type MimeType = '' | 'image/vnd.viam.rgba' | 'image/vnd.viam.depth' | 'im
|
|
|
26
26
|
export interface Camera extends Resource {
|
|
27
27
|
/** Get the geometries of the component in their current configuration */
|
|
28
28
|
getGeometries: (extra?: Struct) => Promise<Geometry[]>;
|
|
29
|
-
/**
|
|
30
|
-
* Return a frame from a camera.
|
|
31
|
-
*
|
|
32
|
-
* @example
|
|
33
|
-
*
|
|
34
|
-
* ```ts
|
|
35
|
-
* const camera = new VIAM.CameraClient(machine, 'my_camera');
|
|
36
|
-
* const image = await camera.getImage();
|
|
37
|
-
*
|
|
38
|
-
* // Convert Uint8Array to base64
|
|
39
|
-
* const base64Image = btoa(
|
|
40
|
-
* Array.from(image)
|
|
41
|
-
* .map((byte) => String.fromCharCode(byte))
|
|
42
|
-
* .join('')
|
|
43
|
-
* );
|
|
44
|
-
*
|
|
45
|
-
* // Convert image to base64 and display it
|
|
46
|
-
* const imageElement = document.createElement('img');
|
|
47
|
-
* imageElement.src = `data:image/jpeg;base64,${base64Image}`;
|
|
48
|
-
* const imageContainer = document.getElementById('#imageContainer');
|
|
49
|
-
* if (imageContainer) {
|
|
50
|
-
* imageContainer.innerHTML = '';
|
|
51
|
-
* imageContainer.appendChild(imageElement);
|
|
52
|
-
* }
|
|
53
|
-
* ```
|
|
54
|
-
*
|
|
55
|
-
* For more information, see [Camera
|
|
56
|
-
* API](https://docs.viam.com/dev/reference/apis/components/camera/#getimage).
|
|
57
|
-
*
|
|
58
|
-
* @param mimeType - A specific MIME type to request. This is not necessarily
|
|
59
|
-
* the same type that will be returned.
|
|
60
|
-
*/
|
|
61
|
-
getImage: (mimeType?: MimeType, extra?: Struct) => Promise<Uint8Array>;
|
|
62
29
|
/**
|
|
63
30
|
* Return a frame from a camera.
|
|
64
31
|
*
|
|
@@ -79,24 +46,6 @@ export interface Camera extends Resource {
|
|
|
79
46
|
images: NamedImage[];
|
|
80
47
|
metadata: ResponseMetadata;
|
|
81
48
|
}>;
|
|
82
|
-
/**
|
|
83
|
-
* Render a frame from a camera to an HTTP response.
|
|
84
|
-
*
|
|
85
|
-
* @example
|
|
86
|
-
*
|
|
87
|
-
* ```ts
|
|
88
|
-
* const camera = new VIAM.CameraClient(machine, 'my_camera');
|
|
89
|
-
* const mimeType = 'image/jpeg';
|
|
90
|
-
* const image = await camera.renderFrame(mimeType);
|
|
91
|
-
* ```
|
|
92
|
-
*
|
|
93
|
-
* For more information, see [Camera
|
|
94
|
-
* API](https://docs.viam.com/dev/reference/apis/components/camera/#renderframe).
|
|
95
|
-
*
|
|
96
|
-
* @param mimeType - A specific MIME type to request. This is not necessarily
|
|
97
|
-
* the same type that will be returned.
|
|
98
|
-
*/
|
|
99
|
-
renderFrame: (mimeType?: MimeType, extra?: Struct) => Promise<Blob>;
|
|
100
49
|
/**
|
|
101
50
|
* Return a point cloud from a camera.
|
|
102
51
|
*
|
|
@@ -2,7 +2,7 @@ import { type JsonValue, Struct } from '@bufbuild/protobuf';
|
|
|
2
2
|
import type { CallOptions } from '@connectrpc/connect';
|
|
3
3
|
import type { RobotClient } from '../../robot';
|
|
4
4
|
import type { Options } from '../../types';
|
|
5
|
-
import type { Camera,
|
|
5
|
+
import type { Camera, ResponseMetadata } from './camera';
|
|
6
6
|
/**
|
|
7
7
|
* A gRPC-web client for the Camera component.
|
|
8
8
|
*
|
|
@@ -15,7 +15,6 @@ export declare class CameraClient implements Camera {
|
|
|
15
15
|
callOptions: CallOptions;
|
|
16
16
|
constructor(client: RobotClient, name: string, options?: Options);
|
|
17
17
|
getGeometries(extra?: {}, callOptions?: CallOptions): Promise<import("../../gen/common/v1/common_pb").Geometry[]>;
|
|
18
|
-
getImage(mimeType?: MimeType, extra?: {}, callOptions?: CallOptions): Promise<Uint8Array>;
|
|
19
18
|
getImages(filterSourceNames?: string[], extra?: {}, callOptions?: CallOptions): Promise<{
|
|
20
19
|
images: {
|
|
21
20
|
sourceName: string;
|
|
@@ -24,7 +23,6 @@ export declare class CameraClient implements Camera {
|
|
|
24
23
|
}[];
|
|
25
24
|
metadata: ResponseMetadata;
|
|
26
25
|
}>;
|
|
27
|
-
renderFrame(mimeType?: MimeType, extra?: {}, callOptions?: CallOptions): Promise<Blob>;
|
|
28
26
|
getPointCloud(extra?: {}, callOptions?: CallOptions): Promise<Uint8Array>;
|
|
29
27
|
getProperties(callOptions?: CallOptions): Promise<import("../../gen/component/camera/v1/camera_pb").GetPropertiesResponse>;
|
|
30
28
|
doCommand(command: Struct, callOptions?: CallOptions): Promise<JsonValue>;
|
|
@@ -15,6 +15,7 @@ export declare class GantryClient implements Gantry {
|
|
|
15
15
|
callOptions: CallOptions;
|
|
16
16
|
constructor(client: RobotClient, name: string, options?: Options);
|
|
17
17
|
getGeometries(extra?: {}, callOptions?: CallOptions): Promise<import("../../gen/common/v1/common_pb").Geometry[]>;
|
|
18
|
+
getKinematics(extra?: {}, callOptions?: CallOptions): Promise<import("../../utils").KinematicsData>;
|
|
18
19
|
getPosition(extra?: {}, callOptions?: CallOptions): Promise<number[]>;
|
|
19
20
|
moveToPosition(positionsMm: number[], speedsMmPerSec: number[], extra?: {}, callOptions?: CallOptions): Promise<void>;
|
|
20
21
|
home(extra?: {}, callOptions?: CallOptions): Promise<boolean>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { Struct } from '@bufbuild/protobuf';
|
|
2
2
|
import type { Resource } from '../../types';
|
|
3
3
|
import type { Geometry } from '../../gen/common/v1/common_pb';
|
|
4
|
+
import type { KinematicsData } from '../../utils';
|
|
4
5
|
/** Represents a physical gantry that exists in three-dimensional space. */
|
|
5
6
|
export interface Gantry extends Resource {
|
|
6
7
|
/**
|
|
@@ -19,6 +20,22 @@ export interface Gantry extends Resource {
|
|
|
19
20
|
* API](https://docs.viam.com/dev/reference/apis/components/gantry/#getgeometries).
|
|
20
21
|
*/
|
|
21
22
|
getGeometries: (extra?: Struct) => Promise<Geometry[]>;
|
|
23
|
+
/**
|
|
24
|
+
* Get the kinematics information associated with the gantry.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
*
|
|
28
|
+
* ```ts
|
|
29
|
+
* const gantry = new VIAM.GantryClient(machine, 'my_gantry');
|
|
30
|
+
*
|
|
31
|
+
* // Get the kinematics information associated with the gantry
|
|
32
|
+
* const kinematics = await gantry.getKinematics();
|
|
33
|
+
* ```
|
|
34
|
+
*
|
|
35
|
+
* For more information, see [Gantry
|
|
36
|
+
* API](https://docs.viam.com/dev/reference/apis/components/gantry/#getkinematics).
|
|
37
|
+
*/
|
|
38
|
+
getKinematics: (extra?: Struct) => Promise<KinematicsData>;
|
|
22
39
|
/**
|
|
23
40
|
* Move each axis of the gantry to the positionsMm at the speeds in
|
|
24
41
|
* speedsMmPerSec.
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
|
-
import { GetLogsRequest, GetLogsResponse, LinkOrgRequest, LinkOrgResponse, LinkRepoRequest, LinkRepoResponse, ListAppLinksRequest, ListAppLinksResponse, ListJobsRequest, ListJobsResponse, ListRepoLinksRequest, ListRepoLinksResponse, RemoveAppLinkRequest, RemoveAppLinkResponse, StartBuildRequest, StartBuildResponse, StartReloadBuildRequest, StartReloadBuildResponse, UnlinkOrgRequest, UnlinkOrgResponse, UnlinkRepoRequest, UnlinkRepoResponse } from "./build_pb.js";
|
|
6
|
+
import { GetLogsRequest, GetLogsResponse, LinkOrgRequest, LinkOrgResponse, LinkRepoRequest, LinkRepoResponse, ListAppLinksRequest, ListAppLinksResponse, ListJobsRequest, ListJobsResponse, ListRepoLinksRequest, ListRepoLinksResponse, RemoveAppLinkRequest, RemoveAppLinkResponse, StartBuildRequest, StartBuildResponse, StartPackageBuildRequest, StartPackageBuildResponse, StartReloadBuildRequest, StartReloadBuildResponse, UnlinkOrgRequest, UnlinkOrgResponse, UnlinkRepoRequest, UnlinkRepoResponse } from "./build_pb.js";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -135,6 +135,17 @@ export declare const BuildService: {
|
|
|
135
135
|
readonly O: typeof StartReloadBuildResponse,
|
|
136
136
|
readonly kind: MethodKind.ClientStreaming,
|
|
137
137
|
},
|
|
138
|
+
/**
|
|
139
|
+
* Start a build where the source code is hosted by Viam
|
|
140
|
+
*
|
|
141
|
+
* @generated from rpc viam.app.build.v1.BuildService.StartPackageBuild
|
|
142
|
+
*/
|
|
143
|
+
readonly startPackageBuild: {
|
|
144
|
+
readonly name: "StartPackageBuild",
|
|
145
|
+
readonly I: typeof StartPackageBuildRequest,
|
|
146
|
+
readonly O: typeof StartPackageBuildResponse,
|
|
147
|
+
readonly kind: MethodKind.Unary,
|
|
148
|
+
},
|
|
138
149
|
}
|
|
139
150
|
};
|
|
140
151
|
|
|
@@ -256,6 +256,77 @@ export declare class StartReloadBuildResponse extends Message<StartReloadBuildRe
|
|
|
256
256
|
static equals(a: StartReloadBuildResponse | PlainMessage<StartReloadBuildResponse> | undefined, b: StartReloadBuildResponse | PlainMessage<StartReloadBuildResponse> | undefined): boolean;
|
|
257
257
|
}
|
|
258
258
|
|
|
259
|
+
/**
|
|
260
|
+
* @generated from message viam.app.build.v1.StartPackageBuildRequest
|
|
261
|
+
*/
|
|
262
|
+
export declare class StartPackageBuildRequest extends Message<StartPackageBuildRequest> {
|
|
263
|
+
/**
|
|
264
|
+
* module_id to build for
|
|
265
|
+
*
|
|
266
|
+
* @generated from field: string module_id = 1;
|
|
267
|
+
*/
|
|
268
|
+
moduleId: string;
|
|
269
|
+
|
|
270
|
+
/**
|
|
271
|
+
* the version of source code to build for
|
|
272
|
+
*
|
|
273
|
+
* @generated from field: string package_version = 2;
|
|
274
|
+
*/
|
|
275
|
+
packageVersion: string;
|
|
276
|
+
|
|
277
|
+
/**
|
|
278
|
+
* version of the module to publish to the registry. must be valid semver2.0 string (ex: 1.2.3-rc0)
|
|
279
|
+
*
|
|
280
|
+
* @generated from field: string module_version = 3;
|
|
281
|
+
*/
|
|
282
|
+
moduleVersion: string;
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* specify the platforms to build for (ex: linux/arm64)
|
|
286
|
+
*
|
|
287
|
+
* @generated from field: repeated string platforms = 4;
|
|
288
|
+
*/
|
|
289
|
+
platforms: string[];
|
|
290
|
+
|
|
291
|
+
constructor(data?: PartialMessage<StartPackageBuildRequest>);
|
|
292
|
+
|
|
293
|
+
static readonly runtime: typeof proto3;
|
|
294
|
+
static readonly typeName = "viam.app.build.v1.StartPackageBuildRequest";
|
|
295
|
+
static readonly fields: FieldList;
|
|
296
|
+
|
|
297
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StartPackageBuildRequest;
|
|
298
|
+
|
|
299
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StartPackageBuildRequest;
|
|
300
|
+
|
|
301
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StartPackageBuildRequest;
|
|
302
|
+
|
|
303
|
+
static equals(a: StartPackageBuildRequest | PlainMessage<StartPackageBuildRequest> | undefined, b: StartPackageBuildRequest | PlainMessage<StartPackageBuildRequest> | undefined): boolean;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* @generated from message viam.app.build.v1.StartPackageBuildResponse
|
|
308
|
+
*/
|
|
309
|
+
export declare class StartPackageBuildResponse extends Message<StartPackageBuildResponse> {
|
|
310
|
+
/**
|
|
311
|
+
* @generated from field: string build_id = 1;
|
|
312
|
+
*/
|
|
313
|
+
buildId: string;
|
|
314
|
+
|
|
315
|
+
constructor(data?: PartialMessage<StartPackageBuildResponse>);
|
|
316
|
+
|
|
317
|
+
static readonly runtime: typeof proto3;
|
|
318
|
+
static readonly typeName = "viam.app.build.v1.StartPackageBuildResponse";
|
|
319
|
+
static readonly fields: FieldList;
|
|
320
|
+
|
|
321
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StartPackageBuildResponse;
|
|
322
|
+
|
|
323
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StartPackageBuildResponse;
|
|
324
|
+
|
|
325
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StartPackageBuildResponse;
|
|
326
|
+
|
|
327
|
+
static equals(a: StartPackageBuildResponse | PlainMessage<StartPackageBuildResponse> | undefined, b: StartPackageBuildResponse | PlainMessage<StartPackageBuildResponse> | undefined): boolean;
|
|
328
|
+
}
|
|
329
|
+
|
|
259
330
|
/**
|
|
260
331
|
* GetLogsResponse is a streaming endpoint that may have multiple messages that belong
|
|
261
332
|
* to the same build_step if there are too many bytes to fit into a single gRPC
|
|
@@ -435,6 +435,11 @@ export declare class UploadMetadata extends Message<UploadMetadata> {
|
|
|
435
435
|
*/
|
|
436
436
|
datasetIds: string[];
|
|
437
437
|
|
|
438
|
+
/**
|
|
439
|
+
* @generated from field: string mime_type = 13;
|
|
440
|
+
*/
|
|
441
|
+
mimeType: string;
|
|
442
|
+
|
|
438
443
|
constructor(data?: PartialMessage<UploadMetadata>);
|
|
439
444
|
|
|
440
445
|
static readonly runtime: typeof proto3;
|
|
@@ -119,6 +119,55 @@ export declare enum FragmentErrorType {
|
|
|
119
119
|
CYCLE_DETECTED = 4,
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
+
/**
|
|
123
|
+
* @generated from enum viam.app.v1.ModuleSourceType
|
|
124
|
+
*/
|
|
125
|
+
export declare enum ModuleSourceType {
|
|
126
|
+
/**
|
|
127
|
+
* @generated from enum value: MODULE_SOURCE_TYPE_UNSPECIFIED = 0;
|
|
128
|
+
*/
|
|
129
|
+
UNSPECIFIED = 0,
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* Module source code is stored externally, such as in github.
|
|
133
|
+
*
|
|
134
|
+
* @generated from enum value: MODULE_SOURCE_TYPE_EXTERNAL = 1;
|
|
135
|
+
*/
|
|
136
|
+
EXTERNAL = 1,
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* Module source code is versioned and managed within Viam.
|
|
140
|
+
*
|
|
141
|
+
* @generated from enum value: MODULE_SOURCE_TYPE_VIAM_HOSTED = 2;
|
|
142
|
+
*/
|
|
143
|
+
VIAM_HOSTED = 2,
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* @generated from enum viam.app.v1.ModuleLanguage
|
|
148
|
+
*/
|
|
149
|
+
export declare enum ModuleLanguage {
|
|
150
|
+
/**
|
|
151
|
+
* @generated from enum value: MODULE_LANGUAGE_UNSPECIFIED = 0;
|
|
152
|
+
*/
|
|
153
|
+
UNSPECIFIED = 0,
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* @generated from enum value: MODULE_LANGUAGE_GOLANG = 1;
|
|
157
|
+
*/
|
|
158
|
+
GOLANG = 1,
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* @generated from enum value: MODULE_LANGUAGE_PYTHON = 2;
|
|
162
|
+
*/
|
|
163
|
+
PYTHON = 2,
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* @generated from enum value: MODULE_LANGUAGE_CPP = 3;
|
|
167
|
+
*/
|
|
168
|
+
CPP = 3,
|
|
169
|
+
}
|
|
170
|
+
|
|
122
171
|
/**
|
|
123
172
|
* @generated from enum viam.app.v1.RegistryItemStatus
|
|
124
173
|
*/
|
|
@@ -6072,6 +6121,20 @@ export declare class ModuleMetadata extends Message<ModuleMetadata> {
|
|
|
6072
6121
|
*/
|
|
6073
6122
|
apps: App[];
|
|
6074
6123
|
|
|
6124
|
+
/**
|
|
6125
|
+
* Determines the type of module, either a registry module or an inline module.
|
|
6126
|
+
*
|
|
6127
|
+
* @generated from field: optional viam.app.v1.ModuleSourceType source_type = 7;
|
|
6128
|
+
*/
|
|
6129
|
+
sourceType?: ModuleSourceType;
|
|
6130
|
+
|
|
6131
|
+
/**
|
|
6132
|
+
* Specifies the language that the module is written in.
|
|
6133
|
+
*
|
|
6134
|
+
* @generated from field: optional viam.app.v1.ModuleLanguage language = 8;
|
|
6135
|
+
*/
|
|
6136
|
+
language?: ModuleLanguage;
|
|
6137
|
+
|
|
6075
6138
|
constructor(data?: PartialMessage<ModuleMetadata>);
|
|
6076
6139
|
|
|
6077
6140
|
static readonly runtime: typeof proto3;
|
|
@@ -6594,6 +6657,16 @@ export declare class ListRegistryItemsRequest extends Message<ListRegistryItemsR
|
|
|
6594
6657
|
*/
|
|
6595
6658
|
includeMarkdownDocumentation?: boolean;
|
|
6596
6659
|
|
|
6660
|
+
/**
|
|
6661
|
+
* @generated from field: repeated viam.app.v1.ModuleSourceType module_source_types = 10;
|
|
6662
|
+
*/
|
|
6663
|
+
moduleSourceTypes: ModuleSourceType[];
|
|
6664
|
+
|
|
6665
|
+
/**
|
|
6666
|
+
* @generated from field: repeated viam.app.v1.ModuleLanguage module_languages = 11;
|
|
6667
|
+
*/
|
|
6668
|
+
moduleLanguages: ModuleLanguage[];
|
|
6669
|
+
|
|
6597
6670
|
constructor(data?: PartialMessage<ListRegistryItemsRequest>);
|
|
6598
6671
|
|
|
6599
6672
|
static readonly runtime: typeof proto3;
|
|
@@ -7041,6 +7114,20 @@ export declare class UpdateModuleMetadata extends Message<UpdateModuleMetadata>
|
|
|
7041
7114
|
*/
|
|
7042
7115
|
apps: App[];
|
|
7043
7116
|
|
|
7117
|
+
/**
|
|
7118
|
+
* Determines where the source code of module is managed, either externally or hosted by viam.
|
|
7119
|
+
*
|
|
7120
|
+
* @generated from field: optional viam.app.v1.ModuleSourceType source_type = 4;
|
|
7121
|
+
*/
|
|
7122
|
+
sourceType?: ModuleSourceType;
|
|
7123
|
+
|
|
7124
|
+
/**
|
|
7125
|
+
* The language the module is written in
|
|
7126
|
+
*
|
|
7127
|
+
* @generated from field: optional viam.app.v1.ModuleLanguage language = 5;
|
|
7128
|
+
*/
|
|
7129
|
+
language?: ModuleLanguage;
|
|
7130
|
+
|
|
7044
7131
|
constructor(data?: PartialMessage<UpdateModuleMetadata>);
|
|
7045
7132
|
|
|
7046
7133
|
static readonly runtime: typeof proto3;
|
|
@@ -359,6 +359,11 @@ export declare class CloudConfig extends Message<CloudConfig> {
|
|
|
359
359
|
*/
|
|
360
360
|
appAddress: string;
|
|
361
361
|
|
|
362
|
+
/**
|
|
363
|
+
* @generated from field: viam.provisioning.v1.APIKey api_key = 4;
|
|
364
|
+
*/
|
|
365
|
+
apiKey?: APIKey;
|
|
366
|
+
|
|
362
367
|
constructor(data?: PartialMessage<CloudConfig>);
|
|
363
368
|
|
|
364
369
|
static readonly runtime: typeof proto3;
|
|
@@ -374,3 +379,32 @@ export declare class CloudConfig extends Message<CloudConfig> {
|
|
|
374
379
|
static equals(a: CloudConfig | PlainMessage<CloudConfig> | undefined, b: CloudConfig | PlainMessage<CloudConfig> | undefined): boolean;
|
|
375
380
|
}
|
|
376
381
|
|
|
382
|
+
/**
|
|
383
|
+
* @generated from message viam.provisioning.v1.APIKey
|
|
384
|
+
*/
|
|
385
|
+
export declare class APIKey extends Message<APIKey> {
|
|
386
|
+
/**
|
|
387
|
+
* @generated from field: string id = 1;
|
|
388
|
+
*/
|
|
389
|
+
id: string;
|
|
390
|
+
|
|
391
|
+
/**
|
|
392
|
+
* @generated from field: string key = 2;
|
|
393
|
+
*/
|
|
394
|
+
key: string;
|
|
395
|
+
|
|
396
|
+
constructor(data?: PartialMessage<APIKey>);
|
|
397
|
+
|
|
398
|
+
static readonly runtime: typeof proto3;
|
|
399
|
+
static readonly typeName = "viam.provisioning.v1.APIKey";
|
|
400
|
+
static readonly fields: FieldList;
|
|
401
|
+
|
|
402
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): APIKey;
|
|
403
|
+
|
|
404
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): APIKey;
|
|
405
|
+
|
|
406
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): APIKey;
|
|
407
|
+
|
|
408
|
+
static equals(a: APIKey | PlainMessage<APIKey> | undefined, b: APIKey | PlainMessage<APIKey> | undefined): boolean;
|
|
409
|
+
}
|
|
410
|
+
|