@viamrobotics/sdk 0.52.2 → 0.54.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/app/viam-client.d.ts +1 -0
- package/dist/app/viam-transport.d.ts +1 -1
- package/dist/audio-common.d.ts +20 -0
- package/dist/components/arm/arm.d.ts +29 -1
- package/dist/components/arm/client.d.ts +13 -0
- package/dist/components/audio-in/audio-in.d.ts +36 -0
- package/dist/components/audio-in/client.d.ts +19 -0
- package/dist/components/audio-in/client.spec.d.ts +1 -0
- package/dist/components/audio-out/audio-out.d.ts +34 -0
- package/dist/components/audio-out/client.d.ts +25 -0
- package/dist/components/audio-out/client.spec.d.ts +1 -0
- package/dist/components/audioin.d.ts +3 -0
- package/dist/components/audioout.d.ts +3 -0
- package/dist/gen/app/build/v1/build_connect.d.ts +12 -1
- package/dist/gen/app/build/v1/build_pb.d.ts +106 -0
- package/dist/gen/app/data/v1/data_connect.d.ts +56 -1
- package/dist/gen/app/data/v1/data_pb.d.ts +314 -0
- package/dist/gen/app/v1/billing_pb.d.ts +5 -0
- package/dist/gen/common/v1/common_pb.d.ts +172 -10
- package/dist/gen/component/arm/v1/arm_connect.d.ts +12 -1
- package/dist/gen/component/audioin/v1/audioin_connect.d.ts +64 -0
- package/dist/gen/component/audioin/v1/audioin_pb.d.ts +146 -0
- package/dist/gen/component/audioout/v1/audioout_connect.d.ts +64 -0
- package/dist/gen/component/audioout/v1/audioout_pb.d.ts +69 -0
- package/dist/gen/google/longrunning/operations_pb.d.ts +26 -0
- package/dist/gen/service/video/v1/video_connect.d.ts +42 -0
- package/dist/gen/service/video/v1/video_pb.d.ts +116 -0
- package/dist/main.d.ts +3 -0
- package/dist/main.es.js +6029 -5410
- package/dist/main.umd.js +7 -7
- package/dist/robot/client.d.ts +11 -0
- package/dist/robot/client.spec.d.ts +1 -0
- package/dist/rpc/dial.d.ts +11 -1
- package/dist/rpc/dial.spec.d.ts +1 -0
- package/package.json +4 -4
package/dist/api-version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const apiVersion = "v0.1.
|
|
1
|
+
export declare const apiVersion = "v0.1.487";
|
|
@@ -25,6 +25,7 @@ export declare class ViamClient {
|
|
|
25
25
|
readonly provisioningClient: ProvisioningClient;
|
|
26
26
|
readonly billingClient: BillingClient;
|
|
27
27
|
constructor(transport: Transport, credentials: Credentials);
|
|
28
|
+
getRobotSecretFromHost(host: string): Promise<string | undefined>;
|
|
28
29
|
connectToMachine({ host, id, }: ViamClientMachineConnectionOpts): Promise<import("../robot").RobotClient>;
|
|
29
30
|
}
|
|
30
31
|
export {};
|
|
@@ -10,7 +10,7 @@ export interface Credential {
|
|
|
10
10
|
type: CredentialType;
|
|
11
11
|
payload: string;
|
|
12
12
|
}
|
|
13
|
-
export type CredentialType = '
|
|
13
|
+
export type CredentialType = 'api-key' | 'robot-secret';
|
|
14
14
|
/** An access token used to access protected resources. */
|
|
15
15
|
export interface AccessToken {
|
|
16
16
|
type: 'access-token';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export interface AudioProperties {
|
|
2
|
+
/** List of audio codecs supported by the device */
|
|
3
|
+
supportedCodecs: string[];
|
|
4
|
+
/** Current sample rate in Hz */
|
|
5
|
+
sampleRateHz: number;
|
|
6
|
+
/** Maximum number of audio channels supported (e.g., 1 for mono, 2 for stereo) */
|
|
7
|
+
numChannels: number;
|
|
8
|
+
}
|
|
9
|
+
/** Common audio codec constants */
|
|
10
|
+
export declare const AudioCodec: {
|
|
11
|
+
readonly MP3: "mp3";
|
|
12
|
+
readonly PCM16: "pcm16";
|
|
13
|
+
readonly PCM32: "pcm32";
|
|
14
|
+
readonly PCM32_FLOAT: "pcm32float";
|
|
15
|
+
readonly AAC: "aac";
|
|
16
|
+
readonly OPUS: "opus";
|
|
17
|
+
readonly FLAC: "flac";
|
|
18
|
+
readonly WAV: "wav";
|
|
19
|
+
};
|
|
20
|
+
export type AudioCodecType = (typeof AudioCodec)[keyof typeof AudioCodec];
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { PlainMessage, Struct } from '@bufbuild/protobuf';
|
|
2
|
-
import type { Pose, Resource } from '../../types';
|
|
2
|
+
import type { Pose, Resource, Vector3 } from '../../types';
|
|
3
3
|
import * as armApi from '../../gen/component/arm/v1/arm_pb';
|
|
4
4
|
import type { Geometry } from '../../gen/common/v1/common_pb';
|
|
5
|
+
import type { Frame } from '../../gen/app/v1/robot_pb';
|
|
5
6
|
export type ArmJointPositions = PlainMessage<armApi.JointPositions>;
|
|
6
7
|
export declare const ArmJointPositions: typeof armApi.JointPositions;
|
|
7
8
|
/** Represents a physical robot arm that exists in three-dimensional space. */
|
|
@@ -35,6 +36,33 @@ export interface Arm extends Resource {
|
|
|
35
36
|
* API](https://docs.viam.com/dev/reference/apis/components/arm/#getgeometries).
|
|
36
37
|
*/
|
|
37
38
|
getGeometries: (extra?: Struct) => Promise<Geometry[]>;
|
|
39
|
+
/**
|
|
40
|
+
* Get the kinematics information associated with the arm.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
*
|
|
44
|
+
* ```ts
|
|
45
|
+
* const arm = new VIAM.ArmClient(machine, 'my_arm');
|
|
46
|
+
* const kinematics = await arm.getKinematics();
|
|
47
|
+
* console.log(kinematics);
|
|
48
|
+
*
|
|
49
|
+
* For more information, see [Arm
|
|
50
|
+
* API](https://docs.viam.com/dev/reference/apis/components/arm/#getkinematics).
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
getKinematics: (extra?: Struct) => Promise<{
|
|
54
|
+
name: string;
|
|
55
|
+
kinematic_param_type: 'SVA' | 'URDF' | 'UNSPECIFIED';
|
|
56
|
+
joints: {
|
|
57
|
+
id: string;
|
|
58
|
+
type: string;
|
|
59
|
+
parent: string;
|
|
60
|
+
axis: Vector3;
|
|
61
|
+
max: number;
|
|
62
|
+
min: number;
|
|
63
|
+
}[];
|
|
64
|
+
links: Frame[];
|
|
65
|
+
}>;
|
|
38
66
|
/**
|
|
39
67
|
* Move the end of the arm to the pose.
|
|
40
68
|
*
|
|
@@ -17,6 +17,19 @@ export declare class ArmClient implements Arm {
|
|
|
17
17
|
constructor(client: RobotClient, name: string, options?: Options);
|
|
18
18
|
getEndPosition(extra?: {}, callOptions?: CallOptions): Promise<import("../../gen/common/v1/common_pb").Pose>;
|
|
19
19
|
getGeometries(extra?: {}, callOptions?: CallOptions): Promise<import("../../gen/common/v1/common_pb").Geometry[]>;
|
|
20
|
+
getKinematics(extra?: {}, callOptions?: CallOptions): Promise<{
|
|
21
|
+
name: string;
|
|
22
|
+
kinematic_param_type: "SVA" | "URDF" | "UNSPECIFIED";
|
|
23
|
+
joints: {
|
|
24
|
+
id: string;
|
|
25
|
+
type: string;
|
|
26
|
+
parent: string;
|
|
27
|
+
axis: import("@bufbuild/protobuf").PlainMessage<import("../../gen/common/v1/common_pb").Vector3>;
|
|
28
|
+
max: number;
|
|
29
|
+
min: number;
|
|
30
|
+
}[];
|
|
31
|
+
links: import("../../gen/app/v1/robot_pb").Frame[];
|
|
32
|
+
}>;
|
|
20
33
|
moveToPosition(pose: Pose, extra?: {}, callOptions?: CallOptions): Promise<void>;
|
|
21
34
|
moveToJointPositions(jointPositionsList: number[], extra?: {}, callOptions?: CallOptions): Promise<void>;
|
|
22
35
|
getJointPositions(extra?: {}, callOptions?: CallOptions): Promise<JointPositions>;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { Resource, Struct } from '../../types';
|
|
2
|
+
import type { AudioInfo } from '../../gen/common/v1/common_pb';
|
|
3
|
+
import type { AudioProperties } from '../../audio-common';
|
|
4
|
+
export interface AudioChunk {
|
|
5
|
+
audioData: Uint8Array;
|
|
6
|
+
audioInfo?: AudioInfo;
|
|
7
|
+
startTimeNs: bigint;
|
|
8
|
+
endTimeNs: bigint;
|
|
9
|
+
sequence: number;
|
|
10
|
+
requestID: string;
|
|
11
|
+
}
|
|
12
|
+
/** Represents a device that takes audio input. */
|
|
13
|
+
export interface AudioIn extends Resource {
|
|
14
|
+
/**
|
|
15
|
+
* Stream audio from the device.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
*
|
|
19
|
+
* ```ts
|
|
20
|
+
* const audioIn = new VIAM.AudioInClient(machine, 'my_audio_in');
|
|
21
|
+
* const stream = audioIn.getAudio(VIAM.AudioCodec.PCM16, 3, 0n, {});
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
getAudio(codec: string, durationSeconds: number, previousTimestamp?: bigint, extra?: Struct): AsyncIterable<AudioChunk>;
|
|
25
|
+
/**
|
|
26
|
+
* Return the audio input properties.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
*
|
|
30
|
+
* ```ts
|
|
31
|
+
* const audioIn = new VIAM.AudioInClient(machine, 'my_audio_in');
|
|
32
|
+
* const properties = await audioIn.getProperties();
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
getProperties: () => Promise<AudioProperties>;
|
|
36
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { RobotClient } from '../../robot';
|
|
2
|
+
import type { Options } from '../../types';
|
|
3
|
+
import { Struct, type JsonValue } from '@bufbuild/protobuf';
|
|
4
|
+
import type { CallOptions } from '@connectrpc/connect';
|
|
5
|
+
import { type AudioIn, type AudioChunk } from './audio-in';
|
|
6
|
+
export declare class AudioInClient implements AudioIn {
|
|
7
|
+
private client;
|
|
8
|
+
readonly name: string;
|
|
9
|
+
private readonly options;
|
|
10
|
+
callOptions: CallOptions;
|
|
11
|
+
constructor(client: RobotClient, name: string, options?: Options);
|
|
12
|
+
getAudio(codec: string, durationSeconds: number, previousTimestamp?: bigint, extra?: {}, callOptions?: CallOptions): AsyncIterable<AudioChunk>;
|
|
13
|
+
getProperties(callOptions?: CallOptions): Promise<{
|
|
14
|
+
supportedCodecs: string[];
|
|
15
|
+
sampleRateHz: number;
|
|
16
|
+
numChannels: number;
|
|
17
|
+
}>;
|
|
18
|
+
doCommand(command: Struct, callOptions?: CallOptions): Promise<JsonValue>;
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { Resource, Struct } from '../../types';
|
|
2
|
+
import type { AudioInfo } from '../../gen/common/v1/common_pb';
|
|
3
|
+
import type { AudioProperties } from '../../audio-common';
|
|
4
|
+
/** Represents a device that outputs audio. */
|
|
5
|
+
export interface AudioOut extends Resource {
|
|
6
|
+
/**
|
|
7
|
+
* Play audio on the device.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
*
|
|
11
|
+
* ```ts
|
|
12
|
+
* const audioOut = new VIAM.AudioOutClient(machine, 'my_audio_out');
|
|
13
|
+
* const audioData = new Uint8Array([...]); // Your audio data
|
|
14
|
+
* const audioInfo = { codec: 'pcm16', sampleRateHz: 48000, numChannels: 2 };
|
|
15
|
+
* await audioOut.play(audioData, audioInfo);
|
|
16
|
+
* ```
|
|
17
|
+
*
|
|
18
|
+
* @param audioData - The audio data to play
|
|
19
|
+
* @param audioInfo - Information about the audio format (optional, required
|
|
20
|
+
* for raw pcm data)
|
|
21
|
+
*/
|
|
22
|
+
play: (audioData: Uint8Array, audioInfo?: AudioInfo, extra?: Struct) => Promise<void>;
|
|
23
|
+
/**
|
|
24
|
+
* Return the audio output properties.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
*
|
|
28
|
+
* ```ts
|
|
29
|
+
* const audioOut = new VIAM.AudioOutClient(machine, 'my_audio_out');
|
|
30
|
+
* const properties = await audioOut.getProperties();
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
getProperties: () => Promise<AudioProperties>;
|
|
34
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { RobotClient } from '../../robot';
|
|
2
|
+
import type { Options } from '../../types';
|
|
3
|
+
import { Struct, type JsonValue } from '@bufbuild/protobuf';
|
|
4
|
+
import type { CallOptions } from '@connectrpc/connect';
|
|
5
|
+
import { type AudioInfo } from '../../gen/common/v1/common_pb';
|
|
6
|
+
import { type AudioOut } from './audio-out';
|
|
7
|
+
/**
|
|
8
|
+
* A gRPC-web client for the AudioOut component.
|
|
9
|
+
*
|
|
10
|
+
* @group Clients
|
|
11
|
+
*/
|
|
12
|
+
export declare class AudioOutClient implements AudioOut {
|
|
13
|
+
private client;
|
|
14
|
+
readonly name: string;
|
|
15
|
+
private readonly options;
|
|
16
|
+
callOptions: CallOptions;
|
|
17
|
+
constructor(client: RobotClient, name: string, options?: Options);
|
|
18
|
+
play(audioData: Uint8Array, audioInfo?: AudioInfo, extra?: {}, callOptions?: CallOptions): Promise<void>;
|
|
19
|
+
getProperties(callOptions?: CallOptions): Promise<{
|
|
20
|
+
supportedCodecs: string[];
|
|
21
|
+
sampleRateHz: number;
|
|
22
|
+
numChannels: number;
|
|
23
|
+
}>;
|
|
24
|
+
doCommand(command: Struct, callOptions?: CallOptions): Promise<JsonValue>;
|
|
25
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -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, 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, StartReloadBuildRequest, StartReloadBuildResponse, UnlinkOrgRequest, UnlinkOrgResponse, UnlinkRepoRequest, UnlinkRepoResponse } from "./build_pb.js";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -124,6 +124,17 @@ export declare const BuildService: {
|
|
|
124
124
|
readonly O: typeof UnlinkOrgResponse,
|
|
125
125
|
readonly kind: MethodKind.Unary,
|
|
126
126
|
},
|
|
127
|
+
/**
|
|
128
|
+
* upload the local dev environment and build a module for hot reloading
|
|
129
|
+
*
|
|
130
|
+
* @generated from rpc viam.app.build.v1.BuildService.StartReloadBuild
|
|
131
|
+
*/
|
|
132
|
+
readonly startReloadBuild: {
|
|
133
|
+
readonly name: "StartReloadBuild",
|
|
134
|
+
readonly I: typeof StartReloadBuildRequest,
|
|
135
|
+
readonly O: typeof StartReloadBuildResponse,
|
|
136
|
+
readonly kind: MethodKind.ClientStreaming,
|
|
137
|
+
},
|
|
127
138
|
}
|
|
128
139
|
};
|
|
129
140
|
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Timestamp } from "@bufbuild/protobuf";
|
|
7
7
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
8
|
+
import type { CreatePackageRequest } from "../../packages/v1/packages_pb.js";
|
|
8
9
|
|
|
9
10
|
/**
|
|
10
11
|
* @generated from enum viam.app.build.v1.JobStatus
|
|
@@ -155,6 +156,106 @@ export declare class GetLogsRequest extends Message<GetLogsRequest> {
|
|
|
155
156
|
static equals(a: GetLogsRequest | PlainMessage<GetLogsRequest> | undefined, b: GetLogsRequest | PlainMessage<GetLogsRequest> | undefined): boolean;
|
|
156
157
|
}
|
|
157
158
|
|
|
159
|
+
/**
|
|
160
|
+
* @generated from message viam.app.build.v1.ReloadBuildInfo
|
|
161
|
+
*/
|
|
162
|
+
export declare class ReloadBuildInfo extends Message<ReloadBuildInfo> {
|
|
163
|
+
/**
|
|
164
|
+
* platform to build the reload module for
|
|
165
|
+
*
|
|
166
|
+
* @generated from field: string platform = 1;
|
|
167
|
+
*/
|
|
168
|
+
platform: string;
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* optional working directory. defaults to repo root
|
|
172
|
+
*
|
|
173
|
+
* @generated from field: optional string workdir = 2;
|
|
174
|
+
*/
|
|
175
|
+
workdir?: string;
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* org ID for the module
|
|
179
|
+
*
|
|
180
|
+
* @generated from field: string module_id = 3;
|
|
181
|
+
*/
|
|
182
|
+
moduleId: string;
|
|
183
|
+
|
|
184
|
+
constructor(data?: PartialMessage<ReloadBuildInfo>);
|
|
185
|
+
|
|
186
|
+
static readonly runtime: typeof proto3;
|
|
187
|
+
static readonly typeName = "viam.app.build.v1.ReloadBuildInfo";
|
|
188
|
+
static readonly fields: FieldList;
|
|
189
|
+
|
|
190
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ReloadBuildInfo;
|
|
191
|
+
|
|
192
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ReloadBuildInfo;
|
|
193
|
+
|
|
194
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ReloadBuildInfo;
|
|
195
|
+
|
|
196
|
+
static equals(a: ReloadBuildInfo | PlainMessage<ReloadBuildInfo> | undefined, b: ReloadBuildInfo | PlainMessage<ReloadBuildInfo> | undefined): boolean;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* @generated from message viam.app.build.v1.StartReloadBuildRequest
|
|
201
|
+
*/
|
|
202
|
+
export declare class StartReloadBuildRequest extends Message<StartReloadBuildRequest> {
|
|
203
|
+
/**
|
|
204
|
+
* @generated from oneof viam.app.build.v1.StartReloadBuildRequest.cloud_build
|
|
205
|
+
*/
|
|
206
|
+
cloudBuild: {
|
|
207
|
+
/**
|
|
208
|
+
* @generated from field: viam.app.packages.v1.CreatePackageRequest package = 1;
|
|
209
|
+
*/
|
|
210
|
+
value: CreatePackageRequest;
|
|
211
|
+
case: "package";
|
|
212
|
+
} | {
|
|
213
|
+
/**
|
|
214
|
+
* @generated from field: viam.app.build.v1.ReloadBuildInfo build_info = 2;
|
|
215
|
+
*/
|
|
216
|
+
value: ReloadBuildInfo;
|
|
217
|
+
case: "buildInfo";
|
|
218
|
+
} | { case: undefined; value?: undefined };
|
|
219
|
+
|
|
220
|
+
constructor(data?: PartialMessage<StartReloadBuildRequest>);
|
|
221
|
+
|
|
222
|
+
static readonly runtime: typeof proto3;
|
|
223
|
+
static readonly typeName = "viam.app.build.v1.StartReloadBuildRequest";
|
|
224
|
+
static readonly fields: FieldList;
|
|
225
|
+
|
|
226
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StartReloadBuildRequest;
|
|
227
|
+
|
|
228
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StartReloadBuildRequest;
|
|
229
|
+
|
|
230
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StartReloadBuildRequest;
|
|
231
|
+
|
|
232
|
+
static equals(a: StartReloadBuildRequest | PlainMessage<StartReloadBuildRequest> | undefined, b: StartReloadBuildRequest | PlainMessage<StartReloadBuildRequest> | undefined): boolean;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
/**
|
|
236
|
+
* @generated from message viam.app.build.v1.StartReloadBuildResponse
|
|
237
|
+
*/
|
|
238
|
+
export declare class StartReloadBuildResponse extends Message<StartReloadBuildResponse> {
|
|
239
|
+
/**
|
|
240
|
+
* @generated from field: string build_id = 1;
|
|
241
|
+
*/
|
|
242
|
+
buildId: string;
|
|
243
|
+
|
|
244
|
+
constructor(data?: PartialMessage<StartReloadBuildResponse>);
|
|
245
|
+
|
|
246
|
+
static readonly runtime: typeof proto3;
|
|
247
|
+
static readonly typeName = "viam.app.build.v1.StartReloadBuildResponse";
|
|
248
|
+
static readonly fields: FieldList;
|
|
249
|
+
|
|
250
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StartReloadBuildResponse;
|
|
251
|
+
|
|
252
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StartReloadBuildResponse;
|
|
253
|
+
|
|
254
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StartReloadBuildResponse;
|
|
255
|
+
|
|
256
|
+
static equals(a: StartReloadBuildResponse | PlainMessage<StartReloadBuildResponse> | undefined, b: StartReloadBuildResponse | PlainMessage<StartReloadBuildResponse> | undefined): boolean;
|
|
257
|
+
}
|
|
258
|
+
|
|
158
259
|
/**
|
|
159
260
|
* GetLogsResponse is a streaming endpoint that may have multiple messages that belong
|
|
160
261
|
* to the same build_step if there are too many bytes to fit into a single gRPC
|
|
@@ -224,6 +325,11 @@ export declare class JobInfo extends Message<JobInfo> {
|
|
|
224
325
|
*/
|
|
225
326
|
endTime?: Timestamp;
|
|
226
327
|
|
|
328
|
+
/**
|
|
329
|
+
* @generated from field: optional string build_step = 7;
|
|
330
|
+
*/
|
|
331
|
+
buildStep?: string;
|
|
332
|
+
|
|
227
333
|
constructor(data?: PartialMessage<JobInfo>);
|
|
228
334
|
|
|
229
335
|
static readonly runtime: typeof proto3;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
|
-
import { AddBinaryDataToDatasetByIDsRequest, AddBinaryDataToDatasetByIDsResponse, AddBoundingBoxToImageByIDRequest, AddBoundingBoxToImageByIDResponse, AddTagsToBinaryDataByFilterRequest, AddTagsToBinaryDataByFilterResponse, AddTagsToBinaryDataByIDsRequest, AddTagsToBinaryDataByIDsResponse, BinaryDataByFilterRequest, BinaryDataByFilterResponse, BinaryDataByIDsRequest, BinaryDataByIDsResponse, BoundingBoxLabelsByFilterRequest, BoundingBoxLabelsByFilterResponse, ConfigureDatabaseUserRequest, ConfigureDatabaseUserResponse, CreateIndexRequest, CreateIndexResponse, DeleteBinaryDataByFilterRequest, DeleteBinaryDataByFilterResponse, DeleteBinaryDataByIDsRequest, DeleteBinaryDataByIDsResponse, DeleteIndexRequest, DeleteIndexResponse, DeleteTabularDataRequest, DeleteTabularDataResponse, ExportTabularDataRequest, ExportTabularDataResponse, GetDatabaseConnectionRequest, GetDatabaseConnectionResponse, GetLatestTabularDataRequest, GetLatestTabularDataResponse, ListIndexesRequest, ListIndexesResponse, RemoveBinaryDataFromDatasetByIDsRequest, RemoveBinaryDataFromDatasetByIDsResponse, RemoveBoundingBoxFromImageByIDRequest, RemoveBoundingBoxFromImageByIDResponse, RemoveTagsFromBinaryDataByFilterRequest, RemoveTagsFromBinaryDataByFilterResponse, RemoveTagsFromBinaryDataByIDsRequest, RemoveTagsFromBinaryDataByIDsResponse, TabularDataByFilterRequest, TabularDataByFilterResponse, TabularDataByMQLRequest, TabularDataByMQLResponse, TabularDataBySQLRequest, TabularDataBySQLResponse, TagsByFilterRequest, TagsByFilterResponse, UpdateBoundingBoxRequest, UpdateBoundingBoxResponse } from "./data_pb.js";
|
|
6
|
+
import { AddBinaryDataToDatasetByIDsRequest, AddBinaryDataToDatasetByIDsResponse, AddBoundingBoxToImageByIDRequest, AddBoundingBoxToImageByIDResponse, AddTagsToBinaryDataByFilterRequest, AddTagsToBinaryDataByFilterResponse, AddTagsToBinaryDataByIDsRequest, AddTagsToBinaryDataByIDsResponse, BinaryDataByFilterRequest, BinaryDataByFilterResponse, BinaryDataByIDsRequest, BinaryDataByIDsResponse, BoundingBoxLabelsByFilterRequest, BoundingBoxLabelsByFilterResponse, ConfigureDatabaseUserRequest, ConfigureDatabaseUserResponse, CreateIndexRequest, CreateIndexResponse, CreateSavedQueryRequest, CreateSavedQueryResponse, DeleteBinaryDataByFilterRequest, DeleteBinaryDataByFilterResponse, DeleteBinaryDataByIDsRequest, DeleteBinaryDataByIDsResponse, DeleteIndexRequest, DeleteIndexResponse, DeleteSavedQueryRequest, DeleteSavedQueryResponse, DeleteTabularDataRequest, DeleteTabularDataResponse, ExportTabularDataRequest, ExportTabularDataResponse, GetDatabaseConnectionRequest, GetDatabaseConnectionResponse, GetLatestTabularDataRequest, GetLatestTabularDataResponse, GetSavedQueryRequest, GetSavedQueryResponse, ListIndexesRequest, ListIndexesResponse, ListSavedQueriesRequest, ListSavedQueriesResponse, RemoveBinaryDataFromDatasetByIDsRequest, RemoveBinaryDataFromDatasetByIDsResponse, RemoveBoundingBoxFromImageByIDRequest, RemoveBoundingBoxFromImageByIDResponse, RemoveTagsFromBinaryDataByFilterRequest, RemoveTagsFromBinaryDataByFilterResponse, RemoveTagsFromBinaryDataByIDsRequest, RemoveTagsFromBinaryDataByIDsResponse, TabularDataByFilterRequest, TabularDataByFilterResponse, TabularDataByMQLRequest, TabularDataByMQLResponse, TabularDataBySQLRequest, TabularDataBySQLResponse, TagsByFilterRequest, TagsByFilterResponse, UpdateBoundingBoxRequest, UpdateBoundingBoxResponse, UpdateSavedQueryRequest, UpdateSavedQueryResponse } from "./data_pb.js";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -307,6 +307,61 @@ export declare const DataService: {
|
|
|
307
307
|
readonly O: typeof DeleteIndexResponse,
|
|
308
308
|
readonly kind: MethodKind.Unary,
|
|
309
309
|
},
|
|
310
|
+
/**
|
|
311
|
+
* CreateSavedQuery saves a mql query.
|
|
312
|
+
*
|
|
313
|
+
* @generated from rpc viam.app.data.v1.DataService.CreateSavedQuery
|
|
314
|
+
*/
|
|
315
|
+
readonly createSavedQuery: {
|
|
316
|
+
readonly name: "CreateSavedQuery",
|
|
317
|
+
readonly I: typeof CreateSavedQueryRequest,
|
|
318
|
+
readonly O: typeof CreateSavedQueryResponse,
|
|
319
|
+
readonly kind: MethodKind.Unary,
|
|
320
|
+
},
|
|
321
|
+
/**
|
|
322
|
+
* UpdateSavedQuery updates the saved query with the given id.
|
|
323
|
+
*
|
|
324
|
+
* @generated from rpc viam.app.data.v1.DataService.UpdateSavedQuery
|
|
325
|
+
*/
|
|
326
|
+
readonly updateSavedQuery: {
|
|
327
|
+
readonly name: "UpdateSavedQuery",
|
|
328
|
+
readonly I: typeof UpdateSavedQueryRequest,
|
|
329
|
+
readonly O: typeof UpdateSavedQueryResponse,
|
|
330
|
+
readonly kind: MethodKind.Unary,
|
|
331
|
+
},
|
|
332
|
+
/**
|
|
333
|
+
* GetSavedQuery retrieves a saved query by id.
|
|
334
|
+
*
|
|
335
|
+
* @generated from rpc viam.app.data.v1.DataService.GetSavedQuery
|
|
336
|
+
*/
|
|
337
|
+
readonly getSavedQuery: {
|
|
338
|
+
readonly name: "GetSavedQuery",
|
|
339
|
+
readonly I: typeof GetSavedQueryRequest,
|
|
340
|
+
readonly O: typeof GetSavedQueryResponse,
|
|
341
|
+
readonly kind: MethodKind.Unary,
|
|
342
|
+
},
|
|
343
|
+
/**
|
|
344
|
+
* DeleteSavedQuery deletes a saved query based on the given id.
|
|
345
|
+
*
|
|
346
|
+
* @generated from rpc viam.app.data.v1.DataService.DeleteSavedQuery
|
|
347
|
+
*/
|
|
348
|
+
readonly deleteSavedQuery: {
|
|
349
|
+
readonly name: "DeleteSavedQuery",
|
|
350
|
+
readonly I: typeof DeleteSavedQueryRequest,
|
|
351
|
+
readonly O: typeof DeleteSavedQueryResponse,
|
|
352
|
+
readonly kind: MethodKind.Unary,
|
|
353
|
+
},
|
|
354
|
+
/**
|
|
355
|
+
* ListSavedQueries lists saved queries for a given organization.
|
|
356
|
+
*
|
|
357
|
+
* @generated from rpc viam.app.data.v1.DataService.ListSavedQueries
|
|
358
|
+
*/
|
|
359
|
+
readonly listSavedQueries: {
|
|
360
|
+
readonly name: "ListSavedQueries",
|
|
361
|
+
readonly I: typeof ListSavedQueriesRequest,
|
|
362
|
+
readonly O: typeof ListSavedQueriesResponse,
|
|
363
|
+
readonly kind: MethodKind.Unary,
|
|
364
|
+
},
|
|
310
365
|
}
|
|
311
366
|
};
|
|
312
367
|
|