@livekit/protocol 1.35.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.
@@ -19,7 +19,7 @@
19
19
 
20
20
  import type { BinaryReadOptions, Duration, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
21
21
  import { Message, proto3 } from "@bufbuild/protobuf";
22
- import type { DisconnectReason, Pagination } from "./livekit_models_pb.js";
22
+ import type { DisconnectReason, ListUpdate, Pagination } from "./livekit_models_pb.js";
23
23
  import type { RoomConfiguration } from "./livekit_room_pb.js";
24
24
 
25
25
  /**
@@ -706,6 +706,47 @@ export declare class CreateSIPInboundTrunkRequest extends Message<CreateSIPInbou
706
706
  static equals(a: CreateSIPInboundTrunkRequest | PlainMessage<CreateSIPInboundTrunkRequest> | undefined, b: CreateSIPInboundTrunkRequest | PlainMessage<CreateSIPInboundTrunkRequest> | undefined): boolean;
707
707
  }
708
708
 
709
+ /**
710
+ * @generated from message livekit.UpdateSIPInboundTrunkRequest
711
+ */
712
+ export declare class UpdateSIPInboundTrunkRequest extends Message<UpdateSIPInboundTrunkRequest> {
713
+ /**
714
+ * @generated from field: string sip_trunk_id = 1;
715
+ */
716
+ sipTrunkId: string;
717
+
718
+ /**
719
+ * @generated from oneof livekit.UpdateSIPInboundTrunkRequest.action
720
+ */
721
+ action: {
722
+ /**
723
+ * @generated from field: livekit.SIPInboundTrunkInfo replace = 2;
724
+ */
725
+ value: SIPInboundTrunkInfo;
726
+ case: "replace";
727
+ } | {
728
+ /**
729
+ * @generated from field: livekit.SIPInboundTrunkUpdate update = 3;
730
+ */
731
+ value: SIPInboundTrunkUpdate;
732
+ case: "update";
733
+ } | { case: undefined; value?: undefined };
734
+
735
+ constructor(data?: PartialMessage<UpdateSIPInboundTrunkRequest>);
736
+
737
+ static readonly runtime: typeof proto3;
738
+ static readonly typeName = "livekit.UpdateSIPInboundTrunkRequest";
739
+ static readonly fields: FieldList;
740
+
741
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateSIPInboundTrunkRequest;
742
+
743
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateSIPInboundTrunkRequest;
744
+
745
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateSIPInboundTrunkRequest;
746
+
747
+ static equals(a: UpdateSIPInboundTrunkRequest | PlainMessage<UpdateSIPInboundTrunkRequest> | undefined, b: UpdateSIPInboundTrunkRequest | PlainMessage<UpdateSIPInboundTrunkRequest> | undefined): boolean;
748
+ }
749
+
709
750
  /**
710
751
  * @generated from message livekit.SIPInboundTrunkInfo
711
752
  */
@@ -839,6 +880,60 @@ export declare class SIPInboundTrunkInfo extends Message<SIPInboundTrunkInfo> {
839
880
  static equals(a: SIPInboundTrunkInfo | PlainMessage<SIPInboundTrunkInfo> | undefined, b: SIPInboundTrunkInfo | PlainMessage<SIPInboundTrunkInfo> | undefined): boolean;
840
881
  }
841
882
 
883
+ /**
884
+ * @generated from message livekit.SIPInboundTrunkUpdate
885
+ */
886
+ export declare class SIPInboundTrunkUpdate extends Message<SIPInboundTrunkUpdate> {
887
+ /**
888
+ * @generated from field: livekit.ListUpdate numbers = 1;
889
+ */
890
+ numbers?: ListUpdate;
891
+
892
+ /**
893
+ * @generated from field: livekit.ListUpdate allowed_addresses = 2;
894
+ */
895
+ allowedAddresses?: ListUpdate;
896
+
897
+ /**
898
+ * @generated from field: livekit.ListUpdate allowed_numbers = 3;
899
+ */
900
+ allowedNumbers?: ListUpdate;
901
+
902
+ /**
903
+ * @generated from field: optional string auth_username = 4;
904
+ */
905
+ authUsername?: string;
906
+
907
+ /**
908
+ * @generated from field: optional string auth_password = 5;
909
+ */
910
+ authPassword?: string;
911
+
912
+ /**
913
+ * @generated from field: optional string name = 6;
914
+ */
915
+ name?: string;
916
+
917
+ /**
918
+ * @generated from field: optional string metadata = 7;
919
+ */
920
+ metadata?: string;
921
+
922
+ constructor(data?: PartialMessage<SIPInboundTrunkUpdate>);
923
+
924
+ static readonly runtime: typeof proto3;
925
+ static readonly typeName = "livekit.SIPInboundTrunkUpdate";
926
+ static readonly fields: FieldList;
927
+
928
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SIPInboundTrunkUpdate;
929
+
930
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SIPInboundTrunkUpdate;
931
+
932
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SIPInboundTrunkUpdate;
933
+
934
+ static equals(a: SIPInboundTrunkUpdate | PlainMessage<SIPInboundTrunkUpdate> | undefined, b: SIPInboundTrunkUpdate | PlainMessage<SIPInboundTrunkUpdate> | undefined): boolean;
935
+ }
936
+
842
937
  /**
843
938
  * @generated from message livekit.CreateSIPOutboundTrunkRequest
844
939
  */
@@ -865,6 +960,47 @@ export declare class CreateSIPOutboundTrunkRequest extends Message<CreateSIPOutb
865
960
  static equals(a: CreateSIPOutboundTrunkRequest | PlainMessage<CreateSIPOutboundTrunkRequest> | undefined, b: CreateSIPOutboundTrunkRequest | PlainMessage<CreateSIPOutboundTrunkRequest> | undefined): boolean;
866
961
  }
