@viamrobotics/sdk 0.74.2 → 0.75.1

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.
Files changed (38) hide show
  1. package/dist/api-version.d.ts +1 -1
  2. package/dist/components/arm/arm.d.ts +42 -0
  3. package/dist/components/arm/client.d.ts +3 -0
  4. package/dist/components/arm.d.ts +1 -1
  5. package/dist/components/audio-in/audio-in.d.ts +12 -1
  6. package/dist/components/audio-in/client.d.ts +1 -0
  7. package/dist/components/audio-out/audio-out.d.ts +12 -1
  8. package/dist/components/audio-out/client.d.ts +1 -0
  9. package/dist/components/board/board.d.ts +15 -0
  10. package/dist/components/board/client.d.ts +1 -0
  11. package/dist/components/encoder/client.d.ts +1 -0
  12. package/dist/components/encoder/encoder.d.ts +15 -0
  13. package/dist/components/input-controller/client.d.ts +1 -0
  14. package/dist/components/input-controller/input-controller.d.ts +15 -0
  15. package/dist/components/motor/client.d.ts +1 -0
  16. package/dist/components/motor/motor.d.ts +15 -0
  17. package/dist/components/movement-sensor/client.d.ts +1 -0
  18. package/dist/components/movement-sensor/movement-sensor.d.ts +15 -0
  19. package/dist/components/sensor/client.d.ts +1 -0
  20. package/dist/components/servo/client.d.ts +1 -0
  21. package/dist/components/servo/servo.d.ts +15 -0
  22. package/dist/gen/app/data/v1/data_pb.d.ts +10 -0
  23. package/dist/gen/app/datapipelines/v1/data_pipelines_pb.d.ts +8 -0
  24. package/dist/gen/app/v1/app_pb.d.ts +47 -0
  25. package/dist/gen/app/v1/robot_pb.d.ts +118 -0
  26. package/dist/gen/component/arm/v1/arm_connect.d.ts +43 -1
  27. package/dist/gen/component/arm/v1/arm_pb.d.ts +499 -1
  28. package/dist/gen/opentelemetry/proto/collector/profiles/v1development/profiles_service_pb.d.ts +6 -0
  29. package/dist/gen/opentelemetry/proto/common/v1/common_pb.d.ts +3 -3
  30. package/dist/gen/opentelemetry/proto/metrics/v1/metrics_pb.d.ts +1 -1
  31. package/dist/gen/opentelemetry/proto/processcontext/v1development/process_context_pb.d.ts +79 -0
  32. package/dist/gen/opentelemetry/proto/profiles/v1development/profiles_pb.d.ts +125 -87
  33. package/dist/gen/proto/rpc/webrtc/v1/signaling_connect.d.ts +13 -1
  34. package/dist/gen/proto/rpc/webrtc/v1/signaling_pb.d.ts +266 -0
  35. package/dist/main.es.js +6048 -5523
  36. package/dist/main.umd.js +9 -9
  37. package/dist/robot/client.d.ts +24 -0
  38. 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
@@ -343,6 +474,24 @@ export declare class AnswerRequestInitStage extends Message<AnswerRequestInitSta
343
474
  */
344
475
  deadline?: Timestamp;
345
476
 
477
+ /**
478
+ * caller_auth_entity is the caller's authenticated entity (its JWT subject), extracted
479
+ * from the caller's auth token by the signaling server. Only the caller's identity is
480
+ * forwarded to the answerer, not its bearer token. Empty when the caller was
481
+ * unauthenticated.
482
+ *
483
+ * @generated from field: string caller_auth_entity = 4;
484
+ */
485
+ callerAuthEntity: string;
486
+
487
+ /**
488
+ * caller_auth_metadata is the caller's auth metadata (its rpc_auth_md claim), extracted
489
+ * from the caller's auth token by the signaling server.
490
+ *
491
+ * @generated from field: map<string, string> caller_auth_metadata = 5;
492
+ */
493
+ callerAuthMetadata: { [key: string]: string };
494
+
346
495
  constructor(data?: PartialMessage<AnswerRequestInitStage>);
347
496
 
348
497
  static readonly runtime: typeof proto3;
@@ -730,3 +879,120 @@ export declare class OptionalWebRTCConfigResponse extends Message<OptionalWebRTC
730
879
  static equals(a: OptionalWebRTCConfigResponse | PlainMessage<OptionalWebRTCConfigResponse> | undefined, b: OptionalWebRTCConfigResponse | PlainMessage<OptionalWebRTCConfigResponse> | undefined): boolean;
731
880
  }
732
881
 
