jmap-kit 0.0.0 → 1.0.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.
Files changed (198) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +138 -3
  3. package/dist/src/capabilities/blob/blob.d.ts +83 -0
  4. package/dist/src/capabilities/blob/blob.js +98 -0
  5. package/dist/src/capabilities/blob/blob.js.map +1 -0
  6. package/dist/src/capabilities/blob/types.d.ts +212 -0
  7. package/dist/src/capabilities/blob/types.js +16 -0
  8. package/dist/src/capabilities/blob/types.js.map +1 -0
  9. package/dist/src/capabilities/blob-capability.d.ts +195 -0
  10. package/dist/src/capabilities/blob-capability.js +277 -0
  11. package/dist/src/capabilities/blob-capability.js.map +1 -0
  12. package/dist/src/capabilities/core/core.d.ts +47 -0
  13. package/dist/src/capabilities/core/core.js +59 -0
  14. package/dist/src/capabilities/core/core.js.map +1 -0
  15. package/dist/src/capabilities/core/types.d.ts +13 -0
  16. package/dist/src/capabilities/core/types.js +2 -0
  17. package/dist/src/capabilities/core/types.js.map +1 -0
  18. package/dist/src/capabilities/core-capability.d.ts +307 -0
  19. package/dist/src/capabilities/core-capability.js +344 -0
  20. package/dist/src/capabilities/core-capability.js.map +1 -0
  21. package/dist/src/capabilities/email/email.d.ts +124 -0
  22. package/dist/src/capabilities/email/email.js +136 -0
  23. package/dist/src/capabilities/email/email.js.map +1 -0
  24. package/dist/src/capabilities/email/types.d.ts +776 -0
  25. package/dist/src/capabilities/email/types.js +2 -0
  26. package/dist/src/capabilities/email/types.js.map +1 -0
  27. package/dist/src/capabilities/email-capability.d.ts +266 -0
  28. package/dist/src/capabilities/email-capability.js +241 -0
  29. package/dist/src/capabilities/email-capability.js.map +1 -0
  30. package/dist/src/capabilities/emailsubmission/emailsubmission.d.ts +95 -0
  31. package/dist/src/capabilities/emailsubmission/emailsubmission.js +107 -0
  32. package/dist/src/capabilities/emailsubmission/emailsubmission.js.map +1 -0
  33. package/dist/src/capabilities/emailsubmission/types.d.ts +256 -0
  34. package/dist/src/capabilities/emailsubmission/types.js +2 -0
  35. package/dist/src/capabilities/emailsubmission/types.js.map +1 -0
  36. package/dist/src/capabilities/example/example.d.ts +80 -0
  37. package/dist/src/capabilities/example/example.js +91 -0
  38. package/dist/src/capabilities/example/example.js.map +1 -0
  39. package/dist/src/capabilities/example/types.d.ts +33 -0
  40. package/dist/src/capabilities/example/types.js +2 -0
  41. package/dist/src/capabilities/example/types.js.map +1 -0
  42. package/dist/src/capabilities/identity/identity.d.ts +71 -0
  43. package/dist/src/capabilities/identity/identity.js +83 -0
  44. package/dist/src/capabilities/identity/identity.js.map +1 -0
  45. package/dist/src/capabilities/identity/types.d.ts +110 -0
  46. package/dist/src/capabilities/identity/types.js +2 -0
  47. package/dist/src/capabilities/identity/types.js.map +1 -0
  48. package/dist/src/capabilities/mailbox/mailbox.d.ts +91 -0
  49. package/dist/src/capabilities/mailbox/mailbox.js +103 -0
  50. package/dist/src/capabilities/mailbox/mailbox.js.map +1 -0
  51. package/dist/src/capabilities/mailbox/types.d.ts +248 -0
  52. package/dist/src/capabilities/mailbox/types.js +2 -0
  53. package/dist/src/capabilities/mailbox/types.js.map +1 -0
  54. package/dist/src/capabilities/maskedemail/maskedemail.d.ts +60 -0
  55. package/dist/src/capabilities/maskedemail/maskedemail.js +72 -0
  56. package/dist/src/capabilities/maskedemail/maskedemail.js.map +1 -0
  57. package/dist/src/capabilities/maskedemail/types.d.ts +67 -0
  58. package/dist/src/capabilities/maskedemail/types.js +4 -0
  59. package/dist/src/capabilities/maskedemail/types.js.map +1 -0
  60. package/dist/src/capabilities/maskedemail-capability.d.ts +112 -0
  61. package/dist/src/capabilities/maskedemail-capability.js +166 -0
  62. package/dist/src/capabilities/maskedemail-capability.js.map +1 -0
  63. package/dist/src/capabilities/searchsnippet/searchsnippet.d.ts +51 -0
  64. package/dist/src/capabilities/searchsnippet/searchsnippet.js +63 -0
  65. package/dist/src/capabilities/searchsnippet/searchsnippet.js.map +1 -0
  66. package/dist/src/capabilities/searchsnippet/types.d.ts +88 -0
  67. package/dist/src/capabilities/searchsnippet/types.js +2 -0
  68. package/dist/src/capabilities/searchsnippet/types.js.map +1 -0
  69. package/dist/src/capabilities/submission-capability.d.ts +89 -0
  70. package/dist/src/capabilities/submission-capability.js +75 -0
  71. package/dist/src/capabilities/submission-capability.js.map +1 -0
  72. package/dist/src/capabilities/thread/thread.d.ts +58 -0
  73. package/dist/src/capabilities/thread/thread.js +70 -0
  74. package/dist/src/capabilities/thread/thread.js.map +1 -0
  75. package/dist/src/capabilities/thread/types.d.ts +43 -0
  76. package/dist/src/capabilities/thread/types.js +2 -0
  77. package/dist/src/capabilities/thread/types.js.map +1 -0
  78. package/dist/src/capabilities/utils/assert-invocation-datatype.d.ts +7 -0
  79. package/dist/src/capabilities/utils/assert-invocation-datatype.js +13 -0
  80. package/dist/src/capabilities/utils/assert-invocation-datatype.js.map +1 -0
  81. package/dist/src/capabilities/utils/assert-invocation-method.d.ts +7 -0
  82. package/dist/src/capabilities/utils/assert-invocation-method.js +13 -0
  83. package/dist/src/capabilities/utils/assert-invocation-method.js.map +1 -0
  84. package/dist/src/capabilities/utils/assert-invocation.d.ts +7 -0
  85. package/dist/src/capabilities/utils/assert-invocation.js +22 -0
  86. package/dist/src/capabilities/utils/assert-invocation.js.map +1 -0
  87. package/dist/src/capabilities/utils/assert-non-nullish.d.ts +1 -0
  88. package/dist/src/capabilities/utils/assert-non-nullish.js +6 -0
  89. package/dist/src/capabilities/utils/assert-non-nullish.js.map +1 -0
  90. package/dist/src/capabilities/utils/create-readonly-account-validator.d.ts +49 -0
  91. package/dist/src/capabilities/utils/create-readonly-account-validator.js +80 -0
  92. package/dist/src/capabilities/utils/create-readonly-account-validator.js.map +1 -0
  93. package/dist/src/capabilities/vacationresponse/types.d.ts +100 -0
  94. package/dist/src/capabilities/vacationresponse/types.js +2 -0
  95. package/dist/src/capabilities/vacationresponse/types.js.map +1 -0
  96. package/dist/src/capabilities/vacationresponse/vacationresponse.d.ts +61 -0
  97. package/dist/src/capabilities/vacationresponse/vacationresponse.js +73 -0
  98. package/dist/src/capabilities/vacationresponse/vacationresponse.js.map +1 -0
  99. package/dist/src/capabilities/vacationresponse-capability.d.ts +65 -0
  100. package/dist/src/capabilities/vacationresponse-capability.js +68 -0
  101. package/dist/src/capabilities/vacationresponse-capability.js.map +1 -0
  102. package/dist/src/capability-registry/capability-registry.d.ts +148 -0
  103. package/dist/src/capability-registry/capability-registry.js +360 -0
  104. package/dist/src/capability-registry/capability-registry.js.map +1 -0
  105. package/dist/src/capability-registry/types.d.ts +385 -0
  106. package/dist/src/capability-registry/types.js +2 -0
  107. package/dist/src/capability-registry/types.js.map +1 -0
  108. package/dist/src/capability-registry/utils.d.ts +71 -0
  109. package/dist/src/capability-registry/utils.js +163 -0
  110. package/dist/src/capability-registry/utils.js.map +1 -0
  111. package/dist/src/common/registry.d.ts +366 -0
  112. package/dist/src/common/registry.js +321 -0
  113. package/dist/src/common/registry.js.map +1 -0
  114. package/dist/src/common/types.d.ts +338 -0
  115. package/dist/src/common/types.js +21 -0
  116. package/dist/src/common/types.js.map +1 -0
  117. package/dist/src/common/utils.d.ts +20 -0
  118. package/dist/src/common/utils.js +26 -0
  119. package/dist/src/common/utils.js.map +1 -0
  120. package/dist/src/index.d.ts +40 -0
  121. package/dist/src/index.js +33 -0
  122. package/dist/src/index.js.map +1 -0
  123. package/dist/src/invocation/arguments-proxy.d.ts +14 -0
  124. package/dist/src/invocation/arguments-proxy.js +37 -0
  125. package/dist/src/invocation/arguments-proxy.js.map +1 -0
  126. package/dist/src/invocation/error-invocation.d.ts +27 -0
  127. package/dist/src/invocation/error-invocation.js +39 -0
  128. package/dist/src/invocation/error-invocation.js.map +1 -0
  129. package/dist/src/invocation/invocation.d.ts +111 -0
  130. package/dist/src/invocation/invocation.js +158 -0
  131. package/dist/src/invocation/invocation.js.map +1 -0
  132. package/dist/src/invocation/result-reference.d.ts +86 -0
  133. package/dist/src/invocation/result-reference.js +118 -0
  134. package/dist/src/invocation/result-reference.js.map +1 -0
  135. package/dist/src/invocation/types.d.ts +637 -0
  136. package/dist/src/invocation/types.js +2 -0
  137. package/dist/src/invocation/types.js.map +1 -0
  138. package/dist/src/invocation/utils.d.ts +21 -0
  139. package/dist/src/invocation/utils.js +30 -0
  140. package/dist/src/invocation/utils.js.map +1 -0
  141. package/dist/src/invocation-factory/invocation-factory-manager.d.ts +20 -0
  142. package/dist/src/invocation-factory/invocation-factory-manager.js +50 -0
  143. package/dist/src/invocation-factory/invocation-factory-manager.js.map +1 -0
  144. package/dist/src/invocation-factory/invocation-list.d.ts +32 -0
  145. package/dist/src/invocation-factory/invocation-list.js +77 -0
  146. package/dist/src/invocation-factory/invocation-list.js.map +1 -0
  147. package/dist/src/invocation-factory/types.d.ts +11 -0
  148. package/dist/src/invocation-factory/types.js +2 -0
  149. package/dist/src/invocation-factory/types.js.map +1 -0
  150. package/dist/src/jmap-client/jmap-client.d.ts +252 -0
  151. package/dist/src/jmap-client/jmap-client.js +777 -0
  152. package/dist/src/jmap-client/jmap-client.js.map +1 -0
  153. package/dist/src/jmap-client/types.d.ts +427 -0
  154. package/dist/src/jmap-client/types.js +21 -0
  155. package/dist/src/jmap-client/types.js.map +1 -0
  156. package/dist/src/jmap-client/utils/abort-controller.d.ts +8 -0
  157. package/dist/src/jmap-client/utils/abort-controller.js +24 -0
  158. package/dist/src/jmap-client/utils/abort-controller.js.map +1 -0
  159. package/dist/src/jmap-client/utils/assert-connected.d.ts +7 -0
  160. package/dist/src/jmap-client/utils/assert-connected.js +11 -0
  161. package/dist/src/jmap-client/utils/assert-connected.js.map +1 -0
  162. package/dist/src/jmap-client/utils/deep-freeze.d.ts +7 -0
  163. package/dist/src/jmap-client/utils/deep-freeze.js +17 -0
  164. package/dist/src/jmap-client/utils/deep-freeze.js.map +1 -0
  165. package/dist/src/jmap-client/utils/emitter.d.ts +9 -0
  166. package/dist/src/jmap-client/utils/emitter.js +18 -0
  167. package/dist/src/jmap-client/utils/emitter.js.map +1 -0
  168. package/dist/src/jmap-client/utils/filter-session-capabilities.d.ts +22 -0
  169. package/dist/src/jmap-client/utils/filter-session-capabilities.js +40 -0
  170. package/dist/src/jmap-client/utils/filter-session-capabilities.js.map +1 -0
  171. package/dist/src/jmap-client/utils/jmap-request-error.d.ts +28 -0
  172. package/dist/src/jmap-client/utils/jmap-request-error.js +48 -0
  173. package/dist/src/jmap-client/utils/jmap-request-error.js.map +1 -0
  174. package/dist/src/jmap-client/utils/logger.d.ts +6 -0
  175. package/dist/src/jmap-client/utils/logger.js +22 -0
  176. package/dist/src/jmap-client/utils/logger.js.map +1 -0
  177. package/dist/src/jmap-client/utils/merge-headers.d.ts +11 -0
  178. package/dist/src/jmap-client/utils/merge-headers.js +40 -0
  179. package/dist/src/jmap-client/utils/merge-headers.js.map +1 -0
  180. package/dist/src/jmap-client/utils/template-utils.d.ts +27 -0
  181. package/dist/src/jmap-client/utils/template-utils.js +61 -0
  182. package/dist/src/jmap-client/utils/template-utils.js.map +1 -0
  183. package/dist/src/jmap-client/utils/track-utils.d.ts +19 -0
  184. package/dist/src/jmap-client/utils/track-utils.js +35 -0
  185. package/dist/src/jmap-client/utils/track-utils.js.map +1 -0
  186. package/dist/src/jmap-client/utils/transport.d.ts +12 -0
  187. package/dist/src/jmap-client/utils/transport.js +38 -0
  188. package/dist/src/jmap-client/utils/transport.js.map +1 -0
  189. package/dist/src/jmap-client/utils/validate-session.d.ts +19 -0
  190. package/dist/src/jmap-client/utils/validate-session.js +29 -0
  191. package/dist/src/jmap-client/utils/validate-session.js.map +1 -0
  192. package/dist/src/request-builder/request-builder.d.ts +95 -0
  193. package/dist/src/request-builder/request-builder.js +343 -0
  194. package/dist/src/request-builder/request-builder.js.map +1 -0
  195. package/dist/src/request-builder/types.d.ts +32 -0
  196. package/dist/src/request-builder/types.js +2 -0
  197. package/dist/src/request-builder/types.js.map +1 -0
  198. package/package.json +69 -3
