@livekit/protocol 1.45.3 → 1.45.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livekit/protocol",
3
- "version": "1.45.3",
3
+ "version": "1.45.4",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "require": "dist/index.cjs",
@@ -140,6 +140,55 @@ export declare class MetricsReport extends Message<MetricsReport> {
140
140
  static equals(a: MetricsReport | PlainMessage<MetricsReport> | undefined, b: MetricsReport | PlainMessage<MetricsReport> | undefined): boolean;
141
141
  }
142
142
 
143
+ /**
144
+ * @generated from message livekit.agent.TimedString
145
+ */
146
+ export declare class TimedString extends Message<TimedString> {
147
+ /**
148
+ * @generated from field: string text = 1;
149
+ */
150
+ text: string;
151
+
152
+ /**
153
+ * @generated from field: optional double start_time = 2;
154
+ */
155
+ startTime?: number;
156
+
157
+ /**
158
+ * @generated from field: optional double end_time = 3;
159
+ */
160
+ endTime?: number;
161
+
162
+ /**
163
+ * @generated from field: optional double confidence = 4;
164
+ */
165
+ confidence?: number;
166
+
167
+ /**
168
+ * @generated from field: optional double start_time_offset = 5;
169
+ */
170
+ startTimeOffset?: number;
171
+
172
+ /**
173
+ * @generated from field: optional string speaker_id = 6;
174
+ */
175
+ speakerId?: string;
176
+
177
+ constructor(data?: PartialMessage<TimedString>);
178
+
179
+ static readonly runtime: typeof proto3;
180
+ static readonly typeName = "livekit.agent.TimedString";
181
+ static readonly fields: FieldList;
182
+
183
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TimedString;
184
+
185
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TimedString;
186
+
187
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TimedString;
188
+
189
+ static equals(a: TimedString | PlainMessage<TimedString> | undefined, b: TimedString | PlainMessage<TimedString> | undefined): boolean;
190
+ }
191
+
143
192
  /**
144
193
  * @generated from message livekit.agent.ChatMessage
145
194
  */
@@ -61,6 +61,21 @@ export const MetricsReport = /*@__PURE__*/ proto3.makeMessageType(
61
61
  ],
62
62
  );
63
63
 