882
+ /**
883
+ * ConnectionCandidate describes the selected ICE candidate for one side of a WebRTC connection.
884
+ *
885
+ * @generated from message proto.rpc.webrtc.v1.ConnectionCandidate
886
+ */
887
+ export declare class ConnectionCandidate extends Message<ConnectionCandidate> {
888
+ /**
889
+ * @generated from field: proto.rpc.webrtc.v1.ICECandidateType type = 1;
890
+ */
891
+ type: ICECandidateType;
892
+
893
+ /**
894
+ * relay_address is the relay server address of this candidate; set only when type is
895
+ * RELAY, so the signaling server can classify the provider by matching against known
896
+ * coturn addresses.
897
+ *
898
+ * @generated from field: string relay_address = 2;
899
+ */
900
+ relayAddress: string;
901
+
902
+ constructor(data?: PartialMessage<ConnectionCandidate>);
903
+
904
+ static readonly runtime: typeof proto3;
905
+ static readonly typeName = "proto.rpc.webrtc.v1.ConnectionCandidate";
906
+ static readonly fields: FieldList;
907
+
908
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ConnectionCandidate;
909
+
910
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ConnectionCandidate;
911
+
912
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ConnectionCandidate;
913
+
914
+ static equals(a: ConnectionCandidate | PlainMessage<ConnectionCandidate> | undefined, b: ConnectionCandidate | PlainMessage<ConnectionCandidate> | undefined): boolean;
915
+ }
916
+
917
+ /**
918
+ * ReportConnectionMetadataRequest reports metadata about a WebRTC dial, per side: local is the
919
+ * dialing SDK and remote is the robot.
920
+ *
921
+ * @generated from message proto.rpc.webrtc.v1.ReportConnectionMetadataRequest
922
+ */
923
+ export declare class ReportConnectionMetadataRequest extends Message<ReportConnectionMetadataRequest> {
924
+ /**
925
+ * @generated from field: proto.rpc.webrtc.v1.ConnectionCandidate local = 1;
926
+ */
927
+ local?: ConnectionCandidate;
928
+
929
+ /**
930
+ * @generated from field: proto.rpc.webrtc.v1.ConnectionCandidate remote = 2;
931
+ */
932
+ remote?: ConnectionCandidate;
933
+
934
+ /**
935
+ * reached_stage is the furthest dial checkpoint reached. READY indicates success; any earlier
936
+ * value is where a failed dial stopped.
937
+ *
938
+ * @generated from field: proto.rpc.webrtc.v1.DialStage reached_stage = 3;
939
+ */
940
+ reachedStage: DialStage;
941
+
942
+ /**
943
+ * duration_ms is the wall-clock time from dial start to connection ready or to the failure.
944
+ *
945
+ * @generated from field: uint32 duration_ms = 4;
946
+ */
947
+ durationMs: number;
948
+
949
+ /**
950
+ * signaling_path is how the dial was signaled (cloud / local / mDNS); reported regardless of outcome.
951
+ *
952
+ * @generated from field: proto.rpc.webrtc.v1.ConnectionSignalingPath signaling_path = 5;
953
+ */
954
+ signalingPath: ConnectionSignalingPath;
955
+
956
+ /**
957
+ * failure_code is the gRPC status code of a failed dial
958
+ *
959
+ * @generated from field: int32 failure_code = 6;
960
+ */
961
+ failureCode: number;
962
+
963
+ constructor(data?: PartialMessage<ReportConnectionMetadataRequest>);
964
+
965
+ static readonly runtime: typeof proto3;
966
+ static readonly typeName = "proto.rpc.webrtc.v1.ReportConnectionMetadataRequest";
967
+ static readonly fields: FieldList;
968
+
969
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ReportConnectionMetadataRequest;
970
+
971
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ReportConnectionMetadataRequest;
972
+
973
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ReportConnectionMetadataRequest;
974
+
975
+ static equals(a: ReportConnectionMetadataRequest | PlainMessage<ReportConnectionMetadataRequest> | undefined, b: ReportConnectionMetadataRequest | PlainMessage<ReportConnectionMetadataRequest> | undefined): boolean;
976
+ }
977
+
978
+ /**
979
+ * ReportConnectionMetadataResponse is empty.
980
+ *
981
+ * @generated from message proto.rpc.webrtc.v1.ReportConnectionMetadataResponse
982
+ */
983
+ export declare class ReportConnectionMetadataResponse extends Message<ReportConnectionMetadataResponse> {
984
+ constructor(data?: PartialMessage<ReportConnectionMetadataResponse>);
985
+
986
+ static readonly runtime: typeof proto3;
987
+ static readonly typeName = "proto.rpc.webrtc.v1.ReportConnectionMetadataResponse";
988
+ static readonly fields: FieldList;
989
+
990
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ReportConnectionMetadataResponse;
991
+
992
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ReportConnectionMetadataResponse;
993
+
994
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ReportConnectionMetadataResponse;
995
+
996
+ static equals(a: ReportConnectionMetadataResponse | PlainMessage<ReportConnectionMetadataResponse> | undefined, b: ReportConnectionMetadataResponse | PlainMessage<ReportConnectionMetadataResponse> | undefined): boolean;
997
+ }
998
+