@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,473 @@
|
|
|
1
|
+
// Copyright 2025 LiveKit, Inc.
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
|
|
15
|
+
// @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
|
|
16
|
+
// @generated from file livekit_temptalk.proto (package livekit, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
// @ts-nocheck
|
|
19
|
+
|
|
20
|
+
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
21
|
+
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* @generated from message livekit.TTCaller
|
|
25
|
+
*/
|
|
26
|
+
export declare class TTCaller extends Message<TTCaller> {
|
|
27
|
+
/**
|
|
28
|
+
* @generated from field: string uid = 1;
|
|
29
|
+
*/
|
|
30
|
+
uid: string;
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* @generated from field: int32 did = 2;
|
|
34
|
+
*/
|
|
35
|
+
did: number;
|
|
36
|
+
|
|
37
|
+
constructor(data?: PartialMessage<TTCaller>);
|
|
38
|
+
|
|
39
|
+
static readonly runtime: typeof proto3;
|
|
40
|
+
static readonly typeName = "livekit.TTCaller";
|
|
41
|
+
static readonly fields: FieldList;
|
|
42
|
+
|
|
43
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TTCaller;
|
|
44
|
+
|
|
45
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TTCaller;
|
|
46
|
+
|
|
47
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TTCaller;
|
|
48
|
+
|
|
49
|
+
static equals(a: TTCaller | PlainMessage<TTCaller> | undefined, b: TTCaller | PlainMessage<TTCaller> | undefined): boolean;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* @generated from message livekit.TTExceptionRecipient
|
|
54
|
+
*/
|
|
55
|
+
export declare class TTExceptionRecipient extends Message<TTExceptionRecipient> {
|
|
56
|
+
/**
|
|
57
|
+
* @generated from field: string uid = 1;
|
|
58
|
+
*/
|
|
59
|
+
uid: string;
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* @generated from field: int32 registrationId = 2;
|
|
63
|
+
*/
|
|
64
|
+
registrationId: number;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* @generated from field: string identityKey = 3;
|
|
68
|
+
*/
|
|
69
|
+
identityKey: string;
|
|
70
|
+
|
|
71
|
+
constructor(data?: PartialMessage<TTExceptionRecipient>);
|
|
72
|
+
|
|
73
|
+
static readonly runtime: typeof proto3;
|
|
74
|
+
static readonly typeName = "livekit.TTExceptionRecipient";
|
|
75
|
+
static readonly fields: FieldList;
|
|
76
|
+
|
|
77
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TTExceptionRecipient;
|
|
78
|
+
|
|
79
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TTExceptionRecipient;
|
|
80
|
+
|
|
81
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TTExceptionRecipient;
|
|
82
|
+
|
|
83
|
+
static equals(a: TTExceptionRecipient | PlainMessage<TTExceptionRecipient> | undefined, b: TTExceptionRecipient | PlainMessage<TTExceptionRecipient> | undefined): boolean;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* @generated from message livekit.TTBaseResponse
|
|
88
|
+
*/
|
|
89
|
+
export declare class TTBaseResponse extends Message<TTBaseResponse> {
|
|
90
|
+
/**
|
|
91
|
+
* @generated from field: uint32 ver = 1;
|
|
92
|
+
*/
|
|
93
|
+
ver: number;
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* @generated from field: uint32 status = 2;
|
|
97
|
+
*/
|
|
98
|
+
status: number;
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* @generated from field: string reason = 3;
|
|
102
|
+
*/
|
|
103
|
+
reason: string;
|
|
104
|
+
|
|
105
|
+
constructor(data?: PartialMessage<TTBaseResponse>);
|
|
106
|
+
|
|
107
|
+
static readonly runtime: typeof proto3;
|
|
108
|
+
static readonly typeName = "livekit.TTBaseResponse";
|
|
109
|
+
static readonly fields: FieldList;
|
|
110
|
+
|
|
111
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TTBaseResponse;
|
|
112
|
+
|
|
113
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TTBaseResponse;
|
|
114
|
+
|
|
115
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TTBaseResponse;
|
|
116
|
+
|
|
117
|
+
static equals(a: TTBaseResponse | PlainMessage<TTBaseResponse> | undefined, b: TTBaseResponse | PlainMessage<TTBaseResponse> | undefined): boolean;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* @generated from message livekit.TTCallResponseBody
|
|
122
|
+
*/
|
|
123
|
+
export declare class TTCallResponseBody extends Message<TTCallResponseBody> {
|
|
124
|
+
/**
|
|
125
|
+
* @generated from field: bool needsSync = 1;
|
|
126
|
+
*/
|
|
127
|
+
needsSync: boolean;
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* @generated from field: repeated string invalidUids = 2;
|
|
131
|
+
*/
|
|
132
|
+
invalidUids: string[];
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* @generated from field: repeated livekit.TTExceptionRecipient stale = 3;
|
|
136
|
+
*/
|
|
137
|
+
stale: TTExceptionRecipient[];
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* @generated from field: repeated livekit.TTExceptionRecipient missing = 4;
|
|
141
|
+
*/
|
|
142
|
+
missing: TTExceptionRecipient[];
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* @generated from field: repeated livekit.TTExceptionRecipient extra = 5;
|
|
146
|
+
*/
|
|
147
|
+
extra: TTExceptionRecipient[];
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* @generated from field: map<string, string> encMeta = 6;
|
|
151
|
+
*/
|
|
152
|
+
encMeta: { [key: string]: string };
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* @generated from field: string roomId = 7;
|
|
156
|
+
*/
|
|
157
|
+
roomId: string;
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* in milliseconds
|
|
161
|
+
*
|
|
162
|
+
* @generated from field: int64 createdAt = 8;
|
|
163
|
+
*/
|
|
164
|
+
createdAt: bigint;
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* @generated from field: string serviceUrl = 9;
|
|
168
|
+
*/
|
|
169
|
+
serviceUrl: string;
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* @generated from field: string token = 10;
|
|
173
|
+
*/
|
|
174
|
+
token: string;
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* @generated from field: livekit.TTCaller caller = 11;
|
|
178
|
+
*/
|
|
179
|
+
caller?: TTCaller;
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* @generated from field: int32 version = 12;
|
|
183
|
+
*/
|
|
184
|
+
version: number;
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* @generated from field: string emk = 13;
|
|
188
|
+
*/
|
|
189
|
+
emk: string;
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* @generated from field: string publicKey = 14;
|
|
193
|
+
*/
|
|
194
|
+
publicKey: string;
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* @generated from field: repeated string serviceUrls = 15;
|
|
198
|
+
*/
|
|
199
|
+
serviceUrls: string[];
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* in milliseconds
|
|
203
|
+
*
|
|
204
|
+
* @generated from field: uint64 systemShowTimestamp = 16;
|
|
205
|
+
*/
|
|
206
|
+
systemShowTimestamp: bigint;
|
|
207
|
+
|
|
208
|
+
constructor(data?: PartialMessage<TTCallResponseBody>);
|
|
209
|
+
|
|
210
|
+
static readonly runtime: typeof proto3;
|
|
211
|
+
static readonly typeName = "livekit.TTCallResponseBody";
|
|
212
|
+
static readonly fields: FieldList;
|
|
213
|
+
|
|
214
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TTCallResponseBody;
|
|
215
|
+
|
|
216
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TTCallResponseBody;
|
|
217
|
+
|
|
218
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TTCallResponseBody;
|
|
219
|
+
|
|
220
|
+
static equals(a: TTCallResponseBody | PlainMessage<TTCallResponseBody> | undefined, b: TTCallResponseBody | PlainMessage<TTCallResponseBody> | undefined): boolean;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* @generated from message livekit.TTCallResponse
|
|
225
|
+
*/
|
|
226
|
+
export declare class TTCallResponse extends Message<TTCallResponse> {
|
|
227
|
+
/**
|
|
228
|
+
* @generated from field: livekit.TTBaseResponse base = 1;
|
|
229
|
+
*/
|
|
230
|
+
base?: TTBaseResponse;
|
|
231
|
+
|
|
232
|
+
/**
|
|
233
|
+
* @generated from field: livekit.TTCallResponseBody body = 2;
|
|
234
|
+
*/
|
|
235
|
+
body?: TTCallResponseBody;
|
|
236
|
+
|
|
237
|
+
constructor(data?: PartialMessage<TTCallResponse>);
|
|
238
|
+
|
|
239
|
+
static readonly runtime: typeof proto3;
|
|
240
|
+
static readonly typeName = "livekit.TTCallResponse";
|
|
241
|
+
static readonly fields: FieldList;
|
|
242
|
+
|
|
243
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TTCallResponse;
|
|
244
|
+
|
|
245
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TTCallResponse;
|
|
246
|
+
|
|
247
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TTCallResponse;
|
|
248
|
+
|
|
249
|
+
static equals(a: TTCallResponse | PlainMessage<TTCallResponse> | undefined, b: TTCallResponse | PlainMessage<TTCallResponse> | undefined): boolean;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
* @generated from message livekit.TTCipherMessages
|
|
254
|
+
*/
|
|
255
|
+
export declare class TTCipherMessages extends Message<TTCipherMessages> {
|
|
256
|
+
/**
|
|
257
|
+
* @generated from field: string content = 1;
|
|
258
|
+
*/
|
|
259
|
+
content: string;
|
|
260
|
+
|
|
261
|
+
/**
|
|
262
|
+
* @generated from field: string uid = 2;
|
|
263
|
+
*/
|
|
264
|
+
uid: string;
|
|
265
|
+
|
|
266
|
+
/**
|
|
267
|
+
* @generated from field: int32 registrationId = 3;
|
|
268
|
+
*/
|
|
269
|
+
registrationId: number;
|
|
270
|
+
|
|
271
|
+
constructor(data?: PartialMessage<TTCipherMessages>);
|
|
272
|
+
|
|
273
|
+
static readonly runtime: typeof proto3;
|
|
274
|
+
static readonly typeName = "livekit.TTCipherMessages";
|
|
275
|
+
static readonly fields: FieldList;
|
|
276
|
+
|
|
277
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TTCipherMessages;
|
|
278
|
+
|
|
279
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TTCipherMessages;
|
|
280
|
+
|
|
281
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TTCipherMessages;
|
|
282
|
+
|
|
283
|
+
static equals(a: TTCipherMessages | PlainMessage<TTCipherMessages> | undefined, b: TTCipherMessages | PlainMessage<TTCipherMessages> | undefined): boolean;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* @generated from message livekit.TTEncInfo
|
|
288
|
+
*/
|
|
289
|
+
export declare class TTEncInfo extends Message<TTEncInfo> {
|
|
290
|
+
/**
|
|
291
|
+
* @generated from field: string uid = 1;
|
|
292
|
+
*/
|
|
293
|
+
uid: string;
|
|
294
|
+
|
|
295
|
+
/**
|
|
296
|
+
* @generated from field: string emk = 2;
|
|
297
|
+
*/
|
|
298
|
+
emk: string;
|
|
299
|
+
|
|
300
|
+
constructor(data?: PartialMessage<TTEncInfo>);
|
|
301
|
+
|
|
302
|
+
static readonly runtime: typeof proto3;
|
|
303
|
+
static readonly typeName = "livekit.TTEncInfo";
|
|
304
|
+
static readonly fields: FieldList;
|
|
305
|
+
|
|
306
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TTEncInfo;
|
|
307
|
+
|
|
308
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TTEncInfo;
|
|
309
|
+
|
|
310
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TTEncInfo;
|
|
311
|
+
|
|
312
|
+
static equals(a: TTEncInfo | PlainMessage<TTEncInfo> | undefined, b: TTEncInfo | PlainMessage<TTEncInfo> | undefined): boolean;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
/**
|
|
316
|
+
* @generated from message livekit.TTNotification
|
|
317
|
+
*/
|
|
318
|
+
export declare class TTNotification extends Message<TTNotification> {
|
|
319
|
+
/**
|
|
320
|
+
* @generated from field: int32 type = 1;
|
|
321
|
+
*/
|
|
322
|
+
type: number;
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
* @generated from field: livekit.TTNotification.TTArgs args = 2;
|
|
326
|
+
*/
|
|
327
|
+
args?: TTNotification_TTArgs;
|
|
328
|
+
|
|
329
|
+
constructor(data?: PartialMessage<TTNotification>);
|
|
330
|
+
|
|
331
|
+
static readonly runtime: typeof proto3;
|
|
332
|
+
static readonly typeName = "livekit.TTNotification";
|
|
333
|
+
static readonly fields: FieldList;
|
|
334
|
+
|
|
335
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TTNotification;
|
|
336
|
+
|
|
337
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TTNotification;
|
|
338
|
+
|
|
339
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TTNotification;
|
|
340
|
+
|
|
341
|
+
static equals(a: TTNotification | PlainMessage<TTNotification> | undefined, b: TTNotification | PlainMessage<TTNotification> | undefined): boolean;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
/**
|
|
345
|
+
* @generated from message livekit.TTNotification.TTArgs
|
|
346
|
+
*/
|
|
347
|
+
export declare class TTNotification_TTArgs extends Message<TTNotification_TTArgs> {
|
|
348
|
+
/**
|
|
349
|
+
* @generated from field: string collapseId = 1;
|
|
350
|
+
*/
|
|
351
|
+
collapseId: string;
|
|
352
|
+
|
|
353
|
+
constructor(data?: PartialMessage<TTNotification_TTArgs>);
|
|
354
|
+
|
|
355
|
+
static readonly runtime: typeof proto3;
|
|
356
|
+
static readonly typeName = "livekit.TTNotification.TTArgs";
|
|
357
|
+
static readonly fields: FieldList;
|
|
358
|
+
|
|
359
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TTNotification_TTArgs;
|
|
360
|
+
|
|
361
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TTNotification_TTArgs;
|
|
362
|
+
|
|
363
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TTNotification_TTArgs;
|
|
364
|
+
|
|
365
|
+
static equals(a: TTNotification_TTArgs | PlainMessage<TTNotification_TTArgs> | undefined, b: TTNotification_TTArgs | PlainMessage<TTNotification_TTArgs> | undefined): boolean;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
/**
|
|
369
|
+
* @generated from message livekit.TTStartCall
|
|
370
|
+
*/
|
|
371
|
+
export declare class TTStartCall extends Message<TTStartCall> {
|
|
372
|
+
/**
|
|
373
|
+
* [must] 1on1, group, instant
|
|
374
|
+
*
|
|
375
|
+
* @generated from field: string type = 1;
|
|
376
|
+
*/
|
|
377
|
+
type: string;
|
|
378
|
+
|
|
379
|
+
/**
|
|
380
|
+
* @generated from field: int32 version = 2;
|
|
381
|
+
*/
|
|
382
|
+
version: number;
|
|
383
|
+
|
|
384
|
+
/**
|
|
385
|
+
* @generated from field: string roomId = 3;
|
|
386
|
+
*/
|
|
387
|
+
roomId: string;
|
|
388
|
+
|
|
389
|
+
/**
|
|
390
|
+
* conversation id
|
|
391
|
+
*
|
|
392
|
+
* @generated from field: string conversationId = 4;
|
|
393
|
+
*/
|
|
394
|
+
conversationId: string;
|
|
395
|
+
|
|
396
|
+
/**
|
|
397
|
+
* @generated from field: string publicKey = 5;
|
|
398
|
+
*/
|
|
399
|
+
publicKey: string;
|
|
400
|
+
|
|
401
|
+
/**
|
|
402
|
+
* @generated from field: repeated livekit.TTEncInfo encInfos = 6;
|
|
403
|
+
*/
|
|
404
|
+
encInfos: TTEncInfo[];
|
|
405
|
+
|
|
406
|
+
/**
|
|
407
|
+
* @generated from field: map<string, string> encMeta = 7;
|
|
408
|
+
*/
|
|
409
|
+
encMeta: { [key: string]: string };
|
|
410
|
+
|
|
411
|
+
/**
|
|
412
|
+
* in milliseconds
|
|
413
|
+
*
|
|
414
|
+
* @generated from field: int64 timestamp = 8;
|
|
415
|
+
*/
|
|
416
|
+
timestamp: bigint;
|
|
417
|
+
|
|
418
|
+
/**
|
|
419
|
+
* @generated from field: livekit.TTNotification notification = 9;
|
|
420
|
+
*/
|
|
421
|
+
notification?: TTNotification;
|
|
422
|
+
|
|
423
|
+
/**
|
|
424
|
+
* @generated from field: repeated livekit.TTCipherMessages cipherMessages = 10;
|
|
425
|
+
*/
|
|
426
|
+
cipherMessages: TTCipherMessages[];
|
|
427
|
+
|
|
428
|
+
constructor(data?: PartialMessage<TTStartCall>);
|
|
429
|
+
|
|
430
|
+
static readonly runtime: typeof proto3;
|
|
431
|
+
static readonly typeName = "livekit.TTStartCall";
|
|
432
|
+
static readonly fields: FieldList;
|
|
433
|
+
|
|
434
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TTStartCall;
|
|
435
|
+
|
|
436
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TTStartCall;
|
|
437
|
+
|
|
438
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TTStartCall;
|
|
439
|
+
|
|
440
|
+
static equals(a: TTStartCall | PlainMessage<TTStartCall> | undefined, b: TTStartCall | PlainMessage<TTStartCall> | undefined): boolean;
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
/**
|
|
444
|
+
* @generated from message livekit.TTCallRequest
|
|
445
|
+
*/
|
|
446
|
+
export declare class TTCallRequest extends Message<TTCallRequest> {
|
|
447
|
+
/**
|
|
448
|
+
* client token: for verify
|
|
449
|
+
*
|
|
450
|
+
* @generated from field: string token = 1;
|
|
451
|
+
*/
|
|
452
|
+
token: string;
|
|
453
|
+
|
|
454
|
+
/**
|
|
455
|
+
* @generated from field: livekit.TTStartCall startCall = 2;
|
|
456
|
+
*/
|
|
457
|
+
startCall?: TTStartCall;
|
|
458
|
+
|
|
459
|
+
constructor(data?: PartialMessage<TTCallRequest>);
|
|
460
|
+
|
|
461
|
+
static readonly runtime: typeof proto3;
|
|
462
|
+
static readonly typeName = "livekit.TTCallRequest";
|
|
463
|
+
static readonly fields: FieldList;
|
|
464
|
+
|
|
465
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TTCallRequest;
|
|
466
|
+
|
|
467
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TTCallRequest;
|
|
468
|
+
|
|
469
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TTCallRequest;
|
|
470
|
+
|
|
471
|
+
static equals(a: TTCallRequest | PlainMessage<TTCallRequest> | undefined, b: TTCallRequest | PlainMessage<TTCallRequest> | undefined): boolean;
|
|
472
|
+
}
|
|
473
|
+
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
// Copyright 2025 LiveKit, Inc.
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
|
|
15
|
+
// @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
|
|
16
|
+
// @generated from file livekit_temptalk.proto (package livekit, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
// @ts-nocheck
|
|
19
|
+
|
|
20
|
+
import { proto3 } from "@bufbuild/protobuf";
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* @generated from message livekit.TTCaller
|
|
24
|
+
*/
|
|
25
|
+
export const TTCaller = /*@__PURE__*/ proto3.makeMessageType(
|
|
26
|
+
"livekit.TTCaller",
|
|
27
|
+
() => [
|
|
28
|
+
{ no: 1, name: "uid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
29
|
+
{ no: 2, name: "did", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
30
|
+
],
|
|
31
|
+
);
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* @generated from message livekit.TTExceptionRecipient
|
|
35
|
+
*/
|
|
36
|
+
export const TTExceptionRecipient = /*@__PURE__*/ proto3.makeMessageType(
|
|
37
|
+
"livekit.TTExceptionRecipient",
|
|
38
|
+
() => [
|
|
39
|
+
{ no: 1, name: "uid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
40
|
+
{ no: 2, name: "registrationId", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
41
|
+
{ no: 3, name: "identityKey", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
42
|
+
],
|
|
43
|
+
);
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* @generated from message livekit.TTBaseResponse
|
|
47
|
+
*/
|
|
48
|
+
export const TTBaseResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
49
|
+
"livekit.TTBaseResponse",
|
|
50
|
+
() => [
|
|
51
|
+
{ no: 1, name: "ver", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
52
|
+
{ no: 2, name: "status", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
53
|
+
{ no: 3, name: "reason", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
54
|
+
],
|
|
55
|
+
);
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* @generated from message livekit.TTCallResponseBody
|
|
59
|
+
*/
|
|
60
|
+
export const TTCallResponseBody = /*@__PURE__*/ proto3.makeMessageType(
|
|
61
|
+
"livekit.TTCallResponseBody",
|
|
62
|
+
() => [
|
|
63
|
+
{ no: 1, name: "needsSync", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
64
|
+
{ no: 2, name: "invalidUids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
65
|
+
{ no: 3, name: "stale", kind: "message", T: TTExceptionRecipient, repeated: true },
|
|
66
|
+
{ no: 4, name: "missing", kind: "message", T: TTExceptionRecipient, repeated: true },
|
|
67
|
+
{ no: 5, name: "extra", kind: "message", T: TTExceptionRecipient, repeated: true },
|
|
68
|
+
{ no: 6, name: "encMeta", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
69
|
+
{ no: 7, name: "roomId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
70
|
+
{ no: 8, name: "createdAt", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
71
|
+
{ no: 9, name: "serviceUrl", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
72
|
+
{ no: 10, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
73
|
+
{ no: 11, name: "caller", kind: "message", T: TTCaller },
|
|
74
|
+
{ no: 12, name: "version", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
75
|
+
{ no: 13, name: "emk", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
76
|
+
{ no: 14, name: "publicKey", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
77
|
+
{ no: 15, name: "serviceUrls", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
78
|
+
{ no: 16, name: "systemShowTimestamp", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
79
|
+
],
|
|
80
|
+
);
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* @generated from message livekit.TTCallResponse
|
|
84
|
+
*/
|
|
85
|
+
export const TTCallResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
86
|
+
"livekit.TTCallResponse",
|
|
87
|
+
() => [
|
|
88
|
+
{ no: 1, name: "base", kind: "message", T: TTBaseResponse },
|
|
89
|
+
{ no: 2, name: "body", kind: "message", T: TTCallResponseBody },
|
|
90
|
+
],
|
|
91
|
+
);
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* @generated from message livekit.TTCipherMessages
|
|
95
|
+
*/
|
|
96
|
+
export const TTCipherMessages = /*@__PURE__*/ proto3.makeMessageType(
|
|
97
|
+
"livekit.TTCipherMessages",
|
|
98
|
+
() => [
|
|
99
|
+
{ no: 1, name: "content", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
100
|
+
{ no: 2, name: "uid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
101
|
+
{ no: 3, name: "registrationId", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
102
|
+
],
|
|
103
|
+
);
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* @generated from message livekit.TTEncInfo
|
|
107
|
+
*/
|
|
108
|
+
export const TTEncInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
109
|
+
"livekit.TTEncInfo",
|
|
110
|
+
() => [
|
|
111
|
+
{ no: 1, name: "uid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
112
|
+
{ no: 2, name: "emk", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
113
|
+
],
|
|
114
|
+
);
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* @generated from message livekit.TTNotification
|
|
118
|
+
*/
|
|
119
|
+
export const TTNotification = /*@__PURE__*/ proto3.makeMessageType(
|
|
120
|
+
"livekit.TTNotification",
|
|
121
|
+
() => [
|
|
122
|
+
{ no: 1, name: "type", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
123
|
+
{ no: 2, name: "args", kind: "message", T: TTNotification_TTArgs },
|
|
124
|
+
],
|
|
125
|
+
);
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* @generated from message livekit.TTNotification.TTArgs
|
|
129
|
+
*/
|
|
130
|
+
export const TTNotification_TTArgs = /*@__PURE__*/ proto3.makeMessageType(
|
|
131
|
+
"livekit.TTNotification.TTArgs",
|
|
132
|
+
() => [
|
|
133
|
+
{ no: 1, name: "collapseId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
134
|
+
],
|
|
135
|
+
{localName: "TTNotification_TTArgs"},
|
|
136
|
+
);
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* @generated from message livekit.TTStartCall
|
|
140
|
+
*/
|
|
141
|
+
export const TTStartCall = /*@__PURE__*/ proto3.makeMessageType(
|
|
142
|
+
"livekit.TTStartCall",
|
|
143
|
+
() => [
|
|
144
|
+
{ no: 1, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
145
|
+
{ no: 2, name: "version", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
146
|
+
{ no: 3, name: "roomId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
147
|
+
{ no: 4, name: "conversationId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
148
|
+
{ no: 5, name: "publicKey", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
149
|
+
{ no: 6, name: "encInfos", kind: "message", T: TTEncInfo, repeated: true },
|
|
150
|
+
{ no: 7, name: "encMeta", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
151
|
+
{ no: 8, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
152
|
+
{ no: 9, name: "notification", kind: "message", T: TTNotification },
|
|
153
|
+
{ no: 10, name: "cipherMessages", kind: "message", T: TTCipherMessages, repeated: true },
|
|
154
|
+
],
|
|
155
|
+
);
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* @generated from message livekit.TTCallRequest
|
|
159
|
+
*/
|
|
160
|
+
export const TTCallRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
161
|
+
"livekit.TTCallRequest",
|
|
162
|
+
() => [
|
|
163
|
+
{ no: 1, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
164
|
+
{ no: 2, name: "startCall", kind: "message", T: TTStartCall },
|
|
165
|
+
],
|
|
166
|
+
);
|
|
167
|
+
|