@@ -0,0 +1,366 @@
1
+ /**
2
+ * Prefix for all IETF-registered JMAP capability URIs.
3
+ * @see {@link https://www.iana.org/assignments/jmap/jmap.xhtml IANA JMAP Capabilities Registry}
4
+ * @see {@link https://www.rfc-editor.org/rfc/rfc8620.html#section-2 RFC 8620 Section 2}
5
+ */
6
+ export declare const JMAP_CAPABILITY_PREFIX = "urn:ietf:params:jmap:";
7
+ /**
8
+ * Prefix for JMAP request-level error types.
9
+ * @see {@link https://www.rfc-editor.org/rfc/rfc8620.html#section-9.4.7 Registration for JMAP Error Placeholder in JMAP Capabilities Registry - RFC 8620 Section 9.4.7}
10
+
11
+ */
12
+ export declare const ERROR_CAPABILITY_PREFIX = "urn:ietf:params:jmap:error:";
13
+ /**
14
+ * JMAP Blob management capability.
15
+ * @see {@link https://www.iana.org/assignments/jmap/jmap.xhtml IANA JMAP Capabilities Registry}
16
+ * @see {@link https://www.rfc-editor.org/rfc/rfc9404.html#section-6.1 JMAP Capability Registration for "blob" - RFC 9404 Section 6.1}
17
+ */
18
+ export declare const BLOB_CAPABILITY_URI = "urn:ietf:params:jmap:blob";
19
+ /**
20
+ * JMAP Core capability. This capability is always supported by all JMAP servers.
21
+ * @see {@link https://www.iana.org/assignments/jmap/jmap.xhtml IANA JMAP Capabilities Registry}
22
+ * @see {@link https://www.rfc-editor.org/rfc/rfc8620.html#section-9.4.6 Initial Registration for JMAP Core - RFC 8620 Section 9.4.6}
23
+
24
+ */
25
+ export declare const CORE_CAPABILITY_URI = "urn:ietf:params:jmap:core";
26
+ /**
27
+ * JMAP Mail capability.
28
+ * @see {@link https://www.iana.org/assignments/jmap/jmap.xhtml IANA JMAP Capabilities Registry}
29
+ * @see {@link https://www.rfc-editor.org/rfc/rfc8621#section-10.1 JMAP Capability Registration for "mail" - RFC 8621 Section 10.1}
30
+
31
+ */
32
+ export declare const EMAIL_CAPABILITY_URI = "urn:ietf:params:jmap:mail";
33
+ /**
34
+ * JMAP Submission capability.
35
+ * @see {@link https://www.iana.org/assignments/jmap/jmap.xhtml IANA JMAP Capabilities Registry}
36
+ * @see {@link https://www.rfc-editor.org/rfc/rfc8621#section-10.2 JMAP Capability Registration for "submission" - RFC 8621 Section 10.2}
37
+
38
+ */
39
+ export declare const SUBMISSION_CAPABILITY_URI = "urn:ietf:params:jmap:submission";
40
+ /**
41
+ * JMAP Vacation Response capability.
42
+ * @see {@link https://www.iana.org/assignments/jmap/jmap.xhtml IANA JMAP Capabilities Registry}
43
+ * @see {@link https://www.rfc-editor.org/rfc/rfc8621#section-10.3 JMAP Capability Registration for "vacationresponse" - RFC 8621 Section 10.3}
44
+
45
+ */
46
+ export declare const VACATIONRESPONSE_CAPABILITY_URI = "urn:ietf:params:jmap:vacationresponse";
47
+ /**
48
+ * JMAP Message Disposition Notification (MDN) capability.
49
+ * @see {@link https://www.iana.org/assignments/jmap/jmap.xhtml IANA JMAP Capabilities Registry}
50
+ * @see {@link https://www.rfc-editor.org/rfc/rfc9007.html#section-4.1 JMAP Capability Registration for "mdn" - RFC 9007 Section 4.1}
51
+ */
52
+ export declare const MDN_CAPABILITY_URI = "urn:ietf:params:jmap:mdn";
53
+ /**
54
+ * JMAP S/MIME Signature Verification capability.
55
+ * @see {@link https://www.iana.org/assignments/jmap/jmap.xhtml IANA JMAP Capabilities Registry}
56
+ * @see {@link https://www.rfc-editor.org/rfc/rfc9219.html#section-5.1 JMAP Capability Registration for "smimeverify" - RFC 9219 Section 5.1}
57
+ */
58
+ export declare const SMIMEVERIFY_CAPABILITY_URI = "urn:ietf:params:jmap:smimeverify";
59
+ /**
60
+ * JMAP Quotas capability.
61
+ * @see {@link https://www.iana.org/assignments/jmap/jmap.xhtml IANA JMAP Capabilities Registry}
62
+ * @see {@link https://www.rfc-editor.org/rfc/rfc9425.html#section-7.1 JMAP Capability Registration for "quota" - RFC 9425 Section 7.1}
63
+ */
64
+ export declare const QUOTA_CAPABILITY_URI = "urn:ietf:params:jmap:quota";
65
+ /**
66
+ * JMAP WebPush VAPID capability.
67
+ * @see {@link https://www.iana.org/assignments/jmap/jmap.xhtml IANA JMAP Capabilities Registry}
68
+ * @see {@link https://www.rfc-editor.org/rfc/rfc9749.html#section-7.1 JMAP Capability Registration for VAPID - RFC 9749 Section 7.1}
69
+ */
70
+ export declare const WEBPUSH_VAPID_CAPABILITY_URI = "urn:ietf:params:jmap:webpush-vapid";
71
+ /**
72
+ * JMAP Calendars capability.
73
+ * @see {@link https://www.iana.org/assignments/jmap/jmap.xhtml IANA JMAP Capabilities Registry}
74
+ * @see {@link https://datatracker.ietf.org/doc/html/draft-ietf-jmap-calendars#section-10.1 JMAP Capability Registration for "calendars" - Draft IETF JMAP Calendars Section 10.1}
75
+
76
+ */
77
+ export declare const CALENDARS_CAPABILITY_URI = "urn:ietf:params:jmap:calendars";
78
+ /**
79
+ * JMAP Calendar event parsing capability.
80
+ * @see {@link https://www.iana.org/assignments/jmap/jmap.xhtml IANA JMAP Capabilities Registry}
81
+ * @see {@link https://datatracker.ietf.org/doc/html/draft-ietf-jmap-calendars#section-1.5.3 Draft IETF JMAP Calendars Section 1.5.3}
82
+
83
+ */
84
+ export declare const CALENDARS_PARSE_CAPABILITY_URI = "urn:ietf:params:jmap:calendars:parse";
85
+ /**
86
+ * JMAP Principals capability.
87
+ * @see {@link https://www.iana.org/assignments/jmap/jmap.xhtml IANA JMAP Capabilities Registry}
88
+ * @see {@link https://www.rfc-editor.org/rfc/rfc9670.html#section-7.1 JMAP Capability Registration for "principals" - RFC 9670 Section 7.1}
89
+
90
+ */
91
+ export declare const PRINCIPALS_CAPABILITY_URI = "urn:ietf:params:jmap:principals";
92
+ /**
93
+ * JMAP Service Provider availability capability.
94
+ * @see {@link https://www.iana.org/assignments/jmap/jmap.xhtml IANA JMAP Capabilities Registry}
95
+ * @see {@link https://datatracker.ietf.org/doc/html/draft-ietf-jmap-calendars#section-10.2 JMAP Capability Registration for "principals:availability" - Draft IETF JMAP Calendars Section 10.2}
96
+
97
+ */
98
+ export declare const PRINCIPALS_AVAILABILITY_CAPABILITY_URI = "urn:ietf:params:jmap:principals:availability";
99
+ /**
100
+ * JMAP Principal owner capability.
101
+ * @see {@link https://www.iana.org/assignments/jmap/jmap.xhtml IANA JMAP Capabilities Registry}
102
+ * @see {@link https://www.rfc-editor.org/rfc/rfc9670.html#section-7.2 JMAP Capability Registration for "principals:owner" - RFC 9670 Section 7.2}
103
+
104
+ */
105
+ export declare const PRINCIPALS_OWNER_CAPABILITY_URI = "urn:ietf:params:jmap:principals:owner";
106
+ /**
107
+ * JMAP Contacts capability.
108
+ * @see {@link https://www.iana.org/assignments/jmap/jmap.xhtml IANA JMAP Capabilities Registry}
109
+ * @see {@link https://www.rfc-editor.org/rfc/rfc9610.html#section-7.1 JMAP Capability Registration for "contacts" - RFC 9610 Section 7.1}
110
+
111
+ */
112
+ export declare const CONTACTS_CAPABILITY_URI = "urn:ietf:params:jmap:contacts";
113
+ /**
114
+ * JMAP Tasks capability.
115
+ * @see {@link https://www.iana.org/assignments/jmap/jmap.xhtml IANA JMAP Capabilities Registry}
116
+ * @see {@link https://datatracker.ietf.org/doc/html/draft-ietf-jmap-tasks#section-7.1 JMAP Capability Registration for "tasks" - Draft IETF JMAP Tasks Section 7.1}
117
+
118
+ */
119
+ export declare const TASKS_CAPABILITY_URI = "urn:ietf:params:jmap:tasks";
120
+ /**
121
+ * JMAP Tasks Recurrences capability.
122
+ * @see {@link https://www.iana.org/assignments/jmap/jmap.xhtml IANA JMAP Capabilities Registry}
123
+ * @see {@link https://datatracker.ietf.org/doc/html/draft-ietf-jmap-tasks#section-7.2 JMAP Capability Registration for "tasks:recurrences" - Draft IETF JMAP Tasks Section 7.2}
124
+
125
+ */
126
+ export declare const TASKS_RECURRENCES_CAPABILITY_URI = "urn:ietf:params:jmap:tasks:recurrences";
127
+ /**
128
+ * JMAP Tasks Assignees capability.
129
+ * @see {@link https://www.iana.org/assignments/jmap/jmap.xhtml IANA JMAP Capabilities Registry}
130
+ * @see {@link https://datatracker.ietf.org/doc/html/draft-ietf-jmap-tasks#section-7.3 JMAP Capability Registration for "tasks:assignees" - Draft IETF JMAP Tasks Section 7.3}
131
+
132
+ */
133
+ export declare const TASKS_ASSIGNEES_CAPABILITY_URI = "urn:ietf:params:jmap:tasks:assignees";
134
+ /**
135
+ * JMAP Tasks Alerts capability.
136
+ * @see {@link https://www.iana.org/assignments/jmap/jmap.xhtml IANA JMAP Capabilities Registry}
137
+ * @see {@link https://datatracker.ietf.org/doc/html/draft-ietf-jmap-tasks#section-7.4 JMAP Capability Registration for "tasks:alerts" - Draft IETF JMAP Tasks Section 7.4}
138
+
139
+ */
140
+ export declare const TASKS_ALERTS_CAPABILITY_URI = "urn:ietf:params:jmap:tasks:alerts";
141
+ /**
142
+ * JMAP Tasks Multilingual capability.
143
+ * @see {@link https://www.iana.org/assignments/jmap/jmap.xhtml IANA JMAP Capabilities Registry}
144
+ * @see {@link https://datatracker.ietf.org/doc/html/draft-ietf-jmap-tasks#section-7.5 JMAP Capability Registration for "tasks:multilingual" - Draft IETF JMAP Tasks Section 7.5}
145
+
146
+ */
147
+ export declare const TASKS_MULTILINGUAL_CAPABILITY_URI = "urn:ietf:params:jmap:tasks:multilingual";
148
+ /**
149
+ * JMAP Tasks Custom Timezones capability.
150
+ * @see {@link https://www.iana.org/assignments/jmap/jmap.xhtml IANA JMAP Capabilities Registry}
151
+ * @see {@link https://datatracker.ietf.org/doc/html/draft-ietf-jmap-tasks#section-7.6 JMAP Capability Registration for "tasks:customtimezones" - Draft IETF JMAP Tasks Section 7.6}
152
+
153
+ */
154
+ export declare const TASKS_CUSTOMTIMEZONES_CAPABILITY_URI = "urn:ietf:params:jmap:tasks:customtimezones";
155
+ /**
156
+ * FastMail Masked Email capability. This is a vendor-specific extension.
157
+ * @see {@link https://www.fastmail.com/dev/#masked-email-api FastMail Masked Email API Documentation}
158
+ */
159
+ export declare const MASKED_EMAIL_CAPABILITY_URI = "https://www.fastmail.com/dev/maskedemail";
160
+ export type BLOB_CAPABILITY_URI = typeof BLOB_CAPABILITY_URI;
161
+ export type CORE_CAPABILITY_URI = typeof CORE_CAPABILITY_URI;
162
+ export type EMAIL_CAPABILITY_URI = typeof EMAIL_CAPABILITY_URI;
163
+ export type SUBMISSION_CAPABILITY_URI = typeof SUBMISSION_CAPABILITY_URI;
164
+ export type VACATIONRESPONSE_CAPABILITY_URI = typeof VACATIONRESPONSE_CAPABILITY_URI;
165
+ export type MDN_CAPABILITY_URI = typeof MDN_CAPABILITY_URI;
166
+ export type SMIMEVERIFY_CAPABILITY_URI = typeof SMIMEVERIFY_CAPABILITY_URI;
167
+ export type QUOTA_CAPABILITY_URI = typeof QUOTA_CAPABILITY_URI;
168
+ export type WEBPUSH_VAPID_CAPABILITY_URI = typeof WEBPUSH_VAPID_CAPABILITY_URI;
169
+ export type CALENDARS_CAPABILITY_URI = typeof CALENDARS_CAPABILITY_URI;
170
+ export type CALENDARS_PARSE_CAPABILITY_URI = typeof CALENDARS_PARSE_CAPABILITY_URI;
171
+ export type PRINCIPALS_CAPABILITY_URI = typeof PRINCIPALS_CAPABILITY_URI;
172
+ export type PRINCIPALS_AVAILABILITY_CAPABILITY_URI = typeof PRINCIPALS_AVAILABILITY_CAPABILITY_URI;
173
+ export type PRINCIPALS_OWNER_CAPABILITY_URI = typeof PRINCIPALS_OWNER_CAPABILITY_URI;
174
+ export type CONTACTS_CAPABILITY_URI = typeof CONTACTS_CAPABILITY_URI;
175
+ export type TASKS_CAPABILITY_URI = typeof TASKS_CAPABILITY_URI;
176
+ export type TASKS_RECURRENCES_CAPABILITY_URI = typeof TASKS_RECURRENCES_CAPABILITY_URI;
177
+ export type TASKS_ASSIGNEES_CAPABILITY_URI = typeof TASKS_ASSIGNEES_CAPABILITY_URI;
178
+ export type TASKS_ALERTS_CAPABILITY_URI = typeof TASKS_ALERTS_CAPABILITY_URI;
179
+ export type TASKS_MULTILINGUAL_CAPABILITY_URI = typeof TASKS_MULTILINGUAL_CAPABILITY_URI;
180
+ export type TASKS_CUSTOMTIMEZONES_CAPABILITY_URI = typeof TASKS_CUSTOMTIMEZONES_CAPABILITY_URI;
181
+ export type MASKED_EMAIL_CAPABILITY_URI = typeof MASKED_EMAIL_CAPABILITY_URI;
182
+ /**
183
+ * Core data type for JMAP Core objects.
184
+ * @see {@link https://www.rfc-editor.org/rfc/rfc8620.html#section-4 The Core/Echo Method - RFC 8620 Section 4 }
185
+
186
+ */ export declare const CORE_DATA_TYPE = "Core";
187
+ /**
188
+ * Blob data type for binary data management.
189
+ * @see {@link https://www.rfc-editor.org/rfc/rfc8620.html#section-6 Binary Data - RFC 8620 Section 6}
190
+ * @see {@link https://www.rfc-editor.org/rfc/rfc9404.html#name-blob-methods Blob Methods - RFC 9404 Section 4}
191
+
192
+ */
193
+ export declare const BLOB_DATA_TYPE = "Blob";
194
+ /**
195
+ * PushSubscription data type for push notifications.
196
+ * @see {@link https://www.rfc-editor.org/rfc/rfc8620.html#section-7.2 PushSubscription - RFC 8620 Section 7.2}
197
+
198
+ */
199
+ export declare const PUSHSUBSCRIPTION_DATA_TYPE = "PushSubscription";
200
+ /**
201
+ * Mailbox data type for email mailbox objects.
202
+ * @see {@link https://www.rfc-editor.org/rfc/rfc8621.html#section-2 Mailboxes - RFC 8621 Section 2}
203
+
204
+ */
205
+ export declare const MAILBOX_DATA_TYPE = "Mailbox";
206
+ /**
207
+ * Thread data type for email thread objects.
208
+ * @see {@link https://www.rfc-editor.org/rfc/rfc8621.html#section-3 Threads - RFC 8621 Section 3}
209
+
210
+ */
211
+ export declare const THREAD_DATA_TYPE = "Thread";
212
+ /**
213
+ * Email data type for email message objects.
214
+ * @see {@link https://www.rfc-editor.org/rfc/rfc8621.html#section-4 Emails - RFC 8621 Section 4}
215
+
216
+ */
217
+ export declare const EMAIL_DATA_TYPE = "Email";
218
+ /**
219
+ * EmailDelivery data type for push notifications. Has no methods; exists only to notify clients when new emails are added.
220
+ * @see {@link https://www.rfc-editor.org/rfc/rfc8621.html#section-1.5 Push - RFC 8621 Section 1.5}
221
+
222
+ */
223
+ export declare const EMAILDELIVERY_DATA_TYPE = "EmailDelivery";
224
+ /**
225
+ * SearchSnippet data type for email search result snippets.
226
+ * @see {@link https://www.rfc-editor.org/rfc/rfc8621.html#section-5 Search Snippets - RFC 8621 Section 5}
227
+
228
+ */
229
+ export declare const SEARCHSNIPPET_DATA_TYPE = "SearchSnippet";
230
+ /**
231
+ * Identity data type for sender identities in email submission.
232
+ * @see {@link https://www.rfc-editor.org/rfc/rfc8621.html#section-6 Identity - RFC 8621 Section 6}
233
+
234
+ */
235
+ export declare const IDENTITY_DATA_TYPE = "Identity";
236
+ /**
237
+ * EmailSubmission data type for email submission objects.
238
+ * @see {@link https://www.rfc-editor.org/rfc/rfc8621.html#section-7 Email Submission - RFC 8621 Section 7}
239
+
240
+ */
241
+ export declare const EMAILSUBMISSION_DATA_TYPE = "EmailSubmission";
242
+ /**
243
+ * VacationResponse data type for vacation/out-of-office responses.
244
+ * @see {@link https://www.rfc-editor.org/rfc/rfc8621.html#section-8 Vacation Response - RFC 8621 Section 8}
245
+
246
+ */
247
+ export declare const VACATIONRESPONSE_DATA_TYPE = "VacationResponse";
248
+ /**
249
+ * MDN (Message Disposition Notification) data type.
250
+ * @see {@link https://www.rfc-editor.org/rfc/rfc9007.html#section-2 MDN - RFC 9007 Section 2}
251
+ */
252
+ export declare const MDN_DATA_TYPE = "MDN";
253
+ /**
254
+ * Quota data type for quota management.
255
+ * @see {@link https://www.rfc-editor.org/rfc/rfc9425.html#section-4 Quota - RFC 9425 Section 4}
256
+ */
257
+ export declare const QUOTA_DATA_TYPE = "Quota";
258
+ /**
259
+ * SieveScript data type for Sieve script management.
260
+ * @see {@link https://www.rfc-editor.org/rfc/rfc9661.html#section-2 SieveScript - RFC 9661 Section 2}
261
+ */
262
+ export declare const SIEVESCRIPT_DATA_TYPE = "SieveScript";
263
+ /**
264
+ * Principal data type for principal objects.
265
+ * @see {@link https://www.rfc-editor.org/rfc/rfc9670.html#section-2 Principals - RFC 9670 Section 2}
266
+
267
+ */
268
+ export declare const PRINCIPAL_DATA_TYPE = "Principal";
269
+ /**
270
+ * ShareNotification data type for share notifications.
271
+ * @see {@link https://www.rfc-editor.org/rfc/rfc9670.html#section-3 ShareNotifications - RFC 9670 Section 3}
272
+
273
+ */
274
+ export declare const SHARENOTIFICATION_DATA_TYPE = "ShareNotification";
275
+ /**
276
+ * AddressBook data type for address book objects.
277
+ * @see {@link https://www.rfc-editor.org/rfc/rfc9610.html#section-2 AddressBooks - RFC 9610 Section 2}
278
+
279
+ */
280
+ export declare const ADDRESSBOOK_DATA_TYPE = "AddressBook";
281
+ /**
282
+ * ContactCard data type for contact card objects.
283
+ * @see {@link https://www.rfc-editor.org/rfc/rfc9610.html#section-3 ContactCards - RFC 9610 Section 3}
284
+
285
+ */
286
+ export declare const CONTACTCARD_DATA_TYPE = "ContactCard";
287
+ /**
288
+ * Calendar data type for calendar objects.
289
+ * @see {@link https://datatracker.ietf.org/doc/html/draft-ietf-jmap-calendars#section-4 Calendars - Draft IETF JMAP Calendars Section 4}
290
+
291
+ */
292
+ export declare const CALENDAR_DATA_TYPE = "Calendar";
293
+ /**
294
+ * CalendarEvent data type for calendar event objects.
295
+ * @see {@link https://datatracker.ietf.org/doc/html/draft-ietf-jmap-calendars#section-5 Calendar Events - Draft IETF JMAP Calendars Section 5}
296
+
297
+ */
298
+ export declare const CALENDAREVENT_DATA_TYPE = "CalendarEvent";
299
+ /**
300
+ * CalendarEventNotification data type for calendar event notifications.
301
+ * @see {@link https://datatracker.ietf.org/doc/html/draft-ietf-jmap-calendars#section-7 Calendar Event Notifications - Draft IETF JMAP Calendars Section 7}
302
+
303
+ */
304
+ export declare const CALENDAREVENTNOTIFICATION_DATA_TYPE = "CalendarEventNotification";
305
+ /**
306
+ * ParticipantIdentity data type for participant identity objects.
307
+ * @see {@link https://datatracker.ietf.org/doc/html/draft-ietf-jmap-calendars#section-3 Participant Identities - Draft IETF JMAP Calendars Section 3}
308
+
309
+ */
310
+ export declare const PARTICIPANTIDENTITY_DATA_TYPE = "ParticipantIdentity";
311
+ /**
312
+ * MaskedEmail data type for FastMail's masked email feature.
313
+ * @see {@link https://www.fastmail.com/dev/#masked-email-api FastMail Masked Email API Documentation}
314
+ */
315
+ export declare const MASKED_EMAIL_TYPE = "MaskedEmail";
316
+ export type CORE_DATA_TYPE = typeof CORE_DATA_TYPE;
317
+ export type BLOB_DATA_TYPE = typeof BLOB_DATA_TYPE;
318
+ export type PUSHSUBSCRIPTION_DATA_TYPE = typeof PUSHSUBSCRIPTION_DATA_TYPE;
319
+ export type MAILBOX_DATA_TYPE = typeof MAILBOX_DATA_TYPE;
320
+ export type THREAD_DATA_TYPE = typeof THREAD_DATA_TYPE;
321
+ export type EMAIL_DATA_TYPE = typeof EMAIL_DATA_TYPE;
322
+ export type EMAILDELIVERY_DATA_TYPE = typeof EMAILDELIVERY_DATA_TYPE;
323
+ export type SEARCHSNIPPET_DATA_TYPE = typeof SEARCHSNIPPET_DATA_TYPE;
324
+ export type IDENTITY_DATA_TYPE = typeof IDENTITY_DATA_TYPE;
325
+ export type EMAILSUBMISSION_DATA_TYPE = typeof EMAILSUBMISSION_DATA_TYPE;
326
+ export type VACATIONRESPONSE_DATA_TYPE = typeof VACATIONRESPONSE_DATA_TYPE;
327
+ export type MDN_DATA_TYPE = typeof MDN_DATA_TYPE;
328
+ export type QUOTA_DATA_TYPE = typeof QUOTA_DATA_TYPE;
329
+ export type SIEVESCRIPT_DATA_TYPE = typeof SIEVESCRIPT_DATA_TYPE;
330
+ export type PRINCIPAL_DATA_TYPE = typeof PRINCIPAL_DATA_TYPE;
331
+ export type SHARENOTIFICATION_DATA_TYPE = typeof SHARENOTIFICATION_DATA_TYPE;
332
+ export type ADDRESSBOOK_DATA_TYPE = typeof ADDRESSBOOK_DATA_TYPE;
333
+ export type CONTACTCARD_DATA_TYPE = typeof CONTACTCARD_DATA_TYPE;
334
+ export type CALENDAR_DATA_TYPE = typeof CALENDAR_DATA_TYPE;
335
+ export type CALENDAREVENT_DATA_TYPE = typeof CALENDAREVENT_DATA_TYPE;
336
+ export type CALENDAREVENTNOTIFICATION_DATA_TYPE = typeof CALENDAREVENTNOTIFICATION_DATA_TYPE;
337
+ export type PARTICIPANTIDENTITY_DATA_TYPE = typeof PARTICIPANTIDENTITY_DATA_TYPE;
338
+ export type MASKED_EMAIL_TYPE = typeof MASKED_EMAIL_TYPE;
339
+ /**
340
+ * The client included a capability in the "using" property of the request
341
+ * that the server does not support.
342
+ * @see {@link https://www.rfc-editor.org/rfc/rfc8620.html#section-3.6.1 RFC 8620 Section 3.6.1 - Request-Level Errors}
343
+ */
344
+ export declare const UNKNOWN_CAPABILITY = "urn:ietf:params:jmap:error:unknownCapability";
345
+ export type UNKNOWN_CAPABILITY = typeof UNKNOWN_CAPABILITY;
346
+ /**
347
+ * The content type of the request was not application/json or the request
348
+ * did not parse as I-JSON.
349
+ * @see {@link https://www.rfc-editor.org/rfc/rfc8620.html#section-3.6.1 RFC 8620 Section 3.6.1 - Request-Level Errors}
350
+ */
351
+ export declare const NOT_JSON = "urn:ietf:params:jmap:error:notJSON";
352
+ export type NOT_JSON = typeof NOT_JSON;
353
+ /**
354
+ * The request parsed as JSON but did not match the type signature of the Request object.
355
+ * @see {@link https://www.rfc-editor.org/rfc/rfc8620.html#section-3.6.1 RFC 8620 Section 3.6.1 - Request-Level Errors}
356
+ */
357
+ export declare const NOT_REQUEST = "urn:ietf:params:jmap:error:notRequest";
358
+ export type NOT_REQUEST = typeof NOT_REQUEST;
359
+ /**
360
+ * The request was rejected due to a server-defined limit.
361
+ * A "limit" property MUST also be present on the "problem details" object,
362
+ * containing the name of the limit being applied.
363
+ * @see {@link https://www.rfc-editor.org/rfc/rfc8620.html#section-3.6.1 RFC 8620 Section 3.6.1 - Request-Level Errors}
364
+ */
365
+ export declare const LIMIT = "urn:ietf:params:jmap:error:limit";
366
+ export type LIMIT = typeof LIMIT;