@cc-livekit/protocol 1.39.3
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 +7285 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +13646 -0
- package/dist/index.d.mts +13646 -0
- package/dist/index.d.ts +13646 -0
- package/dist/index.mjs +7009 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +42 -0
- package/src/gen/livekit_agent_dispatch_pb.d.ts +253 -0
- package/src/gen/livekit_agent_dispatch_pb.js +103 -0
- package/src/gen/livekit_agent_pb.d.ts +758 -0
- package/src/gen/livekit_agent_pb.js +269 -0
- package/src/gen/livekit_analytics_pb.d.ts +1379 -0
- package/src/gen/livekit_analytics_pb.js +397 -0
- package/src/gen/livekit_cloud_agent_pb.d.ts +919 -0
- package/src/gen/livekit_cloud_agent_pb.js +327 -0
- package/src/gen/livekit_egress_pb.d.ts +2151 -0
- package/src/gen/livekit_egress_pb.js +625 -0
- package/src/gen/livekit_ingress_pb.d.ts +864 -0
- package/src/gen/livekit_ingress_pb.js +272 -0
- package/src/gen/livekit_internal_pb.d.ts +786 -0
- package/src/gen/livekit_internal_pb.js +227 -0
- package/src/gen/livekit_metrics_pb.d.ts +376 -0
- package/src/gen/livekit_metrics_pb.js +97 -0
- package/src/gen/livekit_models_pb.d.ts +3083 -0
- package/src/gen/livekit_models_pb.js +998 -0
- package/src/gen/livekit_room_pb.d.ts +899 -0
- package/src/gen/livekit_room_pb.js +300 -0
- package/src/gen/livekit_rtc_pb.d.ts +2134 -0
- package/src/gen/livekit_rtc_pb.js +668 -0
- package/src/gen/livekit_sip_pb.d.ts +2619 -0
- package/src/gen/livekit_sip_pb.js +771 -0
- package/src/gen/livekit_temptalk_pb.d.ts +473 -0
- package/src/gen/livekit_temptalk_pb.js +167 -0
- package/src/gen/livekit_webhook_pb.d.ts +106 -0
- package/src/gen/livekit_webhook_pb.js +42 -0
- package/src/gen/version.d.ts +1 -0
- package/src/gen/version.js +2 -0
- package/src/index.d.ts +12 -0
- package/src/index.js +13 -0
|
@@ -0,0 +1,397 @@
|
|
|
1
|
+
// Copyright 2023 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_analytics.proto (package livekit, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
// @ts-nocheck
|
|
19
|
+
|
|
20
|
+
import { proto3, Timestamp } from "@bufbuild/protobuf";
|
|
21
|
+
import { ClientInfo, ParticipantInfo, ParticipantInfo_State, ReconnectReason, Room, RTPStats, TrackInfo, VideoQuality } from "./livekit_models_pb.js";
|
|
22
|
+
import { EgressInfo } from "./livekit_egress_pb.js";
|
|
23
|
+
import { IngressInfo } from "./livekit_ingress_pb.js";
|
|
24
|
+
import { SIPCallInfo, SIPDispatchRuleInfo, SIPInboundTrunkInfo, SIPOutboundTrunkInfo, SIPTransferInfo } from "./livekit_sip_pb.js";
|
|
25
|
+
import { CreateRoomRequest, DeleteRoomRequest, ListParticipantsRequest, ListRoomsRequest, MuteRoomTrackRequest, RoomParticipantIdentity, SendDataRequest, UpdateParticipantRequest, UpdateRoomMetadataRequest, UpdateSubscriptionsRequest } from "./livekit_room_pb.js";
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* @generated from enum livekit.StreamType
|
|
29
|
+
*/
|
|
30
|
+
export const StreamType = /*@__PURE__*/ proto3.makeEnum(
|
|
31
|
+
"livekit.StreamType",
|
|
32
|
+
[
|
|
33
|
+
{no: 0, name: "UPSTREAM"},
|
|
34
|
+
{no: 1, name: "DOWNSTREAM"},
|
|
35
|
+
],
|
|
36
|
+
);
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* @generated from enum livekit.AnalyticsEventType
|
|
40
|
+
*/
|
|
41
|
+
export const AnalyticsEventType = /*@__PURE__*/ proto3.makeEnum(
|
|
42
|
+
"livekit.AnalyticsEventType",
|
|
43
|
+
[
|
|
44
|
+
{no: 0, name: "ROOM_CREATED"},
|
|
45
|
+
{no: 1, name: "ROOM_ENDED"},
|
|
46
|
+
{no: 2, name: "PARTICIPANT_JOINED"},
|
|
47
|
+
{no: 3, name: "PARTICIPANT_LEFT"},
|
|
48
|
+
{no: 4, name: "TRACK_PUBLISHED"},
|
|
49
|
+
{no: 20, name: "TRACK_PUBLISH_REQUESTED"},
|
|
50
|
+
{no: 5, name: "TRACK_UNPUBLISHED"},
|
|
51
|
+
{no: 6, name: "TRACK_SUBSCRIBED"},
|
|
52
|
+
{no: 21, name: "TRACK_SUBSCRIBE_REQUESTED"},
|
|
53
|
+
{no: 25, name: "TRACK_SUBSCRIBE_FAILED"},
|
|
54
|
+
{no: 7, name: "TRACK_UNSUBSCRIBED"},
|
|
55
|
+
{no: 10, name: "TRACK_PUBLISHED_UPDATE"},
|
|
56
|
+
{no: 23, name: "TRACK_MUTED"},
|
|
57
|
+
{no: 24, name: "TRACK_UNMUTED"},
|
|
58
|
+
{no: 26, name: "TRACK_PUBLISH_STATS"},
|
|
59
|
+
{no: 27, name: "TRACK_SUBSCRIBE_STATS"},
|
|
60
|
+
{no: 11, name: "PARTICIPANT_ACTIVE"},
|
|
61
|
+
{no: 22, name: "PARTICIPANT_RESUMED"},
|
|
62
|
+
{no: 12, name: "EGRESS_STARTED"},
|
|
63
|
+
{no: 13, name: "EGRESS_ENDED"},
|
|
64
|
+
{no: 28, name: "EGRESS_UPDATED"},
|
|
65
|
+
{no: 14, name: "TRACK_MAX_SUBSCRIBED_VIDEO_QUALITY"},
|
|
66
|
+
{no: 15, name: "RECONNECTED"},
|
|
67
|
+
{no: 18, name: "INGRESS_CREATED"},
|
|
68
|
+
{no: 19, name: "INGRESS_DELETED"},
|
|
69
|
+
{no: 16, name: "INGRESS_STARTED"},
|
|
70
|
+
{no: 17, name: "INGRESS_ENDED"},
|
|
71
|
+
{no: 29, name: "INGRESS_UPDATED"},
|
|
72
|
+
{no: 30, name: "SIP_INBOUND_TRUNK_CREATED"},
|
|
73
|
+
{no: 31, name: "SIP_INBOUND_TRUNK_DELETED"},
|
|
74
|
+
{no: 32, name: "SIP_OUTBOUND_TRUNK_CREATED"},
|
|
75
|
+
{no: 33, name: "SIP_OUTBOUND_TRUNK_DELETED"},
|
|
76
|
+
{no: 34, name: "SIP_DISPATCH_RULE_CREATED"},
|
|
77
|
+
{no: 35, name: "SIP_DISPATCH_RULE_DELETED"},
|
|
78
|
+
{no: 36, name: "SIP_PARTICIPANT_CREATED"},
|
|
79
|
+
{no: 37, name: "SIP_CALL_INCOMING"},
|
|
80
|
+
{no: 38, name: "SIP_CALL_STARTED"},
|
|
81
|
+
{no: 39, name: "SIP_CALL_ENDED"},
|
|
82
|
+
{no: 43, name: "SIP_TRANSFER_REQUESTED"},
|
|
83
|
+
{no: 44, name: "SIP_TRANSFER_COMPLETE"},
|
|
84
|
+
{no: 40, name: "REPORT"},
|
|
85
|
+
{no: 41, name: "API_CALL"},
|
|
86
|
+
{no: 42, name: "WEBHOOK"},
|
|
87
|
+
],
|
|
88
|
+
);
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* @generated from message livekit.AnalyticsVideoLayer
|
|
92
|
+
*/
|
|
93
|
+
export const AnalyticsVideoLayer = /*@__PURE__*/ proto3.makeMessageType(
|
|
94
|
+
"livekit.AnalyticsVideoLayer",
|
|
95
|
+
() => [
|
|
96
|
+
{ no: 1, name: "layer", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
97
|
+
{ no: 2, name: "packets", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
98
|
+
{ no: 3, name: "bytes", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
99
|
+
{ no: 4, name: "frames", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
100
|
+
],
|
|
101
|
+
);
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* @generated from message livekit.AnalyticsStream
|
|
105
|
+
*/
|
|
106
|
+
export const AnalyticsStream = /*@__PURE__*/ proto3.makeMessageType(
|
|
107
|
+
"livekit.AnalyticsStream",
|
|
108
|
+
() => [
|
|
109
|
+
{ no: 1, name: "ssrc", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
110
|
+
{ no: 2, name: "primary_packets", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
111
|
+
{ no: 3, name: "primary_bytes", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
112
|
+
{ no: 4, name: "retransmit_packets", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
113
|
+
{ no: 5, name: "retransmit_bytes", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
114
|
+
{ no: 6, name: "padding_packets", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
115
|
+
{ no: 7, name: "padding_bytes", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
116
|
+
{ no: 8, name: "packets_lost", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
117
|
+
{ no: 9, name: "frames", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
118
|
+
{ no: 10, name: "rtt", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
119
|
+
{ no: 11, name: "jitter", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
120
|
+
{ no: 12, name: "nacks", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
121
|
+
{ no: 13, name: "plis", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
122
|
+
{ no: 14, name: "firs", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
123
|
+
{ no: 15, name: "video_layers", kind: "message", T: AnalyticsVideoLayer, repeated: true },
|
|
124
|
+
{ no: 17, name: "start_time", kind: "message", T: Timestamp },
|
|
125
|
+
{ no: 18, name: "end_time", kind: "message", T: Timestamp },
|
|
126
|
+
{ no: 19, name: "packets_out_of_order", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
127
|
+
],
|
|
128
|
+
);
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* @generated from message livekit.AnalyticsStat
|
|
132
|
+
*/
|
|
133
|
+
export const AnalyticsStat = /*@__PURE__*/ proto3.makeMessageType(
|
|
134
|
+
"livekit.AnalyticsStat",
|
|
135
|
+
() => [
|
|
136
|
+
{ no: 14, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
137
|
+
{ no: 1, name: "analytics_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
138
|
+
{ no: 2, name: "kind", kind: "enum", T: proto3.getEnumType(StreamType) },
|
|
139
|
+
{ no: 3, name: "time_stamp", kind: "message", T: Timestamp },
|
|
140
|
+
{ no: 4, name: "node", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
141
|
+
{ no: 5, name: "room_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
142
|
+
{ no: 6, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
143
|
+
{ no: 7, name: "participant_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
144
|
+
{ no: 8, name: "track_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
145
|
+
{ no: 9, name: "score", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
146
|
+
{ no: 10, name: "streams", kind: "message", T: AnalyticsStream, repeated: true },
|
|
147
|
+
{ no: 11, name: "mime", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
148
|
+
{ no: 12, name: "min_score", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
149
|
+
{ no: 13, name: "median_score", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
150
|
+
],
|
|
151
|
+
);
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* @generated from message livekit.AnalyticsStats
|
|
155
|
+
*/
|
|
156
|
+
export const AnalyticsStats = /*@__PURE__*/ proto3.makeMessageType(
|
|
157
|
+
"livekit.AnalyticsStats",
|
|
158
|
+
() => [
|
|
159
|
+
{ no: 1, name: "stats", kind: "message", T: AnalyticsStat, repeated: true },
|
|
160
|
+
],
|
|
161
|
+
);
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* @generated from message livekit.AnalyticsClientMeta
|
|
165
|
+
*/
|
|
166
|
+
export const AnalyticsClientMeta = /*@__PURE__*/ proto3.makeMessageType(
|
|
167
|
+
"livekit.AnalyticsClientMeta",
|
|
168
|
+
() => [
|
|
169
|
+
{ no: 1, name: "region", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
170
|
+
{ no: 2, name: "node", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
171
|
+
{ no: 3, name: "client_addr", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
172
|
+
{ no: 4, name: "client_connect_time", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
173
|
+
{ no: 5, name: "connection_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
174
|
+
{ no: 6, name: "reconnect_reason", kind: "enum", T: proto3.getEnumType(ReconnectReason) },
|
|
175
|
+
{ no: 7, name: "geo_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
176
|
+
{ no: 8, name: "country", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
177
|
+
{ no: 9, name: "isp_asn", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
178
|
+
],
|
|
179
|
+
);
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* @generated from message livekit.AnalyticsEvent
|
|
183
|
+
*/
|
|
184
|
+
export const AnalyticsEvent = /*@__PURE__*/ proto3.makeMessageType(
|
|
185
|
+
"livekit.AnalyticsEvent",
|
|
186
|
+
() => [
|
|
187
|
+
{ no: 25, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
188
|
+
{ no: 1, name: "type", kind: "enum", T: proto3.getEnumType(AnalyticsEventType) },
|
|
189
|
+
{ no: 2, name: "timestamp", kind: "message", T: Timestamp },
|
|
190
|
+
{ no: 3, name: "room_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
191
|
+
{ no: 4, name: "room", kind: "message", T: Room },
|
|
192
|
+
{ no: 5, name: "participant_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
193
|
+
{ no: 6, name: "participant", kind: "message", T: ParticipantInfo },
|
|
194
|
+
{ no: 7, name: "track_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
195
|
+
{ no: 8, name: "track", kind: "message", T: TrackInfo },
|
|
196
|
+
{ no: 10, name: "analytics_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
197
|
+
{ no: 11, name: "client_info", kind: "message", T: ClientInfo },
|
|
198
|
+
{ no: 12, name: "client_meta", kind: "message", T: AnalyticsClientMeta },
|
|
199
|
+
{ no: 13, name: "egress_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
200
|
+
{ no: 19, name: "ingress_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
201
|
+
{ no: 14, name: "max_subscribed_video_quality", kind: "enum", T: proto3.getEnumType(VideoQuality) },
|
|
202
|
+
{ no: 15, name: "publisher", kind: "message", T: ParticipantInfo },
|
|
203
|
+
{ no: 16, name: "mime", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
204
|
+
{ no: 17, name: "egress", kind: "message", T: EgressInfo },
|
|
205
|
+
{ no: 18, name: "ingress", kind: "message", T: IngressInfo },
|
|
206
|
+
{ no: 20, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
207
|
+
{ no: 21, name: "rtp_stats", kind: "message", T: RTPStats },
|
|
208
|
+
{ no: 22, name: "video_layer", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
209
|
+
{ no: 24, name: "node_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
210
|
+
{ no: 26, name: "sip_call_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
211
|
+
{ no: 27, name: "sip_call", kind: "message", T: SIPCallInfo },
|
|
212
|
+
{ no: 28, name: "sip_trunk_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
213
|
+
{ no: 29, name: "sip_inbound_trunk", kind: "message", T: SIPInboundTrunkInfo },
|
|
214
|
+
{ no: 30, name: "sip_outbound_trunk", kind: "message", T: SIPOutboundTrunkInfo },
|
|
215
|
+
{ no: 31, name: "sip_dispatch_rule_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
216
|
+
{ no: 32, name: "sip_dispatch_rule", kind: "message", T: SIPDispatchRuleInfo },
|
|
217
|
+
{ no: 36, name: "sip_transfer", kind: "message", T: SIPTransferInfo },
|
|
218
|
+
{ no: 33, name: "report", kind: "message", T: ReportInfo },
|
|
219
|
+
{ no: 34, name: "api_call", kind: "message", T: APICallInfo },
|
|
220
|
+
{ no: 35, name: "webhook", kind: "message", T: WebhookInfo },
|
|
221
|
+
],
|
|
222
|
+
);
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* @generated from message livekit.AnalyticsEvents
|
|
226
|
+
*/
|
|
227
|
+
export const AnalyticsEvents = /*@__PURE__*/ proto3.makeMessageType(
|
|
228
|
+
"livekit.AnalyticsEvents",
|
|
229
|
+
() => [
|
|
230
|
+
{ no: 1, name: "events", kind: "message", T: AnalyticsEvent, repeated: true },
|
|
231
|
+
],
|
|
232
|
+
);
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* @generated from message livekit.AnalyticsRoomParticipant
|
|
236
|
+
*/
|
|
237
|
+
export const AnalyticsRoomParticipant = /*@__PURE__*/ proto3.makeMessageType(
|
|
238
|
+
"livekit.AnalyticsRoomParticipant",
|
|
239
|
+
() => [
|
|
240
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
241
|
+
{ no: 2, name: "identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
242
|
+
{ no: 3, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
243
|
+
{ no: 4, name: "state", kind: "enum", T: proto3.getEnumType(ParticipantInfo_State) },
|
|
244
|
+
{ no: 5, name: "joined_at", kind: "message", T: Timestamp },
|
|
245
|
+
],
|
|
246
|
+
);
|
|
247
|
+
|
|
248
|
+
/**
|
|
249
|
+
* @generated from message livekit.AnalyticsRoom
|
|
250
|
+
*/
|
|
251
|
+
export const AnalyticsRoom = /*@__PURE__*/ proto3.makeMessageType(
|
|
252
|
+
"livekit.AnalyticsRoom",
|
|
253
|
+
() => [
|
|
254
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
255
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
256
|
+
{ no: 5, name: "project_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
257
|
+
{ no: 3, name: "created_at", kind: "message", T: Timestamp },
|
|
258
|
+
{ no: 4, name: "participants", kind: "message", T: AnalyticsRoomParticipant, repeated: true },
|
|
259
|
+
],
|
|
260
|
+
);
|
|
261
|
+
|
|
262
|
+
/**
|
|
263
|
+
* @generated from message livekit.AnalyticsNodeRooms
|
|
264
|
+
*/
|
|
265
|
+
export const AnalyticsNodeRooms = /*@__PURE__*/ proto3.makeMessageType(
|
|
266
|
+
"livekit.AnalyticsNodeRooms",
|
|
267
|
+
() => [
|
|
268
|
+
{ no: 1, name: "node_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
269
|
+
{ no: 2, name: "sequence_number", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
270
|
+
{ no: 3, name: "timestamp", kind: "message", T: Timestamp },
|
|
271
|
+
{ no: 4, name: "rooms", kind: "message", T: AnalyticsRoom, repeated: true },
|
|
272
|
+
],
|
|
273
|
+
);
|
|
274
|
+
|
|
275
|
+
/**
|
|
276
|
+
* @generated from message livekit.ReportInfo
|
|
277
|
+
*/
|
|
278
|
+
export const ReportInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
279
|
+
"livekit.ReportInfo",
|
|
280
|
+
() => [
|
|
281
|
+
{ no: 1, name: "feature_usage", kind: "message", T: FeatureUsageInfo, oneof: "message" },
|
|
282
|
+
],
|
|
283
|
+
);
|
|
284
|
+
|
|
285
|
+
/**
|
|
286
|
+
* @generated from message livekit.TimeRange
|
|
287
|
+
*/
|
|
288
|
+
export const TimeRange = /*@__PURE__*/ proto3.makeMessageType(
|
|
289
|
+
"livekit.TimeRange",
|
|
290
|
+
() => [
|
|
291
|
+
{ no: 1, name: "started_at", kind: "message", T: Timestamp },
|
|
292
|
+
{ no: 2, name: "ended_at", kind: "message", T: Timestamp },
|
|
293
|
+
],
|
|
294
|
+
);
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* @generated from message livekit.FeatureUsageInfo
|
|
298
|
+
*/
|
|
299
|
+
export const FeatureUsageInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
300
|
+
"livekit.FeatureUsageInfo",
|
|
301
|
+
() => [
|
|
302
|
+
{ no: 1, name: "feature", kind: "enum", T: proto3.getEnumType(FeatureUsageInfo_Feature) },
|
|
303
|
+
{ no: 2, name: "project_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
304
|
+
{ no: 3, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
305
|
+
{ no: 4, name: "room_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
306
|
+
{ no: 5, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
307
|
+
{ no: 6, name: "participant_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
308
|
+
{ no: 7, name: "track_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
309
|
+
{ no: 8, name: "time_ranges", kind: "message", T: TimeRange, repeated: true },
|
|
310
|
+
],
|
|
311
|
+
);
|
|
312
|
+
|
|
313
|
+
/**
|
|
314
|
+
* @generated from enum livekit.FeatureUsageInfo.Feature
|
|
315
|
+
*/
|
|
316
|
+
export const FeatureUsageInfo_Feature = /*@__PURE__*/ proto3.makeEnum(
|
|
317
|
+
"livekit.FeatureUsageInfo.Feature",
|
|
318
|
+
[
|
|
319
|
+
{no: 0, name: "KRISP_NOISE_CANCELLATION"},
|
|
320
|
+
{no: 1, name: "KRISP_BACKGROUND_VOICE_CANCELLATION"},
|
|
321
|
+
],
|
|
322
|
+
);
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
* @generated from message livekit.APICallRequest
|
|
326
|
+
*/
|
|
327
|
+
export const APICallRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
328
|
+
"livekit.APICallRequest",
|
|
329
|
+
() => [
|
|
330
|
+
{ no: 1, name: "create_room_request", kind: "message", T: CreateRoomRequest, oneof: "message" },
|
|
331
|
+
{ no: 2, name: "list_rooms_request", kind: "message", T: ListRoomsRequest, oneof: "message" },
|
|
332
|
+
{ no: 3, name: "delete_room_request", kind: "message", T: DeleteRoomRequest, oneof: "message" },
|
|
333
|
+
{ no: 4, name: "list_participants_request", kind: "message", T: ListParticipantsRequest, oneof: "message" },
|
|
334
|
+
{ no: 5, name: "room_participant_identity", kind: "message", T: RoomParticipantIdentity, oneof: "message" },
|
|
335
|
+
{ no: 6, name: "mute_room_track_request", kind: "message", T: MuteRoomTrackRequest, oneof: "message" },
|
|
336
|
+
{ no: 7, name: "update_participant_request", kind: "message", T: UpdateParticipantRequest, oneof: "message" },
|
|
337
|
+
{ no: 8, name: "update_subscriptions_request", kind: "message", T: UpdateSubscriptionsRequest, oneof: "message" },
|
|
338
|
+
{ no: 9, name: "send_data_request", kind: "message", T: SendDataRequest, oneof: "message" },
|
|
339
|
+
{ no: 10, name: "update_room_metadata_request", kind: "message", T: UpdateRoomMetadataRequest, oneof: "message" },
|
|
340
|
+
],
|
|
341
|
+
);
|
|
342
|
+
|
|
343
|
+
/**
|
|
344
|
+
* @generated from message livekit.APICallInfo
|
|
345
|
+
*/
|
|
346
|
+
export const APICallInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
347
|
+
"livekit.APICallInfo",
|
|
348
|
+
() => [
|
|
349
|
+
{ no: 1, name: "project_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
350
|
+
{ no: 2, name: "request", kind: "message", T: APICallRequest },
|
|
351
|
+
{ no: 3, name: "service", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
352
|
+
{ no: 4, name: "method", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
353
|
+
{ no: 5, name: "node_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
354
|
+
{ no: 6, name: "status", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
355
|
+
{ no: 7, name: "twirp_error_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
356
|
+
{ no: 8, name: "twirp_error_message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
357
|
+
{ no: 9, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
358
|
+
{ no: 10, name: "room_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
359
|
+
{ no: 11, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
360
|
+
{ no: 12, name: "participant_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
361
|
+
{ no: 13, name: "track_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
362
|
+
{ no: 14, name: "started_at", kind: "message", T: Timestamp },
|
|
363
|
+
{ no: 15, name: "duration_ns", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
364
|
+
],
|
|
365
|
+
);
|
|
366
|
+
|
|
367
|
+
/**
|
|
368
|
+
* @generated from message livekit.WebhookInfo
|
|
369
|
+
*/
|
|
370
|
+
export const WebhookInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
371
|
+
"livekit.WebhookInfo",
|
|
372
|
+
() => [
|
|
373
|
+
{ no: 1, name: "event_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
374
|
+
{ no: 2, name: "event", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
375
|
+
{ no: 3, name: "project_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
376
|
+
{ no: 4, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
377
|
+
{ no: 5, name: "room_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
378
|
+
{ no: 6, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
379
|
+
{ no: 7, name: "participant_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
380
|
+
{ no: 8, name: "track_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
381
|
+
{ no: 9, name: "egress_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
382
|
+
{ no: 10, name: "ingress_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
383
|
+
{ no: 11, name: "created_at", kind: "message", T: Timestamp },
|
|
384
|
+
{ no: 12, name: "queued_at", kind: "message", T: Timestamp },
|
|
385
|
+
{ no: 13, name: "queue_duration_ns", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
386
|
+
{ no: 14, name: "sent_at", kind: "message", T: Timestamp },
|
|
387
|
+
{ no: 15, name: "send_duration_ns", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
388
|
+
{ no: 16, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
389
|
+
{ no: 17, name: "num_dropped", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
390
|
+
{ no: 18, name: "is_dropped", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
391
|
+
{ no: 19, name: "service_status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
392
|
+
{ no: 20, name: "service_error_code", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
393
|
+
{ no: 21, name: "service_error", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
394
|
+
{ no: 22, name: "send_error", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
395
|
+
],
|
|
396
|
+
);
|
|
397
|
+
|