@livekit/protocol 1.35.0 → 1.36.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.
- package/dist/index.cjs +109 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +357 -17
- package/dist/index.d.mts +357 -17
- package/dist/index.d.ts +357 -17
- package/dist/index.mjs +102 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/gen/livekit_cloud_agent_pb.d.ts +897 -0
- package/src/gen/livekit_cloud_agent_pb.js +325 -0
- package/src/gen/livekit_internal_pb.d.ts +5 -0
- package/src/gen/livekit_internal_pb.js +1 -0
- package/src/gen/livekit_models_pb.d.ts +56 -7
- package/src/gen/livekit_models_pb.js +26 -2
- package/src/gen/livekit_sip_pb.d.ts +301 -10
- package/src/gen/livekit_sip_pb.js +84 -1
- package/src/gen/version.js +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -464,11 +464,12 @@ declare enum ImageCodec {
|
|
|
464
464
|
*/
|
|
465
465
|
declare enum BackupCodecPolicy {
|
|
466
466
|
/**
|
|
467
|
-
* default behavior, regress to backup codec and all subscribers will receive the backup codec
|
|
467
|
+
* default behavior, the track prefer to regress to backup codec and all subscribers will receive the backup codec,
|
|
468
|
+
* the sfu will try to regress codec if possible but not assured.
|
|
468
469
|
*
|
|
469
|
-
* @generated from enum value:
|
|
470
|
+
* @generated from enum value: PREFER_REGRESSION = 0;
|
|
470
471
|
*/
|
|
471
|
-
|
|
472
|
+
PREFER_REGRESSION = 0,
|
|
472
473
|
|
|
473
474
|
/**
|
|
474
475
|
* encoding/send the primary and backup codec simultaneously
|
|
@@ -476,6 +477,13 @@ declare enum BackupCodecPolicy {
|
|
|
476
477
|
* @generated from enum value: SIMULCAST = 1;
|
|
477
478
|
*/
|
|
478
479
|
SIMULCAST = 1,
|
|
480
|
+
|
|
481
|
+
/**
|
|
482
|
+
* force the track to regress to backup codec, this option can be used in video conference or the publisher has limited bandwidth/encoding power
|
|
483
|
+
*
|
|
484
|
+
* @generated from enum value: REGRESSION = 2;
|
|
485
|
+
*/
|
|
486
|
+
REGRESSION = 2,
|
|
479
487
|
}
|
|
480
488
|
|
|
481
489
|
/**
|
|
@@ -815,6 +823,34 @@ declare class Pagination extends Message<Pagination> {
|
|
|
815
823
|
static equals(a: Pagination | PlainMessage<Pagination> | undefined, b: Pagination | PlainMessage<Pagination> | undefined): boolean;
|
|
816
824
|
}
|
|
817
825
|
|
|
826
|
+
/**
|
|
827
|
+
* ListUpdate is used for updated APIs where 'repeated string' field is modified.
|
|
828
|
+
*
|
|
829
|
+
* @generated from message livekit.ListUpdate
|
|
830
|
+
*/
|
|
831
|
+
declare class ListUpdate extends Message<ListUpdate> {
|
|
832
|
+
/**
|
|
833
|
+
* set the field to a new list
|
|
834
|
+
*
|
|
835
|
+
* @generated from field: repeated string set = 1;
|
|
836
|
+
*/
|
|
837
|
+
set: string[];
|
|
838
|
+
|
|
839
|
+
constructor(data?: PartialMessage<ListUpdate>);
|
|
840
|
+
|
|
841
|
+
static readonly runtime: typeof proto3;
|
|
842
|
+
static readonly typeName = "livekit.ListUpdate";
|
|
843
|
+
static readonly fields: FieldList;
|
|
844
|
+
|
|
845
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListUpdate;
|
|
846
|
+
|
|
847
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListUpdate;
|
|
848
|
+
|
|
849
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListUpdate;
|
|
850
|
+
|
|
851
|
+
static equals(a: ListUpdate | PlainMessage<ListUpdate> | undefined, b: ListUpdate | PlainMessage<ListUpdate> | undefined): boolean;
|
|
852
|
+
}
|
|
853
|
+
|
|
818
854
|
/**
|
|
819
855
|
* @generated from message livekit.Room
|
|
820
856
|
*/
|
|
@@ -1139,6 +1175,11 @@ declare class ParticipantInfo extends Message<ParticipantInfo> {
|
|
|
1139
1175
|
*/
|
|
1140
1176
|
disconnectReason: DisconnectReason;
|
|
1141
1177
|
|
|
1178
|
+
/**
|
|
1179
|
+
* @generated from field: repeated livekit.ParticipantInfo.KindDetail kind_details = 18;
|
|
1180
|
+
*/
|
|
1181
|
+
kindDetails: ParticipantInfo_KindDetail[];
|
|
1182
|
+
|
|
1142
1183
|
constructor(data?: PartialMessage<ParticipantInfo>);
|
|
1143
1184
|
|
|
1144
1185
|
static readonly runtime: typeof proto3;
|
|
@@ -1225,13 +1266,21 @@ declare enum ParticipantInfo_Kind {
|
|
|
1225
1266
|
* @generated from enum value: AGENT = 4;
|
|
1226
1267
|
*/
|
|
1227
1268
|
AGENT = 4,
|
|
1269
|
+
}
|
|
1228
1270
|
|
|
1271
|
+
/**
|
|
1272
|
+
* @generated from enum livekit.ParticipantInfo.KindDetail
|
|
1273
|
+
*/
|
|
1274
|
+
declare enum ParticipantInfo_KindDetail {
|
|
1229
1275
|
/**
|
|
1230
|
-
*
|
|
1231
|
-
*
|
|
1232
|
-
* @generated from enum value: FORWARDED = 5;
|
|
1276
|
+
* @generated from enum value: CLOUD_AGENT = 0;
|
|
1233
1277
|
*/
|
|
1234
|
-
|
|
1278
|
+
CLOUD_AGENT = 0,
|
|
1279
|
+
|
|
1280
|
+
/**
|
|
1281
|
+
* @generated from enum value: FORWARDED = 1;
|
|
1282
|
+
*/
|
|
1283
|
+
FORWARDED = 1,
|
|
1235
1284
|
}
|
|
1236
1285
|
|
|
1237
1286
|
/**
|
|
@@ -10793,6 +10842,47 @@ declare class CreateSIPInboundTrunkRequest extends Message<CreateSIPInboundTrunk
|
|
|
10793
10842
|
static equals(a: CreateSIPInboundTrunkRequest | PlainMessage<CreateSIPInboundTrunkRequest> | undefined, b: CreateSIPInboundTrunkRequest | PlainMessage<CreateSIPInboundTrunkRequest> | undefined): boolean;
|
|
10794
10843
|
}
|
|
10795
10844
|
|
|
10845
|
+
/**
|
|
10846
|
+
* @generated from message livekit.UpdateSIPInboundTrunkRequest
|
|
10847
|
+
*/
|
|
10848
|
+
declare class UpdateSIPInboundTrunkRequest extends Message<UpdateSIPInboundTrunkRequest> {
|
|
10849
|
+
/**
|
|
10850
|
+
* @generated from field: string sip_trunk_id = 1;
|
|
10851
|
+
*/
|
|
10852
|
+
sipTrunkId: string;
|
|
10853
|
+
|
|
10854
|
+
/**
|
|
10855
|
+
* @generated from oneof livekit.UpdateSIPInboundTrunkRequest.action
|
|
10856
|
+
*/
|
|
10857
|
+
action: {
|
|
10858
|
+
/**
|
|
10859
|
+
* @generated from field: livekit.SIPInboundTrunkInfo replace = 2;
|
|
10860
|
+
*/
|
|
10861
|
+
value: SIPInboundTrunkInfo;
|
|
10862
|
+
case: "replace";
|
|
10863
|
+
} | {
|
|
10864
|
+
/**
|
|
10865
|
+
* @generated from field: livekit.SIPInboundTrunkUpdate update = 3;
|
|
10866
|
+
*/
|
|
10867
|
+
value: SIPInboundTrunkUpdate;
|
|
10868
|
+
case: "update";
|
|
10869
|
+
} | { case: undefined; value?: undefined };
|
|
10870
|
+
|
|
10871
|
+
constructor(data?: PartialMessage<UpdateSIPInboundTrunkRequest>);
|
|
10872
|
+
|
|
10873
|
+
static readonly runtime: typeof proto3;
|
|
10874
|
+
static readonly typeName = "livekit.UpdateSIPInboundTrunkRequest";
|
|
10875
|
+
static readonly fields: FieldList;
|
|
10876
|
+
|
|
10877
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateSIPInboundTrunkRequest;
|
|
10878
|
+
|
|
10879
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateSIPInboundTrunkRequest;
|
|
10880
|
+
|
|
10881
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateSIPInboundTrunkRequest;
|
|
10882
|
+
|
|
10883
|
+
static equals(a: UpdateSIPInboundTrunkRequest | PlainMessage<UpdateSIPInboundTrunkRequest> | undefined, b: UpdateSIPInboundTrunkRequest | PlainMessage<UpdateSIPInboundTrunkRequest> | undefined): boolean;
|
|
10884
|
+
}
|
|
10885
|
+
|
|
10796
10886
|
/**
|
|
10797
10887
|
* @generated from message livekit.SIPInboundTrunkInfo
|
|
10798
10888
|
*/
|
|
@@ -10926,6 +11016,60 @@ declare class SIPInboundTrunkInfo extends Message<SIPInboundTrunkInfo> {
|
|
|
10926
11016
|
static equals(a: SIPInboundTrunkInfo | PlainMessage<SIPInboundTrunkInfo> | undefined, b: SIPInboundTrunkInfo | PlainMessage<SIPInboundTrunkInfo> | undefined): boolean;
|
|
10927
11017
|
}
|
|
10928
11018
|
|
|
11019
|
+
/**
|
|
11020
|
+
* @generated from message livekit.SIPInboundTrunkUpdate
|
|
11021
|
+
*/
|
|
11022
|
+
declare class SIPInboundTrunkUpdate extends Message<SIPInboundTrunkUpdate> {
|
|
11023
|
+
/**
|
|
11024
|
+
* @generated from field: livekit.ListUpdate numbers = 1;
|
|
11025
|
+
*/
|
|
11026
|
+
numbers?: ListUpdate;
|
|
11027
|
+
|
|
11028
|
+
/**
|
|
11029
|
+
* @generated from field: livekit.ListUpdate allowed_addresses = 2;
|
|
11030
|
+
*/
|
|
11031
|
+
allowedAddresses?: ListUpdate;
|
|
11032
|
+
|
|
11033
|
+
/**
|
|
11034
|
+
* @generated from field: livekit.ListUpdate allowed_numbers = 3;
|
|
11035
|
+
*/
|
|
11036
|
+
allowedNumbers?: ListUpdate;
|
|
11037
|
+
|
|
11038
|
+
/**
|
|
11039
|
+
* @generated from field: optional string auth_username = 4;
|
|
11040
|
+
*/
|
|
11041
|
+
authUsername?: string;
|
|
11042
|
+
|
|
11043
|
+
/**
|
|
11044
|
+
* @generated from field: optional string auth_password = 5;
|
|
11045
|
+
*/
|
|
11046
|
+
authPassword?: string;
|
|
11047
|
+
|
|
11048
|
+
/**
|
|
11049
|
+
* @generated from field: optional string name = 6;
|
|
11050
|
+
*/
|
|
11051
|
+
name?: string;
|
|
11052
|
+
|
|
11053
|
+
/**
|
|
11054
|
+
* @generated from field: optional string metadata = 7;
|
|
11055
|
+
*/
|
|
11056
|
+
metadata?: string;
|
|
11057
|
+
|
|
11058
|
+
constructor(data?: PartialMessage<SIPInboundTrunkUpdate>);
|
|
11059
|
+
|
|
11060
|
+
static readonly runtime: typeof proto3;
|
|
11061
|
+
static readonly typeName = "livekit.SIPInboundTrunkUpdate";
|
|
11062
|
+
static readonly fields: FieldList;
|
|
11063
|
+
|
|
11064
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SIPInboundTrunkUpdate;
|
|
11065
|
+
|
|
11066
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SIPInboundTrunkUpdate;
|
|
11067
|
+
|
|
11068
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SIPInboundTrunkUpdate;
|
|
11069
|
+
|
|
11070
|
+
static equals(a: SIPInboundTrunkUpdate | PlainMessage<SIPInboundTrunkUpdate> | undefined, b: SIPInboundTrunkUpdate | PlainMessage<SIPInboundTrunkUpdate> | undefined): boolean;
|
|
11071
|
+
}
|
|
11072
|
+
|
|
10929
11073
|
/**
|
|
10930
11074
|
* @generated from message livekit.CreateSIPOutboundTrunkRequest
|
|
10931
11075
|
*/
|
|
@@ -10952,6 +11096,47 @@ declare class CreateSIPOutboundTrunkRequest extends Message<CreateSIPOutboundTru
|
|
|
10952
11096
|
static equals(a: CreateSIPOutboundTrunkRequest | PlainMessage<CreateSIPOutboundTrunkRequest> | undefined, b: CreateSIPOutboundTrunkRequest | PlainMessage<CreateSIPOutboundTrunkRequest> | undefined): boolean;
|
|
10953
11097
|
}
|
|
10954
11098
|
|
|
11099
|
+
/**
|
|
11100
|
+
* @generated from message livekit.UpdateSIPOutboundTrunkRequest
|
|
11101
|
+
*/
|
|
11102
|
+
declare class UpdateSIPOutboundTrunkRequest extends Message<UpdateSIPOutboundTrunkRequest> {
|
|
11103
|
+
/**
|
|
11104
|
+
* @generated from field: string sip_trunk_id = 1;
|
|
11105
|
+
*/
|
|
11106
|
+
sipTrunkId: string;
|
|
11107
|
+
|
|
11108
|
+
/**
|
|
11109
|
+
* @generated from oneof livekit.UpdateSIPOutboundTrunkRequest.action
|
|
11110
|
+
*/
|
|
11111
|
+
action: {
|
|
11112
|
+
/**
|
|
11113
|
+
* @generated from field: livekit.SIPOutboundTrunkInfo replace = 2;
|
|
11114
|
+
*/
|
|
11115
|
+
value: SIPOutboundTrunkInfo;
|
|
11116
|
+
case: "replace";
|
|
11117
|
+
} | {
|
|
11118
|
+
/**
|
|
11119
|
+
* @generated from field: livekit.SIPOutboundTrunkUpdate update = 3;
|
|
11120
|
+
*/
|
|
11121
|
+
value: SIPOutboundTrunkUpdate;
|
|
11122
|
+
case: "update";
|
|
11123
|
+
} | { case: undefined; value?: undefined };
|
|
11124
|
+
|
|
11125
|
+
constructor(data?: PartialMessage<UpdateSIPOutboundTrunkRequest>);
|
|
11126
|
+
|
|
11127
|
+
static readonly runtime: typeof proto3;
|
|
11128
|
+
static readonly typeName = "livekit.UpdateSIPOutboundTrunkRequest";
|
|
11129
|
+
static readonly fields: FieldList;
|
|
11130
|
+
|
|
11131
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateSIPOutboundTrunkRequest;
|
|
11132
|
+
|
|
11133
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateSIPOutboundTrunkRequest;
|
|
11134
|
+
|
|
11135
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateSIPOutboundTrunkRequest;
|
|
11136
|
+
|
|
11137
|
+
static equals(a: UpdateSIPOutboundTrunkRequest | PlainMessage<UpdateSIPOutboundTrunkRequest> | undefined, b: UpdateSIPOutboundTrunkRequest | PlainMessage<UpdateSIPOutboundTrunkRequest> | undefined): boolean;
|
|
11138
|
+
}
|
|
11139
|
+
|
|
10955
11140
|
/**
|
|
10956
11141
|
* @generated from message livekit.SIPOutboundTrunkInfo
|
|
10957
11142
|
*/
|
|
@@ -11066,6 +11251,60 @@ declare class SIPOutboundTrunkInfo extends Message<SIPOutboundTrunkInfo> {
|
|
|
11066
11251
|
static equals(a: SIPOutboundTrunkInfo | PlainMessage<SIPOutboundTrunkInfo> | undefined, b: SIPOutboundTrunkInfo | PlainMessage<SIPOutboundTrunkInfo> | undefined): boolean;
|
|
11067
11252
|
}
|
|
11068
11253
|
|
|
11254
|
+
/**
|
|
11255
|
+
* @generated from message livekit.SIPOutboundTrunkUpdate
|
|
11256
|
+
*/
|
|
11257
|
+
declare class SIPOutboundTrunkUpdate extends Message<SIPOutboundTrunkUpdate> {
|
|
11258
|
+
/**
|
|
11259
|
+
* @generated from field: optional string address = 1;
|
|
11260
|
+
*/
|
|
11261
|
+
address?: string;
|
|
11262
|
+
|
|
11263
|
+
/**
|
|
11264
|
+
* @generated from field: optional livekit.SIPTransport transport = 2;
|
|
11265
|
+
*/
|
|
11266
|
+
transport?: SIPTransport;
|
|
11267
|
+
|
|
11268
|
+
/**
|
|
11269
|
+
* @generated from field: livekit.ListUpdate numbers = 3;
|
|
11270
|
+
*/
|
|
11271
|
+
numbers?: ListUpdate;
|
|
11272
|
+
|
|
11273
|
+
/**
|
|
11274
|
+
* @generated from field: optional string auth_username = 4;
|
|
11275
|
+
*/
|
|
11276
|
+
authUsername?: string;
|
|
11277
|
+
|
|
11278
|
+
/**
|
|
11279
|
+
* @generated from field: optional string auth_password = 5;
|
|
11280
|
+
*/
|
|
11281
|
+
authPassword?: string;
|
|
11282
|
+
|
|
11283
|
+
/**
|
|
11284
|
+
* @generated from field: optional string name = 6;
|
|
11285
|
+
*/
|
|
11286
|
+
name?: string;
|
|
11287
|
+
|
|
11288
|
+
/**
|
|
11289
|
+
* @generated from field: optional string metadata = 7;
|
|
11290
|
+
*/
|
|
11291
|
+
metadata?: string;
|
|
11292
|
+
|
|
11293
|
+
constructor(data?: PartialMessage<SIPOutboundTrunkUpdate>);
|
|
11294
|
+
|
|
11295
|
+
static readonly runtime: typeof proto3;
|
|
11296
|
+
static readonly typeName = "livekit.SIPOutboundTrunkUpdate";
|
|
11297
|
+
static readonly fields: FieldList;
|
|
11298
|
+
|
|
11299
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SIPOutboundTrunkUpdate;
|
|
11300
|
+
|
|
11301
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SIPOutboundTrunkUpdate;
|
|
11302
|
+
|
|
11303
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SIPOutboundTrunkUpdate;
|
|
11304
|
+
|
|
11305
|
+
static equals(a: SIPOutboundTrunkUpdate | PlainMessage<SIPOutboundTrunkUpdate> | undefined, b: SIPOutboundTrunkUpdate | PlainMessage<SIPOutboundTrunkUpdate> | undefined): boolean;
|
|
11306
|
+
}
|
|
11307
|
+
|
|
11069
11308
|
/**
|
|
11070
11309
|
* @generated from message livekit.GetSIPInboundTrunkRequest
|
|
11071
11310
|
*/
|
|
@@ -11527,7 +11766,15 @@ declare class SIPDispatchRule extends Message<SIPDispatchRule> {
|
|
|
11527
11766
|
*/
|
|
11528
11767
|
declare class CreateSIPDispatchRuleRequest extends Message<CreateSIPDispatchRuleRequest> {
|
|
11529
11768
|
/**
|
|
11530
|
-
*
|
|
11769
|
+
* Rule ID is ignored
|
|
11770
|
+
*
|
|
11771
|
+
* @generated from field: livekit.SIPDispatchRuleInfo dispatch_rule = 10;
|
|
11772
|
+
*/
|
|
11773
|
+
dispatchRule?: SIPDispatchRuleInfo;
|
|
11774
|
+
|
|
11775
|
+
/**
|
|
11776
|
+
* @generated from field: livekit.SIPDispatchRule rule = 1 [deprecated = true];
|
|
11777
|
+
* @deprecated
|
|
11531
11778
|
*/
|
|
11532
11779
|
rule?: SIPDispatchRule;
|
|
11533
11780
|
|
|
@@ -11535,7 +11782,8 @@ declare class CreateSIPDispatchRuleRequest extends Message<CreateSIPDispatchRule
|
|
|
11535
11782
|
* What trunks are accepted for this dispatch rule
|
|
11536
11783
|
* If empty all trunks will match this dispatch rule
|
|
11537
11784
|
*
|
|
11538
|
-
* @generated from field: repeated string trunk_ids = 2;
|
|
11785
|
+
* @generated from field: repeated string trunk_ids = 2 [deprecated = true];
|
|
11786
|
+
* @deprecated
|
|
11539
11787
|
*/
|
|
11540
11788
|
trunkIds: string[];
|
|
11541
11789
|
|
|
@@ -11543,21 +11791,24 @@ declare class CreateSIPDispatchRuleRequest extends Message<CreateSIPDispatchRule
|
|
|
11543
11791
|
* By default the From value (Phone number) is used for participant name/identity and added to attributes.
|
|
11544
11792
|
* If true, a random value for identity will be used and numbers will be omitted from attributes.
|
|
11545
11793
|
*
|
|
11546
|
-
* @generated from field: bool hide_phone_number = 3;
|
|
11794
|
+
* @generated from field: bool hide_phone_number = 3 [deprecated = true];
|
|
11795
|
+
* @deprecated
|
|
11547
11796
|
*/
|
|
11548
11797
|
hidePhoneNumber: boolean;
|
|
11549
11798
|
|
|
11550
11799
|
/**
|
|
11551
11800
|
* Dispatch Rule will only accept a call made to these numbers (if set).
|
|
11552
11801
|
*
|
|
11553
|
-
* @generated from field: repeated string inbound_numbers = 6;
|
|
11802
|
+
* @generated from field: repeated string inbound_numbers = 6 [deprecated = true];
|
|
11803
|
+
* @deprecated
|
|
11554
11804
|
*/
|
|
11555
11805
|
inboundNumbers: string[];
|
|
11556
11806
|
|
|
11557
11807
|
/**
|
|
11558
11808
|
* Optional human-readable name for the Dispatch Rule.
|
|
11559
11809
|
*
|
|
11560
|
-
* @generated from field: string name = 4;
|
|
11810
|
+
* @generated from field: string name = 4 [deprecated = true];
|
|
11811
|
+
* @deprecated
|
|
11561
11812
|
*/
|
|
11562
11813
|
name: string;
|
|
11563
11814
|
|
|
@@ -11565,7 +11816,8 @@ declare class CreateSIPDispatchRuleRequest extends Message<CreateSIPDispatchRule
|
|
|
11565
11816
|
* User-defined metadata for the Dispatch Rule.
|
|
11566
11817
|
* Participants created by this rule will inherit this metadata.
|
|
11567
11818
|
*
|
|
11568
|
-
* @generated from field: string metadata = 5;
|
|
11819
|
+
* @generated from field: string metadata = 5 [deprecated = true];
|
|
11820
|
+
* @deprecated
|
|
11569
11821
|
*/
|
|
11570
11822
|
metadata: string;
|
|
11571
11823
|
|
|
@@ -11573,21 +11825,24 @@ declare class CreateSIPDispatchRuleRequest extends Message<CreateSIPDispatchRule
|
|
|
11573
11825
|
* User-defined attributes for the Dispatch Rule.
|
|
11574
11826
|
* Participants created by this rule will inherit these attributes.
|
|
11575
11827
|
*
|
|
11576
|
-
* @generated from field: map<string, string> attributes = 7;
|
|
11828
|
+
* @generated from field: map<string, string> attributes = 7 [deprecated = true];
|
|
11829
|
+
* @deprecated
|
|
11577
11830
|
*/
|
|
11578
11831
|
attributes: { [key: string]: string };
|
|
11579
11832
|
|
|
11580
11833
|
/**
|
|
11581
11834
|
* Cloud-only, config preset to use
|
|
11582
11835
|
*
|
|
11583
|
-
* @generated from field: string room_preset = 8;
|
|
11836
|
+
* @generated from field: string room_preset = 8 [deprecated = true];
|
|
11837
|
+
* @deprecated
|
|
11584
11838
|
*/
|
|
11585
11839
|
roomPreset: string;
|
|
11586
11840
|
|
|
11587
11841
|
/**
|
|
11588
11842
|
* RoomConfiguration to use if the participant initiates the room
|
|
11589
11843
|
*
|
|
11590
|
-
* @generated from field: livekit.RoomConfiguration room_config = 9;
|
|
11844
|
+
* @generated from field: livekit.RoomConfiguration room_config = 9 [deprecated = true];
|
|
11845
|
+
* @deprecated
|
|
11591
11846
|
*/
|
|
11592
11847
|
roomConfig?: RoomConfiguration;
|
|
11593
11848
|
|
|
@@ -11606,6 +11861,47 @@ declare class CreateSIPDispatchRuleRequest extends Message<CreateSIPDispatchRule
|
|
|
11606
11861
|
static equals(a: CreateSIPDispatchRuleRequest | PlainMessage<CreateSIPDispatchRuleRequest> | undefined, b: CreateSIPDispatchRuleRequest | PlainMessage<CreateSIPDispatchRuleRequest> | undefined): boolean;
|
|
11607
11862
|
}
|
|
11608
11863
|
|
|
11864
|
+
/**
|
|
11865
|
+
* @generated from message livekit.UpdateSIPDispatchRuleRequest
|
|
11866
|
+
*/
|
|
11867
|
+
declare class UpdateSIPDispatchRuleRequest extends Message<UpdateSIPDispatchRuleRequest> {
|
|
11868
|
+
/**
|
|
11869
|
+
* @generated from field: string sip_dispatch_rule_id = 1;
|
|
11870
|
+
*/
|
|
11871
|
+
sipDispatchRuleId: string;
|
|
11872
|
+
|
|
11873
|
+
/**
|
|
11874
|
+
* @generated from oneof livekit.UpdateSIPDispatchRuleRequest.action
|
|
11875
|
+
*/
|
|
11876
|
+
action: {
|
|
11877
|
+
/**
|
|
11878
|
+
* @generated from field: livekit.SIPDispatchRuleInfo replace = 2;
|
|
11879
|
+
*/
|
|
11880
|
+
value: SIPDispatchRuleInfo;
|
|
11881
|
+
case: "replace";
|
|
11882
|
+
} | {
|
|
11883
|
+
/**
|
|
11884
|
+
* @generated from field: livekit.SIPDispatchRuleUpdate update = 3;
|
|
11885
|
+
*/
|
|
11886
|
+
value: SIPDispatchRuleUpdate;
|
|
11887
|
+
case: "update";
|
|
11888
|
+
} | { case: undefined; value?: undefined };
|
|
11889
|
+
|
|
11890
|
+
constructor(data?: PartialMessage<UpdateSIPDispatchRuleRequest>);
|
|
11891
|
+
|
|
11892
|
+
static readonly runtime: typeof proto3;
|
|
11893
|
+
static readonly typeName = "livekit.UpdateSIPDispatchRuleRequest";
|
|
11894
|
+
static readonly fields: FieldList;
|
|
11895
|
+
|
|
11896
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateSIPDispatchRuleRequest;
|
|
11897
|
+
|
|
11898
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateSIPDispatchRuleRequest;
|
|
11899
|
+
|
|
11900
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateSIPDispatchRuleRequest;
|
|
11901
|
+
|
|
11902
|
+
static equals(a: UpdateSIPDispatchRuleRequest | PlainMessage<UpdateSIPDispatchRuleRequest> | undefined, b: UpdateSIPDispatchRuleRequest | PlainMessage<UpdateSIPDispatchRuleRequest> | undefined): boolean;
|
|
11903
|
+
}
|
|
11904
|
+
|
|
11609
11905
|
/**
|
|
11610
11906
|
* @generated from message livekit.SIPDispatchRuleInfo
|
|
11611
11907
|
*/
|
|
@@ -11701,6 +11997,50 @@ declare class SIPDispatchRuleInfo extends Message<SIPDispatchRuleInfo> {
|
|
|
11701
11997
|
static equals(a: SIPDispatchRuleInfo | PlainMessage<SIPDispatchRuleInfo> | undefined, b: SIPDispatchRuleInfo | PlainMessage<SIPDispatchRuleInfo> | undefined): boolean;
|
|
11702
11998
|
}
|
|
11703
11999
|
|
|
12000
|
+
/**
|
|
12001
|
+
* @generated from message livekit.SIPDispatchRuleUpdate
|
|
12002
|
+
*/
|
|
12003
|
+
declare class SIPDispatchRuleUpdate extends Message<SIPDispatchRuleUpdate> {
|
|
12004
|
+
/**
|
|
12005
|
+
* @generated from field: livekit.ListUpdate trunk_ids = 1;
|
|
12006
|
+
*/
|
|
12007
|
+
trunkIds?: ListUpdate;
|
|
12008
|
+
|
|
12009
|
+
/**
|
|
12010
|
+
* @generated from field: livekit.SIPDispatchRule rule = 2;
|
|
12011
|
+
*/
|
|
12012
|
+
rule?: SIPDispatchRule;
|
|
12013
|
+
|
|
12014
|
+
/**
|
|
12015
|
+
* @generated from field: optional string name = 3;
|
|
12016
|
+
*/
|
|
12017
|
+
name?: string;
|
|
12018
|
+
|
|
12019
|
+
/**
|
|
12020
|
+
* @generated from field: optional string metadata = 4;
|
|
12021
|
+
*/
|
|
12022
|
+
metadata?: string;
|
|
12023
|
+
|
|
12024
|
+
/**
|
|
12025
|
+
* @generated from field: map<string, string> attributes = 5;
|
|
12026
|
+
*/
|
|
12027
|
+
attributes: { [key: string]: string };
|
|
12028
|
+
|
|
12029
|
+
constructor(data?: PartialMessage<SIPDispatchRuleUpdate>);
|
|
12030
|
+
|
|
12031
|
+
static readonly runtime: typeof proto3;
|
|
12032
|
+
static readonly typeName = "livekit.SIPDispatchRuleUpdate";
|
|
12033
|
+
static readonly fields: FieldList;
|
|
12034
|
+
|
|
12035
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SIPDispatchRuleUpdate;
|
|
12036
|
+
|
|
12037
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SIPDispatchRuleUpdate;
|
|
12038
|
+
|
|
12039
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SIPDispatchRuleUpdate;
|
|
12040
|
+
|
|
12041
|
+
static equals(a: SIPDispatchRuleUpdate | PlainMessage<SIPDispatchRuleUpdate> | undefined, b: SIPDispatchRuleUpdate | PlainMessage<SIPDispatchRuleUpdate> | undefined): boolean;
|
|
12042
|
+
}
|
|
12043
|
+
|
|
11704
12044
|
/**
|
|
11705
12045
|
* ListSIPDispatchRuleRequest lists dispatch rules for given filters. If no filters are set, all rules are listed.
|
|
11706
12046
|
*
|
|
@@ -12392,4 +12732,4 @@ declare class WebhookEvent extends Message<WebhookEvent> {
|
|
|
12392
12732
|
|
|
12393
12733
|
declare const version: string;
|
|
12394
12734
|
|
|
12395
|
-
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, 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 };
|
|
12735
|
+
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 };
|