@socotra/ec-react-schemas 2.35.0-next.1 → 2.35.0-next.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.
- package/dist/index.d.ts +28 -0
- package/dist/index.es.js +1947 -1927
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +5 -5
- package/dist/index.umd.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -756,6 +756,8 @@ export declare const AttachDocumentQuerySchema: z.ZodObject<{
|
|
|
756
756
|
csv: "csv";
|
|
757
757
|
txt: "txt";
|
|
758
758
|
zip: "zip";
|
|
759
|
+
eml: "eml";
|
|
760
|
+
msg: "msg";
|
|
759
761
|
}>;
|
|
760
762
|
metadata: z.ZodOptional<z.ZodString>;
|
|
761
763
|
name: z.ZodString;
|
|
@@ -779,10 +781,12 @@ export declare const AttachDocumentRequestBodySchema: z.ZodObject<{
|
|
|
779
781
|
document: z.ZodObject<{
|
|
780
782
|
mimetype: z.ZodEnum<{
|
|
781
783
|
"application/octet-stream": MimeType_2.applicationOctetStream;
|
|
784
|
+
"application/vnd.ms-outlook": MimeType_2.applicationMsOutlook;
|
|
782
785
|
"application/pdf": MimeType_2.applicationPdf;
|
|
783
786
|
"application/zip": MimeType_2.applicationZip;
|
|
784
787
|
"application/x-zip-compressed": MimeType_2.applicationZipWindows;
|
|
785
788
|
"image/jpeg": MimeType_2.imageJpg;
|
|
789
|
+
"message/rfc822": MimeType_2.messageRfc822;
|
|
786
790
|
"text/csv": MimeType_2.textCsv;
|
|
787
791
|
"text/html": MimeType_2.textHtml;
|
|
788
792
|
"text/plain": MimeType_2.text;
|
|
@@ -812,6 +816,8 @@ export declare const AttachDocumentRequestParamsSchema: z.ZodObject<{
|
|
|
812
816
|
csv: "csv";
|
|
813
817
|
txt: "txt";
|
|
814
818
|
zip: "zip";
|
|
819
|
+
eml: "eml";
|
|
820
|
+
msg: "msg";
|
|
815
821
|
}>;
|
|
816
822
|
metadata: z.ZodOptional<z.ZodString>;
|
|
817
823
|
name: z.ZodString;
|
|
@@ -4958,6 +4964,8 @@ export declare const DocumentFormatEnumSchema: z.ZodEnum<{
|
|
|
4958
4964
|
csv: "csv";
|
|
4959
4965
|
txt: "txt";
|
|
4960
4966
|
zip: "zip";
|
|
4967
|
+
eml: "eml";
|
|
4968
|
+
msg: "msg";
|
|
4961
4969
|
}>;
|
|
4962
4970
|
|
|
4963
4971
|
export declare type DocumentId = z.infer<typeof DocumentIdSchema>;
|
|
@@ -5012,6 +5020,8 @@ export declare const DocumentInstanceResponseSchema: z.ZodObject<{
|
|
|
5012
5020
|
csv: "csv";
|
|
5013
5021
|
txt: "txt";
|
|
5014
5022
|
zip: "zip";
|
|
5023
|
+
eml: "eml";
|
|
5024
|
+
msg: "msg";
|
|
5015
5025
|
}>>;
|
|
5016
5026
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5017
5027
|
createdAt: z.ZodISODateTime;
|
|
@@ -5103,6 +5113,8 @@ export declare const DocumentInstanceSchema: z.ZodObject<{
|
|
|
5103
5113
|
csv: "csv";
|
|
5104
5114
|
txt: "txt";
|
|
5105
5115
|
zip: "zip";
|
|
5116
|
+
eml: "eml";
|
|
5117
|
+
msg: "msg";
|
|
5106
5118
|
}>>;
|
|
5107
5119
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5108
5120
|
createdAt: z.ZodISODateTime;
|
|
@@ -5170,6 +5182,8 @@ export declare const DocumentListResponseSchema: z.ZodObject<{
|
|
|
5170
5182
|
csv: "csv";
|
|
5171
5183
|
txt: "txt";
|
|
5172
5184
|
zip: "zip";
|
|
5185
|
+
eml: "eml";
|
|
5186
|
+
msg: "msg";
|
|
5173
5187
|
}>>;
|
|
5174
5188
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5175
5189
|
createdAt: z.ZodISODateTime;
|
|
@@ -5412,6 +5426,11 @@ export declare const DROPZONE_3GP_ACCEPTED_FILE_TYPES: {
|
|
|
5412
5426
|
readonly 'audio/3gpp': readonly [".3gp"];
|
|
5413
5427
|
};
|
|
5414
5428
|
|
|
5429
|
+
export declare const DROPZONE_EML_ACCEPTED_FILE_TYPES: {
|
|
5430
|
+
readonly 'message/rfc822': readonly [".eml"];
|
|
5431
|
+
readonly 'application/octet-stream': readonly [".eml"];
|
|
5432
|
+
};
|
|
5433
|
+
|
|
5415
5434
|
export declare const DROPZONE_GZIP_ACCEPTED_FILE_TYPES: {
|
|
5416
5435
|
readonly 'application/gzip': readonly [".gz"];
|
|
5417
5436
|
readonly 'application/x-gzip.': readonly [".gz"];
|
|
@@ -5422,6 +5441,11 @@ export declare const DROPZONE_MIDI_ACCEPTED_FILE_TYPES: {
|
|
|
5422
5441
|
readonly 'audio/x-midi': readonly [".midi", ".mid"];
|
|
5423
5442
|
};
|
|
5424
5443
|
|
|
5444
|
+
export declare const DROPZONE_MSG_ACCEPTED_FILE_TYPES: {
|
|
5445
|
+
readonly 'application/vnd.ms-outlook': readonly [".msg"];
|
|
5446
|
+
readonly 'application/octet-stream': readonly [".msg"];
|
|
5447
|
+
};
|
|
5448
|
+
|
|
5425
5449
|
export declare const DROPZONE_XML_ACCEPTED_FILE_TYPES: {
|
|
5426
5450
|
'text/xml': string[];
|
|
5427
5451
|
'application/xml': string[];
|
|
@@ -7551,6 +7575,7 @@ declare const enum MimeType_2 {
|
|
|
7551
7575
|
applicationJson = "application/json",
|
|
7552
7576
|
applicationOctetStream = "application/octet-stream",
|
|
7553
7577
|
applicationMsWord = "application/msword",
|
|
7578
|
+
applicationMsOutlook = "application/vnd.ms-outlook",
|
|
7554
7579
|
applicationDocx = "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
|
|
7555
7580
|
applicationPdf = "application/pdf",
|
|
7556
7581
|
applicationZip = "application/zip",
|
|
@@ -7561,6 +7586,7 @@ declare const enum MimeType_2 {
|
|
|
7561
7586
|
imageSvg = "image/svg+xml",
|
|
7562
7587
|
javaSource = "text/x-java-source",
|
|
7563
7588
|
multipartFormData = "multipart/form-data",
|
|
7589
|
+
messageRfc822 = "message/rfc822",
|
|
7564
7590
|
textCsv = "text/csv",
|
|
7565
7591
|
textHtml = "text/html",
|
|
7566
7592
|
text = "text/plain",
|
|
@@ -7577,6 +7603,7 @@ export declare const MimeTypeEnumSchema: z.ZodEnum<{
|
|
|
7577
7603
|
"application/json": "application/json";
|
|
7578
7604
|
"application/octet-stream": "application/octet-stream";
|
|
7579
7605
|
"application/msword": "application/msword";
|
|
7606
|
+
"application/vnd.ms-outlook": "application/vnd.ms-outlook";
|
|
7580
7607
|
"application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
|
|
7581
7608
|
"application/pdf": "application/pdf";
|
|
7582
7609
|
"application/zip": "application/zip";
|
|
@@ -7588,6 +7615,7 @@ export declare const MimeTypeEnumSchema: z.ZodEnum<{
|
|
|
7588
7615
|
"image/webp": "image/webp";
|
|
7589
7616
|
"text/x-java-source": "text/x-java-source";
|
|
7590
7617
|
"multipart/form-data": "multipart/form-data";
|
|
7618
|
+
"message/rfc822": "message/rfc822";
|
|
7591
7619
|
"text/csv": "text/csv";
|
|
7592
7620
|
"text/html": "text/html";
|
|
7593
7621
|
"text/plain": "text/plain";
|