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.
- package/dist/gen/buf/validate/validate_pb.d.ts +4833 -0
- package/dist/gen/livekit_metrics_pb.d.ts +354 -0
- package/dist/gen/livekit_models_pb.d.ts +3250 -0
- package/dist/gen/logger/options_pb.d.ts +52 -0
- package/dist/gen/plugnmeet_analytics_pb.d.ts +477 -0
- package/dist/gen/plugnmeet_auth_analytics_pb.d.ts +195 -0
- package/dist/gen/plugnmeet_auth_artifact_pb.d.ts +271 -0
- package/dist/gen/plugnmeet_auth_recording_pb.d.ts +378 -0
- package/dist/gen/plugnmeet_auth_room_pb.d.ts +502 -0
- package/dist/gen/plugnmeet_breakout_room_pb.d.ts +366 -0
- package/dist/gen/plugnmeet_common_api_pb.d.ts +801 -0
- package/dist/gen/plugnmeet_common_pb.d.ts +162 -0
- package/dist/gen/plugnmeet_create_room_pb.d.ts +874 -0
- package/dist/gen/plugnmeet_datamessage_pb.d.ts +149 -0
- package/dist/gen/plugnmeet_gen_token_pb.d.ts +308 -0
- package/dist/gen/plugnmeet_ingress_pb.d.ts +75 -0
- package/dist/gen/plugnmeet_insights_pb.d.ts +522 -0
- package/dist/gen/plugnmeet_lti_v1_pb.d.ts +116 -0
- package/dist/gen/plugnmeet_native_bridge_pb.d.ts +351 -0
- package/dist/gen/plugnmeet_nats_msg_pb.d.ts +751 -0
- package/dist/gen/plugnmeet_polls_pb.d.ts +427 -0
- package/dist/gen/plugnmeet_recorder_pb.d.ts +300 -0
- package/dist/gen/plugnmeet_recording_pb.d.ts +175 -0
- package/dist/gen/plugnmeet_room_artifacts_pb.d.ts +306 -0
- package/dist/index.cjs.js +2 -2645
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +20 -8468
- package/dist/index.mjs.js +94 -2609
- package/dist/index.mjs.js.map +1 -1
- package/package.json +5 -7
- package/dist/index.d.ts.map +0 -1
|
@@ -0,0 +1,306 @@
|
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
3
|
+
/**
|
|
4
|
+
* Describes the file plugnmeet_room_artifacts.proto.
|
|
5
|
+
*/
|
|
6
|
+
export declare const file_plugnmeet_room_artifacts: GenFile;
|
|
7
|
+
/**
|
|
8
|
+
* FileInfo contains details about a generated file artifact.
|
|
9
|
+
*
|
|
10
|
+
* @generated from message plugnmeet.RoomArtifactFileInfo
|
|
11
|
+
*/
|
|
12
|
+
export type RoomArtifactFileInfo = Message<"plugnmeet.RoomArtifactFileInfo"> & {
|
|
13
|
+
/**
|
|
14
|
+
* @generated from field: string file_path = 1;
|
|
15
|
+
*/
|
|
16
|
+
filePath: string;
|
|
17
|
+
/**
|
|
18
|
+
* @generated from field: int64 file_size = 2 [jstype = JS_STRING];
|
|
19
|
+
*/
|
|
20
|
+
fileSize: string;
|
|
21
|
+
/**
|
|
22
|
+
* @generated from field: string mime_type = 3;
|
|
23
|
+
*/
|
|
24
|
+
mimeType: string;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Describes the message plugnmeet.RoomArtifactFileInfo.
|
|
28
|
+
* Use `create(RoomArtifactFileInfoSchema)` to create a new message.
|
|
29
|
+
*/
|
|
30
|
+
export declare const RoomArtifactFileInfoSchema: GenMessage<RoomArtifactFileInfo>;
|
|
31
|
+
/**
|
|
32
|
+
* ProviderJobInfo contains details about an asynchronous job sent to a provider.
|
|
33
|
+
*
|
|
34
|
+
* @generated from message plugnmeet.RoomArtifactProviderJobInfo
|
|
35
|
+
*/
|
|
36
|
+
export type RoomArtifactProviderJobInfo = Message<"plugnmeet.RoomArtifactProviderJobInfo"> & {
|
|
37
|
+
/**
|
|
38
|
+
* @generated from field: string job_id = 1;
|
|
39
|
+
*/
|
|
40
|
+
jobId: string;
|
|
41
|
+
/**
|
|
42
|
+
* @generated from field: string file_name = 2;
|
|
43
|
+
*/
|
|
44
|
+
fileName: string;
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* Describes the message plugnmeet.RoomArtifactProviderJobInfo.
|
|
48
|
+
* Use `create(RoomArtifactProviderJobInfoSchema)` to create a new message.
|
|
49
|
+
*/
|
|
50
|
+
export declare const RoomArtifactProviderJobInfoSchema: GenMessage<RoomArtifactProviderJobInfo>;
|
|
51
|
+
/**
|
|
52
|
+
* UserInfo contains details about the user associated with an artifact.
|
|
53
|
+
*
|
|
54
|
+
* @generated from message plugnmeet.RoomArtifactUserInfo
|
|
55
|
+
*/
|
|
56
|
+
export type RoomArtifactUserInfo = Message<"plugnmeet.RoomArtifactUserInfo"> & {
|
|
57
|
+
/**
|
|
58
|
+
* @generated from field: string user_id = 1;
|
|
59
|
+
*/
|
|
60
|
+
userId: string;
|
|
61
|
+
/**
|
|
62
|
+
* @generated from field: optional string name = 2;
|
|
63
|
+
*/
|
|
64
|
+
name?: string | undefined;
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* Describes the message plugnmeet.RoomArtifactUserInfo.
|
|
68
|
+
* Use `create(RoomArtifactUserInfoSchema)` to create a new message.
|
|
69
|
+
*/
|
|
70
|
+
export declare const RoomArtifactUserInfoSchema: GenMessage<RoomArtifactUserInfo>;
|
|
71
|
+
/**
|
|
72
|
+
* @generated from message plugnmeet.RoomArtifactTokenUsage
|
|
73
|
+
*/
|
|
74
|
+
export type RoomArtifactTokenUsage = Message<"plugnmeet.RoomArtifactTokenUsage"> & {
|
|
75
|
+
/**
|
|
76
|
+
* @generated from field: uint32 prompt_tokens = 1;
|
|
77
|
+
*/
|
|
78
|
+
promptTokens: number;
|
|
79
|
+
/**
|
|
80
|
+
* @generated from field: uint32 completion_tokens = 2;
|
|
81
|
+
*/
|
|
82
|
+
completionTokens: number;
|
|
83
|
+
/**
|
|
84
|
+
* @generated from field: uint32 total_tokens = 3;
|
|
85
|
+
*/
|
|
86
|
+
totalTokens: number;
|
|
87
|
+
/**
|
|
88
|
+
* @generated from field: map<string, int64> breakdown = 4;
|
|
89
|
+
*/
|
|
90
|
+
breakdown: {
|
|
91
|
+
[key: string]: bigint;
|
|
92
|
+
};
|
|
93
|
+
/**
|
|
94
|
+
* @generated from field: optional double prompt_tokens_estimated_cost = 5;
|
|
95
|
+
*/
|
|
96
|
+
promptTokensEstimatedCost?: number | undefined;
|
|
97
|
+
/**
|
|
98
|
+
* @generated from field: optional double completion_tokens_estimated_cost = 6;
|
|
99
|
+
*/
|
|
100
|
+
completionTokensEstimatedCost?: number | undefined;
|
|
101
|
+
/**
|
|
102
|
+
* @generated from field: optional double total_tokens_estimated_cost = 7;
|
|
103
|
+
*/
|
|
104
|
+
totalTokensEstimatedCost?: number | undefined;
|
|
105
|
+
};
|
|
106
|
+
/**
|
|
107
|
+
* Describes the message plugnmeet.RoomArtifactTokenUsage.
|
|
108
|
+
* Use `create(RoomArtifactTokenUsageSchema)` to create a new message.
|
|
109
|
+
*/
|
|
110
|
+
export declare const RoomArtifactTokenUsageSchema: GenMessage<RoomArtifactTokenUsage>;
|
|
111
|
+
/**
|
|
112
|
+
* @generated from message plugnmeet.RoomArtifactDurationUsage
|
|
113
|
+
*/
|
|
114
|
+
export type RoomArtifactDurationUsage = Message<"plugnmeet.RoomArtifactDurationUsage"> & {
|
|
115
|
+
/**
|
|
116
|
+
* @generated from field: uint32 duration_sec = 1;
|
|
117
|
+
*/
|
|
118
|
+
durationSec: number;
|
|
119
|
+
/**
|
|
120
|
+
* @generated from field: map<string, int64> breakdown = 2;
|
|
121
|
+
*/
|
|
122
|
+
breakdown: {
|
|
123
|
+
[key: string]: bigint;
|
|
124
|
+
};
|
|
125
|
+
/**
|
|
126
|
+
* @generated from field: optional double duration_sec_estimated_cost = 3;
|
|
127
|
+
*/
|
|
128
|
+
durationSecEstimatedCost?: number | undefined;
|
|
129
|
+
};
|
|
130
|
+
/**
|
|
131
|
+
* Describes the message plugnmeet.RoomArtifactDurationUsage.
|
|
132
|
+
* Use `create(RoomArtifactDurationUsageSchema)` to create a new message.
|
|
133
|
+
*/
|
|
134
|
+
export declare const RoomArtifactDurationUsageSchema: GenMessage<RoomArtifactDurationUsage>;
|
|
135
|
+
/**
|
|
136
|
+
* @generated from message plugnmeet.RoomArtifactCharacterCountUsage
|
|
137
|
+
*/
|
|
138
|
+
export type RoomArtifactCharacterCountUsage = Message<"plugnmeet.RoomArtifactCharacterCountUsage"> & {
|
|
139
|
+
/**
|
|
140
|
+
* @generated from field: uint32 total_characters = 1;
|
|
141
|
+
*/
|
|
142
|
+
totalCharacters: number;
|
|
143
|
+
/**
|
|
144
|
+
* @generated from field: map<string, int64> breakdown = 2;
|
|
145
|
+
*/
|
|
146
|
+
breakdown: {
|
|
147
|
+
[key: string]: bigint;
|
|
148
|
+
};
|
|
149
|
+
/**
|
|
150
|
+
* @generated from field: optional double total_characters_estimated_cost = 3;
|
|
151
|
+
*/
|
|
152
|
+
totalCharactersEstimatedCost?: number | undefined;
|
|
153
|
+
};
|
|
154
|
+
/**
|
|
155
|
+
* Describes the message plugnmeet.RoomArtifactCharacterCountUsage.
|
|
156
|
+
* Use `create(RoomArtifactCharacterCountUsageSchema)` to create a new message.
|
|
157
|
+
*/
|
|
158
|
+
export declare const RoomArtifactCharacterCountUsageSchema: GenMessage<RoomArtifactCharacterCountUsage>;
|
|
159
|
+
/**
|
|
160
|
+
* RoomArtifactMetadata is the universal structure for the 'metadata' JSON field
|
|
161
|
+
* in the pnm_room_artifacts table. All fields are optional.
|
|
162
|
+
*
|
|
163
|
+
* @generated from message plugnmeet.RoomArtifactMetadata
|
|
164
|
+
*/
|
|
165
|
+
export type RoomArtifactMetadata = Message<"plugnmeet.RoomArtifactMetadata"> & {
|
|
166
|
+
/**
|
|
167
|
+
* Optional: Information about the user who initiated or is associated with the artifact.
|
|
168
|
+
*
|
|
169
|
+
* @generated from field: plugnmeet.RoomArtifactUserInfo user_info = 1;
|
|
170
|
+
*/
|
|
171
|
+
userInfo?: RoomArtifactUserInfo | undefined;
|
|
172
|
+
/**
|
|
173
|
+
* Optional: Information about an asynchronous provider job.
|
|
174
|
+
*
|
|
175
|
+
* @generated from field: plugnmeet.RoomArtifactProviderJobInfo provider_job_info = 2;
|
|
176
|
+
*/
|
|
177
|
+
providerJobInfo?: RoomArtifactProviderJobInfo | undefined;
|
|
178
|
+
/**
|
|
179
|
+
* Optional: Information about the final generated file artifact.
|
|
180
|
+
*
|
|
181
|
+
* @generated from field: plugnmeet.RoomArtifactFileInfo file_info = 3;
|
|
182
|
+
*/
|
|
183
|
+
fileInfo?: RoomArtifactFileInfo | undefined;
|
|
184
|
+
/**
|
|
185
|
+
* A field for different types of usage metrics.
|
|
186
|
+
*
|
|
187
|
+
* @generated from oneof plugnmeet.RoomArtifactMetadata.usage_details
|
|
188
|
+
*/
|
|
189
|
+
usageDetails: {
|
|
190
|
+
/**
|
|
191
|
+
* @generated from field: plugnmeet.RoomArtifactTokenUsage token_usage = 4;
|
|
192
|
+
*/
|
|
193
|
+
value: RoomArtifactTokenUsage;
|
|
194
|
+
case: "tokenUsage";
|
|
195
|
+
} | {
|
|
196
|
+
/**
|
|
197
|
+
* @generated from field: plugnmeet.RoomArtifactDurationUsage duration_usage = 5;
|
|
198
|
+
*/
|
|
199
|
+
value: RoomArtifactDurationUsage;
|
|
200
|
+
case: "durationUsage";
|
|
201
|
+
} | {
|
|
202
|
+
/**
|
|
203
|
+
* @generated from field: plugnmeet.RoomArtifactCharacterCountUsage character_count_usage = 6;
|
|
204
|
+
*/
|
|
205
|
+
value: RoomArtifactCharacterCountUsage;
|
|
206
|
+
case: "characterCountUsage";
|
|
207
|
+
} | {
|
|
208
|
+
case: undefined;
|
|
209
|
+
value?: undefined;
|
|
210
|
+
};
|
|
211
|
+
/**
|
|
212
|
+
* to identify if artificial belongs to any breakout room
|
|
213
|
+
* which usually we merge into the main room
|
|
214
|
+
*
|
|
215
|
+
* @generated from field: optional bool occurred_in_breakout_room = 7;
|
|
216
|
+
*/
|
|
217
|
+
occurredInBreakoutRoom?: boolean | undefined;
|
|
218
|
+
/**
|
|
219
|
+
* @generated from field: uint64 source_room_table_id = 8 [jstype = JS_STRING];
|
|
220
|
+
*/
|
|
221
|
+
sourceRoomTableId: string;
|
|
222
|
+
/**
|
|
223
|
+
* A field to link a file artifact back to its usage artifact.
|
|
224
|
+
*
|
|
225
|
+
* @generated from field: optional string reference_artifact_id = 10;
|
|
226
|
+
*/
|
|
227
|
+
referenceArtifactId?: string | undefined;
|
|
228
|
+
};
|
|
229
|
+
/**
|
|
230
|
+
* Describes the message plugnmeet.RoomArtifactMetadata.
|
|
231
|
+
* Use `create(RoomArtifactMetadataSchema)` to create a new message.
|
|
232
|
+
*/
|
|
233
|
+
export declare const RoomArtifactMetadataSchema: GenMessage<RoomArtifactMetadata>;
|
|
234
|
+
/**
|
|
235
|
+
* Webhook-specific Messages
|
|
236
|
+
*
|
|
237
|
+
* @generated from message plugnmeet.RoomArtifactWebhookEvent
|
|
238
|
+
*/
|
|
239
|
+
export type RoomArtifactWebhookEvent = Message<"plugnmeet.RoomArtifactWebhookEvent"> & {
|
|
240
|
+
/**
|
|
241
|
+
* @generated from field: plugnmeet.RoomArtifactType type = 1;
|
|
242
|
+
*/
|
|
243
|
+
type: RoomArtifactType;
|
|
244
|
+
/**
|
|
245
|
+
* @generated from field: string artifact_id = 2;
|
|
246
|
+
*/
|
|
247
|
+
artifactId: string;
|
|
248
|
+
/**
|
|
249
|
+
* @generated from field: plugnmeet.RoomArtifactMetadata metadata = 3;
|
|
250
|
+
*/
|
|
251
|
+
metadata?: RoomArtifactMetadata | undefined;
|
|
252
|
+
};
|
|
253
|
+
/**
|
|
254
|
+
* Describes the message plugnmeet.RoomArtifactWebhookEvent.
|
|
255
|
+
* Use `create(RoomArtifactWebhookEventSchema)` to create a new message.
|
|
256
|
+
*/
|
|
257
|
+
export declare const RoomArtifactWebhookEventSchema: GenMessage<RoomArtifactWebhookEvent>;
|
|
258
|
+
/**
|
|
259
|
+
* @generated from enum plugnmeet.RoomArtifactType
|
|
260
|
+
*/
|
|
261
|
+
export declare enum RoomArtifactType {
|
|
262
|
+
/**
|
|
263
|
+
* @generated from enum value: UNKNOWN_ARTIFACT = 0;
|
|
264
|
+
*/
|
|
265
|
+
UNKNOWN_ARTIFACT = 0,
|
|
266
|
+
/**
|
|
267
|
+
* @generated from enum value: MEETING_ANALYTICS = 1;
|
|
268
|
+
*/
|
|
269
|
+
MEETING_ANALYTICS = 1,
|
|
270
|
+
/**
|
|
271
|
+
* @generated from enum value: MEETING_SUMMARY = 2;
|
|
272
|
+
*/
|
|
273
|
+
MEETING_SUMMARY = 2,
|
|
274
|
+
/**
|
|
275
|
+
* @generated from enum value: MEETING_SUMMARY_USAGE = 3;
|
|
276
|
+
*/
|
|
277
|
+
MEETING_SUMMARY_USAGE = 3,
|
|
278
|
+
/**
|
|
279
|
+
* @generated from enum value: SPEECH_TRANSCRIPTION = 4;
|
|
280
|
+
*/
|
|
281
|
+
SPEECH_TRANSCRIPTION = 4,
|
|
282
|
+
/**
|
|
283
|
+
* @generated from enum value: SPEECH_TRANSCRIPTION_USAGE = 5;
|
|
284
|
+
*/
|
|
285
|
+
SPEECH_TRANSCRIPTION_USAGE = 5,
|
|
286
|
+
/**
|
|
287
|
+
* @generated from enum value: SYNTHESIZED_SPEECH_USAGE = 6;
|
|
288
|
+
*/
|
|
289
|
+
SYNTHESIZED_SPEECH_USAGE = 6,
|
|
290
|
+
/**
|
|
291
|
+
* @generated from enum value: CHAT_TRANSLATION_USAGE = 7;
|
|
292
|
+
*/
|
|
293
|
+
CHAT_TRANSLATION_USAGE = 7,
|
|
294
|
+
/**
|
|
295
|
+
* @generated from enum value: AI_TEXT_CHAT_INTERACTION_USAGE = 8;
|
|
296
|
+
*/
|
|
297
|
+
AI_TEXT_CHAT_INTERACTION_USAGE = 8,
|
|
298
|
+
/**
|
|
299
|
+
* @generated from enum value: AI_TEXT_CHAT_SUMMARIZATION_USAGE = 9;
|
|
300
|
+
*/
|
|
301
|
+
AI_TEXT_CHAT_SUMMARIZATION_USAGE = 9
|
|
302
|
+
}
|
|
303
|
+
/**
|
|
304
|
+
* Describes the enum plugnmeet.RoomArtifactType.
|
|
305
|
+
*/
|
|
306
|
+
export declare const RoomArtifactTypeSchema: GenEnum<RoomArtifactType>;
|