@pairlobby/protocol 0.25.0 → 0.28.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/directory.d.ts +380 -0
- package/dist/directory.d.ts.map +1 -0
- package/dist/directory.js +89 -0
- package/dist/directory.js.map +1 -0
- package/dist/events.d.ts +8 -8
- package/dist/http.d.ts +209 -53
- package/dist/http.d.ts.map +1 -1
- package/dist/http.js +1 -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/names.d.ts +2 -2
- package/dist/records.d.ts +158 -8
- package/dist/records.d.ts.map +1 -1
- package/dist/records.js +21 -4
- 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 +128 -24
- package/dist/wire.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/http.d.ts
CHANGED
|
@@ -184,7 +184,7 @@ export declare const CreateRoomRequest: z.ZodIntersection<z.ZodObject<{
|
|
|
184
184
|
runtime?: string | undefined;
|
|
185
185
|
runtimeVersion?: string | undefined;
|
|
186
186
|
} | undefined;
|
|
187
|
-
nameSource?: "
|
|
187
|
+
nameSource?: "room" | "profile" | undefined;
|
|
188
188
|
sessionId?: string | undefined;
|
|
189
189
|
}, {
|
|
190
190
|
displayName: string;
|
|
@@ -196,7 +196,7 @@ export declare const CreateRoomRequest: z.ZodIntersection<z.ZodObject<{
|
|
|
196
196
|
runtime?: string | undefined;
|
|
197
197
|
runtimeVersion?: string | undefined;
|
|
198
198
|
} | undefined;
|
|
199
|
-
nameSource?: "
|
|
199
|
+
nameSource?: "room" | "profile" | undefined;
|
|
200
200
|
sessionId?: string | undefined;
|
|
201
201
|
}>, z.ZodObject<{
|
|
202
202
|
name: z.ZodString;
|
|
@@ -315,6 +315,22 @@ export declare const CreateRoomResponse: z.ZodObject<{
|
|
|
315
315
|
acknowledgedRevision: z.ZodOptional<z.ZodNumber>;
|
|
316
316
|
interruptRequested: z.ZodOptional<z.ZodBoolean>;
|
|
317
317
|
member: z.ZodOptional<z.ZodString>;
|
|
318
|
+
origin: z.ZodOptional<z.ZodObject<{
|
|
319
|
+
directory: z.ZodLiteral<true>;
|
|
320
|
+
handle: z.ZodString;
|
|
321
|
+
listingId: z.ZodString;
|
|
322
|
+
contact: z.ZodEnum<["questions", "tasks"]>;
|
|
323
|
+
}, "strip", z.ZodTypeAny, {
|
|
324
|
+
handle: string;
|
|
325
|
+
directory: true;
|
|
326
|
+
listingId: string;
|
|
327
|
+
contact: "questions" | "tasks";
|
|
328
|
+
}, {
|
|
329
|
+
handle: string;
|
|
330
|
+
directory: true;
|
|
331
|
+
listingId: string;
|
|
332
|
+
contact: "questions" | "tasks";
|
|
333
|
+
}>>;
|
|
318
334
|
}, "strip", z.ZodTypeAny, {
|
|
319
335
|
participantId: string;
|
|
320
336
|
displayName: string;
|
|
@@ -345,7 +361,13 @@ export declare const CreateRoomResponse: z.ZodObject<{
|
|
|
345
361
|
pause?: boolean | undefined;
|
|
346
362
|
turns?: boolean | undefined;
|
|
347
363
|
} | undefined;
|
|
348
|
-
nameSource?: "
|
|
364
|
+
nameSource?: "room" | "profile" | undefined;
|
|
365
|
+
origin?: {
|
|
366
|
+
handle: string;
|
|
367
|
+
directory: true;
|
|
368
|
+
listingId: string;
|
|
369
|
+
contact: "questions" | "tasks";
|
|
370
|
+
} | undefined;
|
|
349
371
|
interruptRequested?: boolean | undefined;
|
|
350
372
|
acknowledgedRevision?: number | undefined;
|
|
351
373
|
}, {
|
|
@@ -378,7 +400,13 @@ export declare const CreateRoomResponse: z.ZodObject<{
|
|
|
378
400
|
pause?: boolean | undefined;
|
|
379
401
|
turns?: boolean | undefined;
|
|
380
402
|
} | undefined;
|
|
381
|
-
nameSource?: "
|
|
403
|
+
nameSource?: "room" | "profile" | undefined;
|
|
404
|
+
origin?: {
|
|
405
|
+
handle: string;
|
|
406
|
+
directory: true;
|
|
407
|
+
listingId: string;
|
|
408
|
+
contact: "questions" | "tasks";
|
|
409
|
+
} | undefined;
|
|
382
410
|
interruptRequested?: boolean | undefined;
|
|
383
411
|
acknowledgedRevision?: number | undefined;
|
|
384
412
|
}>, "many">;
|
|
@@ -602,7 +630,13 @@ export declare const CreateRoomResponse: z.ZodObject<{
|
|
|
602
630
|
pause?: boolean | undefined;
|
|
603
631
|
turns?: boolean | undefined;
|
|
604
632
|
} | undefined;
|
|
605
|
-
nameSource?: "
|
|
633
|
+
nameSource?: "room" | "profile" | undefined;
|
|
634
|
+
origin?: {
|
|
635
|
+
handle: string;
|
|
636
|
+
directory: true;
|
|
637
|
+
listingId: string;
|
|
638
|
+
contact: "questions" | "tasks";
|
|
639
|
+
} | undefined;
|
|
606
640
|
interruptRequested?: boolean | undefined;
|
|
607
641
|
acknowledgedRevision?: number | undefined;
|
|
608
642
|
}[];
|
|
@@ -706,7 +740,13 @@ export declare const CreateRoomResponse: z.ZodObject<{
|
|
|
706
740
|
pause?: boolean | undefined;
|
|
707
741
|
turns?: boolean | undefined;
|
|
708
742
|
} | undefined;
|
|
709
|
-
nameSource?: "
|
|
743
|
+
nameSource?: "room" | "profile" | undefined;
|
|
744
|
+
origin?: {
|
|
745
|
+
handle: string;
|
|
746
|
+
directory: true;
|
|
747
|
+
listingId: string;
|
|
748
|
+
contact: "questions" | "tasks";
|
|
749
|
+
} | undefined;
|
|
710
750
|
interruptRequested?: boolean | undefined;
|
|
711
751
|
acknowledgedRevision?: number | undefined;
|
|
712
752
|
}[];
|
|
@@ -823,7 +863,13 @@ export declare const CreateRoomResponse: z.ZodObject<{
|
|
|
823
863
|
pause?: boolean | undefined;
|
|
824
864
|
turns?: boolean | undefined;
|
|
825
865
|
} | undefined;
|
|
826
|
-
nameSource?: "
|
|
866
|
+
nameSource?: "room" | "profile" | undefined;
|
|
867
|
+
origin?: {
|
|
868
|
+
handle: string;
|
|
869
|
+
directory: true;
|
|
870
|
+
listingId: string;
|
|
871
|
+
contact: "questions" | "tasks";
|
|
872
|
+
} | undefined;
|
|
827
873
|
interruptRequested?: boolean | undefined;
|
|
828
874
|
acknowledgedRevision?: number | undefined;
|
|
829
875
|
}[];
|
|
@@ -934,7 +980,13 @@ export declare const CreateRoomResponse: z.ZodObject<{
|
|
|
934
980
|
pause?: boolean | undefined;
|
|
935
981
|
turns?: boolean | undefined;
|
|
936
982
|
} | undefined;
|
|
937
|
-
nameSource?: "
|
|
983
|
+
nameSource?: "room" | "profile" | undefined;
|
|
984
|
+
origin?: {
|
|
985
|
+
handle: string;
|
|
986
|
+
directory: true;
|
|
987
|
+
listingId: string;
|
|
988
|
+
contact: "questions" | "tasks";
|
|
989
|
+
} | undefined;
|
|
938
990
|
interruptRequested?: boolean | undefined;
|
|
939
991
|
acknowledgedRevision?: number | undefined;
|
|
940
992
|
}[];
|
|
@@ -1004,7 +1056,7 @@ export declare const RedeemInviteRequest: z.ZodIntersection<z.ZodObject<{
|
|
|
1004
1056
|
runtime?: string | undefined;
|
|
1005
1057
|
runtimeVersion?: string | undefined;
|
|
1006
1058
|
} | undefined;
|
|
1007
|
-
nameSource?: "
|
|
1059
|
+
nameSource?: "room" | "profile" | undefined;
|
|
1008
1060
|
sessionId?: string | undefined;
|
|
1009
1061
|
}, {
|
|
1010
1062
|
displayName: string;
|
|
@@ -1016,7 +1068,7 @@ export declare const RedeemInviteRequest: z.ZodIntersection<z.ZodObject<{
|
|
|
1016
1068
|
runtime?: string | undefined;
|
|
1017
1069
|
runtimeVersion?: string | undefined;
|
|
1018
1070
|
} | undefined;
|
|
1019
|
-
nameSource?: "
|
|
1071
|
+
nameSource?: "room" | "profile" | undefined;
|
|
1020
1072
|
sessionId?: string | undefined;
|
|
1021
1073
|
}>, z.ZodObject<{
|
|
1022
1074
|
code: z.ZodString;
|
|
@@ -1078,7 +1130,7 @@ export declare const AccountJoinRequest: z.ZodIntersection<z.ZodObject<{
|
|
|
1078
1130
|
runtime?: string | undefined;
|
|
1079
1131
|
runtimeVersion?: string | undefined;
|
|
1080
1132
|
} | undefined;
|
|
1081
|
-
nameSource?: "
|
|
1133
|
+
nameSource?: "room" | "profile" | undefined;
|
|
1082
1134
|
sessionId?: string | undefined;
|
|
1083
1135
|
}, {
|
|
1084
1136
|
displayName: string;
|
|
@@ -1090,7 +1142,7 @@ export declare const AccountJoinRequest: z.ZodIntersection<z.ZodObject<{
|
|
|
1090
1142
|
runtime?: string | undefined;
|
|
1091
1143
|
runtimeVersion?: string | undefined;
|
|
1092
1144
|
} | undefined;
|
|
1093
|
-
nameSource?: "
|
|
1145
|
+
nameSource?: "room" | "profile" | undefined;
|
|
1094
1146
|
sessionId?: string | undefined;
|
|
1095
1147
|
}>, z.ZodObject<{
|
|
1096
1148
|
/** Stable across retries of the same join, so a lost response returns the same membership. */
|
|
@@ -1208,6 +1260,22 @@ export declare const RedeemInviteResponse: z.ZodObject<{
|
|
|
1208
1260
|
acknowledgedRevision: z.ZodOptional<z.ZodNumber>;
|
|
1209
1261
|
interruptRequested: z.ZodOptional<z.ZodBoolean>;
|
|
1210
1262
|
member: z.ZodOptional<z.ZodString>;
|
|
1263
|
+
origin: z.ZodOptional<z.ZodObject<{
|
|
1264
|
+
directory: z.ZodLiteral<true>;
|
|
1265
|
+
handle: z.ZodString;
|
|
1266
|
+
listingId: z.ZodString;
|
|
1267
|
+
contact: z.ZodEnum<["questions", "tasks"]>;
|
|
1268
|
+
}, "strip", z.ZodTypeAny, {
|
|
1269
|
+
handle: string;
|
|
1270
|
+
directory: true;
|
|
1271
|
+
listingId: string;
|
|
1272
|
+
contact: "questions" | "tasks";
|
|
1273
|
+
}, {
|
|
1274
|
+
handle: string;
|
|
1275
|
+
directory: true;
|
|
1276
|
+
listingId: string;
|
|
1277
|
+
contact: "questions" | "tasks";
|
|
1278
|
+
}>>;
|
|
1211
1279
|
}, "strip", z.ZodTypeAny, {
|
|
1212
1280
|
participantId: string;
|
|
1213
1281
|
displayName: string;
|
|
@@ -1238,7 +1306,13 @@ export declare const RedeemInviteResponse: z.ZodObject<{
|
|
|
1238
1306
|
pause?: boolean | undefined;
|
|
1239
1307
|
turns?: boolean | undefined;
|
|
1240
1308
|
} | undefined;
|
|
1241
|
-
nameSource?: "
|
|
1309
|
+
nameSource?: "room" | "profile" | undefined;
|
|
1310
|
+
origin?: {
|
|
1311
|
+
handle: string;
|
|
1312
|
+
directory: true;
|
|
1313
|
+
listingId: string;
|
|
1314
|
+
contact: "questions" | "tasks";
|
|
1315
|
+
} | undefined;
|
|
1242
1316
|
interruptRequested?: boolean | undefined;
|
|
1243
1317
|
acknowledgedRevision?: number | undefined;
|
|
1244
1318
|
}, {
|
|
@@ -1271,7 +1345,13 @@ export declare const RedeemInviteResponse: z.ZodObject<{
|
|
|
1271
1345
|
pause?: boolean | undefined;
|
|
1272
1346
|
turns?: boolean | undefined;
|
|
1273
1347
|
} | undefined;
|
|
1274
|
-
nameSource?: "
|
|
1348
|
+
nameSource?: "room" | "profile" | undefined;
|
|
1349
|
+
origin?: {
|
|
1350
|
+
handle: string;
|
|
1351
|
+
directory: true;
|
|
1352
|
+
listingId: string;
|
|
1353
|
+
contact: "questions" | "tasks";
|
|
1354
|
+
} | undefined;
|
|
1275
1355
|
interruptRequested?: boolean | undefined;
|
|
1276
1356
|
acknowledgedRevision?: number | undefined;
|
|
1277
1357
|
}>, "many">;
|
|
@@ -1495,7 +1575,13 @@ export declare const RedeemInviteResponse: z.ZodObject<{
|
|
|
1495
1575
|
pause?: boolean | undefined;
|
|
1496
1576
|
turns?: boolean | undefined;
|
|
1497
1577
|
} | undefined;
|
|
1498
|
-
nameSource?: "
|
|
1578
|
+
nameSource?: "room" | "profile" | undefined;
|
|
1579
|
+
origin?: {
|
|
1580
|
+
handle: string;
|
|
1581
|
+
directory: true;
|
|
1582
|
+
listingId: string;
|
|
1583
|
+
contact: "questions" | "tasks";
|
|
1584
|
+
} | undefined;
|
|
1499
1585
|
interruptRequested?: boolean | undefined;
|
|
1500
1586
|
acknowledgedRevision?: number | undefined;
|
|
1501
1587
|
}[];
|
|
@@ -1599,7 +1685,13 @@ export declare const RedeemInviteResponse: z.ZodObject<{
|
|
|
1599
1685
|
pause?: boolean | undefined;
|
|
1600
1686
|
turns?: boolean | undefined;
|
|
1601
1687
|
} | undefined;
|
|
1602
|
-
nameSource?: "
|
|
1688
|
+
nameSource?: "room" | "profile" | undefined;
|
|
1689
|
+
origin?: {
|
|
1690
|
+
handle: string;
|
|
1691
|
+
directory: true;
|
|
1692
|
+
listingId: string;
|
|
1693
|
+
contact: "questions" | "tasks";
|
|
1694
|
+
} | undefined;
|
|
1603
1695
|
interruptRequested?: boolean | undefined;
|
|
1604
1696
|
acknowledgedRevision?: number | undefined;
|
|
1605
1697
|
}[];
|
|
@@ -1705,7 +1797,13 @@ export declare const RedeemInviteResponse: z.ZodObject<{
|
|
|
1705
1797
|
pause?: boolean | undefined;
|
|
1706
1798
|
turns?: boolean | undefined;
|
|
1707
1799
|
} | undefined;
|
|
1708
|
-
nameSource?: "
|
|
1800
|
+
nameSource?: "room" | "profile" | undefined;
|
|
1801
|
+
origin?: {
|
|
1802
|
+
handle: string;
|
|
1803
|
+
directory: true;
|
|
1804
|
+
listingId: string;
|
|
1805
|
+
contact: "questions" | "tasks";
|
|
1806
|
+
} | undefined;
|
|
1709
1807
|
interruptRequested?: boolean | undefined;
|
|
1710
1808
|
acknowledgedRevision?: number | undefined;
|
|
1711
1809
|
}[];
|
|
@@ -1814,7 +1912,13 @@ export declare const RedeemInviteResponse: z.ZodObject<{
|
|
|
1814
1912
|
pause?: boolean | undefined;
|
|
1815
1913
|
turns?: boolean | undefined;
|
|
1816
1914
|
} | undefined;
|
|
1817
|
-
nameSource?: "
|
|
1915
|
+
nameSource?: "room" | "profile" | undefined;
|
|
1916
|
+
origin?: {
|
|
1917
|
+
handle: string;
|
|
1918
|
+
directory: true;
|
|
1919
|
+
listingId: string;
|
|
1920
|
+
contact: "questions" | "tasks";
|
|
1921
|
+
} | undefined;
|
|
1818
1922
|
interruptRequested?: boolean | undefined;
|
|
1819
1923
|
acknowledgedRevision?: number | undefined;
|
|
1820
1924
|
}[];
|
|
@@ -2063,7 +2167,7 @@ export type LiveTransport = (typeof LIVE_TRANSPORTS)[number];
|
|
|
2063
2167
|
* Names a relay lists in `features`. A client checks for one before relying on it;
|
|
2064
2168
|
* a relay that does not describe itself is assumed to have whatever was usual before descriptions existed.
|
|
2065
2169
|
*/
|
|
2066
|
-
export declare const RELAY_FEATURES: readonly ["message-stages", "files", "local-join", "invite-probe", "create-token", "token-login", "receipt-watermark"];
|
|
2170
|
+
export declare const RELAY_FEATURES: readonly ["message-stages", "files", "local-join", "invite-probe", "create-token", "token-login", "receipt-watermark", "member-tokens", "directory"];
|
|
2067
2171
|
export type RelayFeature = (typeof RELAY_FEATURES)[number];
|
|
2068
2172
|
/**
|
|
2069
2173
|
* How a relay keeps plain receipts. `events`: one `message.received` event per message and reader, as
|
|
@@ -2836,12 +2940,12 @@ export declare const ReadEventsResponse: z.ZodObject<{
|
|
|
2836
2940
|
source: z.ZodEnum<["profile", "room"]>;
|
|
2837
2941
|
}, "strip", z.ZodTypeAny, {
|
|
2838
2942
|
name: string;
|
|
2839
|
-
source: "
|
|
2943
|
+
source: "room" | "profile";
|
|
2840
2944
|
participantId: string;
|
|
2841
2945
|
previousName: string;
|
|
2842
2946
|
}, {
|
|
2843
2947
|
name: string;
|
|
2844
|
-
source: "
|
|
2948
|
+
source: "room" | "profile";
|
|
2845
2949
|
participantId: string;
|
|
2846
2950
|
previousName: string;
|
|
2847
2951
|
}>;
|
|
@@ -2849,7 +2953,7 @@ export declare const ReadEventsResponse: z.ZodObject<{
|
|
|
2849
2953
|
type: "participant.renamed";
|
|
2850
2954
|
payload: {
|
|
2851
2955
|
name: string;
|
|
2852
|
-
source: "
|
|
2956
|
+
source: "room" | "profile";
|
|
2853
2957
|
participantId: string;
|
|
2854
2958
|
previousName: string;
|
|
2855
2959
|
};
|
|
@@ -2857,7 +2961,7 @@ export declare const ReadEventsResponse: z.ZodObject<{
|
|
|
2857
2961
|
type: "participant.renamed";
|
|
2858
2962
|
payload: {
|
|
2859
2963
|
name: string;
|
|
2860
|
-
source: "
|
|
2964
|
+
source: "room" | "profile";
|
|
2861
2965
|
participantId: string;
|
|
2862
2966
|
previousName: string;
|
|
2863
2967
|
};
|
|
@@ -3857,7 +3961,7 @@ export declare const ReadEventsResponse: z.ZodObject<{
|
|
|
3857
3961
|
type: "participant.renamed";
|
|
3858
3962
|
payload: {
|
|
3859
3963
|
name: string;
|
|
3860
|
-
source: "
|
|
3964
|
+
source: "room" | "profile";
|
|
3861
3965
|
participantId: string;
|
|
3862
3966
|
previousName: string;
|
|
3863
3967
|
};
|
|
@@ -4158,7 +4262,7 @@ export declare const ReadEventsResponse: z.ZodObject<{
|
|
|
4158
4262
|
type: "participant.renamed";
|
|
4159
4263
|
payload: {
|
|
4160
4264
|
name: string;
|
|
4161
|
-
source: "
|
|
4265
|
+
source: "room" | "profile";
|
|
4162
4266
|
participantId: string;
|
|
4163
4267
|
previousName: string;
|
|
4164
4268
|
};
|
|
@@ -4965,12 +5069,12 @@ export declare const SendEventResponse: z.ZodObject<{
|
|
|
4965
5069
|
source: z.ZodEnum<["profile", "room"]>;
|
|
4966
5070
|
}, "strip", z.ZodTypeAny, {
|
|
4967
5071
|
name: string;
|
|
4968
|
-
source: "
|
|
5072
|
+
source: "room" | "profile";
|
|
4969
5073
|
participantId: string;
|
|
4970
5074
|
previousName: string;
|
|
4971
5075
|
}, {
|
|
4972
5076
|
name: string;
|
|
4973
|
-
source: "
|
|
5077
|
+
source: "room" | "profile";
|
|
4974
5078
|
participantId: string;
|
|
4975
5079
|
previousName: string;
|
|
4976
5080
|
}>;
|
|
@@ -4978,7 +5082,7 @@ export declare const SendEventResponse: z.ZodObject<{
|
|
|
4978
5082
|
type: "participant.renamed";
|
|
4979
5083
|
payload: {
|
|
4980
5084
|
name: string;
|
|
4981
|
-
source: "
|
|
5085
|
+
source: "room" | "profile";
|
|
4982
5086
|
participantId: string;
|
|
4983
5087
|
previousName: string;
|
|
4984
5088
|
};
|
|
@@ -4986,7 +5090,7 @@ export declare const SendEventResponse: z.ZodObject<{
|
|
|
4986
5090
|
type: "participant.renamed";
|
|
4987
5091
|
payload: {
|
|
4988
5092
|
name: string;
|
|
4989
|
-
source: "
|
|
5093
|
+
source: "room" | "profile";
|
|
4990
5094
|
participantId: string;
|
|
4991
5095
|
previousName: string;
|
|
4992
5096
|
};
|
|
@@ -5967,7 +6071,7 @@ export declare const SendEventResponse: z.ZodObject<{
|
|
|
5967
6071
|
type: "participant.renamed";
|
|
5968
6072
|
payload: {
|
|
5969
6073
|
name: string;
|
|
5970
|
-
source: "
|
|
6074
|
+
source: "room" | "profile";
|
|
5971
6075
|
participantId: string;
|
|
5972
6076
|
previousName: string;
|
|
5973
6077
|
};
|
|
@@ -6259,7 +6363,7 @@ export declare const SendEventResponse: z.ZodObject<{
|
|
|
6259
6363
|
type: "participant.renamed";
|
|
6260
6364
|
payload: {
|
|
6261
6365
|
name: string;
|
|
6262
|
-
source: "
|
|
6366
|
+
source: "room" | "profile";
|
|
6263
6367
|
participantId: string;
|
|
6264
6368
|
previousName: string;
|
|
6265
6369
|
};
|
|
@@ -6581,7 +6685,7 @@ export declare const JoinAsGuestRequest: z.ZodIntersection<z.ZodObject<{
|
|
|
6581
6685
|
runtime?: string | undefined;
|
|
6582
6686
|
runtimeVersion?: string | undefined;
|
|
6583
6687
|
} | undefined;
|
|
6584
|
-
nameSource?: "
|
|
6688
|
+
nameSource?: "room" | "profile" | undefined;
|
|
6585
6689
|
sessionId?: string | undefined;
|
|
6586
6690
|
}, {
|
|
6587
6691
|
displayName: string;
|
|
@@ -6593,7 +6697,7 @@ export declare const JoinAsGuestRequest: z.ZodIntersection<z.ZodObject<{
|
|
|
6593
6697
|
runtime?: string | undefined;
|
|
6594
6698
|
runtimeVersion?: string | undefined;
|
|
6595
6699
|
} | undefined;
|
|
6596
|
-
nameSource?: "
|
|
6700
|
+
nameSource?: "room" | "profile" | undefined;
|
|
6597
6701
|
sessionId?: string | undefined;
|
|
6598
6702
|
}>, z.ZodObject<{
|
|
6599
6703
|
participantCredential: z.ZodString;
|
|
@@ -6638,7 +6742,7 @@ export declare const LocalJoinRequest: z.ZodIntersection<z.ZodObject<{
|
|
|
6638
6742
|
runtime?: string | undefined;
|
|
6639
6743
|
runtimeVersion?: string | undefined;
|
|
6640
6744
|
} | undefined;
|
|
6641
|
-
nameSource?: "
|
|
6745
|
+
nameSource?: "room" | "profile" | undefined;
|
|
6642
6746
|
sessionId?: string | undefined;
|
|
6643
6747
|
}, {
|
|
6644
6748
|
displayName: string;
|
|
@@ -6650,7 +6754,7 @@ export declare const LocalJoinRequest: z.ZodIntersection<z.ZodObject<{
|
|
|
6650
6754
|
runtime?: string | undefined;
|
|
6651
6755
|
runtimeVersion?: string | undefined;
|
|
6652
6756
|
} | undefined;
|
|
6653
|
-
nameSource?: "
|
|
6757
|
+
nameSource?: "room" | "profile" | undefined;
|
|
6654
6758
|
sessionId?: string | undefined;
|
|
6655
6759
|
}>, z.ZodObject<{
|
|
6656
6760
|
participantCredential: z.ZodString;
|
|
@@ -7352,12 +7456,12 @@ export declare const ControlResponse: z.ZodObject<{
|
|
|
7352
7456
|
source: z.ZodEnum<["profile", "room"]>;
|
|
7353
7457
|
}, "strip", z.ZodTypeAny, {
|
|
7354
7458
|
name: string;
|
|
7355
|
-
source: "
|
|
7459
|
+
source: "room" | "profile";
|
|
7356
7460
|
participantId: string;
|
|
7357
7461
|
previousName: string;
|
|
7358
7462
|
}, {
|
|
7359
7463
|
name: string;
|
|
7360
|
-
source: "
|
|
7464
|
+
source: "room" | "profile";
|
|
7361
7465
|
participantId: string;
|
|
7362
7466
|
previousName: string;
|
|
7363
7467
|
}>;
|
|
@@ -7365,7 +7469,7 @@ export declare const ControlResponse: z.ZodObject<{
|
|
|
7365
7469
|
type: "participant.renamed";
|
|
7366
7470
|
payload: {
|
|
7367
7471
|
name: string;
|
|
7368
|
-
source: "
|
|
7472
|
+
source: "room" | "profile";
|
|
7369
7473
|
participantId: string;
|
|
7370
7474
|
previousName: string;
|
|
7371
7475
|
};
|
|
@@ -7373,7 +7477,7 @@ export declare const ControlResponse: z.ZodObject<{
|
|
|
7373
7477
|
type: "participant.renamed";
|
|
7374
7478
|
payload: {
|
|
7375
7479
|
name: string;
|
|
7376
|
-
source: "
|
|
7480
|
+
source: "room" | "profile";
|
|
7377
7481
|
participantId: string;
|
|
7378
7482
|
previousName: string;
|
|
7379
7483
|
};
|
|
@@ -8352,7 +8456,7 @@ export declare const ControlResponse: z.ZodObject<{
|
|
|
8352
8456
|
type: "participant.renamed";
|
|
8353
8457
|
payload: {
|
|
8354
8458
|
name: string;
|
|
8355
|
-
source: "
|
|
8459
|
+
source: "room" | "profile";
|
|
8356
8460
|
participantId: string;
|
|
8357
8461
|
previousName: string;
|
|
8358
8462
|
};
|
|
@@ -8644,7 +8748,7 @@ export declare const ControlResponse: z.ZodObject<{
|
|
|
8644
8748
|
type: "participant.renamed";
|
|
8645
8749
|
payload: {
|
|
8646
8750
|
name: string;
|
|
8647
|
-
source: "
|
|
8751
|
+
source: "room" | "profile";
|
|
8648
8752
|
participantId: string;
|
|
8649
8753
|
previousName: string;
|
|
8650
8754
|
};
|
|
@@ -8921,6 +9025,22 @@ export declare const ExportResponse: z.ZodObject<{
|
|
|
8921
9025
|
acknowledgedRevision: z.ZodOptional<z.ZodNumber>;
|
|
8922
9026
|
interruptRequested: z.ZodOptional<z.ZodBoolean>;
|
|
8923
9027
|
member: z.ZodOptional<z.ZodString>;
|
|
9028
|
+
origin: z.ZodOptional<z.ZodObject<{
|
|
9029
|
+
directory: z.ZodLiteral<true>;
|
|
9030
|
+
handle: z.ZodString;
|
|
9031
|
+
listingId: z.ZodString;
|
|
9032
|
+
contact: z.ZodEnum<["questions", "tasks"]>;
|
|
9033
|
+
}, "strip", z.ZodTypeAny, {
|
|
9034
|
+
handle: string;
|
|
9035
|
+
directory: true;
|
|
9036
|
+
listingId: string;
|
|
9037
|
+
contact: "questions" | "tasks";
|
|
9038
|
+
}, {
|
|
9039
|
+
handle: string;
|
|
9040
|
+
directory: true;
|
|
9041
|
+
listingId: string;
|
|
9042
|
+
contact: "questions" | "tasks";
|
|
9043
|
+
}>>;
|
|
8924
9044
|
}, "strip", z.ZodTypeAny, {
|
|
8925
9045
|
participantId: string;
|
|
8926
9046
|
displayName: string;
|
|
@@ -8951,7 +9071,13 @@ export declare const ExportResponse: z.ZodObject<{
|
|
|
8951
9071
|
pause?: boolean | undefined;
|
|
8952
9072
|
turns?: boolean | undefined;
|
|
8953
9073
|
} | undefined;
|
|
8954
|
-
nameSource?: "
|
|
9074
|
+
nameSource?: "room" | "profile" | undefined;
|
|
9075
|
+
origin?: {
|
|
9076
|
+
handle: string;
|
|
9077
|
+
directory: true;
|
|
9078
|
+
listingId: string;
|
|
9079
|
+
contact: "questions" | "tasks";
|
|
9080
|
+
} | undefined;
|
|
8955
9081
|
interruptRequested?: boolean | undefined;
|
|
8956
9082
|
acknowledgedRevision?: number | undefined;
|
|
8957
9083
|
}, {
|
|
@@ -8984,7 +9110,13 @@ export declare const ExportResponse: z.ZodObject<{
|
|
|
8984
9110
|
pause?: boolean | undefined;
|
|
8985
9111
|
turns?: boolean | undefined;
|
|
8986
9112
|
} | undefined;
|
|
8987
|
-
nameSource?: "
|
|
9113
|
+
nameSource?: "room" | "profile" | undefined;
|
|
9114
|
+
origin?: {
|
|
9115
|
+
handle: string;
|
|
9116
|
+
directory: true;
|
|
9117
|
+
listingId: string;
|
|
9118
|
+
contact: "questions" | "tasks";
|
|
9119
|
+
} | undefined;
|
|
8988
9120
|
interruptRequested?: boolean | undefined;
|
|
8989
9121
|
acknowledgedRevision?: number | undefined;
|
|
8990
9122
|
}>, "many">;
|
|
@@ -9208,7 +9340,13 @@ export declare const ExportResponse: z.ZodObject<{
|
|
|
9208
9340
|
pause?: boolean | undefined;
|
|
9209
9341
|
turns?: boolean | undefined;
|
|
9210
9342
|
} | undefined;
|
|
9211
|
-
nameSource?: "
|
|
9343
|
+
nameSource?: "room" | "profile" | undefined;
|
|
9344
|
+
origin?: {
|
|
9345
|
+
handle: string;
|
|
9346
|
+
directory: true;
|
|
9347
|
+
listingId: string;
|
|
9348
|
+
contact: "questions" | "tasks";
|
|
9349
|
+
} | undefined;
|
|
9212
9350
|
interruptRequested?: boolean | undefined;
|
|
9213
9351
|
acknowledgedRevision?: number | undefined;
|
|
9214
9352
|
}[];
|
|
@@ -9312,7 +9450,13 @@ export declare const ExportResponse: z.ZodObject<{
|
|
|
9312
9450
|
pause?: boolean | undefined;
|
|
9313
9451
|
turns?: boolean | undefined;
|
|
9314
9452
|
} | undefined;
|
|
9315
|
-
nameSource?: "
|
|
9453
|
+
nameSource?: "room" | "profile" | undefined;
|
|
9454
|
+
origin?: {
|
|
9455
|
+
handle: string;
|
|
9456
|
+
directory: true;
|
|
9457
|
+
listingId: string;
|
|
9458
|
+
contact: "questions" | "tasks";
|
|
9459
|
+
} | undefined;
|
|
9316
9460
|
interruptRequested?: boolean | undefined;
|
|
9317
9461
|
acknowledgedRevision?: number | undefined;
|
|
9318
9462
|
}[];
|
|
@@ -9958,12 +10102,12 @@ export declare const ExportResponse: z.ZodObject<{
|
|
|
9958
10102
|
source: z.ZodEnum<["profile", "room"]>;
|
|
9959
10103
|
}, "strip", z.ZodTypeAny, {
|
|
9960
10104
|
name: string;
|
|
9961
|
-
source: "
|
|
10105
|
+
source: "room" | "profile";
|
|
9962
10106
|
participantId: string;
|
|
9963
10107
|
previousName: string;
|
|
9964
10108
|
}, {
|
|
9965
10109
|
name: string;
|
|
9966
|
-
source: "
|
|
10110
|
+
source: "room" | "profile";
|
|
9967
10111
|
participantId: string;
|
|
9968
10112
|
previousName: string;
|
|
9969
10113
|
}>;
|
|
@@ -9971,7 +10115,7 @@ export declare const ExportResponse: z.ZodObject<{
|
|
|
9971
10115
|
type: "participant.renamed";
|
|
9972
10116
|
payload: {
|
|
9973
10117
|
name: string;
|
|
9974
|
-
source: "
|
|
10118
|
+
source: "room" | "profile";
|
|
9975
10119
|
participantId: string;
|
|
9976
10120
|
previousName: string;
|
|
9977
10121
|
};
|
|
@@ -9979,7 +10123,7 @@ export declare const ExportResponse: z.ZodObject<{
|
|
|
9979
10123
|
type: "participant.renamed";
|
|
9980
10124
|
payload: {
|
|
9981
10125
|
name: string;
|
|
9982
|
-
source: "
|
|
10126
|
+
source: "room" | "profile";
|
|
9983
10127
|
participantId: string;
|
|
9984
10128
|
previousName: string;
|
|
9985
10129
|
};
|
|
@@ -11164,7 +11308,13 @@ export declare const ExportResponse: z.ZodObject<{
|
|
|
11164
11308
|
pause?: boolean | undefined;
|
|
11165
11309
|
turns?: boolean | undefined;
|
|
11166
11310
|
} | undefined;
|
|
11167
|
-
nameSource?: "
|
|
11311
|
+
nameSource?: "room" | "profile" | undefined;
|
|
11312
|
+
origin?: {
|
|
11313
|
+
handle: string;
|
|
11314
|
+
directory: true;
|
|
11315
|
+
listingId: string;
|
|
11316
|
+
contact: "questions" | "tasks";
|
|
11317
|
+
} | undefined;
|
|
11168
11318
|
interruptRequested?: boolean | undefined;
|
|
11169
11319
|
acknowledgedRevision?: number | undefined;
|
|
11170
11320
|
}[];
|
|
@@ -11307,7 +11457,7 @@ export declare const ExportResponse: z.ZodObject<{
|
|
|
11307
11457
|
type: "participant.renamed";
|
|
11308
11458
|
payload: {
|
|
11309
11459
|
name: string;
|
|
11310
|
-
source: "
|
|
11460
|
+
source: "room" | "profile";
|
|
11311
11461
|
participantId: string;
|
|
11312
11462
|
previousName: string;
|
|
11313
11463
|
};
|
|
@@ -11607,7 +11757,13 @@ export declare const ExportResponse: z.ZodObject<{
|
|
|
11607
11757
|
pause?: boolean | undefined;
|
|
11608
11758
|
turns?: boolean | undefined;
|
|
11609
11759
|
} | undefined;
|
|
11610
|
-
nameSource?: "
|
|
11760
|
+
nameSource?: "room" | "profile" | undefined;
|
|
11761
|
+
origin?: {
|
|
11762
|
+
handle: string;
|
|
11763
|
+
directory: true;
|
|
11764
|
+
listingId: string;
|
|
11765
|
+
contact: "questions" | "tasks";
|
|
11766
|
+
} | undefined;
|
|
11611
11767
|
interruptRequested?: boolean | undefined;
|
|
11612
11768
|
acknowledgedRevision?: number | undefined;
|
|
11613
11769
|
}[];
|
|
@@ -11750,7 +11906,7 @@ export declare const ExportResponse: z.ZodObject<{
|
|
|
11750
11906
|
type: "participant.renamed";
|
|
11751
11907
|
payload: {
|
|
11752
11908
|
name: string;
|
|
11753
|
-
source: "
|
|
11909
|
+
source: "room" | "profile";
|
|
11754
11910
|
participantId: string;
|
|
11755
11911
|
previousName: string;
|
|
11756
11912
|
};
|