@digipair/skill-imap 0.57.1 → 0.57.3
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/index.cjs.js +85 -31
- package/index.esm.js +82 -37
- package/libs/skill-imap/src/lib/skill-imap.d.ts +9 -0
- package/package.json +3 -2
- package/schema.fr.json +382 -4
- package/schema.json +412 -34
package/schema.json
CHANGED
|
@@ -8,6 +8,81 @@
|
|
|
8
8
|
"x-icon": "📨"
|
|
9
9
|
},
|
|
10
10
|
"paths": {
|
|
11
|
+
"/parseOne": {
|
|
12
|
+
"post": {
|
|
13
|
+
"tags": ["service"],
|
|
14
|
+
"summary": "Parse a message",
|
|
15
|
+
"parameters": [
|
|
16
|
+
{
|
|
17
|
+
"name": "client",
|
|
18
|
+
"summary": "Client",
|
|
19
|
+
"required": false,
|
|
20
|
+
"description": "IMAP Client",
|
|
21
|
+
"schema": {
|
|
22
|
+
"type": "object"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "message",
|
|
27
|
+
"summary": "Message",
|
|
28
|
+
"required": true,
|
|
29
|
+
"description": "Message to parse",
|
|
30
|
+
"schema": {
|
|
31
|
+
"type": "object"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "attachments",
|
|
36
|
+
"summary": "Attachments",
|
|
37
|
+
"required": false,
|
|
38
|
+
"description": "Attachments",
|
|
39
|
+
"schema": {
|
|
40
|
+
"type": "string"
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
"x-events": []
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"/parseAll": {
|
|
48
|
+
"post": {
|
|
49
|
+
"tags": ["service"],
|
|
50
|
+
"summary": "Parse messages",
|
|
51
|
+
"parameters": [
|
|
52
|
+
{
|
|
53
|
+
"name": "client",
|
|
54
|
+
"summary": "Client",
|
|
55
|
+
"required": false,
|
|
56
|
+
"description": "IMAP Client",
|
|
57
|
+
"schema": {
|
|
58
|
+
"type": "object"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"name": "messages",
|
|
63
|
+
"summary": "Messages",
|
|
64
|
+
"required": true,
|
|
65
|
+
"description": "List of messages to parse",
|
|
66
|
+
"schema": {
|
|
67
|
+
"type": "array",
|
|
68
|
+
"items": {
|
|
69
|
+
"type": "object"
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"name": "attachments",
|
|
75
|
+
"summary": "Attachments",
|
|
76
|
+
"required": false,
|
|
77
|
+
"description": "Attachments",
|
|
78
|
+
"schema": {
|
|
79
|
+
"type": "string"
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
],
|
|
83
|
+
"x-events": []
|
|
84
|
+
}
|
|
85
|
+
},
|
|
11
86
|
"/connect": {
|
|
12
87
|
"post": {
|
|
13
88
|
"tags": ["service"],
|
|
@@ -143,7 +218,7 @@
|
|
|
143
218
|
"name": "client",
|
|
144
219
|
"summary": "Client",
|
|
145
220
|
"required": false,
|
|
146
|
-
"description": "IMAP
|
|
221
|
+
"description": "IMAP Client",
|
|
147
222
|
"schema": {
|
|
148
223
|
"type": "object"
|
|
149
224
|
}
|
|
@@ -158,12 +233,12 @@
|
|
|
158
233
|
}
|
|
159
234
|
},
|
|
160
235
|
{
|
|
161
|
-
"name": "
|
|
162
|
-
"summary": "
|
|
236
|
+
"name": "options",
|
|
237
|
+
"summary": "Options",
|
|
163
238
|
"required": false,
|
|
164
|
-
"description": "
|
|
239
|
+
"description": "Options",
|
|
165
240
|
"schema": {
|
|
166
|
-
"type": "
|
|
241
|
+
"type": "object"
|
|
167
242
|
}
|
|
168
243
|
}
|
|
169
244
|
],
|
|
@@ -173,13 +248,13 @@
|
|
|
173
248
|
"/getMailboxLock": {
|
|
174
249
|
"post": {
|
|
175
250
|
"tags": ["service"],
|
|
176
|
-
"summary": "Retrieve locked IMAP mailbox",
|
|
251
|
+
"summary": "Retrieve the locked IMAP mailbox",
|
|
177
252
|
"parameters": [
|
|
178
253
|
{
|
|
179
254
|
"name": "client",
|
|
180
255
|
"summary": "Client",
|
|
181
256
|
"required": false,
|
|
182
|
-
"description": "IMAP
|
|
257
|
+
"description": "IMAP Client",
|
|
183
258
|
"schema": {
|
|
184
259
|
"type": "object"
|
|
185
260
|
}
|
|
@@ -209,13 +284,13 @@
|
|
|
209
284
|
"/getQuota": {
|
|
210
285
|
"post": {
|
|
211
286
|
"tags": ["service"],
|
|
212
|
-
"summary": "Retrieve mailbox quota",
|
|
287
|
+
"summary": "Retrieve the mailbox quota",
|
|
213
288
|
"parameters": [
|
|
214
289
|
{
|
|
215
290
|
"name": "client",
|
|
216
291
|
"summary": "Client",
|
|
217
292
|
"required": false,
|
|
218
|
-
"description": "IMAP
|
|
293
|
+
"description": "IMAP Client",
|
|
219
294
|
"schema": {
|
|
220
295
|
"type": "object"
|
|
221
296
|
}
|
|
@@ -242,7 +317,7 @@
|
|
|
242
317
|
"name": "client",
|
|
243
318
|
"summary": "Client",
|
|
244
319
|
"required": false,
|
|
245
|
-
"description": "IMAP
|
|
320
|
+
"description": "IMAP Client",
|
|
246
321
|
"schema": {
|
|
247
322
|
"type": "object"
|
|
248
323
|
}
|
|
@@ -260,7 +335,7 @@
|
|
|
260
335
|
"name": "client",
|
|
261
336
|
"summary": "Client",
|
|
262
337
|
"required": false,
|
|
263
|
-
"description": "IMAP
|
|
338
|
+
"description": "IMAP Client",
|
|
264
339
|
"schema": {
|
|
265
340
|
"type": "object"
|
|
266
341
|
}
|
|
@@ -281,13 +356,13 @@
|
|
|
281
356
|
"/listTree": {
|
|
282
357
|
"post": {
|
|
283
358
|
"tags": ["service"],
|
|
284
|
-
"summary": "List mailboxes in tree",
|
|
359
|
+
"summary": "List mailboxes in a tree",
|
|
285
360
|
"parameters": [
|
|
286
361
|
{
|
|
287
362
|
"name": "client",
|
|
288
363
|
"summary": "Client",
|
|
289
364
|
"required": false,
|
|
290
|
-
"description": "IMAP
|
|
365
|
+
"description": "IMAP Client",
|
|
291
366
|
"schema": {
|
|
292
367
|
"type": "object"
|
|
293
368
|
}
|
|
@@ -314,7 +389,7 @@
|
|
|
314
389
|
"name": "client",
|
|
315
390
|
"summary": "Client",
|
|
316
391
|
"required": false,
|
|
317
|
-
"description": "IMAP
|
|
392
|
+
"description": "IMAP Client",
|
|
318
393
|
"schema": {
|
|
319
394
|
"type": "object"
|
|
320
395
|
}
|
|
@@ -332,7 +407,7 @@
|
|
|
332
407
|
"name": "client",
|
|
333
408
|
"summary": "Client",
|
|
334
409
|
"required": false,
|
|
335
|
-
"description": "IMAP
|
|
410
|
+
"description": "IMAP Client",
|
|
336
411
|
"schema": {
|
|
337
412
|
"type": "object"
|
|
338
413
|
}
|
|
@@ -350,7 +425,7 @@
|
|
|
350
425
|
"name": "client",
|
|
351
426
|
"summary": "Client",
|
|
352
427
|
"required": false,
|
|
353
|
-
"description": "IMAP
|
|
428
|
+
"description": "IMAP Client",
|
|
354
429
|
"schema": {
|
|
355
430
|
"type": "object"
|
|
356
431
|
}
|
|
@@ -377,7 +452,7 @@
|
|
|
377
452
|
"name": "client",
|
|
378
453
|
"summary": "Client",
|
|
379
454
|
"required": false,
|
|
380
|
-
"description": "IMAP
|
|
455
|
+
"description": "IMAP Client",
|
|
381
456
|
"schema": {
|
|
382
457
|
"type": "object"
|
|
383
458
|
}
|
|
@@ -404,7 +479,7 @@
|
|
|
404
479
|
"name": "client",
|
|
405
480
|
"summary": "Client",
|
|
406
481
|
"required": false,
|
|
407
|
-
"description": "IMAP
|
|
482
|
+
"description": "IMAP Client",
|
|
408
483
|
"schema": {
|
|
409
484
|
"type": "object"
|
|
410
485
|
}
|
|
@@ -412,7 +487,7 @@
|
|
|
412
487
|
{
|
|
413
488
|
"name": "path",
|
|
414
489
|
"summary": "Path",
|
|
415
|
-
"required":
|
|
490
|
+
"required": false,
|
|
416
491
|
"description": "Mailbox path",
|
|
417
492
|
"schema": {
|
|
418
493
|
"type": "string"
|
|
@@ -440,7 +515,7 @@
|
|
|
440
515
|
"name": "client",
|
|
441
516
|
"summary": "Client",
|
|
442
517
|
"required": false,
|
|
443
|
-
"description": "IMAP
|
|
518
|
+
"description": "IMAP Client",
|
|
444
519
|
"schema": {
|
|
445
520
|
"type": "object"
|
|
446
521
|
}
|
|
@@ -476,7 +551,7 @@
|
|
|
476
551
|
"name": "client",
|
|
477
552
|
"summary": "Client",
|
|
478
553
|
"required": false,
|
|
479
|
-
"description": "IMAP
|
|
554
|
+
"description": "IMAP Client",
|
|
480
555
|
"schema": {
|
|
481
556
|
"type": "object"
|
|
482
557
|
}
|
|
@@ -503,7 +578,7 @@
|
|
|
503
578
|
"name": "client",
|
|
504
579
|
"summary": "Client",
|
|
505
580
|
"required": false,
|
|
506
|
-
"description": "IMAP
|
|
581
|
+
"description": "IMAP Client",
|
|
507
582
|
"schema": {
|
|
508
583
|
"type": "object"
|
|
509
584
|
}
|
|
@@ -530,7 +605,7 @@
|
|
|
530
605
|
"name": "client",
|
|
531
606
|
"summary": "Client",
|
|
532
607
|
"required": false,
|
|
533
|
-
"description": "IMAP
|
|
608
|
+
"description": "IMAP Client",
|
|
534
609
|
"schema": {
|
|
535
610
|
"type": "object"
|
|
536
611
|
}
|
|
@@ -575,7 +650,7 @@
|
|
|
575
650
|
"name": "client",
|
|
576
651
|
"summary": "Client",
|
|
577
652
|
"required": false,
|
|
578
|
-
"description": "IMAP
|
|
653
|
+
"description": "IMAP Client",
|
|
579
654
|
"schema": {
|
|
580
655
|
"type": "object"
|
|
581
656
|
}
|
|
@@ -611,7 +686,7 @@
|
|
|
611
686
|
"name": "client",
|
|
612
687
|
"summary": "Client",
|
|
613
688
|
"required": false,
|
|
614
|
-
"description": "IMAP
|
|
689
|
+
"description": "IMAP Client",
|
|
615
690
|
"schema": {
|
|
616
691
|
"type": "object"
|
|
617
692
|
}
|
|
@@ -659,7 +734,7 @@
|
|
|
659
734
|
"name": "client",
|
|
660
735
|
"summary": "Client",
|
|
661
736
|
"required": false,
|
|
662
|
-
"description": "IMAP
|
|
737
|
+
"description": "IMAP Client",
|
|
663
738
|
"schema": {
|
|
664
739
|
"type": "object"
|
|
665
740
|
}
|
|
@@ -701,13 +776,13 @@
|
|
|
701
776
|
"/messageFlagsSet": {
|
|
702
777
|
"post": {
|
|
703
778
|
"tags": ["service"],
|
|
704
|
-
"summary": "Set message
|
|
779
|
+
"summary": "Set flags for a message",
|
|
705
780
|
"parameters": [
|
|
706
781
|
{
|
|
707
782
|
"name": "client",
|
|
708
783
|
"summary": "Client",
|
|
709
784
|
"required": false,
|
|
710
|
-
"description": "IMAP
|
|
785
|
+
"description": "IMAP Client",
|
|
711
786
|
"schema": {
|
|
712
787
|
"type": "object"
|
|
713
788
|
}
|
|
@@ -755,7 +830,7 @@
|
|
|
755
830
|
"name": "client",
|
|
756
831
|
"summary": "Client",
|
|
757
832
|
"required": false,
|
|
758
|
-
"description": "IMAP
|
|
833
|
+
"description": "IMAP Client",
|
|
759
834
|
"schema": {
|
|
760
835
|
"type": "object"
|
|
761
836
|
}
|
|
@@ -800,7 +875,7 @@
|
|
|
800
875
|
"name": "client",
|
|
801
876
|
"summary": "Client",
|
|
802
877
|
"required": false,
|
|
803
|
-
"description": "IMAP
|
|
878
|
+
"description": "IMAP Client",
|
|
804
879
|
"schema": {
|
|
805
880
|
"type": "object"
|
|
806
881
|
}
|
|
@@ -812,13 +887,13 @@
|
|
|
812
887
|
"/setFlagColor": {
|
|
813
888
|
"post": {
|
|
814
889
|
"tags": ["service"],
|
|
815
|
-
"summary": "Set
|
|
890
|
+
"summary": "Set the color of a flag",
|
|
816
891
|
"parameters": [
|
|
817
892
|
{
|
|
818
893
|
"name": "client",
|
|
819
894
|
"summary": "Client",
|
|
820
895
|
"required": false,
|
|
821
|
-
"description": "IMAP
|
|
896
|
+
"description": "IMAP Client",
|
|
822
897
|
"schema": {
|
|
823
898
|
"type": "object"
|
|
824
899
|
}
|
|
@@ -848,13 +923,13 @@
|
|
|
848
923
|
"/status": {
|
|
849
924
|
"post": {
|
|
850
925
|
"tags": ["service"],
|
|
851
|
-
"summary": "Retrieve mailbox status",
|
|
926
|
+
"summary": "Retrieve the mailbox status",
|
|
852
927
|
"parameters": [
|
|
853
928
|
{
|
|
854
929
|
"name": "client",
|
|
855
930
|
"summary": "Client",
|
|
856
931
|
"required": false,
|
|
857
|
-
"description": "IMAP
|
|
932
|
+
"description": "IMAP Client",
|
|
858
933
|
"schema": {
|
|
859
934
|
"type": "object"
|
|
860
935
|
}
|
|
@@ -880,6 +955,309 @@
|
|
|
880
955
|
],
|
|
881
956
|
"x-events": []
|
|
882
957
|
}
|
|
958
|
+
},
|
|
959
|
+
"/append": {
|
|
960
|
+
"post": {
|
|
961
|
+
"tags": ["service"],
|
|
962
|
+
"summary": "Add a message",
|
|
963
|
+
"parameters": [
|
|
964
|
+
{
|
|
965
|
+
"name": "client",
|
|
966
|
+
"summary": "Client",
|
|
967
|
+
"required": false,
|
|
968
|
+
"description": "IMAP Client",
|
|
969
|
+
"schema": {
|
|
970
|
+
"type": "object"
|
|
971
|
+
}
|
|
972
|
+
},
|
|
973
|
+
{
|
|
974
|
+
"name": "path",
|
|
975
|
+
"summary": "Path",
|
|
976
|
+
"required": true,
|
|
977
|
+
"description": "Mailbox path",
|
|
978
|
+
"schema": {
|
|
979
|
+
"type": "string"
|
|
980
|
+
}
|
|
981
|
+
},
|
|
982
|
+
{
|
|
983
|
+
"name": "content",
|
|
984
|
+
"summary": "Content",
|
|
985
|
+
"required": true,
|
|
986
|
+
"description": "Message content",
|
|
987
|
+
"schema": {
|
|
988
|
+
"type": "string"
|
|
989
|
+
}
|
|
990
|
+
},
|
|
991
|
+
{
|
|
992
|
+
"name": "flags",
|
|
993
|
+
"summary": "Flags",
|
|
994
|
+
"required": false,
|
|
995
|
+
"description": "Flags",
|
|
996
|
+
"schema": {
|
|
997
|
+
"type": "array",
|
|
998
|
+
"items": {
|
|
999
|
+
"type": "string"
|
|
1000
|
+
}
|
|
1001
|
+
}
|
|
1002
|
+
},
|
|
1003
|
+
{
|
|
1004
|
+
"name": "idate",
|
|
1005
|
+
"summary": "Date",
|
|
1006
|
+
"required": false,
|
|
1007
|
+
"description": "Message date",
|
|
1008
|
+
"schema": {
|
|
1009
|
+
"type": "number"
|
|
1010
|
+
}
|
|
1011
|
+
}
|
|
1012
|
+
],
|
|
1013
|
+
"x-events": []
|
|
1014
|
+
}
|
|
1015
|
+
},
|
|
1016
|
+
"/close": {
|
|
1017
|
+
"post": {
|
|
1018
|
+
"tags": ["service"],
|
|
1019
|
+
"summary": "Close the client",
|
|
1020
|
+
"parameters": [
|
|
1021
|
+
{
|
|
1022
|
+
"name": "client",
|
|
1023
|
+
"summary": "Client",
|
|
1024
|
+
"required": false,
|
|
1025
|
+
"description": "IMAP Client",
|
|
1026
|
+
"schema": {
|
|
1027
|
+
"type": "object"
|
|
1028
|
+
}
|
|
1029
|
+
}
|
|
1030
|
+
],
|
|
1031
|
+
"x-events": []
|
|
1032
|
+
}
|
|
1033
|
+
},
|
|
1034
|
+
"/download": {
|
|
1035
|
+
"post": {
|
|
1036
|
+
"tags": ["service"],
|
|
1037
|
+
"summary": "Download a message",
|
|
1038
|
+
"parameters": [
|
|
1039
|
+
{
|
|
1040
|
+
"name": "client",
|
|
1041
|
+
"summary": "Client",
|
|
1042
|
+
"required": false,
|
|
1043
|
+
"description": "IMAP Client",
|
|
1044
|
+
"schema": {
|
|
1045
|
+
"type": "object"
|
|
1046
|
+
}
|
|
1047
|
+
},
|
|
1048
|
+
{
|
|
1049
|
+
"name": "range",
|
|
1050
|
+
"summary": "Range",
|
|
1051
|
+
"required": true,
|
|
1052
|
+
"description": "Message range",
|
|
1053
|
+
"schema": {
|
|
1054
|
+
"type": "object"
|
|
1055
|
+
}
|
|
1056
|
+
},
|
|
1057
|
+
{
|
|
1058
|
+
"name": "part",
|
|
1059
|
+
"summary": "Part",
|
|
1060
|
+
"required": false,
|
|
1061
|
+
"description": "Message part",
|
|
1062
|
+
"schema": {
|
|
1063
|
+
"type": "string"
|
|
1064
|
+
}
|
|
1065
|
+
},
|
|
1066
|
+
{
|
|
1067
|
+
"name": "options",
|
|
1068
|
+
"summary": "Options",
|
|
1069
|
+
"required": false,
|
|
1070
|
+
"description": "Options",
|
|
1071
|
+
"schema": {
|
|
1072
|
+
"type": "object"
|
|
1073
|
+
}
|
|
1074
|
+
}
|
|
1075
|
+
],
|
|
1076
|
+
"x-events": []
|
|
1077
|
+
}
|
|
1078
|
+
},
|
|
1079
|
+
"/downloadMany": {
|
|
1080
|
+
"post": {
|
|
1081
|
+
"tags": ["service"],
|
|
1082
|
+
"summary": "Download multiple messages",
|
|
1083
|
+
"parameters": [
|
|
1084
|
+
{
|
|
1085
|
+
"name": "client",
|
|
1086
|
+
"summary": "Client",
|
|
1087
|
+
"required": false,
|
|
1088
|
+
"description": "IMAP Client",
|
|
1089
|
+
"schema": {
|
|
1090
|
+
"type": "object"
|
|
1091
|
+
}
|
|
1092
|
+
},
|
|
1093
|
+
{
|
|
1094
|
+
"name": "range",
|
|
1095
|
+
"summary": "Range",
|
|
1096
|
+
"required": true,
|
|
1097
|
+
"description": "Message range",
|
|
1098
|
+
"schema": {
|
|
1099
|
+
"type": "object"
|
|
1100
|
+
}
|
|
1101
|
+
},
|
|
1102
|
+
{
|
|
1103
|
+
"name": "parts",
|
|
1104
|
+
"summary": "Parts",
|
|
1105
|
+
"required": true,
|
|
1106
|
+
"description": "Message parts",
|
|
1107
|
+
"schema": {
|
|
1108
|
+
"type": "array",
|
|
1109
|
+
"items": {
|
|
1110
|
+
"type": "string"
|
|
1111
|
+
}
|
|
1112
|
+
}
|
|
1113
|
+
},
|
|
1114
|
+
{
|
|
1115
|
+
"name": "options",
|
|
1116
|
+
"summary": "Options",
|
|
1117
|
+
"required": false,
|
|
1118
|
+
"description": "Options",
|
|
1119
|
+
"schema": {
|
|
1120
|
+
"type": "object"
|
|
1121
|
+
}
|
|
1122
|
+
}
|
|
1123
|
+
],
|
|
1124
|
+
"x-events": []
|
|
1125
|
+
}
|
|
1126
|
+
},
|
|
1127
|
+
"/fetch": {
|
|
1128
|
+
"post": {
|
|
1129
|
+
"tags": ["service"],
|
|
1130
|
+
"summary": "Retrieve messages",
|
|
1131
|
+
"parameters": [
|
|
1132
|
+
{
|
|
1133
|
+
"name": "client",
|
|
1134
|
+
"summary": "Client",
|
|
1135
|
+
"required": false,
|
|
1136
|
+
"description": "IMAP Client",
|
|
1137
|
+
"schema": {
|
|
1138
|
+
"type": "object"
|
|
1139
|
+
}
|
|
1140
|
+
},
|
|
1141
|
+
{
|
|
1142
|
+
"name": "range",
|
|
1143
|
+
"summary": "Range",
|
|
1144
|
+
"required": true,
|
|
1145
|
+
"description": "Message range",
|
|
1146
|
+
"schema": {
|
|
1147
|
+
"type": "object"
|
|
1148
|
+
}
|
|
1149
|
+
},
|
|
1150
|
+
{
|
|
1151
|
+
"name": "query",
|
|
1152
|
+
"summary": "Query",
|
|
1153
|
+
"required": true,
|
|
1154
|
+
"description": "Search query",
|
|
1155
|
+
"schema": {
|
|
1156
|
+
"type": "object"
|
|
1157
|
+
}
|
|
1158
|
+
},
|
|
1159
|
+
{
|
|
1160
|
+
"name": "options",
|
|
1161
|
+
"summary": "Options",
|
|
1162
|
+
"required": false,
|
|
1163
|
+
"description": "Options",
|
|
1164
|
+
"schema": {
|
|
1165
|
+
"type": "object"
|
|
1166
|
+
}
|
|
1167
|
+
}
|
|
1168
|
+
],
|
|
1169
|
+
"x-events": []
|
|
1170
|
+
}
|
|
1171
|
+
},
|
|
1172
|
+
"/fetchAll": {
|
|
1173
|
+
"post": {
|
|
1174
|
+
"tags": ["service"],
|
|
1175
|
+
"summary": "Retrieve all messages",
|
|
1176
|
+
"parameters": [
|
|
1177
|
+
{
|
|
1178
|
+
"name": "client",
|
|
1179
|
+
"summary": "Client",
|
|
1180
|
+
"required": false,
|
|
1181
|
+
"description": "IMAP Client",
|
|
1182
|
+
"schema": {
|
|
1183
|
+
"type": "object"
|
|
1184
|
+
}
|
|
1185
|
+
},
|
|
1186
|
+
{
|
|
1187
|
+
"name": "range",
|
|
1188
|
+
"summary": "Range",
|
|
1189
|
+
"required": true,
|
|
1190
|
+
"description": "Message range",
|
|
1191
|
+
"schema": {
|
|
1192
|
+
"type": "object"
|
|
1193
|
+
}
|
|
1194
|
+
},
|
|
1195
|
+
{
|
|
1196
|
+
"name": "query",
|
|
1197
|
+
"summary": "Query",
|
|
1198
|
+
"required": true,
|
|
1199
|
+
"description": "Search query",
|
|
1200
|
+
"schema": {
|
|
1201
|
+
"type": "object"
|
|
1202
|
+
}
|
|
1203
|
+
},
|
|
1204
|
+
{
|
|
1205
|
+
"name": "options",
|
|
1206
|
+
"summary": "Options",
|
|
1207
|
+
"required": false,
|
|
1208
|
+
"description": "Options",
|
|
1209
|
+
"schema": {
|
|
1210
|
+
"type": "object"
|
|
1211
|
+
}
|
|
1212
|
+
}
|
|
1213
|
+
],
|
|
1214
|
+
"x-events": []
|
|
1215
|
+
}
|
|
1216
|
+
},
|
|
1217
|
+
"/fetchOne": {
|
|
1218
|
+
"post": {
|
|
1219
|
+
"tags": ["service"],
|
|
1220
|
+
"summary": "Retrieve a message",
|
|
1221
|
+
"parameters": [
|
|
1222
|
+
{
|
|
1223
|
+
"name": "client",
|
|
1224
|
+
"summary": "Client",
|
|
1225
|
+
"required": false,
|
|
1226
|
+
"description": "IMAP Client",
|
|
1227
|
+
"schema": {
|
|
1228
|
+
"type": "object"
|
|
1229
|
+
}
|
|
1230
|
+
},
|
|
1231
|
+
{
|
|
1232
|
+
"name": "seq",
|
|
1233
|
+
"summary": "Sequence",
|
|
1234
|
+
"required": true,
|
|
1235
|
+
"description": "Message sequence",
|
|
1236
|
+
"schema": {
|
|
1237
|
+
"type": "number"
|
|
1238
|
+
}
|
|
1239
|
+
},
|
|
1240
|
+
{
|
|
1241
|
+
"name": "query",
|
|
1242
|
+
"summary": "Query",
|
|
1243
|
+
"required": true,
|
|
1244
|
+
"description": "Search query",
|
|
1245
|
+
"schema": {
|
|
1246
|
+
"type": "object"
|
|
1247
|
+
}
|
|
1248
|
+
},
|
|
1249
|
+
{
|
|
1250
|
+
"name": "options",
|
|
1251
|
+
"summary": "Options",
|
|
1252
|
+
"required": false,
|
|
1253
|
+
"description": "Options",
|
|
1254
|
+
"schema": {
|
|
1255
|
+
"type": "object"
|
|
1256
|
+
}
|
|
1257
|
+
}
|
|
1258
|
+
],
|
|
1259
|
+
"x-events": []
|
|
1260
|
+
}
|
|
883
1261
|
}
|
|
884
1262
|
},
|
|
885
1263
|
"components": {
|