@livekit/protocol 1.27.0 → 1.27.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livekit/protocol",
3
- "version": "1.27.0",
3
+ "version": "1.27.1",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -77,6 +77,13 @@ export declare enum SIPCallStatus {
77
77
  * @generated from enum value: SCS_DISCONNECTED = 3;
78
78
  */
79
79
  SCS_DISCONNECTED = 3,
80
+
81
+ /**
82
+ * Call has ended or never succeeded because of an error
83
+ *
84
+ * @generated from enum value: SCS_ERROR = 4;
85
+ */
86
+ SCS_ERROR = 4,
80
87
  }
81
88
 
82
89
  /**
@@ -1265,6 +1272,15 @@ export declare class CreateSIPParticipantRequest extends Message<CreateSIPPartic
1265
1272
  */
1266
1273
  maxCallDuration?: Duration;
1267
1274
 
1275
+ /**
1276
+ * Enable voice isolation for the callee.
1277
+ *
1278
+ * NEXT ID: 15
1279
+ *
1280
+ * @generated from field: bool enable_krisp = 14;
1281
+ */
1282
+ enableKrisp: boolean;
1283
+
1268
1284
  constructor(data?: PartialMessage<CreateSIPParticipantRequest>);
1269
1285
 
1270
1286
  static readonly runtime: typeof proto3;
@@ -1407,20 +1423,30 @@ export declare class SIPCallInfo extends Message<SIPCallInfo> {
1407
1423
  callStatus: SIPCallStatus;
1408
1424
 
1409
1425
  /**
1410
- * @generated from field: int64 started_at = 9;
1426
+ * @generated from field: int64 created_at = 9;
1427
+ */
1428
+ createdAt: bigint;
1429
+
1430
+ /**
1431
+ * @generated from field: int64 started_at = 10;
1411
1432
  */
1412
1433
  startedAt: bigint;
1413
1434
 
1414
1435
  /**
1415
- * @generated from field: int64 ended_at = 10;
1436
+ * @generated from field: int64 ended_at = 11;
1416
1437
  */
1417
1438
  endedAt: bigint;
1418
1439
 
1419
1440
  /**
1420
- * @generated from field: livekit.DisconnectReason disconnect_reason = 11;
1441
+ * @generated from field: livekit.DisconnectReason disconnect_reason = 12;
1421
1442
  */
1422
1443
  disconnectReason: DisconnectReason;
1423
1444
 
1445
+ /**
1446
+ * @generated from field: string error = 13;
1447
+ */
1448
+ error: string;
1449
+
1424
1450
  constructor(data?: PartialMessage<SIPCallInfo>);
1425
1451
 
1426
1452
  static readonly runtime: typeof proto3;
@@ -43,6 +43,7 @@ export const SIPCallStatus = /*@__PURE__*/ proto3.makeEnum(
43
43
  {no: 1, name: "SCS_PARTICIPANT_JOINED"},
44
44
  {no: 2, name: "SCS_ACTIVE"},
45
45
  {no: 3, name: "SCS_DISCONNECTED"},
46
+ {no: 4, name: "SCS_ERROR"},
46
47
  ],
47
48
  );
48
49
 
@@ -399,6 +400,7 @@ export const CreateSIPParticipantRequest = /*@__PURE__*/ proto3.makeMessageType(
399
400
  { no: 10, name: "hide_phone_number", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
400
401
  { no: 11, name: "ringing_timeout", kind: "message", T: Duration },
401
402
  { no: 12, name: "max_call_duration", kind: "message", T: Duration },
403
+ { no: 14, name: "enable_krisp", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
402
404
  ],
403
405
  );
404
406
 
@@ -442,9 +444,11 @@ export const SIPCallInfo = /*@__PURE__*/ proto3.makeMessageType(
442
444
  { no: 6, name: "from_uri", kind: "message", T: SIPUri },
443
445
  { no: 7, name: "to_uri", kind: "message", T: SIPUri },
444
446
  { no: 8, name: "call_status", kind: "enum", T: proto3.getEnumType(SIPCallStatus) },
445
- { no: 9, name: "started_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
446
- { no: 10, name: "ended_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
447
- { no: 11, name: "disconnect_reason", kind: "enum", T: proto3.getEnumType(DisconnectReason) },
447
+ { no: 9, name: "created_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
448
+ { no: 10, name: "started_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
449
+ { no: 11, name: "ended_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
450
+ { no: 12, name: "disconnect_reason", kind: "enum", T: proto3.getEnumType(DisconnectReason) },
451
+ { no: 13, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */ },
448
452
  ],
449
453
  );
450
454
 
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- export const version = '1.27.0';
2
+ export const version = '1.27.1';
package/src/index.d.ts CHANGED
@@ -1,11 +1,12 @@
1
- export * from "./gen/version.js";
2
- export * from "./gen/livekit_room_pb.js";
1
+ export { protoInt64 } from "@bufbuild/protobuf";
2
+ export * from "./gen/livekit_agent_dispatch_pb.js";
3
3
  export * from "./gen/livekit_agent_pb.js";
4
- export * from "./gen/livekit_models_pb.js";
5
- export * from "./gen/livekit_rtc_pb.js";
6
- export * from "./gen/livekit_webhook_pb.js";
7
4
  export * from "./gen/livekit_egress_pb.js";
8
5
  export * from "./gen/livekit_ingress_pb.js";
9
- export * from "./gen/livekit_sip_pb.js";
10
6
  export * from "./gen/livekit_metrics_pb.js";
11
- export { protoInt64 } from "@bufbuild/protobuf";
7
+ export * from "./gen/livekit_models_pb.js";
8
+ export * from "./gen/livekit_room_pb.js";
9
+ export * from "./gen/livekit_rtc_pb.js";
10
+ export * from "./gen/livekit_sip_pb.js";
11
+ export * from "./gen/livekit_webhook_pb.js";
12
+ export * from "./gen/version.js";