@4players/odin-common 2.0.0 → 2.2.1
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/lib/plugin/api.d.ts +6 -0
- package/lib/rpc/commands.d.ts +16 -34
- package/lib/rpc/notifications.d.ts +237 -687
- package/lib/schema/media.d.ts +26 -44
- package/lib/schema/peer.d.ts +44 -116
- package/lib/schema/room.d.ts +182 -524
- package/lib/schema/token.d.ts +4 -4
- package/package.json +6 -6
package/lib/schema/room.d.ts
CHANGED
|
@@ -16,12 +16,12 @@ export declare const RoomSchema: z.ZodObject<{
|
|
|
16
16
|
uid: z.ZodOptional<z.ZodString>;
|
|
17
17
|
customType: z.ZodOptional<z.ZodString>;
|
|
18
18
|
}, "strip", z.ZodTypeAny, {
|
|
19
|
-
kind?: "audio" | undefined;
|
|
20
19
|
uid?: string | undefined;
|
|
20
|
+
kind?: "audio" | undefined;
|
|
21
21
|
customType?: string | undefined;
|
|
22
22
|
}, {
|
|
23
|
-
kind?: "audio" | undefined;
|
|
24
23
|
uid?: string | undefined;
|
|
24
|
+
kind?: "audio" | undefined;
|
|
25
25
|
customType?: string | undefined;
|
|
26
26
|
}>, z.ZodObject<{
|
|
27
27
|
kind: z.ZodOptional<z.ZodLiteral<"video">>;
|
|
@@ -29,60 +29,42 @@ export declare const RoomSchema: z.ZodObject<{
|
|
|
29
29
|
uid: z.ZodOptional<z.ZodString>;
|
|
30
30
|
customType: z.ZodOptional<z.ZodString>;
|
|
31
31
|
}, "strip", z.ZodTypeAny, {
|
|
32
|
-
kind?: "video" | undefined;
|
|
33
|
-
codec?: string | undefined;
|
|
34
32
|
uid?: string | undefined;
|
|
35
|
-
customType?: string | undefined;
|
|
36
|
-
}, {
|
|
37
33
|
kind?: "video" | undefined;
|
|
34
|
+
customType?: string | undefined;
|
|
38
35
|
codec?: string | undefined;
|
|
36
|
+
}, {
|
|
39
37
|
uid?: string | undefined;
|
|
38
|
+
kind?: "video" | undefined;
|
|
40
39
|
customType?: string | undefined;
|
|
40
|
+
codec?: string | undefined;
|
|
41
41
|
}>]>;
|
|
42
42
|
paused: z.ZodBoolean;
|
|
43
43
|
}, "strip", z.ZodTypeAny, {
|
|
44
44
|
id: number;
|
|
45
|
-
properties:
|
|
46
|
-
kind?: "audio" | undefined;
|
|
45
|
+
properties: {
|
|
47
46
|
uid?: string | undefined;
|
|
48
|
-
customType?: string | undefined;
|
|
49
|
-
} | {
|
|
50
|
-
kind?: "video" | undefined;
|
|
51
|
-
codec?: string | undefined;
|
|
52
|
-
uid?: string | undefined;
|
|
53
|
-
customType?: string | undefined;
|
|
54
|
-
}) & ({
|
|
55
47
|
kind?: "audio" | undefined;
|
|
56
|
-
uid?: string | undefined;
|
|
57
48
|
customType?: string | undefined;
|
|
58
49
|
} | {
|
|
59
|
-
kind?: "video" | undefined;
|
|
60
|
-
codec?: string | undefined;
|
|
61
50
|
uid?: string | undefined;
|
|
51
|
+
kind?: "video" | undefined;
|
|
62
52
|
customType?: string | undefined;
|
|
63
|
-
|
|
53
|
+
codec?: string | undefined;
|
|
54
|
+
};
|
|
64
55
|
paused: boolean;
|
|
65
56
|
}, {
|
|
66
57
|
id: number;
|
|
67
|
-
properties:
|
|
68
|
-
kind?: "audio" | undefined;
|
|
58
|
+
properties: {
|
|
69
59
|
uid?: string | undefined;
|
|
70
|
-
customType?: string | undefined;
|
|
71
|
-
} | {
|
|
72
|
-
kind?: "video" | undefined;
|
|
73
|
-
codec?: string | undefined;
|
|
74
|
-
uid?: string | undefined;
|
|
75
|
-
customType?: string | undefined;
|
|
76
|
-
}) & ({
|
|
77
60
|
kind?: "audio" | undefined;
|
|
78
|
-
uid?: string | undefined;
|
|
79
61
|
customType?: string | undefined;
|
|
80
62
|
} | {
|
|
81
|
-
kind?: "video" | undefined;
|
|
82
|
-
codec?: string | undefined;
|
|
83
63
|
uid?: string | undefined;
|
|
64
|
+
kind?: "video" | undefined;
|
|
84
65
|
customType?: string | undefined;
|
|
85
|
-
|
|
66
|
+
codec?: string | undefined;
|
|
67
|
+
};
|
|
86
68
|
paused: boolean;
|
|
87
69
|
}>, "many">;
|
|
88
70
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -91,25 +73,16 @@ export declare const RoomSchema: z.ZodObject<{
|
|
|
91
73
|
user_data: Uint8Array;
|
|
92
74
|
medias: {
|
|
93
75
|
id: number;
|
|
94
|
-
properties:
|
|
95
|
-
kind?: "audio" | undefined;
|
|
96
|
-
uid?: string | undefined;
|
|
97
|
-
customType?: string | undefined;
|
|
98
|
-
} | {
|
|
99
|
-
kind?: "video" | undefined;
|
|
100
|
-
codec?: string | undefined;
|
|
76
|
+
properties: {
|
|
101
77
|
uid?: string | undefined;
|
|
102
|
-
customType?: string | undefined;
|
|
103
|
-
}) & ({
|
|
104
78
|
kind?: "audio" | undefined;
|
|
105
|
-
uid?: string | undefined;
|
|
106
79
|
customType?: string | undefined;
|
|
107
80
|
} | {
|
|
108
|
-
kind?: "video" | undefined;
|
|
109
|
-
codec?: string | undefined;
|
|
110
81
|
uid?: string | undefined;
|
|
82
|
+
kind?: "video" | undefined;
|
|
111
83
|
customType?: string | undefined;
|
|
112
|
-
|
|
84
|
+
codec?: string | undefined;
|
|
85
|
+
};
|
|
113
86
|
paused: boolean;
|
|
114
87
|
}[];
|
|
115
88
|
}, {
|
|
@@ -118,25 +91,16 @@ export declare const RoomSchema: z.ZodObject<{
|
|
|
118
91
|
user_data: Uint8Array;
|
|
119
92
|
medias: {
|
|
120
93
|
id: number;
|
|
121
|
-
properties:
|
|
122
|
-
kind?: "audio" | undefined;
|
|
94
|
+
properties: {
|
|
123
95
|
uid?: string | undefined;
|
|
124
|
-
customType?: string | undefined;
|
|
125
|
-
} | {
|
|
126
|
-
kind?: "video" | undefined;
|
|
127
|
-
codec?: string | undefined;
|
|
128
|
-
uid?: string | undefined;
|
|
129
|
-
customType?: string | undefined;
|
|
130
|
-
}) & ({
|
|
131
96
|
kind?: "audio" | undefined;
|
|
132
|
-
uid?: string | undefined;
|
|
133
97
|
customType?: string | undefined;
|
|
134
98
|
} | {
|
|
135
|
-
kind?: "video" | undefined;
|
|
136
|
-
codec?: string | undefined;
|
|
137
99
|
uid?: string | undefined;
|
|
100
|
+
kind?: "video" | undefined;
|
|
138
101
|
customType?: string | undefined;
|
|
139
|
-
|
|
102
|
+
codec?: string | undefined;
|
|
103
|
+
};
|
|
140
104
|
paused: boolean;
|
|
141
105
|
}[];
|
|
142
106
|
}>, "many">;
|
|
@@ -150,25 +114,16 @@ export declare const RoomSchema: z.ZodObject<{
|
|
|
150
114
|
user_data: Uint8Array;
|
|
151
115
|
medias: {
|
|
152
116
|
id: number;
|
|
153
|
-
properties:
|
|
154
|
-
kind?: "audio" | undefined;
|
|
155
|
-
uid?: string | undefined;
|
|
156
|
-
customType?: string | undefined;
|
|
157
|
-
} | {
|
|
158
|
-
kind?: "video" | undefined;
|
|
159
|
-
codec?: string | undefined;
|
|
117
|
+
properties: {
|
|
160
118
|
uid?: string | undefined;
|
|
161
|
-
customType?: string | undefined;
|
|
162
|
-
}) & ({
|
|
163
119
|
kind?: "audio" | undefined;
|
|
164
|
-
uid?: string | undefined;
|
|
165
120
|
customType?: string | undefined;
|
|
166
121
|
} | {
|
|
167
|
-
kind?: "video" | undefined;
|
|
168
|
-
codec?: string | undefined;
|
|
169
122
|
uid?: string | undefined;
|
|
123
|
+
kind?: "video" | undefined;
|
|
170
124
|
customType?: string | undefined;
|
|
171
|
-
|
|
125
|
+
codec?: string | undefined;
|
|
126
|
+
};
|
|
172
127
|
paused: boolean;
|
|
173
128
|
}[];
|
|
174
129
|
}[];
|
|
@@ -182,25 +137,16 @@ export declare const RoomSchema: z.ZodObject<{
|
|
|
182
137
|
user_data: Uint8Array;
|
|
183
138
|
medias: {
|
|
184
139
|
id: number;
|
|
185
|
-
properties:
|
|
186
|
-
kind?: "audio" | undefined;
|
|
140
|
+
properties: {
|
|
187
141
|
uid?: string | undefined;
|
|
188
|
-
customType?: string | undefined;
|
|
189
|
-
} | {
|
|
190
|
-
kind?: "video" | undefined;
|
|
191
|
-
codec?: string | undefined;
|
|
192
|
-
uid?: string | undefined;
|
|
193
|
-
customType?: string | undefined;
|
|
194
|
-
}) & ({
|
|
195
142
|
kind?: "audio" | undefined;
|
|
196
|
-
uid?: string | undefined;
|
|
197
143
|
customType?: string | undefined;
|
|
198
144
|
} | {
|
|
199
|
-
kind?: "video" | undefined;
|
|
200
|
-
codec?: string | undefined;
|
|
201
145
|
uid?: string | undefined;
|
|
146
|
+
kind?: "video" | undefined;
|
|
202
147
|
customType?: string | undefined;
|
|
203
|
-
|
|
148
|
+
codec?: string | undefined;
|
|
149
|
+
};
|
|
204
150
|
paused: boolean;
|
|
205
151
|
}[];
|
|
206
152
|
}[];
|
|
@@ -223,12 +169,12 @@ export declare const RoomUpdateSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObj
|
|
|
223
169
|
uid: z.ZodOptional<z.ZodString>;
|
|
224
170
|
customType: z.ZodOptional<z.ZodString>;
|
|
225
171
|
}, "strip", z.ZodTypeAny, {
|
|
226
|
-
kind?: "audio" | undefined;
|
|
227
172
|
uid?: string | undefined;
|
|
173
|
+
kind?: "audio" | undefined;
|
|
228
174
|
customType?: string | undefined;
|
|
229
175
|
}, {
|
|
230
|
-
kind?: "audio" | undefined;
|
|
231
176
|
uid?: string | undefined;
|
|
177
|
+
kind?: "audio" | undefined;
|
|
232
178
|
customType?: string | undefined;
|
|
233
179
|
}>, z.ZodObject<{
|
|
234
180
|
kind: z.ZodOptional<z.ZodLiteral<"video">>;
|
|
@@ -236,60 +182,42 @@ export declare const RoomUpdateSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObj
|
|
|
236
182
|
uid: z.ZodOptional<z.ZodString>;
|
|
237
183
|
customType: z.ZodOptional<z.ZodString>;
|
|
238
184
|
}, "strip", z.ZodTypeAny, {
|
|
239
|
-
kind?: "video" | undefined;
|
|
240
|
-
codec?: string | undefined;
|
|
241
185
|
uid?: string | undefined;
|
|
242
|
-
customType?: string | undefined;
|
|
243
|
-
}, {
|
|
244
186
|
kind?: "video" | undefined;
|
|
187
|
+
customType?: string | undefined;
|
|
245
188
|
codec?: string | undefined;
|
|
189
|
+
}, {
|
|
246
190
|
uid?: string | undefined;
|
|
191
|
+
kind?: "video" | undefined;
|
|
247
192
|
customType?: string | undefined;
|
|
193
|
+
codec?: string | undefined;
|
|
248
194
|
}>]>;
|
|
249
195
|
paused: z.ZodBoolean;
|
|
250
196
|
}, "strip", z.ZodTypeAny, {
|
|
251
197
|
id: number;
|
|
252
|
-
properties:
|
|
253
|
-
kind?: "audio" | undefined;
|
|
198
|
+
properties: {
|
|
254
199
|
uid?: string | undefined;
|
|
255
|
-
customType?: string | undefined;
|
|
256
|
-
} | {
|
|
257
|
-
kind?: "video" | undefined;
|
|
258
|
-
codec?: string | undefined;
|
|
259
|
-
uid?: string | undefined;
|
|
260
|
-
customType?: string | undefined;
|
|
261
|
-
}) & ({
|
|
262
200
|
kind?: "audio" | undefined;
|
|
263
|
-
uid?: string | undefined;
|
|
264
201
|
customType?: string | undefined;
|
|
265
202
|
} | {
|
|
266
|
-
kind?: "video" | undefined;
|
|
267
|
-
codec?: string | undefined;
|
|
268
203
|
uid?: string | undefined;
|
|
204
|
+
kind?: "video" | undefined;
|
|
269
205
|
customType?: string | undefined;
|
|
270
|
-
|
|
206
|
+
codec?: string | undefined;
|
|
207
|
+
};
|
|
271
208
|
paused: boolean;
|
|
272
209
|
}, {
|
|
273
210
|
id: number;
|
|
274
|
-
properties:
|
|
275
|
-
kind?: "audio" | undefined;
|
|
276
|
-
uid?: string | undefined;
|
|
277
|
-
customType?: string | undefined;
|
|
278
|
-
} | {
|
|
279
|
-
kind?: "video" | undefined;
|
|
280
|
-
codec?: string | undefined;
|
|
211
|
+
properties: {
|
|
281
212
|
uid?: string | undefined;
|
|
282
|
-
customType?: string | undefined;
|
|
283
|
-
}) & ({
|
|
284
213
|
kind?: "audio" | undefined;
|
|
285
|
-
uid?: string | undefined;
|
|
286
214
|
customType?: string | undefined;
|
|
287
215
|
} | {
|
|
288
|
-
kind?: "video" | undefined;
|
|
289
|
-
codec?: string | undefined;
|
|
290
216
|
uid?: string | undefined;
|
|
217
|
+
kind?: "video" | undefined;
|
|
291
218
|
customType?: string | undefined;
|
|
292
|
-
|
|
219
|
+
codec?: string | undefined;
|
|
220
|
+
};
|
|
293
221
|
paused: boolean;
|
|
294
222
|
}>, "many">;
|
|
295
223
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -298,25 +226,16 @@ export declare const RoomUpdateSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObj
|
|
|
298
226
|
user_data: Uint8Array;
|
|
299
227
|
medias: {
|
|
300
228
|
id: number;
|
|
301
|
-
properties:
|
|
302
|
-
kind?: "audio" | undefined;
|
|
303
|
-
uid?: string | undefined;
|
|
304
|
-
customType?: string | undefined;
|
|
305
|
-
} | {
|
|
306
|
-
kind?: "video" | undefined;
|
|
307
|
-
codec?: string | undefined;
|
|
229
|
+
properties: {
|
|
308
230
|
uid?: string | undefined;
|
|
309
|
-
customType?: string | undefined;
|
|
310
|
-
}) & ({
|
|
311
231
|
kind?: "audio" | undefined;
|
|
312
|
-
uid?: string | undefined;
|
|
313
232
|
customType?: string | undefined;
|
|
314
233
|
} | {
|
|
315
|
-
kind?: "video" | undefined;
|
|
316
|
-
codec?: string | undefined;
|
|
317
234
|
uid?: string | undefined;
|
|
235
|
+
kind?: "video" | undefined;
|
|
318
236
|
customType?: string | undefined;
|
|
319
|
-
|
|
237
|
+
codec?: string | undefined;
|
|
238
|
+
};
|
|
320
239
|
paused: boolean;
|
|
321
240
|
}[];
|
|
322
241
|
}, {
|
|
@@ -325,25 +244,16 @@ export declare const RoomUpdateSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObj
|
|
|
325
244
|
user_data: Uint8Array;
|
|
326
245
|
medias: {
|
|
327
246
|
id: number;
|
|
328
|
-
properties:
|
|
329
|
-
kind?: "audio" | undefined;
|
|
247
|
+
properties: {
|
|
330
248
|
uid?: string | undefined;
|
|
331
|
-
customType?: string | undefined;
|
|
332
|
-
} | {
|
|
333
|
-
kind?: "video" | undefined;
|
|
334
|
-
codec?: string | undefined;
|
|
335
|
-
uid?: string | undefined;
|
|
336
|
-
customType?: string | undefined;
|
|
337
|
-
}) & ({
|
|
338
249
|
kind?: "audio" | undefined;
|
|
339
|
-
uid?: string | undefined;
|
|
340
250
|
customType?: string | undefined;
|
|
341
251
|
} | {
|
|
342
|
-
kind?: "video" | undefined;
|
|
343
|
-
codec?: string | undefined;
|
|
344
252
|
uid?: string | undefined;
|
|
253
|
+
kind?: "video" | undefined;
|
|
345
254
|
customType?: string | undefined;
|
|
346
|
-
|
|
255
|
+
codec?: string | undefined;
|
|
256
|
+
};
|
|
347
257
|
paused: boolean;
|
|
348
258
|
}[];
|
|
349
259
|
}>, "many">;
|
|
@@ -357,25 +267,16 @@ export declare const RoomUpdateSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObj
|
|
|
357
267
|
user_data: Uint8Array;
|
|
358
268
|
medias: {
|
|
359
269
|
id: number;
|
|
360
|
-
properties:
|
|
361
|
-
kind?: "audio" | undefined;
|
|
270
|
+
properties: {
|
|
362
271
|
uid?: string | undefined;
|
|
363
|
-
customType?: string | undefined;
|
|
364
|
-
} | {
|
|
365
|
-
kind?: "video" | undefined;
|
|
366
|
-
codec?: string | undefined;
|
|
367
|
-
uid?: string | undefined;
|
|
368
|
-
customType?: string | undefined;
|
|
369
|
-
}) & ({
|
|
370
272
|
kind?: "audio" | undefined;
|
|
371
|
-
uid?: string | undefined;
|
|
372
273
|
customType?: string | undefined;
|
|
373
274
|
} | {
|
|
374
|
-
kind?: "video" | undefined;
|
|
375
|
-
codec?: string | undefined;
|
|
376
275
|
uid?: string | undefined;
|
|
276
|
+
kind?: "video" | undefined;
|
|
377
277
|
customType?: string | undefined;
|
|
378
|
-
|
|
278
|
+
codec?: string | undefined;
|
|
279
|
+
};
|
|
379
280
|
paused: boolean;
|
|
380
281
|
}[];
|
|
381
282
|
}[];
|
|
@@ -389,25 +290,16 @@ export declare const RoomUpdateSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObj
|
|
|
389
290
|
user_data: Uint8Array;
|
|
390
291
|
medias: {
|
|
391
292
|
id: number;
|
|
392
|
-
properties:
|
|
393
|
-
kind?: "audio" | undefined;
|
|
394
|
-
uid?: string | undefined;
|
|
395
|
-
customType?: string | undefined;
|
|
396
|
-
} | {
|
|
397
|
-
kind?: "video" | undefined;
|
|
398
|
-
codec?: string | undefined;
|
|
293
|
+
properties: {
|
|
399
294
|
uid?: string | undefined;
|
|
400
|
-
customType?: string | undefined;
|
|
401
|
-
}) & ({
|
|
402
295
|
kind?: "audio" | undefined;
|
|
403
|
-
uid?: string | undefined;
|
|
404
296
|
customType?: string | undefined;
|
|
405
297
|
} | {
|
|
406
|
-
kind?: "video" | undefined;
|
|
407
|
-
codec?: string | undefined;
|
|
408
298
|
uid?: string | undefined;
|
|
299
|
+
kind?: "video" | undefined;
|
|
409
300
|
customType?: string | undefined;
|
|
410
|
-
|
|
301
|
+
codec?: string | undefined;
|
|
302
|
+
};
|
|
411
303
|
paused: boolean;
|
|
412
304
|
}[];
|
|
413
305
|
}[];
|
|
@@ -426,25 +318,16 @@ export declare const RoomUpdateSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObj
|
|
|
426
318
|
user_data: Uint8Array;
|
|
427
319
|
medias: {
|
|
428
320
|
id: number;
|
|
429
|
-
properties:
|
|
430
|
-
kind?: "audio" | undefined;
|
|
431
|
-
uid?: string | undefined;
|
|
432
|
-
customType?: string | undefined;
|
|
433
|
-
} | {
|
|
434
|
-
kind?: "video" | undefined;
|
|
435
|
-
codec?: string | undefined;
|
|
321
|
+
properties: {
|
|
436
322
|
uid?: string | undefined;
|
|
437
|
-
customType?: string | undefined;
|
|
438
|
-
}) & ({
|
|
439
323
|
kind?: "audio" | undefined;
|
|
440
|
-
uid?: string | undefined;
|
|
441
324
|
customType?: string | undefined;
|
|
442
325
|
} | {
|
|
443
|
-
kind?: "video" | undefined;
|
|
444
|
-
codec?: string | undefined;
|
|
445
326
|
uid?: string | undefined;
|
|
327
|
+
kind?: "video" | undefined;
|
|
446
328
|
customType?: string | undefined;
|
|
447
|
-
|
|
329
|
+
codec?: string | undefined;
|
|
330
|
+
};
|
|
448
331
|
paused: boolean;
|
|
449
332
|
}[];
|
|
450
333
|
}[];
|
|
@@ -463,25 +346,16 @@ export declare const RoomUpdateSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObj
|
|
|
463
346
|
user_data: Uint8Array;
|
|
464
347
|
medias: {
|
|
465
348
|
id: number;
|
|
466
|
-
properties:
|
|
467
|
-
kind?: "audio" | undefined;
|
|
468
|
-
uid?: string | undefined;
|
|
469
|
-
customType?: string | undefined;
|
|
470
|
-
} | {
|
|
471
|
-
kind?: "video" | undefined;
|
|
472
|
-
codec?: string | undefined;
|
|
349
|
+
properties: {
|
|
473
350
|
uid?: string | undefined;
|
|
474
|
-
customType?: string | undefined;
|
|
475
|
-
}) & ({
|
|
476
351
|
kind?: "audio" | undefined;
|
|
477
|
-
uid?: string | undefined;
|
|
478
352
|
customType?: string | undefined;
|
|
479
353
|
} | {
|
|
480
|
-
kind?: "video" | undefined;
|
|
481
|
-
codec?: string | undefined;
|
|
482
354
|
uid?: string | undefined;
|
|
355
|
+
kind?: "video" | undefined;
|
|
483
356
|
customType?: string | undefined;
|
|
484
|
-
|
|
357
|
+
codec?: string | undefined;
|
|
358
|
+
};
|
|
485
359
|
paused: boolean;
|
|
486
360
|
}[];
|
|
487
361
|
}[];
|
|
@@ -519,12 +393,12 @@ export declare const RoomUpdateSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObj
|
|
|
519
393
|
uid: z.ZodOptional<z.ZodString>;
|
|
520
394
|
customType: z.ZodOptional<z.ZodString>;
|
|
521
395
|
}, "strip", z.ZodTypeAny, {
|
|
522
|
-
kind?: "audio" | undefined;
|
|
523
396
|
uid?: string | undefined;
|
|
397
|
+
kind?: "audio" | undefined;
|
|
524
398
|
customType?: string | undefined;
|
|
525
399
|
}, {
|
|
526
|
-
kind?: "audio" | undefined;
|
|
527
400
|
uid?: string | undefined;
|
|
401
|
+
kind?: "audio" | undefined;
|
|
528
402
|
customType?: string | undefined;
|
|
529
403
|
}>, z.ZodObject<{
|
|
530
404
|
kind: z.ZodOptional<z.ZodLiteral<"video">>;
|
|
@@ -532,60 +406,42 @@ export declare const RoomUpdateSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObj
|
|
|
532
406
|
uid: z.ZodOptional<z.ZodString>;
|
|
533
407
|
customType: z.ZodOptional<z.ZodString>;
|
|
534
408
|
}, "strip", z.ZodTypeAny, {
|
|
535
|
-
kind?: "video" | undefined;
|
|
536
|
-
codec?: string | undefined;
|
|
537
409
|
uid?: string | undefined;
|
|
538
|
-
customType?: string | undefined;
|
|
539
|
-
}, {
|
|
540
410
|
kind?: "video" | undefined;
|
|
411
|
+
customType?: string | undefined;
|
|
541
412
|
codec?: string | undefined;
|
|
413
|
+
}, {
|
|
542
414
|
uid?: string | undefined;
|
|
415
|
+
kind?: "video" | undefined;
|
|
543
416
|
customType?: string | undefined;
|
|
417
|
+
codec?: string | undefined;
|
|
544
418
|
}>]>;
|
|
545
419
|
paused: z.ZodBoolean;
|
|
546
420
|
}, "strip", z.ZodTypeAny, {
|
|
547
421
|
id: number;
|
|
548
|
-
properties:
|
|
549
|
-
kind?: "audio" | undefined;
|
|
550
|
-
uid?: string | undefined;
|
|
551
|
-
customType?: string | undefined;
|
|
552
|
-
} | {
|
|
553
|
-
kind?: "video" | undefined;
|
|
554
|
-
codec?: string | undefined;
|
|
422
|
+
properties: {
|
|
555
423
|
uid?: string | undefined;
|
|
556
|
-
customType?: string | undefined;
|
|
557
|
-
}) & ({
|
|
558
424
|
kind?: "audio" | undefined;
|
|
559
|
-
uid?: string | undefined;
|
|
560
425
|
customType?: string | undefined;
|
|
561
426
|
} | {
|
|
562
|
-
kind?: "video" | undefined;
|
|
563
|
-
codec?: string | undefined;
|
|
564
427
|
uid?: string | undefined;
|
|
428
|
+
kind?: "video" | undefined;
|
|
565
429
|
customType?: string | undefined;
|
|
566
|
-
|
|
430
|
+
codec?: string | undefined;
|
|
431
|
+
};
|
|
567
432
|
paused: boolean;
|
|
568
433
|
}, {
|
|
569
434
|
id: number;
|
|
570
|
-
properties:
|
|
571
|
-
kind?: "audio" | undefined;
|
|
572
|
-
uid?: string | undefined;
|
|
573
|
-
customType?: string | undefined;
|
|
574
|
-
} | {
|
|
575
|
-
kind?: "video" | undefined;
|
|
576
|
-
codec?: string | undefined;
|
|
435
|
+
properties: {
|
|
577
436
|
uid?: string | undefined;
|
|
578
|
-
customType?: string | undefined;
|
|
579
|
-
}) & ({
|
|
580
437
|
kind?: "audio" | undefined;
|
|
581
|
-
uid?: string | undefined;
|
|
582
438
|
customType?: string | undefined;
|
|
583
439
|
} | {
|
|
584
|
-
kind?: "video" | undefined;
|
|
585
|
-
codec?: string | undefined;
|
|
586
440
|
uid?: string | undefined;
|
|
441
|
+
kind?: "video" | undefined;
|
|
587
442
|
customType?: string | undefined;
|
|
588
|
-
|
|
443
|
+
codec?: string | undefined;
|
|
444
|
+
};
|
|
589
445
|
paused: boolean;
|
|
590
446
|
}>, "many">;
|
|
591
447
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -594,25 +450,16 @@ export declare const RoomUpdateSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObj
|
|
|
594
450
|
user_data: Uint8Array;
|
|
595
451
|
medias: {
|
|
596
452
|
id: number;
|
|
597
|
-
properties:
|
|
598
|
-
kind?: "audio" | undefined;
|
|
599
|
-
uid?: string | undefined;
|
|
600
|
-
customType?: string | undefined;
|
|
601
|
-
} | {
|
|
602
|
-
kind?: "video" | undefined;
|
|
603
|
-
codec?: string | undefined;
|
|
453
|
+
properties: {
|
|
604
454
|
uid?: string | undefined;
|
|
605
|
-
customType?: string | undefined;
|
|
606
|
-
}) & ({
|
|
607
455
|
kind?: "audio" | undefined;
|
|
608
|
-
uid?: string | undefined;
|
|
609
456
|
customType?: string | undefined;
|
|
610
457
|
} | {
|
|
611
|
-
kind?: "video" | undefined;
|
|
612
|
-
codec?: string | undefined;
|
|
613
458
|
uid?: string | undefined;
|
|
459
|
+
kind?: "video" | undefined;
|
|
614
460
|
customType?: string | undefined;
|
|
615
|
-
|
|
461
|
+
codec?: string | undefined;
|
|
462
|
+
};
|
|
616
463
|
paused: boolean;
|
|
617
464
|
}[];
|
|
618
465
|
}, {
|
|
@@ -621,25 +468,16 @@ export declare const RoomUpdateSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObj
|
|
|
621
468
|
user_data: Uint8Array;
|
|
622
469
|
medias: {
|
|
623
470
|
id: number;
|
|
624
|
-
properties:
|
|
625
|
-
kind?: "audio" | undefined;
|
|
626
|
-
uid?: string | undefined;
|
|
627
|
-
customType?: string | undefined;
|
|
628
|
-
} | {
|
|
629
|
-
kind?: "video" | undefined;
|
|
630
|
-
codec?: string | undefined;
|
|
471
|
+
properties: {
|
|
631
472
|
uid?: string | undefined;
|
|
632
|
-
customType?: string | undefined;
|
|
633
|
-
}) & ({
|
|
634
473
|
kind?: "audio" | undefined;
|
|
635
|
-
uid?: string | undefined;
|
|
636
474
|
customType?: string | undefined;
|
|
637
475
|
} | {
|
|
638
|
-
kind?: "video" | undefined;
|
|
639
|
-
codec?: string | undefined;
|
|
640
476
|
uid?: string | undefined;
|
|
477
|
+
kind?: "video" | undefined;
|
|
641
478
|
customType?: string | undefined;
|
|
642
|
-
|
|
479
|
+
codec?: string | undefined;
|
|
480
|
+
};
|
|
643
481
|
paused: boolean;
|
|
644
482
|
}[];
|
|
645
483
|
}>;
|
|
@@ -651,25 +489,16 @@ export declare const RoomUpdateSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObj
|
|
|
651
489
|
user_data: Uint8Array;
|
|
652
490
|
medias: {
|
|
653
491
|
id: number;
|
|
654
|
-
properties:
|
|
655
|
-
kind?: "audio" | undefined;
|
|
656
|
-
uid?: string | undefined;
|
|
657
|
-
customType?: string | undefined;
|
|
658
|
-
} | {
|
|
659
|
-
kind?: "video" | undefined;
|
|
660
|
-
codec?: string | undefined;
|
|
492
|
+
properties: {
|
|
661
493
|
uid?: string | undefined;
|
|
662
|
-
customType?: string | undefined;
|
|
663
|
-
}) & ({
|
|
664
494
|
kind?: "audio" | undefined;
|
|
665
|
-
uid?: string | undefined;
|
|
666
495
|
customType?: string | undefined;
|
|
667
496
|
} | {
|
|
668
|
-
kind?: "video" | undefined;
|
|
669
|
-
codec?: string | undefined;
|
|
670
497
|
uid?: string | undefined;
|
|
498
|
+
kind?: "video" | undefined;
|
|
671
499
|
customType?: string | undefined;
|
|
672
|
-
|
|
500
|
+
codec?: string | undefined;
|
|
501
|
+
};
|
|
673
502
|
paused: boolean;
|
|
674
503
|
}[];
|
|
675
504
|
};
|
|
@@ -681,25 +510,16 @@ export declare const RoomUpdateSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObj
|
|
|
681
510
|
user_data: Uint8Array;
|
|
682
511
|
medias: {
|
|
683
512
|
id: number;
|
|
684
|
-
properties:
|
|
685
|
-
kind?: "audio" | undefined;
|
|
686
|
-
uid?: string | undefined;
|
|
687
|
-
customType?: string | undefined;
|
|
688
|
-
} | {
|
|
689
|
-
kind?: "video" | undefined;
|
|
690
|
-
codec?: string | undefined;
|
|
513
|
+
properties: {
|
|
691
514
|
uid?: string | undefined;
|
|
692
|
-
customType?: string | undefined;
|
|
693
|
-
}) & ({
|
|
694
515
|
kind?: "audio" | undefined;
|
|
695
|
-
uid?: string | undefined;
|
|
696
516
|
customType?: string | undefined;
|
|
697
517
|
} | {
|
|
698
|
-
kind?: "video" | undefined;
|
|
699
|
-
codec?: string | undefined;
|
|
700
518
|
uid?: string | undefined;
|
|
519
|
+
kind?: "video" | undefined;
|
|
701
520
|
customType?: string | undefined;
|
|
702
|
-
|
|
521
|
+
codec?: string | undefined;
|
|
522
|
+
};
|
|
703
523
|
paused: boolean;
|
|
704
524
|
}[];
|
|
705
525
|
};
|
|
@@ -732,12 +552,12 @@ export declare const RoomUpdatesSchema: z.ZodObject<{
|
|
|
732
552
|
uid: z.ZodOptional<z.ZodString>;
|
|
733
553
|
customType: z.ZodOptional<z.ZodString>;
|
|
734
554
|
}, "strip", z.ZodTypeAny, {
|
|
735
|
-
kind?: "audio" | undefined;
|
|
736
555
|
uid?: string | undefined;
|
|
556
|
+
kind?: "audio" | undefined;
|
|
737
557
|
customType?: string | undefined;
|
|
738
558
|
}, {
|
|
739
|
-
kind?: "audio" | undefined;
|
|
740
559
|
uid?: string | undefined;
|
|
560
|
+
kind?: "audio" | undefined;
|
|
741
561
|
customType?: string | undefined;
|
|
742
562
|
}>, z.ZodObject<{
|
|
743
563
|
kind: z.ZodOptional<z.ZodLiteral<"video">>;
|
|
@@ -745,60 +565,42 @@ export declare const RoomUpdatesSchema: z.ZodObject<{
|
|
|
745
565
|
uid: z.ZodOptional<z.ZodString>;
|
|
746
566
|
customType: z.ZodOptional<z.ZodString>;
|
|
747
567
|
}, "strip", z.ZodTypeAny, {
|
|
748
|
-
kind?: "video" | undefined;
|
|
749
|
-
codec?: string | undefined;
|
|
750
568
|
uid?: string | undefined;
|
|
751
|
-
customType?: string | undefined;
|
|
752
|
-
}, {
|
|
753
569
|
kind?: "video" | undefined;
|
|
570
|
+
customType?: string | undefined;
|
|
754
571
|
codec?: string | undefined;
|
|
572
|
+
}, {
|
|
755
573
|
uid?: string | undefined;
|
|
574
|
+
kind?: "video" | undefined;
|
|
756
575
|
customType?: string | undefined;
|
|
576
|
+
codec?: string | undefined;
|
|
757
577
|
}>]>;
|
|
758
578
|
paused: z.ZodBoolean;
|
|
759
579
|
}, "strip", z.ZodTypeAny, {
|
|
760
580
|
id: number;
|
|
761
|
-
properties:
|
|
762
|
-
kind?: "audio" | undefined;
|
|
763
|
-
uid?: string | undefined;
|
|
764
|
-
customType?: string | undefined;
|
|
765
|
-
} | {
|
|
766
|
-
kind?: "video" | undefined;
|
|
767
|
-
codec?: string | undefined;
|
|
581
|
+
properties: {
|
|
768
582
|
uid?: string | undefined;
|
|
769
|
-
customType?: string | undefined;
|
|
770
|
-
}) & ({
|
|
771
583
|
kind?: "audio" | undefined;
|
|
772
|
-
uid?: string | undefined;
|
|
773
584
|
customType?: string | undefined;
|
|
774
585
|
} | {
|
|
775
|
-
kind?: "video" | undefined;
|
|
776
|
-
codec?: string | undefined;
|
|
777
586
|
uid?: string | undefined;
|
|
587
|
+
kind?: "video" | undefined;
|
|
778
588
|
customType?: string | undefined;
|
|
779
|
-
|
|
589
|
+
codec?: string | undefined;
|
|
590
|
+
};
|
|
780
591
|
paused: boolean;
|
|
781
592
|
}, {
|
|
782
593
|
id: number;
|
|
783
|
-
properties:
|
|
784
|
-
kind?: "audio" | undefined;
|
|
785
|
-
uid?: string | undefined;
|
|
786
|
-
customType?: string | undefined;
|
|
787
|
-
} | {
|
|
788
|
-
kind?: "video" | undefined;
|
|
789
|
-
codec?: string | undefined;
|
|
594
|
+
properties: {
|
|
790
595
|
uid?: string | undefined;
|
|
791
|
-
customType?: string | undefined;
|
|
792
|
-
}) & ({
|
|
793
596
|
kind?: "audio" | undefined;
|
|
794
|
-
uid?: string | undefined;
|
|
795
597
|
customType?: string | undefined;
|
|
796
598
|
} | {
|
|
797
|
-
kind?: "video" | undefined;
|
|
798
|
-
codec?: string | undefined;
|
|
799
599
|
uid?: string | undefined;
|
|
600
|
+
kind?: "video" | undefined;
|
|
800
601
|
customType?: string | undefined;
|
|
801
|
-
|
|
602
|
+
codec?: string | undefined;
|
|
603
|
+
};
|
|
802
604
|
paused: boolean;
|
|
803
605
|
}>, "many">;
|
|
804
606
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -807,25 +609,16 @@ export declare const RoomUpdatesSchema: z.ZodObject<{
|
|
|
807
609
|
user_data: Uint8Array;
|
|
808
610
|
medias: {
|
|
809
611
|
id: number;
|
|
810
|
-
properties:
|
|
811
|
-
kind?: "audio" | undefined;
|
|
812
|
-
uid?: string | undefined;
|
|
813
|
-
customType?: string | undefined;
|
|
814
|
-
} | {
|
|
815
|
-
kind?: "video" | undefined;
|
|
816
|
-
codec?: string | undefined;
|
|
612
|
+
properties: {
|
|
817
613
|
uid?: string | undefined;
|
|
818
|
-
customType?: string | undefined;
|
|
819
|
-
}) & ({
|
|
820
614
|
kind?: "audio" | undefined;
|
|
821
|
-
uid?: string | undefined;
|
|
822
615
|
customType?: string | undefined;
|
|
823
616
|
} | {
|
|
824
|
-
kind?: "video" | undefined;
|
|
825
|
-
codec?: string | undefined;
|
|
826
617
|
uid?: string | undefined;
|
|
618
|
+
kind?: "video" | undefined;
|
|
827
619
|
customType?: string | undefined;
|
|
828
|
-
|
|
620
|
+
codec?: string | undefined;
|
|
621
|
+
};
|
|
829
622
|
paused: boolean;
|
|
830
623
|
}[];
|
|
831
624
|
}, {
|
|
@@ -834,25 +627,16 @@ export declare const RoomUpdatesSchema: z.ZodObject<{
|
|
|
834
627
|
user_data: Uint8Array;
|
|
835
628
|
medias: {
|
|
836
629
|
id: number;
|
|
837
|
-
properties:
|
|
838
|
-
kind?: "audio" | undefined;
|
|
839
|
-
uid?: string | undefined;
|
|
840
|
-
customType?: string | undefined;
|
|
841
|
-
} | {
|
|
842
|
-
kind?: "video" | undefined;
|
|
843
|
-
codec?: string | undefined;
|
|
630
|
+
properties: {
|
|
844
631
|
uid?: string | undefined;
|
|
845
|
-
customType?: string | undefined;
|
|
846
|
-
}) & ({
|
|
847
632
|
kind?: "audio" | undefined;
|
|
848
|
-
uid?: string | undefined;
|
|
849
633
|
customType?: string | undefined;
|
|
850
634
|
} | {
|
|
851
|
-
kind?: "video" | undefined;
|
|
852
|
-
codec?: string | undefined;
|
|
853
635
|
uid?: string | undefined;
|
|
636
|
+
kind?: "video" | undefined;
|
|
854
637
|
customType?: string | undefined;
|
|
855
|
-
|
|
638
|
+
codec?: string | undefined;
|
|
639
|
+
};
|
|
856
640
|
paused: boolean;
|
|
857
641
|
}[];
|
|
858
642
|
}>, "many">;
|
|
@@ -866,25 +650,16 @@ export declare const RoomUpdatesSchema: z.ZodObject<{
|
|
|
866
650
|
user_data: Uint8Array;
|
|
867
651
|
medias: {
|
|
868
652
|
id: number;
|
|
869
|
-
properties:
|
|
870
|
-
kind?: "audio" | undefined;
|
|
871
|
-
uid?: string | undefined;
|
|
872
|
-
customType?: string | undefined;
|
|
873
|
-
} | {
|
|
874
|
-
kind?: "video" | undefined;
|
|
875
|
-
codec?: string | undefined;
|
|
653
|
+
properties: {
|
|
876
654
|
uid?: string | undefined;
|
|
877
|
-
customType?: string | undefined;
|
|
878
|
-
}) & ({
|
|
879
655
|
kind?: "audio" | undefined;
|
|
880
|
-
uid?: string | undefined;
|
|
881
656
|
customType?: string | undefined;
|
|
882
657
|
} | {
|
|
883
|
-
kind?: "video" | undefined;
|
|
884
|
-
codec?: string | undefined;
|
|
885
658
|
uid?: string | undefined;
|
|
659
|
+
kind?: "video" | undefined;
|
|
886
660
|
customType?: string | undefined;
|
|
887
|
-
|
|
661
|
+
codec?: string | undefined;
|
|
662
|
+
};
|
|
888
663
|
paused: boolean;
|
|
889
664
|
}[];
|
|
890
665
|
}[];
|
|
@@ -898,25 +673,16 @@ export declare const RoomUpdatesSchema: z.ZodObject<{
|
|
|
898
673
|
user_data: Uint8Array;
|
|
899
674
|
medias: {
|
|
900
675
|
id: number;
|
|
901
|
-
properties:
|
|
902
|
-
kind?: "audio" | undefined;
|
|
903
|
-
uid?: string | undefined;
|
|
904
|
-
customType?: string | undefined;
|
|
905
|
-
} | {
|
|
906
|
-
kind?: "video" | undefined;
|
|
907
|
-
codec?: string | undefined;
|
|
676
|
+
properties: {
|
|
908
677
|
uid?: string | undefined;
|
|
909
|
-
customType?: string | undefined;
|
|
910
|
-
}) & ({
|
|
911
678
|
kind?: "audio" | undefined;
|
|
912
|
-
uid?: string | undefined;
|
|
913
679
|
customType?: string | undefined;
|
|
914
680
|
} | {
|
|
915
|
-
kind?: "video" | undefined;
|
|
916
|
-
codec?: string | undefined;
|
|
917
681
|
uid?: string | undefined;
|
|
682
|
+
kind?: "video" | undefined;
|
|
918
683
|
customType?: string | undefined;
|
|
919
|
-
|
|
684
|
+
codec?: string | undefined;
|
|
685
|
+
};
|
|
920
686
|
paused: boolean;
|
|
921
687
|
}[];
|
|
922
688
|
}[];
|
|
@@ -935,25 +701,16 @@ export declare const RoomUpdatesSchema: z.ZodObject<{
|
|
|
935
701
|
user_data: Uint8Array;
|
|
936
702
|
medias: {
|
|
937
703
|
id: number;
|
|
938
|
-
properties:
|
|
939
|
-
kind?: "audio" | undefined;
|
|
940
|
-
uid?: string | undefined;
|
|
941
|
-
customType?: string | undefined;
|
|
942
|
-
} | {
|
|
943
|
-
kind?: "video" | undefined;
|
|
944
|
-
codec?: string | undefined;
|
|
704
|
+
properties: {
|
|
945
705
|
uid?: string | undefined;
|
|
946
|
-
customType?: string | undefined;
|
|
947
|
-
}) & ({
|
|
948
706
|
kind?: "audio" | undefined;
|
|
949
|
-
uid?: string | undefined;
|
|
950
707
|
customType?: string | undefined;
|
|
951
708
|
} | {
|
|
952
|
-
kind?: "video" | undefined;
|
|
953
|
-
codec?: string | undefined;
|
|
954
709
|
uid?: string | undefined;
|
|
710
|
+
kind?: "video" | undefined;
|
|
955
711
|
customType?: string | undefined;
|
|
956
|
-
|
|
712
|
+
codec?: string | undefined;
|
|
713
|
+
};
|
|
957
714
|
paused: boolean;
|
|
958
715
|
}[];
|
|
959
716
|
}[];
|
|
@@ -972,25 +729,16 @@ export declare const RoomUpdatesSchema: z.ZodObject<{
|
|
|
972
729
|
user_data: Uint8Array;
|
|
973
730
|
medias: {
|
|
974
731
|
id: number;
|
|
975
|
-
properties:
|
|
976
|
-
kind?: "audio" | undefined;
|
|
977
|
-
uid?: string | undefined;
|
|
978
|
-
customType?: string | undefined;
|
|
979
|
-
} | {
|
|
980
|
-
kind?: "video" | undefined;
|
|
981
|
-
codec?: string | undefined;
|
|
732
|
+
properties: {
|
|
982
733
|
uid?: string | undefined;
|
|
983
|
-
customType?: string | undefined;
|
|
984
|
-
}) & ({
|
|
985
734
|
kind?: "audio" | undefined;
|
|
986
|
-
uid?: string | undefined;
|
|
987
735
|
customType?: string | undefined;
|
|
988
736
|
} | {
|
|
989
|
-
kind?: "video" | undefined;
|
|
990
|
-
codec?: string | undefined;
|
|
991
737
|
uid?: string | undefined;
|
|
738
|
+
kind?: "video" | undefined;
|
|
992
739
|
customType?: string | undefined;
|
|
993
|
-
|
|
740
|
+
codec?: string | undefined;
|
|
741
|
+
};
|
|
994
742
|
paused: boolean;
|
|
995
743
|
}[];
|
|
996
744
|
}[];
|
|
@@ -1028,12 +776,12 @@ export declare const RoomUpdatesSchema: z.ZodObject<{
|
|
|
1028
776
|
uid: z.ZodOptional<z.ZodString>;
|
|
1029
777
|
customType: z.ZodOptional<z.ZodString>;
|
|
1030
778
|
}, "strip", z.ZodTypeAny, {
|
|
1031
|
-
kind?: "audio" | undefined;
|
|
1032
779
|
uid?: string | undefined;
|
|
780
|
+
kind?: "audio" | undefined;
|
|
1033
781
|
customType?: string | undefined;
|
|
1034
782
|
}, {
|
|
1035
|
-
kind?: "audio" | undefined;
|
|
1036
783
|
uid?: string | undefined;
|
|
784
|
+
kind?: "audio" | undefined;
|
|
1037
785
|
customType?: string | undefined;
|
|
1038
786
|
}>, z.ZodObject<{
|
|
1039
787
|
kind: z.ZodOptional<z.ZodLiteral<"video">>;
|
|
@@ -1041,60 +789,42 @@ export declare const RoomUpdatesSchema: z.ZodObject<{
|
|
|
1041
789
|
uid: z.ZodOptional<z.ZodString>;
|
|
1042
790
|
customType: z.ZodOptional<z.ZodString>;
|
|
1043
791
|
}, "strip", z.ZodTypeAny, {
|
|
1044
|
-
kind?: "video" | undefined;
|
|
1045
|
-
codec?: string | undefined;
|
|
1046
792
|
uid?: string | undefined;
|
|
1047
|
-
customType?: string | undefined;
|
|
1048
|
-
}, {
|
|
1049
793
|
kind?: "video" | undefined;
|
|
794
|
+
customType?: string | undefined;
|
|
1050
795
|
codec?: string | undefined;
|
|
796
|
+
}, {
|
|
1051
797
|
uid?: string | undefined;
|
|
798
|
+
kind?: "video" | undefined;
|
|
1052
799
|
customType?: string | undefined;
|
|
800
|
+
codec?: string | undefined;
|
|
1053
801
|
}>]>;
|
|
1054
802
|
paused: z.ZodBoolean;
|
|
1055
803
|
}, "strip", z.ZodTypeAny, {
|
|
1056
804
|
id: number;
|
|
1057
|
-
properties:
|
|
1058
|
-
kind?: "audio" | undefined;
|
|
1059
|
-
uid?: string | undefined;
|
|
1060
|
-
customType?: string | undefined;
|
|
1061
|
-
} | {
|
|
1062
|
-
kind?: "video" | undefined;
|
|
1063
|
-
codec?: string | undefined;
|
|
805
|
+
properties: {
|
|
1064
806
|
uid?: string | undefined;
|
|
1065
|
-
customType?: string | undefined;
|
|
1066
|
-
}) & ({
|
|
1067
807
|
kind?: "audio" | undefined;
|
|
1068
|
-
uid?: string | undefined;
|
|
1069
808
|
customType?: string | undefined;
|
|
1070
809
|
} | {
|
|
1071
|
-
kind?: "video" | undefined;
|
|
1072
|
-
codec?: string | undefined;
|
|
1073
810
|
uid?: string | undefined;
|
|
811
|
+
kind?: "video" | undefined;
|
|
1074
812
|
customType?: string | undefined;
|
|
1075
|
-
|
|
813
|
+
codec?: string | undefined;
|
|
814
|
+
};
|
|
1076
815
|
paused: boolean;
|
|
1077
816
|
}, {
|
|
1078
817
|
id: number;
|
|
1079
|
-
properties:
|
|
1080
|
-
kind?: "audio" | undefined;
|
|
1081
|
-
uid?: string | undefined;
|
|
1082
|
-
customType?: string | undefined;
|
|
1083
|
-
} | {
|
|
1084
|
-
kind?: "video" | undefined;
|
|
1085
|
-
codec?: string | undefined;
|
|
818
|
+
properties: {
|
|
1086
819
|
uid?: string | undefined;
|
|
1087
|
-
customType?: string | undefined;
|
|
1088
|
-
}) & ({
|
|
1089
820
|
kind?: "audio" | undefined;
|
|
1090
|
-
uid?: string | undefined;
|
|
1091
821
|
customType?: string | undefined;
|
|
1092
822
|
} | {
|
|
1093
|
-
kind?: "video" | undefined;
|
|
1094
|
-
codec?: string | undefined;
|
|
1095
823
|
uid?: string | undefined;
|
|
824
|
+
kind?: "video" | undefined;
|
|
1096
825
|
customType?: string | undefined;
|
|
1097
|
-
|
|
826
|
+
codec?: string | undefined;
|
|
827
|
+
};
|
|
1098
828
|
paused: boolean;
|
|
1099
829
|
}>, "many">;
|
|
1100
830
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1103,25 +833,16 @@ export declare const RoomUpdatesSchema: z.ZodObject<{
|
|
|
1103
833
|
user_data: Uint8Array;
|
|
1104
834
|
medias: {
|
|
1105
835
|
id: number;
|
|
1106
|
-
properties:
|
|
1107
|
-
kind?: "audio" | undefined;
|
|
1108
|
-
uid?: string | undefined;
|
|
1109
|
-
customType?: string | undefined;
|
|
1110
|
-
} | {
|
|
1111
|
-
kind?: "video" | undefined;
|
|
1112
|
-
codec?: string | undefined;
|
|
836
|
+
properties: {
|
|
1113
837
|
uid?: string | undefined;
|
|
1114
|
-
customType?: string | undefined;
|
|
1115
|
-
}) & ({
|
|
1116
838
|
kind?: "audio" | undefined;
|
|
1117
|
-
uid?: string | undefined;
|
|
1118
839
|
customType?: string | undefined;
|
|
1119
840
|
} | {
|
|
1120
|
-
kind?: "video" | undefined;
|
|
1121
|
-
codec?: string | undefined;
|
|
1122
841
|
uid?: string | undefined;
|
|
842
|
+
kind?: "video" | undefined;
|
|
1123
843
|
customType?: string | undefined;
|
|
1124
|
-
|
|
844
|
+
codec?: string | undefined;
|
|
845
|
+
};
|
|
1125
846
|
paused: boolean;
|
|
1126
847
|
}[];
|
|
1127
848
|
}, {
|
|
@@ -1130,25 +851,16 @@ export declare const RoomUpdatesSchema: z.ZodObject<{
|
|
|
1130
851
|
user_data: Uint8Array;
|
|
1131
852
|
medias: {
|
|
1132
853
|
id: number;
|
|
1133
|
-
properties:
|
|
1134
|
-
kind?: "audio" | undefined;
|
|
1135
|
-
uid?: string | undefined;
|
|
1136
|
-
customType?: string | undefined;
|
|
1137
|
-
} | {
|
|
1138
|
-
kind?: "video" | undefined;
|
|
1139
|
-
codec?: string | undefined;
|
|
854
|
+
properties: {
|
|
1140
855
|
uid?: string | undefined;
|
|
1141
|
-
customType?: string | undefined;
|
|
1142
|
-
}) & ({
|
|
1143
856
|
kind?: "audio" | undefined;
|
|
1144
|
-
uid?: string | undefined;
|
|
1145
857
|
customType?: string | undefined;
|
|
1146
858
|
} | {
|
|
1147
|
-
kind?: "video" | undefined;
|
|
1148
|
-
codec?: string | undefined;
|
|
1149
859
|
uid?: string | undefined;
|
|
860
|
+
kind?: "video" | undefined;
|
|
1150
861
|
customType?: string | undefined;
|
|
1151
|
-
|
|
862
|
+
codec?: string | undefined;
|
|
863
|
+
};
|
|
1152
864
|
paused: boolean;
|
|
1153
865
|
}[];
|
|
1154
866
|
}>;
|
|
@@ -1160,25 +872,16 @@ export declare const RoomUpdatesSchema: z.ZodObject<{
|
|
|
1160
872
|
user_data: Uint8Array;
|
|
1161
873
|
medias: {
|
|
1162
874
|
id: number;
|
|
1163
|
-
properties:
|
|
1164
|
-
kind?: "audio" | undefined;
|
|
1165
|
-
uid?: string | undefined;
|
|
1166
|
-
customType?: string | undefined;
|
|
1167
|
-
} | {
|
|
1168
|
-
kind?: "video" | undefined;
|
|
1169
|
-
codec?: string | undefined;
|
|
875
|
+
properties: {
|
|
1170
876
|
uid?: string | undefined;
|
|
1171
|
-
customType?: string | undefined;
|
|
1172
|
-
}) & ({
|
|
1173
877
|
kind?: "audio" | undefined;
|
|
1174
|
-
uid?: string | undefined;
|
|
1175
878
|
customType?: string | undefined;
|
|
1176
879
|
} | {
|
|
1177
|
-
kind?: "video" | undefined;
|
|
1178
|
-
codec?: string | undefined;
|
|
1179
880
|
uid?: string | undefined;
|
|
881
|
+
kind?: "video" | undefined;
|
|
1180
882
|
customType?: string | undefined;
|
|
1181
|
-
|
|
883
|
+
codec?: string | undefined;
|
|
884
|
+
};
|
|
1182
885
|
paused: boolean;
|
|
1183
886
|
}[];
|
|
1184
887
|
};
|
|
@@ -1190,25 +893,16 @@ export declare const RoomUpdatesSchema: z.ZodObject<{
|
|
|
1190
893
|
user_data: Uint8Array;
|
|
1191
894
|
medias: {
|
|
1192
895
|
id: number;
|
|
1193
|
-
properties:
|
|
1194
|
-
kind?: "audio" | undefined;
|
|
1195
|
-
uid?: string | undefined;
|
|
1196
|
-
customType?: string | undefined;
|
|
1197
|
-
} | {
|
|
1198
|
-
kind?: "video" | undefined;
|
|
1199
|
-
codec?: string | undefined;
|
|
896
|
+
properties: {
|
|
1200
897
|
uid?: string | undefined;
|
|
1201
|
-
customType?: string | undefined;
|
|
1202
|
-
}) & ({
|
|
1203
898
|
kind?: "audio" | undefined;
|
|
1204
|
-
uid?: string | undefined;
|
|
1205
899
|
customType?: string | undefined;
|
|
1206
900
|
} | {
|
|
1207
|
-
kind?: "video" | undefined;
|
|
1208
|
-
codec?: string | undefined;
|
|
1209
901
|
uid?: string | undefined;
|
|
902
|
+
kind?: "video" | undefined;
|
|
1210
903
|
customType?: string | undefined;
|
|
1211
|
-
|
|
904
|
+
codec?: string | undefined;
|
|
905
|
+
};
|
|
1212
906
|
paused: boolean;
|
|
1213
907
|
}[];
|
|
1214
908
|
};
|
|
@@ -1235,25 +929,16 @@ export declare const RoomUpdatesSchema: z.ZodObject<{
|
|
|
1235
929
|
user_data: Uint8Array;
|
|
1236
930
|
medias: {
|
|
1237
931
|
id: number;
|
|
1238
|
-
properties:
|
|
1239
|
-
kind?: "audio" | undefined;
|
|
1240
|
-
uid?: string | undefined;
|
|
1241
|
-
customType?: string | undefined;
|
|
1242
|
-
} | {
|
|
1243
|
-
kind?: "video" | undefined;
|
|
1244
|
-
codec?: string | undefined;
|
|
932
|
+
properties: {
|
|
1245
933
|
uid?: string | undefined;
|
|
1246
|
-
customType?: string | undefined;
|
|
1247
|
-
}) & ({
|
|
1248
934
|
kind?: "audio" | undefined;
|
|
1249
|
-
uid?: string | undefined;
|
|
1250
935
|
customType?: string | undefined;
|
|
1251
936
|
} | {
|
|
1252
|
-
kind?: "video" | undefined;
|
|
1253
|
-
codec?: string | undefined;
|
|
1254
937
|
uid?: string | undefined;
|
|
938
|
+
kind?: "video" | undefined;
|
|
1255
939
|
customType?: string | undefined;
|
|
1256
|
-
|
|
940
|
+
codec?: string | undefined;
|
|
941
|
+
};
|
|
1257
942
|
paused: boolean;
|
|
1258
943
|
}[];
|
|
1259
944
|
}[];
|
|
@@ -1274,25 +959,16 @@ export declare const RoomUpdatesSchema: z.ZodObject<{
|
|
|
1274
959
|
user_data: Uint8Array;
|
|
1275
960
|
medias: {
|
|
1276
961
|
id: number;
|
|
1277
|
-
properties:
|
|
1278
|
-
kind?: "audio" | undefined;
|
|
1279
|
-
uid?: string | undefined;
|
|
1280
|
-
customType?: string | undefined;
|
|
1281
|
-
} | {
|
|
1282
|
-
kind?: "video" | undefined;
|
|
1283
|
-
codec?: string | undefined;
|
|
962
|
+
properties: {
|
|
1284
963
|
uid?: string | undefined;
|
|
1285
|
-
customType?: string | undefined;
|
|
1286
|
-
}) & ({
|
|
1287
964
|
kind?: "audio" | undefined;
|
|
1288
|
-
uid?: string | undefined;
|
|
1289
965
|
customType?: string | undefined;
|
|
1290
966
|
} | {
|
|
1291
|
-
kind?: "video" | undefined;
|
|
1292
|
-
codec?: string | undefined;
|
|
1293
967
|
uid?: string | undefined;
|
|
968
|
+
kind?: "video" | undefined;
|
|
1294
969
|
customType?: string | undefined;
|
|
1295
|
-
|
|
970
|
+
codec?: string | undefined;
|
|
971
|
+
};
|
|
1296
972
|
paused: boolean;
|
|
1297
973
|
}[];
|
|
1298
974
|
};
|
|
@@ -1313,25 +989,16 @@ export declare const RoomUpdatesSchema: z.ZodObject<{
|
|
|
1313
989
|
user_data: Uint8Array;
|
|
1314
990
|
medias: {
|
|
1315
991
|
id: number;
|
|
1316
|
-
properties:
|
|
1317
|
-
kind?: "audio" | undefined;
|
|
1318
|
-
uid?: string | undefined;
|
|
1319
|
-
customType?: string | undefined;
|
|
1320
|
-
} | {
|
|
1321
|
-
kind?: "video" | undefined;
|
|
1322
|
-
codec?: string | undefined;
|
|
992
|
+
properties: {
|
|
1323
993
|
uid?: string | undefined;
|
|
1324
|
-
customType?: string | undefined;
|
|
1325
|
-
}) & ({
|
|
1326
994
|
kind?: "audio" | undefined;
|
|
1327
|
-
uid?: string | undefined;
|
|
1328
995
|
customType?: string | undefined;
|
|
1329
996
|
} | {
|
|
1330
|
-
kind?: "video" | undefined;
|
|
1331
|
-
codec?: string | undefined;
|
|
1332
997
|
uid?: string | undefined;
|
|
998
|
+
kind?: "video" | undefined;
|
|
1333
999
|
customType?: string | undefined;
|
|
1334
|
-
|
|
1000
|
+
codec?: string | undefined;
|
|
1001
|
+
};
|
|
1335
1002
|
paused: boolean;
|
|
1336
1003
|
}[];
|
|
1337
1004
|
}[];
|
|
@@ -1352,25 +1019,16 @@ export declare const RoomUpdatesSchema: z.ZodObject<{
|
|
|
1352
1019
|
user_data: Uint8Array;
|
|
1353
1020
|
medias: {
|
|
1354
1021
|
id: number;
|
|
1355
|
-
properties:
|
|
1356
|
-
kind?: "audio" | undefined;
|
|
1357
|
-
uid?: string | undefined;
|
|
1358
|
-
customType?: string | undefined;
|
|
1359
|
-
} | {
|
|
1360
|
-
kind?: "video" | undefined;
|
|
1361
|
-
codec?: string | undefined;
|
|
1022
|
+
properties: {
|
|
1362
1023
|
uid?: string | undefined;
|
|
1363
|
-
customType?: string | undefined;
|
|
1364
|
-
}) & ({
|
|
1365
1024
|
kind?: "audio" | undefined;
|
|
1366
|
-
uid?: string | undefined;
|
|
1367
1025
|
customType?: string | undefined;
|
|
1368
1026
|
} | {
|
|
1369
|
-
kind?: "video" | undefined;
|
|
1370
|
-
codec?: string | undefined;
|
|
1371
1027
|
uid?: string | undefined;
|
|
1028
|
+
kind?: "video" | undefined;
|
|
1372
1029
|
customType?: string | undefined;
|
|
1373
|
-
|
|
1030
|
+
codec?: string | undefined;
|
|
1031
|
+
};
|
|
1374
1032
|
paused: boolean;
|
|
1375
1033
|
}[];
|
|
1376
1034
|
};
|