@viamrobotics/sdk 0.74.2 → 0.75.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/components/audio-in/audio-in.d.ts +12 -1
- package/dist/components/audio-in/client.d.ts +1 -0
- package/dist/components/audio-out/audio-out.d.ts +12 -1
- package/dist/components/audio-out/client.d.ts +1 -0
- package/dist/components/board/board.d.ts +15 -0
- package/dist/components/board/client.d.ts +1 -0
- package/dist/components/encoder/client.d.ts +1 -0
- package/dist/components/encoder/encoder.d.ts +15 -0
- package/dist/components/input-controller/client.d.ts +1 -0
- package/dist/components/input-controller/input-controller.d.ts +15 -0
- package/dist/components/motor/client.d.ts +1 -0
- package/dist/components/motor/motor.d.ts +15 -0
- package/dist/components/movement-sensor/client.d.ts +1 -0
- package/dist/components/movement-sensor/movement-sensor.d.ts +15 -0
- package/dist/components/sensor/client.d.ts +1 -0
- package/dist/components/servo/client.d.ts +1 -0
- package/dist/components/servo/servo.d.ts +15 -0
- package/dist/gen/opentelemetry/proto/collector/profiles/v1development/profiles_service_pb.d.ts +6 -0
- package/dist/gen/opentelemetry/proto/common/v1/common_pb.d.ts +3 -3
- package/dist/gen/opentelemetry/proto/metrics/v1/metrics_pb.d.ts +1 -1
- package/dist/gen/opentelemetry/proto/processcontext/v1development/process_context_pb.d.ts +79 -0
- package/dist/gen/opentelemetry/proto/profiles/v1development/profiles_pb.d.ts +125 -87
- package/dist/gen/proto/rpc/webrtc/v1/signaling_connect.d.ts +13 -1
- package/dist/gen/proto/rpc/webrtc/v1/signaling_pb.d.ts +248 -0
- package/dist/main.es.js +4182 -3976
- package/dist/main.umd.js +8 -8
- package/package.json +2 -2
|
@@ -7,6 +7,137 @@ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialM
|
|
|
7
7
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
8
8
|
import type { Status } from "../../../../google/rpc/status_pb.js";
|
|
9
9
|
|
|
10
|
+
/**
|
|
11
|
+
* ICECandidateType represents the type of ICE candidate selected for a WebRTC connection.
|
|
12
|
+
* The signaling server further classifies RELAY by relay server specific provider from the address.
|
|
13
|
+
*
|
|
14
|
+
* @generated from enum proto.rpc.webrtc.v1.ICECandidateType
|
|
15
|
+
*/
|
|
16
|
+
export declare enum ICECandidateType {
|
|
17
|
+
/**
|
|
18
|
+
* @generated from enum value: ICE_CANDIDATE_TYPE_UNSPECIFIED = 0;
|
|
19
|
+
*/
|
|
20
|
+
ICE_CANDIDATE_TYPE_UNSPECIFIED = 0,
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* ICE_CANDIDATE_TYPE_HOST indicates a direct connection was established.
|
|
24
|
+
*
|
|
25
|
+
* @generated from enum value: ICE_CANDIDATE_TYPE_HOST = 1;
|
|
26
|
+
*/
|
|
27
|
+
ICE_CANDIDATE_TYPE_HOST = 1,
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* ICE_CANDIDATE_TYPE_STUN indicates a STUN-assisted connection was established.
|
|
31
|
+
*
|
|
32
|
+
* @generated from enum value: ICE_CANDIDATE_TYPE_STUN = 2;
|
|
33
|
+
*/
|
|
34
|
+
ICE_CANDIDATE_TYPE_STUN = 2,
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* ICE_CANDIDATE_TYPE_RELAY indicates a TURN relay candidate was selected.
|
|
38
|
+
*
|
|
39
|
+
* @generated from enum value: ICE_CANDIDATE_TYPE_RELAY = 3;
|
|
40
|
+
*/
|
|
41
|
+
ICE_CANDIDATE_TYPE_RELAY = 3,
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* DialStage is the furthest checkpoint a WebRTC dial reached. READY means the dial succeeded; any
|
|
46
|
+
* earlier value is the stage at which a failed dial stopped.
|
|
47
|
+
*
|
|
48
|
+
* @generated from enum proto.rpc.webrtc.v1.DialStage
|
|
49
|
+
*/
|
|
50
|
+
export declare enum DialStage {
|
|
51
|
+
/**
|
|
52
|
+
* @generated from enum value: DIAL_STAGE_UNSPECIFIED = 0;
|
|
53
|
+
*/
|
|
54
|
+
UNSPECIFIED = 0,
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* DIAL_STAGE_SIGNALING_CONNECTED: the signaling channel was established.
|
|
58
|
+
*
|
|
59
|
+
* @generated from enum value: DIAL_STAGE_SIGNALING_CONNECTED = 1;
|
|
60
|
+
*/
|
|
61
|
+
SIGNALING_CONNECTED = 1,
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* DIAL_STAGE_CONFIG_FETCHED: ICE/TURN configuration was fetched from the signaling server.
|
|
65
|
+
*
|
|
66
|
+
* @generated from enum value: DIAL_STAGE_CONFIG_FETCHED = 2;
|
|
67
|
+
*/
|
|
68
|
+
CONFIG_FETCHED = 2,
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* DIAL_STAGE_OFFER_SENT: the SDP offer was sent to the signaling server (the Call was accepted).
|
|
72
|
+
*
|
|
73
|
+
* @generated from enum value: DIAL_STAGE_OFFER_SENT = 3;
|
|
74
|
+
*/
|
|
75
|
+
OFFER_SENT = 3,
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* DIAL_STAGE_ANSWER_RECEIVED: the answerer's SDP answer was received and applied.
|
|
79
|
+
*
|
|
80
|
+
* @generated from enum value: DIAL_STAGE_ANSWER_RECEIVED = 4;
|
|
81
|
+
*/
|
|
82
|
+
ANSWER_RECEIVED = 4,
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* DIAL_STAGE_ICE_CONNECTED: ICE connectivity was established (a candidate pair connected).
|
|
86
|
+
*
|
|
87
|
+
* @generated from enum value: DIAL_STAGE_ICE_CONNECTED = 5;
|
|
88
|
+
*/
|
|
89
|
+
ICE_CONNECTED = 5,
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* DIAL_STAGE_DTLS_CONNECTED: the DTLS handshake completed (peer connection connected) but the
|
|
93
|
+
* data channel is not yet open.
|
|
94
|
+
*
|
|
95
|
+
* @generated from enum value: DIAL_STAGE_DTLS_CONNECTED = 6;
|
|
96
|
+
*/
|
|
97
|
+
DTLS_CONNECTED = 6,
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* DIAL_STAGE_READY: the connection is fully ready (data channel open). This is success.
|
|
101
|
+
*
|
|
102
|
+
* @generated from enum value: DIAL_STAGE_READY = 7;
|
|
103
|
+
*/
|
|
104
|
+
READY = 7,
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* ConnectionSignalingPath is how a WebRTC dial was signaled, derived from the signaling address.
|
|
109
|
+
*
|
|
110
|
+
* @generated from enum proto.rpc.webrtc.v1.ConnectionSignalingPath
|
|
111
|
+
*/
|
|
112
|
+
export declare enum ConnectionSignalingPath {
|
|
113
|
+
/**
|
|
114
|
+
* @generated from enum value: CONNECTION_SIGNALING_PATH_UNSPECIFIED = 0;
|
|
115
|
+
*/
|
|
116
|
+
UNSPECIFIED = 0,
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* CONNECTION_SIGNALING_PATH_CLOUD_SIGNALED: signaled through app's signaling server.
|
|
120
|
+
*
|
|
121
|
+
* @generated from enum value: CONNECTION_SIGNALING_PATH_CLOUD_SIGNALED = 1;
|
|
122
|
+
*/
|
|
123
|
+
CLOUD_SIGNALED = 1,
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* CONNECTION_SIGNALING_PATH_MDNS_LOCAL: signaled over an mDNS-discovered local-network path.
|
|
127
|
+
*
|
|
128
|
+
* @generated from enum value: CONNECTION_SIGNALING_PATH_MDNS_LOCAL = 2;
|
|
129
|
+
*/
|
|
130
|
+
MDNS_LOCAL = 2,
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* CONNECTION_SIGNALING_PATH_LOCAL: signaled through a loopback/private-address signaling server
|
|
134
|
+
* (e.g. a machine's own signaling server) without mDNS discovery.
|
|
135
|
+
*
|
|
136
|
+
* @generated from enum value: CONNECTION_SIGNALING_PATH_LOCAL = 3;
|
|
137
|
+
*/
|
|
138
|
+
LOCAL = 3,
|
|
139
|
+
}
|
|
140
|
+
|
|
10
141
|
/**
|
|
11
142
|
* ICECandidate represents an ICE candidate.
|
|
12
143
|
* From https://github.com/pion/webrtc/blob/5f6baf73255598a7b4a7c9400bb0381acc9aa3dc/icecandidateinit.go
|
|
@@ -730,3 +861,120 @@ export declare class OptionalWebRTCConfigResponse extends Message<OptionalWebRTC
|
|
|
730
861
|
static equals(a: OptionalWebRTCConfigResponse | PlainMessage<OptionalWebRTCConfigResponse> | undefined, b: OptionalWebRTCConfigResponse | PlainMessage<OptionalWebRTCConfigResponse> | undefined): boolean;
|
|
731
862
|
}
|
|
732
863
|
|
|
864
|
+
/**
|
|
865
|
+
* ConnectionCandidate describes the selected ICE candidate for one side of a WebRTC connection.
|
|
866
|
+
*
|
|
867
|
+
* @generated from message proto.rpc.webrtc.v1.ConnectionCandidate
|
|
868
|
+
*/
|
|
869
|
+
export declare class ConnectionCandidate extends Message<ConnectionCandidate> {
|
|
870
|
+
/**
|
|
871
|
+
* @generated from field: proto.rpc.webrtc.v1.ICECandidateType type = 1;
|
|
872
|
+
*/
|
|
873
|
+
type: ICECandidateType;
|
|
874
|
+
|
|
875
|
+
/**
|
|
876
|
+
* relay_address is the relay server address of this candidate; set only when type is
|
|
877
|
+
* RELAY, so the signaling server can classify the provider by matching against known
|
|
878
|
+
* coturn addresses.
|
|
879
|
+
*
|
|
880
|
+
* @generated from field: string relay_address = 2;
|
|
881
|
+
*/
|
|
882
|
+
relayAddress: string;
|
|
883
|
+
|
|
884
|
+
constructor(data?: PartialMessage<ConnectionCandidate>);
|
|
885
|
+
|
|
886
|
+
static readonly runtime: typeof proto3;
|
|
887
|
+
static readonly typeName = "proto.rpc.webrtc.v1.ConnectionCandidate";
|
|
888
|
+
static readonly fields: FieldList;
|
|
889
|
+
|
|
890
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ConnectionCandidate;
|
|
891
|
+
|
|
892
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ConnectionCandidate;
|
|
893
|
+
|
|
894
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ConnectionCandidate;
|
|
895
|
+
|
|
896
|
+
static equals(a: ConnectionCandidate | PlainMessage<ConnectionCandidate> | undefined, b: ConnectionCandidate | PlainMessage<ConnectionCandidate> | undefined): boolean;
|
|
897
|
+
}
|
|
898
|
+
|
|
899
|
+
/**
|
|
900
|
+
* ReportConnectionMetadataRequest reports metadata about a WebRTC dial, per side: local is the
|
|
901
|
+
* dialing SDK and remote is the robot.
|
|
902
|
+
*
|
|
903
|
+
* @generated from message proto.rpc.webrtc.v1.ReportConnectionMetadataRequest
|
|
904
|
+
*/
|
|
905
|
+
export declare class ReportConnectionMetadataRequest extends Message<ReportConnectionMetadataRequest> {
|
|
906
|
+
/**
|
|
907
|
+
* @generated from field: proto.rpc.webrtc.v1.ConnectionCandidate local = 1;
|
|
908
|
+
*/
|
|
909
|
+
local?: ConnectionCandidate;
|
|
910
|
+
|
|
911
|
+
/**
|
|
912
|
+
* @generated from field: proto.rpc.webrtc.v1.ConnectionCandidate remote = 2;
|
|
913
|
+
*/
|
|
914
|
+
remote?: ConnectionCandidate;
|
|
915
|
+
|
|
916
|
+
/**
|
|
917
|
+
* reached_stage is the furthest dial checkpoint reached. READY indicates success; any earlier
|
|
918
|
+
* value is where a failed dial stopped.
|
|
919
|
+
*
|
|
920
|
+
* @generated from field: proto.rpc.webrtc.v1.DialStage reached_stage = 3;
|
|
921
|
+
*/
|
|
922
|
+
reachedStage: DialStage;
|
|
923
|
+
|
|
924
|
+
/**
|
|
925
|
+
* duration_ms is the wall-clock time from dial start to connection ready or to the failure.
|
|
926
|
+
*
|
|
927
|
+
* @generated from field: uint32 duration_ms = 4;
|
|
928
|
+
*/
|
|
929
|
+
durationMs: number;
|
|
930
|
+
|
|
931
|
+
/**
|
|
932
|
+
* signaling_path is how the dial was signaled (cloud / local / mDNS); reported regardless of outcome.
|
|
933
|
+
*
|
|
934
|
+
* @generated from field: proto.rpc.webrtc.v1.ConnectionSignalingPath signaling_path = 5;
|
|
935
|
+
*/
|
|
936
|
+
signalingPath: ConnectionSignalingPath;
|
|
937
|
+
|
|
938
|
+
/**
|
|
939
|
+
* failure_code is the gRPC status code of a failed dial
|
|
940
|
+
*
|
|
941
|
+
* @generated from field: int32 failure_code = 6;
|
|
942
|
+
*/
|
|
943
|
+
failureCode: number;
|
|
944
|
+
|
|
945
|
+
constructor(data?: PartialMessage<ReportConnectionMetadataRequest>);
|
|
946
|
+
|
|
947
|
+
static readonly runtime: typeof proto3;
|
|
948
|
+
static readonly typeName = "proto.rpc.webrtc.v1.ReportConnectionMetadataRequest";
|
|
949
|
+
static readonly fields: FieldList;
|
|
950
|
+
|
|
951
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ReportConnectionMetadataRequest;
|
|
952
|
+
|
|
953
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ReportConnectionMetadataRequest;
|
|
954
|
+
|
|
955
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ReportConnectionMetadataRequest;
|
|
956
|
+
|
|
957
|
+
static equals(a: ReportConnectionMetadataRequest | PlainMessage<ReportConnectionMetadataRequest> | undefined, b: ReportConnectionMetadataRequest | PlainMessage<ReportConnectionMetadataRequest> | undefined): boolean;
|
|
958
|
+
}
|
|
959
|
+
|
|
960
|
+
/**
|
|
961
|
+
* ReportConnectionMetadataResponse is empty.
|
|
962
|
+
*
|
|
963
|
+
* @generated from message proto.rpc.webrtc.v1.ReportConnectionMetadataResponse
|
|
964
|
+
*/
|
|
965
|
+
export declare class ReportConnectionMetadataResponse extends Message<ReportConnectionMetadataResponse> {
|
|
966
|
+
constructor(data?: PartialMessage<ReportConnectionMetadataResponse>);
|
|
967
|
+
|
|
968
|
+
static readonly runtime: typeof proto3;
|
|
969
|
+
static readonly typeName = "proto.rpc.webrtc.v1.ReportConnectionMetadataResponse";
|
|
970
|
+
static readonly fields: FieldList;
|
|
971
|
+
|
|
972
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ReportConnectionMetadataResponse;
|
|
973
|
+
|
|
974
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ReportConnectionMetadataResponse;
|
|
975
|
+
|
|
976
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ReportConnectionMetadataResponse;
|
|
977
|
+
|
|
978
|
+
static equals(a: ReportConnectionMetadataResponse | PlainMessage<ReportConnectionMetadataResponse> | undefined, b: ReportConnectionMetadataResponse | PlainMessage<ReportConnectionMetadataResponse> | undefined): boolean;
|
|
979
|
+
}
|
|
980
|
+
|