@livekit/protocol 1.34.0 → 1.36.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/dist/index.d.ts CHANGED
@@ -815,6 +815,34 @@ declare class Pagination extends Message<Pagination> {
815
815
  static equals(a: Pagination | PlainMessage<Pagination> | undefined, b: Pagination | PlainMessage<Pagination> | undefined): boolean;
816
816
  }
817
817
 
818
+ /**
819
+ * ListUpdate is used for updated APIs where 'repeated string' field is modified.
820
+ *
821
+ * @generated from message livekit.ListUpdate
822
+ */
823
+ declare class ListUpdate extends Message<ListUpdate> {
824
+ /**
825
+ * set the field to a new list
826
+ *
827
+ * @generated from field: repeated string set = 1;
828
+ */
829
+ set: string[];
830
+
831
+ constructor(data?: PartialMessage<ListUpdate>);
832
+
833
+ static readonly runtime: typeof proto3;
834
+ static readonly typeName = "livekit.ListUpdate";
835
+ static readonly fields: FieldList;
836
+
837
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListUpdate;
838
+
839
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListUpdate;
840
+
841
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListUpdate;
842
+
843
+ static equals(a: ListUpdate | PlainMessage<ListUpdate> | undefined, b: ListUpdate | PlainMessage<ListUpdate> | undefined): boolean;
844
+ }
845
+
818
846
  /**
819
847
  * @generated from message livekit.Room
820
848
  */
@@ -1139,6 +1167,11 @@ declare class ParticipantInfo extends Message<ParticipantInfo> {
1139
1167
  */
1140
1168
  disconnectReason: DisconnectReason;
1141
1169
 
1170
+ /**
1171
+ * @generated from field: repeated livekit.ParticipantInfo.KindDetail kind_details = 18;
1172
+ */
1173
+ kindDetails: ParticipantInfo_KindDetail[];
1174
+
1142
1175
  constructor(data?: PartialMessage<ParticipantInfo>);
1143
1176
 
1144
1177
  static readonly runtime: typeof proto3;
@@ -1227,6 +1260,21 @@ declare enum ParticipantInfo_Kind {
1227
1260
  AGENT = 4,
1228
1261
  }
1229
1262
 
1263
+ /**
1264
+ * @generated from enum livekit.ParticipantInfo.KindDetail
1265
+ */
1266
+ declare enum ParticipantInfo_KindDetail {
1267
+ /**
1268
+ * @generated from enum value: CLOUD_AGENT = 0;
1269
+ */
1270
+ CLOUD_AGENT = 0,
1271
+
1272
+ /**
1273
+ * @generated from enum value: FORWARDED = 1;
1274
+ */
1275
+ FORWARDED = 1,
1276
+ }
1277
+
1230
1278
  /**
1231
1279
  * @generated from message livekit.Encryption
1232
1280
  */
@@ -8028,6 +8076,65 @@ declare class RoomConfiguration extends Message<RoomConfiguration> {
8028
8076
  static equals(a: RoomConfiguration | PlainMessage<RoomConfiguration> | undefined, b: RoomConfiguration | PlainMessage<RoomConfiguration> | undefined): boolean;
8029
8077
  }
8030
8078
 
8079
+ /**
8080
+ * @generated from message livekit.ForwardParticipantRequest
8081
+ */
8082
+ declare class ForwardParticipantRequest extends Message<ForwardParticipantRequest> {
8083
+ /**
8084
+ * room to forward participant from
8085
+ *
8086
+ * @generated from field: string room = 1;
8087
+ */
8088
+ room: string;
8089
+
8090
+ /**
8091
+ * identity of the participant to forward
8092
+ *
8093
+ * @generated from field: string identity = 2;
8094
+ */
8095
+ identity: string;
8096
+
8097
+ /**
8098
+ * room to forward participant to
8099
+ *
8100
+ * @generated from field: string destination_room = 3;
8101
+ */
8102
+ destinationRoom: string;
8103
+
8104
+ constructor(data?: PartialMessage<ForwardParticipantRequest>);
8105
+
8106
+ static readonly runtime: typeof proto3;
8107
+ static readonly typeName = "livekit.ForwardParticipantRequest";
8108
+ static readonly fields: FieldList;
8109
+
8110
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ForwardParticipantRequest;
8111
+
8112
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ForwardParticipantRequest;
8113
+
8114
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ForwardParticipantRequest;
8115
+
8116
+ static equals(a: ForwardParticipantRequest | PlainMessage<ForwardParticipantRequest> | undefined, b: ForwardParticipantRequest | PlainMessage<ForwardParticipantRequest> | undefined): boolean;
8117
+ }
8118
+
8119
+ /**
8120
+ * @generated from message livekit.ForwardParticipantResponse
8121
+ */
8122
+ declare class ForwardParticipantResponse extends Message<ForwardParticipantResponse> {
8123
+ constructor(data?: PartialMessage<ForwardParticipantResponse>);
8124
+
8125
+ static readonly runtime: typeof proto3;
8126
+ static readonly typeName = "livekit.ForwardParticipantResponse";
8127
+ static readonly fields: FieldList;
8128
+
8129
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ForwardParticipantResponse;
8130
+
8131
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ForwardParticipantResponse;
8132
+
8133
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ForwardParticipantResponse;
8134
+
8135
+ static equals(a: ForwardParticipantResponse | PlainMessage<ForwardParticipantResponse> | undefined, b: ForwardParticipantResponse | PlainMessage<ForwardParticipantResponse> | undefined): boolean;
8136
+ }
8137
+
8031
8138
  // Copyright 2023 LiveKit, Inc.
8032
8139
  //
8033
8140
  // Licensed under the Apache License, Version 2.0 (the "License");
@@ -10727,6 +10834,47 @@ declare class CreateSIPInboundTrunkRequest extends Message<CreateSIPInboundTrunk
10727
10834
  static equals(a: CreateSIPInboundTrunkRequest | PlainMessage<CreateSIPInboundTrunkRequest> | undefined, b: CreateSIPInboundTrunkRequest | PlainMessage<CreateSIPInboundTrunkRequest> | undefined): boolean;
10728
10835
  }
