@livekit/protocol 1.44.1 → 1.45.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.
@@ -17,7 +17,7 @@
17
17
  /* eslint-disable */
18
18
  // @ts-nocheck
19
19
 
20
- import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
20
+ import type { BinaryReadOptions, Duration, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
21
21
  import { Message, proto3 } from "@bufbuild/protobuf";
22
22
  import type { RoomAgentDispatch } from "./livekit_agent_dispatch_pb.js";
23
23
  import type { SessionDescription } from "./livekit_rtc_pb.js";
@@ -122,12 +122,17 @@ export declare class DialWhatsAppCallRequest extends Message<DialWhatsAppCallReq
122
122
  /**
123
123
  * Optional - Country where the call terminates as ISO 3166-1 alpha-2 (https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). This will be used by the livekit infrastructure to route calls.
124
124
  *
125
- * Next - 13
126
- *
127
125
  * @generated from field: string destination_country = 11;
128
126
  */
129
127
  destinationCountry: string;
130
128
 
129
+ /**
130
+ * Max time for the callee to answer the call.
131
+ *
132
+ * @generated from field: google.protobuf.Duration ringing_timeout = 13;
133
+ */
134
+ ringingTimeout?: Duration;
135
+
131
136
  constructor(data?: PartialMessage<DialWhatsAppCallRequest>);
132
137
 
133
138
  static readonly runtime: typeof proto3;
@@ -406,12 +411,24 @@ export declare class AcceptWhatsAppCallRequest extends Message<AcceptWhatsAppCal
406
411
  /**
407
412
  * Optional - Country where the call terminates as ISO 3166-1 alpha-2 (https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). This will be used by the livekit infrastructure to route calls.
408
413
  *
409
- * Next - 14
410
- *
411
414
  * @generated from field: string destination_country = 12;
412
415
  */
413
416
  destinationCountry: string;
414
417
 
418
+ /**
419
+ * Max time for the callee to answer the call.
420
+ *
421
+ * @generated from field: google.protobuf.Duration ringing_timeout = 14;
422
+ */
423
+ ringingTimeout?: Duration;
424
+
425
+ /**
426
+ * Wait for the answer for the call before returning.
427
+ *
428
+ * @generated from field: bool wait_until_answered = 15;
429
+ */
430
+ waitUntilAnswered: boolean;
431
+
415
432
  constructor(data?: PartialMessage<AcceptWhatsAppCallRequest>);
416
433
 
417
434
  static readonly runtime: typeof proto3;
@@ -17,7 +17,7 @@
17
17
  /* eslint-disable */
18
18
  // @ts-nocheck
19
19
 
20
- import { proto3 } from "@bufbuild/protobuf";
20
+ import { Duration, proto3 } from "@bufbuild/protobuf";
21
21
  import { RoomAgentDispatch } from "./livekit_agent_dispatch_pb.js";
22
22
  import { SessionDescription } from "./livekit_rtc_pb.js";
23
23
 
@@ -50,6 +50,7 @@ export const DialWhatsAppCallRequest = /*@__PURE__*/ proto3.makeMessageType(
50
50
  { no: 9, name: "participant_metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
51
51
  { no: 10, name: "participant_attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
52
52
  { no: 11, name: "destination_country", kind: "scalar", T: 9 /* ScalarType.STRING */ },
53
+ { no: 13, name: "ringing_timeout", kind: "message", T: Duration },
53
54
  ],
54
55
  );
55
56
 
@@ -133,6 +134,8 @@ export const AcceptWhatsAppCallRequest = /*@__PURE__*/ proto3.makeMessageType(
133
134
  { no: 10, name: "participant_metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
134
135
  { no: 11, name: "participant_attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
135
136
  { no: 12, name: "destination_country", kind: "scalar", T: 9 /* ScalarType.STRING */ },
137
+ { no: 14, name: "ringing_timeout", kind: "message", T: Duration },
138
+ { no: 15, name: "wait_until_answered", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
136
139
  ],
137
140
  );
138
141
 
@@ -368,6 +368,13 @@ export declare enum DisconnectReason {
368
368
  * @generated from enum value: MEDIA_FAILURE = 15;
369
369
  */
370
370
  MEDIA_FAILURE = 15,
371
+
372
+ /**
373
+ * agent encountered an error
374
+ *
375
+ * @generated from enum value: AGENT_ERROR = 16;
376
+ */
377
+ AGENT_ERROR = 16,
371
378
  }
372
379
 
373
380
  /**
@@ -462,6 +469,16 @@ export declare enum AudioTrackFeature {
462
469
  TF_PRECONNECT_BUFFER = 6,
463
470
  }
464
471
 
472
+ /**
473
+ * @generated from enum livekit.PacketTrailerFeature
474
+ */
475
+ export declare enum PacketTrailerFeature {
476
+ /**
477
+ * @generated from enum value: PTF_USER_TIMESTAMP = 0;
478
+ */
479
+ PTF_USER_TIMESTAMP = 0,
480
+ }
481
+
465
482
  /**
466
483
  * @generated from message livekit.Pagination
467
484
  */
@@ -1274,6 +1291,11 @@ export declare class TrackInfo extends Message<TrackInfo> {
1274
1291
  */
1275
1292
  backupCodecPolicy: BackupCodecPolicy;
1276
1293
 
1294
+ /**
1295
+ * @generated from field: repeated livekit.PacketTrailerFeature packet_trailer_features = 21;
1296
+ */
1297
+ packetTrailerFeatures: PacketTrailerFeature[];
1298
+
1277
1299
  constructor(data?: PartialMessage<TrackInfo>);
1278
1300
 
1279
1301
  static readonly runtime: typeof proto3;
@@ -169,6 +169,7 @@ export const DisconnectReason = /*@__PURE__*/ proto3.makeEnum(
169
169
  {no: 13, name: "SIP_TRUNK_FAILURE"},
170
170
  {no: 14, name: "CONNECTION_TIMEOUT"},
171
171
  {no: 15, name: "MEDIA_FAILURE"},
172
+ {no: 16, name: "AGENT_ERROR"},
172
173
  ],
173
174
  );
174
175
 
@@ -214,6 +215,16 @@ export const AudioTrackFeature = /*@__PURE__*/ proto3.makeEnum(
214
215
  ],
215
216
  );
216
217
 
218
+ /**
219
+ * @generated from enum livekit.PacketTrailerFeature
220
+ */
221
+ export const PacketTrailerFeature = /*@__PURE__*/ proto3.makeEnum(
222
+ "livekit.PacketTrailerFeature",
223
+ [
224
+ {no: 0, name: "PTF_USER_TIMESTAMP"},
225
+ ],
226
+ );
227
+
217
228
  /**
218
229
  * @generated from message livekit.Pagination
219
230
  */
@@ -446,6 +457,7 @@ export const TrackInfo = /*@__PURE__*/ proto3.makeMessageType(
446
457
  { no: 18, name: "version", kind: "message", T: TimedVersion },
447
458
  { no: 19, name: "audio_features", kind: "enum", T: proto3.getEnumType(AudioTrackFeature), repeated: true },
448
459
  { no: 20, name: "backup_codec_policy", kind: "enum", T: proto3.getEnumType(BackupCodecPolicy) },
460
+ { no: 21, name: "packet_trailer_features", kind: "enum", T: proto3.getEnumType(PacketTrailerFeature), repeated: true },
449
461
  ],
450
462
  );
451
463
 
@@ -19,7 +19,7 @@
19
19
 
20
20
  import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
21
21
  import { Message, proto3 } from "@bufbuild/protobuf";
22
- import type { AudioTrackFeature, BackupCodecPolicy, ClientConfiguration, ClientInfo, Codec, ConnectionQuality, DataTrackInfo, DataTrackSubscriptionOptions, DisconnectReason, Encryption_Type, ParticipantInfo, ParticipantTracks, ReconnectReason, Room, ServerInfo, SpeakerInfo, SubscribedAudioCodec, SubscriptionError, TrackInfo, TrackSource, TrackType, VideoLayer, VideoLayer_Mode, VideoQuality } from "./livekit_models_pb.js";
22
+ import type { AudioTrackFeature, BackupCodecPolicy, ClientConfiguration, ClientInfo, Codec, ConnectionQuality, DataTrackInfo, DataTrackSubscriptionOptions, DisconnectReason, Encryption_Type, PacketTrailerFeature, ParticipantInfo, ParticipantTracks, ReconnectReason, Room, ServerInfo, SpeakerInfo, SubscribedAudioCodec, SubscriptionError, TrackInfo, TrackSource, TrackType, VideoLayer, VideoLayer_Mode, VideoQuality } from "./livekit_models_pb.js";
23
23
 
24
24
  /**
25
25
  * @generated from enum livekit.SignalTarget
@@ -651,6 +651,11 @@ export declare class AddTrackRequest extends Message<AddTrackRequest> {
651
651
  */
652
652
  audioFeatures: AudioTrackFeature[];
653
653
 
654
+ /**
655
+ * @generated from field: repeated livekit.PacketTrailerFeature packet_trailer_features = 18;
656
+ */
657
+ packetTrailerFeatures: PacketTrailerFeature[];
658
+
654
659
  constructor(data?: PartialMessage<AddTrackRequest>);
655
660
 
656
661
  static readonly runtime: typeof proto3;
@@ -18,7 +18,7 @@
18
18
  // @ts-nocheck
19
19
 
20
20
  import { proto3 } from "@bufbuild/protobuf";
21
- import { AudioTrackFeature, BackupCodecPolicy, ClientConfiguration, ClientInfo, Codec, ConnectionQuality, DataTrackInfo, DataTrackSubscriptionOptions, DisconnectReason, Encryption_Type, ParticipantInfo, ParticipantTracks, ReconnectReason, Room, ServerInfo, SpeakerInfo, SubscribedAudioCodec, SubscriptionError, TrackInfo, TrackSource, TrackType, VideoLayer, VideoLayer_Mode, VideoQuality } from "./livekit_models_pb.js";
21
+ import { AudioTrackFeature, BackupCodecPolicy, ClientConfiguration, ClientInfo, Codec, ConnectionQuality, DataTrackInfo, DataTrackSubscriptionOptions, DisconnectReason, Encryption_Type, PacketTrailerFeature, ParticipantInfo, ParticipantTracks, ReconnectReason, Room, ServerInfo, SpeakerInfo, SubscribedAudioCodec, SubscriptionError, TrackInfo, TrackSource, TrackType, VideoLayer, VideoLayer_Mode, VideoQuality } from "./livekit_models_pb.js";
22
22
 
23
23
  /**
24
24
  * @generated from enum livekit.SignalTarget
@@ -156,6 +156,7 @@ export const AddTrackRequest = /*@__PURE__*/ proto3.makeMessageType(
156
156
  { no: 15, name: "stream", kind: "scalar", T: 9 /* ScalarType.STRING */ },
157
157
  { no: 16, name: "backup_codec_policy", kind: "enum", T: proto3.getEnumType(BackupCodecPolicy) },
158
158
  { no: 17, name: "audio_features", kind: "enum", T: proto3.getEnumType(AudioTrackFeature), repeated: true },
159
+ { no: 18, name: "packet_trailer_features", kind: "enum", T: proto3.getEnumType(PacketTrailerFeature), repeated: true },
159
160
  ],
160
161
  );
161
162
 
@@ -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;
@@ -1760,6 +1794,13 @@ export declare class SIPDispatchRuleIndividual extends Message<SIPDispatchRuleIn
1760
1794
  */
1761
1795
  pin: string;
1762
1796
 
1797
+ /**
1798
+ * Optionally append random suffix
1799
+ *
1800
+ * @generated from field: bool no_randomness = 3;
1801
+ */
1802
+ noRandomness: boolean;
1803
+
1763
1804
  constructor(data?: PartialMessage<SIPDispatchRuleIndividual>);
1764
1805
 
1765
1806
  static readonly runtime: typeof proto3;
@@ -2087,12 +2128,20 @@ export declare class SIPDispatchRuleInfo extends Message<SIPDispatchRuleInfo> {
2087
2128
  krispEnabled: boolean;
2088
2129
 
2089
2130
  /**
2090
- * NEXT ID: 14
2091
- *
2092
2131
  * @generated from field: livekit.SIPMediaEncryption media_encryption = 12;
2093
2132
  */
2094
2133
  mediaEncryption: SIPMediaEncryption;
2095
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
+
2096
2145
  constructor(data?: PartialMessage<SIPDispatchRuleInfo>);
2097
2146
 
2098
2147
  static readonly runtime: typeof proto3;
@@ -2300,6 +2349,13 @@ export declare class SIPOutboundConfig extends Message<SIPOutboundConfig> {
2300
2349
  */
2301
2350
  attributesToHeaders: { [key: string]: string };
2302
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
+
2303
2359
  constructor(data?: PartialMessage<SIPOutboundConfig>);
2304
2360
 
2305
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
 
@@ -553,6 +559,7 @@ export const SIPDispatchRuleIndividual = /*@__PURE__*/ proto3.makeMessageType(
553
559
  () => [
554
560
  { no: 1, name: "room_prefix", kind: "scalar", T: 9 /* ScalarType.STRING */ },
555
561
  { no: 2, name: "pin", kind: "scalar", T: 9 /* ScalarType.STRING */ },
562
+ { no: 3, name: "no_randomness", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
556
563
  ],
557
564
  );
558
565
 
@@ -630,6 +637,8 @@ export const SIPDispatchRuleInfo = /*@__PURE__*/ proto3.makeMessageType(
630
637
  { no: 10, name: "room_config", kind: "message", T: RoomConfiguration },
631
638
  { no: 11, name: "krisp_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
632
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 },
633
642
  ],
634
643
  );
635
644
 
@@ -695,6 +704,7 @@ export const SIPOutboundConfig = /*@__PURE__*/ proto3.makeMessageType(
695
704
  { no: 4, name: "auth_password", kind: "scalar", T: 9 /* ScalarType.STRING */ },
696
705
  { no: 5, name: "headers_to_attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
697
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 */ },
698
708
  ],
699
709
  );
700
710
 
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- export const version = '1.44.1';
2
+ export const version = '1.45.1';