@pairlobby/protocol 0.18.0 → 0.20.0
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/README.md +1 -1
- package/dist/errors.d.ts +1 -1
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +3 -1
- package/dist/errors.js.map +1 -1
- package/dist/events.d.ts +250 -2
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +4 -1
- package/dist/events.js.map +1 -1
- package/dist/files.d.ts +241 -0
- package/dist/files.d.ts.map +1 -0
- package/dist/files.js +60 -0
- package/dist/files.js.map +1 -0
- package/dist/http.d.ts +605 -39
- package/dist/http.d.ts.map +1 -1
- package/dist/http.js +7 -1
- package/dist/http.js.map +1 -1
- package/dist/ids.d.ts +2 -0
- package/dist/ids.d.ts.map +1 -1
- package/dist/ids.js +2 -1
- package/dist/ids.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/limits.d.ts +4 -0
- package/dist/limits.d.ts.map +1 -1
- package/dist/limits.js.map +1 -1
- package/dist/permissions.d.ts +10 -4
- package/dist/permissions.d.ts.map +1 -1
- package/dist/permissions.js +7 -7
- package/dist/permissions.js.map +1 -1
- package/dist/records.d.ts +80 -14
- package/dist/records.d.ts.map +1 -1
- package/dist/records.js +5 -0
- package/dist/records.js.map +1 -1
- package/dist/requests.d.ts +3 -0
- package/dist/requests.d.ts.map +1 -1
- package/dist/requests.js.map +1 -1
- package/dist/wire.d.ts +294 -26
- package/dist/wire.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/wire.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ export declare const ServerHello: z.ZodObject<{
|
|
|
17
17
|
renameSelfSupported: z.ZodOptional<z.ZodBoolean>;
|
|
18
18
|
adminRolesSupported: z.ZodOptional<z.ZodBoolean>;
|
|
19
19
|
permissionsSupported: z.ZodOptional<z.ZodBoolean>;
|
|
20
|
+
filesSupported: z.ZodOptional<z.ZodBoolean>;
|
|
20
21
|
inviteRoleSupported: z.ZodOptional<z.ZodBoolean>;
|
|
21
22
|
autoCloseSupported: z.ZodOptional<z.ZodBoolean>;
|
|
22
23
|
interruptSupported: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -69,6 +70,7 @@ export declare const ServerHello: z.ZodObject<{
|
|
|
69
70
|
muted: z.ZodOptional<z.ZodBoolean>;
|
|
70
71
|
permissions: z.ZodOptional<z.ZodObject<{
|
|
71
72
|
invite: z.ZodOptional<z.ZodBoolean>;
|
|
73
|
+
attach: z.ZodOptional<z.ZodBoolean>;
|
|
72
74
|
rename: z.ZodOptional<z.ZodBoolean>;
|
|
73
75
|
lock: z.ZodOptional<z.ZodBoolean>;
|
|
74
76
|
mute: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -77,6 +79,7 @@ export declare const ServerHello: z.ZodObject<{
|
|
|
77
79
|
turns: z.ZodOptional<z.ZodBoolean>;
|
|
78
80
|
}, "strip", z.ZodTypeAny, {
|
|
79
81
|
invite?: boolean | undefined;
|
|
82
|
+
attach?: boolean | undefined;
|
|
80
83
|
rename?: boolean | undefined;
|
|
81
84
|
lock?: boolean | undefined;
|
|
82
85
|
mute?: boolean | undefined;
|
|
@@ -85,6 +88,7 @@ export declare const ServerHello: z.ZodObject<{
|
|
|
85
88
|
turns?: boolean | undefined;
|
|
86
89
|
}, {
|
|
87
90
|
invite?: boolean | undefined;
|
|
91
|
+
attach?: boolean | undefined;
|
|
88
92
|
rename?: boolean | undefined;
|
|
89
93
|
lock?: boolean | undefined;
|
|
90
94
|
mute?: boolean | undefined;
|
|
@@ -117,6 +121,7 @@ export declare const ServerHello: z.ZodObject<{
|
|
|
117
121
|
muted?: boolean | undefined;
|
|
118
122
|
permissions?: {
|
|
119
123
|
invite?: boolean | undefined;
|
|
124
|
+
attach?: boolean | undefined;
|
|
120
125
|
rename?: boolean | undefined;
|
|
121
126
|
lock?: boolean | undefined;
|
|
122
127
|
mute?: boolean | undefined;
|
|
@@ -148,6 +153,7 @@ export declare const ServerHello: z.ZodObject<{
|
|
|
148
153
|
muted?: boolean | undefined;
|
|
149
154
|
permissions?: {
|
|
150
155
|
invite?: boolean | undefined;
|
|
156
|
+
attach?: boolean | undefined;
|
|
151
157
|
rename?: boolean | undefined;
|
|
152
158
|
lock?: boolean | undefined;
|
|
153
159
|
mute?: boolean | undefined;
|
|
@@ -196,6 +202,7 @@ export declare const ServerHello: z.ZodObject<{
|
|
|
196
202
|
localJoin: z.ZodOptional<z.ZodBoolean>;
|
|
197
203
|
permissions: z.ZodOptional<z.ZodObject<{
|
|
198
204
|
invite: z.ZodOptional<z.ZodBoolean>;
|
|
205
|
+
attach: z.ZodOptional<z.ZodBoolean>;
|
|
199
206
|
rename: z.ZodOptional<z.ZodBoolean>;
|
|
200
207
|
lock: z.ZodOptional<z.ZodBoolean>;
|
|
201
208
|
mute: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -204,6 +211,7 @@ export declare const ServerHello: z.ZodObject<{
|
|
|
204
211
|
turns: z.ZodOptional<z.ZodBoolean>;
|
|
205
212
|
}, "strip", z.ZodTypeAny, {
|
|
206
213
|
invite?: boolean | undefined;
|
|
214
|
+
attach?: boolean | undefined;
|
|
207
215
|
rename?: boolean | undefined;
|
|
208
216
|
lock?: boolean | undefined;
|
|
209
217
|
mute?: boolean | undefined;
|
|
@@ -212,6 +220,7 @@ export declare const ServerHello: z.ZodObject<{
|
|
|
212
220
|
turns?: boolean | undefined;
|
|
213
221
|
}, {
|
|
214
222
|
invite?: boolean | undefined;
|
|
223
|
+
attach?: boolean | undefined;
|
|
215
224
|
rename?: boolean | undefined;
|
|
216
225
|
lock?: boolean | undefined;
|
|
217
226
|
mute?: boolean | undefined;
|
|
@@ -219,6 +228,8 @@ export declare const ServerHello: z.ZodObject<{
|
|
|
219
228
|
pause?: boolean | undefined;
|
|
220
229
|
turns?: boolean | undefined;
|
|
221
230
|
}>>;
|
|
231
|
+
maxFileBytes: z.ZodOptional<z.ZodNumber>;
|
|
232
|
+
maxRetainedFileBytes: z.ZodOptional<z.ZodNumber>;
|
|
222
233
|
maxParticipants: z.ZodNumber;
|
|
223
234
|
maxEventPayloadBytes: z.ZodNumber;
|
|
224
235
|
maxRetainedEventBytes: z.ZodNumber;
|
|
@@ -237,6 +248,7 @@ export declare const ServerHello: z.ZodObject<{
|
|
|
237
248
|
inviteLifetimeMs: number | null;
|
|
238
249
|
exportWindowMs: number;
|
|
239
250
|
connectTicketLifetimeMs: number;
|
|
251
|
+
maxFileBytes?: number | undefined;
|
|
240
252
|
autoClose?: {
|
|
241
253
|
mode: "off";
|
|
242
254
|
} | {
|
|
@@ -252,6 +264,7 @@ export declare const ServerHello: z.ZodObject<{
|
|
|
252
264
|
localJoin?: boolean | undefined;
|
|
253
265
|
permissions?: {
|
|
254
266
|
invite?: boolean | undefined;
|
|
267
|
+
attach?: boolean | undefined;
|
|
255
268
|
rename?: boolean | undefined;
|
|
256
269
|
lock?: boolean | undefined;
|
|
257
270
|
mute?: boolean | undefined;
|
|
@@ -259,6 +272,7 @@ export declare const ServerHello: z.ZodObject<{
|
|
|
259
272
|
pause?: boolean | undefined;
|
|
260
273
|
turns?: boolean | undefined;
|
|
261
274
|
} | undefined;
|
|
275
|
+
maxRetainedFileBytes?: number | undefined;
|
|
262
276
|
}, {
|
|
263
277
|
maxParticipants: number;
|
|
264
278
|
maxEventPayloadBytes: number;
|
|
@@ -268,6 +282,7 @@ export declare const ServerHello: z.ZodObject<{
|
|
|
268
282
|
inviteLifetimeMs: number | null;
|
|
269
283
|
exportWindowMs: number;
|
|
270
284
|
connectTicketLifetimeMs: number;
|
|
285
|
+
maxFileBytes?: number | undefined;
|
|
271
286
|
autoClose?: {
|
|
272
287
|
mode: "off";
|
|
273
288
|
} | {
|
|
@@ -284,6 +299,7 @@ export declare const ServerHello: z.ZodObject<{
|
|
|
284
299
|
localJoin?: boolean | undefined;
|
|
285
300
|
permissions?: {
|
|
286
301
|
invite?: boolean | undefined;
|
|
302
|
+
attach?: boolean | undefined;
|
|
287
303
|
rename?: boolean | undefined;
|
|
288
304
|
lock?: boolean | undefined;
|
|
289
305
|
mute?: boolean | undefined;
|
|
@@ -291,12 +307,13 @@ export declare const ServerHello: z.ZodObject<{
|
|
|
291
307
|
pause?: boolean | undefined;
|
|
292
308
|
turns?: boolean | undefined;
|
|
293
309
|
} | undefined;
|
|
310
|
+
maxRetainedFileBytes?: number | undefined;
|
|
294
311
|
}>;
|
|
295
312
|
}, "strip", z.ZodTypeAny, {
|
|
296
313
|
name: string;
|
|
297
|
-
expiresAt: number | null;
|
|
298
314
|
roomId: string;
|
|
299
315
|
createdAt: number;
|
|
316
|
+
expiresAt: number | null;
|
|
300
317
|
closedAt: number | null;
|
|
301
318
|
lifecycle: "open" | "closed" | "expired" | "deleted";
|
|
302
319
|
policy: {
|
|
@@ -309,6 +326,7 @@ export declare const ServerHello: z.ZodObject<{
|
|
|
309
326
|
inviteLifetimeMs: number | null;
|
|
310
327
|
exportWindowMs: number;
|
|
311
328
|
connectTicketLifetimeMs: number;
|
|
329
|
+
maxFileBytes?: number | undefined;
|
|
312
330
|
autoClose?: {
|
|
313
331
|
mode: "off";
|
|
314
332
|
} | {
|
|
@@ -324,6 +342,7 @@ export declare const ServerHello: z.ZodObject<{
|
|
|
324
342
|
localJoin?: boolean | undefined;
|
|
325
343
|
permissions?: {
|
|
326
344
|
invite?: boolean | undefined;
|
|
345
|
+
attach?: boolean | undefined;
|
|
327
346
|
rename?: boolean | undefined;
|
|
328
347
|
lock?: boolean | undefined;
|
|
329
348
|
mute?: boolean | undefined;
|
|
@@ -331,6 +350,7 @@ export declare const ServerHello: z.ZodObject<{
|
|
|
331
350
|
pause?: boolean | undefined;
|
|
332
351
|
turns?: boolean | undefined;
|
|
333
352
|
} | undefined;
|
|
353
|
+
maxRetainedFileBytes?: number | undefined;
|
|
334
354
|
};
|
|
335
355
|
controlRevision: number;
|
|
336
356
|
latestSeq: number;
|
|
@@ -356,6 +376,7 @@ export declare const ServerHello: z.ZodObject<{
|
|
|
356
376
|
muted?: boolean | undefined;
|
|
357
377
|
permissions?: {
|
|
358
378
|
invite?: boolean | undefined;
|
|
379
|
+
attach?: boolean | undefined;
|
|
359
380
|
rename?: boolean | undefined;
|
|
360
381
|
lock?: boolean | undefined;
|
|
361
382
|
mute?: boolean | undefined;
|
|
@@ -382,6 +403,7 @@ export declare const ServerHello: z.ZodObject<{
|
|
|
382
403
|
renameSelfSupported?: boolean | undefined;
|
|
383
404
|
adminRolesSupported?: boolean | undefined;
|
|
384
405
|
permissionsSupported?: boolean | undefined;
|
|
406
|
+
filesSupported?: boolean | undefined;
|
|
385
407
|
inviteRoleSupported?: boolean | undefined;
|
|
386
408
|
autoCloseSupported?: boolean | undefined;
|
|
387
409
|
interruptSupported?: boolean | undefined;
|
|
@@ -390,9 +412,9 @@ export declare const ServerHello: z.ZodObject<{
|
|
|
390
412
|
workingStatusSupported?: boolean | undefined;
|
|
391
413
|
}, {
|
|
392
414
|
name: string;
|
|
393
|
-
expiresAt: number | null;
|
|
394
415
|
roomId: string;
|
|
395
416
|
createdAt: number;
|
|
417
|
+
expiresAt: number | null;
|
|
396
418
|
closedAt: number | null;
|
|
397
419
|
lifecycle: "open" | "closed" | "expired" | "deleted";
|
|
398
420
|
policy: {
|
|
@@ -404,6 +426,7 @@ export declare const ServerHello: z.ZodObject<{
|
|
|
404
426
|
inviteLifetimeMs: number | null;
|
|
405
427
|
exportWindowMs: number;
|
|
406
428
|
connectTicketLifetimeMs: number;
|
|
429
|
+
maxFileBytes?: number | undefined;
|
|
407
430
|
autoClose?: {
|
|
408
431
|
mode: "off";
|
|
409
432
|
} | {
|
|
@@ -420,6 +443,7 @@ export declare const ServerHello: z.ZodObject<{
|
|
|
420
443
|
localJoin?: boolean | undefined;
|
|
421
444
|
permissions?: {
|
|
422
445
|
invite?: boolean | undefined;
|
|
446
|
+
attach?: boolean | undefined;
|
|
423
447
|
rename?: boolean | undefined;
|
|
424
448
|
lock?: boolean | undefined;
|
|
425
449
|
mute?: boolean | undefined;
|
|
@@ -427,6 +451,7 @@ export declare const ServerHello: z.ZodObject<{
|
|
|
427
451
|
pause?: boolean | undefined;
|
|
428
452
|
turns?: boolean | undefined;
|
|
429
453
|
} | undefined;
|
|
454
|
+
maxRetainedFileBytes?: number | undefined;
|
|
430
455
|
};
|
|
431
456
|
controlRevision: number;
|
|
432
457
|
latestSeq: number;
|
|
@@ -452,6 +477,7 @@ export declare const ServerHello: z.ZodObject<{
|
|
|
452
477
|
muted?: boolean | undefined;
|
|
453
478
|
permissions?: {
|
|
454
479
|
invite?: boolean | undefined;
|
|
480
|
+
attach?: boolean | undefined;
|
|
455
481
|
rename?: boolean | undefined;
|
|
456
482
|
lock?: boolean | undefined;
|
|
457
483
|
mute?: boolean | undefined;
|
|
@@ -478,6 +504,7 @@ export declare const ServerHello: z.ZodObject<{
|
|
|
478
504
|
renameSelfSupported?: boolean | undefined;
|
|
479
505
|
adminRolesSupported?: boolean | undefined;
|
|
480
506
|
permissionsSupported?: boolean | undefined;
|
|
507
|
+
filesSupported?: boolean | undefined;
|
|
481
508
|
inviteRoleSupported?: boolean | undefined;
|
|
482
509
|
autoCloseSupported?: boolean | undefined;
|
|
483
510
|
interruptSupported?: boolean | undefined;
|
|
@@ -490,9 +517,9 @@ export declare const ServerHello: z.ZodObject<{
|
|
|
490
517
|
type: "hello";
|
|
491
518
|
snapshot: {
|
|
492
519
|
name: string;
|
|
493
|
-
expiresAt: number | null;
|
|
494
520
|
roomId: string;
|
|
495
521
|
createdAt: number;
|
|
522
|
+
expiresAt: number | null;
|
|
496
523
|
closedAt: number | null;
|
|
497
524
|
lifecycle: "open" | "closed" | "expired" | "deleted";
|
|
498
525
|
policy: {
|
|
@@ -505,6 +532,7 @@ export declare const ServerHello: z.ZodObject<{
|
|
|
505
532
|
inviteLifetimeMs: number | null;
|
|
506
533
|
exportWindowMs: number;
|
|
507
534
|
connectTicketLifetimeMs: number;
|
|
535
|
+
maxFileBytes?: number | undefined;
|
|
508
536
|
autoClose?: {
|
|
509
537
|
mode: "off";
|
|
510
538
|
} | {
|
|
@@ -520,6 +548,7 @@ export declare const ServerHello: z.ZodObject<{
|
|
|
520
548
|
localJoin?: boolean | undefined;
|
|
521
549
|
permissions?: {
|
|
522
550
|
invite?: boolean | undefined;
|
|
551
|
+
attach?: boolean | undefined;
|
|
523
552
|
rename?: boolean | undefined;
|
|
524
553
|
lock?: boolean | undefined;
|
|
525
554
|
mute?: boolean | undefined;
|
|
@@ -527,6 +556,7 @@ export declare const ServerHello: z.ZodObject<{
|
|
|
527
556
|
pause?: boolean | undefined;
|
|
528
557
|
turns?: boolean | undefined;
|
|
529
558
|
} | undefined;
|
|
559
|
+
maxRetainedFileBytes?: number | undefined;
|
|
530
560
|
};
|
|
531
561
|
controlRevision: number;
|
|
532
562
|
latestSeq: number;
|
|
@@ -552,6 +582,7 @@ export declare const ServerHello: z.ZodObject<{
|
|
|
552
582
|
muted?: boolean | undefined;
|
|
553
583
|
permissions?: {
|
|
554
584
|
invite?: boolean | undefined;
|
|
585
|
+
attach?: boolean | undefined;
|
|
555
586
|
rename?: boolean | undefined;
|
|
556
587
|
lock?: boolean | undefined;
|
|
557
588
|
mute?: boolean | undefined;
|
|
@@ -578,6 +609,7 @@ export declare const ServerHello: z.ZodObject<{
|
|
|
578
609
|
renameSelfSupported?: boolean | undefined;
|
|
579
610
|
adminRolesSupported?: boolean | undefined;
|
|
580
611
|
permissionsSupported?: boolean | undefined;
|
|
612
|
+
filesSupported?: boolean | undefined;
|
|
581
613
|
inviteRoleSupported?: boolean | undefined;
|
|
582
614
|
autoCloseSupported?: boolean | undefined;
|
|
583
615
|
interruptSupported?: boolean | undefined;
|
|
@@ -590,9 +622,9 @@ export declare const ServerHello: z.ZodObject<{
|
|
|
590
622
|
type: "hello";
|
|
591
623
|
snapshot: {
|
|
592
624
|
name: string;
|
|
593
|
-
expiresAt: number | null;
|
|
594
625
|
roomId: string;
|
|
595
626
|
createdAt: number;
|
|
627
|
+
expiresAt: number | null;
|
|
596
628
|
closedAt: number | null;
|
|
597
629
|
lifecycle: "open" | "closed" | "expired" | "deleted";
|
|
598
630
|
policy: {
|
|
@@ -604,6 +636,7 @@ export declare const ServerHello: z.ZodObject<{
|
|
|
604
636
|
inviteLifetimeMs: number | null;
|
|
605
637
|
exportWindowMs: number;
|
|
606
638
|
connectTicketLifetimeMs: number;
|
|
639
|
+
maxFileBytes?: number | undefined;
|
|
607
640
|
autoClose?: {
|
|
608
641
|
mode: "off";
|
|
609
642
|
} | {
|
|
@@ -620,6 +653,7 @@ export declare const ServerHello: z.ZodObject<{
|
|
|
620
653
|
localJoin?: boolean | undefined;
|
|
621
654
|
permissions?: {
|
|
622
655
|
invite?: boolean | undefined;
|
|
656
|
+
attach?: boolean | undefined;
|
|
623
657
|
rename?: boolean | undefined;
|
|
624
658
|
lock?: boolean | undefined;
|
|
625
659
|
mute?: boolean | undefined;
|
|
@@ -627,6 +661,7 @@ export declare const ServerHello: z.ZodObject<{
|
|
|
627
661
|
pause?: boolean | undefined;
|
|
628
662
|
turns?: boolean | undefined;
|
|
629
663
|
} | undefined;
|
|
664
|
+
maxRetainedFileBytes?: number | undefined;
|
|
630
665
|
};
|
|
631
666
|
controlRevision: number;
|
|
632
667
|
latestSeq: number;
|
|
@@ -652,6 +687,7 @@ export declare const ServerHello: z.ZodObject<{
|
|
|
652
687
|
muted?: boolean | undefined;
|
|
653
688
|
permissions?: {
|
|
654
689
|
invite?: boolean | undefined;
|
|
690
|
+
attach?: boolean | undefined;
|
|
655
691
|
rename?: boolean | undefined;
|
|
656
692
|
lock?: boolean | undefined;
|
|
657
693
|
mute?: boolean | undefined;
|
|
@@ -678,6 +714,7 @@ export declare const ServerHello: z.ZodObject<{
|
|
|
678
714
|
renameSelfSupported?: boolean | undefined;
|
|
679
715
|
adminRolesSupported?: boolean | undefined;
|
|
680
716
|
permissionsSupported?: boolean | undefined;
|
|
717
|
+
filesSupported?: boolean | undefined;
|
|
681
718
|
inviteRoleSupported?: boolean | undefined;
|
|
682
719
|
autoCloseSupported?: boolean | undefined;
|
|
683
720
|
interruptSupported?: boolean | undefined;
|
|
@@ -704,9 +741,9 @@ export declare const ServerEventFrame: z.ZodObject<{
|
|
|
704
741
|
at: z.ZodNumber;
|
|
705
742
|
}, "strip", z.ZodTypeAny, {
|
|
706
743
|
at: number;
|
|
744
|
+
roomId: string;
|
|
707
745
|
eventId: string;
|
|
708
746
|
protocolVersion: 1;
|
|
709
|
-
roomId: string;
|
|
710
747
|
seq: number;
|
|
711
748
|
senderId: string | null;
|
|
712
749
|
idempotencyKey: string | null;
|
|
@@ -717,9 +754,9 @@ export declare const ServerEventFrame: z.ZodObject<{
|
|
|
717
754
|
quoteOf?: string | undefined;
|
|
718
755
|
}, {
|
|
719
756
|
at: number;
|
|
757
|
+
roomId: string;
|
|
720
758
|
eventId: string;
|
|
721
759
|
protocolVersion: 1;
|
|
722
|
-
roomId: string;
|
|
723
760
|
seq: number;
|
|
724
761
|
senderId: string | null;
|
|
725
762
|
idempotencyKey: string | null;
|
|
@@ -735,16 +772,49 @@ export declare const ServerEventFrame: z.ZodObject<{
|
|
|
735
772
|
priority: z.ZodDefault<z.ZodEnum<["normal", "priority"]>>;
|
|
736
773
|
responseStage: z.ZodOptional<z.ZodEnum<["progress", "final"]>>;
|
|
737
774
|
recovers: z.ZodOptional<z.ZodString>;
|
|
775
|
+
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
776
|
+
fileId: z.ZodString;
|
|
777
|
+
name: z.ZodString;
|
|
778
|
+
size: z.ZodNumber;
|
|
779
|
+
mediaType: z.ZodString;
|
|
780
|
+
sha256: z.ZodString;
|
|
781
|
+
}, "strip", z.ZodTypeAny, {
|
|
782
|
+
name: string;
|
|
783
|
+
fileId: string;
|
|
784
|
+
size: number;
|
|
785
|
+
mediaType: string;
|
|
786
|
+
sha256: string;
|
|
787
|
+
}, {
|
|
788
|
+
name: string;
|
|
789
|
+
fileId: string;
|
|
790
|
+
size: number;
|
|
791
|
+
mediaType: string;
|
|
792
|
+
sha256: string;
|
|
793
|
+
}>, "many">>;
|
|
738
794
|
}, "strip", z.ZodTypeAny, {
|
|
739
795
|
text: string;
|
|
740
796
|
priority: "normal" | "priority";
|
|
741
797
|
responseStage?: "progress" | "final" | undefined;
|
|
742
798
|
recovers?: string | undefined;
|
|
799
|
+
attachments?: {
|
|
800
|
+
name: string;
|
|
801
|
+
fileId: string;
|
|
802
|
+
size: number;
|
|
803
|
+
mediaType: string;
|
|
804
|
+
sha256: string;
|
|
805
|
+
}[] | undefined;
|
|
743
806
|
}, {
|
|
744
807
|
text: string;
|
|
745
808
|
priority?: "normal" | "priority" | undefined;
|
|
746
809
|
responseStage?: "progress" | "final" | undefined;
|
|
747
810
|
recovers?: string | undefined;
|
|
811
|
+
attachments?: {
|
|
812
|
+
name: string;
|
|
813
|
+
fileId: string;
|
|
814
|
+
size: number;
|
|
815
|
+
mediaType: string;
|
|
816
|
+
sha256: string;
|
|
817
|
+
}[] | undefined;
|
|
748
818
|
}>;
|
|
749
819
|
}, "strip", z.ZodTypeAny, {
|
|
750
820
|
type: "message";
|
|
@@ -753,6 +823,13 @@ export declare const ServerEventFrame: z.ZodObject<{
|
|
|
753
823
|
priority: "normal" | "priority";
|
|
754
824
|
responseStage?: "progress" | "final" | undefined;
|
|
755
825
|
recovers?: string | undefined;
|
|
826
|
+
attachments?: {
|
|
827
|
+
name: string;
|
|
828
|
+
fileId: string;
|
|
829
|
+
size: number;
|
|
830
|
+
mediaType: string;
|
|
831
|
+
sha256: string;
|
|
832
|
+
}[] | undefined;
|
|
756
833
|
};
|
|
757
834
|
}, {
|
|
758
835
|
type: "message";
|
|
@@ -761,6 +838,13 @@ export declare const ServerEventFrame: z.ZodObject<{
|
|
|
761
838
|
priority?: "normal" | "priority" | undefined;
|
|
762
839
|
responseStage?: "progress" | "final" | undefined;
|
|
763
840
|
recovers?: string | undefined;
|
|
841
|
+
attachments?: {
|
|
842
|
+
name: string;
|
|
843
|
+
fileId: string;
|
|
844
|
+
size: number;
|
|
845
|
+
mediaType: string;
|
|
846
|
+
sha256: string;
|
|
847
|
+
}[] | undefined;
|
|
764
848
|
};
|
|
765
849
|
}>, z.ZodObject<{
|
|
766
850
|
type: z.ZodLiteral<"message.received">;
|
|
@@ -1804,6 +1888,7 @@ export declare const ServerEventFrame: z.ZodObject<{
|
|
|
1804
1888
|
payload: z.ZodObject<{
|
|
1805
1889
|
permissions: z.ZodObject<{
|
|
1806
1890
|
invite: z.ZodOptional<z.ZodBoolean>;
|
|
1891
|
+
attach: z.ZodOptional<z.ZodBoolean>;
|
|
1807
1892
|
rename: z.ZodOptional<z.ZodBoolean>;
|
|
1808
1893
|
lock: z.ZodOptional<z.ZodBoolean>;
|
|
1809
1894
|
mute: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1812,6 +1897,7 @@ export declare const ServerEventFrame: z.ZodObject<{
|
|
|
1812
1897
|
turns: z.ZodOptional<z.ZodBoolean>;
|
|
1813
1898
|
}, "strip", z.ZodTypeAny, {
|
|
1814
1899
|
invite?: boolean | undefined;
|
|
1900
|
+
attach?: boolean | undefined;
|
|
1815
1901
|
rename?: boolean | undefined;
|
|
1816
1902
|
lock?: boolean | undefined;
|
|
1817
1903
|
mute?: boolean | undefined;
|
|
@@ -1820,6 +1906,7 @@ export declare const ServerEventFrame: z.ZodObject<{
|
|
|
1820
1906
|
turns?: boolean | undefined;
|
|
1821
1907
|
}, {
|
|
1822
1908
|
invite?: boolean | undefined;
|
|
1909
|
+
attach?: boolean | undefined;
|
|
1823
1910
|
rename?: boolean | undefined;
|
|
1824
1911
|
lock?: boolean | undefined;
|
|
1825
1912
|
mute?: boolean | undefined;
|
|
@@ -1829,6 +1916,7 @@ export declare const ServerEventFrame: z.ZodObject<{
|
|
|
1829
1916
|
}>;
|
|
1830
1917
|
previous: z.ZodObject<{
|
|
1831
1918
|
invite: z.ZodOptional<z.ZodBoolean>;
|
|
1919
|
+
attach: z.ZodOptional<z.ZodBoolean>;
|
|
1832
1920
|
rename: z.ZodOptional<z.ZodBoolean>;
|
|
1833
1921
|
lock: z.ZodOptional<z.ZodBoolean>;
|
|
1834
1922
|
mute: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1837,6 +1925,7 @@ export declare const ServerEventFrame: z.ZodObject<{
|
|
|
1837
1925
|
turns: z.ZodOptional<z.ZodBoolean>;
|
|
1838
1926
|
}, "strip", z.ZodTypeAny, {
|
|
1839
1927
|
invite?: boolean | undefined;
|
|
1928
|
+
attach?: boolean | undefined;
|
|
1840
1929
|
rename?: boolean | undefined;
|
|
1841
1930
|
lock?: boolean | undefined;
|
|
1842
1931
|
mute?: boolean | undefined;
|
|
@@ -1845,6 +1934,7 @@ export declare const ServerEventFrame: z.ZodObject<{
|
|
|
1845
1934
|
turns?: boolean | undefined;
|
|
1846
1935
|
}, {
|
|
1847
1936
|
invite?: boolean | undefined;
|
|
1937
|
+
attach?: boolean | undefined;
|
|
1848
1938
|
rename?: boolean | undefined;
|
|
1849
1939
|
lock?: boolean | undefined;
|
|
1850
1940
|
mute?: boolean | undefined;
|
|
@@ -1855,6 +1945,7 @@ export declare const ServerEventFrame: z.ZodObject<{
|
|
|
1855
1945
|
}, "strip", z.ZodTypeAny, {
|
|
1856
1946
|
previous: {
|
|
1857
1947
|
invite?: boolean | undefined;
|
|
1948
|
+
attach?: boolean | undefined;
|
|
1858
1949
|
rename?: boolean | undefined;
|
|
1859
1950
|
lock?: boolean | undefined;
|
|
1860
1951
|
mute?: boolean | undefined;
|
|
@@ -1864,6 +1955,7 @@ export declare const ServerEventFrame: z.ZodObject<{
|
|
|
1864
1955
|
};
|
|
1865
1956
|
permissions: {
|
|
1866
1957
|
invite?: boolean | undefined;
|
|
1958
|
+
attach?: boolean | undefined;
|
|
1867
1959
|
rename?: boolean | undefined;
|
|
1868
1960
|
lock?: boolean | undefined;
|
|
1869
1961
|
mute?: boolean | undefined;
|
|
@@ -1874,6 +1966,7 @@ export declare const ServerEventFrame: z.ZodObject<{
|
|
|
1874
1966
|
}, {
|
|
1875
1967
|
previous: {
|
|
1876
1968
|
invite?: boolean | undefined;
|
|
1969
|
+
attach?: boolean | undefined;
|
|
1877
1970
|
rename?: boolean | undefined;
|
|
1878
1971
|
lock?: boolean | undefined;
|
|
1879
1972
|
mute?: boolean | undefined;
|
|
@@ -1883,6 +1976,7 @@ export declare const ServerEventFrame: z.ZodObject<{
|
|
|
1883
1976
|
};
|
|
1884
1977
|
permissions: {
|
|
1885
1978
|
invite?: boolean | undefined;
|
|
1979
|
+
attach?: boolean | undefined;
|
|
1886
1980
|
rename?: boolean | undefined;
|
|
1887
1981
|
lock?: boolean | undefined;
|
|
1888
1982
|
mute?: boolean | undefined;
|
|
@@ -1896,6 +1990,7 @@ export declare const ServerEventFrame: z.ZodObject<{
|
|
|
1896
1990
|
payload: {
|
|
1897
1991
|
previous: {
|
|
1898
1992
|
invite?: boolean | undefined;
|
|
1993
|
+
attach?: boolean | undefined;
|
|
1899
1994
|
rename?: boolean | undefined;
|
|
1900
1995
|
lock?: boolean | undefined;
|
|
1901
1996
|
mute?: boolean | undefined;
|
|
@@ -1905,6 +2000,7 @@ export declare const ServerEventFrame: z.ZodObject<{
|
|
|
1905
2000
|
};
|
|
1906
2001
|
permissions: {
|
|
1907
2002
|
invite?: boolean | undefined;
|
|
2003
|
+
attach?: boolean | undefined;
|
|
1908
2004
|
rename?: boolean | undefined;
|
|
1909
2005
|
lock?: boolean | undefined;
|
|
1910
2006
|
mute?: boolean | undefined;
|
|
@@ -1918,6 +2014,7 @@ export declare const ServerEventFrame: z.ZodObject<{
|
|
|
1918
2014
|
payload: {
|
|
1919
2015
|
previous: {
|
|
1920
2016
|
invite?: boolean | undefined;
|
|
2017
|
+
attach?: boolean | undefined;
|
|
1921
2018
|
rename?: boolean | undefined;
|
|
1922
2019
|
lock?: boolean | undefined;
|
|
1923
2020
|
mute?: boolean | undefined;
|
|
@@ -1927,6 +2024,7 @@ export declare const ServerEventFrame: z.ZodObject<{
|
|
|
1927
2024
|
};
|
|
1928
2025
|
permissions: {
|
|
1929
2026
|
invite?: boolean | undefined;
|
|
2027
|
+
attach?: boolean | undefined;
|
|
1930
2028
|
rename?: boolean | undefined;
|
|
1931
2029
|
lock?: boolean | undefined;
|
|
1932
2030
|
mute?: boolean | undefined;
|
|
@@ -1941,6 +2039,7 @@ export declare const ServerEventFrame: z.ZodObject<{
|
|
|
1941
2039
|
participantId: z.ZodString;
|
|
1942
2040
|
permissions: z.ZodObject<{
|
|
1943
2041
|
invite: z.ZodOptional<z.ZodBoolean>;
|
|
2042
|
+
attach: z.ZodOptional<z.ZodBoolean>;
|
|
1944
2043
|
rename: z.ZodOptional<z.ZodBoolean>;
|
|
1945
2044
|
lock: z.ZodOptional<z.ZodBoolean>;
|
|
1946
2045
|
mute: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1949,6 +2048,7 @@ export declare const ServerEventFrame: z.ZodObject<{
|
|
|
1949
2048
|
turns: z.ZodOptional<z.ZodBoolean>;
|
|
1950
2049
|
}, "strip", z.ZodTypeAny, {
|
|
1951
2050
|
invite?: boolean | undefined;
|
|
2051
|
+
attach?: boolean | undefined;
|
|
1952
2052
|
rename?: boolean | undefined;
|
|
1953
2053
|
lock?: boolean | undefined;
|
|
1954
2054
|
mute?: boolean | undefined;
|
|
@@ -1957,6 +2057,7 @@ export declare const ServerEventFrame: z.ZodObject<{
|
|
|
1957
2057
|
turns?: boolean | undefined;
|
|
1958
2058
|
}, {
|
|
1959
2059
|
invite?: boolean | undefined;
|
|
2060
|
+
attach?: boolean | undefined;
|
|
1960
2061
|
rename?: boolean | undefined;
|
|
1961
2062
|
lock?: boolean | undefined;
|
|
1962
2063
|
mute?: boolean | undefined;
|
|
@@ -1966,6 +2067,7 @@ export declare const ServerEventFrame: z.ZodObject<{
|
|
|
1966
2067
|
}>;
|
|
1967
2068
|
previous: z.ZodObject<{
|
|
1968
2069
|
invite: z.ZodOptional<z.ZodBoolean>;
|
|
2070
|
+
attach: z.ZodOptional<z.ZodBoolean>;
|
|
1969
2071
|
rename: z.ZodOptional<z.ZodBoolean>;
|
|
1970
2072
|
lock: z.ZodOptional<z.ZodBoolean>;
|
|
1971
2073
|
mute: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1974,6 +2076,7 @@ export declare const ServerEventFrame: z.ZodObject<{
|
|
|
1974
2076
|
turns: z.ZodOptional<z.ZodBoolean>;
|
|
1975
2077
|
}, "strip", z.ZodTypeAny, {
|
|
1976
2078
|
invite?: boolean | undefined;
|
|
2079
|
+
attach?: boolean | undefined;
|
|
1977
2080
|
rename?: boolean | undefined;
|
|
1978
2081
|
lock?: boolean | undefined;
|
|
1979
2082
|
mute?: boolean | undefined;
|
|
@@ -1982,6 +2085,7 @@ export declare const ServerEventFrame: z.ZodObject<{
|
|
|
1982
2085
|
turns?: boolean | undefined;
|
|
1983
2086
|
}, {
|
|
1984
2087
|
invite?: boolean | undefined;
|
|
2088
|
+
attach?: boolean | undefined;
|
|
1985
2089
|
rename?: boolean | undefined;
|
|
1986
2090
|
lock?: boolean | undefined;
|
|
1987
2091
|
mute?: boolean | undefined;
|
|
@@ -1993,6 +2097,7 @@ export declare const ServerEventFrame: z.ZodObject<{
|
|
|
1993
2097
|
participantId: string;
|
|
1994
2098
|
previous: {
|
|
1995
2099
|
invite?: boolean | undefined;
|
|
2100
|
+
attach?: boolean | undefined;
|
|
1996
2101
|
rename?: boolean | undefined;
|
|
1997
2102
|
lock?: boolean | undefined;
|
|
1998
2103
|
mute?: boolean | undefined;
|
|
@@ -2002,6 +2107,7 @@ export declare const ServerEventFrame: z.ZodObject<{
|
|
|
2002
2107
|
};
|
|
2003
2108
|
permissions: {
|
|
2004
2109
|
invite?: boolean | undefined;
|
|
2110
|
+
attach?: boolean | undefined;
|
|
2005
2111
|
rename?: boolean | undefined;
|
|
2006
2112
|
lock?: boolean | undefined;
|
|
2007
2113
|
mute?: boolean | undefined;
|
|
@@ -2013,6 +2119,7 @@ export declare const ServerEventFrame: z.ZodObject<{
|
|
|
2013
2119
|
participantId: string;
|
|
2014
2120
|
previous: {
|
|
2015
2121
|
invite?: boolean | undefined;
|
|
2122
|
+
attach?: boolean | undefined;
|
|
2016
2123
|
rename?: boolean | undefined;
|
|
2017
2124
|
lock?: boolean | undefined;
|
|
2018
2125
|
mute?: boolean | undefined;
|
|
@@ -2022,6 +2129,7 @@ export declare const ServerEventFrame: z.ZodObject<{
|
|
|
2022
2129
|
};
|
|
2023
2130
|
permissions: {
|
|
2024
2131
|
invite?: boolean | undefined;
|
|
2132
|
+
attach?: boolean | undefined;
|
|
2025
2133
|
rename?: boolean | undefined;
|
|
2026
2134
|
lock?: boolean | undefined;
|
|
2027
2135
|
mute?: boolean | undefined;
|
|
@@ -2036,6 +2144,7 @@ export declare const ServerEventFrame: z.ZodObject<{
|
|
|
2036
2144
|
participantId: string;
|
|
2037
2145
|
previous: {
|
|
2038
2146
|
invite?: boolean | undefined;
|
|
2147
|
+
attach?: boolean | undefined;
|
|
2039
2148
|
rename?: boolean | undefined;
|
|
2040
2149
|
lock?: boolean | undefined;
|
|
2041
2150
|
mute?: boolean | undefined;
|
|
@@ -2045,6 +2154,7 @@ export declare const ServerEventFrame: z.ZodObject<{
|
|
|
2045
2154
|
};
|
|
2046
2155
|
permissions: {
|
|
2047
2156
|
invite?: boolean | undefined;
|
|
2157
|
+
attach?: boolean | undefined;
|
|
2048
2158
|
rename?: boolean | undefined;
|
|
2049
2159
|
lock?: boolean | undefined;
|
|
2050
2160
|
mute?: boolean | undefined;
|
|
@@ -2059,6 +2169,7 @@ export declare const ServerEventFrame: z.ZodObject<{
|
|
|
2059
2169
|
participantId: string;
|
|
2060
2170
|
previous: {
|
|
2061
2171
|
invite?: boolean | undefined;
|
|
2172
|
+
attach?: boolean | undefined;
|
|
2062
2173
|
rename?: boolean | undefined;
|
|
2063
2174
|
lock?: boolean | undefined;
|
|
2064
2175
|
mute?: boolean | undefined;
|
|
@@ -2068,6 +2179,7 @@ export declare const ServerEventFrame: z.ZodObject<{
|
|
|
2068
2179
|
};
|
|
2069
2180
|
permissions: {
|
|
2070
2181
|
invite?: boolean | undefined;
|
|
2182
|
+
attach?: boolean | undefined;
|
|
2071
2183
|
rename?: boolean | undefined;
|
|
2072
2184
|
lock?: boolean | undefined;
|
|
2073
2185
|
mute?: boolean | undefined;
|
|
@@ -2120,9 +2232,9 @@ export declare const ServerEventFrame: z.ZodObject<{
|
|
|
2120
2232
|
type: "event";
|
|
2121
2233
|
event: {
|
|
2122
2234
|
at: number;
|
|
2235
|
+
roomId: string;
|
|
2123
2236
|
eventId: string;
|
|
2124
2237
|
protocolVersion: 1;
|
|
2125
|
-
roomId: string;
|
|
2126
2238
|
seq: number;
|
|
2127
2239
|
senderId: string | null;
|
|
2128
2240
|
idempotencyKey: string | null;
|
|
@@ -2138,6 +2250,13 @@ export declare const ServerEventFrame: z.ZodObject<{
|
|
|
2138
2250
|
priority: "normal" | "priority";
|
|
2139
2251
|
responseStage?: "progress" | "final" | undefined;
|
|
2140
2252
|
recovers?: string | undefined;
|
|
2253
|
+
attachments?: {
|
|
2254
|
+
name: string;
|
|
2255
|
+
fileId: string;
|
|
2256
|
+
size: number;
|
|
2257
|
+
mediaType: string;
|
|
2258
|
+
sha256: string;
|
|
2259
|
+
}[] | undefined;
|
|
2141
2260
|
};
|
|
2142
2261
|
} | {
|
|
2143
2262
|
type: "message.received";
|
|
@@ -2347,6 +2466,7 @@ export declare const ServerEventFrame: z.ZodObject<{
|
|
|
2347
2466
|
payload: {
|
|
2348
2467
|
previous: {
|
|
2349
2468
|
invite?: boolean | undefined;
|
|
2469
|
+
attach?: boolean | undefined;
|
|
2350
2470
|
rename?: boolean | undefined;
|
|
2351
2471
|
lock?: boolean | undefined;
|
|
2352
2472
|
mute?: boolean | undefined;
|
|
@@ -2356,6 +2476,7 @@ export declare const ServerEventFrame: z.ZodObject<{
|
|
|
2356
2476
|
};
|
|
2357
2477
|
permissions: {
|
|
2358
2478
|
invite?: boolean | undefined;
|
|
2479
|
+
attach?: boolean | undefined;
|
|
2359
2480
|
rename?: boolean | undefined;
|
|
2360
2481
|
lock?: boolean | undefined;
|
|
2361
2482
|
mute?: boolean | undefined;
|
|
@@ -2370,6 +2491,7 @@ export declare const ServerEventFrame: z.ZodObject<{
|
|
|
2370
2491
|
participantId: string;
|
|
2371
2492
|
previous: {
|
|
2372
2493
|
invite?: boolean | undefined;
|
|
2494
|
+
attach?: boolean | undefined;
|
|
2373
2495
|
rename?: boolean | undefined;
|
|
2374
2496
|
lock?: boolean | undefined;
|
|
2375
2497
|
mute?: boolean | undefined;
|
|
@@ -2379,6 +2501,7 @@ export declare const ServerEventFrame: z.ZodObject<{
|
|
|
2379
2501
|
};
|
|
2380
2502
|
permissions: {
|
|
2381
2503
|
invite?: boolean | undefined;
|
|
2504
|
+
attach?: boolean | undefined;
|
|
2382
2505
|
rename?: boolean | undefined;
|
|
2383
2506
|
lock?: boolean | undefined;
|
|
2384
2507
|
mute?: boolean | undefined;
|
|
@@ -2401,9 +2524,9 @@ export declare const ServerEventFrame: z.ZodObject<{
|
|
|
2401
2524
|
type: "event";
|
|
2402
2525
|
event: {
|
|
2403
2526
|
at: number;
|
|
2527
|
+
roomId: string;
|
|
2404
2528
|
eventId: string;
|
|
2405
2529
|
protocolVersion: 1;
|
|
2406
|
-
roomId: string;
|
|
2407
2530
|
seq: number;
|
|
2408
2531
|
senderId: string | null;
|
|
2409
2532
|
idempotencyKey: string | null;
|
|
@@ -2419,6 +2542,13 @@ export declare const ServerEventFrame: z.ZodObject<{
|
|
|
2419
2542
|
priority?: "normal" | "priority" | undefined;
|
|
2420
2543
|
responseStage?: "progress" | "final" | undefined;
|
|
2421
2544
|
recovers?: string | undefined;
|
|
2545
|
+
attachments?: {
|
|
2546
|
+
name: string;
|
|
2547
|
+
fileId: string;
|
|
2548
|
+
size: number;
|
|
2549
|
+
mediaType: string;
|
|
2550
|
+
sha256: string;
|
|
2551
|
+
}[] | undefined;
|
|
2422
2552
|
};
|
|
2423
2553
|
} | {
|
|
2424
2554
|
type: "message.received";
|
|
@@ -2628,6 +2758,7 @@ export declare const ServerEventFrame: z.ZodObject<{
|
|
|
2628
2758
|
payload: {
|
|
2629
2759
|
previous: {
|
|
2630
2760
|
invite?: boolean | undefined;
|
|
2761
|
+
attach?: boolean | undefined;
|
|
2631
2762
|
rename?: boolean | undefined;
|
|
2632
2763
|
lock?: boolean | undefined;
|
|
2633
2764
|
mute?: boolean | undefined;
|
|
@@ -2637,6 +2768,7 @@ export declare const ServerEventFrame: z.ZodObject<{
|
|
|
2637
2768
|
};
|
|
2638
2769
|
permissions: {
|
|
2639
2770
|
invite?: boolean | undefined;
|
|
2771
|
+
attach?: boolean | undefined;
|
|
2640
2772
|
rename?: boolean | undefined;
|
|
2641
2773
|
lock?: boolean | undefined;
|
|
2642
2774
|
mute?: boolean | undefined;
|
|
@@ -2651,6 +2783,7 @@ export declare const ServerEventFrame: z.ZodObject<{
|
|
|
2651
2783
|
participantId: string;
|
|
2652
2784
|
previous: {
|
|
2653
2785
|
invite?: boolean | undefined;
|
|
2786
|
+
attach?: boolean | undefined;
|
|
2654
2787
|
rename?: boolean | undefined;
|
|
2655
2788
|
lock?: boolean | undefined;
|
|
2656
2789
|
mute?: boolean | undefined;
|
|
@@ -2660,6 +2793,7 @@ export declare const ServerEventFrame: z.ZodObject<{
|
|
|
2660
2793
|
};
|
|
2661
2794
|
permissions: {
|
|
2662
2795
|
invite?: boolean | undefined;
|
|
2796
|
+
attach?: boolean | undefined;
|
|
2663
2797
|
rename?: boolean | undefined;
|
|
2664
2798
|
lock?: boolean | undefined;
|
|
2665
2799
|
mute?: boolean | undefined;
|
|
@@ -2690,19 +2824,19 @@ export declare const ServerErrorFrame: z.ZodIntersection<z.ZodObject<{
|
|
|
2690
2824
|
fatal: boolean;
|
|
2691
2825
|
}>, z.ZodObject<{
|
|
2692
2826
|
error: z.ZodObject<{
|
|
2693
|
-
code: z.ZodEnum<["invite_expired", "invite_already_redeemed", "invite_unknown", "unauthorized", "participant_revoked", "room_expired", "room_closed", "room_locked", "participant_muted", "turn_conflict", "turn_required", "turn_expired", "room_not_found", "quota_exceeded", "cursor_gap", "stale_handover_revision", "handover_already_resolved", "idempotency_conflict", "participant_limit_reached", "payload_too_large", "unsupported_capability", "protocol_version_unsupported", "invalid_request", "server_unavailable"]>;
|
|
2827
|
+
code: z.ZodEnum<["invite_expired", "invite_already_redeemed", "invite_unknown", "unauthorized", "participant_revoked", "room_expired", "room_closed", "room_locked", "participant_muted", "turn_conflict", "turn_required", "turn_expired", "room_not_found", "quota_exceeded", "rate_limited", "cursor_gap", "stale_handover_revision", "handover_already_resolved", "idempotency_conflict", "participant_limit_reached", "payload_too_large", "unsupported_capability", "protocol_version_unsupported", "invalid_request", "server_unavailable"]>;
|
|
2694
2828
|
message: z.ZodString;
|
|
2695
2829
|
retryAfterMs: z.ZodOptional<z.ZodNumber>;
|
|
2696
2830
|
earliestAvailableSeq: z.ZodOptional<z.ZodNumber>;
|
|
2697
2831
|
currentRevision: z.ZodOptional<z.ZodNumber>;
|
|
2698
2832
|
}, "strip", z.ZodTypeAny, {
|
|
2699
|
-
code: "invite_expired" | "invite_already_redeemed" | "invite_unknown" | "unauthorized" | "participant_revoked" | "room_expired" | "room_closed" | "room_locked" | "participant_muted" | "turn_conflict" | "turn_required" | "turn_expired" | "room_not_found" | "quota_exceeded" | "cursor_gap" | "stale_handover_revision" | "handover_already_resolved" | "idempotency_conflict" | "participant_limit_reached" | "payload_too_large" | "unsupported_capability" | "protocol_version_unsupported" | "invalid_request" | "server_unavailable";
|
|
2833
|
+
code: "invite_expired" | "invite_already_redeemed" | "invite_unknown" | "unauthorized" | "participant_revoked" | "room_expired" | "room_closed" | "room_locked" | "participant_muted" | "turn_conflict" | "turn_required" | "turn_expired" | "room_not_found" | "quota_exceeded" | "rate_limited" | "cursor_gap" | "stale_handover_revision" | "handover_already_resolved" | "idempotency_conflict" | "participant_limit_reached" | "payload_too_large" | "unsupported_capability" | "protocol_version_unsupported" | "invalid_request" | "server_unavailable";
|
|
2700
2834
|
message: string;
|
|
2701
2835
|
retryAfterMs?: number | undefined;
|
|
2702
2836
|
earliestAvailableSeq?: number | undefined;
|
|
2703
2837
|
currentRevision?: number | undefined;
|
|
2704
2838
|
}, {
|
|
2705
|
-
code: "invite_expired" | "invite_already_redeemed" | "invite_unknown" | "unauthorized" | "participant_revoked" | "room_expired" | "room_closed" | "room_locked" | "participant_muted" | "turn_conflict" | "turn_required" | "turn_expired" | "room_not_found" | "quota_exceeded" | "cursor_gap" | "stale_handover_revision" | "handover_already_resolved" | "idempotency_conflict" | "participant_limit_reached" | "payload_too_large" | "unsupported_capability" | "protocol_version_unsupported" | "invalid_request" | "server_unavailable";
|
|
2839
|
+
code: "invite_expired" | "invite_already_redeemed" | "invite_unknown" | "unauthorized" | "participant_revoked" | "room_expired" | "room_closed" | "room_locked" | "participant_muted" | "turn_conflict" | "turn_required" | "turn_expired" | "room_not_found" | "quota_exceeded" | "rate_limited" | "cursor_gap" | "stale_handover_revision" | "handover_already_resolved" | "idempotency_conflict" | "participant_limit_reached" | "payload_too_large" | "unsupported_capability" | "protocol_version_unsupported" | "invalid_request" | "server_unavailable";
|
|
2706
2840
|
message: string;
|
|
2707
2841
|
retryAfterMs?: number | undefined;
|
|
2708
2842
|
earliestAvailableSeq?: number | undefined;
|
|
@@ -2710,7 +2844,7 @@ export declare const ServerErrorFrame: z.ZodIntersection<z.ZodObject<{
|
|
|
2710
2844
|
}>;
|
|
2711
2845
|
}, "strip", z.ZodTypeAny, {
|
|
2712
2846
|
error: {
|
|
2713
|
-
code: "invite_expired" | "invite_already_redeemed" | "invite_unknown" | "unauthorized" | "participant_revoked" | "room_expired" | "room_closed" | "room_locked" | "participant_muted" | "turn_conflict" | "turn_required" | "turn_expired" | "room_not_found" | "quota_exceeded" | "cursor_gap" | "stale_handover_revision" | "handover_already_resolved" | "idempotency_conflict" | "participant_limit_reached" | "payload_too_large" | "unsupported_capability" | "protocol_version_unsupported" | "invalid_request" | "server_unavailable";
|
|
2847
|
+
code: "invite_expired" | "invite_already_redeemed" | "invite_unknown" | "unauthorized" | "participant_revoked" | "room_expired" | "room_closed" | "room_locked" | "participant_muted" | "turn_conflict" | "turn_required" | "turn_expired" | "room_not_found" | "quota_exceeded" | "rate_limited" | "cursor_gap" | "stale_handover_revision" | "handover_already_resolved" | "idempotency_conflict" | "participant_limit_reached" | "payload_too_large" | "unsupported_capability" | "protocol_version_unsupported" | "invalid_request" | "server_unavailable";
|
|
2714
2848
|
message: string;
|
|
2715
2849
|
retryAfterMs?: number | undefined;
|
|
2716
2850
|
earliestAvailableSeq?: number | undefined;
|
|
@@ -2718,7 +2852,7 @@ export declare const ServerErrorFrame: z.ZodIntersection<z.ZodObject<{
|
|
|
2718
2852
|
};
|
|
2719
2853
|
}, {
|
|
2720
2854
|
error: {
|
|
2721
|
-
code: "invite_expired" | "invite_already_redeemed" | "invite_unknown" | "unauthorized" | "participant_revoked" | "room_expired" | "room_closed" | "room_locked" | "participant_muted" | "turn_conflict" | "turn_required" | "turn_expired" | "room_not_found" | "quota_exceeded" | "cursor_gap" | "stale_handover_revision" | "handover_already_resolved" | "idempotency_conflict" | "participant_limit_reached" | "payload_too_large" | "unsupported_capability" | "protocol_version_unsupported" | "invalid_request" | "server_unavailable";
|
|
2855
|
+
code: "invite_expired" | "invite_already_redeemed" | "invite_unknown" | "unauthorized" | "participant_revoked" | "room_expired" | "room_closed" | "room_locked" | "participant_muted" | "turn_conflict" | "turn_required" | "turn_expired" | "room_not_found" | "quota_exceeded" | "rate_limited" | "cursor_gap" | "stale_handover_revision" | "handover_already_resolved" | "idempotency_conflict" | "participant_limit_reached" | "payload_too_large" | "unsupported_capability" | "protocol_version_unsupported" | "invalid_request" | "server_unavailable";
|
|
2722
2856
|
message: string;
|
|
2723
2857
|
retryAfterMs?: number | undefined;
|
|
2724
2858
|
earliestAvailableSeq?: number | undefined;
|
|
@@ -2738,6 +2872,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
2738
2872
|
renameSelfSupported: z.ZodOptional<z.ZodBoolean>;
|
|
2739
2873
|
adminRolesSupported: z.ZodOptional<z.ZodBoolean>;
|
|
2740
2874
|
permissionsSupported: z.ZodOptional<z.ZodBoolean>;
|
|
2875
|
+
filesSupported: z.ZodOptional<z.ZodBoolean>;
|
|
2741
2876
|
inviteRoleSupported: z.ZodOptional<z.ZodBoolean>;
|
|
2742
2877
|
autoCloseSupported: z.ZodOptional<z.ZodBoolean>;
|
|
2743
2878
|
interruptSupported: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2790,6 +2925,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
2790
2925
|
muted: z.ZodOptional<z.ZodBoolean>;
|
|
2791
2926
|
permissions: z.ZodOptional<z.ZodObject<{
|
|
2792
2927
|
invite: z.ZodOptional<z.ZodBoolean>;
|
|
2928
|
+
attach: z.ZodOptional<z.ZodBoolean>;
|
|
2793
2929
|
rename: z.ZodOptional<z.ZodBoolean>;
|
|
2794
2930
|
lock: z.ZodOptional<z.ZodBoolean>;
|
|
2795
2931
|
mute: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2798,6 +2934,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
2798
2934
|
turns: z.ZodOptional<z.ZodBoolean>;
|
|
2799
2935
|
}, "strip", z.ZodTypeAny, {
|
|
2800
2936
|
invite?: boolean | undefined;
|
|
2937
|
+
attach?: boolean | undefined;
|
|
2801
2938
|
rename?: boolean | undefined;
|
|
2802
2939
|
lock?: boolean | undefined;
|
|
2803
2940
|
mute?: boolean | undefined;
|
|
@@ -2806,6 +2943,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
2806
2943
|
turns?: boolean | undefined;
|
|
2807
2944
|
}, {
|
|
2808
2945
|
invite?: boolean | undefined;
|
|
2946
|
+
attach?: boolean | undefined;
|
|
2809
2947
|
rename?: boolean | undefined;
|
|
2810
2948
|
lock?: boolean | undefined;
|
|
2811
2949
|
mute?: boolean | undefined;
|
|
@@ -2838,6 +2976,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
2838
2976
|
muted?: boolean | undefined;
|
|
2839
2977
|
permissions?: {
|
|
2840
2978
|
invite?: boolean | undefined;
|
|
2979
|
+
attach?: boolean | undefined;
|
|
2841
2980
|
rename?: boolean | undefined;
|
|
2842
2981
|
lock?: boolean | undefined;
|
|
2843
2982
|
mute?: boolean | undefined;
|
|
@@ -2869,6 +3008,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
2869
3008
|
muted?: boolean | undefined;
|
|
2870
3009
|
permissions?: {
|
|
2871
3010
|
invite?: boolean | undefined;
|
|
3011
|
+
attach?: boolean | undefined;
|
|
2872
3012
|
rename?: boolean | undefined;
|
|
2873
3013
|
lock?: boolean | undefined;
|
|
2874
3014
|
mute?: boolean | undefined;
|
|
@@ -2917,6 +3057,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
2917
3057
|
localJoin: z.ZodOptional<z.ZodBoolean>;
|
|
2918
3058
|
permissions: z.ZodOptional<z.ZodObject<{
|
|
2919
3059
|
invite: z.ZodOptional<z.ZodBoolean>;
|
|
3060
|
+
attach: z.ZodOptional<z.ZodBoolean>;
|
|
2920
3061
|
rename: z.ZodOptional<z.ZodBoolean>;
|
|
2921
3062
|
lock: z.ZodOptional<z.ZodBoolean>;
|
|
2922
3063
|
mute: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2925,6 +3066,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
2925
3066
|
turns: z.ZodOptional<z.ZodBoolean>;
|
|
2926
3067
|
}, "strip", z.ZodTypeAny, {
|
|
2927
3068
|
invite?: boolean | undefined;
|
|
3069
|
+
attach?: boolean | undefined;
|
|
2928
3070
|
rename?: boolean | undefined;
|
|
2929
3071
|
lock?: boolean | undefined;
|
|
2930
3072
|
mute?: boolean | undefined;
|
|
@@ -2933,6 +3075,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
2933
3075
|
turns?: boolean | undefined;
|
|
2934
3076
|
}, {
|
|
2935
3077
|
invite?: boolean | undefined;
|
|
3078
|
+
attach?: boolean | undefined;
|
|
2936
3079
|
rename?: boolean | undefined;
|
|
2937
3080
|
lock?: boolean | undefined;
|
|
2938
3081
|
mute?: boolean | undefined;
|
|
@@ -2940,6 +3083,8 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
2940
3083
|
pause?: boolean | undefined;
|
|
2941
3084
|
turns?: boolean | undefined;
|
|
2942
3085
|
}>>;
|
|
3086
|
+
maxFileBytes: z.ZodOptional<z.ZodNumber>;
|
|
3087
|
+
maxRetainedFileBytes: z.ZodOptional<z.ZodNumber>;
|
|
2943
3088
|
maxParticipants: z.ZodNumber;
|
|
2944
3089
|
maxEventPayloadBytes: z.ZodNumber;
|
|
2945
3090
|
maxRetainedEventBytes: z.ZodNumber;
|
|
@@ -2958,6 +3103,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
2958
3103
|
inviteLifetimeMs: number | null;
|
|
2959
3104
|
exportWindowMs: number;
|
|
2960
3105
|
connectTicketLifetimeMs: number;
|
|
3106
|
+
maxFileBytes?: number | undefined;
|
|
2961
3107
|
autoClose?: {
|
|
2962
3108
|
mode: "off";
|
|
2963
3109
|
} | {
|
|
@@ -2973,6 +3119,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
2973
3119
|
localJoin?: boolean | undefined;
|
|
2974
3120
|
permissions?: {
|
|
2975
3121
|
invite?: boolean | undefined;
|
|
3122
|
+
attach?: boolean | undefined;
|
|
2976
3123
|
rename?: boolean | undefined;
|
|
2977
3124
|
lock?: boolean | undefined;
|
|
2978
3125
|
mute?: boolean | undefined;
|
|
@@ -2980,6 +3127,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
2980
3127
|
pause?: boolean | undefined;
|
|
2981
3128
|
turns?: boolean | undefined;
|
|
2982
3129
|
} | undefined;
|
|
3130
|
+
maxRetainedFileBytes?: number | undefined;
|
|
2983
3131
|
}, {
|
|
2984
3132
|
maxParticipants: number;
|
|
2985
3133
|
maxEventPayloadBytes: number;
|
|
@@ -2989,6 +3137,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
2989
3137
|
inviteLifetimeMs: number | null;
|
|
2990
3138
|
exportWindowMs: number;
|
|
2991
3139
|
connectTicketLifetimeMs: number;
|
|
3140
|
+
maxFileBytes?: number | undefined;
|
|
2992
3141
|
autoClose?: {
|
|
2993
3142
|
mode: "off";
|
|
2994
3143
|
} | {
|
|
@@ -3005,6 +3154,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
3005
3154
|
localJoin?: boolean | undefined;
|
|
3006
3155
|
permissions?: {
|
|
3007
3156
|
invite?: boolean | undefined;
|
|
3157
|
+
attach?: boolean | undefined;
|
|
3008
3158
|
rename?: boolean | undefined;
|
|
3009
3159
|
lock?: boolean | undefined;
|
|
3010
3160
|
mute?: boolean | undefined;
|
|
@@ -3012,12 +3162,13 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
3012
3162
|
pause?: boolean | undefined;
|
|
3013
3163
|
turns?: boolean | undefined;
|
|
3014
3164
|
} | undefined;
|
|
3165
|
+
maxRetainedFileBytes?: number | undefined;
|
|
3015
3166
|
}>;
|
|
3016
3167
|
}, "strip", z.ZodTypeAny, {
|
|
3017
3168
|
name: string;
|
|
3018
|
-
expiresAt: number | null;
|
|
3019
3169
|
roomId: string;
|
|
3020
3170
|
createdAt: number;
|
|
3171
|
+
expiresAt: number | null;
|
|
3021
3172
|
closedAt: number | null;
|
|
3022
3173
|
lifecycle: "open" | "closed" | "expired" | "deleted";
|
|
3023
3174
|
policy: {
|
|
@@ -3030,6 +3181,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
3030
3181
|
inviteLifetimeMs: number | null;
|
|
3031
3182
|
exportWindowMs: number;
|
|
3032
3183
|
connectTicketLifetimeMs: number;
|
|
3184
|
+
maxFileBytes?: number | undefined;
|
|
3033
3185
|
autoClose?: {
|
|
3034
3186
|
mode: "off";
|
|
3035
3187
|
} | {
|
|
@@ -3045,6 +3197,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
3045
3197
|
localJoin?: boolean | undefined;
|
|
3046
3198
|
permissions?: {
|
|
3047
3199
|
invite?: boolean | undefined;
|
|
3200
|
+
attach?: boolean | undefined;
|
|
3048
3201
|
rename?: boolean | undefined;
|
|
3049
3202
|
lock?: boolean | undefined;
|
|
3050
3203
|
mute?: boolean | undefined;
|
|
@@ -3052,6 +3205,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
3052
3205
|
pause?: boolean | undefined;
|
|
3053
3206
|
turns?: boolean | undefined;
|
|
3054
3207
|
} | undefined;
|
|
3208
|
+
maxRetainedFileBytes?: number | undefined;
|
|
3055
3209
|
};
|
|
3056
3210
|
controlRevision: number;
|
|
3057
3211
|
latestSeq: number;
|
|
@@ -3077,6 +3231,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
3077
3231
|
muted?: boolean | undefined;
|
|
3078
3232
|
permissions?: {
|
|
3079
3233
|
invite?: boolean | undefined;
|
|
3234
|
+
attach?: boolean | undefined;
|
|
3080
3235
|
rename?: boolean | undefined;
|
|
3081
3236
|
lock?: boolean | undefined;
|
|
3082
3237
|
mute?: boolean | undefined;
|
|
@@ -3103,6 +3258,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
3103
3258
|
renameSelfSupported?: boolean | undefined;
|
|
3104
3259
|
adminRolesSupported?: boolean | undefined;
|
|
3105
3260
|
permissionsSupported?: boolean | undefined;
|
|
3261
|
+
filesSupported?: boolean | undefined;
|
|
3106
3262
|
inviteRoleSupported?: boolean | undefined;
|
|
3107
3263
|
autoCloseSupported?: boolean | undefined;
|
|
3108
3264
|
interruptSupported?: boolean | undefined;
|
|
@@ -3111,9 +3267,9 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
3111
3267
|
workingStatusSupported?: boolean | undefined;
|
|
3112
3268
|
}, {
|
|
3113
3269
|
name: string;
|
|
3114
|
-
expiresAt: number | null;
|
|
3115
3270
|
roomId: string;
|
|
3116
3271
|
createdAt: number;
|
|
3272
|
+
expiresAt: number | null;
|
|
3117
3273
|
closedAt: number | null;
|
|
3118
3274
|
lifecycle: "open" | "closed" | "expired" | "deleted";
|
|
3119
3275
|
policy: {
|
|
@@ -3125,6 +3281,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
3125
3281
|
inviteLifetimeMs: number | null;
|
|
3126
3282
|
exportWindowMs: number;
|
|
3127
3283
|
connectTicketLifetimeMs: number;
|
|
3284
|
+
maxFileBytes?: number | undefined;
|
|
3128
3285
|
autoClose?: {
|
|
3129
3286
|
mode: "off";
|
|
3130
3287
|
} | {
|
|
@@ -3141,6 +3298,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
3141
3298
|
localJoin?: boolean | undefined;
|
|
3142
3299
|
permissions?: {
|
|
3143
3300
|
invite?: boolean | undefined;
|
|
3301
|
+
attach?: boolean | undefined;
|
|
3144
3302
|
rename?: boolean | undefined;
|
|
3145
3303
|
lock?: boolean | undefined;
|
|
3146
3304
|
mute?: boolean | undefined;
|
|
@@ -3148,6 +3306,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
3148
3306
|
pause?: boolean | undefined;
|
|
3149
3307
|
turns?: boolean | undefined;
|
|
3150
3308
|
} | undefined;
|
|
3309
|
+
maxRetainedFileBytes?: number | undefined;
|
|
3151
3310
|
};
|
|
3152
3311
|
controlRevision: number;
|
|
3153
3312
|
latestSeq: number;
|
|
@@ -3173,6 +3332,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
3173
3332
|
muted?: boolean | undefined;
|
|
3174
3333
|
permissions?: {
|
|
3175
3334
|
invite?: boolean | undefined;
|
|
3335
|
+
attach?: boolean | undefined;
|
|
3176
3336
|
rename?: boolean | undefined;
|
|
3177
3337
|
lock?: boolean | undefined;
|
|
3178
3338
|
mute?: boolean | undefined;
|
|
@@ -3199,6 +3359,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
3199
3359
|
renameSelfSupported?: boolean | undefined;
|
|
3200
3360
|
adminRolesSupported?: boolean | undefined;
|
|
3201
3361
|
permissionsSupported?: boolean | undefined;
|
|
3362
|
+
filesSupported?: boolean | undefined;
|
|
3202
3363
|
inviteRoleSupported?: boolean | undefined;
|
|
3203
3364
|
autoCloseSupported?: boolean | undefined;
|
|
3204
3365
|
interruptSupported?: boolean | undefined;
|
|
@@ -3211,9 +3372,9 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
3211
3372
|
type: "hello";
|
|
3212
3373
|
snapshot: {
|
|
3213
3374
|
name: string;
|
|
3214
|
-
expiresAt: number | null;
|
|
3215
3375
|
roomId: string;
|
|
3216
3376
|
createdAt: number;
|
|
3377
|
+
expiresAt: number | null;
|
|
3217
3378
|
closedAt: number | null;
|
|
3218
3379
|
lifecycle: "open" | "closed" | "expired" | "deleted";
|
|
3219
3380
|
policy: {
|
|
@@ -3226,6 +3387,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
3226
3387
|
inviteLifetimeMs: number | null;
|
|
3227
3388
|
exportWindowMs: number;
|
|
3228
3389
|
connectTicketLifetimeMs: number;
|
|
3390
|
+
maxFileBytes?: number | undefined;
|
|
3229
3391
|
autoClose?: {
|
|
3230
3392
|
mode: "off";
|
|
3231
3393
|
} | {
|
|
@@ -3241,6 +3403,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
3241
3403
|
localJoin?: boolean | undefined;
|
|
3242
3404
|
permissions?: {
|
|
3243
3405
|
invite?: boolean | undefined;
|
|
3406
|
+
attach?: boolean | undefined;
|
|
3244
3407
|
rename?: boolean | undefined;
|
|
3245
3408
|
lock?: boolean | undefined;
|
|
3246
3409
|
mute?: boolean | undefined;
|
|
@@ -3248,6 +3411,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
3248
3411
|
pause?: boolean | undefined;
|
|
3249
3412
|
turns?: boolean | undefined;
|
|
3250
3413
|
} | undefined;
|
|
3414
|
+
maxRetainedFileBytes?: number | undefined;
|
|
3251
3415
|
};
|
|
3252
3416
|
controlRevision: number;
|
|
3253
3417
|
latestSeq: number;
|
|
@@ -3273,6 +3437,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
3273
3437
|
muted?: boolean | undefined;
|
|
3274
3438
|
permissions?: {
|
|
3275
3439
|
invite?: boolean | undefined;
|
|
3440
|
+
attach?: boolean | undefined;
|
|
3276
3441
|
rename?: boolean | undefined;
|
|
3277
3442
|
lock?: boolean | undefined;
|
|
3278
3443
|
mute?: boolean | undefined;
|
|
@@ -3299,6 +3464,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
3299
3464
|
renameSelfSupported?: boolean | undefined;
|
|
3300
3465
|
adminRolesSupported?: boolean | undefined;
|
|
3301
3466
|
permissionsSupported?: boolean | undefined;
|
|
3467
|
+
filesSupported?: boolean | undefined;
|
|
3302
3468
|
inviteRoleSupported?: boolean | undefined;
|
|
3303
3469
|
autoCloseSupported?: boolean | undefined;
|
|
3304
3470
|
interruptSupported?: boolean | undefined;
|
|
@@ -3311,9 +3477,9 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
3311
3477
|
type: "hello";
|
|
3312
3478
|
snapshot: {
|
|
3313
3479
|
name: string;
|
|
3314
|
-
expiresAt: number | null;
|
|
3315
3480
|
roomId: string;
|
|
3316
3481
|
createdAt: number;
|
|
3482
|
+
expiresAt: number | null;
|
|
3317
3483
|
closedAt: number | null;
|
|
3318
3484
|
lifecycle: "open" | "closed" | "expired" | "deleted";
|
|
3319
3485
|
policy: {
|
|
@@ -3325,6 +3491,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
3325
3491
|
inviteLifetimeMs: number | null;
|
|
3326
3492
|
exportWindowMs: number;
|
|
3327
3493
|
connectTicketLifetimeMs: number;
|
|
3494
|
+
maxFileBytes?: number | undefined;
|
|
3328
3495
|
autoClose?: {
|
|
3329
3496
|
mode: "off";
|
|
3330
3497
|
} | {
|
|
@@ -3341,6 +3508,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
3341
3508
|
localJoin?: boolean | undefined;
|
|
3342
3509
|
permissions?: {
|
|
3343
3510
|
invite?: boolean | undefined;
|
|
3511
|
+
attach?: boolean | undefined;
|
|
3344
3512
|
rename?: boolean | undefined;
|
|
3345
3513
|
lock?: boolean | undefined;
|
|
3346
3514
|
mute?: boolean | undefined;
|
|
@@ -3348,6 +3516,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
3348
3516
|
pause?: boolean | undefined;
|
|
3349
3517
|
turns?: boolean | undefined;
|
|
3350
3518
|
} | undefined;
|
|
3519
|
+
maxRetainedFileBytes?: number | undefined;
|
|
3351
3520
|
};
|
|
3352
3521
|
controlRevision: number;
|
|
3353
3522
|
latestSeq: number;
|
|
@@ -3373,6 +3542,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
3373
3542
|
muted?: boolean | undefined;
|
|
3374
3543
|
permissions?: {
|
|
3375
3544
|
invite?: boolean | undefined;
|
|
3545
|
+
attach?: boolean | undefined;
|
|
3376
3546
|
rename?: boolean | undefined;
|
|
3377
3547
|
lock?: boolean | undefined;
|
|
3378
3548
|
mute?: boolean | undefined;
|
|
@@ -3399,6 +3569,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
3399
3569
|
renameSelfSupported?: boolean | undefined;
|
|
3400
3570
|
adminRolesSupported?: boolean | undefined;
|
|
3401
3571
|
permissionsSupported?: boolean | undefined;
|
|
3572
|
+
filesSupported?: boolean | undefined;
|
|
3402
3573
|
inviteRoleSupported?: boolean | undefined;
|
|
3403
3574
|
autoCloseSupported?: boolean | undefined;
|
|
3404
3575
|
interruptSupported?: boolean | undefined;
|
|
@@ -3424,9 +3595,9 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
3424
3595
|
at: z.ZodNumber;
|
|
3425
3596
|
}, "strip", z.ZodTypeAny, {
|
|
3426
3597
|
at: number;
|
|
3598
|
+
roomId: string;
|
|
3427
3599
|
eventId: string;
|
|
3428
3600
|
protocolVersion: 1;
|
|
3429
|
-
roomId: string;
|
|
3430
3601
|
seq: number;
|
|
3431
3602
|
senderId: string | null;
|
|
3432
3603
|
idempotencyKey: string | null;
|
|
@@ -3437,9 +3608,9 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
3437
3608
|
quoteOf?: string | undefined;
|
|
3438
3609
|
}, {
|
|
3439
3610
|
at: number;
|
|
3611
|
+
roomId: string;
|
|
3440
3612
|
eventId: string;
|
|
3441
3613
|
protocolVersion: 1;
|
|
3442
|
-
roomId: string;
|
|
3443
3614
|
seq: number;
|
|
3444
3615
|
senderId: string | null;
|
|
3445
3616
|
idempotencyKey: string | null;
|
|
@@ -3455,16 +3626,49 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
3455
3626
|
priority: z.ZodDefault<z.ZodEnum<["normal", "priority"]>>;
|
|
3456
3627
|
responseStage: z.ZodOptional<z.ZodEnum<["progress", "final"]>>;
|
|
3457
3628
|
recovers: z.ZodOptional<z.ZodString>;
|
|
3629
|
+
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3630
|
+
fileId: z.ZodString;
|
|
3631
|
+
name: z.ZodString;
|
|
3632
|
+
size: z.ZodNumber;
|
|
3633
|
+
mediaType: z.ZodString;
|
|
3634
|
+
sha256: z.ZodString;
|
|
3635
|
+
}, "strip", z.ZodTypeAny, {
|
|
3636
|
+
name: string;
|
|
3637
|
+
fileId: string;
|
|
3638
|
+
size: number;
|
|
3639
|
+
mediaType: string;
|
|
3640
|
+
sha256: string;
|
|
3641
|
+
}, {
|
|
3642
|
+
name: string;
|
|
3643
|
+
fileId: string;
|
|
3644
|
+
size: number;
|
|
3645
|
+
mediaType: string;
|
|
3646
|
+
sha256: string;
|
|
3647
|
+
}>, "many">>;
|
|
3458
3648
|
}, "strip", z.ZodTypeAny, {
|
|
3459
3649
|
text: string;
|
|
3460
3650
|
priority: "normal" | "priority";
|
|
3461
3651
|
responseStage?: "progress" | "final" | undefined;
|
|
3462
3652
|
recovers?: string | undefined;
|
|
3653
|
+
attachments?: {
|
|
3654
|
+
name: string;
|
|
3655
|
+
fileId: string;
|
|
3656
|
+
size: number;
|
|
3657
|
+
mediaType: string;
|
|
3658
|
+
sha256: string;
|
|
3659
|
+
}[] | undefined;
|
|
3463
3660
|
}, {
|
|
3464
3661
|
text: string;
|
|
3465
3662
|
priority?: "normal" | "priority" | undefined;
|
|
3466
3663
|
responseStage?: "progress" | "final" | undefined;
|
|
3467
3664
|
recovers?: string | undefined;
|
|
3665
|
+
attachments?: {
|
|
3666
|
+
name: string;
|
|
3667
|
+
fileId: string;
|
|
3668
|
+
size: number;
|
|
3669
|
+
mediaType: string;
|
|
3670
|
+
sha256: string;
|
|
3671
|
+
}[] | undefined;
|
|
3468
3672
|
}>;
|
|
3469
3673
|
}, "strip", z.ZodTypeAny, {
|
|
3470
3674
|
type: "message";
|
|
@@ -3473,6 +3677,13 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
3473
3677
|
priority: "normal" | "priority";
|
|
3474
3678
|
responseStage?: "progress" | "final" | undefined;
|
|
3475
3679
|
recovers?: string | undefined;
|
|
3680
|
+
attachments?: {
|
|
3681
|
+
name: string;
|
|
3682
|
+
fileId: string;
|
|
3683
|
+
size: number;
|
|
3684
|
+
mediaType: string;
|
|
3685
|
+
sha256: string;
|
|
3686
|
+
}[] | undefined;
|
|
3476
3687
|
};
|
|
3477
3688
|
}, {
|
|
3478
3689
|
type: "message";
|
|
@@ -3481,6 +3692,13 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
3481
3692
|
priority?: "normal" | "priority" | undefined;
|
|
3482
3693
|
responseStage?: "progress" | "final" | undefined;
|
|
3483
3694
|
recovers?: string | undefined;
|
|
3695
|
+
attachments?: {
|
|
3696
|
+
name: string;
|
|
3697
|
+
fileId: string;
|
|
3698
|
+
size: number;
|
|
3699
|
+
mediaType: string;
|
|
3700
|
+
sha256: string;
|
|
3701
|
+
}[] | undefined;
|
|
3484
3702
|
};
|
|
3485
3703
|
}>, z.ZodObject<{
|
|
3486
3704
|
type: z.ZodLiteral<"message.received">;
|
|
@@ -4524,6 +4742,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
4524
4742
|
payload: z.ZodObject<{
|
|
4525
4743
|
permissions: z.ZodObject<{
|
|
4526
4744
|
invite: z.ZodOptional<z.ZodBoolean>;
|
|
4745
|
+
attach: z.ZodOptional<z.ZodBoolean>;
|
|
4527
4746
|
rename: z.ZodOptional<z.ZodBoolean>;
|
|
4528
4747
|
lock: z.ZodOptional<z.ZodBoolean>;
|
|
4529
4748
|
mute: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4532,6 +4751,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
4532
4751
|
turns: z.ZodOptional<z.ZodBoolean>;
|
|
4533
4752
|
}, "strip", z.ZodTypeAny, {
|
|
4534
4753
|
invite?: boolean | undefined;
|
|
4754
|
+
attach?: boolean | undefined;
|
|
4535
4755
|
rename?: boolean | undefined;
|
|
4536
4756
|
lock?: boolean | undefined;
|
|
4537
4757
|
mute?: boolean | undefined;
|
|
@@ -4540,6 +4760,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
4540
4760
|
turns?: boolean | undefined;
|
|
4541
4761
|
}, {
|
|
4542
4762
|
invite?: boolean | undefined;
|
|
4763
|
+
attach?: boolean | undefined;
|
|
4543
4764
|
rename?: boolean | undefined;
|
|
4544
4765
|
lock?: boolean | undefined;
|
|
4545
4766
|
mute?: boolean | undefined;
|
|
@@ -4549,6 +4770,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
4549
4770
|
}>;
|
|
4550
4771
|
previous: z.ZodObject<{
|
|
4551
4772
|
invite: z.ZodOptional<z.ZodBoolean>;
|
|
4773
|
+
attach: z.ZodOptional<z.ZodBoolean>;
|
|
4552
4774
|
rename: z.ZodOptional<z.ZodBoolean>;
|
|
4553
4775
|
lock: z.ZodOptional<z.ZodBoolean>;
|
|
4554
4776
|
mute: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4557,6 +4779,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
4557
4779
|
turns: z.ZodOptional<z.ZodBoolean>;
|
|
4558
4780
|
}, "strip", z.ZodTypeAny, {
|
|
4559
4781
|
invite?: boolean | undefined;
|
|
4782
|
+
attach?: boolean | undefined;
|
|
4560
4783
|
rename?: boolean | undefined;
|
|
4561
4784
|
lock?: boolean | undefined;
|
|
4562
4785
|
mute?: boolean | undefined;
|
|
@@ -4565,6 +4788,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
4565
4788
|
turns?: boolean | undefined;
|
|
4566
4789
|
}, {
|
|
4567
4790
|
invite?: boolean | undefined;
|
|
4791
|
+
attach?: boolean | undefined;
|
|
4568
4792
|
rename?: boolean | undefined;
|
|
4569
4793
|
lock?: boolean | undefined;
|
|
4570
4794
|
mute?: boolean | undefined;
|
|
@@ -4575,6 +4799,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
4575
4799
|
}, "strip", z.ZodTypeAny, {
|
|
4576
4800
|
previous: {
|
|
4577
4801
|
invite?: boolean | undefined;
|
|
4802
|
+
attach?: boolean | undefined;
|
|
4578
4803
|
rename?: boolean | undefined;
|
|
4579
4804
|
lock?: boolean | undefined;
|
|
4580
4805
|
mute?: boolean | undefined;
|
|
@@ -4584,6 +4809,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
4584
4809
|
};
|
|
4585
4810
|
permissions: {
|
|
4586
4811
|
invite?: boolean | undefined;
|
|
4812
|
+
attach?: boolean | undefined;
|
|
4587
4813
|
rename?: boolean | undefined;
|
|
4588
4814
|
lock?: boolean | undefined;
|
|
4589
4815
|
mute?: boolean | undefined;
|
|
@@ -4594,6 +4820,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
4594
4820
|
}, {
|
|
4595
4821
|
previous: {
|
|
4596
4822
|
invite?: boolean | undefined;
|
|
4823
|
+
attach?: boolean | undefined;
|
|
4597
4824
|
rename?: boolean | undefined;
|
|
4598
4825
|
lock?: boolean | undefined;
|
|
4599
4826
|
mute?: boolean | undefined;
|
|
@@ -4603,6 +4830,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
4603
4830
|
};
|
|
4604
4831
|
permissions: {
|
|
4605
4832
|
invite?: boolean | undefined;
|
|
4833
|
+
attach?: boolean | undefined;
|
|
4606
4834
|
rename?: boolean | undefined;
|
|
4607
4835
|
lock?: boolean | undefined;
|
|
4608
4836
|
mute?: boolean | undefined;
|
|
@@ -4616,6 +4844,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
4616
4844
|
payload: {
|
|
4617
4845
|
previous: {
|
|
4618
4846
|
invite?: boolean | undefined;
|
|
4847
|
+
attach?: boolean | undefined;
|
|
4619
4848
|
rename?: boolean | undefined;
|
|
4620
4849
|
lock?: boolean | undefined;
|
|
4621
4850
|
mute?: boolean | undefined;
|
|
@@ -4625,6 +4854,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
4625
4854
|
};
|
|
4626
4855
|
permissions: {
|
|
4627
4856
|
invite?: boolean | undefined;
|
|
4857
|
+
attach?: boolean | undefined;
|
|
4628
4858
|
rename?: boolean | undefined;
|
|
4629
4859
|
lock?: boolean | undefined;
|
|
4630
4860
|
mute?: boolean | undefined;
|
|
@@ -4638,6 +4868,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
4638
4868
|
payload: {
|
|
4639
4869
|
previous: {
|
|
4640
4870
|
invite?: boolean | undefined;
|
|
4871
|
+
attach?: boolean | undefined;
|
|
4641
4872
|
rename?: boolean | undefined;
|
|
4642
4873
|
lock?: boolean | undefined;
|
|
4643
4874
|
mute?: boolean | undefined;
|
|
@@ -4647,6 +4878,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
4647
4878
|
};
|
|
4648
4879
|
permissions: {
|
|
4649
4880
|
invite?: boolean | undefined;
|
|
4881
|
+
attach?: boolean | undefined;
|
|
4650
4882
|
rename?: boolean | undefined;
|
|
4651
4883
|
lock?: boolean | undefined;
|
|
4652
4884
|
mute?: boolean | undefined;
|
|
@@ -4661,6 +4893,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
4661
4893
|
participantId: z.ZodString;
|
|
4662
4894
|
permissions: z.ZodObject<{
|
|
4663
4895
|
invite: z.ZodOptional<z.ZodBoolean>;
|
|
4896
|
+
attach: z.ZodOptional<z.ZodBoolean>;
|
|
4664
4897
|
rename: z.ZodOptional<z.ZodBoolean>;
|
|
4665
4898
|
lock: z.ZodOptional<z.ZodBoolean>;
|
|
4666
4899
|
mute: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4669,6 +4902,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
4669
4902
|
turns: z.ZodOptional<z.ZodBoolean>;
|
|
4670
4903
|
}, "strip", z.ZodTypeAny, {
|
|
4671
4904
|
invite?: boolean | undefined;
|
|
4905
|
+
attach?: boolean | undefined;
|
|
4672
4906
|
rename?: boolean | undefined;
|
|
4673
4907
|
lock?: boolean | undefined;
|
|
4674
4908
|
mute?: boolean | undefined;
|
|
@@ -4677,6 +4911,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
4677
4911
|
turns?: boolean | undefined;
|
|
4678
4912
|
}, {
|
|
4679
4913
|
invite?: boolean | undefined;
|
|
4914
|
+
attach?: boolean | undefined;
|
|
4680
4915
|
rename?: boolean | undefined;
|
|
4681
4916
|
lock?: boolean | undefined;
|
|
4682
4917
|
mute?: boolean | undefined;
|
|
@@ -4686,6 +4921,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
4686
4921
|
}>;
|
|
4687
4922
|
previous: z.ZodObject<{
|
|
4688
4923
|
invite: z.ZodOptional<z.ZodBoolean>;
|
|
4924
|
+
attach: z.ZodOptional<z.ZodBoolean>;
|
|
4689
4925
|
rename: z.ZodOptional<z.ZodBoolean>;
|
|
4690
4926
|
lock: z.ZodOptional<z.ZodBoolean>;
|
|
4691
4927
|
mute: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4694,6 +4930,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
4694
4930
|
turns: z.ZodOptional<z.ZodBoolean>;
|
|
4695
4931
|
}, "strip", z.ZodTypeAny, {
|
|
4696
4932
|
invite?: boolean | undefined;
|
|
4933
|
+
attach?: boolean | undefined;
|
|
4697
4934
|
rename?: boolean | undefined;
|
|
4698
4935
|
lock?: boolean | undefined;
|
|
4699
4936
|
mute?: boolean | undefined;
|
|
@@ -4702,6 +4939,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
4702
4939
|
turns?: boolean | undefined;
|
|
4703
4940
|
}, {
|
|
4704
4941
|
invite?: boolean | undefined;
|
|
4942
|
+
attach?: boolean | undefined;
|
|
4705
4943
|
rename?: boolean | undefined;
|
|
4706
4944
|
lock?: boolean | undefined;
|
|
4707
4945
|
mute?: boolean | undefined;
|
|
@@ -4713,6 +4951,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
4713
4951
|
participantId: string;
|
|
4714
4952
|
previous: {
|
|
4715
4953
|
invite?: boolean | undefined;
|
|
4954
|
+
attach?: boolean | undefined;
|
|
4716
4955
|
rename?: boolean | undefined;
|
|
4717
4956
|
lock?: boolean | undefined;
|
|
4718
4957
|
mute?: boolean | undefined;
|
|
@@ -4722,6 +4961,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
4722
4961
|
};
|
|
4723
4962
|
permissions: {
|
|
4724
4963
|
invite?: boolean | undefined;
|
|
4964
|
+
attach?: boolean | undefined;
|
|
4725
4965
|
rename?: boolean | undefined;
|
|
4726
4966
|
lock?: boolean | undefined;
|
|
4727
4967
|
mute?: boolean | undefined;
|
|
@@ -4733,6 +4973,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
4733
4973
|
participantId: string;
|
|
4734
4974
|
previous: {
|
|
4735
4975
|
invite?: boolean | undefined;
|
|
4976
|
+
attach?: boolean | undefined;
|
|
4736
4977
|
rename?: boolean | undefined;
|
|
4737
4978
|
lock?: boolean | undefined;
|
|
4738
4979
|
mute?: boolean | undefined;
|
|
@@ -4742,6 +4983,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
4742
4983
|
};
|
|
4743
4984
|
permissions: {
|
|
4744
4985
|
invite?: boolean | undefined;
|
|
4986
|
+
attach?: boolean | undefined;
|
|
4745
4987
|
rename?: boolean | undefined;
|
|
4746
4988
|
lock?: boolean | undefined;
|
|
4747
4989
|
mute?: boolean | undefined;
|
|
@@ -4756,6 +4998,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
4756
4998
|
participantId: string;
|
|
4757
4999
|
previous: {
|
|
4758
5000
|
invite?: boolean | undefined;
|
|
5001
|
+
attach?: boolean | undefined;
|
|
4759
5002
|
rename?: boolean | undefined;
|
|
4760
5003
|
lock?: boolean | undefined;
|
|
4761
5004
|
mute?: boolean | undefined;
|
|
@@ -4765,6 +5008,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
4765
5008
|
};
|
|
4766
5009
|
permissions: {
|
|
4767
5010
|
invite?: boolean | undefined;
|
|
5011
|
+
attach?: boolean | undefined;
|
|
4768
5012
|
rename?: boolean | undefined;
|
|
4769
5013
|
lock?: boolean | undefined;
|
|
4770
5014
|
mute?: boolean | undefined;
|
|
@@ -4779,6 +5023,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
4779
5023
|
participantId: string;
|
|
4780
5024
|
previous: {
|
|
4781
5025
|
invite?: boolean | undefined;
|
|
5026
|
+
attach?: boolean | undefined;
|
|
4782
5027
|
rename?: boolean | undefined;
|
|
4783
5028
|
lock?: boolean | undefined;
|
|
4784
5029
|
mute?: boolean | undefined;
|
|
@@ -4788,6 +5033,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
4788
5033
|
};
|
|
4789
5034
|
permissions: {
|
|
4790
5035
|
invite?: boolean | undefined;
|
|
5036
|
+
attach?: boolean | undefined;
|
|
4791
5037
|
rename?: boolean | undefined;
|
|
4792
5038
|
lock?: boolean | undefined;
|
|
4793
5039
|
mute?: boolean | undefined;
|
|
@@ -4840,9 +5086,9 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
4840
5086
|
type: "event";
|
|
4841
5087
|
event: {
|
|
4842
5088
|
at: number;
|
|
5089
|
+
roomId: string;
|
|
4843
5090
|
eventId: string;
|
|
4844
5091
|
protocolVersion: 1;
|
|
4845
|
-
roomId: string;
|
|
4846
5092
|
seq: number;
|
|
4847
5093
|
senderId: string | null;
|
|
4848
5094
|
idempotencyKey: string | null;
|
|
@@ -4858,6 +5104,13 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
4858
5104
|
priority: "normal" | "priority";
|
|
4859
5105
|
responseStage?: "progress" | "final" | undefined;
|
|
4860
5106
|
recovers?: string | undefined;
|
|
5107
|
+
attachments?: {
|
|
5108
|
+
name: string;
|
|
5109
|
+
fileId: string;
|
|
5110
|
+
size: number;
|
|
5111
|
+
mediaType: string;
|
|
5112
|
+
sha256: string;
|
|
5113
|
+
}[] | undefined;
|
|
4861
5114
|
};
|
|
4862
5115
|
} | {
|
|
4863
5116
|
type: "message.received";
|
|
@@ -5067,6 +5320,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
5067
5320
|
payload: {
|
|
5068
5321
|
previous: {
|
|
5069
5322
|
invite?: boolean | undefined;
|
|
5323
|
+
attach?: boolean | undefined;
|
|
5070
5324
|
rename?: boolean | undefined;
|
|
5071
5325
|
lock?: boolean | undefined;
|
|
5072
5326
|
mute?: boolean | undefined;
|
|
@@ -5076,6 +5330,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
5076
5330
|
};
|
|
5077
5331
|
permissions: {
|
|
5078
5332
|
invite?: boolean | undefined;
|
|
5333
|
+
attach?: boolean | undefined;
|
|
5079
5334
|
rename?: boolean | undefined;
|
|
5080
5335
|
lock?: boolean | undefined;
|
|
5081
5336
|
mute?: boolean | undefined;
|
|
@@ -5090,6 +5345,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
5090
5345
|
participantId: string;
|
|
5091
5346
|
previous: {
|
|
5092
5347
|
invite?: boolean | undefined;
|
|
5348
|
+
attach?: boolean | undefined;
|
|
5093
5349
|
rename?: boolean | undefined;
|
|
5094
5350
|
lock?: boolean | undefined;
|
|
5095
5351
|
mute?: boolean | undefined;
|
|
@@ -5099,6 +5355,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
5099
5355
|
};
|
|
5100
5356
|
permissions: {
|
|
5101
5357
|
invite?: boolean | undefined;
|
|
5358
|
+
attach?: boolean | undefined;
|
|
5102
5359
|
rename?: boolean | undefined;
|
|
5103
5360
|
lock?: boolean | undefined;
|
|
5104
5361
|
mute?: boolean | undefined;
|
|
@@ -5121,9 +5378,9 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
5121
5378
|
type: "event";
|
|
5122
5379
|
event: {
|
|
5123
5380
|
at: number;
|
|
5381
|
+
roomId: string;
|
|
5124
5382
|
eventId: string;
|
|
5125
5383
|
protocolVersion: 1;
|
|
5126
|
-
roomId: string;
|
|
5127
5384
|
seq: number;
|
|
5128
5385
|
senderId: string | null;
|
|
5129
5386
|
idempotencyKey: string | null;
|
|
@@ -5139,6 +5396,13 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
5139
5396
|
priority?: "normal" | "priority" | undefined;
|
|
5140
5397
|
responseStage?: "progress" | "final" | undefined;
|
|
5141
5398
|
recovers?: string | undefined;
|
|
5399
|
+
attachments?: {
|
|
5400
|
+
name: string;
|
|
5401
|
+
fileId: string;
|
|
5402
|
+
size: number;
|
|
5403
|
+
mediaType: string;
|
|
5404
|
+
sha256: string;
|
|
5405
|
+
}[] | undefined;
|
|
5142
5406
|
};
|
|
5143
5407
|
} | {
|
|
5144
5408
|
type: "message.received";
|
|
@@ -5348,6 +5612,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
5348
5612
|
payload: {
|
|
5349
5613
|
previous: {
|
|
5350
5614
|
invite?: boolean | undefined;
|
|
5615
|
+
attach?: boolean | undefined;
|
|
5351
5616
|
rename?: boolean | undefined;
|
|
5352
5617
|
lock?: boolean | undefined;
|
|
5353
5618
|
mute?: boolean | undefined;
|
|
@@ -5357,6 +5622,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
5357
5622
|
};
|
|
5358
5623
|
permissions: {
|
|
5359
5624
|
invite?: boolean | undefined;
|
|
5625
|
+
attach?: boolean | undefined;
|
|
5360
5626
|
rename?: boolean | undefined;
|
|
5361
5627
|
lock?: boolean | undefined;
|
|
5362
5628
|
mute?: boolean | undefined;
|
|
@@ -5371,6 +5637,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
5371
5637
|
participantId: string;
|
|
5372
5638
|
previous: {
|
|
5373
5639
|
invite?: boolean | undefined;
|
|
5640
|
+
attach?: boolean | undefined;
|
|
5374
5641
|
rename?: boolean | undefined;
|
|
5375
5642
|
lock?: boolean | undefined;
|
|
5376
5643
|
mute?: boolean | undefined;
|
|
@@ -5380,6 +5647,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
5380
5647
|
};
|
|
5381
5648
|
permissions: {
|
|
5382
5649
|
invite?: boolean | undefined;
|
|
5650
|
+
attach?: boolean | undefined;
|
|
5383
5651
|
rename?: boolean | undefined;
|
|
5384
5652
|
lock?: boolean | undefined;
|
|
5385
5653
|
mute?: boolean | undefined;
|
|
@@ -5409,19 +5677,19 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
5409
5677
|
fatal: boolean;
|
|
5410
5678
|
}>, z.ZodObject<{
|
|
5411
5679
|
error: z.ZodObject<{
|
|
5412
|
-
code: z.ZodEnum<["invite_expired", "invite_already_redeemed", "invite_unknown", "unauthorized", "participant_revoked", "room_expired", "room_closed", "room_locked", "participant_muted", "turn_conflict", "turn_required", "turn_expired", "room_not_found", "quota_exceeded", "cursor_gap", "stale_handover_revision", "handover_already_resolved", "idempotency_conflict", "participant_limit_reached", "payload_too_large", "unsupported_capability", "protocol_version_unsupported", "invalid_request", "server_unavailable"]>;
|
|
5680
|
+
code: z.ZodEnum<["invite_expired", "invite_already_redeemed", "invite_unknown", "unauthorized", "participant_revoked", "room_expired", "room_closed", "room_locked", "participant_muted", "turn_conflict", "turn_required", "turn_expired", "room_not_found", "quota_exceeded", "rate_limited", "cursor_gap", "stale_handover_revision", "handover_already_resolved", "idempotency_conflict", "participant_limit_reached", "payload_too_large", "unsupported_capability", "protocol_version_unsupported", "invalid_request", "server_unavailable"]>;
|
|
5413
5681
|
message: z.ZodString;
|
|
5414
5682
|
retryAfterMs: z.ZodOptional<z.ZodNumber>;
|
|
5415
5683
|
earliestAvailableSeq: z.ZodOptional<z.ZodNumber>;
|
|
5416
5684
|
currentRevision: z.ZodOptional<z.ZodNumber>;
|
|
5417
5685
|
}, "strip", z.ZodTypeAny, {
|
|
5418
|
-
code: "invite_expired" | "invite_already_redeemed" | "invite_unknown" | "unauthorized" | "participant_revoked" | "room_expired" | "room_closed" | "room_locked" | "participant_muted" | "turn_conflict" | "turn_required" | "turn_expired" | "room_not_found" | "quota_exceeded" | "cursor_gap" | "stale_handover_revision" | "handover_already_resolved" | "idempotency_conflict" | "participant_limit_reached" | "payload_too_large" | "unsupported_capability" | "protocol_version_unsupported" | "invalid_request" | "server_unavailable";
|
|
5686
|
+
code: "invite_expired" | "invite_already_redeemed" | "invite_unknown" | "unauthorized" | "participant_revoked" | "room_expired" | "room_closed" | "room_locked" | "participant_muted" | "turn_conflict" | "turn_required" | "turn_expired" | "room_not_found" | "quota_exceeded" | "rate_limited" | "cursor_gap" | "stale_handover_revision" | "handover_already_resolved" | "idempotency_conflict" | "participant_limit_reached" | "payload_too_large" | "unsupported_capability" | "protocol_version_unsupported" | "invalid_request" | "server_unavailable";
|
|
5419
5687
|
message: string;
|
|
5420
5688
|
retryAfterMs?: number | undefined;
|
|
5421
5689
|
earliestAvailableSeq?: number | undefined;
|
|
5422
5690
|
currentRevision?: number | undefined;
|
|
5423
5691
|
}, {
|
|
5424
|
-
code: "invite_expired" | "invite_already_redeemed" | "invite_unknown" | "unauthorized" | "participant_revoked" | "room_expired" | "room_closed" | "room_locked" | "participant_muted" | "turn_conflict" | "turn_required" | "turn_expired" | "room_not_found" | "quota_exceeded" | "cursor_gap" | "stale_handover_revision" | "handover_already_resolved" | "idempotency_conflict" | "participant_limit_reached" | "payload_too_large" | "unsupported_capability" | "protocol_version_unsupported" | "invalid_request" | "server_unavailable";
|
|
5692
|
+
code: "invite_expired" | "invite_already_redeemed" | "invite_unknown" | "unauthorized" | "participant_revoked" | "room_expired" | "room_closed" | "room_locked" | "participant_muted" | "turn_conflict" | "turn_required" | "turn_expired" | "room_not_found" | "quota_exceeded" | "rate_limited" | "cursor_gap" | "stale_handover_revision" | "handover_already_resolved" | "idempotency_conflict" | "participant_limit_reached" | "payload_too_large" | "unsupported_capability" | "protocol_version_unsupported" | "invalid_request" | "server_unavailable";
|
|
5425
5693
|
message: string;
|
|
5426
5694
|
retryAfterMs?: number | undefined;
|
|
5427
5695
|
earliestAvailableSeq?: number | undefined;
|
|
@@ -5429,7 +5697,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
5429
5697
|
}>;
|
|
5430
5698
|
}, "strip", z.ZodTypeAny, {
|
|
5431
5699
|
error: {
|
|
5432
|
-
code: "invite_expired" | "invite_already_redeemed" | "invite_unknown" | "unauthorized" | "participant_revoked" | "room_expired" | "room_closed" | "room_locked" | "participant_muted" | "turn_conflict" | "turn_required" | "turn_expired" | "room_not_found" | "quota_exceeded" | "cursor_gap" | "stale_handover_revision" | "handover_already_resolved" | "idempotency_conflict" | "participant_limit_reached" | "payload_too_large" | "unsupported_capability" | "protocol_version_unsupported" | "invalid_request" | "server_unavailable";
|
|
5700
|
+
code: "invite_expired" | "invite_already_redeemed" | "invite_unknown" | "unauthorized" | "participant_revoked" | "room_expired" | "room_closed" | "room_locked" | "participant_muted" | "turn_conflict" | "turn_required" | "turn_expired" | "room_not_found" | "quota_exceeded" | "rate_limited" | "cursor_gap" | "stale_handover_revision" | "handover_already_resolved" | "idempotency_conflict" | "participant_limit_reached" | "payload_too_large" | "unsupported_capability" | "protocol_version_unsupported" | "invalid_request" | "server_unavailable";
|
|
5433
5701
|
message: string;
|
|
5434
5702
|
retryAfterMs?: number | undefined;
|
|
5435
5703
|
earliestAvailableSeq?: number | undefined;
|
|
@@ -5437,7 +5705,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
5437
5705
|
};
|
|
5438
5706
|
}, {
|
|
5439
5707
|
error: {
|
|
5440
|
-
code: "invite_expired" | "invite_already_redeemed" | "invite_unknown" | "unauthorized" | "participant_revoked" | "room_expired" | "room_closed" | "room_locked" | "participant_muted" | "turn_conflict" | "turn_required" | "turn_expired" | "room_not_found" | "quota_exceeded" | "cursor_gap" | "stale_handover_revision" | "handover_already_resolved" | "idempotency_conflict" | "participant_limit_reached" | "payload_too_large" | "unsupported_capability" | "protocol_version_unsupported" | "invalid_request" | "server_unavailable";
|
|
5708
|
+
code: "invite_expired" | "invite_already_redeemed" | "invite_unknown" | "unauthorized" | "participant_revoked" | "room_expired" | "room_closed" | "room_locked" | "participant_muted" | "turn_conflict" | "turn_required" | "turn_expired" | "room_not_found" | "quota_exceeded" | "rate_limited" | "cursor_gap" | "stale_handover_revision" | "handover_already_resolved" | "idempotency_conflict" | "participant_limit_reached" | "payload_too_large" | "unsupported_capability" | "protocol_version_unsupported" | "invalid_request" | "server_unavailable";
|
|
5441
5709
|
message: string;
|
|
5442
5710
|
retryAfterMs?: number | undefined;
|
|
5443
5711
|
earliestAvailableSeq?: number | undefined;
|