10729
10836
 
10837
+ /**
10838
+ * @generated from message livekit.UpdateSIPInboundTrunkRequest
10839
+ */
10840
+ declare class UpdateSIPInboundTrunkRequest extends Message<UpdateSIPInboundTrunkRequest> {
10841
+ /**
10842
+ * @generated from field: string sip_trunk_id = 1;
10843
+ */
10844
+ sipTrunkId: string;
10845
+
10846
+ /**
10847
+ * @generated from oneof livekit.UpdateSIPInboundTrunkRequest.action
10848
+ */
10849
+ action: {
10850
+ /**
10851
+ * @generated from field: livekit.SIPInboundTrunkInfo replace = 2;
10852
+ */
10853
+ value: SIPInboundTrunkInfo;
10854
+ case: "replace";
10855
+ } | {
10856
+ /**
10857
+ * @generated from field: livekit.SIPInboundTrunkUpdate update = 3;
10858
+ */
10859
+ value: SIPInboundTrunkUpdate;
10860
+ case: "update";
10861
+ } | { case: undefined; value?: undefined };
10862
+
10863
+ constructor(data?: PartialMessage<UpdateSIPInboundTrunkRequest>);
10864
+
10865
+ static readonly runtime: typeof proto3;
10866
+ static readonly typeName = "livekit.UpdateSIPInboundTrunkRequest";
10867
+ static readonly fields: FieldList;
10868
+
10869
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateSIPInboundTrunkRequest;
10870
+
10871
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateSIPInboundTrunkRequest;
10872
+
10873
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateSIPInboundTrunkRequest;
10874
+
10875
+ static equals(a: UpdateSIPInboundTrunkRequest | PlainMessage<UpdateSIPInboundTrunkRequest> | undefined, b: UpdateSIPInboundTrunkRequest | PlainMessage<UpdateSIPInboundTrunkRequest> | undefined): boolean;
10876
+ }
10877
+
10730
10878
  /**
10731
10879
  * @generated from message livekit.SIPInboundTrunkInfo
10732
10880
  */
@@ -10860,6 +11008,60 @@ declare class SIPInboundTrunkInfo extends Message<SIPInboundTrunkInfo> {
10860
11008
  static equals(a: SIPInboundTrunkInfo | PlainMessage<SIPInboundTrunkInfo> | undefined, b: SIPInboundTrunkInfo | PlainMessage<SIPInboundTrunkInfo> | undefined): boolean;
10861
11009
  }
10862
11010
 
11011
+ /**
11012
+ * @generated from message livekit.SIPInboundTrunkUpdate
11013
+ */
11014
+ declare class SIPInboundTrunkUpdate extends Message<SIPInboundTrunkUpdate> {
11015
+ /**
11016
+ * @generated from field: livekit.ListUpdate numbers = 1;
11017
+ */
11018
+ numbers?: ListUpdate;
11019
+
11020
+ /**
11021
+ * @generated from field: livekit.ListUpdate allowed_addresses = 2;
11022
+ */
11023
+ allowedAddresses?: ListUpdate;
11024
+
11025
+ /**
11026
+ * @generated from field: livekit.ListUpdate allowed_numbers = 3;
11027
+ */
11028
+ allowedNumbers?: ListUpdate;
11029
+
11030
+ /**
11031
+ * @generated from field: optional string auth_username = 4;
11032
+ */
11033
+ authUsername?: string;
11034
+
11035
+ /**
11036
+ * @generated from field: optional string auth_password = 5;
11037
+ */
11038
+ authPassword?: string;
11039
+
11040
+ /**
11041
+ * @generated from field: optional string name = 6;
11042
+ */
11043
+ name?: string;
11044
+
11045
+ /**
11046
+ * @generated from field: optional string metadata = 7;
11047
+ */
11048
+ metadata?: string;
11049
+
11050
+ constructor(data?: PartialMessage<SIPInboundTrunkUpdate>);
11051
+
11052
+ static readonly runtime: typeof proto3;
11053
+ static readonly typeName = "livekit.SIPInboundTrunkUpdate";
11054
+ static readonly fields: FieldList;
11055
+
11056
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SIPInboundTrunkUpdate;
11057
+
11058
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SIPInboundTrunkUpdate;
11059
+
11060
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SIPInboundTrunkUpdate;
11061
+
11062
+ static equals(a: SIPInboundTrunkUpdate | PlainMessage<SIPInboundTrunkUpdate> | undefined, b: SIPInboundTrunkUpdate | PlainMessage<SIPInboundTrunkUpdate> | undefined): boolean;
11063
+ }
11064
+
10863
11065
  /**
10864
11066
  * @generated from message livekit.CreateSIPOutboundTrunkRequest
10865
11067
  */
