@spectrum-ts/core 8.2.1 → 8.2.2
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.
|
@@ -447,11 +447,8 @@ interface Message<TPlatform extends string = string, TSender extends User = User
|
|
|
447
447
|
declare const editSchema: z.ZodObject<{
|
|
448
448
|
type: z.ZodLiteral<"edit">;
|
|
449
449
|
content: z.ZodCustom<{
|
|
450
|
-
type: "
|
|
451
|
-
|
|
452
|
-
} | {
|
|
453
|
-
type: "markdown";
|
|
454
|
-
markdown: string;
|
|
450
|
+
type: "custom";
|
|
451
|
+
raw: unknown;
|
|
455
452
|
} | {
|
|
456
453
|
type: "attachment";
|
|
457
454
|
id: string;
|
|
@@ -460,6 +457,26 @@ declare const editSchema: z.ZodObject<{
|
|
|
460
457
|
read: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
|
|
461
458
|
stream: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<ReadableStream<unknown>, ReadableStream<unknown>>>>;
|
|
462
459
|
size?: number | undefined;
|
|
460
|
+
} | {
|
|
461
|
+
type: "poll";
|
|
462
|
+
title: string;
|
|
463
|
+
options: {
|
|
464
|
+
title: string;
|
|
465
|
+
}[];
|
|
466
|
+
} | {
|
|
467
|
+
type: "poll_option";
|
|
468
|
+
option: {
|
|
469
|
+
title: string;
|
|
470
|
+
};
|
|
471
|
+
poll: {
|
|
472
|
+
type: "poll";
|
|
473
|
+
title: string;
|
|
474
|
+
options: {
|
|
475
|
+
title: string;
|
|
476
|
+
}[];
|
|
477
|
+
};
|
|
478
|
+
selected: boolean;
|
|
479
|
+
title: string;
|
|
463
480
|
} | {
|
|
464
481
|
type: "contact";
|
|
465
482
|
user?: {
|
|
@@ -503,12 +520,15 @@ declare const editSchema: z.ZodObject<{
|
|
|
503
520
|
read: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
|
|
504
521
|
} | undefined;
|
|
505
522
|
raw?: unknown;
|
|
523
|
+
} | {
|
|
524
|
+
type: "text";
|
|
525
|
+
text: string;
|
|
526
|
+
} | {
|
|
527
|
+
type: "markdown";
|
|
528
|
+
markdown: string;
|
|
506
529
|
} | {
|
|
507
530
|
type: "group";
|
|
508
531
|
items: Message<string, User, Space<unknown>>[];
|
|
509
|
-
} | {
|
|
510
|
-
type: "custom";
|
|
511
|
-
raw: unknown;
|
|
512
532
|
} | {
|
|
513
533
|
type: "reaction";
|
|
514
534
|
emoji: string;
|
|
@@ -541,35 +561,9 @@ declare const editSchema: z.ZodObject<{
|
|
|
541
561
|
imageSubtitle: z.ZodOptional<z.ZodString>;
|
|
542
562
|
summary: z.ZodOptional<z.ZodString>;
|
|
543
563
|
}, z.core.$strip>>>;
|
|
544
|
-
} | {
|
|
545
|
-
type: "poll";
|
|
546
|
-
title: string;
|
|
547
|
-
options: {
|
|
548
|
-
title: string;
|
|
549
|
-
}[];
|
|
550
|
-
} | {
|
|
551
|
-
type: "poll_option";
|
|
552
|
-
option: {
|
|
553
|
-
title: string;
|
|
554
|
-
};
|
|
555
|
-
poll: {
|
|
556
|
-
type: "poll";
|
|
557
|
-
title: string;
|
|
558
|
-
options: {
|
|
559
|
-
title: string;
|
|
560
|
-
}[];
|
|
561
|
-
};
|
|
562
|
-
selected: boolean;
|
|
563
|
-
title: string;
|
|
564
564
|
} | {
|
|
565
565
|
type: "effect";
|
|
566
566
|
content: {
|
|
567
|
-
type: "text";
|
|
568
|
-
text: string;
|
|
569
|
-
} | {
|
|
570
|
-
type: "markdown";
|
|
571
|
-
markdown: string;
|
|
572
|
-
} | {
|
|
573
567
|
type: "attachment";
|
|
574
568
|
id: string;
|
|
575
569
|
name: string;
|
|
@@ -577,6 +571,12 @@ declare const editSchema: z.ZodObject<{
|
|
|
577
571
|
read: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
|
|
578
572
|
stream: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<ReadableStream<unknown>, ReadableStream<unknown>>>>;
|
|
579
573
|
size?: number | undefined;
|
|
574
|
+
} | {
|
|
575
|
+
type: "text";
|
|
576
|
+
text: string;
|
|
577
|
+
} | {
|
|
578
|
+
type: "markdown";
|
|
579
|
+
markdown: string;
|
|
580
580
|
};
|
|
581
581
|
effect: string;
|
|
582
582
|
} | {
|
|
@@ -595,11 +595,8 @@ declare const editSchema: z.ZodObject<{
|
|
|
595
595
|
kind: "clear";
|
|
596
596
|
};
|
|
597
597
|
}, {
|
|
598
|
-
type: "
|
|
599
|
-
|
|
600
|
-
} | {
|
|
601
|
-
type: "markdown";
|
|
602
|
-
markdown: string;
|
|
598
|
+
type: "custom";
|
|
599
|
+
raw: unknown;
|
|
603
600
|
} | {
|
|
604
601
|
type: "attachment";
|
|
605
602
|
id: string;
|
|
@@ -608,6 +605,26 @@ declare const editSchema: z.ZodObject<{
|
|
|
608
605
|
read: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
|
|
609
606
|
stream: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<ReadableStream<unknown>, ReadableStream<unknown>>>>;
|
|
610
607
|
size?: number | undefined;
|
|
608
|
+
} | {
|
|
609
|
+
type: "poll";
|
|
610
|
+
title: string;
|
|
611
|
+
options: {
|
|
612
|
+
title: string;
|
|
613
|
+
}[];
|
|
614
|
+
} | {
|
|
615
|
+
type: "poll_option";
|
|
616
|
+
option: {
|
|
617
|
+
title: string;
|
|
618
|
+
};
|
|
619
|
+
poll: {
|
|
620
|
+
type: "poll";
|
|
621
|
+
title: string;
|
|
622
|
+
options: {
|
|
623
|
+
title: string;
|
|
624
|
+
}[];
|
|
625
|
+
};
|
|
626
|
+
selected: boolean;
|
|
627
|
+
title: string;
|
|
611
628
|
} | {
|
|
612
629
|
type: "contact";
|
|
613
630
|
user?: {
|
|
@@ -651,12 +668,15 @@ declare const editSchema: z.ZodObject<{
|
|
|
651
668
|
read: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
|
|
652
669
|
} | undefined;
|
|
653
670
|
raw?: unknown;
|
|
671
|
+
} | {
|
|
672
|
+
type: "text";
|
|
673
|
+
text: string;
|
|
674
|
+
} | {
|
|
675
|
+
type: "markdown";
|
|
676
|
+
markdown: string;
|
|
654
677
|
} | {
|
|
655
678
|
type: "group";
|
|
656
679
|
items: Message<string, User, Space<unknown>>[];
|
|
657
|
-
} | {
|
|
658
|
-
type: "custom";
|
|
659
|
-
raw: unknown;
|
|
660
680
|
} | {
|
|
661
681
|
type: "reaction";
|
|
662
682
|
emoji: string;
|
|
@@ -689,35 +709,9 @@ declare const editSchema: z.ZodObject<{
|
|
|
689
709
|
imageSubtitle: z.ZodOptional<z.ZodString>;
|
|
690
710
|
summary: z.ZodOptional<z.ZodString>;
|
|
691
711
|
}, z.core.$strip>>>;
|
|
692
|
-
} | {
|
|
693
|
-
type: "poll";
|
|
694
|
-
title: string;
|
|
695
|
-
options: {
|
|
696
|
-
title: string;
|
|
697
|
-
}[];
|
|
698
|
-
} | {
|
|
699
|
-
type: "poll_option";
|
|
700
|
-
option: {
|
|
701
|
-
title: string;
|
|
702
|
-
};
|
|
703
|
-
poll: {
|
|
704
|
-
type: "poll";
|
|
705
|
-
title: string;
|
|
706
|
-
options: {
|
|
707
|
-
title: string;
|
|
708
|
-
}[];
|
|
709
|
-
};
|
|
710
|
-
selected: boolean;
|
|
711
|
-
title: string;
|
|
712
712
|
} | {
|
|
713
713
|
type: "effect";
|
|
714
714
|
content: {
|
|
715
|
-
type: "text";
|
|
716
|
-
text: string;
|
|
717
|
-
} | {
|
|
718
|
-
type: "markdown";
|
|
719
|
-
markdown: string;
|
|
720
|
-
} | {
|
|
721
715
|
type: "attachment";
|
|
722
716
|
id: string;
|
|
723
717
|
name: string;
|
|
@@ -725,6 +719,12 @@ declare const editSchema: z.ZodObject<{
|
|
|
725
719
|
read: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
|
|
726
720
|
stream: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<ReadableStream<unknown>, ReadableStream<unknown>>>>;
|
|
727
721
|
size?: number | undefined;
|
|
722
|
+
} | {
|
|
723
|
+
type: "text";
|
|
724
|
+
text: string;
|
|
725
|
+
} | {
|
|
726
|
+
type: "markdown";
|
|
727
|
+
markdown: string;
|
|
728
728
|
};
|
|
729
729
|
effect: string;
|
|
730
730
|
} | {
|
|
@@ -968,11 +968,8 @@ declare function rename(displayName: string): ContentBuilder;
|
|
|
968
968
|
declare const replySchema: z.ZodObject<{
|
|
969
969
|
type: z.ZodLiteral<"reply">;
|
|
970
970
|
content: z.ZodCustom<{
|
|
971
|
-
type: "
|
|
972
|
-
|
|
973
|
-
} | {
|
|
974
|
-
type: "markdown";
|
|
975
|
-
markdown: string;
|
|
971
|
+
type: "custom";
|
|
972
|
+
raw: unknown;
|
|
976
973
|
} | {
|
|
977
974
|
type: "attachment";
|
|
978
975
|
id: string;
|
|
@@ -981,6 +978,26 @@ declare const replySchema: z.ZodObject<{
|
|
|
981
978
|
read: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
|
|
982
979
|
stream: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<ReadableStream<unknown>, ReadableStream<unknown>>>>;
|
|
983
980
|
size?: number | undefined;
|
|
981
|
+
} | {
|
|
982
|
+
type: "poll";
|
|
983
|
+
title: string;
|
|
984
|
+
options: {
|
|
985
|
+
title: string;
|
|
986
|
+
}[];
|
|
987
|
+
} | {
|
|
988
|
+
type: "poll_option";
|
|
989
|
+
option: {
|
|
990
|
+
title: string;
|
|
991
|
+
};
|
|
992
|
+
poll: {
|
|
993
|
+
type: "poll";
|
|
994
|
+
title: string;
|
|
995
|
+
options: {
|
|
996
|
+
title: string;
|
|
997
|
+
}[];
|
|
998
|
+
};
|
|
999
|
+
selected: boolean;
|
|
1000
|
+
title: string;
|
|
984
1001
|
} | {
|
|
985
1002
|
type: "contact";
|
|
986
1003
|
user?: {
|
|
@@ -1024,12 +1041,15 @@ declare const replySchema: z.ZodObject<{
|
|
|
1024
1041
|
read: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
|
|
1025
1042
|
} | undefined;
|
|
1026
1043
|
raw?: unknown;
|
|
1044
|
+
} | {
|
|
1045
|
+
type: "text";
|
|
1046
|
+
text: string;
|
|
1047
|
+
} | {
|
|
1048
|
+
type: "markdown";
|
|
1049
|
+
markdown: string;
|
|
1027
1050
|
} | {
|
|
1028
1051
|
type: "group";
|
|
1029
1052
|
items: Message<string, User, Space<unknown>>[];
|
|
1030
|
-
} | {
|
|
1031
|
-
type: "custom";
|
|
1032
|
-
raw: unknown;
|
|
1033
1053
|
} | {
|
|
1034
1054
|
type: "reaction";
|
|
1035
1055
|
emoji: string;
|
|
@@ -1062,35 +1082,9 @@ declare const replySchema: z.ZodObject<{
|
|
|
1062
1082
|
imageSubtitle: z.ZodOptional<z.ZodString>;
|
|
1063
1083
|
summary: z.ZodOptional<z.ZodString>;
|
|
1064
1084
|
}, z.core.$strip>>>;
|
|
1065
|
-
} | {
|
|
1066
|
-
type: "poll";
|
|
1067
|
-
title: string;
|
|
1068
|
-
options: {
|
|
1069
|
-
title: string;
|
|
1070
|
-
}[];
|
|
1071
|
-
} | {
|
|
1072
|
-
type: "poll_option";
|
|
1073
|
-
option: {
|
|
1074
|
-
title: string;
|
|
1075
|
-
};
|
|
1076
|
-
poll: {
|
|
1077
|
-
type: "poll";
|
|
1078
|
-
title: string;
|
|
1079
|
-
options: {
|
|
1080
|
-
title: string;
|
|
1081
|
-
}[];
|
|
1082
|
-
};
|
|
1083
|
-
selected: boolean;
|
|
1084
|
-
title: string;
|
|
1085
1085
|
} | {
|
|
1086
1086
|
type: "effect";
|
|
1087
1087
|
content: {
|
|
1088
|
-
type: "text";
|
|
1089
|
-
text: string;
|
|
1090
|
-
} | {
|
|
1091
|
-
type: "markdown";
|
|
1092
|
-
markdown: string;
|
|
1093
|
-
} | {
|
|
1094
1088
|
type: "attachment";
|
|
1095
1089
|
id: string;
|
|
1096
1090
|
name: string;
|
|
@@ -1098,6 +1092,12 @@ declare const replySchema: z.ZodObject<{
|
|
|
1098
1092
|
read: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
|
|
1099
1093
|
stream: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<ReadableStream<unknown>, ReadableStream<unknown>>>>;
|
|
1100
1094
|
size?: number | undefined;
|
|
1095
|
+
} | {
|
|
1096
|
+
type: "text";
|
|
1097
|
+
text: string;
|
|
1098
|
+
} | {
|
|
1099
|
+
type: "markdown";
|
|
1100
|
+
markdown: string;
|
|
1101
1101
|
};
|
|
1102
1102
|
effect: string;
|
|
1103
1103
|
} | {
|
|
@@ -1116,11 +1116,8 @@ declare const replySchema: z.ZodObject<{
|
|
|
1116
1116
|
kind: "clear";
|
|
1117
1117
|
};
|
|
1118
1118
|
}, {
|
|
1119
|
-
type: "
|
|
1120
|
-
|
|
1121
|
-
} | {
|
|
1122
|
-
type: "markdown";
|
|
1123
|
-
markdown: string;
|
|
1119
|
+
type: "custom";
|
|
1120
|
+
raw: unknown;
|
|
1124
1121
|
} | {
|
|
1125
1122
|
type: "attachment";
|
|
1126
1123
|
id: string;
|
|
@@ -1129,6 +1126,26 @@ declare const replySchema: z.ZodObject<{
|
|
|
1129
1126
|
read: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
|
|
1130
1127
|
stream: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<ReadableStream<unknown>, ReadableStream<unknown>>>>;
|
|
1131
1128
|
size?: number | undefined;
|
|
1129
|
+
} | {
|
|
1130
|
+
type: "poll";
|
|
1131
|
+
title: string;
|
|
1132
|
+
options: {
|
|
1133
|
+
title: string;
|
|
1134
|
+
}[];
|
|
1135
|
+
} | {
|
|
1136
|
+
type: "poll_option";
|
|
1137
|
+
option: {
|
|
1138
|
+
title: string;
|
|
1139
|
+
};
|
|
1140
|
+
poll: {
|
|
1141
|
+
type: "poll";
|
|
1142
|
+
title: string;
|
|
1143
|
+
options: {
|
|
1144
|
+
title: string;
|
|
1145
|
+
}[];
|
|
1146
|
+
};
|
|
1147
|
+
selected: boolean;
|
|
1148
|
+
title: string;
|
|
1132
1149
|
} | {
|
|
1133
1150
|
type: "contact";
|
|
1134
1151
|
user?: {
|
|
@@ -1172,12 +1189,15 @@ declare const replySchema: z.ZodObject<{
|
|
|
1172
1189
|
read: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
|
|
1173
1190
|
} | undefined;
|
|
1174
1191
|
raw?: unknown;
|
|
1192
|
+
} | {
|
|
1193
|
+
type: "text";
|
|
1194
|
+
text: string;
|
|
1195
|
+
} | {
|
|
1196
|
+
type: "markdown";
|
|
1197
|
+
markdown: string;
|
|
1175
1198
|
} | {
|
|
1176
1199
|
type: "group";
|
|
1177
1200
|
items: Message<string, User, Space<unknown>>[];
|
|
1178
|
-
} | {
|
|
1179
|
-
type: "custom";
|
|
1180
|
-
raw: unknown;
|
|
1181
1201
|
} | {
|
|
1182
1202
|
type: "reaction";
|
|
1183
1203
|
emoji: string;
|
|
@@ -1210,35 +1230,9 @@ declare const replySchema: z.ZodObject<{
|
|
|
1210
1230
|
imageSubtitle: z.ZodOptional<z.ZodString>;
|
|
1211
1231
|
summary: z.ZodOptional<z.ZodString>;
|
|
1212
1232
|
}, z.core.$strip>>>;
|
|
1213
|
-
} | {
|
|
1214
|
-
type: "poll";
|
|
1215
|
-
title: string;
|
|
1216
|
-
options: {
|
|
1217
|
-
title: string;
|
|
1218
|
-
}[];
|
|
1219
|
-
} | {
|
|
1220
|
-
type: "poll_option";
|
|
1221
|
-
option: {
|
|
1222
|
-
title: string;
|
|
1223
|
-
};
|
|
1224
|
-
poll: {
|
|
1225
|
-
type: "poll";
|
|
1226
|
-
title: string;
|
|
1227
|
-
options: {
|
|
1228
|
-
title: string;
|
|
1229
|
-
}[];
|
|
1230
|
-
};
|
|
1231
|
-
selected: boolean;
|
|
1232
|
-
title: string;
|
|
1233
1233
|
} | {
|
|
1234
1234
|
type: "effect";
|
|
1235
1235
|
content: {
|
|
1236
|
-
type: "text";
|
|
1237
|
-
text: string;
|
|
1238
|
-
} | {
|
|
1239
|
-
type: "markdown";
|
|
1240
|
-
markdown: string;
|
|
1241
|
-
} | {
|
|
1242
1236
|
type: "attachment";
|
|
1243
1237
|
id: string;
|
|
1244
1238
|
name: string;
|
|
@@ -1246,6 +1240,12 @@ declare const replySchema: z.ZodObject<{
|
|
|
1246
1240
|
read: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
|
|
1247
1241
|
stream: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<ReadableStream<unknown>, ReadableStream<unknown>>>>;
|
|
1248
1242
|
size?: number | undefined;
|
|
1243
|
+
} | {
|
|
1244
|
+
type: "text";
|
|
1245
|
+
text: string;
|
|
1246
|
+
} | {
|
|
1247
|
+
type: "markdown";
|
|
1248
|
+
markdown: string;
|
|
1249
1249
|
};
|
|
1250
1250
|
effect: string;
|
|
1251
1251
|
} | {
|
|
@@ -7024,11 +7024,8 @@ declare const contentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
7024
7024
|
}, z.core.$strip>, z.ZodObject<{
|
|
7025
7025
|
type: z.ZodLiteral<"reply">;
|
|
7026
7026
|
content: z.ZodCustom<{
|
|
7027
|
-
type: "
|
|
7028
|
-
|
|
7029
|
-
} | {
|
|
7030
|
-
type: "markdown";
|
|
7031
|
-
markdown: string;
|
|
7027
|
+
type: "custom";
|
|
7028
|
+
raw: unknown;
|
|
7032
7029
|
} | {
|
|
7033
7030
|
type: "attachment";
|
|
7034
7031
|
id: string;
|
|
@@ -7037,6 +7034,26 @@ declare const contentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
7037
7034
|
read: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
|
|
7038
7035
|
stream: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<ReadableStream<unknown>, ReadableStream<unknown>>>>;
|
|
7039
7036
|
size?: number | undefined;
|
|
7037
|
+
} | {
|
|
7038
|
+
type: "poll";
|
|
7039
|
+
title: string;
|
|
7040
|
+
options: {
|
|
7041
|
+
title: string;
|
|
7042
|
+
}[];
|
|
7043
|
+
} | {
|
|
7044
|
+
type: "poll_option";
|
|
7045
|
+
option: {
|
|
7046
|
+
title: string;
|
|
7047
|
+
};
|
|
7048
|
+
poll: {
|
|
7049
|
+
type: "poll";
|
|
7050
|
+
title: string;
|
|
7051
|
+
options: {
|
|
7052
|
+
title: string;
|
|
7053
|
+
}[];
|
|
7054
|
+
};
|
|
7055
|
+
selected: boolean;
|
|
7056
|
+
title: string;
|
|
7040
7057
|
} | {
|
|
7041
7058
|
type: "contact";
|
|
7042
7059
|
user?: {
|
|
@@ -7080,12 +7097,15 @@ declare const contentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
7080
7097
|
read: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
|
|
7081
7098
|
} | undefined;
|
|
7082
7099
|
raw?: unknown;
|
|
7100
|
+
} | {
|
|
7101
|
+
type: "text";
|
|
7102
|
+
text: string;
|
|
7103
|
+
} | {
|
|
7104
|
+
type: "markdown";
|
|
7105
|
+
markdown: string;
|
|
7083
7106
|
} | {
|
|
7084
7107
|
type: "group";
|
|
7085
7108
|
items: Message<string, User, Space<unknown>>[];
|
|
7086
|
-
} | {
|
|
7087
|
-
type: "custom";
|
|
7088
|
-
raw: unknown;
|
|
7089
7109
|
} | {
|
|
7090
7110
|
type: "reaction";
|
|
7091
7111
|
emoji: string;
|
|
@@ -7118,35 +7138,9 @@ declare const contentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
7118
7138
|
imageSubtitle: z.ZodOptional<z.ZodString>;
|
|
7119
7139
|
summary: z.ZodOptional<z.ZodString>;
|
|
7120
7140
|
}, z.core.$strip>>>;
|
|
7121
|
-
} | {
|
|
7122
|
-
type: "poll";
|
|
7123
|
-
title: string;
|
|
7124
|
-
options: {
|
|
7125
|
-
title: string;
|
|
7126
|
-
}[];
|
|
7127
|
-
} | {
|
|
7128
|
-
type: "poll_option";
|
|
7129
|
-
option: {
|
|
7130
|
-
title: string;
|
|
7131
|
-
};
|
|
7132
|
-
poll: {
|
|
7133
|
-
type: "poll";
|
|
7134
|
-
title: string;
|
|
7135
|
-
options: {
|
|
7136
|
-
title: string;
|
|
7137
|
-
}[];
|
|
7138
|
-
};
|
|
7139
|
-
selected: boolean;
|
|
7140
|
-
title: string;
|
|
7141
7141
|
} | {
|
|
7142
7142
|
type: "effect";
|
|
7143
7143
|
content: {
|
|
7144
|
-
type: "text";
|
|
7145
|
-
text: string;
|
|
7146
|
-
} | {
|
|
7147
|
-
type: "markdown";
|
|
7148
|
-
markdown: string;
|
|
7149
|
-
} | {
|
|
7150
7144
|
type: "attachment";
|
|
7151
7145
|
id: string;
|
|
7152
7146
|
name: string;
|
|
@@ -7154,6 +7148,12 @@ declare const contentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
7154
7148
|
read: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
|
|
7155
7149
|
stream: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<ReadableStream<unknown>, ReadableStream<unknown>>>>;
|
|
7156
7150
|
size?: number | undefined;
|
|
7151
|
+
} | {
|
|
7152
|
+
type: "text";
|
|
7153
|
+
text: string;
|
|
7154
|
+
} | {
|
|
7155
|
+
type: "markdown";
|
|
7156
|
+
markdown: string;
|
|
7157
7157
|
};
|
|
7158
7158
|
effect: string;
|
|
7159
7159
|
} | {
|
|
@@ -7172,11 +7172,8 @@ declare const contentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
7172
7172
|
kind: "clear";
|
|
7173
7173
|
};
|
|
7174
7174
|
}, {
|
|
7175
|
-
type: "
|
|
7176
|
-
|
|
7177
|
-
} | {
|
|
7178
|
-
type: "markdown";
|
|
7179
|
-
markdown: string;
|
|
7175
|
+
type: "custom";
|
|
7176
|
+
raw: unknown;
|
|
7180
7177
|
} | {
|
|
7181
7178
|
type: "attachment";
|
|
7182
7179
|
id: string;
|
|
@@ -7185,6 +7182,26 @@ declare const contentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
7185
7182
|
read: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
|
|
7186
7183
|
stream: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<ReadableStream<unknown>, ReadableStream<unknown>>>>;
|
|
7187
7184
|
size?: number | undefined;
|
|
7185
|
+
} | {
|
|
7186
|
+
type: "poll";
|
|
7187
|
+
title: string;
|
|
7188
|
+
options: {
|
|
7189
|
+
title: string;
|
|
7190
|
+
}[];
|
|
7191
|
+
} | {
|
|
7192
|
+
type: "poll_option";
|
|
7193
|
+
option: {
|
|
7194
|
+
title: string;
|
|
7195
|
+
};
|
|
7196
|
+
poll: {
|
|
7197
|
+
type: "poll";
|
|
7198
|
+
title: string;
|
|
7199
|
+
options: {
|
|
7200
|
+
title: string;
|
|
7201
|
+
}[];
|
|
7202
|
+
};
|
|
7203
|
+
selected: boolean;
|
|
7204
|
+
title: string;
|
|
7188
7205
|
} | {
|
|
7189
7206
|
type: "contact";
|
|
7190
7207
|
user?: {
|
|
@@ -7228,12 +7245,15 @@ declare const contentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
7228
7245
|
read: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
|
|
7229
7246
|
} | undefined;
|
|
7230
7247
|
raw?: unknown;
|
|
7248
|
+
} | {
|
|
7249
|
+
type: "text";
|
|
7250
|
+
text: string;
|
|
7251
|
+
} | {
|
|
7252
|
+
type: "markdown";
|
|
7253
|
+
markdown: string;
|
|
7231
7254
|
} | {
|
|
7232
7255
|
type: "group";
|
|
7233
7256
|
items: Message<string, User, Space<unknown>>[];
|
|
7234
|
-
} | {
|
|
7235
|
-
type: "custom";
|
|
7236
|
-
raw: unknown;
|
|
7237
7257
|
} | {
|
|
7238
7258
|
type: "reaction";
|
|
7239
7259
|
emoji: string;
|
|
@@ -7266,35 +7286,9 @@ declare const contentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
7266
7286
|
imageSubtitle: z.ZodOptional<z.ZodString>;
|
|
7267
7287
|
summary: z.ZodOptional<z.ZodString>;
|
|
7268
7288
|
}, z.core.$strip>>>;
|
|
7269
|
-
} | {
|
|
7270
|
-
type: "poll";
|
|
7271
|
-
title: string;
|
|
7272
|
-
options: {
|
|
7273
|
-
title: string;
|
|
7274
|
-
}[];
|
|
7275
|
-
} | {
|
|
7276
|
-
type: "poll_option";
|
|
7277
|
-
option: {
|
|
7278
|
-
title: string;
|
|
7279
|
-
};
|
|
7280
|
-
poll: {
|
|
7281
|
-
type: "poll";
|
|
7282
|
-
title: string;
|
|
7283
|
-
options: {
|
|
7284
|
-
title: string;
|
|
7285
|
-
}[];
|
|
7286
|
-
};
|
|
7287
|
-
selected: boolean;
|
|
7288
|
-
title: string;
|
|
7289
7289
|
} | {
|
|
7290
7290
|
type: "effect";
|
|
7291
7291
|
content: {
|
|
7292
|
-
type: "text";
|
|
7293
|
-
text: string;
|
|
7294
|
-
} | {
|
|
7295
|
-
type: "markdown";
|
|
7296
|
-
markdown: string;
|
|
7297
|
-
} | {
|
|
7298
7292
|
type: "attachment";
|
|
7299
7293
|
id: string;
|
|
7300
7294
|
name: string;
|
|
@@ -7302,6 +7296,12 @@ declare const contentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
7302
7296
|
read: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
|
|
7303
7297
|
stream: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<ReadableStream<unknown>, ReadableStream<unknown>>>>;
|
|
7304
7298
|
size?: number | undefined;
|
|
7299
|
+
} | {
|
|
7300
|
+
type: "text";
|
|
7301
|
+
text: string;
|
|
7302
|
+
} | {
|
|
7303
|
+
type: "markdown";
|
|
7304
|
+
markdown: string;
|
|
7305
7305
|
};
|
|
7306
7306
|
effect: string;
|
|
7307
7307
|
} | {
|
|
@@ -7324,11 +7324,8 @@ declare const contentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
7324
7324
|
}, z.core.$strip>, z.ZodObject<{
|
|
7325
7325
|
type: z.ZodLiteral<"edit">;
|
|
7326
7326
|
content: z.ZodCustom<{
|
|
7327
|
-
type: "
|
|
7328
|
-
|
|
7329
|
-
} | {
|
|
7330
|
-
type: "markdown";
|
|
7331
|
-
markdown: string;
|
|
7327
|
+
type: "custom";
|
|
7328
|
+
raw: unknown;
|
|
7332
7329
|
} | {
|
|
7333
7330
|
type: "attachment";
|
|
7334
7331
|
id: string;
|
|
@@ -7337,6 +7334,26 @@ declare const contentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
7337
7334
|
read: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
|
|
7338
7335
|
stream: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<ReadableStream<unknown>, ReadableStream<unknown>>>>;
|
|
7339
7336
|
size?: number | undefined;
|
|
7337
|
+
} | {
|
|
7338
|
+
type: "poll";
|
|
7339
|
+
title: string;
|
|
7340
|
+
options: {
|
|
7341
|
+
title: string;
|
|
7342
|
+
}[];
|
|
7343
|
+
} | {
|
|
7344
|
+
type: "poll_option";
|
|
7345
|
+
option: {
|
|
7346
|
+
title: string;
|
|
7347
|
+
};
|
|
7348
|
+
poll: {
|
|
7349
|
+
type: "poll";
|
|
7350
|
+
title: string;
|
|
7351
|
+
options: {
|
|
7352
|
+
title: string;
|
|
7353
|
+
}[];
|
|
7354
|
+
};
|
|
7355
|
+
selected: boolean;
|
|
7356
|
+
title: string;
|
|
7340
7357
|
} | {
|
|
7341
7358
|
type: "contact";
|
|
7342
7359
|
user?: {
|
|
@@ -7380,12 +7397,15 @@ declare const contentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
7380
7397
|
read: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
|
|
7381
7398
|
} | undefined;
|
|
7382
7399
|
raw?: unknown;
|
|
7400
|
+
} | {
|
|
7401
|
+
type: "text";
|
|
7402
|
+
text: string;
|
|
7403
|
+
} | {
|
|
7404
|
+
type: "markdown";
|
|
7405
|
+
markdown: string;
|
|
7383
7406
|
} | {
|
|
7384
7407
|
type: "group";
|
|
7385
7408
|
items: Message<string, User, Space<unknown>>[];
|
|
7386
|
-
} | {
|
|
7387
|
-
type: "custom";
|
|
7388
|
-
raw: unknown;
|
|
7389
7409
|
} | {
|
|
7390
7410
|
type: "reaction";
|
|
7391
7411
|
emoji: string;
|
|
@@ -7418,35 +7438,9 @@ declare const contentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
7418
7438
|
imageSubtitle: z.ZodOptional<z.ZodString>;
|
|
7419
7439
|
summary: z.ZodOptional<z.ZodString>;
|
|
7420
7440
|
}, z.core.$strip>>>;
|
|
7421
|
-
} | {
|
|
7422
|
-
type: "poll";
|
|
7423
|
-
title: string;
|
|
7424
|
-
options: {
|
|
7425
|
-
title: string;
|
|
7426
|
-
}[];
|
|
7427
|
-
} | {
|
|
7428
|
-
type: "poll_option";
|
|
7429
|
-
option: {
|
|
7430
|
-
title: string;
|
|
7431
|
-
};
|
|
7432
|
-
poll: {
|
|
7433
|
-
type: "poll";
|
|
7434
|
-
title: string;
|
|
7435
|
-
options: {
|
|
7436
|
-
title: string;
|
|
7437
|
-
}[];
|
|
7438
|
-
};
|
|
7439
|
-
selected: boolean;
|
|
7440
|
-
title: string;
|
|
7441
7441
|
} | {
|
|
7442
7442
|
type: "effect";
|
|
7443
7443
|
content: {
|
|
7444
|
-
type: "text";
|
|
7445
|
-
text: string;
|
|
7446
|
-
} | {
|
|
7447
|
-
type: "markdown";
|
|
7448
|
-
markdown: string;
|
|
7449
|
-
} | {
|
|
7450
7444
|
type: "attachment";
|
|
7451
7445
|
id: string;
|
|
7452
7446
|
name: string;
|
|
@@ -7454,6 +7448,12 @@ declare const contentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
7454
7448
|
read: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
|
|
7455
7449
|
stream: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<ReadableStream<unknown>, ReadableStream<unknown>>>>;
|
|
7456
7450
|
size?: number | undefined;
|
|
7451
|
+
} | {
|
|
7452
|
+
type: "text";
|
|
7453
|
+
text: string;
|
|
7454
|
+
} | {
|
|
7455
|
+
type: "markdown";
|
|
7456
|
+
markdown: string;
|
|
7457
7457
|
};
|
|
7458
7458
|
effect: string;
|
|
7459
7459
|
} | {
|
|
@@ -7472,11 +7472,8 @@ declare const contentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
7472
7472
|
kind: "clear";
|
|
7473
7473
|
};
|
|
7474
7474
|
}, {
|
|
7475
|
-
type: "
|
|
7476
|
-
|
|
7477
|
-
} | {
|
|
7478
|
-
type: "markdown";
|
|
7479
|
-
markdown: string;
|
|
7475
|
+
type: "custom";
|
|
7476
|
+
raw: unknown;
|
|
7480
7477
|
} | {
|
|
7481
7478
|
type: "attachment";
|
|
7482
7479
|
id: string;
|
|
@@ -7485,6 +7482,26 @@ declare const contentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
7485
7482
|
read: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
|
|
7486
7483
|
stream: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<ReadableStream<unknown>, ReadableStream<unknown>>>>;
|
|
7487
7484
|
size?: number | undefined;
|
|
7485
|
+
} | {
|
|
7486
|
+
type: "poll";
|
|
7487
|
+
title: string;
|
|
7488
|
+
options: {
|
|
7489
|
+
title: string;
|
|
7490
|
+
}[];
|
|
7491
|
+
} | {
|
|
7492
|
+
type: "poll_option";
|
|
7493
|
+
option: {
|
|
7494
|
+
title: string;
|
|
7495
|
+
};
|
|
7496
|
+
poll: {
|
|
7497
|
+
type: "poll";
|
|
7498
|
+
title: string;
|
|
7499
|
+
options: {
|
|
7500
|
+
title: string;
|
|
7501
|
+
}[];
|
|
7502
|
+
};
|
|
7503
|
+
selected: boolean;
|
|
7504
|
+
title: string;
|
|
7488
7505
|
} | {
|
|
7489
7506
|
type: "contact";
|
|
7490
7507
|
user?: {
|
|
@@ -7528,12 +7545,15 @@ declare const contentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
7528
7545
|
read: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
|
|
7529
7546
|
} | undefined;
|
|
7530
7547
|
raw?: unknown;
|
|
7548
|
+
} | {
|
|
7549
|
+
type: "text";
|
|
7550
|
+
text: string;
|
|
7551
|
+
} | {
|
|
7552
|
+
type: "markdown";
|
|
7553
|
+
markdown: string;
|
|
7531
7554
|
} | {
|
|
7532
7555
|
type: "group";
|
|
7533
7556
|
items: Message<string, User, Space<unknown>>[];
|
|
7534
|
-
} | {
|
|
7535
|
-
type: "custom";
|
|
7536
|
-
raw: unknown;
|
|
7537
7557
|
} | {
|
|
7538
7558
|
type: "reaction";
|
|
7539
7559
|
emoji: string;
|
|
@@ -7566,35 +7586,9 @@ declare const contentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
7566
7586
|
imageSubtitle: z.ZodOptional<z.ZodString>;
|
|
7567
7587
|
summary: z.ZodOptional<z.ZodString>;
|
|
7568
7588
|
}, z.core.$strip>>>;
|
|
7569
|
-
} | {
|
|
7570
|
-
type: "poll";
|
|
7571
|
-
title: string;
|
|
7572
|
-
options: {
|
|
7573
|
-
title: string;
|
|
7574
|
-
}[];
|
|
7575
|
-
} | {
|
|
7576
|
-
type: "poll_option";
|
|
7577
|
-
option: {
|
|
7578
|
-
title: string;
|
|
7579
|
-
};
|
|
7580
|
-
poll: {
|
|
7581
|
-
type: "poll";
|
|
7582
|
-
title: string;
|
|
7583
|
-
options: {
|
|
7584
|
-
title: string;
|
|
7585
|
-
}[];
|
|
7586
|
-
};
|
|
7587
|
-
selected: boolean;
|
|
7588
|
-
title: string;
|
|
7589
7589
|
} | {
|
|
7590
7590
|
type: "effect";
|
|
7591
7591
|
content: {
|
|
7592
|
-
type: "text";
|
|
7593
|
-
text: string;
|
|
7594
|
-
} | {
|
|
7595
|
-
type: "markdown";
|
|
7596
|
-
markdown: string;
|
|
7597
|
-
} | {
|
|
7598
7592
|
type: "attachment";
|
|
7599
7593
|
id: string;
|
|
7600
7594
|
name: string;
|
|
@@ -7602,6 +7596,12 @@ declare const contentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
7602
7596
|
read: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<Buffer<ArrayBufferLike>, Buffer<ArrayBufferLike>>>>;
|
|
7603
7597
|
stream: z.core.$InferOuterFunctionType<z.ZodTuple<readonly [], null>, z.ZodPromise<z.ZodCustom<ReadableStream<unknown>, ReadableStream<unknown>>>>;
|
|
7604
7598
|
size?: number | undefined;
|
|
7599
|
+
} | {
|
|
7600
|
+
type: "text";
|
|
7601
|
+
text: string;
|
|
7602
|
+
} | {
|
|
7603
|
+
type: "markdown";
|
|
7604
|
+
markdown: string;
|
|
7605
7605
|
};
|
|
7606
7606
|
effect: string;
|
|
7607
7607
|
} | {
|
package/dist/authoring.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $t as asGroup, An as photoActionSchema, Ft as asRead, H as ProviderMessageRecord, Ht as asPollOption, K as ManagedStream, Kt as asMarkdown, On as PhotoInput, St as asText, Tt as asRichlink, Vt as asPoll, cn as asReaction, dn as asCustom, gt as asVoice, jt as replySchema, kn as buildPhotoAction, kt as asReply, r as asAttachment, tn as groupSchema, un as reactionSchema, xn as asContact } from "./attachment-
|
|
1
|
+
import { $t as asGroup, An as photoActionSchema, Ft as asRead, H as ProviderMessageRecord, Ht as asPollOption, K as ManagedStream, Kt as asMarkdown, On as PhotoInput, St as asText, Tt as asRichlink, Vt as asPoll, cn as asReaction, dn as asCustom, gt as asVoice, jt as replySchema, kn as buildPhotoAction, kt as asReply, r as asAttachment, tn as groupSchema, un as reactionSchema, xn as asContact } from "./attachment-DqrtDRaN.js";
|
|
2
2
|
import z from "zod";
|
|
3
3
|
import { FetchSpanOptions, LogAttrs, LogAttrs as LogAttrs$1, LogLevel, PhotonLogger, SanitizeUrlOptions, createLogger, sanitizeEmail, sanitizeErrorMessage, sanitizePhone, sanitizeUrl, setLogLevel } from "@photon-ai/otel";
|
|
4
4
|
import { Token } from "marked";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as FusorTokenData, A as isFusorEvent, At as reply, B as PlatformUser, Bt as PollOption, C as FusorVerify, Cn as AgentSender, Ct as text, D as WebhookRawResult, Dn as avatar, Dt as resolveContents, E as WebhookRawRequest, En as AvatarInput, Et as richlink, F as PlatformInstance, Fn as appLayoutSchema, G as Broadcaster, Gt as Markdown, I as PlatformMessage, It as read, J as mergeStreams, Jt as DeltaExtractor, K as ManagedStream, L as PlatformProviderConfig, Lt as Poll, M as EventProducer, Mn as AppLayout, Mt as Rename, N as Platform, Nn as AppUrl, Nt as rename, O as FusorEvent, Ot as Reply, P as PlatformDef, Pn as app, Pt as Read, Q as DedicatedTokenData, Qt as Group, R as PlatformRuntime, Rt as PollChoice, S as FusorRespond, Sn as contact, T as WebhookHandler, Tn as Avatar, U as SchemaMessage, Ut as option, V as ProviderMessage, W as SpaceNamespace, Wt as poll, X as Store, Xt as StreamTextSource, Y as stream, Yt as StreamText, Z as CloudPlatform, Zt as TextStreamOptions, _ as FusorClient, _n as ContactInput, _t as voice, a as Content, an as Space, at as SharedTokenData, b as FusorMessagesReturn, bn as ContactPhone, bt as Typing, c as fromVCard, ct as SpectrumCloudError, d as UnsupportedKind, dt as TokenData, en as group, et as ImessageInfoData, f as Spectrum, fn as custom, ft as cloud, g as isFusorClient, gn as ContactEmail, h as fusor, hn as ContactDetails, ht as Voice, i as attachment, in as Message, it as ProjectProfile, j as AnyPlatformDef, jn as App, k as fusorEvent, l as toVCard, ln as reaction, lt as SubscriptionData, m as definePlatform, mn as ContactAddress, mt as EmojiKey, n as AttachmentInput, nn as Edit, nt as PlatformsData, o as ContentBuilder, on as Reaction, ot as SlackTeamMeta, p as SpectrumInstance, pn as Contact, pt as Emoji, q as broadcast, qt as markdown, rn as edit, rt as ProjectData, s as ContentInput, sn as ReactionBuilder, st as SlackTokenData, t as Attachment, tt as PlatformStatus, u as UnsupportedError, ut as SubscriptionStatus, v as FusorMessages, vn as ContactName, vt as Unsend, w as FusorVerifyRequest, wn as User, wt as Richlink, x as FusorReply, xt as typing, y as FusorMessagesCtx, yn as ContactOrg, yt as unsend, z as PlatformSpace, zt as PollChoiceInput } from "./attachment-
|
|
1
|
+
import { $ as FusorTokenData, A as isFusorEvent, At as reply, B as PlatformUser, Bt as PollOption, C as FusorVerify, Cn as AgentSender, Ct as text, D as WebhookRawResult, Dn as avatar, Dt as resolveContents, E as WebhookRawRequest, En as AvatarInput, Et as richlink, F as PlatformInstance, Fn as appLayoutSchema, G as Broadcaster, Gt as Markdown, I as PlatformMessage, It as read, J as mergeStreams, Jt as DeltaExtractor, K as ManagedStream, L as PlatformProviderConfig, Lt as Poll, M as EventProducer, Mn as AppLayout, Mt as Rename, N as Platform, Nn as AppUrl, Nt as rename, O as FusorEvent, Ot as Reply, P as PlatformDef, Pn as app, Pt as Read, Q as DedicatedTokenData, Qt as Group, R as PlatformRuntime, Rt as PollChoice, S as FusorRespond, Sn as contact, T as WebhookHandler, Tn as Avatar, U as SchemaMessage, Ut as option, V as ProviderMessage, W as SpaceNamespace, Wt as poll, X as Store, Xt as StreamTextSource, Y as stream, Yt as StreamText, Z as CloudPlatform, Zt as TextStreamOptions, _ as FusorClient, _n as ContactInput, _t as voice, a as Content, an as Space, at as SharedTokenData, b as FusorMessagesReturn, bn as ContactPhone, bt as Typing, c as fromVCard, ct as SpectrumCloudError, d as UnsupportedKind, dt as TokenData, en as group, et as ImessageInfoData, f as Spectrum, fn as custom, ft as cloud, g as isFusorClient, gn as ContactEmail, h as fusor, hn as ContactDetails, ht as Voice, i as attachment, in as Message, it as ProjectProfile, j as AnyPlatformDef, jn as App, k as fusorEvent, l as toVCard, ln as reaction, lt as SubscriptionData, m as definePlatform, mn as ContactAddress, mt as EmojiKey, n as AttachmentInput, nn as Edit, nt as PlatformsData, o as ContentBuilder, on as Reaction, ot as SlackTeamMeta, p as SpectrumInstance, pn as Contact, pt as Emoji, q as broadcast, qt as markdown, rn as edit, rt as ProjectData, s as ContentInput, sn as ReactionBuilder, st as SlackTokenData, t as Attachment, tt as PlatformStatus, u as UnsupportedError, ut as SubscriptionStatus, v as FusorMessages, vn as ContactName, vt as Unsend, w as FusorVerifyRequest, wn as User, wt as Richlink, x as FusorReply, xt as typing, y as FusorMessagesCtx, yn as ContactOrg, yt as unsend, z as PlatformSpace, zt as PollChoiceInput } from "./attachment-DqrtDRaN.js";
|
|
2
2
|
export { type AgentSender, type AnyPlatformDef, type App, type AppLayout, type AppUrl, type Attachment, type AttachmentInput, type Avatar, type AvatarInput, type Broadcaster, type CloudPlatform, type Contact, type ContactAddress, type ContactDetails, type ContactEmail, type ContactInput, type ContactName, type ContactOrg, type ContactPhone, type Content, type ContentBuilder, type ContentInput, type DedicatedTokenData, type DeltaExtractor, type Edit, Emoji, type EmojiKey, type EventProducer, type FusorClient, type FusorEvent, type FusorMessages, type FusorMessagesCtx, type FusorMessagesReturn, type FusorReply, type FusorRespond, type FusorTokenData, type FusorVerify, type FusorVerifyRequest, type Group, type ImessageInfoData, type ManagedStream, type Markdown, type Message, type Platform, type PlatformDef, type PlatformInstance, type PlatformMessage, type PlatformProviderConfig, type PlatformRuntime, type PlatformSpace, type PlatformStatus, type PlatformUser, type PlatformsData, type Poll, type PollChoice, type PollChoiceInput, type PollOption, type ProjectData, type ProjectProfile, type ProviderMessage, type Reaction, type ReactionBuilder, type Read, type Rename, type Reply, type Richlink, type SchemaMessage, type SharedTokenData, type SlackTeamMeta, type SlackTokenData, type Space, type SpaceNamespace, Spectrum, SpectrumCloudError, type SpectrumInstance, type Store, type StreamText, type StreamTextSource, type SubscriptionData, type SubscriptionStatus, type TextStreamOptions, type TokenData, type Typing, type Unsend, UnsupportedError, type UnsupportedKind, type User, type Voice, type WebhookHandler, type WebhookRawRequest, type WebhookRawResult, app, appLayoutSchema, attachment, avatar, broadcast, cloud, contact, custom, definePlatform, edit, fromVCard, fusor, fusorEvent, group, isFusorClient, isFusorEvent, markdown, mergeStreams, option, poll, reaction, read, rename, reply, resolveContents, richlink, stream, text, toVCard, typing, unsend, voice };
|
package/dist/index.js
CHANGED
|
@@ -3020,7 +3020,7 @@ function definePlatform(name, rawDef) {
|
|
|
3020
3020
|
}
|
|
3021
3021
|
//#endregion
|
|
3022
3022
|
//#region src/build-env.ts
|
|
3023
|
-
const SPECTRUM_SDK_VERSION = "8.2.
|
|
3023
|
+
const SPECTRUM_SDK_VERSION = "8.2.2";
|
|
3024
3024
|
//#endregion
|
|
3025
3025
|
//#region src/utils/provider-packages.ts
|
|
3026
3026
|
const OFFICIAL_PROVIDER_PACKAGES = {
|