plugnmeet-protocol-js 1.6.3-1 → 1.6.3-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.
Files changed (31) hide show
  1. package/dist/gen/buf/validate/validate_pb.d.ts +4833 -0
  2. package/dist/gen/livekit_metrics_pb.d.ts +354 -0
  3. package/dist/gen/livekit_models_pb.d.ts +3250 -0
  4. package/dist/gen/logger/options_pb.d.ts +52 -0
  5. package/dist/gen/plugnmeet_analytics_pb.d.ts +477 -0
  6. package/dist/gen/plugnmeet_auth_analytics_pb.d.ts +195 -0
  7. package/dist/gen/plugnmeet_auth_artifact_pb.d.ts +271 -0
  8. package/dist/gen/plugnmeet_auth_recording_pb.d.ts +378 -0
  9. package/dist/gen/plugnmeet_auth_room_pb.d.ts +502 -0
  10. package/dist/gen/plugnmeet_breakout_room_pb.d.ts +366 -0
  11. package/dist/gen/plugnmeet_common_api_pb.d.ts +801 -0
  12. package/dist/gen/plugnmeet_common_pb.d.ts +162 -0
  13. package/dist/gen/plugnmeet_create_room_pb.d.ts +874 -0
  14. package/dist/gen/plugnmeet_datamessage_pb.d.ts +149 -0
  15. package/dist/gen/plugnmeet_gen_token_pb.d.ts +308 -0
  16. package/dist/gen/plugnmeet_ingress_pb.d.ts +75 -0
  17. package/dist/gen/plugnmeet_insights_pb.d.ts +522 -0
  18. package/dist/gen/plugnmeet_lti_v1_pb.d.ts +116 -0
  19. package/dist/gen/plugnmeet_native_bridge_pb.d.ts +351 -0
  20. package/dist/gen/plugnmeet_nats_msg_pb.d.ts +751 -0
  21. package/dist/gen/plugnmeet_polls_pb.d.ts +427 -0
  22. package/dist/gen/plugnmeet_recorder_pb.d.ts +300 -0
  23. package/dist/gen/plugnmeet_recording_pb.d.ts +175 -0
  24. package/dist/gen/plugnmeet_room_artifacts_pb.d.ts +306 -0
  25. package/dist/index.cjs.js +2 -2645
  26. package/dist/index.cjs.js.map +1 -1
  27. package/dist/index.d.ts +20 -8468
  28. package/dist/index.mjs.js +94 -2609
  29. package/dist/index.mjs.js.map +1 -1
  30. package/package.json +5 -7
  31. package/dist/index.d.ts.map +0 -1