867
962
 
963
+ /**
964
+ * @generated from message livekit.UpdateSIPOutboundTrunkRequest
965
+ */
966
+ export declare class UpdateSIPOutboundTrunkRequest extends Message<UpdateSIPOutboundTrunkRequest> {
967
+ /**
968
+ * @generated from field: string sip_trunk_id = 1;
969
+ */
970
+ sipTrunkId: string;
971
+
972
+ /**
973
+ * @generated from oneof livekit.UpdateSIPOutboundTrunkRequest.action
974
+ */
975
+ action: {
976
+ /**
977
+ * @generated from field: livekit.SIPOutboundTrunkInfo replace = 2;
978
+ */
979
+ value: SIPOutboundTrunkInfo;
980
+ case: "replace";
981
+ } | {
982
+ /**
983
+ * @generated from field: livekit.SIPOutboundTrunkUpdate update = 3;
984
+ */
985
+ value: SIPOutboundTrunkUpdate;
986
+ case: "update";
987
+ } | { case: undefined; value?: undefined };
988
+
989
+ constructor(data?: PartialMessage<UpdateSIPOutboundTrunkRequest>);
990
+
991
+ static readonly runtime: typeof proto3;
992
+ static readonly typeName = "livekit.UpdateSIPOutboundTrunkRequest";
993
+ static readonly fields: FieldList;
994
+
995
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateSIPOutboundTrunkRequest;
996
+
997
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateSIPOutboundTrunkRequest;
998
+
999
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateSIPOutboundTrunkRequest;
1000
+
1001
+ static equals(a: UpdateSIPOutboundTrunkRequest | PlainMessage<UpdateSIPOutboundTrunkRequest> | undefined, b: UpdateSIPOutboundTrunkRequest | PlainMessage<UpdateSIPOutboundTrunkRequest> | undefined): boolean;
1002
+ }
1003
+
868
1004
  /**
869
1005
  * @generated from message livekit.SIPOutboundTrunkInfo
870
1006
  */