@@ -10886,6 +11088,47 @@ declare class CreateSIPOutboundTrunkRequest extends Message<CreateSIPOutboundTru
10886
11088
  static equals(a: CreateSIPOutboundTrunkRequest | PlainMessage<CreateSIPOutboundTrunkRequest> | undefined, b: CreateSIPOutboundTrunkRequest | PlainMessage<CreateSIPOutboundTrunkRequest> | undefined): boolean;
10887
11089
  }
10888
11090
 
11091
+ /**
11092
+ * @generated from message livekit.UpdateSIPOutboundTrunkRequest
11093
+ */
11094
+ declare class UpdateSIPOutboundTrunkRequest extends Message<UpdateSIPOutboundTrunkRequest> {
11095
+ /**
11096
+ * @generated from field: string sip_trunk_id = 1;
11097
+ */
11098
+ sipTrunkId: string;
11099
+
11100
+ /**
11101
+ * @generated from oneof livekit.UpdateSIPOutboundTrunkRequest.action
11102
+ */
11103
+ action: {
11104
+ /**
11105
+ * @generated from field: livekit.SIPOutboundTrunkInfo replace = 2;
11106
+ */
11107
+ value: SIPOutboundTrunkInfo;
11108
+ case: "replace";
11109
+ } | {
11110
+ /**
11111
+ * @generated from field: livekit.SIPOutboundTrunkUpdate update = 3;
11112
+ */
11113
+ value: SIPOutboundTrunkUpdate;
11114
+ case: "update";
11115
+ } | { case: undefined; value?: undefined };
11116
+
11117
+ constructor(data?: PartialMessage<UpdateSIPOutboundTrunkRequest>);
11118
+
11119
+ static readonly runtime: typeof proto3;
11120
+ static readonly typeName = "livekit.UpdateSIPOutboundTrunkRequest";
11121
+ static readonly fields: FieldList;
11122
+
11123
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateSIPOutboundTrunkRequest;
11124
+
11125
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateSIPOutboundTrunkRequest;
11126
+
11127
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateSIPOutboundTrunkRequest;
11128
+
11129
+ static equals(a: UpdateSIPOutboundTrunkRequest | PlainMessage<UpdateSIPOutboundTrunkRequest> | undefined, b: UpdateSIPOutboundTrunkRequest | PlainMessage<UpdateSIPOutboundTrunkRequest> | undefined): boolean;
11130
+ }
11131
+
10889
11132
  /**
10890
11133
  * @generated from message livekit.SIPOutboundTrunkInfo
10891
11134
  */
@@ -11000,6 +11243,60 @@ declare class SIPOutboundTrunkInfo extends Message<SIPOutboundTrunkInfo> {
11000
11243
  static equals(a: SIPOutboundTrunkInfo | PlainMessage<SIPOutboundTrunkInfo> | undefined, b: SIPOutboundTrunkInfo | PlainMessage<SIPOutboundTrunkInfo> | undefined): boolean;
11001
11244
  }
11002
11245
 
11246
+ /**
11247
+ * @generated from message livekit.SIPOutboundTrunkUpdate
11248
+ */
11249
+ declare class SIPOutboundTrunkUpdate extends Message<SIPOutboundTrunkUpdate> {
11250
+ /**
11251
+ * @generated from field: optional string address = 1;
11252
+ */
11253
+ address?: string;
11254
+
11255
+ /**
11256
+ * @generated from field: optional livekit.SIPTransport transport = 2;
11257
+ */
11258
+ transport?: SIPTransport;
11259
+
11260
+ /**
11261
+ * @generated from field: livekit.ListUpdate numbers = 3;
11262
+ */
11263
+ numbers?: ListUpdate;
11264
+
11265
+ /**
11266
+ * @generated from field: optional string auth_username = 4;
11267
+ */
11268
+ authUsername?: string;
11269
+
11270
+ /**
11271
+ * @generated from field: optional string auth_password = 5;
11272
+ */
11273
+ authPassword?: string;
11274
+
11275
+ /**
11276
+ * @generated from field: optional string name = 6;
11277
+ */
11278
+ name?: string;
11279
+
11280
+ /**
11281
+ * @generated from field: optional string metadata = 7;
11282
+ */
11283
+ metadata?: string;
11284
+
11285
+ constructor(data?: PartialMessage<SIPOutboundTrunkUpdate>);
11286
+
11287
+ static readonly runtime: typeof proto3;
11288
+ static readonly typeName = "livekit.SIPOutboundTrunkUpdate";
11289
+ static readonly fields: FieldList;
11290
+
11291
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SIPOutboundTrunkUpdate;
11292
+
11293
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SIPOutboundTrunkUpdate;
11294
+
11295
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SIPOutboundTrunkUpdate;
11296
+
11297
+ static equals(a: SIPOutboundTrunkUpdate | PlainMessage<SIPOutboundTrunkUpdate> | undefined, b: SIPOutboundTrunkUpdate | PlainMessage<SIPOutboundTrunkUpdate> | undefined): boolean;
11298
+ }
11299
+
11003
11300
  /**
11004
11301
  * @generated from message livekit.GetSIPInboundTrunkRequest
11005
11302
  */
