@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
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v1.10.0
|
|
2
|
+
// @generated from file component/audioin/v1/audioin.proto (package viam.component.audioin.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
|
+
import type { AudioInfo } from "../../../common/v1/common_pb.js";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* @generated from message viam.component.audioin.v1.GetAudioRequest
|
|
12
|
+
*/
|
|
13
|
+
export declare class GetAudioRequest extends Message<GetAudioRequest> {
|
|
14
|
+
/**
|
|
15
|
+
* @generated from field: string name = 1;
|
|
16
|
+
*/
|
|
17
|
+
name: string;
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Desired duration of audio stream
|
|
21
|
+
* If not set or set to 0, the stream is infinite
|
|
22
|
+
*
|
|
23
|
+
* @generated from field: float duration_seconds = 2;
|
|
24
|
+
*/
|
|
25
|
+
durationSeconds: number;
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Requested audio codec for the response (e.g., "mp3", "pcm16")
|
|
29
|
+
*
|
|
30
|
+
* @generated from field: string codec = 3;
|
|
31
|
+
*/
|
|
32
|
+
codec: string;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* To match a request to it's responses
|
|
36
|
+
*
|
|
37
|
+
* @generated from field: string request_id = 4;
|
|
38
|
+
*/
|
|
39
|
+
requestId: string;
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Timestamp of the previous audio chunk, in nanoseconds, used for resuming and continuity.
|
|
43
|
+
*
|
|
44
|
+
* @generated from field: int64 previous_timestamp_nanoseconds = 5;
|
|
45
|
+
*/
|
|
46
|
+
previousTimestampNanoseconds: bigint;
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* @generated from field: google.protobuf.Struct extra = 99;
|
|
50
|
+
*/
|
|
51
|
+
extra?: Struct;
|
|
52
|
+
|
|
53
|
+
constructor(data?: PartialMessage<GetAudioRequest>);
|
|
54
|
+
|
|
55
|
+
static readonly runtime: typeof proto3;
|
|
56
|
+
static readonly typeName = "viam.component.audioin.v1.GetAudioRequest";
|
|
57
|
+
static readonly fields: FieldList;
|
|
58
|
+
|
|
59
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetAudioRequest;
|
|
60
|
+
|
|
61
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetAudioRequest;
|
|
62
|
+
|
|
63
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetAudioRequest;
|
|
64
|
+
|
|
65
|
+
static equals(a: GetAudioRequest | PlainMessage<GetAudioRequest> | undefined, b: GetAudioRequest | PlainMessage<GetAudioRequest> | undefined): boolean;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* @generated from message viam.component.audioin.v1.GetAudioResponse
|
|
70
|
+
*/
|
|
71
|
+
export declare class GetAudioResponse extends Message<GetAudioResponse> {
|
|
72
|
+
/**
|
|
73
|
+
* @generated from field: viam.component.audioin.v1.AudioChunk audio = 1;
|
|
74
|
+
*/
|
|
75
|
+
audio?: AudioChunk;
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* @generated from field: string request_id = 2;
|
|
79
|
+
*/
|
|
80
|
+
requestId: string;
|
|
81
|
+
|
|
82
|
+
constructor(data?: PartialMessage<GetAudioResponse>);
|
|
83
|
+
|
|
84
|
+
static readonly runtime: typeof proto3;
|
|
85
|
+
static readonly typeName = "viam.component.audioin.v1.GetAudioResponse";
|
|
86
|
+
static readonly fields: FieldList;
|
|
87
|
+
|
|
88
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetAudioResponse;
|
|
89
|
+
|
|
90
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetAudioResponse;
|
|
91
|
+
|
|
92
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetAudioResponse;
|
|
93
|
+
|
|
94
|
+
static equals(a: GetAudioResponse | PlainMessage<GetAudioResponse> | undefined, b: GetAudioResponse | PlainMessage<GetAudioResponse> | undefined): boolean;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* @generated from message viam.component.audioin.v1.AudioChunk
|
|
99
|
+
*/
|
|
100
|
+
export declare class AudioChunk extends Message<AudioChunk> {
|
|
101
|
+
/**
|
|
102
|
+
* Audio data for this chunk, encoded according to the requested codec.
|
|
103
|
+
*
|
|
104
|
+
* @generated from field: bytes audio_data = 1;
|
|
105
|
+
*/
|
|
106
|
+
audioData: Uint8Array;
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Info about the audio stream for this chunk
|
|
110
|
+
*
|
|
111
|
+
* @generated from field: viam.common.v1.AudioInfo audio_info = 2;
|
|
112
|
+
*/
|
|
113
|
+
audioInfo?: AudioInfo;
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* @generated from field: int64 start_timestamp_nanoseconds = 3;
|
|
117
|
+
*/
|
|
118
|
+
startTimestampNanoseconds: bigint;
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* @generated from field: int64 end_timestamp_nanoseconds = 4;
|
|
122
|
+
*/
|
|
123
|
+
endTimestampNanoseconds: bigint;
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* Sequential chunk number
|
|
127
|
+
*
|
|
128
|
+
* @generated from field: int32 sequence = 5;
|
|
129
|
+
*/
|
|
130
|
+
sequence: number;
|
|
131
|
+
|
|
132
|
+
constructor(data?: PartialMessage<AudioChunk>);
|
|
133
|
+
|
|
134
|
+
static readonly runtime: typeof proto3;
|
|
135
|
+
static readonly typeName = "viam.component.audioin.v1.AudioChunk";
|
|
136
|
+
static readonly fields: FieldList;
|
|
137
|
+
|
|
138
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioChunk;
|
|
139
|
+
|
|
140
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioChunk;
|
|
141
|
+
|
|
142
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioChunk;
|
|
143
|
+
|
|
144
|
+
static equals(a: AudioChunk | PlainMessage<AudioChunk> | undefined, b: AudioChunk | PlainMessage<AudioChunk> | undefined): boolean;
|
|
145
|
+
}
|
|
146
|
+
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-es v1.5.0
|
|
2
|
+
// @generated from file component/audioout/v1/audioout.proto (package viam.component.audioout.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import { PlayRequest, PlayResponse } from "./audioout_pb.js";
|
|
7
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
+
import { DoCommandRequest, DoCommandResponse, GetGeometriesRequest, GetGeometriesResponse, GetPropertiesRequest, GetPropertiesResponse } from "../../../common/v1/common_pb.js";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* An AudioOutService services all audio outputs associated with a robot
|
|
12
|
+
*
|
|
13
|
+
* @generated from service viam.component.audioout.v1.AudioOutService
|
|
14
|
+
*/
|
|
15
|
+
export declare const AudioOutService: {
|
|
16
|
+
readonly typeName: "viam.component.audioout.v1.AudioOutService",
|
|
17
|
+
readonly methods: {
|
|
18
|
+
/**
|
|
19
|
+
* Play plays audio from the audioout component.
|
|
20
|
+
*
|
|
21
|
+
* @generated from rpc viam.component.audioout.v1.AudioOutService.Play
|
|
22
|
+
*/
|
|
23
|
+
readonly play: {
|
|
24
|
+
readonly name: "Play",
|
|
25
|
+
readonly I: typeof PlayRequest,
|
|
26
|
+
readonly O: typeof PlayResponse,
|
|
27
|
+
readonly kind: MethodKind.Unary,
|
|
28
|
+
},
|
|
29
|
+
/**
|
|
30
|
+
* GetProperties returns the properties of the audioout.
|
|
31
|
+
*
|
|
32
|
+
* @generated from rpc viam.component.audioout.v1.AudioOutService.GetProperties
|
|
33
|
+
*/
|
|
34
|
+
readonly getProperties: {
|
|
35
|
+
readonly name: "GetProperties",
|
|
36
|
+
readonly I: typeof GetPropertiesRequest,
|
|
37
|
+
readonly O: typeof GetPropertiesResponse,
|
|
38
|
+
readonly kind: MethodKind.Unary,
|
|
39
|
+
},
|
|
40
|
+
/**
|
|
41
|
+
* DoCommand sends/receives arbitrary commands
|
|
42
|
+
*
|
|
43
|
+
* @generated from rpc viam.component.audioout.v1.AudioOutService.DoCommand
|
|
44
|
+
*/
|
|
45
|
+
readonly doCommand: {
|
|
46
|
+
readonly name: "DoCommand",
|
|
47
|
+
readonly I: typeof DoCommandRequest,
|
|
48
|
+
readonly O: typeof DoCommandResponse,
|
|
49
|
+
readonly kind: MethodKind.Unary,
|
|
50
|
+
},
|
|
51
|
+
/**
|
|
52
|
+
* GetGeometries returns the geometries of the component in their current configuration
|
|
53
|
+
*
|
|
54
|
+
* @generated from rpc viam.component.audioout.v1.AudioOutService.GetGeometries
|
|
55
|
+
*/
|
|
56
|
+
readonly getGeometries: {
|
|
57
|
+
readonly name: "GetGeometries",
|
|
58
|
+
readonly I: typeof GetGeometriesRequest,
|
|
59
|
+
readonly O: typeof GetGeometriesResponse,
|
|
60
|
+
readonly kind: MethodKind.Unary,
|
|
61
|
+
},
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v1.10.0
|
|
2
|
+
// @generated from file component/audioout/v1/audioout.proto (package viam.component.audioout.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
|
+
import type { AudioInfo } from "../../../common/v1/common_pb.js";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* @generated from message viam.component.audioout.v1.PlayRequest
|
|
12
|
+
*/
|
|
13
|
+
export declare class PlayRequest extends Message<PlayRequest> {
|
|
14
|
+
/**
|
|
15
|
+
* @generated from field: string name = 1;
|
|
16
|
+
*/
|
|
17
|
+
name: string;
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* @generated from field: bytes audio_data = 2;
|
|
21
|
+
*/
|
|
22
|
+
audioData: Uint8Array;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Info describing the audio_data
|
|
26
|
+
*
|
|
27
|
+
* @generated from field: viam.common.v1.AudioInfo audio_info = 3;
|
|
28
|
+
*/
|
|
29
|
+
audioInfo?: AudioInfo;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* @generated from field: google.protobuf.Struct extra = 99;
|
|
33
|
+
*/
|
|
34
|
+
extra?: Struct;
|
|
35
|
+
|
|
36
|
+
constructor(data?: PartialMessage<PlayRequest>);
|
|
37
|
+
|
|
38
|
+
static readonly runtime: typeof proto3;
|
|
39
|
+
static readonly typeName = "viam.component.audioout.v1.PlayRequest";
|
|
40
|
+
static readonly fields: FieldList;
|
|
41
|
+
|
|
42
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PlayRequest;
|
|
43
|
+
|
|
44
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PlayRequest;
|
|
45
|
+
|
|
46
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PlayRequest;
|
|
47
|
+
|
|
48
|
+
static equals(a: PlayRequest | PlainMessage<PlayRequest> | undefined, b: PlayRequest | PlainMessage<PlayRequest> | undefined): boolean;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* @generated from message viam.component.audioout.v1.PlayResponse
|
|
53
|
+
*/
|
|
54
|
+
export declare class PlayResponse extends Message<PlayResponse> {
|
|
55
|
+
constructor(data?: PartialMessage<PlayResponse>);
|
|
56
|
+
|
|
57
|
+
static readonly runtime: typeof proto3;
|
|
58
|
+
static readonly typeName = "viam.component.audioout.v1.PlayResponse";
|
|
59
|
+
static readonly fields: FieldList;
|
|
60
|
+
|
|
61
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PlayResponse;
|
|
62
|
+
|
|
63
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PlayResponse;
|
|
64
|
+
|
|
65
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PlayResponse;
|
|
66
|
+
|
|
67
|
+
static equals(a: PlayResponse | PlainMessage<PlayResponse> | undefined, b: PlayResponse | PlainMessage<PlayResponse> | undefined): boolean;
|
|
68
|
+
}
|
|
69
|
+
|
|
@@ -168,6 +168,22 @@ export declare class ListOperationsRequest extends Message<ListOperationsRequest
|
|
|
168
168
|
*/
|
|
169
169
|
pageToken: string;
|
|
170
170
|
|
|
171
|
+
/**
|
|
172
|
+
* When set to `true`, operations that are reachable are returned as normal,
|
|
173
|
+
* and those that are unreachable are returned in the
|
|
174
|
+
* [ListOperationsResponse.unreachable] field.
|
|
175
|
+
*
|
|
176
|
+
* This can only be `true` when reading across collections e.g. when `parent`
|
|
177
|
+
* is set to `"projects/example/locations/-"`.
|
|
178
|
+
*
|
|
179
|
+
* This field is not by default supported and will result in an
|
|
180
|
+
* `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
|
|
181
|
+
* service or product specific documentation.
|
|
182
|
+
*
|
|
183
|
+
* @generated from field: bool return_partial_success = 5;
|
|
184
|
+
*/
|
|
185
|
+
returnPartialSuccess: boolean;
|
|
186
|
+
|
|
171
187
|
constructor(data?: PartialMessage<ListOperationsRequest>);
|
|
172
188
|
|
|
173
189
|
static readonly runtime: typeof proto3;
|
|
@@ -204,6 +220,16 @@ export declare class ListOperationsResponse extends Message<ListOperationsRespon
|
|
|
204
220
|
*/
|
|
205
221
|
nextPageToken: string;
|
|
206
222
|
|
|
223
|
+
/**
|
|
224
|
+
* Unordered list. Unreachable resources. Populated when the request sets
|
|
225
|
+
* `ListOperationsRequest.return_partial_success` and reads across
|
|
226
|
+
* collections e.g. when attempting to list all resources across all supported
|
|
227
|
+
* locations.
|
|
228
|
+
*
|
|
229
|
+
* @generated from field: repeated string unreachable = 3;
|
|
230
|
+
*/
|
|
231
|
+
unreachable: string[];
|
|
232
|
+
|
|
207
233
|
constructor(data?: PartialMessage<ListOperationsResponse>);
|
|
208
234
|
|
|
209
235
|
static readonly runtime: typeof proto3;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-es v1.5.0
|
|
2
|
+
// @generated from file service/video/v1/video.proto (package viam.service.video.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import { GetVideoRequest, GetVideoResponse } from "./video_pb.js";
|
|
7
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
+
import { DoCommandRequest, DoCommandResponse } from "../../../common/v1/common_pb.js";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* VideoService services video streaming and retrieval
|
|
12
|
+
*
|
|
13
|
+
* @generated from service viam.service.video.v1.VideoService
|
|
14
|
+
*/
|
|
15
|
+
export declare const VideoService: {
|
|
16
|
+
readonly typeName: "viam.service.video.v1.VideoService",
|
|
17
|
+
readonly methods: {
|
|
18
|
+
/**
|
|
19
|
+
* GetVideo retrieves a video for a given time range
|
|
20
|
+
*
|
|
21
|
+
* @generated from rpc viam.service.video.v1.VideoService.GetVideo
|
|
22
|
+
*/
|
|
23
|
+
readonly getVideo: {
|
|
24
|
+
readonly name: "GetVideo",
|
|
25
|
+
readonly I: typeof GetVideoRequest,
|
|
26
|
+
readonly O: typeof GetVideoResponse,
|
|
27
|
+
readonly kind: MethodKind.ServerStreaming,
|
|
28
|
+
},
|
|
29
|
+
/**
|
|
30
|
+
* DoCommand sends/receives arbitrary commands
|
|
31
|
+
*
|
|
32
|
+
* @generated from rpc viam.service.video.v1.VideoService.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,116 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v1.10.0
|
|
2
|
+
// @generated from file service/video/v1/video.proto (package viam.service.video.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Struct, Timestamp } from "@bufbuild/protobuf";
|
|
7
|
+
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* @generated from message viam.service.video.v1.GetVideoRequest
|
|
11
|
+
*/
|
|
12
|
+
export declare class GetVideoRequest extends Message<GetVideoRequest> {
|
|
13
|
+
/**
|
|
14
|
+
* Name of the video source
|
|
15
|
+
*
|
|
16
|
+
* @generated from field: string name = 1;
|
|
17
|
+
*/
|
|
18
|
+
name: string;
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Start time for the video retrieval
|
|
22
|
+
*
|
|
23
|
+
* @generated from field: google.protobuf.Timestamp start_timestamp = 2;
|
|
24
|
+
*/
|
|
25
|
+
startTimestamp?: Timestamp;
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* End time for the video retrieval
|
|
29
|
+
*
|
|
30
|
+
* @generated from field: google.protobuf.Timestamp end_timestamp = 3;
|
|
31
|
+
*/
|
|
32
|
+
endTimestamp?: Timestamp;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Codec for the video retrieval (e.g., "h264", "h265")
|
|
36
|
+
*
|
|
37
|
+
* @generated from field: string video_codec = 4;
|
|
38
|
+
*/
|
|
39
|
+
videoCodec: string;
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Container format for the video retrieval (e.g., "mp4", "fmp4")
|
|
43
|
+
*
|
|
44
|
+
* @generated from field: string video_container = 5;
|
|
45
|
+
*/
|
|
46
|
+
videoContainer: string;
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* To match a request to its responses
|
|
50
|
+
*
|
|
51
|
+
* @generated from field: string request_id = 6;
|
|
52
|
+
*/
|
|
53
|
+
requestId: string;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Additional arguments to the method
|
|
57
|
+
*
|
|
58
|
+
* @generated from field: google.protobuf.Struct extra = 99;
|
|
59
|
+
*/
|
|
60
|
+
extra?: Struct;
|
|
61
|
+
|
|
62
|
+
constructor(data?: PartialMessage<GetVideoRequest>);
|
|
63
|
+
|
|
64
|
+
static readonly runtime: typeof proto3;
|
|
65
|
+
static readonly typeName = "viam.service.video.v1.GetVideoRequest";
|
|
66
|
+
static readonly fields: FieldList;
|
|
67
|
+
|
|
68
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetVideoRequest;
|
|
69
|
+
|
|
70
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetVideoRequest;
|
|
71
|
+
|
|
72
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetVideoRequest;
|
|
73
|
+
|
|
74
|
+
static equals(a: GetVideoRequest | PlainMessage<GetVideoRequest> | undefined, b: GetVideoRequest | PlainMessage<GetVideoRequest> | undefined): boolean;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* @generated from message viam.service.video.v1.GetVideoResponse
|
|
79
|
+
*/
|
|
80
|
+
export declare class GetVideoResponse extends Message<GetVideoResponse> {
|
|
81
|
+
/**
|
|
82
|
+
* Video data chunk
|
|
83
|
+
*
|
|
84
|
+
* @generated from field: bytes video_data = 1;
|
|
85
|
+
*/
|
|
86
|
+
videoData: Uint8Array;
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Container format (e.g., "mp4", "fmp4")
|
|
90
|
+
*
|
|
91
|
+
* @generated from field: string video_container = 2;
|
|
92
|
+
*/
|
|
93
|
+
videoContainer: string;
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Request ID to match this response to its request
|
|
97
|
+
*
|
|
98
|
+
* @generated from field: string request_id = 3;
|
|
99
|
+
*/
|
|
100
|
+
requestId: string;
|
|
101
|
+
|
|
102
|
+
constructor(data?: PartialMessage<GetVideoResponse>);
|
|
103
|
+
|
|
104
|
+
static readonly runtime: typeof proto3;
|
|
105
|
+
static readonly typeName = "viam.service.video.v1.GetVideoResponse";
|
|
106
|
+
static readonly fields: FieldList;
|
|
107
|
+
|
|
108
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetVideoResponse;
|
|
109
|
+
|
|
110
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetVideoResponse;
|
|
111
|
+
|
|
112
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetVideoResponse;
|
|
113
|
+
|
|
114
|
+
static equals(a: GetVideoResponse | PlainMessage<GetVideoResponse> | undefined, b: GetVideoResponse | PlainMessage<GetVideoResponse> | undefined): boolean;
|
|
115
|
+
}
|
|
116
|
+
|
package/dist/main.d.ts
CHANGED
|
@@ -63,6 +63,9 @@ export { type BillingClient } from './app/billing-client';
|
|
|
63
63
|
*/
|
|
64
64
|
export * as billingApi from './gen/app/v1/billing_pb';
|
|
65
65
|
export { ArmClient, ArmJointPositions, type Arm } from './components/arm';
|
|
66
|
+
export { AudioInClient, type AudioIn, type AudioChunk, } from './components/audioin';
|
|
67
|
+
export { AudioOutClient, type AudioOut } from './components/audioout';
|
|
68
|
+
export { AudioCodec, type AudioCodecType, type AudioProperties, } from './audio-common';
|
|
66
69
|
/**
|
|
67
70
|
* Raw Protobuf interfaces for an Arm component.
|
|
68
71
|
*
|