@livekit/protocol 1.42.0 → 1.42.2
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 +59 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +120 -6
- package/dist/index.d.mts +120 -6
- package/dist/index.d.ts +120 -6
- package/dist/index.mjs +57 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/gen/livekit_agent_pb.d.ts +5 -0
- package/src/gen/livekit_agent_pb.js +1 -0
- package/src/gen/livekit_cloud_agent_pb.d.ts +54 -0
- package/src/gen/livekit_cloud_agent_pb.js +16 -0
- package/src/gen/livekit_connector_twilio_pb.d.ts +139 -0
- package/src/gen/livekit_connector_twilio_pb.js +60 -0
- package/src/gen/livekit_connector_whatsapp_pb.d.ts +434 -0
- package/src/gen/livekit_connector_whatsapp_pb.js +144 -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 +46 -5
- package/src/gen/livekit_models_pb.js +13 -0
- package/src/gen/livekit_rtc_pb.d.ts +5 -0
- package/src/gen/livekit_rtc_pb.js +1 -0
- package/src/gen/livekit_sip_pb.d.ts +63 -0
- package/src/gen/livekit_sip_pb.js +25 -0
- package/src/gen/version.js +1 -1
|
@@ -352,6 +352,7 @@ export const ParticipantInfo_Kind = /*@__PURE__*/ proto3.makeEnum(
|
|
|
352
352
|
{no: 2, name: "EGRESS"},
|
|
353
353
|
{no: 3, name: "SIP"},
|
|
354
354
|
{no: 4, name: "AGENT"},
|
|
355
|
+
{no: 7, name: "CONNECTOR"},
|
|
355
356
|
],
|
|
356
357
|
);
|
|
357
358
|
|
|
@@ -1046,6 +1047,17 @@ export const DataStream_Trailer = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
1046
1047
|
{localName: "DataStream_Trailer"},
|
|
1047
1048
|
);
|
|
1048
1049
|
|
|
1050
|
+
/**
|
|
1051
|
+
* @generated from message livekit.FilterParams
|
|
1052
|
+
*/
|
|
1053
|
+
export const FilterParams = /*@__PURE__*/ proto3.makeMessageType(
|
|
1054
|
+
"livekit.FilterParams",
|
|
1055
|
+
() => [
|
|
1056
|
+
{ no: 1, name: "include_events", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
1057
|
+
{ no: 2, name: "exclude_events", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
1058
|
+
],
|
|
1059
|
+
);
|
|
1060
|
+
|
|
1049
1061
|
/**
|
|
1050
1062
|
* @generated from message livekit.WebhookConfig
|
|
1051
1063
|
*/
|
|
@@ -1054,6 +1066,7 @@ export const WebhookConfig = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
1054
1066
|
() => [
|
|
1055
1067
|
{ no: 1, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1056
1068
|
{ no: 2, name: "signing_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1069
|
+
{ no: 3, name: "filter_params", kind: "message", T: FilterParams },
|
|
1057
1070
|
],
|
|
1058
1071
|
);
|
|
1059
1072
|
|
|
@@ -903,6 +903,11 @@ export declare class SessionDescription extends Message<SessionDescription> {
|
|
|
903
903
|
*/
|
|
904
904
|
id: number;
|
|
905
905
|
|
|
906
|
+
/**
|
|
907
|
+
* @generated from field: map<string, string> mid_to_track_id = 4;
|
|
908
|
+
*/
|
|
909
|
+
midToTrackId: { [key: string]: string };
|
|
910
|
+
|
|
906
911
|
constructor(data?: PartialMessage<SessionDescription>);
|
|
907
912
|
|
|
908
913
|
static readonly runtime: typeof proto3;
|
|
@@ -243,6 +243,7 @@ export const SessionDescription = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
243
243
|
{ no: 1, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
244
244
|
{ no: 2, name: "sdp", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
245
245
|
{ no: 3, name: "id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
246
|
+
{ no: 4, name: "mid_to_track_id", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
246
247
|
],
|
|
247
248
|
);
|
|
248
249
|
|
|
@@ -349,6 +349,30 @@ export declare enum SIPMediaEncryption {
|
|
|
349
349
|
SIP_MEDIA_ENCRYPT_REQUIRE = 2,
|
|
350
350
|
}
|
|
351
351
|
|
|
352
|
+
/**
|
|
353
|
+
* @generated from enum livekit.ProviderType
|
|
354
|
+
*/
|
|
355
|
+
export declare enum ProviderType {
|
|
356
|
+
/**
|
|
357
|
+
* @generated from enum value: PROVIDER_TYPE_UNKNOWN = 0;
|
|
358
|
+
*/
|
|
359
|
+
UNKNOWN = 0,
|
|
360
|
+
|
|
361
|
+
/**
|
|
362
|
+
* Internally implemented
|
|
363
|
+
*
|
|
364
|
+
* @generated from enum value: PROVIDER_TYPE_INTERNAL = 1;
|
|
365
|
+
*/
|
|
366
|
+
INTERNAL = 1,
|
|
367
|
+
|
|
368
|
+
/**
|
|
369
|
+
* Vendor provided
|
|
370
|
+
*
|
|
371
|
+
* @generated from enum value: PROVIDER_TYPE_EXTERNAL = 2;
|
|
372
|
+
*/
|
|
373
|
+
EXTERNAL = 2,
|
|
374
|
+
}
|
|
375
|
+
|
|
352
376
|
/**
|
|
353
377
|
* @generated from enum livekit.SIPCallStatus
|
|
354
378
|
*/
|
|
@@ -569,6 +593,40 @@ export declare class CreateSIPTrunkRequest extends Message<CreateSIPTrunkRequest
|
|
|
569
593
|
static equals(a: CreateSIPTrunkRequest | PlainMessage<CreateSIPTrunkRequest> | undefined, b: CreateSIPTrunkRequest | PlainMessage<CreateSIPTrunkRequest> | undefined): boolean;
|
|
570
594
|
}
|
|
571
595
|
|
|
596
|
+
/**
|
|
597
|
+
* @generated from message livekit.ProviderInfo
|
|
598
|
+
*/
|
|
599
|
+
export declare class ProviderInfo extends Message<ProviderInfo> {
|
|
600
|
+
/**
|
|
601
|
+
* @generated from field: string id = 1;
|
|
602
|
+
*/
|
|
603
|
+
id: string;
|
|
604
|
+
|
|
605
|
+
/**
|
|
606
|
+
* @generated from field: string name = 2;
|
|
607
|
+
*/
|
|
608
|
+
name: string;
|
|
609
|
+
|
|
610
|
+
/**
|
|
611
|
+
* @generated from field: livekit.ProviderType type = 3;
|
|
612
|
+
*/
|
|
613
|
+
type: ProviderType;
|
|
614
|
+
|
|
615
|
+
constructor(data?: PartialMessage<ProviderInfo>);
|
|
616
|
+
|
|
617
|
+
static readonly runtime: typeof proto3;
|
|
618
|
+
static readonly typeName = "livekit.ProviderInfo";
|
|
619
|
+
static readonly fields: FieldList;
|
|
620
|
+
|
|
621
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ProviderInfo;
|
|
622
|
+
|
|
623
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ProviderInfo;
|
|
624
|
+
|
|
625
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ProviderInfo;
|
|
626
|
+
|
|
627
|
+
static equals(a: ProviderInfo | PlainMessage<ProviderInfo> | undefined, b: ProviderInfo | PlainMessage<ProviderInfo> | undefined): boolean;
|
|
628
|
+
}
|
|
629
|
+
|
|
572
630
|
/**
|
|
573
631
|
* @generated from message livekit.SIPTrunkInfo
|
|
574
632
|
* @deprecated
|
|
@@ -2521,6 +2579,11 @@ export declare class SIPCallInfo extends Message<SIPCallInfo> {
|
|
|
2521
2579
|
*/
|
|
2522
2580
|
callContext: Any[];
|
|
2523
2581
|
|
|
2582
|
+
/**
|
|
2583
|
+
* @generated from field: livekit.ProviderInfo provider_info = 27;
|
|
2584
|
+
*/
|
|
2585
|
+
providerInfo?: ProviderInfo;
|
|
2586
|
+
|
|
2524
2587
|
constructor(data?: PartialMessage<SIPCallInfo>);
|
|
2525
2588
|
|
|
2526
2589
|
static readonly runtime: typeof proto3;
|
|
@@ -116,6 +116,18 @@ export const SIPMediaEncryption = /*@__PURE__*/ proto3.makeEnum(
|
|
|
116
116
|
],
|
|
117
117
|
);
|
|
118
118
|
|
|
119
|
+
/**
|
|
120
|
+
* @generated from enum livekit.ProviderType
|
|
121
|
+
*/
|
|
122
|
+
export const ProviderType = /*@__PURE__*/ proto3.makeEnum(
|
|
123
|
+
"livekit.ProviderType",
|
|
124
|
+
[
|
|
125
|
+
{no: 0, name: "PROVIDER_TYPE_UNKNOWN", localName: "UNKNOWN"},
|
|
126
|
+
{no: 1, name: "PROVIDER_TYPE_INTERNAL", localName: "INTERNAL"},
|
|
127
|
+
{no: 2, name: "PROVIDER_TYPE_EXTERNAL", localName: "EXTERNAL"},
|
|
128
|
+
],
|
|
129
|
+
);
|
|
130
|
+
|
|
119
131
|
/**
|
|
120
132
|
* @generated from enum livekit.SIPCallStatus
|
|
121
133
|
*/
|
|
@@ -199,6 +211,18 @@ export const CreateSIPTrunkRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
199
211
|
],
|
|
200
212
|
);
|
|
201
213
|
|
|
214
|
+
/**
|
|
215
|
+
* @generated from message livekit.ProviderInfo
|
|
216
|
+
*/
|
|
217
|
+
export const ProviderInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
218
|
+
"livekit.ProviderInfo",
|
|
219
|
+
() => [
|
|
220
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
221
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
222
|
+
{ no: 3, name: "type", kind: "enum", T: proto3.getEnumType(ProviderType) },
|
|
223
|
+
],
|
|
224
|
+
);
|
|
225
|
+
|
|
202
226
|
/**
|
|
203
227
|
* @generated from message livekit.SIPTrunkInfo
|
|
204
228
|
* @deprecated
|
|
@@ -738,6 +762,7 @@ export const SIPCallInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
738
762
|
{ no: 21, name: "media_encryption", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
739
763
|
{ no: 25, name: "pcap_file_link", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
740
764
|
{ no: 26, name: "call_context", kind: "message", T: Any, repeated: true },
|
|
765
|
+
{ no: 27, name: "provider_info", kind: "message", T: ProviderInfo },
|
|
741
766
|
],
|
|
742
767
|
);
|
|
743
768
|
|
package/src/gen/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by genversion.
|
|
2
|
-
export const version = '1.42.
|
|
2
|
+
export const version = '1.42.2';
|