@@ -979,6 +1115,60 @@ export declare class SIPOutboundTrunkInfo extends Message<SIPOutboundTrunkInfo>
979
1115
  static equals(a: SIPOutboundTrunkInfo | PlainMessage<SIPOutboundTrunkInfo> | undefined, b: SIPOutboundTrunkInfo | PlainMessage<SIPOutboundTrunkInfo> | undefined): boolean;
980
1116
  }
981
1117
 
1118
+ /**
1119
+ * @generated from message livekit.SIPOutboundTrunkUpdate
1120
+ */
1121
+ export declare class SIPOutboundTrunkUpdate extends Message<SIPOutboundTrunkUpdate> {
1122
+ /**
1123
+ * @generated from field: optional string address = 1;
1124
+ */
1125
+ address?: string;
1126
+
1127
+ /**
1128
+ * @generated from field: optional livekit.SIPTransport transport = 2;
1129
+ */
1130
+ transport?: SIPTransport;
1131
+
1132
+ /**
1133
+ * @generated from field: livekit.ListUpdate numbers = 3;
1134
+ */
1135
+ numbers?: ListUpdate;
1136
+
1137
+ /**
1138
+ * @generated from field: optional string auth_username = 4;
1139
+ */
1140
+ authUsername?: string;
1141
+
1142
+ /**
1143
+ * @generated from field: optional string auth_password = 5;
1144
+ */
1145
+ authPassword?: string;
1146
+
1147
+ /**
1148
+ * @generated from field: optional string name = 6;
1149
+ */
1150
+ name?: string;
1151
+
1152
+ /**
1153
+ * @generated from field: optional string metadata = 7;
1154
+ */
1155
+ metadata?: string;
1156
+
1157
+ constructor(data?: PartialMessage<SIPOutboundTrunkUpdate>);
1158
+
1159
+ static readonly runtime: typeof proto3;
1160
+ static readonly typeName = "livekit.SIPOutboundTrunkUpdate";
1161
+ static readonly fields: FieldList;
1162
+
1163
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SIPOutboundTrunkUpdate;
1164
+
1165
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SIPOutboundTrunkUpdate;
1166
+
1167
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SIPOutboundTrunkUpdate;
1168
+
1169
+ static equals(a: SIPOutboundTrunkUpdate | PlainMessage<SIPOutboundTrunkUpdate> | undefined, b: SIPOutboundTrunkUpdate | PlainMessage<SIPOutboundTrunkUpdate> | undefined): boolean;
1170
+ }
1171
+
982
1172
  /**
983
1173
  * @generated from message livekit.GetSIPInboundTrunkRequest
984
1174
  */
