@livekit/protocol 1.20.0 → 1.21.0

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.20.0",
3
+ "version": "1.21.0",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -20,6 +20,7 @@
20
20
  import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
21
21
  import { Message, proto3 } from "@bufbuild/protobuf";
22
22
  import type { ClientInfo, PlayoutDelay, ReconnectReason } from "./livekit_models_pb.js";
23
+ import type { CreateRoomRequest } from "./livekit_room_pb.js";
23
24
  import type { AutoParticipantEgress, AutoTrackEgress } from "./livekit_egress_pb.js";
24
25
  import type { RoomAgentDispatch } from "./livekit_agent_dispatch_pb.js";
25
26
 
@@ -519,6 +520,11 @@ export declare class StartSession extends Message<StartSession> {
519
520
  */
520
521
  disableIceLite: boolean;
521
522
 
523
+ /**
524
+ * @generated from field: livekit.CreateRoomRequest create_room = 20;
525
+ */
526
+ createRoom?: CreateRoomRequest;
527
+
522
528
  constructor(data?: PartialMessage<StartSession>);
523
529
 
524
530
  static readonly runtime: typeof proto3;
@@ -19,6 +19,7 @@
19
19
 
20
20
  import { proto3 } from "@bufbuild/protobuf";
21
21
  import { ClientInfo, PlayoutDelay, ReconnectReason } from "./livekit_models_pb.js";
22
+ import { CreateRoomRequest } from "./livekit_room_pb.js";
22
23
  import { AutoParticipantEgress, AutoTrackEgress } from "./livekit_egress_pb.js";
23
24
  import { RoomAgentDispatch } from "./livekit_agent_dispatch_pb.js";
24
25
 
@@ -156,6 +157,7 @@ export const StartSession = /*@__PURE__*/ proto3.makeMessageType(
156
157
  { no: 17, name: "reconnect_reason", kind: "enum", T: proto3.getEnumType(ReconnectReason) },
157
158
  { no: 18, name: "subscriber_allow_pause", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
158
159
  { no: 19, name: "disable_ice_lite", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
160
+ { no: 20, name: "create_room", kind: "message", T: CreateRoomRequest },
159
161
  ],
160
162
  );
161
163
 
@@ -0,0 +1,216 @@
1
+ // @generated by protoc-gen-es v1.10.0 with parameter "target=js+dts"
2
+ // @generated from file livekit_metrics.proto (package livekit, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+
6
+ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
7
+ import { Message, proto3 } from "@bufbuild/protobuf";
8
+
9
+ /**
10
+ * index from [0; 512] are for predefined labels (`MetricLabel`)
11
+ *
12
+ * @generated from enum livekit.MetricLabel
13
+ */
14
+ export declare enum MetricLabel {
15
+ /**
16
+ * time to first token from LLM
17
+ *
18
+ * @generated from enum value: AGENTS_LLM_TTFT = 0;
19
+ */
20
+ AGENTS_LLM_TTFT = 0,
21
+
22
+ /**
23
+ * time to final transcription
24
+ *
25
+ * @generated from enum value: AGENTS_STT_TTFT = 1;
26
+ */
27
+ AGENTS_STT_TTFT = 1,
28
+
29
+ /**
30
+ * time to first byte
31
+ *
32
+ * @generated from enum value: AGENTS_TTS_TTFB = 2;
33
+ */
34
+ AGENTS_TTS_TTFB = 2,
35
+
36
+ /**
37
+ * @generated from enum value: METRIC_LABEL_MAX_VALUE = 512;
38
+ */
39
+ METRIC_LABEL_MAX_VALUE = 512,
40
+ }
41
+
42
+ /**
43
+ * @generated from message livekit.MetricsBatch
44
+ */
45
+ export declare class MetricsBatch extends Message<MetricsBatch> {
46
+ /**
47
+ * To avoid repeating string values, we store them in a separate list and reference them by index
48
+ * This is useful for storing participant identities, track names, etc.
49
+ * There is also a predefined list of labels that can be used to reference common metrics.
50
+ * They have reserved indices from 0 to 512
51
+ *
52
+ * @generated from field: repeated string str_data = 1;
53
+ */
54
+ strData: string[];
55
+
56
+ /**
57
+ * @generated from field: repeated livekit.TimeSeriesMetric time_series = 2;
58
+ */
59
+ timeSeries: TimeSeriesMetric[];
60
+
61
+ /**
62
+ * @generated from field: repeated livekit.EventMetric events = 3;
63
+ */
64
+ events: EventMetric[];
65
+
66
+ constructor(data?: PartialMessage<MetricsBatch>);
67
+
68
+ static readonly runtime: typeof proto3;
69
+ static readonly typeName = "livekit.MetricsBatch";
70
+ static readonly fields: FieldList;
71
+
72
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MetricsBatch;
73
+
74
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MetricsBatch;
75
+
76
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MetricsBatch;
77
+
78
+ static equals(a: MetricsBatch | PlainMessage<MetricsBatch> | undefined, b: MetricsBatch | PlainMessage<MetricsBatch> | undefined): boolean;
79
+ }
80
+
81
+ /**
82
+ * @generated from message livekit.TimeSeriesMetric
83
+ */
84
+ export declare class TimeSeriesMetric extends Message<TimeSeriesMetric> {
85
+ /**
86
+ * Metric name e.g "speech_probablity". The string value is not directly stored in the message, but referenced by index
87
+ * in the `str_data` field of `MetricsBatch`
88
+ *
89
+ * @generated from field: uint32 label = 1;
90
+ */
91
+ label: number;
92
+
93
+ /**
94
+ * @generated from field: uint32 participant_identity = 2;
95
+ */
96
+ participantIdentity: number;
97
+
98
+ /**
99
+ * @generated from field: uint32 track_sid = 3;
100
+ */
101
+ trackSid: number;
102
+
103
+ /**
104
+ * samples
105
+ *
106
+ * @generated from field: int64 start_timestamp = 4;
107
+ */
108
+ startTimestamp: bigint;
109
+
110
+ /**
111
+ * @generated from field: int64 end_timestamp = 5;
112
+ */
113
+ endTimestamp: bigint;
114
+
115
+ /**
116
+ * list of samples between start_timestamp and end_timestamp
117
+ *
118
+ * @generated from field: repeated livekit.MetricSample samples = 6;
119
+ */
120
+ samples: MetricSample[];
121
+
122
+ constructor(data?: PartialMessage<TimeSeriesMetric>);
123
+
124
+ static readonly runtime: typeof proto3;
125
+ static readonly typeName = "livekit.TimeSeriesMetric";
126
+ static readonly fields: FieldList;
127
+
128
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TimeSeriesMetric;
129
+
130
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TimeSeriesMetric;
131
+
132
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TimeSeriesMetric;
133
+
134
+ static equals(a: TimeSeriesMetric | PlainMessage<TimeSeriesMetric> | undefined, b: TimeSeriesMetric | PlainMessage<TimeSeriesMetric> | undefined): boolean;
135
+ }
136
+
137
+ /**
138
+ * @generated from message livekit.MetricSample
139
+ */
140
+ export declare class MetricSample extends Message<MetricSample> {
141
+ /**
142
+ * @generated from field: int64 timestamp = 1;
143
+ */
144
+ timestamp: bigint;
145
+
146
+ /**
147
+ * @generated from field: float value = 2;
148
+ */
149
+ value: number;
150
+
151
+ constructor(data?: PartialMessage<MetricSample>);
152
+
153
+ static readonly runtime: typeof proto3;
154
+ static readonly typeName = "livekit.MetricSample";
155
+ static readonly fields: FieldList;
156
+
157
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MetricSample;
158
+
159
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MetricSample;
160
+
161
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MetricSample;
162
+
163
+ static equals(a: MetricSample | PlainMessage<MetricSample> | undefined, b: MetricSample | PlainMessage<MetricSample> | undefined): boolean;
164
+ }
165
+
166
+ /**
167
+ * @generated from message livekit.EventMetric
168
+ */
169
+ export declare class EventMetric extends Message<EventMetric> {
170
+ /**
171
+ * @generated from field: uint32 label = 1;
172
+ */
173
+ label: number;
174
+
175
+ /**
176
+ * @generated from field: uint32 participant_identity = 2;
177
+ */
178
+ participantIdentity: number;
179
+
180
+ /**
181
+ * 0 =
182
+ *
183
+ * @generated from field: uint32 track_sid = 3;
184
+ */
185
+ trackSid: number;
186
+
187
+ /**
188
+ * @generated from field: int64 start_timestamp = 4;
189
+ */
190
+ startTimestamp: bigint;
191
+
192
+ /**
193
+ * @generated from field: optional int64 end_timestamp = 5;
194
+ */
195
+ endTimestamp?: bigint;
196
+
197
+ /**
198
+ * @generated from field: string metadata = 6;
199
+ */
200
+ metadata: string;
201
+
202
+ constructor(data?: PartialMessage<EventMetric>);
203
+
204
+ static readonly runtime: typeof proto3;
205
+ static readonly typeName = "livekit.EventMetric";
206
+ static readonly fields: FieldList;
207
+
208
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EventMetric;
209
+
210
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EventMetric;
211
+
212
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EventMetric;
213
+
214
+ static equals(a: EventMetric | PlainMessage<EventMetric> | undefined, b: EventMetric | PlainMessage<EventMetric> | undefined): boolean;
215
+ }
216
+
@@ -0,0 +1,75 @@
1
+ // @generated by protoc-gen-es v1.10.0 with parameter "target=js+dts"
2
+ // @generated from file livekit_metrics.proto (package livekit, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+
6
+ import { proto3 } from "@bufbuild/protobuf";
7
+
8
+ /**
9
+ * index from [0; 512] are for predefined labels (`MetricLabel`)
10
+ *
11
+ * @generated from enum livekit.MetricLabel
12
+ */
13
+ export const MetricLabel = /*@__PURE__*/ proto3.makeEnum(
14
+ "livekit.MetricLabel",
15
+ [
16
+ {no: 0, name: "AGENTS_LLM_TTFT"},
17
+ {no: 1, name: "AGENTS_STT_TTFT"},
18
+ {no: 2, name: "AGENTS_TTS_TTFB"},
19
+ {no: 512, name: "METRIC_LABEL_MAX_VALUE"},
20
+ ],
21
+ );
22
+
23
+ /**
24
+ * @generated from message livekit.MetricsBatch
25
+ */
26
+ export const MetricsBatch = /*@__PURE__*/ proto3.makeMessageType(
27
+ "livekit.MetricsBatch",
28
+ () => [
29
+ { no: 1, name: "str_data", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
30
+ { no: 2, name: "time_series", kind: "message", T: TimeSeriesMetric, repeated: true },
31
+ { no: 3, name: "events", kind: "message", T: EventMetric, repeated: true },
32
+ ],
33
+ );
34
+
35
+ /**
36
+ * @generated from message livekit.TimeSeriesMetric
37
+ */
38
+ export const TimeSeriesMetric = /*@__PURE__*/ proto3.makeMessageType(
39
+ "livekit.TimeSeriesMetric",
40
+ () => [
41
+ { no: 1, name: "label", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
42
+ { no: 2, name: "participant_identity", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
43
+ { no: 3, name: "track_sid", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
44
+ { no: 4, name: "start_timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
45
+ { no: 5, name: "end_timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
46
+ { no: 6, name: "samples", kind: "message", T: MetricSample, repeated: true },
47
+ ],
48
+ );
49
+
50
+ /**
51
+ * @generated from message livekit.MetricSample
52
+ */
53
+ export const MetricSample = /*@__PURE__*/ proto3.makeMessageType(
54
+ "livekit.MetricSample",
55
+ () => [
56
+ { no: 1, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
57
+ { no: 2, name: "value", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
58
+ ],
59
+ );
60
+
61
+ /**
62
+ * @generated from message livekit.EventMetric
63
+ */
64
+ export const EventMetric = /*@__PURE__*/ proto3.makeMessageType(
65
+ "livekit.EventMetric",
66
+ () => [
67
+ { no: 1, name: "label", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
68
+ { no: 2, name: "participant_identity", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
69
+ { no: 3, name: "track_sid", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
70
+ { no: 4, name: "start_timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
71
+ { no: 5, name: "end_timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
72
+ { no: 6, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
73
+ ],
74
+ );
75
+
@@ -19,6 +19,7 @@
19
19
 
20
20
  import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Timestamp } from "@bufbuild/protobuf";
21
21
  import { Message, proto3 } from "@bufbuild/protobuf";
22
+ import type { MetricsBatch } from "./livekit_metrics_pb.js";
22
23
 
23
24
  /**
24
25
  * @generated from enum livekit.AudioCodec
@@ -581,6 +582,13 @@ export declare class ParticipantPermission extends Message<ParticipantPermission
581
582
  */
582
583
  agent: boolean;
583
584
 
585
+ /**
586
+ * if a participant can subscribe to metrics
587
+ *
588
+ * @generated from field: bool can_subscribe_metrics = 12;
589
+ */
590
+ canSubscribeMetrics: boolean;
591
+
584
592
  constructor(data?: PartialMessage<ParticipantPermission>);
585
593
 
586
594
  static readonly runtime: typeof proto3;
@@ -1074,6 +1082,12 @@ export declare class DataPacket extends Message<DataPacket> {
1074
1082
  */
1075
1083
  value: Transcription;
1076
1084
  case: "transcription";
1085
+ } | {
1086
+ /**
1087
+ * @generated from field: livekit.MetricsBatch metrics = 8;
1088
+ */
1089
+ value: MetricsBatch;
1090
+ case: "metrics";
1077
1091
  } | { case: undefined; value?: undefined };
1078
1092
 
1079
1093
  constructor(data?: PartialMessage<DataPacket>);
@@ -1599,6 +1613,16 @@ export declare enum ClientInfo_SDK {
1599
1613
  * @generated from enum value: CPP = 10;
1600
1614
  */
1601
1615
  CPP = 10,
1616
+
1617
+ /**
1618
+ * @generated from enum value: UNITY_WEB = 11;
1619
+ */
1620
+ UNITY_WEB = 11,
1621
+
1622
+ /**
1623
+ * @generated from enum value: NODE = 12;
1624
+ */
1625
+ NODE = 12,
1602
1626
  }
1603
1627
 
1604
1628
  /**
@@ -18,6 +18,7 @@
18
18
  // @ts-nocheck
19
19
 
20
20
  import { proto3, Timestamp } from "@bufbuild/protobuf";
21
+ import { MetricsBatch } from "./livekit_metrics_pb.js";
21
22
 
22
23
  /**
23
24
  * @generated from enum livekit.AudioCodec
@@ -240,6 +241,7 @@ export const ParticipantPermission = /*@__PURE__*/ proto3.makeMessageType(
240
241
  { no: 8, name: "recorder", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
241
242
  { no: 10, name: "can_update_metadata", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
242
243
  { no: 11, name: "agent", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
244
+ { no: 12, name: "can_subscribe_metrics", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
243
245
  ],
244
246
  );
245
247
 
@@ -385,6 +387,7 @@ export const DataPacket = /*@__PURE__*/ proto3.makeMessageType(
385
387
  { no: 3, name: "speaker", kind: "message", T: ActiveSpeakerUpdate, oneof: "value" },
386
388
  { no: 6, name: "sip_dtmf", kind: "message", T: SipDTMF, oneof: "value" },
387
389
  { no: 7, name: "transcription", kind: "message", T: Transcription, oneof: "value" },
390
+ { no: 8, name: "metrics", kind: "message", T: MetricsBatch, oneof: "value" },
388
391
  ],
389
392
  );
390
393
 
@@ -555,6 +558,8 @@ export const ClientInfo_SDK = /*@__PURE__*/ proto3.makeEnum(
555
558
  {no: 8, name: "RUST"},
556
559
  {no: 9, name: "PYTHON"},
557
560
  {no: 10, name: "CPP"},
561
+ {no: 11, name: "UNITY_WEB"},
562
+ {no: 12, name: "NODE"},
558
563
  ],
559
564
  );
560
565
 
@@ -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, ClientConfiguration, ConnectionQuality, DisconnectReason, Encryption_Type, ParticipantInfo, ParticipantTracks, Room, ServerInfo, SpeakerInfo, SubscriptionError, TrackInfo, TrackSource, TrackType, VideoLayer, VideoQuality } from "./livekit_models_pb.js";
22
+ import type { AudioTrackFeature, ClientConfiguration, Codec, ConnectionQuality, DisconnectReason, Encryption_Type, ParticipantInfo, ParticipantTracks, Room, ServerInfo, SpeakerInfo, SubscriptionError, TrackInfo, TrackSource, TrackType, VideoLayer, VideoQuality } from "./livekit_models_pb.js";
23
23
 
24
24
  /**
25
25
  * @generated from enum livekit.SignalTarget
@@ -713,6 +713,18 @@ export declare class JoinResponse extends Message<JoinResponse> {
713
713
  */
714
714
  sifTrailer: Uint8Array;
715
715
 
716
+ /**
717
+ * @generated from field: repeated livekit.Codec enabled_publish_codecs = 14;
718
+ */
719
+ enabledPublishCodecs: Codec[];
720
+
721
+ /**
722
+ * when set, client should attempt to establish publish peer connection when joining room to speed up publishing
723
+ *
724
+ * @generated from field: bool fast_publish = 15;
725
+ */
726
+ fastPublish: boolean;
727
+
716
728
  constructor(data?: PartialMessage<JoinResponse>);
717
729
 
718
730
  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, ClientConfiguration, ConnectionQuality, DisconnectReason, Encryption_Type, ParticipantInfo, ParticipantTracks, Room, ServerInfo, SpeakerInfo, SubscriptionError, TrackInfo, TrackSource, TrackType, VideoLayer, VideoQuality } from "./livekit_models_pb.js";
21
+ import { AudioTrackFeature, ClientConfiguration, Codec, ConnectionQuality, DisconnectReason, Encryption_Type, ParticipantInfo, ParticipantTracks, Room, ServerInfo, SpeakerInfo, SubscriptionError, TrackInfo, TrackSource, TrackType, VideoLayer, VideoQuality } from "./livekit_models_pb.js";
22
22
 
23
23
  /**
24
24
  * @generated from enum livekit.SignalTarget
@@ -188,6 +188,8 @@ export const JoinResponse = /*@__PURE__*/ proto3.makeMessageType(
188
188
  { no: 11, name: "ping_interval", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
189
189
  { no: 12, name: "server_info", kind: "message", T: ServerInfo },
190
190
  { no: 13, name: "sif_trailer", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
191
+ { no: 14, name: "enabled_publish_codecs", kind: "message", T: Codec, repeated: true },
192
+ { no: 15, name: "fast_publish", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
191
193
  ],
192
194
  );
193
195
 
@@ -691,6 +691,46 @@ export declare class SIPDispatchRuleIndividual extends Message<SIPDispatchRuleIn
691
691
  static equals(a: SIPDispatchRuleIndividual | PlainMessage<SIPDispatchRuleIndividual> | undefined, b: SIPDispatchRuleIndividual | PlainMessage<SIPDispatchRuleIndividual> | undefined): boolean;
692
692
  }
693
693
 
694
+ /**
695
+ * @generated from message livekit.SIPDispatchRuleCallee
696
+ */
697
+ export declare class SIPDispatchRuleCallee extends Message<SIPDispatchRuleCallee> {
698
+ /**
699
+ * Prefix used on new room name
700
+ *
701
+ * @generated from field: string room_prefix = 1;
702
+ */
703
+ roomPrefix: string;
704
+
705
+ /**
706
+ * Optional pin required to enter room
707
+ *
708
+ * @generated from field: string pin = 2;
709
+ */
710
+ pin: string;
711
+
712
+ /**
713
+ * Optionally append random suffix
714
+ *
715
+ * @generated from field: bool randomize = 3;
716
+ */
717
+ randomize: boolean;
718
+
719
+ constructor(data?: PartialMessage<SIPDispatchRuleCallee>);
720
+
721
+ static readonly runtime: typeof proto3;
722
+ static readonly typeName = "livekit.SIPDispatchRuleCallee";
723
+ static readonly fields: FieldList;
724
+
725
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SIPDispatchRuleCallee;
726
+
727
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SIPDispatchRuleCallee;
728
+
729
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SIPDispatchRuleCallee;
730
+
731
+ static equals(a: SIPDispatchRuleCallee | PlainMessage<SIPDispatchRuleCallee> | undefined, b: SIPDispatchRuleCallee | PlainMessage<SIPDispatchRuleCallee> | undefined): boolean;
732
+ }
733
+
694
734
  /**
695
735
  * @generated from message livekit.SIPDispatchRule
696
736
  */
@@ -716,6 +756,14 @@ export declare class SIPDispatchRule extends Message<SIPDispatchRule> {
716
756
  */
717
757
  value: SIPDispatchRuleIndividual;
718
758
  case: "dispatchRuleIndividual";
759
+ } | {
760
+ /**
761
+ * SIPDispatchRuleCallee is a `SIP Dispatch Rule` that creates a new room for each callee.
762
+ *
763
+ * @generated from field: livekit.SIPDispatchRuleCallee dispatch_rule_callee = 3;
764
+ */
765
+ value: SIPDispatchRuleCallee;
766
+ case: "dispatchRuleCallee";
719
767
  } | { case: undefined; value?: undefined };
720
768
 
721
769
  constructor(data?: PartialMessage<SIPDispatchRule>);
@@ -231,6 +231,18 @@ export const SIPDispatchRuleIndividual = /*@__PURE__*/ proto3.makeMessageType(
231
231
  ],
232
232
  );
233
233
 
234
+ /**
235
+ * @generated from message livekit.SIPDispatchRuleCallee
236
+ */
237
+ export const SIPDispatchRuleCallee = /*@__PURE__*/ proto3.makeMessageType(
238
+ "livekit.SIPDispatchRuleCallee",
239
+ () => [
240
+ { no: 1, name: "room_prefix", kind: "scalar", T: 9 /* ScalarType.STRING */ },
241
+ { no: 2, name: "pin", kind: "scalar", T: 9 /* ScalarType.STRING */ },
242
+ { no: 3, name: "randomize", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
243
+ ],
244
+ );
245
+
234
246
  /**
235
247
  * @generated from message livekit.SIPDispatchRule
236
248
  */
@@ -239,6 +251,7 @@ export const SIPDispatchRule = /*@__PURE__*/ proto3.makeMessageType(
239
251
  () => [
240
252
  { no: 1, name: "dispatch_rule_direct", kind: "message", T: SIPDispatchRuleDirect, oneof: "rule" },
241
253
  { no: 2, name: "dispatch_rule_individual", kind: "message", T: SIPDispatchRuleIndividual, oneof: "rule" },
254
+ { no: 3, name: "dispatch_rule_callee", kind: "message", T: SIPDispatchRuleCallee, oneof: "rule" },
242
255
  ],
243
256
  );
244
257
 
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- export const version = '1.20.0';
2
+ export const version = '1.21.0';