@livekit/protocol 1.43.2 → 1.44.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.cjs +328 -15
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +668 -9
- package/dist/index.d.mts +668 -9
- package/dist/index.d.ts +668 -9
- package/dist/index.mjs +313 -16
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -1
- package/src/gen/livekit_agent_dispatch_pb.d.ts +1 -1
- package/src/gen/livekit_agent_pb.d.ts +134 -0
- package/src/gen/livekit_agent_pb.js +41 -0
- package/src/gen/livekit_analytics_pb.d.ts +13 -1
- package/src/gen/livekit_analytics_pb.js +2 -0
- package/src/gen/livekit_cloud_agent_pb.d.ts +64 -0
- package/src/gen/livekit_cloud_agent_pb.js +26 -0
- package/src/gen/livekit_connector_twilio_pb.d.ts +1 -0
- package/src/gen/livekit_connector_whatsapp_pb.d.ts +37 -3
- package/src/gen/livekit_connector_whatsapp_pb.js +12 -0
- package/src/gen/livekit_internal_pb.d.ts +35 -0
- package/src/gen/livekit_internal_pb.js +7 -0
- package/src/gen/livekit_metrics_pb.d.ts +5 -0
- package/src/gen/livekit_metrics_pb.js +1 -0
- package/src/gen/livekit_models_pb.d.ts +144 -2
- package/src/gen/livekit_models_pb.js +49 -0
- package/src/gen/livekit_phone_number_pb.d.ts +24 -2
- package/src/gen/livekit_phone_number_pb.js +3 -0
- package/src/gen/livekit_rtc_pb.d.ts +332 -1
- package/src/gen/livekit_rtc_pb.js +103 -1
- package/src/gen/livekit_sip_pb.d.ts +14 -2
- package/src/gen/livekit_sip_pb.js +2 -0
- package/src/gen/version.js +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -801,6 +801,11 @@ declare class MetricsRecordingHeader extends Message<MetricsRecordingHeader> {
|
|
|
801
801
|
*/
|
|
802
802
|
startTime?: Timestamp;
|
|
803
803
|
|
|
804
|
+
/**
|
|
805
|
+
* @generated from field: map<string, string> room_tags = 5;
|
|
806
|
+
*/
|
|
807
|
+
roomTags: { [key: string]: string };
|
|
808
|
+
|
|
804
809
|
constructor(data?: PartialMessage<MetricsRecordingHeader>);
|
|
805
810
|
|
|
806
811
|
static readonly runtime: typeof proto3;
|
|
@@ -981,6 +986,21 @@ declare enum TrackSource {
|
|
|
981
986
|
SCREEN_SHARE_AUDIO = 4,
|
|
982
987
|
}
|
|
983
988
|
|
|
989
|
+
/**
|
|
990
|
+
* @generated from enum livekit.DataTrackExtensionID
|
|
991
|
+
*/
|
|
992
|
+
declare enum DataTrackExtensionID {
|
|
993
|
+
/**
|
|
994
|
+
* @generated from enum value: DTEI_INVALID = 0;
|
|
995
|
+
*/
|
|
996
|
+
DTEI_INVALID = 0,
|
|
997
|
+
|
|
998
|
+
/**
|
|
999
|
+
* @generated from enum value: DTEI_PARTICIPANT_SID = 1;
|
|
1000
|
+
*/
|
|
1001
|
+
DTEI_PARTICIPANT_SID = 1,
|
|
1002
|
+
}
|
|
1003
|
+
|
|
984
1004
|
/**
|
|
985
1005
|
* @generated from enum livekit.VideoQuality
|
|
986
1006
|
*/
|
|
@@ -1691,6 +1711,11 @@ declare class ParticipantInfo extends Message<ParticipantInfo> {
|
|
|
1691
1711
|
*/
|
|
1692
1712
|
kindDetails: ParticipantInfo_KindDetail[];
|
|
1693
1713
|
|
|
1714
|
+
/**
|
|
1715
|
+
* @generated from field: repeated livekit.DataTrackInfo data_tracks = 19;
|
|
1716
|
+
*/
|
|
1717
|
+
dataTracks: DataTrackInfo[];
|
|
1718
|
+
|
|
1694
1719
|
constructor(data?: PartialMessage<ParticipantInfo>);
|
|
1695
1720
|
|
|
1696
1721
|
static readonly runtime: typeof proto3;
|
|
@@ -1781,11 +1806,18 @@ declare enum ParticipantInfo_Kind {
|
|
|
1781
1806
|
/**
|
|
1782
1807
|
* Connectors participants
|
|
1783
1808
|
*
|
|
1784
|
-
* NEXT_ID: 8
|
|
1785
|
-
*
|
|
1786
1809
|
* @generated from enum value: CONNECTOR = 7;
|
|
1787
1810
|
*/
|
|
1788
1811
|
CONNECTOR = 7,
|
|
1812
|
+
|
|
1813
|
+
/**
|
|
1814
|
+
* Bridge participants
|
|
1815
|
+
*
|
|
1816
|
+
* NEXT_ID: 9
|
|
1817
|
+
*
|
|
1818
|
+
* @generated from enum value: BRIDGE = 8;
|
|
1819
|
+
*/
|
|
1820
|
+
BRIDGE = 8,
|
|
1789
1821
|
}
|
|
1790
1822
|
|
|
1791
1823
|
/**
|
|
@@ -1811,6 +1843,13 @@ declare enum ParticipantInfo_KindDetail {
|
|
|
1811
1843
|
* @generated from enum value: CONNECTOR_TWILIO = 3;
|
|
1812
1844
|
*/
|
|
1813
1845
|
CONNECTOR_TWILIO = 3,
|
|
1846
|
+
|
|
1847
|
+
/**
|
|
1848
|
+
* NEXT_ID: 5
|
|
1849
|
+
*
|
|
1850
|
+
* @generated from enum value: BRIDGE_RTSP = 4;
|
|
1851
|
+
*/
|
|
1852
|
+
BRIDGE_RTSP = 4,
|
|
1814
1853
|
}
|
|
1815
1854
|
|
|
1816
1855
|
/**
|
|
@@ -2052,6 +2091,109 @@ declare class TrackInfo extends Message<TrackInfo> {
|
|
|
2052
2091
|
static equals(a: TrackInfo | PlainMessage<TrackInfo> | undefined, b: TrackInfo | PlainMessage<TrackInfo> | undefined): boolean;
|
|
2053
2092
|
}
|
|
2054
2093
|
|
|
2094
|
+
/**
|
|
2095
|
+
* @generated from message livekit.DataTrackInfo
|
|
2096
|
+
*/
|
|
2097
|
+
declare class DataTrackInfo extends Message<DataTrackInfo> {
|
|
2098
|
+
/**
|
|
2099
|
+
* Client-assigned, 16-bit identifier that will be attached to packets sent by the publisher.
|
|
2100
|
+
*
|
|
2101
|
+
* @generated from field: uint32 pub_handle = 1;
|
|
2102
|
+
*/
|
|
2103
|
+
pubHandle: number;
|
|
2104
|
+
|
|
2105
|
+
/**
|
|
2106
|
+
* Server-assigned track identifier.
|
|
2107
|
+
*
|
|
2108
|
+
* @generated from field: string sid = 2;
|
|
2109
|
+
*/
|
|
2110
|
+
sid: string;
|
|
2111
|
+
|
|
2112
|
+
/**
|
|
2113
|
+
* Human-readable identifier (e.g., `geoLocation`, `servoPosition.x`, etc.), unique per publisher.
|
|
2114
|
+
*
|
|
2115
|
+
* @generated from field: string name = 3;
|
|
2116
|
+
*/
|
|
2117
|
+
name: string;
|
|
2118
|
+
|
|
2119
|
+
/**
|
|
2120
|
+
* Method used for end-to-end encryption (E2EE) on packet payloads.
|
|
2121
|
+
*
|
|
2122
|
+
* @generated from field: livekit.Encryption.Type encryption = 4;
|
|
2123
|
+
*/
|
|
2124
|
+
encryption: Encryption_Type;
|
|
2125
|
+
|
|
2126
|
+
constructor(data?: PartialMessage<DataTrackInfo>);
|
|
2127
|
+
|
|
2128
|
+
static readonly runtime: typeof proto3;
|
|
2129
|
+
static readonly typeName = "livekit.DataTrackInfo";
|
|
2130
|
+
static readonly fields: FieldList;
|
|
2131
|
+
|
|
2132
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DataTrackInfo;
|
|
2133
|
+
|
|
2134
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DataTrackInfo;
|
|
2135
|
+
|
|
2136
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DataTrackInfo;
|
|
2137
|
+
|
|
2138
|
+
static equals(a: DataTrackInfo | PlainMessage<DataTrackInfo> | undefined, b: DataTrackInfo | PlainMessage<DataTrackInfo> | undefined): boolean;
|
|
2139
|
+
}
|
|
2140
|
+
|
|
2141
|
+
/**
|
|
2142
|
+
* @generated from message livekit.DataTrackExtensionParticipantSid
|
|
2143
|
+
*/
|
|
2144
|
+
declare class DataTrackExtensionParticipantSid extends Message<DataTrackExtensionParticipantSid> {
|
|
2145
|
+
/**
|
|
2146
|
+
* @generated from field: livekit.DataTrackExtensionID id = 1;
|
|
2147
|
+
*/
|
|
2148
|
+
id: DataTrackExtensionID;
|
|
2149
|
+
|
|
2150
|
+
/**
|
|
2151
|
+
* @generated from field: string participant_sid = 2;
|
|
2152
|
+
*/
|
|
2153
|
+
participantSid: string;
|
|
2154
|
+
|
|
2155
|
+
constructor(data?: PartialMessage<DataTrackExtensionParticipantSid>);
|
|
2156
|
+
|
|
2157
|
+
static readonly runtime: typeof proto3;
|
|
2158
|
+
static readonly typeName = "livekit.DataTrackExtensionParticipantSid";
|
|
2159
|
+
static readonly fields: FieldList;
|
|
2160
|
+
|
|
2161
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DataTrackExtensionParticipantSid;
|
|
2162
|
+
|
|
2163
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DataTrackExtensionParticipantSid;
|
|
2164
|
+
|
|
2165
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DataTrackExtensionParticipantSid;
|
|
2166
|
+
|
|
2167
|
+
static equals(a: DataTrackExtensionParticipantSid | PlainMessage<DataTrackExtensionParticipantSid> | undefined, b: DataTrackExtensionParticipantSid | PlainMessage<DataTrackExtensionParticipantSid> | undefined): boolean;
|
|
2168
|
+
}
|
|
2169
|
+
|
|
2170
|
+
/**
|
|
2171
|
+
* @generated from message livekit.DataTrackSubscriptionOptions
|
|
2172
|
+
*/
|
|
2173
|
+
declare class DataTrackSubscriptionOptions extends Message<DataTrackSubscriptionOptions> {
|
|
2174
|
+
/**
|
|
2175
|
+
* Rate in frames per second (FPS) the subscriber wants to receive frames at.
|
|
2176
|
+
* If omitted, the subscriber defaults to the publisher's fps
|
|
2177
|
+
*
|
|
2178
|
+
* @generated from field: optional uint32 target_fps = 1;
|
|
2179
|
+
*/
|
|
2180
|
+
targetFps?: number;
|
|
2181
|
+
|
|
2182
|
+
constructor(data?: PartialMessage<DataTrackSubscriptionOptions>);
|
|
2183
|
+
|
|
2184
|
+
static readonly runtime: typeof proto3;
|
|
2185
|
+
static readonly typeName = "livekit.DataTrackSubscriptionOptions";
|
|
2186
|
+
static readonly fields: FieldList;
|
|
2187
|
+
|
|
2188
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DataTrackSubscriptionOptions;
|
|
2189
|
+
|
|
2190
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DataTrackSubscriptionOptions;
|
|
2191
|
+
|
|
2192
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DataTrackSubscriptionOptions;
|
|
2193
|
+
|
|
2194
|
+
static equals(a: DataTrackSubscriptionOptions | PlainMessage<DataTrackSubscriptionOptions> | undefined, b: DataTrackSubscriptionOptions | PlainMessage<DataTrackSubscriptionOptions> | undefined): boolean;
|
|
2195
|
+
}
|
|
2196
|
+
|
|
2055
2197
|
/**
|
|
2056
2198
|
* provide information about available spatial layers
|
|
2057
2199
|
*
|
|
@@ -2097,6 +2239,11 @@ declare class VideoLayer extends Message<VideoLayer> {
|
|
|
2097
2239
|
*/
|
|
2098
2240
|
rid: string;
|
|
2099
2241
|
|
|
2242
|
+
/**
|
|
2243
|
+
* @generated from field: uint32 repair_ssrc = 8;
|
|
2244
|
+
*/
|
|
2245
|
+
repairSsrc: number;
|
|
2246
|
+
|
|
2100
2247
|
constructor(data?: PartialMessage<VideoLayer>);
|
|
2101
2248
|
|
|
2102
2249
|
static readonly runtime: typeof proto3;
|
|
@@ -4462,6 +4609,18 @@ declare class WorkerMessage extends Message<WorkerMessage> {
|
|
|
4462
4609
|
*/
|
|
4463
4610
|
value: MigrateJobRequest;
|
|
4464
4611
|
case: "migrateJob";
|
|
4612
|
+
} | {
|
|
4613
|
+
/**
|
|
4614
|
+
* @generated from field: livekit.TextMessageResponse text_response = 8;
|
|
4615
|
+
*/
|
|
4616
|
+
value: TextMessageResponse;
|
|
4617
|
+
case: "textResponse";
|
|
4618
|
+
} | {
|
|
4619
|
+
/**
|
|
4620
|
+
* @generated from field: livekit.PushTextRequest push_text = 9;
|
|
4621
|
+
*/
|
|
4622
|
+
value: PushTextRequest;
|
|
4623
|
+
case: "pushText";
|
|
4465
4624
|
} | { case: undefined; value?: undefined };
|
|
4466
4625
|
|
|
4467
4626
|
constructor(data?: PartialMessage<WorkerMessage>);
|
|
@@ -4522,6 +4681,12 @@ declare class ServerMessage extends Message<ServerMessage> {
|
|
|
4522
4681
|
*/
|
|
4523
4682
|
value: WorkerPong;
|
|
4524
4683
|
case: "pong";
|
|
4684
|
+
} | {
|
|
4685
|
+
/**
|
|
4686
|
+
* @generated from field: livekit.TextMessageRequest text_request = 6;
|
|
4687
|
+
*/
|
|
4688
|
+
value: TextMessageRequest;
|
|
4689
|
+
case: "textRequest";
|
|
4525
4690
|
} | { case: undefined; value?: undefined };
|
|
4526
4691
|
|
|
4527
4692
|
constructor(data?: PartialMessage<ServerMessage>);
|
|
@@ -4959,6 +5124,122 @@ declare class JobTermination extends Message<JobTermination> {
|
|
|
4959
5124
|
static equals(a: JobTermination | PlainMessage<JobTermination> | undefined, b: JobTermination | PlainMessage<JobTermination> | undefined): boolean;
|
|
4960
5125
|
}
|
|
4961
5126
|
|
|
5127
|
+
/**
|
|
5128
|
+
* @generated from message livekit.TextMessageRequest
|
|
5129
|
+
*/
|
|
5130
|
+
declare class TextMessageRequest extends Message<TextMessageRequest> {
|
|
5131
|
+
/**
|
|
5132
|
+
* @generated from field: string message_id = 1;
|
|
5133
|
+
*/
|
|
5134
|
+
messageId: string;
|
|
5135
|
+
|
|
5136
|
+
/**
|
|
5137
|
+
* @generated from field: string session_id = 2;
|
|
5138
|
+
*/
|
|
5139
|
+
sessionId: string;
|
|
5140
|
+
|
|
5141
|
+
/**
|
|
5142
|
+
* @generated from field: string agent_name = 3;
|
|
5143
|
+
*/
|
|
5144
|
+
agentName: string;
|
|
5145
|
+
|
|
5146
|
+
/**
|
|
5147
|
+
* @generated from field: string metadata = 4;
|
|
5148
|
+
*/
|
|
5149
|
+
metadata: string;
|
|
5150
|
+
|
|
5151
|
+
/**
|
|
5152
|
+
* @generated from field: bytes session_data = 5;
|
|
5153
|
+
*/
|
|
5154
|
+
sessionData: Uint8Array;
|
|
5155
|
+
|
|
5156
|
+
/**
|
|
5157
|
+
* @generated from field: string text = 6;
|
|
5158
|
+
*/
|
|
5159
|
+
text: string;
|
|
5160
|
+
|
|
5161
|
+
constructor(data?: PartialMessage<TextMessageRequest>);
|
|
5162
|
+
|
|
5163
|
+
static readonly runtime: typeof proto3;
|
|
5164
|
+
static readonly typeName = "livekit.TextMessageRequest";
|
|
5165
|
+
static readonly fields: FieldList;
|
|
5166
|
+
|
|
5167
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TextMessageRequest;
|
|
5168
|
+
|
|
5169
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TextMessageRequest;
|
|
5170
|
+
|
|
5171
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TextMessageRequest;
|
|
5172
|
+
|
|
5173
|
+
static equals(a: TextMessageRequest | PlainMessage<TextMessageRequest> | undefined, b: TextMessageRequest | PlainMessage<TextMessageRequest> | undefined): boolean;
|
|
5174
|
+
}
|
|
5175
|
+
|
|
5176
|
+
/**
|
|
5177
|
+
* @generated from message livekit.PushTextRequest
|
|
5178
|
+
*/
|
|
5179
|
+
declare class PushTextRequest extends Message<PushTextRequest> {
|
|
5180
|
+
/**
|
|
5181
|
+
* The message_id of the TextMessageRequest that this push is for
|
|
5182
|
+
*
|
|
5183
|
+
* @generated from field: string message_id = 1;
|
|
5184
|
+
*/
|
|
5185
|
+
messageId: string;
|
|
5186
|
+
|
|
5187
|
+
/**
|
|
5188
|
+
* @generated from field: string content = 2;
|
|
5189
|
+
*/
|
|
5190
|
+
content: string;
|
|
5191
|
+
|
|
5192
|
+
constructor(data?: PartialMessage<PushTextRequest>);
|
|
5193
|
+
|
|
5194
|
+
static readonly runtime: typeof proto3;
|
|
5195
|
+
static readonly typeName = "livekit.PushTextRequest";
|
|
5196
|
+
static readonly fields: FieldList;
|
|
5197
|
+
|
|
5198
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PushTextRequest;
|
|
5199
|
+
|
|
5200
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PushTextRequest;
|
|
5201
|
+
|
|
5202
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PushTextRequest;
|
|
5203
|
+
|
|
5204
|
+
static equals(a: PushTextRequest | PlainMessage<PushTextRequest> | undefined, b: PushTextRequest | PlainMessage<PushTextRequest> | undefined): boolean;
|
|
5205
|
+
}
|
|
5206
|
+
|
|
5207
|
+
/**
|
|
5208
|
+
* @generated from message livekit.TextMessageResponse
|
|
5209
|
+
*/
|
|
5210
|
+
declare class TextMessageResponse extends Message<TextMessageResponse> {
|
|
5211
|
+
/**
|
|
5212
|
+
* Indicate the request is completed
|
|
5213
|
+
*
|
|
5214
|
+
* @generated from field: string message_id = 1;
|
|
5215
|
+
*/
|
|
5216
|
+
messageId: string;
|
|
5217
|
+
|
|
5218
|
+
/**
|
|
5219
|
+
* @generated from field: bytes session_data = 2;
|
|
5220
|
+
*/
|
|
5221
|
+
sessionData: Uint8Array;
|
|
5222
|
+
|
|
5223
|
+
/**
|
|
5224
|
+
* @generated from field: string error = 3;
|
|
5225
|
+
*/
|
|
5226
|
+
error: string;
|
|
5227
|
+
|
|
5228
|
+
constructor(data?: PartialMessage<TextMessageResponse>);
|
|
5229
|
+
|
|
5230
|
+
static readonly runtime: typeof proto3;
|
|
5231
|
+
static readonly typeName = "livekit.TextMessageResponse";
|
|
5232
|
+
static readonly fields: FieldList;
|
|
5233
|
+
|
|
5234
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TextMessageResponse;
|
|
5235
|
+
|
|
5236
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TextMessageResponse;
|
|
5237
|
+
|
|
5238
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TextMessageResponse;
|
|
5239
|
+
|
|
5240
|
+
static equals(a: TextMessageResponse | PlainMessage<TextMessageResponse> | undefined, b: TextMessageResponse | PlainMessage<TextMessageResponse> | undefined): boolean;
|
|
5241
|
+
}
|
|
5242
|
+
|
|
4962
5243
|
// Copyright 2023 LiveKit, Inc.
|
|
4963
5244
|
//
|
|
4964
5245
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -5173,7 +5454,7 @@ declare class AgentDispatch extends Message<AgentDispatch> {
|
|
|
5173
5454
|
*/
|
|
5174
5455
|
declare class AgentDispatchState extends Message<AgentDispatchState> {
|
|
5175
5456
|
/**
|
|
5176
|
-
* For dispatches of tyoe JT_ROOM, there will be at most 1 job.
|
|
5457
|
+
* For dispatches of tyoe JT_ROOM, there will be at most 1 job.
|
|
5177
5458
|
* For dispatches of type JT_PUBLISHER, there will be 1 per publisher.
|
|
5178
5459
|
*
|
|
5179
5460
|
* @generated from field: repeated livekit.Job jobs = 1;
|
|
@@ -5287,6 +5568,7 @@ declare class ConnectTwilioCallRequest extends Message<ConnectTwilioCallRequest>
|
|
|
5287
5568
|
|
|
5288
5569
|
/**
|
|
5289
5570
|
* Optional identity of the participant in LiveKit room
|
|
5571
|
+
* This is used for logging purposes, so it is advised to not put PII in this field.
|
|
5290
5572
|
*
|
|
5291
5573
|
* @generated from field: string participant_identity = 4;
|
|
5292
5574
|
*/
|
|
@@ -5587,6 +5869,30 @@ declare class SignalRequest extends Message<SignalRequest> {
|
|
|
5587
5869
|
*/
|
|
5588
5870
|
value: UpdateLocalVideoTrack;
|
|
5589
5871
|
case: "updateVideoTrack";
|
|
5872
|
+
} | {
|
|
5873
|
+
/**
|
|
5874
|
+
* Publish a data track
|
|
5875
|
+
*
|
|
5876
|
+
* @generated from field: livekit.PublishDataTrackRequest publish_data_track_request = 19;
|
|
5877
|
+
*/
|
|
5878
|
+
value: PublishDataTrackRequest;
|
|
5879
|
+
case: "publishDataTrackRequest";
|
|
5880
|
+
} | {
|
|
5881
|
+
/**
|
|
5882
|
+
* Unpublish a data track
|
|
5883
|
+
*
|
|
5884
|
+
* @generated from field: livekit.UnpublishDataTrackRequest unpublish_data_track_request = 20;
|
|
5885
|
+
*/
|
|
5886
|
+
value: UnpublishDataTrackRequest;
|
|
5887
|
+
case: "unpublishDataTrackRequest";
|
|
5888
|
+
} | {
|
|
5889
|
+
/**
|
|
5890
|
+
* Update subscription state for one or more data tracks
|
|
5891
|
+
*
|
|
5892
|
+
* @generated from field: livekit.UpdateDataSubscription update_data_subscription = 21;
|
|
5893
|
+
*/
|
|
5894
|
+
value: UpdateDataSubscription;
|
|
5895
|
+
case: "updateDataSubscription";
|
|
5590
5896
|
} | { case: undefined; value?: undefined };
|
|
5591
5897
|
|
|
5592
5898
|
constructor(data?: PartialMessage<SignalRequest>);
|
|
@@ -5814,6 +6120,30 @@ declare class SignalResponse extends Message<SignalResponse> {
|
|
|
5814
6120
|
*/
|
|
5815
6121
|
value: SubscribedAudioCodecUpdate;
|
|
5816
6122
|
case: "subscribedAudioCodecUpdate";
|
|
6123
|
+
} | {
|
|
6124
|
+
/**
|
|
6125
|
+
* Sent in response to `PublishDataTrackRequest`.
|
|
6126
|
+
*
|
|
6127
|
+
* @generated from field: livekit.PublishDataTrackResponse publish_data_track_response = 27;
|
|
6128
|
+
*/
|
|
6129
|
+
value: PublishDataTrackResponse;
|
|
6130
|
+
case: "publishDataTrackResponse";
|
|
6131
|
+
} | {
|
|
6132
|
+
/**
|
|
6133
|
+
* Sent in response to `UnpublishDataTrackRequest` or SFU-initiated unpublish.
|
|
6134
|
+
*
|
|
6135
|
+
* @generated from field: livekit.UnpublishDataTrackResponse unpublish_data_track_response = 28;
|
|
6136
|
+
*/
|
|
6137
|
+
value: UnpublishDataTrackResponse;
|
|
6138
|
+
case: "unpublishDataTrackResponse";
|
|
6139
|
+
} | {
|
|
6140
|
+
/**
|
|
6141
|
+
* Sent to data track subscribers to provide mapping from track SIDs to handles.
|
|
6142
|
+
*
|
|
6143
|
+
* @generated from field: livekit.DataTrackSubscriberHandles data_track_subscriber_handles = 29;
|
|
6144
|
+
*/
|
|
6145
|
+
value: DataTrackSubscriberHandles;
|
|
6146
|
+
case: "dataTrackSubscriberHandles";
|
|
5817
6147
|
} | { case: undefined; value?: undefined };
|
|
5818
6148
|
|
|
5819
6149
|
constructor(data?: PartialMessage<SignalResponse>);
|
|
@@ -5993,6 +6323,186 @@ declare class AddTrackRequest extends Message<AddTrackRequest> {
|
|
|
5993
6323
|
static equals(a: AddTrackRequest | PlainMessage<AddTrackRequest> | undefined, b: AddTrackRequest | PlainMessage<AddTrackRequest> | undefined): boolean;
|
|
5994
6324
|
}
|
|
5995
6325
|
|
|
6326
|
+
/**
|
|
6327
|
+
* @generated from message livekit.PublishDataTrackRequest
|
|
6328
|
+
*/
|
|
6329
|
+
declare class PublishDataTrackRequest extends Message<PublishDataTrackRequest> {
|
|
6330
|
+
/**
|
|
6331
|
+
* Client-assigned, 16-bit identifier that will be attached to packets sent by the publisher.
|
|
6332
|
+
* This must be non-zero and unique for each data track published by the publisher.
|
|
6333
|
+
*
|
|
6334
|
+
* @generated from field: uint32 pub_handle = 1;
|
|
6335
|
+
*/
|
|
6336
|
+
pubHandle: number;
|
|
6337
|
+
|
|
6338
|
+
/**
|
|
6339
|
+
* Human-readable identifier (e.g., `geoLocation`, `servoPosition.x`, etc.), unique per publisher.
|
|
6340
|
+
* This must be non-empty and no longer than 256 characters.
|
|
6341
|
+
*
|
|
6342
|
+
* @generated from field: string name = 2;
|
|
6343
|
+
*/
|
|
6344
|
+
name: string;
|
|
6345
|
+
|
|
6346
|
+
/**
|
|
6347
|
+
* Method used for end-to-end encryption (E2EE) on frame payloads.
|
|
6348
|
+
*
|
|
6349
|
+
* @generated from field: livekit.Encryption.Type encryption = 3;
|
|
6350
|
+
*/
|
|
6351
|
+
encryption: Encryption_Type;
|
|
6352
|
+
|
|
6353
|
+
constructor(data?: PartialMessage<PublishDataTrackRequest>);
|
|
6354
|
+
|
|
6355
|
+
static readonly runtime: typeof proto3;
|
|
6356
|
+
static readonly typeName = "livekit.PublishDataTrackRequest";
|
|
6357
|
+
static readonly fields: FieldList;
|
|
6358
|
+
|
|
6359
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PublishDataTrackRequest;
|
|
6360
|
+
|
|
6361
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PublishDataTrackRequest;
|
|
6362
|
+
|
|
6363
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PublishDataTrackRequest;
|
|
6364
|
+
|
|
6365
|
+
static equals(a: PublishDataTrackRequest | PlainMessage<PublishDataTrackRequest> | undefined, b: PublishDataTrackRequest | PlainMessage<PublishDataTrackRequest> | undefined): boolean;
|
|
6366
|
+
}
|
|
6367
|
+
|
|
6368
|
+
/**
|
|
6369
|
+
* @generated from message livekit.PublishDataTrackResponse
|
|
6370
|
+
*/
|
|
6371
|
+
declare class PublishDataTrackResponse extends Message<PublishDataTrackResponse> {
|
|
6372
|
+
/**
|
|
6373
|
+
* Information about the published track.
|
|
6374
|
+
*
|
|
6375
|
+
* @generated from field: livekit.DataTrackInfo info = 1;
|
|
6376
|
+
*/
|
|
6377
|
+
info?: DataTrackInfo;
|
|
6378
|
+
|
|
6379
|
+
constructor(data?: PartialMessage<PublishDataTrackResponse>);
|
|
6380
|
+
|
|
6381
|
+
static readonly runtime: typeof proto3;
|
|
6382
|
+
static readonly typeName = "livekit.PublishDataTrackResponse";
|
|
6383
|
+
static readonly fields: FieldList;
|
|
6384
|
+
|
|
6385
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PublishDataTrackResponse;
|
|
6386
|
+
|
|
6387
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PublishDataTrackResponse;
|
|
6388
|
+
|
|
6389
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PublishDataTrackResponse;
|
|
6390
|
+
|
|
6391
|
+
static equals(a: PublishDataTrackResponse | PlainMessage<PublishDataTrackResponse> | undefined, b: PublishDataTrackResponse | PlainMessage<PublishDataTrackResponse> | undefined): boolean;
|
|
6392
|
+
}
|
|
6393
|
+
|
|
6394
|
+
/**
|
|
6395
|
+
* @generated from message livekit.UnpublishDataTrackRequest
|
|
6396
|
+
*/
|
|
6397
|
+
declare class UnpublishDataTrackRequest extends Message<UnpublishDataTrackRequest> {
|
|
6398
|
+
/**
|
|
6399
|
+
* Publisher handle of the track to unpublish.
|
|
6400
|
+
*
|
|
6401
|
+
* @generated from field: uint32 pub_handle = 1;
|
|
6402
|
+
*/
|
|
6403
|
+
pubHandle: number;
|
|
6404
|
+
|
|
6405
|
+
constructor(data?: PartialMessage<UnpublishDataTrackRequest>);
|
|
6406
|
+
|
|
6407
|
+
static readonly runtime: typeof proto3;
|
|
6408
|
+
static readonly typeName = "livekit.UnpublishDataTrackRequest";
|
|
6409
|
+
static readonly fields: FieldList;
|
|
6410
|
+
|
|
6411
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UnpublishDataTrackRequest;
|
|
6412
|
+
|
|
6413
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UnpublishDataTrackRequest;
|
|
6414
|
+
|
|
6415
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UnpublishDataTrackRequest;
|
|
6416
|
+
|
|
6417
|
+
static equals(a: UnpublishDataTrackRequest | PlainMessage<UnpublishDataTrackRequest> | undefined, b: UnpublishDataTrackRequest | PlainMessage<UnpublishDataTrackRequest> | undefined): boolean;
|
|
6418
|
+
}
|
|
6419
|
+
|
|
6420
|
+
/**
|
|
6421
|
+
* @generated from message livekit.UnpublishDataTrackResponse
|
|
6422
|
+
*/
|
|
6423
|
+
declare class UnpublishDataTrackResponse extends Message<UnpublishDataTrackResponse> {
|
|
6424
|
+
/**
|
|
6425
|
+
* Information about the unpublished track.
|
|
6426
|
+
*
|
|
6427
|
+
* @generated from field: livekit.DataTrackInfo info = 1;
|
|
6428
|
+
*/
|
|
6429
|
+
info?: DataTrackInfo;
|
|
6430
|
+
|
|
6431
|
+
constructor(data?: PartialMessage<UnpublishDataTrackResponse>);
|
|
6432
|
+
|
|
6433
|
+
static readonly runtime: typeof proto3;
|
|
6434
|
+
static readonly typeName = "livekit.UnpublishDataTrackResponse";
|
|
6435
|
+
static readonly fields: FieldList;
|
|
6436
|
+
|
|
6437
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UnpublishDataTrackResponse;
|
|
6438
|
+
|
|
6439
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UnpublishDataTrackResponse;
|
|
6440
|
+
|
|
6441
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UnpublishDataTrackResponse;
|
|
6442
|
+
|
|
6443
|
+
static equals(a: UnpublishDataTrackResponse | PlainMessage<UnpublishDataTrackResponse> | undefined, b: UnpublishDataTrackResponse | PlainMessage<UnpublishDataTrackResponse> | undefined): boolean;
|
|
6444
|
+
}
|
|
6445
|
+
|
|
6446
|
+
/**
|
|
6447
|
+
* @generated from message livekit.DataTrackSubscriberHandles
|
|
6448
|
+
*/
|
|
6449
|
+
declare class DataTrackSubscriberHandles extends Message<DataTrackSubscriberHandles> {
|
|
6450
|
+
/**
|
|
6451
|
+
* Maps handles from incoming packets to the track SIDs that the packets belong to.
|
|
6452
|
+
*
|
|
6453
|
+
* @generated from field: map<uint32, livekit.DataTrackSubscriberHandles.PublishedDataTrack> sub_handles = 1;
|
|
6454
|
+
*/
|
|
6455
|
+
subHandles: { [key: number]: DataTrackSubscriberHandles_PublishedDataTrack };
|
|
6456
|
+
|
|
6457
|
+
constructor(data?: PartialMessage<DataTrackSubscriberHandles>);
|
|
6458
|
+
|
|
6459
|
+
static readonly runtime: typeof proto3;
|
|
6460
|
+
static readonly typeName = "livekit.DataTrackSubscriberHandles";
|
|
6461
|
+
static readonly fields: FieldList;
|
|
6462
|
+
|
|
6463
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DataTrackSubscriberHandles;
|
|
6464
|
+
|
|
6465
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DataTrackSubscriberHandles;
|
|
6466
|
+
|
|
6467
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DataTrackSubscriberHandles;
|
|
6468
|
+
|
|
6469
|
+
static equals(a: DataTrackSubscriberHandles | PlainMessage<DataTrackSubscriberHandles> | undefined, b: DataTrackSubscriberHandles | PlainMessage<DataTrackSubscriberHandles> | undefined): boolean;
|
|
6470
|
+
}
|
|
6471
|
+
|
|
6472
|
+
/**
|
|
6473
|
+
* @generated from message livekit.DataTrackSubscriberHandles.PublishedDataTrack
|
|
6474
|
+
*/
|
|
6475
|
+
declare class DataTrackSubscriberHandles_PublishedDataTrack extends Message<DataTrackSubscriberHandles_PublishedDataTrack> {
|
|
6476
|
+
/**
|
|
6477
|
+
* @generated from field: string publisher_identity = 1;
|
|
6478
|
+
*/
|
|
6479
|
+
publisherIdentity: string;
|
|
6480
|
+
|
|
6481
|
+
/**
|
|
6482
|
+
* @generated from field: string publisher_sid = 2;
|
|
6483
|
+
*/
|
|
6484
|
+
publisherSid: string;
|
|
6485
|
+
|
|
6486
|
+
/**
|
|
6487
|
+
* @generated from field: string track_sid = 3;
|
|
6488
|
+
*/
|
|
6489
|
+
trackSid: string;
|
|
6490
|
+
|
|
6491
|
+
constructor(data?: PartialMessage<DataTrackSubscriberHandles_PublishedDataTrack>);
|
|
6492
|
+
|
|
6493
|
+
static readonly runtime: typeof proto3;
|
|
6494
|
+
static readonly typeName = "livekit.DataTrackSubscriberHandles.PublishedDataTrack";
|
|
6495
|
+
static readonly fields: FieldList;
|
|
6496
|
+
|
|
6497
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DataTrackSubscriberHandles_PublishedDataTrack;
|
|
6498
|
+
|
|
6499
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DataTrackSubscriberHandles_PublishedDataTrack;
|
|
6500
|
+
|
|
6501
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DataTrackSubscriberHandles_PublishedDataTrack;
|
|
6502
|
+
|
|
6503
|
+
static equals(a: DataTrackSubscriberHandles_PublishedDataTrack | PlainMessage<DataTrackSubscriberHandles_PublishedDataTrack> | undefined, b: DataTrackSubscriberHandles_PublishedDataTrack | PlainMessage<DataTrackSubscriberHandles_PublishedDataTrack> | undefined): boolean;
|
|
6504
|
+
}
|
|
6505
|
+
|
|
5996
6506
|
/**
|
|
5997
6507
|
* @generated from message livekit.TrickleRequest
|
|
5998
6508
|
*/
|
|
@@ -6356,6 +6866,67 @@ declare class UpdateSubscription extends Message<UpdateSubscription> {
|
|
|
6356
6866
|
static equals(a: UpdateSubscription | PlainMessage<UpdateSubscription> | undefined, b: UpdateSubscription | PlainMessage<UpdateSubscription> | undefined): boolean;
|
|
6357
6867
|
}
|
|
6358
6868
|
|
|
6869
|
+
/**
|
|
6870
|
+
* @generated from message livekit.UpdateDataSubscription
|
|
6871
|
+
*/
|
|
6872
|
+
declare class UpdateDataSubscription extends Message<UpdateDataSubscription> {
|
|
6873
|
+
/**
|
|
6874
|
+
* @generated from field: repeated livekit.UpdateDataSubscription.Update updates = 1;
|
|
6875
|
+
*/
|
|
6876
|
+
updates: UpdateDataSubscription_Update[];
|
|
6877
|
+
|
|
6878
|
+
constructor(data?: PartialMessage<UpdateDataSubscription>);
|
|
6879
|
+
|
|
6880
|
+
static readonly runtime: typeof proto3;
|
|
6881
|
+
static readonly typeName = "livekit.UpdateDataSubscription";
|
|
6882
|
+
static readonly fields: FieldList;
|
|
6883
|
+
|
|
6884
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateDataSubscription;
|
|
6885
|
+
|
|
6886
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateDataSubscription;
|
|
6887
|
+
|
|
6888
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateDataSubscription;
|
|
6889
|
+
|
|
6890
|
+
static equals(a: UpdateDataSubscription | PlainMessage<UpdateDataSubscription> | undefined, b: UpdateDataSubscription | PlainMessage<UpdateDataSubscription> | undefined): boolean;
|
|
6891
|
+
}
|
|
6892
|
+
|
|
6893
|
+
/**
|
|
6894
|
+
* @generated from message livekit.UpdateDataSubscription.Update
|
|
6895
|
+
*/
|
|
6896
|
+
declare class UpdateDataSubscription_Update extends Message<UpdateDataSubscription_Update> {
|
|
6897
|
+
/**
|
|
6898
|
+
* @generated from field: string track_sid = 1;
|
|
6899
|
+
*/
|
|
6900
|
+
trackSid: string;
|
|
6901
|
+
|
|
6902
|
+
/**
|
|
6903
|
+
* @generated from field: bool subscribe = 2;
|
|
6904
|
+
*/
|
|
6905
|
+
subscribe: boolean;
|
|
6906
|
+
|
|
6907
|
+
/**
|
|
6908
|
+
* Options to apply when initially subscribing or updating an existing subscription.
|
|
6909
|
+
* When unsubscribing, this field is ignored.
|
|
6910
|
+
*
|
|
6911
|
+
* @generated from field: livekit.DataTrackSubscriptionOptions options = 3;
|
|
6912
|
+
*/
|
|
6913
|
+
options?: DataTrackSubscriptionOptions;
|
|
6914
|
+
|
|
6915
|
+
constructor(data?: PartialMessage<UpdateDataSubscription_Update>);
|
|
6916
|
+
|
|
6917
|
+
static readonly runtime: typeof proto3;
|
|
6918
|
+
static readonly typeName = "livekit.UpdateDataSubscription.Update";
|
|
6919
|
+
static readonly fields: FieldList;
|
|
6920
|
+
|
|
6921
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateDataSubscription_Update;
|
|
6922
|
+
|
|
6923
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateDataSubscription_Update;
|
|
6924
|
+
|
|
6925
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateDataSubscription_Update;
|
|
6926
|
+
|
|
6927
|
+
static equals(a: UpdateDataSubscription_Update | PlainMessage<UpdateDataSubscription_Update> | undefined, b: UpdateDataSubscription_Update | PlainMessage<UpdateDataSubscription_Update> | undefined): boolean;
|
|
6928
|
+
}
|
|
6929
|
+
|
|
6359
6930
|
/**
|
|
6360
6931
|
* @generated from message livekit.UpdateTrackSettings
|
|
6361
6932
|
*/
|
|
@@ -7148,6 +7719,11 @@ declare class SyncState extends Message<SyncState> {
|
|
|
7148
7719
|
*/
|
|
7149
7720
|
datachannelReceiveStates: DataChannelReceiveState[];
|
|
7150
7721
|
|
|
7722
|
+
/**
|
|
7723
|
+
* @generated from field: repeated livekit.PublishDataTrackResponse publish_data_tracks = 8;
|
|
7724
|
+
*/
|
|
7725
|
+
publishDataTracks: PublishDataTrackResponse[];
|
|
7726
|
+
|
|
7151
7727
|
constructor(data?: PartialMessage<SyncState>);
|
|
7152
7728
|
|
|
7153
7729
|
static readonly runtime: typeof proto3;
|
|
@@ -7530,6 +8106,18 @@ declare class RequestResponse extends Message<RequestResponse> {
|
|
|
7530
8106
|
*/
|
|
7531
8107
|
value: UpdateLocalVideoTrack;
|
|
7532
8108
|
case: "updateVideoTrack";
|
|
8109
|
+
} | {
|
|
8110
|
+
/**
|
|
8111
|
+
* @generated from field: livekit.PublishDataTrackRequest publish_data_track = 10;
|
|
8112
|
+
*/
|
|
8113
|
+
value: PublishDataTrackRequest;
|
|
8114
|
+
case: "publishDataTrack";
|
|
8115
|
+
} | {
|
|
8116
|
+
/**
|
|
8117
|
+
* @generated from field: livekit.UnpublishDataTrackRequest unpublish_data_track = 11;
|
|
8118
|
+
*/
|
|
8119
|
+
value: UnpublishDataTrackRequest;
|
|
8120
|
+
case: "unpublishDataTrack";
|
|
7533
8121
|
} | { case: undefined; value?: undefined };
|
|
7534
8122
|
|
|
7535
8123
|
constructor(data?: PartialMessage<RequestResponse>);
|
|
@@ -7585,6 +8173,26 @@ declare enum RequestResponse_Reason {
|
|
|
7585
8173
|
* @generated from enum value: UNCLASSIFIED_ERROR = 6;
|
|
7586
8174
|
*/
|
|
7587
8175
|
UNCLASSIFIED_ERROR = 6,
|
|
8176
|
+
|
|
8177
|
+
/**
|
|
8178
|
+
* @generated from enum value: INVALID_HANDLE = 7;
|
|
8179
|
+
*/
|
|
8180
|
+
INVALID_HANDLE = 7,
|
|
8181
|
+
|
|
8182
|
+
/**
|
|
8183
|
+
* @generated from enum value: INVALID_NAME = 8;
|
|
8184
|
+
*/
|
|
8185
|
+
INVALID_NAME = 8,
|
|
8186
|
+
|
|
8187
|
+
/**
|
|
8188
|
+
* @generated from enum value: DUPLICATE_HANDLE = 9;
|
|
8189
|
+
*/
|
|
8190
|
+
DUPLICATE_HANDLE = 9,
|
|
8191
|
+
|
|
8192
|
+
/**
|
|
8193
|
+
* @generated from enum value: DUPLICATE_NAME = 10;
|
|
8194
|
+
*/
|
|
8195
|
+
DUPLICATE_NAME = 10,
|
|
7588
8196
|
}
|
|
7589
8197
|
|
|
7590
8198
|
/**
|
|
@@ -7635,6 +8243,11 @@ declare class ConnectionSettings extends Message<ConnectionSettings> {
|
|
|
7635
8243
|
*/
|
|
7636
8244
|
disableIceLite: boolean;
|
|
7637
8245
|
|
|
8246
|
+
/**
|
|
8247
|
+
* @generated from field: optional bool auto_subscribe_data_track = 5;
|
|
8248
|
+
*/
|
|
8249
|
+
autoSubscribeDataTrack?: boolean;
|
|
8250
|
+
|
|
7638
8251
|
constructor(data?: PartialMessage<ConnectionSettings>);
|
|
7639
8252
|
|
|
7640
8253
|
static readonly runtime: typeof proto3;
|
|
@@ -7836,7 +8449,7 @@ declare enum WhatsAppCallDirection {
|
|
|
7836
8449
|
*/
|
|
7837
8450
|
declare class DialWhatsAppCallRequest extends Message<DialWhatsAppCallRequest> {
|
|
7838
8451
|
/**
|
|
7839
|
-
* Required - The number of the business that is initiating the call
|
|
8452
|
+
* Required - The phone number id of the business that is initiating the call
|
|
7840
8453
|
*
|
|
7841
8454
|
* @generated from field: string whatsapp_phone_number_id = 1;
|
|
7842
8455
|
*/
|
|
@@ -7886,6 +8499,7 @@ declare class DialWhatsAppCallRequest extends Message<DialWhatsAppCallRequest> {
|
|
|
7886
8499
|
|
|
7887
8500
|
/**
|
|
7888
8501
|
* Optional - Identity of the participant in LiveKit room
|
|
8502
|
+
* This is used for logging purposes, so it is advised to not put PII in this field.
|
|
7889
8503
|
*
|
|
7890
8504
|
* @generated from field: string participant_identity = 7;
|
|
7891
8505
|
*/
|
|
@@ -7981,12 +8595,21 @@ declare class DisconnectWhatsAppCallRequest extends Message<DisconnectWhatsAppCa
|
|
|
7981
8595
|
whatsappCallId: string;
|
|
7982
8596
|
|
|
7983
8597
|
/**
|
|
7984
|
-
*
|
|
8598
|
+
* The API key of the whatsapp business.
|
|
8599
|
+
* Required if the DisconnectReason is BUSINESS_INITIATED.
|
|
8600
|
+
* Optional for USER_INITIATED as no API call to WhatsApp is needed.
|
|
7985
8601
|
*
|
|
7986
8602
|
* @generated from field: string whatsapp_api_key = 2;
|
|
7987
8603
|
*/
|
|
7988
8604
|
whatsappApiKey: string;
|
|
7989
8605
|
|
|
8606
|
+
/**
|
|
8607
|
+
* The reason for disconnecting the call
|
|
8608
|
+
*
|
|
8609
|
+
* @generated from field: livekit.DisconnectWhatsAppCallRequest.DisconnectReason disconnect_reason = 3;
|
|
8610
|
+
*/
|
|
8611
|
+
disconnectReason: DisconnectWhatsAppCallRequest_DisconnectReason;
|
|
8612
|
+
|
|
7990
8613
|
constructor(data?: PartialMessage<DisconnectWhatsAppCallRequest>);
|
|
7991
8614
|
|
|
7992
8615
|
static readonly runtime: typeof proto3;
|
|
@@ -8002,6 +8625,29 @@ declare class DisconnectWhatsAppCallRequest extends Message<DisconnectWhatsAppCa
|
|
|
8002
8625
|
static equals(a: DisconnectWhatsAppCallRequest | PlainMessage<DisconnectWhatsAppCallRequest> | undefined, b: DisconnectWhatsAppCallRequest | PlainMessage<DisconnectWhatsAppCallRequest> | undefined): boolean;
|
|
8003
8626
|
}
|
|
8004
8627
|
|
|
8628
|
+
/**
|
|
8629
|
+
* @generated from enum livekit.DisconnectWhatsAppCallRequest.DisconnectReason
|
|
8630
|
+
*/
|
|
8631
|
+
declare enum DisconnectWhatsAppCallRequest_DisconnectReason {
|
|
8632
|
+
/**
|
|
8633
|
+
* The call is being disconnected by the business
|
|
8634
|
+
*
|
|
8635
|
+
* @generated from enum value: BUSINESS_INITIATED = 0;
|
|
8636
|
+
*/
|
|
8637
|
+
BUSINESS_INITIATED = 0,
|
|
8638
|
+
|
|
8639
|
+
/**
|
|
8640
|
+
* The call is disconnected by the user.
|
|
8641
|
+
* This can be tracked as part of call terminate webhook
|
|
8642
|
+
* https://developers.facebook.com/documentation/business-messaging/whatsapp/calling/user-initiated-calls#call-terminate-webhook
|
|
8643
|
+
* Note that this webhook will also be sent when the call is disconnected by the business.
|
|
8644
|
+
* Calling the API twice in such cases will result in an error.
|
|
8645
|
+
*
|
|
8646
|
+
* @generated from enum value: USER_INITIATED = 1;
|
|
8647
|
+
*/
|
|
8648
|
+
USER_INITIATED = 1,
|
|
8649
|
+
}
|
|
8650
|
+
|
|
8005
8651
|
/**
|
|
8006
8652
|
* @generated from message livekit.DisconnectWhatsAppCallResponse
|
|
8007
8653
|
*/
|
|
@@ -8079,7 +8725,7 @@ declare class ConnectWhatsAppCallResponse extends Message<ConnectWhatsAppCallRes
|
|
|
8079
8725
|
*/
|
|
8080
8726
|
declare class AcceptWhatsAppCallRequest extends Message<AcceptWhatsAppCallRequest> {
|
|
8081
8727
|
/**
|
|
8082
|
-
* Required - The number of the business that is conencting the call
|
|
8728
|
+
* Required - The phone number id of the business that is conencting the call
|
|
8083
8729
|
*
|
|
8084
8730
|
* @generated from field: string whatsapp_phone_number_id = 1;
|
|
8085
8731
|
*/
|
|
@@ -8137,6 +8783,7 @@ declare class AcceptWhatsAppCallRequest extends Message<AcceptWhatsAppCallReques
|
|
|
8137
8783
|
|
|
8138
8784
|
/**
|
|
8139
8785
|
* Optional - Identity of the participant in LiveKit room
|
|
8786
|
+
* This is used for logging purposes, so it is advised to not put PII in this field.
|
|
8140
8787
|
*
|
|
8141
8788
|
* @generated from field: string participant_identity = 8;
|
|
8142
8789
|
*/
|
|
@@ -14266,12 +14913,19 @@ declare class SIPDispatchRuleInfo extends Message<SIPDispatchRuleInfo> {
|
|
|
14266
14913
|
hidePhoneNumber: boolean;
|
|
14267
14914
|
|
|
14268
14915
|
/**
|
|
14269
|
-
* Dispatch Rule will only accept a call made
|
|
14916
|
+
* Dispatch Rule will only accept a call made from these numbers (if set).
|
|
14270
14917
|
*
|
|
14271
14918
|
* @generated from field: repeated string inbound_numbers = 7;
|
|
14272
14919
|
*/
|
|
14273
14920
|
inboundNumbers: string[];
|
|
14274
14921
|
|
|
14922
|
+
/**
|
|
14923
|
+
* Dispatch Rule will only accept a call made to these numbers (if set).
|
|
14924
|
+
*
|
|
14925
|
+
* @generated from field: repeated string numbers = 13;
|
|
14926
|
+
*/
|
|
14927
|
+
numbers: string[];
|
|
14928
|
+
|
|
14275
14929
|
/**
|
|
14276
14930
|
* Human-readable name for the Dispatch Rule.
|
|
14277
14931
|
*
|
|
@@ -14315,7 +14969,7 @@ declare class SIPDispatchRuleInfo extends Message<SIPDispatchRuleInfo> {
|
|
|
14315
14969
|
krispEnabled: boolean;
|
|
14316
14970
|
|
|
14317
14971
|
/**
|
|
14318
|
-
* NEXT ID:
|
|
14972
|
+
* NEXT ID: 14
|
|
14319
14973
|
*
|
|
14320
14974
|
* @generated from field: livekit.SIPMediaEncryption media_encryption = 12;
|
|
14321
14975
|
*/
|
|
@@ -14964,6 +15618,11 @@ declare class SIPCallInfo extends Message<SIPCallInfo> {
|
|
|
14964
15618
|
*/
|
|
14965
15619
|
providerInfo?: ProviderInfo;
|
|
14966
15620
|
|
|
15621
|
+
/**
|
|
15622
|
+
* @generated from field: string sip_call_id = 28;
|
|
15623
|
+
*/
|
|
15624
|
+
sipCallId: string;
|
|
15625
|
+
|
|
14967
15626
|
constructor(data?: PartialMessage<SIPCallInfo>);
|
|
14968
15627
|
|
|
14969
15628
|
static readonly runtime: typeof proto3;
|
|
@@ -15323,4 +15982,4 @@ declare class WebhookEvent extends Message<WebhookEvent> {
|
|
|
15323
15982
|
|
|
15324
15983
|
declare const version: string;
|
|
15325
15984
|
|
|
15326
|
-
export { AcceptWhatsAppCallRequest, AcceptWhatsAppCallResponse, ActiveSpeakerUpdate, AddTrackRequest, AgentDispatch, AgentDispatchState, livekit_agent_session_pb_d as AgentSession, AliOSSUpload, AudioCodec, AudioMixing, AudioTrackFeature, AutoParticipantEgress, AutoTrackEgress, AvailabilityRequest, AvailabilityResponse, AzureBlobUpload, BackupCodecPolicy, CandidateProtocol, ChatMessage, ClientConfigSetting, ClientConfiguration, ClientInfo, ClientInfo_SDK, Codec, ConnectTwilioCallRequest, ConnectTwilioCallRequest_TwilioCallDirection, ConnectTwilioCallResponse, ConnectWhatsAppCallRequest, ConnectWhatsAppCallResponse, ConnectionQuality, ConnectionQualityInfo, ConnectionQualityUpdate, ConnectionSettings, ConnectorType, CreateAgentDispatchRequest, CreateIngressRequest, CreateRoomRequest, CreateSIPDispatchRuleRequest, CreateSIPInboundTrunkRequest, CreateSIPOutboundTrunkRequest, CreateSIPParticipantRequest, CreateSIPTrunkRequest, DataChannelInfo, DataChannelReceiveState, DataPacket, DataPacket_Kind, DataStream, DataStream_ByteHeader, DataStream_Chunk, DataStream_Header, DataStream_OperationType, DataStream_TextHeader, DataStream_Trailer, DeleteAgentDispatchRequest, DeleteIngressRequest, DeleteRoomRequest, DeleteRoomResponse, DeleteSIPDispatchRuleRequest, DeleteSIPTrunkRequest, Destination, DialWhatsAppCallRequest, DialWhatsAppCallResponse, DirectFileOutput, DisabledCodecs, DisconnectReason, DisconnectWhatsAppCallRequest, DisconnectWhatsAppCallResponse, EgressInfo, EgressSourceType, EgressStatus, EncodedFileOutput, EncodedFileType, EncodingOptions, EncodingOptionsPreset, EncryptedPacket, EncryptedPacketPayload, Encryption, Encryption_Type, EventMetric, FileInfo, FilterParams, 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, JoinRequest, JoinResponse, LeaveRequest, LeaveRequest_Action, ListAgentDispatchRequest, ListAgentDispatchResponse, ListEgressRequest, ListEgressResponse, ListIngressRequest, ListIngressResponse, ListParticipantsRequest, ListParticipantsResponse, ListRoomsRequest, ListRoomsResponse, ListSIPDispatchRuleRequest, ListSIPDispatchRuleResponse, ListSIPInboundTrunkRequest, ListSIPInboundTrunkResponse, ListSIPOutboundTrunkRequest, ListSIPOutboundTrunkResponse, ListSIPTrunkRequest, ListSIPTrunkResponse, ListUpdate, MediaSectionsRequirement, MetricLabel, MetricSample, MetricsBatch, MetricsRecordingHeader, MigrateJobRequest, MoveParticipantRequest, MoveParticipantResponse, MuteRoomTrackRequest, MuteRoomTrackResponse, MuteTrackRequest, Pagination, ParticipantEgressRequest, ParticipantInfo, ParticipantInfo_Kind, ParticipantInfo_KindDetail, ParticipantInfo_State, ParticipantPermission, ParticipantTracks, ParticipantUpdate, PerformRpcRequest, PerformRpcResponse, Ping, PlayoutDelay, Pong, ProviderInfo, ProviderType, ProxyConfig, RTCPSenderReportState, RTPDrift, RTPForwarderState, RTPMungerState, RTPStats, ReconnectReason, ReconnectResponse, RegionInfo, RegionSettings, RegisterWorkerRequest, RegisterWorkerResponse, RemoveParticipantResponse, RequestResponse, RequestResponse_Reason, Room, RoomAgent, RoomAgentDispatch, RoomCompositeEgressRequest, RoomConfiguration, RoomEgress, RoomMovedResponse, 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, SIPTransferInfo, SIPTransferStatus, 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, SubscribedAudioCodec, SubscribedAudioCodecUpdate, SubscribedCodec, SubscribedQuality, SubscribedQualityUpdate, SubscriptionError, SubscriptionPermission, SubscriptionPermissionUpdate, SubscriptionResponse, SyncState, TimeSeriesMetric, TimedVersion, TokenPagination, TokenSourceRequest, TokenSourceResponse, 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, VideoLayer_Mode, VideoQuality, WebEgressRequest, WebhookConfig, WebhookEvent, WhatsAppCall, WhatsAppCallDirection, WorkerMessage, WorkerPing, WorkerPong, WorkerStatus, WrappedJoinRequest, WrappedJoinRequest_Compression, version };
|
|
15985
|
+
export { AcceptWhatsAppCallRequest, AcceptWhatsAppCallResponse, ActiveSpeakerUpdate, AddTrackRequest, AgentDispatch, AgentDispatchState, livekit_agent_session_pb_d as AgentSession, AliOSSUpload, AudioCodec, AudioMixing, AudioTrackFeature, AutoParticipantEgress, AutoTrackEgress, AvailabilityRequest, AvailabilityResponse, AzureBlobUpload, BackupCodecPolicy, CandidateProtocol, ChatMessage, ClientConfigSetting, ClientConfiguration, ClientInfo, ClientInfo_SDK, Codec, ConnectTwilioCallRequest, ConnectTwilioCallRequest_TwilioCallDirection, ConnectTwilioCallResponse, ConnectWhatsAppCallRequest, ConnectWhatsAppCallResponse, ConnectionQuality, ConnectionQualityInfo, ConnectionQualityUpdate, ConnectionSettings, ConnectorType, CreateAgentDispatchRequest, CreateIngressRequest, CreateRoomRequest, CreateSIPDispatchRuleRequest, CreateSIPInboundTrunkRequest, CreateSIPOutboundTrunkRequest, CreateSIPParticipantRequest, CreateSIPTrunkRequest, DataChannelInfo, DataChannelReceiveState, DataPacket, DataPacket_Kind, DataStream, DataStream_ByteHeader, DataStream_Chunk, DataStream_Header, DataStream_OperationType, DataStream_TextHeader, DataStream_Trailer, DataTrackExtensionID, DataTrackExtensionParticipantSid, DataTrackInfo, DataTrackSubscriberHandles, DataTrackSubscriberHandles_PublishedDataTrack, DataTrackSubscriptionOptions, DeleteAgentDispatchRequest, DeleteIngressRequest, DeleteRoomRequest, DeleteRoomResponse, DeleteSIPDispatchRuleRequest, DeleteSIPTrunkRequest, Destination, DialWhatsAppCallRequest, DialWhatsAppCallResponse, DirectFileOutput, DisabledCodecs, DisconnectReason, DisconnectWhatsAppCallRequest, DisconnectWhatsAppCallRequest_DisconnectReason, DisconnectWhatsAppCallResponse, EgressInfo, EgressSourceType, EgressStatus, EncodedFileOutput, EncodedFileType, EncodingOptions, EncodingOptionsPreset, EncryptedPacket, EncryptedPacketPayload, Encryption, Encryption_Type, EventMetric, FileInfo, FilterParams, 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, JoinRequest, JoinResponse, LeaveRequest, LeaveRequest_Action, ListAgentDispatchRequest, ListAgentDispatchResponse, ListEgressRequest, ListEgressResponse, ListIngressRequest, ListIngressResponse, ListParticipantsRequest, ListParticipantsResponse, ListRoomsRequest, ListRoomsResponse, ListSIPDispatchRuleRequest, ListSIPDispatchRuleResponse, ListSIPInboundTrunkRequest, ListSIPInboundTrunkResponse, ListSIPOutboundTrunkRequest, ListSIPOutboundTrunkResponse, ListSIPTrunkRequest, ListSIPTrunkResponse, ListUpdate, MediaSectionsRequirement, MetricLabel, MetricSample, MetricsBatch, MetricsRecordingHeader, MigrateJobRequest, MoveParticipantRequest, MoveParticipantResponse, MuteRoomTrackRequest, MuteRoomTrackResponse, MuteTrackRequest, Pagination, ParticipantEgressRequest, ParticipantInfo, ParticipantInfo_Kind, ParticipantInfo_KindDetail, ParticipantInfo_State, ParticipantPermission, ParticipantTracks, ParticipantUpdate, PerformRpcRequest, PerformRpcResponse, Ping, PlayoutDelay, Pong, ProviderInfo, ProviderType, ProxyConfig, PublishDataTrackRequest, PublishDataTrackResponse, PushTextRequest, RTCPSenderReportState, RTPDrift, RTPForwarderState, RTPMungerState, RTPStats, ReconnectReason, ReconnectResponse, RegionInfo, RegionSettings, RegisterWorkerRequest, RegisterWorkerResponse, RemoveParticipantResponse, RequestResponse, RequestResponse_Reason, Room, RoomAgent, RoomAgentDispatch, RoomCompositeEgressRequest, RoomConfiguration, RoomEgress, RoomMovedResponse, 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, SIPTransferInfo, SIPTransferStatus, 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, SubscribedAudioCodec, SubscribedAudioCodecUpdate, SubscribedCodec, SubscribedQuality, SubscribedQualityUpdate, SubscriptionError, SubscriptionPermission, SubscriptionPermissionUpdate, SubscriptionResponse, SyncState, TextMessageRequest, TextMessageResponse, TimeSeriesMetric, TimedVersion, TokenPagination, TokenSourceRequest, TokenSourceResponse, TrackCompositeEgressRequest, TrackEgressRequest, TrackInfo, TrackPermission, TrackPublishedResponse, TrackSource, TrackSubscribed, TrackType, TrackUnpublishedResponse, Transcription, TranscriptionSegment, TransferSIPParticipantRequest, TrickleRequest, UnpublishDataTrackRequest, UnpublishDataTrackResponse, UpdateDataSubscription, UpdateDataSubscription_Update, UpdateIngressRequest, UpdateJobStatus, UpdateLayoutRequest, UpdateLocalAudioTrack, UpdateLocalVideoTrack, UpdateParticipantMetadata, UpdateParticipantRequest, UpdateRoomMetadataRequest, UpdateSIPDispatchRuleRequest, UpdateSIPInboundTrunkRequest, UpdateSIPOutboundTrunkRequest, UpdateStreamRequest, UpdateSubscription, UpdateSubscriptionsRequest, UpdateSubscriptionsResponse, UpdateTrackSettings, UpdateVideoLayers, UpdateWorkerStatus, UserPacket, VP8MungerState, VideoCodec, VideoConfiguration, VideoLayer, VideoLayer_Mode, VideoQuality, WebEgressRequest, WebhookConfig, WebhookEvent, WhatsAppCall, WhatsAppCallDirection, WorkerMessage, WorkerPing, WorkerPong, WorkerStatus, WrappedJoinRequest, WrappedJoinRequest_Compression, version };
|