@@ -1440,7 +1630,15 @@ export declare class SIPDispatchRule extends Message<SIPDispatchRule> {
1440
1630
  */
1441
1631
  export declare class CreateSIPDispatchRuleRequest extends Message<CreateSIPDispatchRuleRequest> {
1442
1632
  /**
1443
- * @generated from field: livekit.SIPDispatchRule rule = 1;
1633
+ * Rule ID is ignored
1634
+ *
1635
+ * @generated from field: livekit.SIPDispatchRuleInfo dispatch_rule = 10;
1636
+ */
1637
+ dispatchRule?: SIPDispatchRuleInfo;
1638
+
1639
+ /**
1640
+ * @generated from field: livekit.SIPDispatchRule rule = 1 [deprecated = true];
1641
+ * @deprecated
1444
1642
  */
1445
1643
  rule?: SIPDispatchRule;
1446
1644
 
@@ -1448,7 +1646,8 @@ export declare class CreateSIPDispatchRuleRequest extends Message<CreateSIPDispa
1448
1646
  * What trunks are accepted for this dispatch rule
1449
1647
  * If empty all trunks will match this dispatch rule
1450
1648
  *
1451
- * @generated from field: repeated string trunk_ids = 2;
1649
+ * @generated from field: repeated string trunk_ids = 2 [deprecated = true];
1650
+ * @deprecated
1452
1651
  */
1453
1652
  trunkIds: string[];
1454
1653
 
@@ -1456,21 +1655,24 @@ export declare class CreateSIPDispatchRuleRequest extends Message<CreateSIPDispa
1456
1655
  * By default the From value (Phone number) is used for participant name/identity and added to attributes.
1457
1656
  * If true, a random value for identity will be used and numbers will be omitted from attributes.
1458
1657
  *
1459
- * @generated from field: bool hide_phone_number = 3;
1658
+ * @generated from field: bool hide_phone_number = 3 [deprecated = true];
1659
+ * @deprecated
1460
1660
  */
1461
1661
  hidePhoneNumber: boolean;
1462
1662
 
1463
1663
  /**
1464
1664
  * Dispatch Rule will only accept a call made to these numbers (if set).
1465
1665
  *
1466
- * @generated from field: repeated string inbound_numbers = 6;
1666
+ * @generated from field: repeated string inbound_numbers = 6 [deprecated = true];
1667
+ * @deprecated
1467
1668
  */
1468
1669
  inboundNumbers: string[];
1469
1670
 
1470
1671
  /**
1471
1672
  * Optional human-readable name for the Dispatch Rule.
1472
1673
  *
1473
- * @generated from field: string name = 4;
1674
+ * @generated from field: string name = 4 [deprecated = true];
1675
+ * @deprecated
1474
1676
  */
1475
1677
  name: string;
1476
1678
 
@@ -1478,7 +1680,8 @@ export declare class CreateSIPDispatchRuleRequest extends Message<CreateSIPDispa
1478
1680
  * User-defined metadata for the Dispatch Rule.
1479
1681
  * Participants created by this rule will inherit this metadata.
1480
1682
  *
1481
- * @generated from field: string metadata = 5;
1683
+ * @generated from field: string metadata = 5 [deprecated = true];
1684
+ * @deprecated
1482
1685
  */
1483
1686
  metadata: string;
1484
1687
 
@@ -1486,21 +1689,24 @@ export declare class CreateSIPDispatchRuleRequest extends Message<CreateSIPDispa
1486
1689
  * User-defined attributes for the Dispatch Rule.
1487
1690
  * Participants created by this rule will inherit these attributes.
1488
1691
  *
1489
- * @generated from field: map<string, string> attributes = 7;
1692
+ * @generated from field: map<string, string> attributes = 7 [deprecated = true];
1693
+ * @deprecated
1490
1694
  */
1491
1695
  attributes: { [key: string]: string };
1492
1696
 
1493
1697
  /**
1494
1698
  * Cloud-only, config preset to use
1495
1699
  *
1496
- * @generated from field: string room_preset = 8;
1700
+ * @generated from field: string room_preset = 8 [deprecated = true];
1701
+ * @deprecated
1497
1702
  */
1498
1703
  roomPreset: string;
1499
1704
 
1500
1705
  /**
1501
1706
  * RoomConfiguration to use if the participant initiates the room
1502
1707
  *
1503
- * @generated from field: livekit.RoomConfiguration room_config = 9;
1708
+ * @generated from field: livekit.RoomConfiguration room_config = 9 [deprecated = true];
1709
+ * @deprecated
1504
1710
  */
1505
1711
  roomConfig?: RoomConfiguration;
1506
1712
 
@@ -1519,6 +1725,47 @@ export declare class CreateSIPDispatchRuleRequest extends Message<CreateSIPDispa
1519
1725
  static equals(a: CreateSIPDispatchRuleRequest | PlainMessage<CreateSIPDispatchRuleRequest> | undefined, b: CreateSIPDispatchRuleRequest | PlainMessage<CreateSIPDispatchRuleRequest> | undefined): boolean;
1520
1726
  }
1521
1727
 
1728
+ /**
1729
+ * @generated from message livekit.UpdateSIPDispatchRuleRequest
1730
+ */
1731
+ export declare class UpdateSIPDispatchRuleRequest extends Message<UpdateSIPDispatchRuleRequest> {
1732
+ /**
1733
+ * @generated from field: string sip_dispatch_rule_id = 1;
1734
+ */
1735
+ sipDispatchRuleId: string;
1736
+
1737
+ /**
1738
+ * @generated from oneof livekit.UpdateSIPDispatchRuleRequest.action
1739
+ */
1740
+ action: {
1741
+ /**
1742
+ * @generated from field: livekit.SIPDispatchRuleInfo replace = 2;
1743
+ */
1744
+ value: SIPDispatchRuleInfo;
1745
+ case: "replace";
1746
+ } | {
1747
+ /**
1748
+ * @generated from field: livekit.SIPDispatchRuleUpdate update = 3;
1749
+ */
1750
+ value: SIPDispatchRuleUpdate;
1751
+ case: "update";
1752
+ } | { case: undefined; value?: undefined };
1753
+
1754
+ constructor(data?: PartialMessage<UpdateSIPDispatchRuleRequest>);
1755
+
1756
+ static readonly runtime: typeof proto3;
1757
+ static readonly typeName = "livekit.UpdateSIPDispatchRuleRequest";
1758
+ static readonly fields: FieldList;
1759
+
1760
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateSIPDispatchRuleRequest;
1761
+
1762
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateSIPDispatchRuleRequest;
1763
+
1764
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateSIPDispatchRuleRequest;
1765
+
1766
+ static equals(a: UpdateSIPDispatchRuleRequest | PlainMessage<UpdateSIPDispatchRuleRequest> | undefined, b: UpdateSIPDispatchRuleRequest | PlainMessage<UpdateSIPDispatchRuleRequest> | undefined): boolean;
1767
+ }
1768
+
1522
1769
  /**
1523
1770
  * @generated from message livekit.SIPDispatchRuleInfo
1524
1771
  */
@@ -1614,6 +1861,50 @@ export declare class SIPDispatchRuleInfo extends Message<SIPDispatchRuleInfo> {
1614
1861
  static equals(a: SIPDispatchRuleInfo | PlainMessage<SIPDispatchRuleInfo> | undefined, b: SIPDispatchRuleInfo | PlainMessage<SIPDispatchRuleInfo> | undefined): boolean;
1615
1862
  }
1616
1863
 
1864
+ /**
1865
+ * @generated from message livekit.SIPDispatchRuleUpdate
1866
+ */
1867
+ export declare class SIPDispatchRuleUpdate extends Message<SIPDispatchRuleUpdate> {
1868
+ /**
1869
+ * @generated from field: livekit.ListUpdate trunk_ids = 1;
1870
+ */
1871
+ trunkIds?: ListUpdate;
1872
+
1873
+ /**
1874
+ * @generated from field: livekit.SIPDispatchRule rule = 2;
1875
+ */
1876
+ rule?: SIPDispatchRule;
1877
+
1878
+ /**
1879
+ * @generated from field: optional string name = 3;
1880
+ */
1881
+ name?: string;
1882
+
1883
+ /**
1884
+ * @generated from field: optional string metadata = 4;
1885
+ */
1886
+ metadata?: string;
1887
+
1888
+ /**
1889
+ * @generated from field: map<string, string> attributes = 5;
1890
+ */
1891
+ attributes: { [key: string]: string };
1892
+
1893
+ constructor(data?: PartialMessage<SIPDispatchRuleUpdate>);
1894
+
1895
+ static readonly runtime: typeof proto3;
1896
+ static readonly typeName = "livekit.SIPDispatchRuleUpdate";
1897
+ static readonly fields: FieldList;
1898
+
1899
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SIPDispatchRuleUpdate;
1900
+
1901
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SIPDispatchRuleUpdate;
1902
+
1903
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SIPDispatchRuleUpdate;
1904
+
1905
+ static equals(a: SIPDispatchRuleUpdate | PlainMessage<SIPDispatchRuleUpdate> | undefined, b: SIPDispatchRuleUpdate | PlainMessage<SIPDispatchRuleUpdate> | undefined): boolean;
1906
+ }
1907
+
1617
1908
  /**
1618
1909
  * ListSIPDispatchRuleRequest lists dispatch rules for given filters. If no filters are set, all rules are listed.
1619
1910
  *
@@ -18,7 +18,7 @@
18
18
  // @ts-nocheck
19
19
 
20
20
  import { Duration, proto3 } from "@bufbuild/protobuf";
21
- import { DisconnectReason, Pagination } from "./livekit_models_pb.js";
21
+ import { DisconnectReason, ListUpdate, Pagination } from "./livekit_models_pb.js";
22
22
  import { RoomConfiguration } from "./livekit_room_pb.js";
23
23
 
24
24
  /**
@@ -233,6 +233,18 @@ export const CreateSIPInboundTrunkRequest = /*@__PURE__*/ proto3.makeMessageType
233
233
  ],
