@livekit/protocol 1.45.0 → 1.45.2

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.
@@ -400,6 +400,16 @@ export declare class MetricsRecordingHeader extends Message<MetricsRecordingHead
400
400
  */
401
401
  roomTags: { [key: string]: string };
402
402
 
403
+ /**
404
+ * @generated from field: string room_name = 6;
405
+ */
406
+ roomName: string;
407
+
408
+ /**
409
+ * @generated from field: google.protobuf.Timestamp room_start_time = 7;
410
+ */
411
+ roomStartTime?: Timestamp;
412
+
403
413
  constructor(data?: PartialMessage<MetricsRecordingHeader>);
404
414
 
405
415
  static readonly runtime: typeof proto3;
@@ -105,6 +105,8 @@ export const MetricsRecordingHeader = /*@__PURE__*/ proto3.makeMessageType(
105
105
  { no: 3, name: "duration", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
106
106
  { no: 4, name: "start_time", kind: "message", T: Timestamp },
107
107
  { no: 5, name: "room_tags", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
108
+ { no: 6, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
109
+ { no: 7, name: "room_start_time", kind: "message", T: Timestamp },
108
110
  ],
109
111
  );
110
112
 
@@ -477,6 +477,11 @@ export declare enum PacketTrailerFeature {
477
477
  * @generated from enum value: PTF_USER_TIMESTAMP = 0;
478
478
  */
479
479
  PTF_USER_TIMESTAMP = 0,
480
+
481
+ /**
482
+ * @generated from enum value: PTF_FRAME_ID = 1;
483
+ */
484
+ PTF_FRAME_ID = 1,
480
485
  }
481
486
 
482
487
  /**
@@ -222,6 +222,7 @@ export const PacketTrailerFeature = /*@__PURE__*/ proto3.makeEnum(
222
222
  "livekit.PacketTrailerFeature",
223
223
  [
224
224
  {no: 0, name: "PTF_USER_TIMESTAMP"},
225
+ {no: 1, name: "PTF_FRAME_ID"},
225
226
  ],
226
227
  );
227
228
 
@@ -771,6 +771,13 @@ export declare class RoomConfiguration extends Message<RoomConfiguration> {
771
771
  */
772
772
  agents: RoomAgentDispatch[];
773
773
 
774
+ /**
775
+ * Tags to attach to the room
776
+ *
777
+ * @generated from field: map<string, string> tags = 12;
778
+ */
779
+ tags: { [key: string]: string };
780
+
774
781
  constructor(data?: PartialMessage<RoomConfiguration>);
775
782
 
776
783
  static readonly runtime: typeof proto3;
@@ -256,6 +256,7 @@ export const RoomConfiguration = /*@__PURE__*/ proto3.makeMessageType(
256
256
  { no: 8, name: "max_playout_delay", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
257
257
  { no: 9, name: "sync_streams", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
258
258
  { no: 10, name: "agents", kind: "message", T: RoomAgentDispatch, repeated: true },
259
+ { no: 12, name: "tags", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
259
260
  ],
260
261
  );
261
262
 
@@ -17,7 +17,7 @@
17
17
  /* eslint-disable */
18
18
  // @ts-nocheck
19
19
 
20
- import type { Any, BinaryReadOptions, Duration, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
20
+ import type { Any, BinaryReadOptions, Duration, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Timestamp } from "@bufbuild/protobuf";
21
21
  import { Message, proto3 } from "@bufbuild/protobuf";
22
22
  import type { DisconnectReason, ListUpdate, Pagination } from "./livekit_models_pb.js";
23
23
  import type { RoomConfiguration } from "./livekit_room_pb.js";
@@ -1083,6 +1083,16 @@ export declare class SIPInboundTrunkInfo extends Message<SIPInboundTrunkInfo> {
1083
1083
  */
1084
1084
  mediaEncryption: SIPMediaEncryption;
1085
1085
 
1086
+ /**
1087
+ * @generated from field: google.protobuf.Timestamp created_at = 17;
1088
+ */
1089
+ createdAt?: Timestamp;
1090
+
1091
+ /**
1092
+ * @generated from field: google.protobuf.Timestamp updated_at = 18;
1093
+ */
1094
+ updatedAt?: Timestamp;
1095
+
1086
1096
  constructor(data?: PartialMessage<SIPInboundTrunkInfo>);
1087
1097
 
1088
1098
  static readonly runtime: typeof proto3;
@@ -1330,6 +1340,25 @@ export declare class SIPOutboundTrunkInfo extends Message<SIPOutboundTrunkInfo>
1330
1340
  */
1331
1341
  mediaEncryption: SIPMediaEncryption;
1332
1342
 
1343
+ /**
1344
+ * Optional custom hostname for the 'From' SIP header in outbound INVITEs.
1345
+ * When set, outbound calls from this trunk will use this host instead of the default project SIP domain.
1346
+ * Enables originating calls from custom domains.
1347
+ *
1348
+ * @generated from field: string from_host = 15;
1349
+ */
1350
+ fromHost: string;
1351
+
1352
+ /**
1353
+ * @generated from field: google.protobuf.Timestamp created_at = 16;
1354
+ */
1355
+ createdAt?: Timestamp;
1356
+
1357
+ /**
1358
+ * @generated from field: google.protobuf.Timestamp updated_at = 17;
1359
+ */
1360
+ updatedAt?: Timestamp;
1361
+
1333
1362
  constructor(data?: PartialMessage<SIPOutboundTrunkInfo>);
1334
1363
 
1335
1364
  static readonly runtime: typeof proto3;
@@ -1394,6 +1423,11 @@ export declare class SIPOutboundTrunkUpdate extends Message<SIPOutboundTrunkUpda
1394
1423
  */
1395
1424
  mediaEncryption?: SIPMediaEncryption;
1396
1425
 
1426
+ /**
1427
+ * @generated from field: optional string from_host = 10;
1428
+ */
1429
+ fromHost?: string;
1430
+
1397
1431
  constructor(data?: PartialMessage<SIPOutboundTrunkUpdate>);
1398
1432
 
1399
1433
  static readonly runtime: typeof proto3;
@@ -2094,12 +2128,20 @@ export declare class SIPDispatchRuleInfo extends Message<SIPDispatchRuleInfo> {
2094
2128
  krispEnabled: boolean;
2095
2129
 
2096
2130
  /**
2097
- * NEXT ID: 14
2098
- *
2099
2131
  * @generated from field: livekit.SIPMediaEncryption media_encryption = 12;
2100
2132
  */
2101
2133
  mediaEncryption: SIPMediaEncryption;
2102
2134
 
2135
+ /**
2136
+ * @generated from field: google.protobuf.Timestamp created_at = 14;
2137
+ */
2138
+ createdAt?: Timestamp;
2139
+
2140
+ /**
2141
+ * @generated from field: google.protobuf.Timestamp updated_at = 15;
2142
+ */
2143
+ updatedAt?: Timestamp;
2144
+
2103
2145
  constructor(data?: PartialMessage<SIPDispatchRuleInfo>);
2104
2146
 
2105
2147
  static readonly runtime: typeof proto3;
@@ -2307,6 +2349,13 @@ export declare class SIPOutboundConfig extends Message<SIPOutboundConfig> {
2307
2349
  */
2308
2350
  attributesToHeaders: { [key: string]: string };
2309
2351
 
2352
+ /**
2353
+ * Optional custom hostname for the 'From' SIP header. When set, outbound calls use this host instead of the default project SIP domain.
2354
+ *
2355
+ * @generated from field: string from_host = 8;
2356
+ */
2357
+ fromHost: string;
2358
+
2310
2359
  constructor(data?: PartialMessage<SIPOutboundConfig>);
2311
2360
 
2312
2361
  static readonly runtime: typeof proto3;
@@ -17,7 +17,7 @@
17
17
  /* eslint-disable */
18
18
  // @ts-nocheck
19
19
 
20
- import { Any, Duration, proto3 } from "@bufbuild/protobuf";
20
+ import { Any, Duration, proto3, Timestamp } from "@bufbuild/protobuf";
21
21
  import { DisconnectReason, ListUpdate, Pagination } from "./livekit_models_pb.js";
22
22
  import { RoomConfiguration } from "./livekit_room_pb.js";
23
23
 
@@ -331,6 +331,8 @@ export const SIPInboundTrunkInfo = /*@__PURE__*/ proto3.makeMessageType(
331
331
  { no: 12, name: "max_call_duration", kind: "message", T: Duration },
332
332
  { no: 13, name: "krisp_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
333
333
  { no: 16, name: "media_encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption) },
334
+ { no: 17, name: "created_at", kind: "message", T: Timestamp },
335
+ { no: 18, name: "updated_at", kind: "message", T: Timestamp },
334
336
  ],
335
337
  );
336
338
 
@@ -393,6 +395,9 @@ export const SIPOutboundTrunkInfo = /*@__PURE__*/ proto3.makeMessageType(
393
395
  { no: 11, name: "attributes_to_headers", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
394
396
  { no: 12, name: "include_headers", kind: "enum", T: proto3.getEnumType(SIPHeaderOptions) },
395
397
  { no: 13, name: "media_encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption) },
398
+ { no: 15, name: "from_host", kind: "scalar", T: 9 /* ScalarType.STRING */ },
399
+ { no: 16, name: "created_at", kind: "message", T: Timestamp },
400
+ { no: 17, name: "updated_at", kind: "message", T: Timestamp },
396
401
  ],
397
402
  );
398
403
 
@@ -411,6 +416,7 @@ export const SIPOutboundTrunkUpdate = /*@__PURE__*/ proto3.makeMessageType(
411
416
  { no: 6, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
412
417
  { no: 7, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
413
418
  { no: 8, name: "media_encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption), opt: true },
419
+ { no: 10, name: "from_host", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
414
420
  ],
415
421
  );
416
422
 
@@ -631,6 +637,8 @@ export const SIPDispatchRuleInfo = /*@__PURE__*/ proto3.makeMessageType(
631
637
  { no: 10, name: "room_config", kind: "message", T: RoomConfiguration },
632
638
  { no: 11, name: "krisp_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
633
639
  { no: 12, name: "media_encryption", kind: "enum", T: proto3.getEnumType(SIPMediaEncryption) },
640
+ { no: 14, name: "created_at", kind: "message", T: Timestamp },
641
+ { no: 15, name: "updated_at", kind: "message", T: Timestamp },
634
642
  ],
635
643
  );
636
644
 
@@ -696,6 +704,7 @@ export const SIPOutboundConfig = /*@__PURE__*/ proto3.makeMessageType(
696
704
  { no: 4, name: "auth_password", kind: "scalar", T: 9 /* ScalarType.STRING */ },
697
705
  { no: 5, name: "headers_to_attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
698
706
  { no: 6, name: "attributes_to_headers", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
707
+ { no: 8, name: "from_host", kind: "scalar", T: 9 /* ScalarType.STRING */ },
699
708
  ],
700
709
  );
701
710
 
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- export const version = '1.45.0';
2
+ export const version = '1.45.2';