64
+ /**
65
+ * @generated from message livekit.agent.TimedString
66
+ */
67
+ export const TimedString = /*@__PURE__*/ proto3.makeMessageType(
68
+ "livekit.agent.TimedString",
69
+ () => [
70
+ { no: 1, name: "text", kind: "scalar", T: 9 /* ScalarType.STRING */ },
71
+ { no: 2, name: "start_time", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
72
+ { no: 3, name: "end_time", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
73
+ { no: 4, name: "confidence", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
74
+ { no: 5, name: "start_time_offset", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
75
+ { no: 6, name: "speaker_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
76
+ ],
77
+ );
78
+
64
79
  /**
65
80
  * @generated from message livekit.agent.ChatMessage
66
81
  */
@@ -1182,6 +1182,11 @@ export declare class PrivateLink extends Message<PrivateLink> {
1182
1182
  */
1183
1183
  connectionEndpoint: string;
1184
1184
 
1185
+ /**
1186
+ * @generated from field: string cloud_region = 8;
1187
+ */
1188
+ cloudRegion: string;
1189
+
1185
1190
  /**
1186
1191
  * @generated from oneof livekit.PrivateLink.config
1187
1192
  */
@@ -1329,6 +1334,11 @@ export declare class CreatePrivateLinkRequest extends Message<CreatePrivateLinkR
1329
1334
  */
1330
1335
  endpoint: string;
1331
1336
 
1337
+ /**
1338
+ * @generated from field: optional string cloud_region = 6;
1339
+ */
1340
+ cloudRegion?: string;
1341
+
1332
1342
  /**
1333
1343
  * @generated from oneof livekit.CreatePrivateLinkRequest.config
1334
1344
  */
@@ -420,6 +420,7 @@ export const PrivateLink = /*@__PURE__*/ proto3.makeMessageType(
420
420
  { no: 5, name: "port", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
421
421
  { no: 6, name: "endpoint", kind: "scalar", T: 9 /* ScalarType.STRING */ },
422
422
  { no: 7, name: "connection_endpoint", kind: "scalar", T: 9 /* ScalarType.STRING */ },
423
+ { no: 8, name: "cloud_region", kind: "scalar", T: 9 /* ScalarType.STRING */ },
423
424
  { no: 3, name: "aws", kind: "message", T: PrivateLink_AWSConfig, oneof: "config" },
424
425
  ],
425
426
  );
@@ -472,6 +473,7 @@ export const CreatePrivateLinkRequest = /*@__PURE__*/ proto3.makeMessageType(
472
473
  { no: 3, name: "region", kind: "scalar", T: 9 /* ScalarType.STRING */ },
473
474
  { no: 4, name: "port", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
474
475
  { no: 5, name: "endpoint", kind: "scalar", T: 9 /* ScalarType.STRING */ },
476
+ { no: 6, name: "cloud_region", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
475
477
  { no: 2, name: "aws", kind: "message", T: CreatePrivateLinkRequest_AWSCreateConfig, oneof: "config" },
476
478
  ],
477
479
  );
@@ -807,6 +807,16 @@ export declare class RoomInternal extends Message<RoomInternal> {
807
807
  */
808
808
  replayEnabled: boolean;
809
809
 
810
+ /**
811
+ * @generated from field: bool export_room = 7;
812
+ */
813
+ exportRoom: boolean;
814
+
815
+ /**
816
+ * @generated from field: map<string, string> tags = 8;
817
+ */
818
+ tags: { [key: string]: string };
819
+
810
820
  constructor(data?: PartialMessage<RoomInternal>);
811
821
 
812
822
  static readonly runtime: typeof proto3;
@@ -225,6 +225,8 @@ export const RoomInternal = /*@__PURE__*/ proto3.makeMessageType(
225
225
  { no: 5, name: "agent_dispatches", kind: "message", T: RoomAgentDispatch, repeated: true },
226
226
  { no: 4, name: "sync_streams", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
227
227
  { no: 6, name: "replay_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
228
+ { no: 7, name: "export_room", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
229
+ { no: 8, name: "tags", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
228
230
  ],
229
231
  );
230
232
 
@@ -76,6 +76,13 @@ export declare class CreateRoomRequest extends Message<CreateRoomRequest> {
76
76
  */
77
77
  metadata: string;
78
78
 
79
+ /**
80
+ * search tags
81
+ *
82
+ * @generated from field: map<string, string> tags = 15;
83
+ */
84
+ tags: { [key: string]: string };
85
+
79
86
  /**
80
87
  * auto-egress configurations
81
88
  *
@@ -113,8 +120,6 @@ export declare class CreateRoomRequest extends Message<CreateRoomRequest> {
113
120
  /**
114
121
  * Define agents that should be dispatched to this room
115
122
  *
116
- * NEXT-ID: 15
117
- *
118
123
  * @generated from field: repeated livekit.RoomAgentDispatch agents = 14;
119
124
  */
120
125
  agents: RoomAgentDispatch[];
@@ -35,6 +35,7 @@ export const CreateRoomRequest = /*@__PURE__*/ proto3.makeMessageType(
35
35
  { no: 3, name: "max_participants", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
36
36
  { no: 4, name: "node_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
37
37
  { no: 5, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
38
+ { no: 15, name: "tags", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
38
39
  { no: 6, name: "egress", kind: "message", T: RoomEgress },
39
40
  { no: 7, name: "min_playout_delay", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
40
41
  { no: 8, name: "max_playout_delay", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- export const version = '1.45.3';
2
+ export const version = '1.45.4';
package/src/index.d.ts CHANGED
@@ -1,7 +1,9 @@
1
- export { protoInt64 } from "@bufbuild/protobuf";
1
+ import { protoInt64, Timestamp } from "@bufbuild/protobuf";
2
+ export { protoInt64, Timestamp };
2
3
  export * as AgentSession from "./gen/agent/livekit_agent_session_pb.js";
3
4
  export * from "./gen/livekit_agent_dispatch_pb.js";
4
5
  export * from "./gen/livekit_agent_pb.js";
6
+ export * from "./gen/livekit_analytics_pb.js";
5
7
  export * from "./gen/livekit_connector_pb.js";
6
8
  export * from "./gen/livekit_connector_twilio_pb.js";
7
9
  export * from "./gen/livekit_connector_whatsapp_pb.js";
package/src/index.js CHANGED
@@ -1,8 +1,10 @@
1
1
  // @ts-check
2
- export { protoInt64 } from "@bufbuild/protobuf";
2
+ import { protoInt64, Timestamp } from "@bufbuild/protobuf";
3
+ export { protoInt64, Timestamp };
3
4
  export * as AgentSession from "./gen/agent/livekit_agent_session_pb.js";
4
5
  export * from "./gen/livekit_agent_dispatch_pb.js";
5
6
  export * from "./gen/livekit_agent_pb.js";
7
+ export * from "./gen/livekit_analytics_pb.js";
6
8
  export * from "./gen/livekit_connector_pb.js";
7
9
  export * from "./gen/livekit_connector_twilio_pb.js";
8
10
  export * from "./gen/livekit_connector_whatsapp_pb.js";