234
234
  );
235
235
 
236
+ /**
237
+ * @generated from message livekit.UpdateSIPInboundTrunkRequest
238
+ */
239
+ export const UpdateSIPInboundTrunkRequest = /*@__PURE__*/ proto3.makeMessageType(
240
+ "livekit.UpdateSIPInboundTrunkRequest",
241
+ () => [
242
+ { no: 1, name: "sip_trunk_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
243
+ { no: 2, name: "replace", kind: "message", T: SIPInboundTrunkInfo, oneof: "action" },
244
+ { no: 3, name: "update", kind: "message", T: SIPInboundTrunkUpdate, oneof: "action" },
245
+ ],
246
+ );
247
+
236
248
  /**
237
249
  * @generated from message livekit.SIPInboundTrunkInfo
238
250
  */
@@ -258,6 +270,22 @@ export const SIPInboundTrunkInfo = /*@__PURE__*/ proto3.makeMessageType(
258
270
  ],
259
271
  );
260
272
 
273
+ /**
274
+ * @generated from message livekit.SIPInboundTrunkUpdate
275
+ */
276
+ export const SIPInboundTrunkUpdate = /*@__PURE__*/ proto3.makeMessageType(
277
+ "livekit.SIPInboundTrunkUpdate",
278
+ () => [
279
+ { no: 1, name: "numbers", kind: "message", T: ListUpdate },
280
+ { no: 2, name: "allowed_addresses", kind: "message", T: ListUpdate },
281
+ { no: 3, name: "allowed_numbers", kind: "message", T: ListUpdate },
282
+ { no: 4, name: "auth_username", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
283
+ { no: 5, name: "auth_password", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
284
+ { no: 6, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
285
+ { no: 7, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
286
+ ],
287
+ );
288
+
261
289
  /**
262
290
  * @generated from message livekit.CreateSIPOutboundTrunkRequest
263
291
  */
@@ -268,6 +296,18 @@ export const CreateSIPOutboundTrunkRequest = /*@__PURE__*/ proto3.makeMessageTyp
268
296
  ],
269
297
  );
270
298
 
299
+ /**
300
+ * @generated from message livekit.UpdateSIPOutboundTrunkRequest
301
+ */
302
+ export const UpdateSIPOutboundTrunkRequest = /*@__PURE__*/ proto3.makeMessageType(
303
+ "livekit.UpdateSIPOutboundTrunkRequest",
304
+ () => [
305
+ { no: 1, name: "sip_trunk_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
306
+ { no: 2, name: "replace", kind: "message", T: SIPOutboundTrunkInfo, oneof: "action" },
307
+ { no: 3, name: "update", kind: "message", T: SIPOutboundTrunkUpdate, oneof: "action" },
308
+ ],
309
+ );
310
+
271
311
  /**
272
312
  * @generated from message livekit.SIPOutboundTrunkInfo
273
313
  */
@@ -290,6 +330,22 @@ export const SIPOutboundTrunkInfo = /*@__PURE__*/ proto3.makeMessageType(
290
330
  ],
291
331
  );
292
332
 
333
+ /**
334
+ * @generated from message livekit.SIPOutboundTrunkUpdate
335
+ */
336
+ export const SIPOutboundTrunkUpdate = /*@__PURE__*/ proto3.makeMessageType(
337
+ "livekit.SIPOutboundTrunkUpdate",
338
+ () => [
339
+ { no: 1, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
340
+ { no: 2, name: "transport", kind: "enum", T: proto3.getEnumType(SIPTransport), opt: true },
341
+ { no: 3, name: "numbers", kind: "message", T: ListUpdate },
342
+ { no: 4, name: "auth_username", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
343
+ { no: 5, name: "auth_password", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
344
+ { no: 6, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
345
+ { no: 7, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
346
+ ],
347
+ );
348
+
293
349
  /**
294
350
  * @generated from message livekit.GetSIPInboundTrunkRequest
295
351
  */
@@ -462,6 +518,7 @@ export const SIPDispatchRule = /*@__PURE__*/ proto3.makeMessageType(
462
518
  export const CreateSIPDispatchRuleRequest = /*@__PURE__*/ proto3.makeMessageType(
463
519
  "livekit.CreateSIPDispatchRuleRequest",
464
520
  () => [
521
+ { no: 10, name: "dispatch_rule", kind: "message", T: SIPDispatchRuleInfo },
465
522
  { no: 1, name: "rule", kind: "message", T: SIPDispatchRule },
466
523
  { no: 2, name: "trunk_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
467
524
  { no: 3, name: "hide_phone_number", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
@@ -474,6 +531,18 @@ export const CreateSIPDispatchRuleRequest = /*@__PURE__*/ proto3.makeMessageType
474
531
  ],
475
532
  );
476
533
 
534
+ /**
535
+ * @generated from message livekit.UpdateSIPDispatchRuleRequest
536
+ */
537
+ export const UpdateSIPDispatchRuleRequest = /*@__PURE__*/ proto3.makeMessageType(
538
+ "livekit.UpdateSIPDispatchRuleRequest",
539
+ () => [
540
+ { no: 1, name: "sip_dispatch_rule_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
541
+ { no: 2, name: "replace", kind: "message", T: SIPDispatchRuleInfo, oneof: "action" },
542
+ { no: 3, name: "update", kind: "message", T: SIPDispatchRuleUpdate, oneof: "action" },
543
+ ],
544
+ );
545
+
477
546
  /**
478
547
  * @generated from message livekit.SIPDispatchRuleInfo
479
548
  */
@@ -495,6 +564,20 @@ export const SIPDispatchRuleInfo = /*@__PURE__*/ proto3.makeMessageType(
495
564
  ],
496
565
  );
497
566
 
567
+ /**
568
+ * @generated from message livekit.SIPDispatchRuleUpdate
569
+ */
570
+ export const SIPDispatchRuleUpdate = /*@__PURE__*/ proto3.makeMessageType(
571
+ "livekit.SIPDispatchRuleUpdate",
572
+ () => [
573
+ { no: 1, name: "trunk_ids", kind: "message", T: ListUpdate },
574
+ { no: 2, name: "rule", kind: "message", T: SIPDispatchRule },
575
+ { no: 3, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
576
+ { no: 4, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
577
+ { no: 5, name: "attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
578
+ ],
579
+ );
580
+
498
581
  /**
499
582
  * ListSIPDispatchRuleRequest lists dispatch rules for given filters. If no filters are set, all rules are listed.
500
583
  *
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- export const version = '1.35.0';
2
+ export const version = '1.36.0';