@@ -11461,7 +11758,15 @@ declare class SIPDispatchRule extends Message<SIPDispatchRule> {
11461
11758
  */
11462
11759
  declare class CreateSIPDispatchRuleRequest extends Message<CreateSIPDispatchRuleRequest> {
11463
11760
  /**
11464
- * @generated from field: livekit.SIPDispatchRule rule = 1;
11761
+ * Rule ID is ignored
11762
+ *
11763
+ * @generated from field: livekit.SIPDispatchRuleInfo dispatch_rule = 10;
11764
+ */
11765
+ dispatchRule?: SIPDispatchRuleInfo;
11766
+
11767
+ /**
11768
+ * @generated from field: livekit.SIPDispatchRule rule = 1 [deprecated = true];
11769
+ * @deprecated
11465
11770
  */
11466
11771
  rule?: SIPDispatchRule;
11467
11772
 
@@ -11469,7 +11774,8 @@ declare class CreateSIPDispatchRuleRequest extends Message<CreateSIPDispatchRule
11469
11774
  * What trunks are accepted for this dispatch rule
11470
11775
  * If empty all trunks will match this dispatch rule
11471
11776
  *
11472
- * @generated from field: repeated string trunk_ids = 2;
11777
+ * @generated from field: repeated string trunk_ids = 2 [deprecated = true];
11778
+ * @deprecated
11473
11779
  */
11474
11780
  trunkIds: string[];
11475
11781
 
@@ -11477,21 +11783,24 @@ declare class CreateSIPDispatchRuleRequest extends Message<CreateSIPDispatchRule
11477
11783
  * By default the From value (Phone number) is used for participant name/identity and added to attributes.
11478
11784
  * If true, a random value for identity will be used and numbers will be omitted from attributes.
11479
11785
  *
11480
- * @generated from field: bool hide_phone_number = 3;
11786
+ * @generated from field: bool hide_phone_number = 3 [deprecated = true];
11787
+ * @deprecated
11481
11788
  */
11482
11789
  hidePhoneNumber: boolean;
11483
11790
 
11484
11791
  /**
11485
11792
  * Dispatch Rule will only accept a call made to these numbers (if set).
11486
11793
  *
11487
- * @generated from field: repeated string inbound_numbers = 6;
11794
+ * @generated from field: repeated string inbound_numbers = 6 [deprecated = true];
11795
+ * @deprecated
11488
11796
  */
11489
11797
  inboundNumbers: string[];
11490
11798
 
11491
11799
  /**
11492
11800
  * Optional human-readable name for the Dispatch Rule.
11493
11801
  *
11494
- * @generated from field: string name = 4;
11802
+ * @generated from field: string name = 4 [deprecated = true];
11803
+ * @deprecated
11495
11804
  */
11496
11805
  name: string;
11497
11806
 
@@ -11499,7 +11808,8 @@ declare class CreateSIPDispatchRuleRequest extends Message<CreateSIPDispatchRule
11499
11808
  * User-defined metadata for the Dispatch Rule.
11500
11809
  * Participants created by this rule will inherit this metadata.
11501
11810
  *
11502
- * @generated from field: string metadata = 5;
11811
+ * @generated from field: string metadata = 5 [deprecated = true];
11812
+ * @deprecated
11503
11813
  */
11504
11814
  metadata: string;
11505
11815
 
@@ -11507,21 +11817,24 @@ declare class CreateSIPDispatchRuleRequest extends Message<CreateSIPDispatchRule
11507
11817
  * User-defined attributes for the Dispatch Rule.
11508
11818
  * Participants created by this rule will inherit these attributes.
11509
11819
  *
11510
- * @generated from field: map<string, string> attributes = 7;
11820
+ * @generated from field: map<string, string> attributes = 7 [deprecated = true];
11821
+ * @deprecated
11511
11822
  */
11512
11823
  attributes: { [key: string]: string };
11513
11824
 
11514
11825
  /**
11515
11826
  * Cloud-only, config preset to use
11516
11827
  *
11517
- * @generated from field: string room_preset = 8;
11828
+ * @generated from field: string room_preset = 8 [deprecated = true];
11829
+ * @deprecated
11518
11830
  */
11519
11831
  roomPreset: string;
11520
11832
 
11521
11833
  /**
11522
11834
  * RoomConfiguration to use if the participant initiates the room
11523
11835
  *
11524
- * @generated from field: livekit.RoomConfiguration room_config = 9;
11836
+ * @generated from field: livekit.RoomConfiguration room_config = 9 [deprecated = true];
11837
+ * @deprecated
11525
11838
  */
11526
11839
  roomConfig?: RoomConfiguration;
11527
11840
 
@@ -11540,6 +11853,47 @@ declare class CreateSIPDispatchRuleRequest extends Message<CreateSIPDispatchRule
11540
11853
  static equals(a: CreateSIPDispatchRuleRequest | PlainMessage<CreateSIPDispatchRuleRequest> | undefined, b: CreateSIPDispatchRuleRequest | PlainMessage<CreateSIPDispatchRuleRequest> | undefined): boolean;
11541
11854
  }
11542
11855
 
11856
+ /**
11857
+ * @generated from message livekit.UpdateSIPDispatchRuleRequest
11858
+ */
11859
+ declare class UpdateSIPDispatchRuleRequest extends Message<UpdateSIPDispatchRuleRequest> {
11860
+ /**
11861
+ * @generated from field: string sip_dispatch_rule_id = 1;
11862
+ */
11863
+ sipDispatchRuleId: string;
11864
+
11865
+ /**
11866
+ * @generated from oneof livekit.UpdateSIPDispatchRuleRequest.action
11867
+ */
11868
+ action: {
11869
+ /**
11870
+ * @generated from field: livekit.SIPDispatchRuleInfo replace = 2;
11871
+ */
11872
+ value: SIPDispatchRuleInfo;
11873
+ case: "replace";
11874
+ } | {
11875
+ /**
11876
+ * @generated from field: livekit.SIPDispatchRuleUpdate update = 3;
11877
+ */
11878
+ value: SIPDispatchRuleUpdate;
11879
+ case: "update";
11880
+ } | { case: undefined; value?: undefined };
11881
+
11882
+ constructor(data?: PartialMessage<UpdateSIPDispatchRuleRequest>);
11883
+
11884
+ static readonly runtime: typeof proto3;
11885
+ static readonly typeName = "livekit.UpdateSIPDispatchRuleRequest";
11886
+ static readonly fields: FieldList;
11887
+
11888
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateSIPDispatchRuleRequest;
11889
+
11890
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateSIPDispatchRuleRequest;
11891
+
11892
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateSIPDispatchRuleRequest;
11893
+
11894
+ static equals(a: UpdateSIPDispatchRuleRequest | PlainMessage<UpdateSIPDispatchRuleRequest> | undefined, b: UpdateSIPDispatchRuleRequest | PlainMessage<UpdateSIPDispatchRuleRequest> | undefined): boolean;
11895
+ }
11896
+
11543
11897
  /**
11544
11898
  * @generated from message livekit.SIPDispatchRuleInfo
11545
11899
  */
@@ -11635,6 +11989,50 @@ declare class SIPDispatchRuleInfo extends Message<SIPDispatchRuleInfo> {
11635
11989
  static equals(a: SIPDispatchRuleInfo | PlainMessage<SIPDispatchRuleInfo> | undefined, b: SIPDispatchRuleInfo | PlainMessage<SIPDispatchRuleInfo> | undefined): boolean;
11636
11990
  }
11637
11991
 
11992
+ /**
11993
+ * @generated from message livekit.SIPDispatchRuleUpdate
11994
+ */
11995
+ declare class SIPDispatchRuleUpdate extends Message<SIPDispatchRuleUpdate> {
11996
+ /**
11997
+ * @generated from field: livekit.ListUpdate trunk_ids = 1;
11998
+ */
11999
+ trunkIds?: ListUpdate;
12000
+
12001
+ /**
12002
+ * @generated from field: livekit.SIPDispatchRule rule = 2;
12003
+ */
12004
+ rule?: SIPDispatchRule;
12005
+
12006
+ /**
12007
+ * @generated from field: optional string name = 3;
12008
+ */
12009
+ name?: string;
12010
+
12011
+ /**
12012
+ * @generated from field: optional string metadata = 4;
12013
+ */
12014
+ metadata?: string;
12015
+
12016
+ /**
12017
+ * @generated from field: map<string, string> attributes = 5;
12018
+ */
12019
+ attributes: { [key: string]: string };
12020
+
12021
+ constructor(data?: PartialMessage<SIPDispatchRuleUpdate>);
12022
+
12023
+ static readonly runtime: typeof proto3;
12024
+ static readonly typeName = "livekit.SIPDispatchRuleUpdate";
12025
+ static readonly fields: FieldList;
12026
+
12027
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SIPDispatchRuleUpdate;
12028
+
12029
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SIPDispatchRuleUpdate;
12030
+
12031
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SIPDispatchRuleUpdate;
12032
+
12033
+ static equals(a: SIPDispatchRuleUpdate | PlainMessage<SIPDispatchRuleUpdate> | undefined, b: SIPDispatchRuleUpdate | PlainMessage<SIPDispatchRuleUpdate> | undefined): boolean;
12034
+ }
12035
+
11638
12036
  /**
11639
12037
  * ListSIPDispatchRuleRequest lists dispatch rules for given filters. If no filters are set, all rules are listed.
11640
12038
  *
@@ -12053,6 +12451,16 @@ declare class SIPCallInfo extends Message<SIPCallInfo> {
12053
12451
  */
12054
12452
  trunkId: string;
12055
12453
 
12454
+ /**
12455
+ * @generated from field: string dispatch_rule_id = 16;
12456
+ */
12457
+ dispatchRuleId: string;
12458
+
12459
+ /**
12460
+ * @generated from field: string region = 17;
12461
+ */
12462
+ region: string;
12463
+
12056
12464
  /**
12057
12465
  * @generated from field: string room_name = 3;
12058
12466
  */
@@ -12070,6 +12478,11 @@ declare class SIPCallInfo extends Message<SIPCallInfo> {
12070
12478
  */
12071
12479
  participantIdentity: string;
12072
12480
 
12481
+ /**
12482
+ * @generated from field: map<string, string> participant_attributes = 18;
12483
+ */
12484
+ participantAttributes: { [key: string]: string };
12485
+
12073
12486
  /**
12074
12487
  * @generated from field: livekit.SIPUri from_uri = 6;
12075
12488
  */
@@ -12080,6 +12493,24 @@ declare class SIPCallInfo extends Message<SIPCallInfo> {
12080
12493
  */
12081
12494
  toUri?: SIPUri;
12082
12495
 
12496
+ /**
12497
+ * @generated from field: int64 created_at = 9 [deprecated = true];
12498
+ * @deprecated
12499
+ */
12500
+ createdAt: bigint;
12501
+
12502
+ /**
12503
+ * @generated from field: int64 started_at = 10 [deprecated = true];
12504
+ * @deprecated
12505
+ */
12506
+ startedAt: bigint;
12507
+
12508
+ /**
12509
+ * @generated from field: int64 ended_at = 11 [deprecated = true];
12510
+ * @deprecated
12511
+ */
12512
+ endedAt: bigint;
12513
+
12083
12514
  /**
12084
12515
  * @generated from field: repeated livekit.SIPFeature enabled_features = 14;
12085
12516
  */
@@ -12096,19 +12527,19 @@ declare class SIPCallInfo extends Message<SIPCallInfo> {
12096
12527
  callStatus: SIPCallStatus;
12097
12528
 
12098
12529
  /**
12099
- * @generated from field: int64 created_at = 9;
12530
+ * @generated from field: int64 created_at_ns = 22;
12100
12531
  */
12101
- createdAt: bigint;
12532
+ createdAtNs: bigint;
12102
12533
 
12103
12534
  /**
12104
- * @generated from field: int64 started_at = 10;
12535
+ * @generated from field: int64 started_at_ns = 23;
12105
12536
  */
12106
- startedAt: bigint;
12537
+ startedAtNs: bigint;
12107
12538
 
12108
12539
  /**
12109
- * @generated from field: int64 ended_at = 11;
12540
+ * @generated from field: int64 ended_at_ns = 24;
12110
12541
  */
12111
- endedAt: bigint;
12542
+ endedAtNs: bigint;
12112
12543
 
12113
12544
  /**
12114
12545
  * @generated from field: livekit.DisconnectReason disconnect_reason = 12;
@@ -12120,6 +12551,21 @@ declare class SIPCallInfo extends Message<SIPCallInfo> {
12120
12551
  */
12121
12552
  error: string;
12122
12553
 
12554
+ /**
12555
+ * @generated from field: livekit.SIPStatus call_status_code = 19;
12556
+ */
12557
+ callStatusCode?: SIPStatus;
12558
+
12559
+ /**
12560
+ * @generated from field: string audio_codec = 20;
12561
+ */
12562
+ audioCodec: string;
12563
+
12564
+ /**
12565
+ * @generated from field: string media_encryption = 21;
12566
+ */
12567
+ mediaEncryption: string;
12568
+
12123
12569
  constructor(data?: PartialMessage<SIPCallInfo>);
12124
12570
 
12125
12571
  static readonly runtime: typeof proto3;
@@ -12256,7 +12702,8 @@ declare class WebhookEvent extends Message<WebhookEvent> {
12256
12702
  createdAt: bigint;
12257
12703
 
12258
12704
  /**
12259
- * @generated from field: int32 num_dropped = 11;
12705
+ * @generated from field: int32 num_dropped = 11 [deprecated = true];
12706
+ * @deprecated
12260
12707
  */
12261
12708
  numDropped: number;
12262
12709
 
@@ -12277,4 +12724,4 @@ declare class WebhookEvent extends Message<WebhookEvent> {
12277
12724
 
12278
12725
  declare const version: string;
12279
12726
 
12280
- export { ActiveSpeakerUpdate, AddTrackRequest, AgentDispatch, AgentDispatchState, AliOSSUpload, AudioCodec, AudioMixing, AudioTrackFeature, AutoParticipantEgress, AutoTrackEgress, AvailabilityRequest, AvailabilityResponse, AzureBlobUpload, BackupCodecPolicy, CandidateProtocol, ChatMessage, ClientConfigSetting, ClientConfiguration, ClientInfo, ClientInfo_SDK, Codec, ConnectionQuality, ConnectionQualityInfo, ConnectionQualityUpdate, CreateAgentDispatchRequest, CreateIngressRequest, CreateRoomRequest, CreateSIPDispatchRuleRequest, CreateSIPInboundTrunkRequest, CreateSIPOutboundTrunkRequest, CreateSIPParticipantRequest, CreateSIPTrunkRequest, DataChannelInfo, DataPacket, DataPacket_Kind, DataStream, DataStream_ByteHeader, DataStream_Chunk, DataStream_Header, DataStream_OperationType, DataStream_TextHeader, DataStream_Trailer, DeleteAgentDispatchRequest, DeleteIngressRequest, DeleteRoomRequest, DeleteRoomResponse, DeleteSIPDispatchRuleRequest, DeleteSIPTrunkRequest, DirectFileOutput, DisabledCodecs, DisconnectReason, EgressInfo, EgressSourceType, EgressStatus, EncodedFileOutput, EncodedFileType, EncodingOptions, EncodingOptionsPreset, Encryption, Encryption_Type, EventMetric, FileInfo, GCPUpload, GetSIPInboundTrunkRequest, GetSIPInboundTrunkResponse, GetSIPOutboundTrunkRequest, GetSIPOutboundTrunkResponse, ICEServer, ImageCodec, ImageFileSuffix, ImageOutput, ImagesInfo, IngressAudioEncodingOptions, IngressAudioEncodingPreset, IngressAudioOptions, IngressInfo, IngressInput, IngressState, IngressState_Status, IngressVideoEncodingOptions, IngressVideoEncodingPreset, IngressVideoOptions, InputAudioState, InputVideoState, Job, JobAssignment, JobState, JobStatus, JobTermination, JobType, JoinResponse, LeaveRequest, LeaveRequest_Action, ListAgentDispatchRequest, ListAgentDispatchResponse, ListEgressRequest, ListEgressResponse, ListIngressRequest, ListIngressResponse, ListParticipantsRequest, ListParticipantsResponse, ListRoomsRequest, ListRoomsResponse, ListSIPDispatchRuleRequest, ListSIPDispatchRuleResponse, ListSIPInboundTrunkRequest, ListSIPInboundTrunkResponse, ListSIPOutboundTrunkRequest, ListSIPOutboundTrunkResponse, ListSIPTrunkRequest, ListSIPTrunkResponse, MetricLabel, MetricSample, MetricsBatch, MigrateJobRequest, MuteRoomTrackRequest, MuteRoomTrackResponse, MuteTrackRequest, Pagination, ParticipantEgressRequest, ParticipantInfo, ParticipantInfo_Kind, ParticipantInfo_State, ParticipantPermission, ParticipantTracks, ParticipantUpdate, Ping, PlayoutDelay, Pong, ProxyConfig, RTCPSenderReportState, RTPDrift, RTPForwarderState, RTPMungerState, RTPStats, ReconnectReason, ReconnectResponse, RegionInfo, RegionSettings, RegisterWorkerRequest, RegisterWorkerResponse, RemoveParticipantResponse, RequestResponse, RequestResponse_Reason, Room, RoomAgent, RoomAgentDispatch, RoomCompositeEgressRequest, RoomConfiguration, RoomEgress, RoomParticipantIdentity, RoomUpdate, RpcAck, RpcError, RpcRequest, RpcResponse, S3Upload, SIPCallDirection, SIPCallInfo, SIPCallStatus, SIPDispatchRule, SIPDispatchRuleCallee, SIPDispatchRuleDirect, SIPDispatchRuleIndividual, SIPDispatchRuleInfo, SIPFeature, SIPHeaderOptions, SIPInboundTrunkInfo, SIPMediaEncryption, SIPOutboundConfig, SIPOutboundTrunkInfo, SIPParticipantInfo, SIPStatus, SIPStatusCode, SIPTransport, SIPTrunkInfo, SIPTrunkInfo_TrunkKind, SIPUri, SegmentedFileOutput, SegmentedFileProtocol, SegmentedFileSuffix, SegmentsInfo, SendDataRequest, SendDataResponse, ServerInfo, ServerInfo_Edition, ServerMessage, SessionDescription, SignalRequest, SignalResponse, SignalTarget, SimulateJobRequest, SimulateScenario, SimulcastCodec, SimulcastCodecInfo, SipDTMF, SpeakerInfo, SpeakersChanged, StopEgressRequest, StreamInfo, StreamInfoList, StreamInfo_Status, StreamOutput, StreamProtocol, StreamState, StreamStateInfo, StreamStateUpdate, SubscribedCodec, SubscribedQuality, SubscribedQualityUpdate, SubscriptionError, SubscriptionPermission, SubscriptionPermissionUpdate, SubscriptionResponse, SyncState, TimeSeriesMetric, TimedVersion, TrackCompositeEgressRequest, TrackEgressRequest, TrackInfo, TrackPermission, TrackPublishedResponse, TrackSource, TrackSubscribed, TrackType, TrackUnpublishedResponse, Transcription, TranscriptionSegment, TransferSIPParticipantRequest, TrickleRequest, UpdateIngressRequest, UpdateJobStatus, UpdateLayoutRequest, UpdateLocalAudioTrack, UpdateLocalVideoTrack, UpdateParticipantMetadata, UpdateParticipantRequest, UpdateRoomMetadataRequest, UpdateStreamRequest, UpdateSubscription, UpdateSubscriptionsRequest, UpdateSubscriptionsResponse, UpdateTrackSettings, UpdateVideoLayers, UpdateWorkerStatus, UserPacket, VP8MungerState, VideoCodec, VideoConfiguration, VideoLayer, VideoQuality, WebEgressRequest, WebhookEvent, WorkerMessage, WorkerPing, WorkerPong, WorkerStatus, version };
12727
+ export { ActiveSpeakerUpdate, AddTrackRequest, AgentDispatch, AgentDispatchState, AliOSSUpload, AudioCodec, AudioMixing, AudioTrackFeature, AutoParticipantEgress, AutoTrackEgress, AvailabilityRequest, AvailabilityResponse, AzureBlobUpload, BackupCodecPolicy, CandidateProtocol, ChatMessage, ClientConfigSetting, ClientConfiguration, ClientInfo, ClientInfo_SDK, Codec, ConnectionQuality, ConnectionQualityInfo, ConnectionQualityUpdate, CreateAgentDispatchRequest, CreateIngressRequest, CreateRoomRequest, CreateSIPDispatchRuleRequest, CreateSIPInboundTrunkRequest, CreateSIPOutboundTrunkRequest, CreateSIPParticipantRequest, CreateSIPTrunkRequest, DataChannelInfo, DataPacket, DataPacket_Kind, DataStream, DataStream_ByteHeader, DataStream_Chunk, DataStream_Header, DataStream_OperationType, DataStream_TextHeader, DataStream_Trailer, DeleteAgentDispatchRequest, DeleteIngressRequest, DeleteRoomRequest, DeleteRoomResponse, DeleteSIPDispatchRuleRequest, DeleteSIPTrunkRequest, DirectFileOutput, DisabledCodecs, DisconnectReason, EgressInfo, EgressSourceType, EgressStatus, EncodedFileOutput, EncodedFileType, EncodingOptions, EncodingOptionsPreset, Encryption, Encryption_Type, EventMetric, FileInfo, ForwardParticipantRequest, ForwardParticipantResponse, GCPUpload, GetSIPInboundTrunkRequest, GetSIPInboundTrunkResponse, GetSIPOutboundTrunkRequest, GetSIPOutboundTrunkResponse, ICEServer, ImageCodec, ImageFileSuffix, ImageOutput, ImagesInfo, IngressAudioEncodingOptions, IngressAudioEncodingPreset, IngressAudioOptions, IngressInfo, IngressInput, IngressState, IngressState_Status, IngressVideoEncodingOptions, IngressVideoEncodingPreset, IngressVideoOptions, InputAudioState, InputVideoState, Job, JobAssignment, JobState, JobStatus, JobTermination, JobType, JoinResponse, LeaveRequest, LeaveRequest_Action, ListAgentDispatchRequest, ListAgentDispatchResponse, ListEgressRequest, ListEgressResponse, ListIngressRequest, ListIngressResponse, ListParticipantsRequest, ListParticipantsResponse, ListRoomsRequest, ListRoomsResponse, ListSIPDispatchRuleRequest, ListSIPDispatchRuleResponse, ListSIPInboundTrunkRequest, ListSIPInboundTrunkResponse, ListSIPOutboundTrunkRequest, ListSIPOutboundTrunkResponse, ListSIPTrunkRequest, ListSIPTrunkResponse, ListUpdate, MetricLabel, MetricSample, MetricsBatch, MigrateJobRequest, MuteRoomTrackRequest, MuteRoomTrackResponse, MuteTrackRequest, Pagination, ParticipantEgressRequest, ParticipantInfo, ParticipantInfo_Kind, ParticipantInfo_KindDetail, ParticipantInfo_State, ParticipantPermission, ParticipantTracks, ParticipantUpdate, Ping, PlayoutDelay, Pong, ProxyConfig, RTCPSenderReportState, RTPDrift, RTPForwarderState, RTPMungerState, RTPStats, ReconnectReason, ReconnectResponse, RegionInfo, RegionSettings, RegisterWorkerRequest, RegisterWorkerResponse, RemoveParticipantResponse, RequestResponse, RequestResponse_Reason, Room, RoomAgent, RoomAgentDispatch, RoomCompositeEgressRequest, RoomConfiguration, RoomEgress, RoomParticipantIdentity, RoomUpdate, RpcAck, RpcError, RpcRequest, RpcResponse, S3Upload, SIPCallDirection, SIPCallInfo, SIPCallStatus, SIPDispatchRule, SIPDispatchRuleCallee, SIPDispatchRuleDirect, SIPDispatchRuleIndividual, SIPDispatchRuleInfo, SIPDispatchRuleUpdate, SIPFeature, SIPHeaderOptions, SIPInboundTrunkInfo, SIPInboundTrunkUpdate, SIPMediaEncryption, SIPOutboundConfig, SIPOutboundTrunkInfo, SIPOutboundTrunkUpdate, SIPParticipantInfo, SIPStatus, SIPStatusCode, SIPTransport, SIPTrunkInfo, SIPTrunkInfo_TrunkKind, SIPUri, SegmentedFileOutput, SegmentedFileProtocol, SegmentedFileSuffix, SegmentsInfo, SendDataRequest, SendDataResponse, ServerInfo, ServerInfo_Edition, ServerMessage, SessionDescription, SignalRequest, SignalResponse, SignalTarget, SimulateJobRequest, SimulateScenario, SimulcastCodec, SimulcastCodecInfo, SipDTMF, SpeakerInfo, SpeakersChanged, StopEgressRequest, StreamInfo, StreamInfoList, StreamInfo_Status, StreamOutput, StreamProtocol, StreamState, StreamStateInfo, StreamStateUpdate, SubscribedCodec, SubscribedQuality, SubscribedQualityUpdate, SubscriptionError, SubscriptionPermission, SubscriptionPermissionUpdate, SubscriptionResponse, SyncState, TimeSeriesMetric, TimedVersion, TrackCompositeEgressRequest, TrackEgressRequest, TrackInfo, TrackPermission, TrackPublishedResponse, TrackSource, TrackSubscribed, TrackType, TrackUnpublishedResponse, Transcription, TranscriptionSegment, TransferSIPParticipantRequest, TrickleRequest, UpdateIngressRequest, UpdateJobStatus, UpdateLayoutRequest, UpdateLocalAudioTrack, UpdateLocalVideoTrack, UpdateParticipantMetadata, UpdateParticipantRequest, UpdateRoomMetadataRequest, UpdateSIPDispatchRuleRequest, UpdateSIPInboundTrunkRequest, UpdateSIPOutboundTrunkRequest, UpdateStreamRequest, UpdateSubscription, UpdateSubscriptionsRequest, UpdateSubscriptionsResponse, UpdateTrackSettings, UpdateVideoLayers, UpdateWorkerStatus, UserPacket, VP8MungerState, VideoCodec, VideoConfiguration, VideoLayer, VideoQuality, WebEgressRequest, WebhookEvent, WorkerMessage, WorkerPing, WorkerPong, WorkerStatus, version };