@@ -0,0 +1,354 @@
1
+ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
2
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
3
+ import type { Message } from "@bufbuild/protobuf";
4
+ /**
5
+ * Describes the file livekit_metrics.proto.
6
+ */
7
+ export declare const file_livekit_metrics: GenFile;
8
+ /**
9
+ * @generated from message livekit.MetricsBatch
10
+ */
11
+ export type MetricsBatch = Message<"livekit.MetricsBatch"> & {
12
+ /**
13
+ * time at which this batch is sent based on a monotonic clock (millisecond resolution)
14
+ *
15
+ * @generated from field: int64 timestamp_ms = 1 [jstype = JS_STRING];
16
+ */
17
+ timestampMs: string;
18
+ /**
19
+ * @generated from field: google.protobuf.Timestamp normalized_timestamp = 2;
20
+ */
21
+ normalizedTimestamp?: Timestamp | undefined;
22
+ /**
23
+ * To avoid repeating string values, we store them in a separate list and reference them by index
24
+ * This is useful for storing participant identities, track names, etc.
25
+ * There is also a predefined list of labels that can be used to reference common metrics.
26
+ * They have reserved indices from 0 to (METRIC_LABEL_PREDEFINED_MAX_VALUE - 1).
27
+ * Indexes pointing at str_data should start from METRIC_LABEL_PREDEFINED_MAX_VALUE,
28
+ * such that str_data[0] == index of METRIC_LABEL_PREDEFINED_MAX_VALUE.
29
+ *
30
+ * @generated from field: repeated string str_data = 3;
31
+ */
32
+ strData: string[];
33
+ /**
34
+ * @generated from field: repeated livekit.TimeSeriesMetric time_series = 4;
35
+ */
36
+ timeSeries: TimeSeriesMetric[];
37
+ /**
38
+ * @generated from field: repeated livekit.EventMetric events = 5;
39
+ */
40
+ events: EventMetric[];
41
+ };
42
+ /**
43
+ * Describes the message livekit.MetricsBatch.
44
+ * Use `create(MetricsBatchSchema)` to create a new message.
45
+ */
46
+ export declare const MetricsBatchSchema: GenMessage<MetricsBatch>;
47
+ /**
48
+ * @generated from message livekit.TimeSeriesMetric
49
+ */
50
+ export type TimeSeriesMetric = Message<"livekit.TimeSeriesMetric"> & {
51
+ /**
52
+ * Metric name e.g "speech_probablity". The string value is not directly stored in the message, but referenced by index
53
+ * in the `str_data` field of `MetricsBatch`
54
+ *
55
+ * @generated from field: uint32 label = 1;
56
+ */
57
+ label: number;
58
+ /**
59
+ * index into `str_data`
60
+ *
61
+ * @generated from field: uint32 participant_identity = 2;
62
+ */
63
+ participantIdentity: number;
64
+ /**
65
+ * index into `str_data`
66
+ *
67
+ * @generated from field: uint32 track_sid = 3;
68
+ */
69
+ trackSid: number;
70
+ /**
71
+ * @generated from field: repeated livekit.MetricSample samples = 4;
72
+ */
73
+ samples: MetricSample[];
74
+ /**
75
+ * index into 'str_data'
76
+ *
77
+ * @generated from field: uint32 rid = 5;
78
+ */
79
+ rid: number;
80
+ };
81
+ /**
82
+ * Describes the message livekit.TimeSeriesMetric.
83
+ * Use `create(TimeSeriesMetricSchema)` to create a new message.
84
+ */
85
+ export declare const TimeSeriesMetricSchema: GenMessage<TimeSeriesMetric>;
86
+ /**
87
+ * @generated from message livekit.MetricSample
88
+ */
89
+ export type MetricSample = Message<"livekit.MetricSample"> & {
90
+ /**
91
+ * time of metric based on a monotonic clock (in milliseconds)
92
+ *
93
+ * @generated from field: int64 timestamp_ms = 1 [jstype = JS_STRING];
94
+ */
95
+ timestampMs: string;
96
+ /**
97
+ * @generated from field: google.protobuf.Timestamp normalized_timestamp = 2;
98
+ */
99
+ normalizedTimestamp?: Timestamp | undefined;
100
+ /**
101
+ * @generated from field: float value = 3;
102
+ */
103
+ value: number;
104
+ };
105
+ /**
106
+ * Describes the message livekit.MetricSample.
107
+ * Use `create(MetricSampleSchema)` to create a new message.
108
+ */
109
+ export declare const MetricSampleSchema: GenMessage<MetricSample>;
110
+ /**
111
+ * @generated from message livekit.EventMetric
112
+ */
113
+ export type EventMetric = Message<"livekit.EventMetric"> & {
114
+ /**
115
+ * @generated from field: uint32 label = 1;
116
+ */
117
+ label: number;
118
+ /**
119
+ * index into `str_data`
120
+ *
121
+ * @generated from field: uint32 participant_identity = 2;
122
+ */
123
+ participantIdentity: number;
124
+ /**
125
+ * index into `str_data`
126
+ *
127
+ * @generated from field: uint32 track_sid = 3;
128
+ */
129
+ trackSid: number;
130
+ /**
131
+ * start time of event based on a monotonic clock (in milliseconds)
132
+ *
133
+ * @generated from field: int64 start_timestamp_ms = 4 [jstype = JS_STRING];
134
+ */
135
+ startTimestampMs: string;
136
+ /**
137
+ * end time of event based on a monotonic clock (in milliseconds), if needed
138
+ *
139
+ * @generated from field: optional int64 end_timestamp_ms = 5 [jstype = JS_STRING];
140
+ */
141
+ endTimestampMs?: string | undefined;
142
+ /**
143
+ * @generated from field: google.protobuf.Timestamp normalized_start_timestamp = 6;
144
+ */
145
+ normalizedStartTimestamp?: Timestamp | undefined;
146
+ /**
147
+ * @generated from field: optional google.protobuf.Timestamp normalized_end_timestamp = 7;
148
+ */
149
+ normalizedEndTimestamp?: Timestamp | undefined;
150
+ /**
151
+ * @generated from field: string metadata = 8;
152
+ */
153
+ metadata: string;
154
+ /**
155
+ * index into 'str_data'
156
+ *
157
+ * @generated from field: uint32 rid = 9;
158
+ */
159
+ rid: number;
160
+ };
161
+ /**
162
+ * Describes the message livekit.EventMetric.
163
+ * Use `create(EventMetricSchema)` to create a new message.
164
+ */
165
+ export declare const EventMetricSchema: GenMessage<EventMetric>;
166
+ /**
167
+ * @generated from message livekit.MetricsRecordingHeader
168
+ */
169
+ export type MetricsRecordingHeader = Message<"livekit.MetricsRecordingHeader"> & {
170
+ /**
171
+ * @generated from field: string room_id = 1;
172
+ */
173
+ roomId: string;
174
+ /**
175
+ * milliseconds
176
+ *
177
+ * @generated from field: uint64 duration = 3 [jstype = JS_STRING];
178
+ */
179
+ duration: string;
180
+ /**
181
+ * @generated from field: google.protobuf.Timestamp start_time = 4;
182
+ */
183
+ startTime?: Timestamp | undefined;
184
+ /**
185
+ * @generated from field: map<string, string> room_tags = 5;
186
+ */
187
+ roomTags: {
188
+ [key: string]: string;
189
+ };
190
+ /**
191
+ * @generated from field: string room_name = 6;
192
+ */
193
+ roomName: string;
194
+ /**
195
+ * @generated from field: google.protobuf.Timestamp room_start_time = 7;
196
+ */
197
+ roomStartTime?: Timestamp | undefined;
198
+ /**
199
+ * @generated from field: string job_id = 8;
200
+ */
201
+ jobId: string;
202
+ /**
203
+ * session is a simulation; the collector skips PII redaction for it unless redaction_enabled is set
204
+ *
205
+ * @generated from field: bool simulated = 9;
206
+ */
207
+ simulated: boolean;
208
+ /**
209
+ * force PII redaction on for this session (only ever enables, never disables)
210
+ *
211
+ * @generated from field: bool redaction_enabled = 10;
212
+ */
213
+ redactionEnabled: boolean;
214
+ };
215
+ /**
216
+ * Describes the message livekit.MetricsRecordingHeader.
217
+ * Use `create(MetricsRecordingHeaderSchema)` to create a new message.
218
+ */
219
+ export declare const MetricsRecordingHeaderSchema: GenMessage<MetricsRecordingHeader>;
220
+ /**
221
+ * index from [0: MAX_LABEL_PREDEFINED_MAX_VALUE) are for predefined labels (`MetricLabel`)
222
+ *
223
+ * @generated from enum livekit.MetricLabel
224
+ */
225
+ export declare enum MetricLabel {
226
+ /**
227
+ * time to first token from LLM
228
+ *
229
+ * @generated from enum value: AGENTS_LLM_TTFT = 0;
230
+ */
231
+ AGENTS_LLM_TTFT = 0,
232
+ /**
233
+ * time to final transcription
234
+ *
235
+ * @generated from enum value: AGENTS_STT_TTFT = 1;
236
+ */
237
+ AGENTS_STT_TTFT = 1,
238
+ /**
239
+ * time to first byte
240
+ *
241
+ * @generated from enum value: AGENTS_TTS_TTFB = 2;
242
+ */
243
+ AGENTS_TTS_TTFB = 2,
244
+ /**
245
+ * Number of video freezes
246
+ *
247
+ * @generated from enum value: CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT = 3;
248
+ */
249
+ CLIENT_VIDEO_SUBSCRIBER_FREEZE_COUNT = 3,
250
+ /**
251
+ * total duration of freezes
252
+ *
253
+ * @generated from enum value: CLIENT_VIDEO_SUBSCRIBER_TOTAL_FREEZE_DURATION = 4;
254
+ */
255
+ CLIENT_VIDEO_SUBSCRIBER_TOTAL_FREEZE_DURATION = 4,
256
+ /**
257
+ * number of video pauses
258
+ *
259
+ * @generated from enum value: CLIENT_VIDEO_SUBSCRIBER_PAUSE_COUNT = 5;
260
+ */
261
+ CLIENT_VIDEO_SUBSCRIBER_PAUSE_COUNT = 5,
262
+ /**
263
+ * total duration of pauses
264
+ *
265
+ * @generated from enum value: CLIENT_VIDEO_SUBSCRIBER_TOTAL_PAUSES_DURATION = 6;
266
+ */
267
+ CLIENT_VIDEO_SUBSCRIBER_TOTAL_PAUSES_DURATION = 6,
268
+ /**
269
+ * number of concealed (synthesized) audio samples
270
+ *
271
+ * @generated from enum value: CLIENT_AUDIO_SUBSCRIBER_CONCEALED_SAMPLES = 7;
272
+ */
273
+ CLIENT_AUDIO_SUBSCRIBER_CONCEALED_SAMPLES = 7,
274
+ /**
275
+ * number of silent concealed samples
276
+ *
277
+ * @generated from enum value: CLIENT_AUDIO_SUBSCRIBER_SILENT_CONCEALED_SAMPLES = 8;
278
+ */
279
+ CLIENT_AUDIO_SUBSCRIBER_SILENT_CONCEALED_SAMPLES = 8,
280
+ /**
281
+ * number of concealment events
282
+ *
283
+ * @generated from enum value: CLIENT_AUDIO_SUBSCRIBER_CONCEALMENT_EVENTS = 9;
284
+ */
285
+ CLIENT_AUDIO_SUBSCRIBER_CONCEALMENT_EVENTS = 9,
286
+ /**
287
+ * number of interruptions
288
+ *
289
+ * @generated from enum value: CLIENT_AUDIO_SUBSCRIBER_INTERRUPTION_COUNT = 10;
290
+ */
291
+ CLIENT_AUDIO_SUBSCRIBER_INTERRUPTION_COUNT = 10,
292
+ /**
293
+ * total duration of interruptions
294
+ *
295
+ * @generated from enum value: CLIENT_AUDIO_SUBSCRIBER_TOTAL_INTERRUPTION_DURATION = 11;
296
+ */
297
+ CLIENT_AUDIO_SUBSCRIBER_TOTAL_INTERRUPTION_DURATION = 11,
298
+ /**
299
+ * total time spent in jitter buffer
300
+ *
301
+ * @generated from enum value: CLIENT_SUBSCRIBER_JITTER_BUFFER_DELAY = 12;
302
+ */
303
+ CLIENT_SUBSCRIBER_JITTER_BUFFER_DELAY = 12,
304
+ /**
305
+ * total time spent in jitter buffer
306
+ *
307
+ * @generated from enum value: CLIENT_SUBSCRIBER_JITTER_BUFFER_EMITTED_COUNT = 13;
308
+ */
309
+ CLIENT_SUBSCRIBER_JITTER_BUFFER_EMITTED_COUNT = 13,
310
+ /**
311
+ * total duration spent in bandwidth quality limitation
312
+ *
313
+ * @generated from enum value: CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH = 14;
314
+ */
315
+ CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_BANDWIDTH = 14,
316
+ /**
317
+ * total duration spent in cpu quality limitation
318
+ *
319
+ * @generated from enum value: CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU = 15;
320
+ */
321
+ CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_CPU = 15,
322
+ /**
323
+ * total duration spent in other quality limitation
324
+ *
325
+ * @generated from enum value: CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER = 16;
326
+ */
327
+ CLIENT_VIDEO_PUBLISHER_QUALITY_LIMITATION_DURATION_OTHER = 16,
328
+ /**
329
+ * Publisher RTT (participant -> server)
330
+ *
331
+ * @generated from enum value: PUBLISHER_RTT = 17;
332
+ */
333
+ PUBLISHER_RTT = 17,
334
+ /**
335
+ * RTT between publisher node and subscriber node (could involve intermedia node(s))
336
+ *
337
+ * @generated from enum value: SERVER_MESH_RTT = 18;
338
+ */
339
+ SERVER_MESH_RTT = 18,
340
+ /**
341
+ * Subscribe RTT (server -> participant)
342
+ *
343
+ * @generated from enum value: SUBSCRIBER_RTT = 19;
344
+ */
345
+ SUBSCRIBER_RTT = 19,
346
+ /**
347
+ * @generated from enum value: METRIC_LABEL_PREDEFINED_MAX_VALUE = 4096;
348
+ */
349
+ METRIC_LABEL_PREDEFINED_MAX_VALUE = 4096
350
+ }
351
+ /**
352
+ * Describes the enum livekit.MetricLabel.
353
+ */
354
+ export declare const MetricLabelSchema: GenEnum<MetricLabel>;