@pairlobby/protocol 0.28.0 → 0.29.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/events.d.ts +48 -0
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +2 -0
- package/dist/events.js.map +1 -1
- package/dist/http.d.ts +191 -1
- package/dist/http.d.ts.map +1 -1
- package/dist/http.js +9 -3
- package/dist/http.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 +8 -1
- package/dist/limits.d.ts.map +1 -1
- package/dist/limits.js +7 -2
- package/dist/limits.js.map +1 -1
- package/dist/permissions.d.ts +7 -3
- package/dist/permissions.d.ts.map +1 -1
- package/dist/permissions.js +11 -5
- package/dist/permissions.js.map +1 -1
- package/dist/records.d.ts +17 -0
- package/dist/records.d.ts.map +1 -1
- package/dist/records.js +4 -0
- package/dist/records.js.map +1 -1
- package/dist/room-types.d.ts +26 -0
- package/dist/room-types.d.ts.map +1 -0
- package/dist/room-types.js +37 -0
- package/dist/room-types.js.map +1 -0
- package/dist/wire.d.ts +86 -0
- package/dist/wire.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/http.d.ts
CHANGED
|
@@ -133,6 +133,10 @@ export declare const ROUTES: {
|
|
|
133
133
|
readonly method: "POST";
|
|
134
134
|
readonly path: "/v1/rooms/:roomId/access";
|
|
135
135
|
};
|
|
136
|
+
readonly setRoomType: {
|
|
137
|
+
readonly method: "POST";
|
|
138
|
+
readonly path: "/v1/rooms/:roomId/type";
|
|
139
|
+
};
|
|
136
140
|
readonly joinAsGuest: {
|
|
137
141
|
readonly method: "POST";
|
|
138
142
|
readonly path: "/v1/rooms/:roomId/guests";
|
|
@@ -205,15 +209,19 @@ export declare const CreateRoomRequest: z.ZodIntersection<z.ZodObject<{
|
|
|
205
209
|
/** Client-generated so a lost response never strands a credential the caller does not hold. */
|
|
206
210
|
controllerCredential: z.ZodString;
|
|
207
211
|
participantCredential: z.ZodString;
|
|
212
|
+
/** Absent creates a room without a type, as relays did before types. */
|
|
213
|
+
type: z.ZodOptional<z.ZodEnum<["public", "protected", "private", "personal"]>>;
|
|
208
214
|
}, "strip", z.ZodTypeAny, {
|
|
209
215
|
name: string;
|
|
210
216
|
controllerCredential: string;
|
|
211
217
|
participantCredential: string;
|
|
218
|
+
type?: "public" | "protected" | "private" | "personal" | undefined;
|
|
212
219
|
expiresAt?: number | null | undefined;
|
|
213
220
|
}, {
|
|
214
221
|
name: string;
|
|
215
222
|
controllerCredential: string;
|
|
216
223
|
participantCredential: string;
|
|
224
|
+
type?: "public" | "protected" | "private" | "personal" | undefined;
|
|
217
225
|
expiresAt?: number | null | undefined;
|
|
218
226
|
}>>;
|
|
219
227
|
export type CreateRoomRequest = z.infer<typeof CreateRoomRequest>;
|
|
@@ -411,6 +419,7 @@ export declare const CreateRoomResponse: z.ZodObject<{
|
|
|
411
419
|
acknowledgedRevision?: number | undefined;
|
|
412
420
|
}>, "many">;
|
|
413
421
|
policy: z.ZodObject<{
|
|
422
|
+
type: z.ZodOptional<z.ZodEnum<["public", "protected", "private", "personal"]>>;
|
|
414
423
|
joinPolicy: z.ZodDefault<z.ZodEnum<["invite_only", "open_to_guests"]>>;
|
|
415
424
|
inviteRole: z.ZodOptional<z.ZodEnum<["member", "guest"]>>;
|
|
416
425
|
autoClose: z.ZodOptional<z.ZodDiscriminatedUnion<"mode", [z.ZodObject<{
|
|
@@ -493,6 +502,7 @@ export declare const CreateRoomResponse: z.ZodObject<{
|
|
|
493
502
|
inviteLifetimeMs: number | null;
|
|
494
503
|
exportWindowMs: number;
|
|
495
504
|
connectTicketLifetimeMs: number;
|
|
505
|
+
type?: "public" | "protected" | "private" | "personal" | undefined;
|
|
496
506
|
maxFileBytes?: number | undefined;
|
|
497
507
|
autoClose?: {
|
|
498
508
|
mode: "off";
|
|
@@ -527,6 +537,7 @@ export declare const CreateRoomResponse: z.ZodObject<{
|
|
|
527
537
|
inviteLifetimeMs: number | null;
|
|
528
538
|
exportWindowMs: number;
|
|
529
539
|
connectTicketLifetimeMs: number;
|
|
540
|
+
type?: "public" | "protected" | "private" | "personal" | undefined;
|
|
530
541
|
maxFileBytes?: number | undefined;
|
|
531
542
|
autoClose?: {
|
|
532
543
|
mode: "off";
|
|
@@ -571,6 +582,7 @@ export declare const CreateRoomResponse: z.ZodObject<{
|
|
|
571
582
|
inviteLifetimeMs: number | null;
|
|
572
583
|
exportWindowMs: number;
|
|
573
584
|
connectTicketLifetimeMs: number;
|
|
585
|
+
type?: "public" | "protected" | "private" | "personal" | undefined;
|
|
574
586
|
maxFileBytes?: number | undefined;
|
|
575
587
|
autoClose?: {
|
|
576
588
|
mode: "off";
|
|
@@ -680,6 +692,7 @@ export declare const CreateRoomResponse: z.ZodObject<{
|
|
|
680
692
|
inviteLifetimeMs: number | null;
|
|
681
693
|
exportWindowMs: number;
|
|
682
694
|
connectTicketLifetimeMs: number;
|
|
695
|
+
type?: "public" | "protected" | "private" | "personal" | undefined;
|
|
683
696
|
maxFileBytes?: number | undefined;
|
|
684
697
|
autoClose?: {
|
|
685
698
|
mode: "off";
|
|
@@ -804,6 +817,7 @@ export declare const CreateRoomResponse: z.ZodObject<{
|
|
|
804
817
|
inviteLifetimeMs: number | null;
|
|
805
818
|
exportWindowMs: number;
|
|
806
819
|
connectTicketLifetimeMs: number;
|
|
820
|
+
type?: "public" | "protected" | "private" | "personal" | undefined;
|
|
807
821
|
maxFileBytes?: number | undefined;
|
|
808
822
|
autoClose?: {
|
|
809
823
|
mode: "off";
|
|
@@ -920,6 +934,7 @@ export declare const CreateRoomResponse: z.ZodObject<{
|
|
|
920
934
|
inviteLifetimeMs: number | null;
|
|
921
935
|
exportWindowMs: number;
|
|
922
936
|
connectTicketLifetimeMs: number;
|
|
937
|
+
type?: "public" | "protected" | "private" | "personal" | undefined;
|
|
923
938
|
maxFileBytes?: number | undefined;
|
|
924
939
|
autoClose?: {
|
|
925
940
|
mode: "off";
|
|
@@ -1356,6 +1371,7 @@ export declare const RedeemInviteResponse: z.ZodObject<{
|
|
|
1356
1371
|
acknowledgedRevision?: number | undefined;
|
|
1357
1372
|
}>, "many">;
|
|
1358
1373
|
policy: z.ZodObject<{
|
|
1374
|
+
type: z.ZodOptional<z.ZodEnum<["public", "protected", "private", "personal"]>>;
|
|
1359
1375
|
joinPolicy: z.ZodDefault<z.ZodEnum<["invite_only", "open_to_guests"]>>;
|
|
1360
1376
|
inviteRole: z.ZodOptional<z.ZodEnum<["member", "guest"]>>;
|
|
1361
1377
|
autoClose: z.ZodOptional<z.ZodDiscriminatedUnion<"mode", [z.ZodObject<{
|
|
@@ -1438,6 +1454,7 @@ export declare const RedeemInviteResponse: z.ZodObject<{
|
|
|
1438
1454
|
inviteLifetimeMs: number | null;
|
|
1439
1455
|
exportWindowMs: number;
|
|
1440
1456
|
connectTicketLifetimeMs: number;
|
|
1457
|
+
type?: "public" | "protected" | "private" | "personal" | undefined;
|
|
1441
1458
|
maxFileBytes?: number | undefined;
|
|
1442
1459
|
autoClose?: {
|
|
1443
1460
|
mode: "off";
|
|
@@ -1472,6 +1489,7 @@ export declare const RedeemInviteResponse: z.ZodObject<{
|
|
|
1472
1489
|
inviteLifetimeMs: number | null;
|
|
1473
1490
|
exportWindowMs: number;
|
|
1474
1491
|
connectTicketLifetimeMs: number;
|
|
1492
|
+
type?: "public" | "protected" | "private" | "personal" | undefined;
|
|
1475
1493
|
maxFileBytes?: number | undefined;
|
|
1476
1494
|
autoClose?: {
|
|
1477
1495
|
mode: "off";
|
|
@@ -1516,6 +1534,7 @@ export declare const RedeemInviteResponse: z.ZodObject<{
|
|
|
1516
1534
|
inviteLifetimeMs: number | null;
|
|
1517
1535
|
exportWindowMs: number;
|
|
1518
1536
|
connectTicketLifetimeMs: number;
|
|
1537
|
+
type?: "public" | "protected" | "private" | "personal" | undefined;
|
|
1519
1538
|
maxFileBytes?: number | undefined;
|
|
1520
1539
|
autoClose?: {
|
|
1521
1540
|
mode: "off";
|
|
@@ -1625,6 +1644,7 @@ export declare const RedeemInviteResponse: z.ZodObject<{
|
|
|
1625
1644
|
inviteLifetimeMs: number | null;
|
|
1626
1645
|
exportWindowMs: number;
|
|
1627
1646
|
connectTicketLifetimeMs: number;
|
|
1647
|
+
type?: "public" | "protected" | "private" | "personal" | undefined;
|
|
1628
1648
|
maxFileBytes?: number | undefined;
|
|
1629
1649
|
autoClose?: {
|
|
1630
1650
|
mode: "off";
|
|
@@ -1738,6 +1758,7 @@ export declare const RedeemInviteResponse: z.ZodObject<{
|
|
|
1738
1758
|
inviteLifetimeMs: number | null;
|
|
1739
1759
|
exportWindowMs: number;
|
|
1740
1760
|
connectTicketLifetimeMs: number;
|
|
1761
|
+
type?: "public" | "protected" | "private" | "personal" | undefined;
|
|
1741
1762
|
maxFileBytes?: number | undefined;
|
|
1742
1763
|
autoClose?: {
|
|
1743
1764
|
mode: "off";
|
|
@@ -1852,6 +1873,7 @@ export declare const RedeemInviteResponse: z.ZodObject<{
|
|
|
1852
1873
|
inviteLifetimeMs: number | null;
|
|
1853
1874
|
exportWindowMs: number;
|
|
1854
1875
|
connectTicketLifetimeMs: number;
|
|
1876
|
+
type?: "public" | "protected" | "private" | "personal" | undefined;
|
|
1855
1877
|
maxFileBytes?: number | undefined;
|
|
1856
1878
|
autoClose?: {
|
|
1857
1879
|
mode: "off";
|
|
@@ -2167,7 +2189,7 @@ export type LiveTransport = (typeof LIVE_TRANSPORTS)[number];
|
|
|
2167
2189
|
* Names a relay lists in `features`. A client checks for one before relying on it;
|
|
2168
2190
|
* a relay that does not describe itself is assumed to have whatever was usual before descriptions existed.
|
|
2169
2191
|
*/
|
|
2170
|
-
export declare const RELAY_FEATURES: readonly ["message-stages", "files", "local-join", "invite-probe", "create-token", "token-login", "receipt-watermark", "member-tokens", "directory"];
|
|
2192
|
+
export declare const RELAY_FEATURES: readonly ["message-stages", "files", "local-join", "invite-probe", "create-token", "token-login", "receipt-watermark", "member-tokens", "directory", "room-types"];
|
|
2171
2193
|
export type RelayFeature = (typeof RELAY_FEATURES)[number];
|
|
2172
2194
|
/**
|
|
2173
2195
|
* How a relay keeps plain receipts. `events`: one `message.received` event per message and reader, as
|
|
@@ -3374,6 +3396,30 @@ export declare const ReadEventsResponse: z.ZodObject<{
|
|
|
3374
3396
|
payload: {
|
|
3375
3397
|
localJoin: boolean;
|
|
3376
3398
|
};
|
|
3399
|
+
}>, z.ZodObject<{
|
|
3400
|
+
type: z.ZodLiteral<"room.type_changed">;
|
|
3401
|
+
payload: z.ZodObject<{
|
|
3402
|
+
type: z.ZodEnum<["public", "protected", "private", "personal"]>;
|
|
3403
|
+
previous: z.ZodEnum<["public", "protected", "private", "personal"]>;
|
|
3404
|
+
}, "strip", z.ZodTypeAny, {
|
|
3405
|
+
type: "public" | "protected" | "private" | "personal";
|
|
3406
|
+
previous: "public" | "protected" | "private" | "personal";
|
|
3407
|
+
}, {
|
|
3408
|
+
type: "public" | "protected" | "private" | "personal";
|
|
3409
|
+
previous: "public" | "protected" | "private" | "personal";
|
|
3410
|
+
}>;
|
|
3411
|
+
}, "strip", z.ZodTypeAny, {
|
|
3412
|
+
type: "room.type_changed";
|
|
3413
|
+
payload: {
|
|
3414
|
+
type: "public" | "protected" | "private" | "personal";
|
|
3415
|
+
previous: "public" | "protected" | "private" | "personal";
|
|
3416
|
+
};
|
|
3417
|
+
}, {
|
|
3418
|
+
type: "room.type_changed";
|
|
3419
|
+
payload: {
|
|
3420
|
+
type: "public" | "protected" | "private" | "personal";
|
|
3421
|
+
previous: "public" | "protected" | "private" | "personal";
|
|
3422
|
+
};
|
|
3377
3423
|
}>, z.ZodObject<{
|
|
3378
3424
|
type: z.ZodLiteral<"room.invitation_changed">;
|
|
3379
3425
|
payload: z.ZodObject<{
|
|
@@ -4052,6 +4098,12 @@ export declare const ReadEventsResponse: z.ZodObject<{
|
|
|
4052
4098
|
payload: {
|
|
4053
4099
|
localJoin: boolean;
|
|
4054
4100
|
};
|
|
4101
|
+
} | {
|
|
4102
|
+
type: "room.type_changed";
|
|
4103
|
+
payload: {
|
|
4104
|
+
type: "public" | "protected" | "private" | "personal";
|
|
4105
|
+
previous: "public" | "protected" | "private" | "personal";
|
|
4106
|
+
};
|
|
4055
4107
|
} | {
|
|
4056
4108
|
type: "room.invitation_changed";
|
|
4057
4109
|
payload: {
|
|
@@ -4353,6 +4405,12 @@ export declare const ReadEventsResponse: z.ZodObject<{
|
|
|
4353
4405
|
payload: {
|
|
4354
4406
|
localJoin: boolean;
|
|
4355
4407
|
};
|
|
4408
|
+
} | {
|
|
4409
|
+
type: "room.type_changed";
|
|
4410
|
+
payload: {
|
|
4411
|
+
type: "public" | "protected" | "private" | "personal";
|
|
4412
|
+
previous: "public" | "protected" | "private" | "personal";
|
|
4413
|
+
};
|
|
4356
4414
|
} | {
|
|
4357
4415
|
type: "room.invitation_changed";
|
|
4358
4416
|
payload: {
|
|
@@ -5503,6 +5561,30 @@ export declare const SendEventResponse: z.ZodObject<{
|
|
|
5503
5561
|
payload: {
|
|
5504
5562
|
localJoin: boolean;
|
|
5505
5563
|
};
|
|
5564
|
+
}>, z.ZodObject<{
|
|
5565
|
+
type: z.ZodLiteral<"room.type_changed">;
|
|
5566
|
+
payload: z.ZodObject<{
|
|
5567
|
+
type: z.ZodEnum<["public", "protected", "private", "personal"]>;
|
|
5568
|
+
previous: z.ZodEnum<["public", "protected", "private", "personal"]>;
|
|
5569
|
+
}, "strip", z.ZodTypeAny, {
|
|
5570
|
+
type: "public" | "protected" | "private" | "personal";
|
|
5571
|
+
previous: "public" | "protected" | "private" | "personal";
|
|
5572
|
+
}, {
|
|
5573
|
+
type: "public" | "protected" | "private" | "personal";
|
|
5574
|
+
previous: "public" | "protected" | "private" | "personal";
|
|
5575
|
+
}>;
|
|
5576
|
+
}, "strip", z.ZodTypeAny, {
|
|
5577
|
+
type: "room.type_changed";
|
|
5578
|
+
payload: {
|
|
5579
|
+
type: "public" | "protected" | "private" | "personal";
|
|
5580
|
+
previous: "public" | "protected" | "private" | "personal";
|
|
5581
|
+
};
|
|
5582
|
+
}, {
|
|
5583
|
+
type: "room.type_changed";
|
|
5584
|
+
payload: {
|
|
5585
|
+
type: "public" | "protected" | "private" | "personal";
|
|
5586
|
+
previous: "public" | "protected" | "private" | "personal";
|
|
5587
|
+
};
|
|
5506
5588
|
}>, z.ZodObject<{
|
|
5507
5589
|
type: z.ZodLiteral<"room.invitation_changed">;
|
|
5508
5590
|
payload: z.ZodObject<{
|
|
@@ -6162,6 +6244,12 @@ export declare const SendEventResponse: z.ZodObject<{
|
|
|
6162
6244
|
payload: {
|
|
6163
6245
|
localJoin: boolean;
|
|
6164
6246
|
};
|
|
6247
|
+
} | {
|
|
6248
|
+
type: "room.type_changed";
|
|
6249
|
+
payload: {
|
|
6250
|
+
type: "public" | "protected" | "private" | "personal";
|
|
6251
|
+
previous: "public" | "protected" | "private" | "personal";
|
|
6252
|
+
};
|
|
6165
6253
|
} | {
|
|
6166
6254
|
type: "room.invitation_changed";
|
|
6167
6255
|
payload: {
|
|
@@ -6454,6 +6542,12 @@ export declare const SendEventResponse: z.ZodObject<{
|
|
|
6454
6542
|
payload: {
|
|
6455
6543
|
localJoin: boolean;
|
|
6456
6544
|
};
|
|
6545
|
+
} | {
|
|
6546
|
+
type: "room.type_changed";
|
|
6547
|
+
payload: {
|
|
6548
|
+
type: "public" | "protected" | "private" | "personal";
|
|
6549
|
+
previous: "public" | "protected" | "private" | "personal";
|
|
6550
|
+
};
|
|
6457
6551
|
} | {
|
|
6458
6552
|
type: "room.invitation_changed";
|
|
6459
6553
|
payload: {
|
|
@@ -6772,22 +6866,34 @@ export declare const SetLocalJoinRequest: z.ZodObject<{
|
|
|
6772
6866
|
localJoin: boolean;
|
|
6773
6867
|
}>;
|
|
6774
6868
|
export type SetLocalJoinRequest = z.infer<typeof SetLocalJoinRequest>;
|
|
6869
|
+
export declare const SetRoomTypeRequest: z.ZodObject<{
|
|
6870
|
+
type: z.ZodEnum<["public", "protected", "private", "personal"]>;
|
|
6871
|
+
}, "strip", z.ZodTypeAny, {
|
|
6872
|
+
type: "public" | "protected" | "private" | "personal";
|
|
6873
|
+
}, {
|
|
6874
|
+
type: "public" | "protected" | "private" | "personal";
|
|
6875
|
+
}>;
|
|
6876
|
+
export type SetRoomTypeRequest = z.infer<typeof SetRoomTypeRequest>;
|
|
6775
6877
|
/** A room that devices on the relay's network may join by name. Only what is needed to choose one. */
|
|
6878
|
+
/** `type` says what joining by name gives: public, a member; protected, a visitor. Absent from older relays, which list only public rooms. */
|
|
6776
6879
|
export declare const LocalRoom: z.ZodObject<{
|
|
6777
6880
|
roomId: z.ZodString;
|
|
6778
6881
|
name: z.ZodString;
|
|
6779
6882
|
createdAt: z.ZodNumber;
|
|
6780
6883
|
participantCount: z.ZodNumber;
|
|
6884
|
+
type: z.ZodOptional<z.ZodEnum<["public", "protected"]>>;
|
|
6781
6885
|
}, "strip", z.ZodTypeAny, {
|
|
6782
6886
|
name: string;
|
|
6783
6887
|
roomId: string;
|
|
6784
6888
|
createdAt: number;
|
|
6785
6889
|
participantCount: number;
|
|
6890
|
+
type?: "public" | "protected" | undefined;
|
|
6786
6891
|
}, {
|
|
6787
6892
|
name: string;
|
|
6788
6893
|
roomId: string;
|
|
6789
6894
|
createdAt: number;
|
|
6790
6895
|
participantCount: number;
|
|
6896
|
+
type?: "public" | "protected" | undefined;
|
|
6791
6897
|
}>;
|
|
6792
6898
|
export type LocalRoom = z.infer<typeof LocalRoom>;
|
|
6793
6899
|
export declare const LocalRoomsResponse: z.ZodObject<{
|
|
@@ -6796,16 +6902,19 @@ export declare const LocalRoomsResponse: z.ZodObject<{
|
|
|
6796
6902
|
name: z.ZodString;
|
|
6797
6903
|
createdAt: z.ZodNumber;
|
|
6798
6904
|
participantCount: z.ZodNumber;
|
|
6905
|
+
type: z.ZodOptional<z.ZodEnum<["public", "protected"]>>;
|
|
6799
6906
|
}, "strip", z.ZodTypeAny, {
|
|
6800
6907
|
name: string;
|
|
6801
6908
|
roomId: string;
|
|
6802
6909
|
createdAt: number;
|
|
6803
6910
|
participantCount: number;
|
|
6911
|
+
type?: "public" | "protected" | undefined;
|
|
6804
6912
|
}, {
|
|
6805
6913
|
name: string;
|
|
6806
6914
|
roomId: string;
|
|
6807
6915
|
createdAt: number;
|
|
6808
6916
|
participantCount: number;
|
|
6917
|
+
type?: "public" | "protected" | undefined;
|
|
6809
6918
|
}>, "many">;
|
|
6810
6919
|
}, "strip", z.ZodTypeAny, {
|
|
6811
6920
|
rooms: {
|
|
@@ -6813,6 +6922,7 @@ export declare const LocalRoomsResponse: z.ZodObject<{
|
|
|
6813
6922
|
roomId: string;
|
|
6814
6923
|
createdAt: number;
|
|
6815
6924
|
participantCount: number;
|
|
6925
|
+
type?: "public" | "protected" | undefined;
|
|
6816
6926
|
}[];
|
|
6817
6927
|
}, {
|
|
6818
6928
|
rooms: {
|
|
@@ -6820,6 +6930,7 @@ export declare const LocalRoomsResponse: z.ZodObject<{
|
|
|
6820
6930
|
roomId: string;
|
|
6821
6931
|
createdAt: number;
|
|
6822
6932
|
participantCount: number;
|
|
6933
|
+
type?: "public" | "protected" | undefined;
|
|
6823
6934
|
}[];
|
|
6824
6935
|
}>;
|
|
6825
6936
|
export type LocalRoomsResponse = z.infer<typeof LocalRoomsResponse>;
|
|
@@ -7890,6 +8001,30 @@ export declare const ControlResponse: z.ZodObject<{
|
|
|
7890
8001
|
payload: {
|
|
7891
8002
|
localJoin: boolean;
|
|
7892
8003
|
};
|
|
8004
|
+
}>, z.ZodObject<{
|
|
8005
|
+
type: z.ZodLiteral<"room.type_changed">;
|
|
8006
|
+
payload: z.ZodObject<{
|
|
8007
|
+
type: z.ZodEnum<["public", "protected", "private", "personal"]>;
|
|
8008
|
+
previous: z.ZodEnum<["public", "protected", "private", "personal"]>;
|
|
8009
|
+
}, "strip", z.ZodTypeAny, {
|
|
8010
|
+
type: "public" | "protected" | "private" | "personal";
|
|
8011
|
+
previous: "public" | "protected" | "private" | "personal";
|
|
8012
|
+
}, {
|
|
8013
|
+
type: "public" | "protected" | "private" | "personal";
|
|
8014
|
+
previous: "public" | "protected" | "private" | "personal";
|
|
8015
|
+
}>;
|
|
8016
|
+
}, "strip", z.ZodTypeAny, {
|
|
8017
|
+
type: "room.type_changed";
|
|
8018
|
+
payload: {
|
|
8019
|
+
type: "public" | "protected" | "private" | "personal";
|
|
8020
|
+
previous: "public" | "protected" | "private" | "personal";
|
|
8021
|
+
};
|
|
8022
|
+
}, {
|
|
8023
|
+
type: "room.type_changed";
|
|
8024
|
+
payload: {
|
|
8025
|
+
type: "public" | "protected" | "private" | "personal";
|
|
8026
|
+
previous: "public" | "protected" | "private" | "personal";
|
|
8027
|
+
};
|
|
7893
8028
|
}>, z.ZodObject<{
|
|
7894
8029
|
type: z.ZodLiteral<"room.invitation_changed">;
|
|
7895
8030
|
payload: z.ZodObject<{
|
|
@@ -8547,6 +8682,12 @@ export declare const ControlResponse: z.ZodObject<{
|
|
|
8547
8682
|
payload: {
|
|
8548
8683
|
localJoin: boolean;
|
|
8549
8684
|
};
|
|
8685
|
+
} | {
|
|
8686
|
+
type: "room.type_changed";
|
|
8687
|
+
payload: {
|
|
8688
|
+
type: "public" | "protected" | "private" | "personal";
|
|
8689
|
+
previous: "public" | "protected" | "private" | "personal";
|
|
8690
|
+
};
|
|
8550
8691
|
} | {
|
|
8551
8692
|
type: "room.invitation_changed";
|
|
8552
8693
|
payload: {
|
|
@@ -8839,6 +8980,12 @@ export declare const ControlResponse: z.ZodObject<{
|
|
|
8839
8980
|
payload: {
|
|
8840
8981
|
localJoin: boolean;
|
|
8841
8982
|
};
|
|
8983
|
+
} | {
|
|
8984
|
+
type: "room.type_changed";
|
|
8985
|
+
payload: {
|
|
8986
|
+
type: "public" | "protected" | "private" | "personal";
|
|
8987
|
+
previous: "public" | "protected" | "private" | "personal";
|
|
8988
|
+
};
|
|
8842
8989
|
} | {
|
|
8843
8990
|
type: "room.invitation_changed";
|
|
8844
8991
|
payload: {
|
|
@@ -9121,6 +9268,7 @@ export declare const ExportResponse: z.ZodObject<{
|
|
|
9121
9268
|
acknowledgedRevision?: number | undefined;
|
|
9122
9269
|
}>, "many">;
|
|
9123
9270
|
policy: z.ZodObject<{
|
|
9271
|
+
type: z.ZodOptional<z.ZodEnum<["public", "protected", "private", "personal"]>>;
|
|
9124
9272
|
joinPolicy: z.ZodDefault<z.ZodEnum<["invite_only", "open_to_guests"]>>;
|
|
9125
9273
|
inviteRole: z.ZodOptional<z.ZodEnum<["member", "guest"]>>;
|
|
9126
9274
|
autoClose: z.ZodOptional<z.ZodDiscriminatedUnion<"mode", [z.ZodObject<{
|
|
@@ -9203,6 +9351,7 @@ export declare const ExportResponse: z.ZodObject<{
|
|
|
9203
9351
|
inviteLifetimeMs: number | null;
|
|
9204
9352
|
exportWindowMs: number;
|
|
9205
9353
|
connectTicketLifetimeMs: number;
|
|
9354
|
+
type?: "public" | "protected" | "private" | "personal" | undefined;
|
|
9206
9355
|
maxFileBytes?: number | undefined;
|
|
9207
9356
|
autoClose?: {
|
|
9208
9357
|
mode: "off";
|
|
@@ -9237,6 +9386,7 @@ export declare const ExportResponse: z.ZodObject<{
|
|
|
9237
9386
|
inviteLifetimeMs: number | null;
|
|
9238
9387
|
exportWindowMs: number;
|
|
9239
9388
|
connectTicketLifetimeMs: number;
|
|
9389
|
+
type?: "public" | "protected" | "private" | "personal" | undefined;
|
|
9240
9390
|
maxFileBytes?: number | undefined;
|
|
9241
9391
|
autoClose?: {
|
|
9242
9392
|
mode: "off";
|
|
@@ -9281,6 +9431,7 @@ export declare const ExportResponse: z.ZodObject<{
|
|
|
9281
9431
|
inviteLifetimeMs: number | null;
|
|
9282
9432
|
exportWindowMs: number;
|
|
9283
9433
|
connectTicketLifetimeMs: number;
|
|
9434
|
+
type?: "public" | "protected" | "private" | "personal" | undefined;
|
|
9284
9435
|
maxFileBytes?: number | undefined;
|
|
9285
9436
|
autoClose?: {
|
|
9286
9437
|
mode: "off";
|
|
@@ -9390,6 +9541,7 @@ export declare const ExportResponse: z.ZodObject<{
|
|
|
9390
9541
|
inviteLifetimeMs: number | null;
|
|
9391
9542
|
exportWindowMs: number;
|
|
9392
9543
|
connectTicketLifetimeMs: number;
|
|
9544
|
+
type?: "public" | "protected" | "private" | "personal" | undefined;
|
|
9393
9545
|
maxFileBytes?: number | undefined;
|
|
9394
9546
|
autoClose?: {
|
|
9395
9547
|
mode: "off";
|
|
@@ -10536,6 +10688,30 @@ export declare const ExportResponse: z.ZodObject<{
|
|
|
10536
10688
|
payload: {
|
|
10537
10689
|
localJoin: boolean;
|
|
10538
10690
|
};
|
|
10691
|
+
}>, z.ZodObject<{
|
|
10692
|
+
type: z.ZodLiteral<"room.type_changed">;
|
|
10693
|
+
payload: z.ZodObject<{
|
|
10694
|
+
type: z.ZodEnum<["public", "protected", "private", "personal"]>;
|
|
10695
|
+
previous: z.ZodEnum<["public", "protected", "private", "personal"]>;
|
|
10696
|
+
}, "strip", z.ZodTypeAny, {
|
|
10697
|
+
type: "public" | "protected" | "private" | "personal";
|
|
10698
|
+
previous: "public" | "protected" | "private" | "personal";
|
|
10699
|
+
}, {
|
|
10700
|
+
type: "public" | "protected" | "private" | "personal";
|
|
10701
|
+
previous: "public" | "protected" | "private" | "personal";
|
|
10702
|
+
}>;
|
|
10703
|
+
}, "strip", z.ZodTypeAny, {
|
|
10704
|
+
type: "room.type_changed";
|
|
10705
|
+
payload: {
|
|
10706
|
+
type: "public" | "protected" | "private" | "personal";
|
|
10707
|
+
previous: "public" | "protected" | "private" | "personal";
|
|
10708
|
+
};
|
|
10709
|
+
}, {
|
|
10710
|
+
type: "room.type_changed";
|
|
10711
|
+
payload: {
|
|
10712
|
+
type: "public" | "protected" | "private" | "personal";
|
|
10713
|
+
previous: "public" | "protected" | "private" | "personal";
|
|
10714
|
+
};
|
|
10539
10715
|
}>, z.ZodObject<{
|
|
10540
10716
|
type: z.ZodLiteral<"room.invitation_changed">;
|
|
10541
10717
|
payload: z.ZodObject<{
|
|
@@ -11249,6 +11425,7 @@ export declare const ExportResponse: z.ZodObject<{
|
|
|
11249
11425
|
inviteLifetimeMs: number | null;
|
|
11250
11426
|
exportWindowMs: number;
|
|
11251
11427
|
connectTicketLifetimeMs: number;
|
|
11428
|
+
type?: "public" | "protected" | "private" | "personal" | undefined;
|
|
11252
11429
|
maxFileBytes?: number | undefined;
|
|
11253
11430
|
autoClose?: {
|
|
11254
11431
|
mode: "off";
|
|
@@ -11548,6 +11725,12 @@ export declare const ExportResponse: z.ZodObject<{
|
|
|
11548
11725
|
payload: {
|
|
11549
11726
|
localJoin: boolean;
|
|
11550
11727
|
};
|
|
11728
|
+
} | {
|
|
11729
|
+
type: "room.type_changed";
|
|
11730
|
+
payload: {
|
|
11731
|
+
type: "public" | "protected" | "private" | "personal";
|
|
11732
|
+
previous: "public" | "protected" | "private" | "personal";
|
|
11733
|
+
};
|
|
11551
11734
|
} | {
|
|
11552
11735
|
type: "room.invitation_changed";
|
|
11553
11736
|
payload: {
|
|
@@ -11697,6 +11880,7 @@ export declare const ExportResponse: z.ZodObject<{
|
|
|
11697
11880
|
inviteLifetimeMs: number | null;
|
|
11698
11881
|
exportWindowMs: number;
|
|
11699
11882
|
connectTicketLifetimeMs: number;
|
|
11883
|
+
type?: "public" | "protected" | "private" | "personal" | undefined;
|
|
11700
11884
|
maxFileBytes?: number | undefined;
|
|
11701
11885
|
autoClose?: {
|
|
11702
11886
|
mode: "off";
|
|
@@ -11997,6 +12181,12 @@ export declare const ExportResponse: z.ZodObject<{
|
|
|
11997
12181
|
payload: {
|
|
11998
12182
|
localJoin: boolean;
|
|
11999
12183
|
};
|
|
12184
|
+
} | {
|
|
12185
|
+
type: "room.type_changed";
|
|
12186
|
+
payload: {
|
|
12187
|
+
type: "public" | "protected" | "private" | "personal";
|
|
12188
|
+
previous: "public" | "protected" | "private" | "personal";
|
|
12189
|
+
};
|
|
12000
12190
|
} | {
|
|
12001
12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C;AACH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC"}
|
package/dist/http.js
CHANGED
|
@@ -9,6 +9,7 @@ import { ERROR_CODES } from './errors.js';
|
|
|
9
9
|
import { RoomFile } from './files.js';
|
|
10
10
|
import { AutoClosePolicySchema } from './auto-close.js';
|
|
11
11
|
import { PermissionChange } from './permissions.js';
|
|
12
|
+
import { RoomType } from './room-types.js';
|
|
12
13
|
export const ROUTES = {
|
|
13
14
|
createRoom: { method: 'POST', path: '/v1/rooms' },
|
|
14
15
|
redeemInvite: { method: 'POST', path: '/v1/invites/redeem' },
|
|
@@ -43,6 +44,7 @@ export const ROUTES = {
|
|
|
43
44
|
setRoomPermissions: { method: 'POST', path: '/v1/rooms/:roomId/permissions' },
|
|
44
45
|
setParticipantPermissions: { method: 'POST', path: '/v1/rooms/:roomId/participants/:participantId/permissions' },
|
|
45
46
|
setAccess: { method: 'POST', path: '/v1/rooms/:roomId/access' },
|
|
47
|
+
setRoomType: { method: 'POST', path: '/v1/rooms/:roomId/type' },
|
|
46
48
|
joinAsGuest: { method: 'POST', path: '/v1/rooms/:roomId/guests' },
|
|
47
49
|
closeRoom: { method: 'POST', path: '/v1/rooms/:roomId/close' },
|
|
48
50
|
exportRoom: { method: 'GET', path: '/v1/rooms/:roomId/export' },
|
|
@@ -61,7 +63,9 @@ export const CreateRoomRequest = z.intersection(identity, z.object({
|
|
|
61
63
|
expiresAt: z.number().int().nonnegative().nullable().optional(),
|
|
62
64
|
/** Client-generated so a lost response never strands a credential the caller does not hold. */
|
|
63
65
|
controllerCredential: z.string().min(32).max(256),
|
|
64
|
-
participantCredential: z.string().min(32).max(256)
|
|
66
|
+
participantCredential: z.string().min(32).max(256),
|
|
67
|
+
/** Absent creates a room without a type, as relays did before types. */
|
|
68
|
+
type: RoomType.optional()
|
|
65
69
|
}));
|
|
66
70
|
export const CreateRoomResponse = z.object({
|
|
67
71
|
room: RoomSnapshot,
|
|
@@ -127,7 +131,7 @@ export const LIVE_TRANSPORTS = ['poll', 'long-poll', 'websocket'];
|
|
|
127
131
|
* Names a relay lists in `features`. A client checks for one before relying on it;
|
|
128
132
|
* a relay that does not describe itself is assumed to have whatever was usual before descriptions existed.
|
|
129
133
|
*/
|
|
130
|
-
export const RELAY_FEATURES = ['message-stages', 'files', 'local-join', 'invite-probe', 'create-token', 'token-login', 'receipt-watermark', 'member-tokens', 'directory'];
|
|
134
|
+
export const RELAY_FEATURES = ['message-stages', 'files', 'local-join', 'invite-probe', 'create-token', 'token-login', 'receipt-watermark', 'member-tokens', 'directory', 'room-types'];
|
|
131
135
|
/**
|
|
132
136
|
* How a relay keeps plain receipts. `events`: one `message.received` event per message and reader, as
|
|
133
137
|
* before watermarks. `both`: those events, and a watermark per participant beside them, for a team
|
|
@@ -196,8 +200,10 @@ export const JoinAsGuestRequest = z.intersection(identity, z.object({ participan
|
|
|
196
200
|
/** Joining a room open to the local network: the same claim as a guest, but admitted as a member. */
|
|
197
201
|
export const LocalJoinRequest = JoinAsGuestRequest;
|
|
198
202
|
export const SetLocalJoinRequest = z.object({ localJoin: z.boolean() });
|
|
203
|
+
export const SetRoomTypeRequest = z.object({ type: RoomType });
|
|
199
204
|
/** A room that devices on the relay's network may join by name. Only what is needed to choose one. */
|
|
200
|
-
|
|
205
|
+
/** `type` says what joining by name gives: public, a member; protected, a visitor. Absent from older relays, which list only public rooms. */
|
|
206
|
+
export const LocalRoom = z.object({ roomId: RoomId, name: z.string(), createdAt: z.number().int().nonnegative(), participantCount: z.number().int().nonnegative(), type: z.enum(['public', 'protected']).optional() });
|
|
201
207
|
export const LocalRoomsResponse = z.object({ rooms: z.array(LocalRoom) });
|
|
202
208
|
export const ControlRequest = z.object({ targetParticipantId: ParticipantId, paused: z.boolean(), interrupt: z.boolean().optional() });
|
|
203
209
|
export const ControlResponse = z.object({ revision: z.number().int().min(1), event: RoomEvent });
|