@livekit/protocol 1.42.0 → 1.42.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 +67 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +152 -6
- package/dist/index.d.mts +152 -6
- package/dist/index.d.ts +152 -6
- package/dist/index.mjs +64 -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_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 +37 -0
- package/src/gen/livekit_rtc_pb.js +12 -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
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
// Copyright 2025 LiveKit, Inc.
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
|
|
15
|
+
// @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
|
|
16
|
+
// @generated from file livekit_connector_whatsapp.proto (package livekit, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
// @ts-nocheck
|
|
19
|
+
|
|
20
|
+
import { proto3 } from "@bufbuild/protobuf";
|
|
21
|
+
import { RoomAgentDispatch } from "./livekit_agent_dispatch_pb.js";
|
|
22
|
+
import { SessionDescription } from "./livekit_rtc_pb.js";
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* @generated from enum livekit.WhatsAppCallDirection
|
|
26
|
+
*/
|
|
27
|
+
export const WhatsAppCallDirection = /*@__PURE__*/ proto3.makeEnum(
|
|
28
|
+
"livekit.WhatsAppCallDirection",
|
|
29
|
+
[
|
|
30
|
+
{no: 0, name: "WHATSAPP_CALL_DIRECTION_INBOUND"},
|
|
31
|
+
{no: 2, name: "WHATSAPP_CALL_DIRECTION_OUTBOUND"},
|
|
32
|
+
],
|
|
33
|
+
);
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* @generated from message livekit.DialWhatsAppCallRequest
|
|
37
|
+
*/
|
|
38
|
+
export const DialWhatsAppCallRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
39
|
+
"livekit.DialWhatsAppCallRequest",
|
|
40
|
+
() => [
|
|
41
|
+
{ no: 1, name: "whatsapp_phone_number_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
42
|
+
{ no: 2, name: "whatsapp_to_phone_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
43
|
+
{ no: 3, name: "whatsapp_api_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
44
|
+
{ no: 4, name: "whatsapp_biz_opaque_callback_data", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
45
|
+
{ no: 5, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
46
|
+
{ no: 6, name: "agents", kind: "message", T: RoomAgentDispatch, repeated: true },
|
|
47
|
+
{ no: 7, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
48
|
+
{ no: 8, name: "participant_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
49
|
+
{ no: 9, name: "participant_metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
50
|
+
{ no: 10, name: "participant_attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
51
|
+
{ no: 11, name: "destination_country", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
52
|
+
],
|
|
53
|
+
);
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* @generated from message livekit.DialWhatsAppCallResponse
|
|
57
|
+
*/
|
|
58
|
+
export const DialWhatsAppCallResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
59
|
+
"livekit.DialWhatsAppCallResponse",
|
|
60
|
+
() => [
|
|
61
|
+
{ no: 1, name: "whatsapp_call_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
62
|
+
],
|
|
63
|
+
);
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* @generated from message livekit.DisconnectWhatsAppCallRequest
|
|
67
|
+
*/
|
|
68
|
+
export const DisconnectWhatsAppCallRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
69
|
+
"livekit.DisconnectWhatsAppCallRequest",
|
|
70
|
+
() => [
|
|
71
|
+
{ no: 1, name: "whatsapp_call_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
72
|
+
{ no: 2, name: "whatsapp_api_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
73
|
+
],
|
|
74
|
+
);
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* @generated from message livekit.DisconnectWhatsAppCallResponse
|
|
78
|
+
*/
|
|
79
|
+
export const DisconnectWhatsAppCallResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
80
|
+
"livekit.DisconnectWhatsAppCallResponse",
|
|
81
|
+
[],
|
|
82
|
+
);
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* @generated from message livekit.ConnectWhatsAppCallRequest
|
|
86
|
+
*/
|
|
87
|
+
export const ConnectWhatsAppCallRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
88
|
+
"livekit.ConnectWhatsAppCallRequest",
|
|
89
|
+
() => [
|
|
90
|
+
{ no: 1, name: "whatsapp_phone_number_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
91
|
+
{ no: 2, name: "whatsapp_api_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
92
|
+
{ no: 3, name: "whatsapp_call_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
93
|
+
{ no: 4, name: "sdp", kind: "message", T: SessionDescription },
|
|
94
|
+
],
|
|
95
|
+
);
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* @generated from message livekit.ConnectWhatsAppCallResponse
|
|
99
|
+
*/
|
|
100
|
+
export const ConnectWhatsAppCallResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
101
|
+
"livekit.ConnectWhatsAppCallResponse",
|
|
102
|
+
[],
|
|
103
|
+
);
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* @generated from message livekit.AcceptWhatsAppCallRequest
|
|
107
|
+
*/
|
|
108
|
+
export const AcceptWhatsAppCallRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
109
|
+
"livekit.AcceptWhatsAppCallRequest",
|
|
110
|
+
() => [
|
|
111
|
+
{ no: 1, name: "whatsapp_phone_number_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
112
|
+
{ no: 2, name: "whatsapp_api_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
113
|
+
{ no: 3, name: "whatsapp_call_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
114
|
+
{ no: 4, name: "whatsapp_biz_opaque_callback_data", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
115
|
+
{ no: 5, name: "sdp", kind: "message", T: SessionDescription },
|
|
116
|
+
{ no: 6, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
117
|
+
{ no: 7, name: "agents", kind: "message", T: RoomAgentDispatch, repeated: true },
|
|
118
|
+
{ no: 8, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
119
|
+
{ no: 9, name: "participant_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
120
|
+
{ no: 10, name: "participant_metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
121
|
+
{ no: 11, name: "participant_attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
122
|
+
{ no: 12, name: "destination_country", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
123
|
+
],
|
|
124
|
+
);
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* @generated from message livekit.AcceptWhatsAppCallResponse
|
|
128
|
+
*/
|
|
129
|
+
export const AcceptWhatsAppCallResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
130
|
+
"livekit.AcceptWhatsAppCallResponse",
|
|
131
|
+
[],
|
|
132
|
+
);
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* @generated from message livekit.WhatsAppCall
|
|
136
|
+
*/
|
|
137
|
+
export const WhatsAppCall = /*@__PURE__*/ proto3.makeMessageType(
|
|
138
|
+
"livekit.WhatsAppCall",
|
|
139
|
+
() => [
|
|
140
|
+
{ no: 1, name: "whatsapp_call_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
141
|
+
{ no: 2, name: "direction", kind: "enum", T: proto3.getEnumType(WhatsAppCallDirection) },
|
|
142
|
+
],
|
|
143
|
+
);
|
|
144
|
+
|
|
@@ -966,6 +966,15 @@ export declare enum ParticipantInfo_Kind {
|
|
|
966
966
|
* @generated from enum value: AGENT = 4;
|
|
967
967
|
*/
|
|
968
968
|
AGENT = 4,
|
|
969
|
+
|
|
970
|
+
/**
|
|
971
|
+
* Connectors participants
|
|
972
|
+
*
|
|
973
|
+
* NEXT_ID: 8
|
|
974
|
+
*
|
|
975
|
+
* @generated from enum value: CONNECTOR = 7;
|
|
976
|
+
*/
|
|
977
|
+
CONNECTOR = 7,
|
|
969
978
|
}
|
|
970
979
|
|
|
971
980
|
/**
|
|
@@ -1104,16 +1113,14 @@ export declare class TrackInfo extends Message<TrackInfo> {
|
|
|
1104
1113
|
* original width of video (unset for audio)
|
|
1105
1114
|
* clients may receive a lower resolution version with simulcast
|
|
1106
1115
|
*
|
|
1107
|
-
* @generated from field: uint32 width = 5
|
|
1108
|
-
* @deprecated
|
|
1116
|
+
* @generated from field: uint32 width = 5;
|
|
1109
1117
|
*/
|
|
1110
1118
|
width: number;
|
|
1111
1119
|
|
|
1112
1120
|
/**
|
|
1113
1121
|
* original height of video (unset for audio)
|
|
1114
1122
|
*
|
|
1115
|
-
* @generated from field: uint32 height = 6
|
|
1116
|
-
* @deprecated
|
|
1123
|
+
* @generated from field: uint32 height = 6;
|
|
1117
1124
|
*/
|
|
1118
1125
|
height: number;
|
|
1119
1126
|
|
|
@@ -1483,7 +1490,7 @@ export declare class EncryptedPacket extends Message<EncryptedPacket> {
|
|
|
1483
1490
|
keyIndex: number;
|
|
1484
1491
|
|
|
1485
1492
|
/**
|
|
1486
|
-
* This is an encrypted EncryptedPacketPayload message representation
|
|
1493
|
+
* This is an encrypted EncryptedPacketPayload message representation
|
|
1487
1494
|
*
|
|
1488
1495
|
* @generated from field: bytes encrypted_value = 4;
|
|
1489
1496
|
*/
|
|
@@ -3278,6 +3285,35 @@ export declare class DataStream_Trailer extends Message<DataStream_Trailer> {
|
|
|
3278
3285
|
static equals(a: DataStream_Trailer | PlainMessage<DataStream_Trailer> | undefined, b: DataStream_Trailer | PlainMessage<DataStream_Trailer> | undefined): boolean;
|
|
3279
3286
|
}
|
|
3280
3287
|
|
|
3288
|
+
/**
|
|
3289
|
+
* @generated from message livekit.FilterParams
|
|
3290
|
+
*/
|
|
3291
|
+
export declare class FilterParams extends Message<FilterParams> {
|
|
3292
|
+
/**
|
|
3293
|
+
* @generated from field: repeated string include_events = 1;
|
|
3294
|
+
*/
|
|
3295
|
+
includeEvents: string[];
|
|
3296
|
+
|
|
3297
|
+
/**
|
|
3298
|
+
* @generated from field: repeated string exclude_events = 2;
|
|
3299
|
+
*/
|
|
3300
|
+
excludeEvents: string[];
|
|
3301
|
+
|
|
3302
|
+
constructor(data?: PartialMessage<FilterParams>);
|
|
3303
|
+
|
|
3304
|
+
static readonly runtime: typeof proto3;
|
|
3305
|
+
static readonly typeName = "livekit.FilterParams";
|
|
3306
|
+
static readonly fields: FieldList;
|
|
3307
|
+
|
|
3308
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FilterParams;
|
|
3309
|
+
|
|
3310
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FilterParams;
|
|
3311
|
+
|
|
3312
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FilterParams;
|
|
3313
|
+
|
|
3314
|
+
static equals(a: FilterParams | PlainMessage<FilterParams> | undefined, b: FilterParams | PlainMessage<FilterParams> | undefined): boolean;
|
|
3315
|
+
}
|
|
3316
|
+
|
|
3281
3317
|
/**
|
|
3282
3318
|
* @generated from message livekit.WebhookConfig
|
|
3283
3319
|
*/
|
|
@@ -3292,6 +3328,11 @@ export declare class WebhookConfig extends Message<WebhookConfig> {
|
|
|
3292
3328
|
*/
|
|
3293
3329
|
signingKey: string;
|
|
3294
3330
|
|
|
3331
|
+
/**
|
|
3332
|
+
* @generated from field: livekit.FilterParams filter_params = 3;
|
|
3333
|
+
*/
|
|
3334
|
+
filterParams?: FilterParams;
|
|
3335
|
+
|
|
3295
3336
|
constructor(data?: PartialMessage<WebhookConfig>);
|
|
3296
3337
|
|
|
3297
3338
|
static readonly runtime: typeof proto3;
|
|
@@ -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
|
|
|
@@ -439,6 +439,14 @@ export declare class SignalResponse extends Message<SignalResponse> {
|
|
|
439
439
|
*/
|
|
440
440
|
value: SubscribedAudioCodecUpdate;
|
|
441
441
|
case: "subscribedAudioCodecUpdate";
|
|
442
|
+
} | {
|
|
443
|
+
/**
|
|
444
|
+
* sent when server answers publisher, includes the mid -> trackID mapping
|
|
445
|
+
*
|
|
446
|
+
* @generated from field: livekit.MappedSessionDescription mapped_answer = 27;
|
|
447
|
+
*/
|
|
448
|
+
value: MappedSessionDescription;
|
|
449
|
+
case: "mappedAnswer";
|
|
442
450
|
} | { case: undefined; value?: undefined };
|
|
443
451
|
|
|
444
452
|
constructor(data?: PartialMessage<SignalResponse>);
|
|
@@ -918,6 +926,35 @@ export declare class SessionDescription extends Message<SessionDescription> {
|
|
|
918
926
|
static equals(a: SessionDescription | PlainMessage<SessionDescription> | undefined, b: SessionDescription | PlainMessage<SessionDescription> | undefined): boolean;
|
|
919
927
|
}
|
|
920
928
|
|
|
929
|
+
/**
|
|
930
|
+
* @generated from message livekit.MappedSessionDescription
|
|
931
|
+
*/
|
|
932
|
+
export declare class MappedSessionDescription extends Message<MappedSessionDescription> {
|
|
933
|
+
/**
|
|
934
|
+
* @generated from field: livekit.SessionDescription session_description = 1;
|
|
935
|
+
*/
|
|
936
|
+
sessionDescription?: SessionDescription;
|
|
937
|
+
|
|
938
|
+
/**
|
|
939
|
+
* @generated from field: map<string, string> mid_to_track_id = 2;
|
|
940
|
+
*/
|
|
941
|
+
midToTrackId: { [key: string]: string };
|
|
942
|
+
|
|
943
|
+
constructor(data?: PartialMessage<MappedSessionDescription>);
|
|
944
|
+
|
|
945
|
+
static readonly runtime: typeof proto3;
|
|
946
|
+
static readonly typeName = "livekit.MappedSessionDescription";
|
|
947
|
+
static readonly fields: FieldList;
|
|
948
|
+
|
|
949
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MappedSessionDescription;
|
|
950
|
+
|
|
951
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MappedSessionDescription;
|
|
952
|
+
|
|
953
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MappedSessionDescription;
|
|
954
|
+
|
|
955
|
+
static equals(a: MappedSessionDescription | PlainMessage<MappedSessionDescription> | undefined, b: MappedSessionDescription | PlainMessage<MappedSessionDescription> | undefined): boolean;
|
|
956
|
+
}
|
|
957
|
+
|
|
921
958
|
/**
|
|
922
959
|
* @generated from message livekit.ParticipantUpdate
|
|
923
960
|
*/
|
|
@@ -111,6 +111,7 @@ export const SignalResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
111
111
|
{ no: 24, name: "room_moved", kind: "message", T: RoomMovedResponse, oneof: "message" },
|
|
112
112
|
{ no: 25, name: "media_sections_requirement", kind: "message", T: MediaSectionsRequirement, oneof: "message" },
|
|
113
113
|
{ no: 26, name: "subscribed_audio_codec_update", kind: "message", T: SubscribedAudioCodecUpdate, oneof: "message" },
|
|
114
|
+
{ no: 27, name: "mapped_answer", kind: "message", T: MappedSessionDescription, oneof: "message" },
|
|
114
115
|
],
|
|
115
116
|
);
|
|
116
117
|
|
|
@@ -246,6 +247,17 @@ export const SessionDescription = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
246
247
|
],
|
|
247
248
|
);
|
|
248
249
|
|
|
250
|
+
/**
|
|
251
|
+
* @generated from message livekit.MappedSessionDescription
|
|
252
|
+
*/
|
|
253
|
+
export const MappedSessionDescription = /*@__PURE__*/ proto3.makeMessageType(
|
|
254
|
+
"livekit.MappedSessionDescription",
|
|
255
|
+
() => [
|
|
256
|
+
{ no: 1, name: "session_description", kind: "message", T: SessionDescription },
|
|
257
|
+
{ no: 2, name: "mid_to_track_id", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
258
|
+
],
|
|
259
|
+
);
|
|
260
|
+
|
|
249
261
|
/**
|
|
250
262
|
* @generated from message livekit.ParticipantUpdate
|
|
251
263
|
*/
|
|
@@ -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.1';
|