@remit/domain-enums 0.0.1

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 (3) hide show
  1. package/enums.d.ts +390 -0
  2. package/enums.js +390 -0
  3. package/package.json +15 -0
package/enums.d.ts ADDED
@@ -0,0 +1,390 @@
1
+ export declare const IndexType: {
2
+ readonly "clustered": "clustered";
3
+ readonly "isolated": "isolated"
4
+ };
5
+
6
+ export declare const DateTimeKnownEncoding: {
7
+ readonly "rfc3339": "rfc3339";
8
+ readonly "rfc7231": "rfc7231";
9
+ readonly "unixTimestamp": "unixTimestamp"
10
+ };
11
+
12
+ export declare const DurationKnownEncoding: {
13
+ readonly "ISO8601": "ISO8601";
14
+ readonly "seconds": "seconds";
15
+ readonly "milliseconds": "milliseconds"
16
+ };
17
+
18
+ export declare const BytesKnownEncoding: {
19
+ readonly "base64": "base64";
20
+ readonly "base64url": "base64url"
21
+ };
22
+
23
+ export declare const ArrayEncoding: {
24
+ readonly "pipeDelimited": "pipeDelimited";
25
+ readonly "spaceDelimited": "spaceDelimited";
26
+ readonly "commaDelimited": "commaDelimited";
27
+ readonly "newlineDelimited": "newlineDelimited"
28
+ };
29
+
30
+ export declare const Lifecycle: {
31
+ readonly "Create": "Create";
32
+ readonly "Read": "Read";
33
+ readonly "Update": "Update";
34
+ readonly "Delete": "Delete";
35
+ readonly "Query": "Query"
36
+ };
37
+
38
+ export declare const ApiKeyLocation: {
39
+ readonly "header": "header";
40
+ readonly "query": "query";
41
+ readonly "cookie": "cookie"
42
+ };
43
+
44
+ export declare const AuthType: {
45
+ readonly "http": "http";
46
+ readonly "apiKey": "apiKey";
47
+ readonly "oauth2": "oauth2";
48
+ readonly "openIdConnect": "openIdConnect";
49
+ readonly "noAuth": "noAuth"
50
+ };
51
+
52
+ export declare const OAuth2FlowType: {
53
+ readonly "authorizationCode": "authorizationCode";
54
+ readonly "implicit": "implicit";
55
+ readonly "password": "password";
56
+ readonly "clientCredentials": "clientCredentials"
57
+ };
58
+
59
+ export declare const MergePatchVisibilityMode: {
60
+ readonly "Update": "Update";
61
+ readonly "CreateOrUpdate": "CreateOrUpdate"
62
+ };
63
+
64
+ export declare const AccountExportState: {
65
+ readonly "Pending": "Pending";
66
+ readonly "Processing": "Processing";
67
+ readonly "Ready": "Ready";
68
+ readonly "Failed": "Failed"
69
+ };
70
+
71
+ export declare const AccountConfigState: {
72
+ readonly "Active": "active";
73
+ readonly "Deleting": "deleting"
74
+ };
75
+
76
+ export declare const AccountAuthType: {
77
+ readonly "Password": "password";
78
+ readonly "OauthMicrosoft": "oauthMicrosoft"
79
+ };
80
+
81
+ export declare const ConnectionState: {
82
+ readonly "NotAuthenticated": "not_authenticated";
83
+ readonly "Authenticated": "authenticated";
84
+ readonly "Selected": "selected";
85
+ readonly "Logout": "logout";
86
+ readonly "ReauthRequired": "reauth_required"
87
+ };
88
+
89
+ export declare const SyncPhase: {
90
+ readonly "idle": "idle";
91
+ readonly "discovering_mailboxes": "discovering_mailboxes";
92
+ readonly "syncing_inbox": "syncing_inbox";
93
+ readonly "syncing_others": "syncing_others";
94
+ readonly "complete": "complete";
95
+ readonly "error": "error"
96
+ };
97
+
98
+ export declare const CanonicalMailboxRole: {
99
+ readonly "Inbox": "Inbox";
100
+ readonly "Drafts": "Drafts";
101
+ readonly "Sent": "Sent";
102
+ readonly "Archive": "Archive";
103
+ readonly "Junk": "Junk";
104
+ readonly "Trash": "Trash";
105
+ readonly "All": "All";
106
+ readonly "Flagged": "Flagged"
107
+ };
108
+
109
+ export declare const NamespaceType: {
110
+ readonly "Personal": "personal";
111
+ readonly "OtherUsers": "other_users";
112
+ readonly "Shared": "shared"
113
+ };
114
+
115
+ export declare const MailboxSyncStatus: {
116
+ readonly "synced": "synced";
117
+ readonly "pending": "pending";
118
+ readonly "failed": "failed";
119
+ readonly "deleting": "deleting"
120
+ };
121
+
122
+ export declare const MailboxCursorState: {
123
+ readonly "normal": "normal";
124
+ readonly "cursor_invalid": "cursor_invalid";
125
+ readonly "rebuilding": "rebuilding"
126
+ };
127
+
128
+ export declare const MailboxSpecialUse: {
129
+ readonly "All": "All";
130
+ readonly "Archive": "Archive";
131
+ readonly "Drafts": "Drafts";
132
+ readonly "Flagged": "Flagged";
133
+ readonly "Junk": "Junk";
134
+ readonly "Sent": "Sent";
135
+ readonly "Trash": "Trash";
136
+ readonly "Important": "Important"
137
+ };
138
+
139
+ export declare const FilterScope: {
140
+ readonly "Standing": "Standing";
141
+ readonly "Temporary": "Temporary"
142
+ };
143
+
144
+ export declare const FilterState: {
145
+ readonly "Active": "Active";
146
+ readonly "Expired": "Expired"
147
+ };
148
+
149
+ export declare const FilterMatchOperator: {
150
+ readonly "And": "And";
151
+ readonly "Or": "Or"
152
+ };
153
+
154
+ export declare const FilterClauseField: {
155
+ readonly "From": "From";
156
+ readonly "Subject": "Subject";
157
+ readonly "HasWords": "HasWords"
158
+ };
159
+
160
+ export declare const OrganizeJobState: {
161
+ readonly "Pending": "Pending";
162
+ readonly "Running": "Running";
163
+ readonly "Complete": "Complete";
164
+ readonly "Failed": "Failed"
165
+ };
166
+
167
+ export declare const SortOrder: {
168
+ readonly "asc": "asc";
169
+ readonly "desc": "desc"
170
+ };
171
+
172
+ export declare const StarColor: {
173
+ readonly "None": "none";
174
+ readonly "Yellow": "yellow";
175
+ readonly "Orange": "orange";
176
+ readonly "Red": "red";
177
+ readonly "Purple": "purple";
178
+ readonly "Blue": "blue";
179
+ readonly "Teal": "teal";
180
+ readonly "Green": "green";
181
+ readonly "YellowBang": "yellow_bang";
182
+ readonly "RedBang": "red_bang";
183
+ readonly "PurpleQuestion": "purple_question";
184
+ readonly "BlueInfo": "blue_info";
185
+ readonly "OrangeGuillemet": "orange_guillemet";
186
+ readonly "GreenCheck": "green_check";
187
+ readonly "YellowCheck": "yellow_check";
188
+ readonly "BlueStar": "blue_star"
189
+ };
190
+
191
+ export declare const MessageCategory: {
192
+ readonly "uncategorized": "uncategorized";
193
+ readonly "personal": "personal";
194
+ readonly "newsletter": "newsletter";
195
+ readonly "marketing": "marketing";
196
+ readonly "automated": "automated";
197
+ readonly "transactional": "transactional";
198
+ readonly "social": "social"
199
+ };
200
+
201
+ export declare const SenderTrust: {
202
+ readonly "Unknown": "unknown";
203
+ readonly "Wellknown": "wellknown";
204
+ readonly "Vip": "vip"
205
+ };
206
+
207
+ export declare const PlacementAction: {
208
+ readonly "MoveToInbox": "MoveToInbox";
209
+ readonly "MoveToJunk": "MoveToJunk"
210
+ };
211
+
212
+ export declare const SemanticSearchChunkType: {
213
+ readonly "sender": "sender";
214
+ readonly "recipient": "recipient";
215
+ readonly "subject": "subject";
216
+ readonly "attachment": "attachment";
217
+ readonly "body": "body";
218
+ readonly "entities": "entities"
219
+ };
220
+
221
+ export declare const OutboxMessageStatus: {
222
+ readonly "draft": "draft";
223
+ readonly "queued": "queued";
224
+ readonly "sending": "sending";
225
+ readonly "sent": "sent";
226
+ readonly "failed": "failed";
227
+ readonly "blocked": "blocked"
228
+ };
229
+
230
+ export declare const MessageStatus: {
231
+ readonly "active": "active";
232
+ readonly "deleting": "deleting";
233
+ readonly "deleted": "deleted";
234
+ readonly "moving": "moving"
235
+ };
236
+
237
+ export declare const MessageSyncStatus: {
238
+ readonly "synced": "synced";
239
+ readonly "pending": "pending";
240
+ readonly "failed": "failed"
241
+ };
242
+
243
+ export declare const AuthResultVerdict: {
244
+ readonly "Pass": "Pass";
245
+ readonly "Fail": "Fail";
246
+ readonly "None": "None";
247
+ readonly "Neutral": "Neutral";
248
+ readonly "Softfail": "Softfail"
249
+ };
250
+
251
+ export declare const PlacementConfidence: {
252
+ readonly "Confident": "Confident";
253
+ readonly "Unsure": "Unsure"
254
+ };
255
+
256
+ export declare const AddressRole: {
257
+ readonly "From": "from";
258
+ readonly "Sender": "sender";
259
+ readonly "ReplyTo": "reply_to";
260
+ readonly "To": "to";
261
+ readonly "Cc": "cc";
262
+ readonly "Bcc": "bcc"
263
+ };
264
+
265
+ export declare const MediaType: {
266
+ readonly "Text": "TEXT";
267
+ readonly "Image": "IMAGE";
268
+ readonly "Audio": "AUDIO";
269
+ readonly "Video": "VIDEO";
270
+ readonly "Application": "APPLICATION";
271
+ readonly "Multipart": "MULTIPART";
272
+ readonly "Message": "MESSAGE"
273
+ };
274
+
275
+ export declare const TransferEncoding: {
276
+ readonly "SevenBit": "7BIT";
277
+ readonly "EightBit": "8BIT";
278
+ readonly "Binary": "BINARY";
279
+ readonly "Base64": "BASE64";
280
+ readonly "QuotedPrintable": "QUOTED-PRINTABLE"
281
+ };
282
+
283
+ export declare const ContentDisposition: {
284
+ readonly "Inline": "inline";
285
+ readonly "Attachment": "attachment"
286
+ };
287
+
288
+ export declare const MultipartSubtype: {
289
+ readonly "Mixed": "mixed";
290
+ readonly "Alternative": "alternative";
291
+ readonly "Digest": "digest";
292
+ readonly "Parallel": "parallel";
293
+ readonly "Related": "related";
294
+ readonly "Signed": "signed";
295
+ readonly "Encrypted": "encrypted";
296
+ readonly "FormData": "form-data";
297
+ readonly "Report": "report"
298
+ };
299
+
300
+ export declare const ReferenceType: {
301
+ readonly "InReplyTo": "in_reply_to";
302
+ readonly "References": "references"
303
+ };
304
+
305
+ export declare const MessageSystemFlag: {
306
+ readonly "Seen": "\Seen";
307
+ readonly "Answered": "\Answered";
308
+ readonly "Flagged": "\Flagged";
309
+ readonly "Deleted": "\Deleted";
310
+ readonly "Draft": "\Draft"
311
+ };
312
+
313
+ export declare const MessageKeywordFlag: {
314
+ readonly "Forwarded": "$Forwarded";
315
+ readonly "MDNSent": "$MDNSent";
316
+ readonly "Junk": "$Junk";
317
+ readonly "NotJunk": "$NotJunk";
318
+ readonly "Phishing": "$Phishing"
319
+ };
320
+
321
+ export declare const MailboxAttribute: {
322
+ readonly "NonExistent": "\NonExistent";
323
+ readonly "NoInferiors": "\Noinferiors";
324
+ readonly "NoSelect": "\Noselect";
325
+ readonly "HasChildren": "\HasChildren";
326
+ readonly "HasNoChildren": "\HasNoChildren";
327
+ readonly "Marked": "\Marked";
328
+ readonly "Unmarked": "\Unmarked";
329
+ readonly "Subscribed": "\Subscribed";
330
+ readonly "Remote": "\Remote"
331
+ };
332
+
333
+ export declare const StorageType: {
334
+ readonly "S3": "s3";
335
+ readonly "Filesystem": "filesystem";
336
+ readonly "Inline": "inline";
337
+ readonly "Database": "database"
338
+ };
339
+
340
+ export declare const ContentEncoding: {
341
+ readonly "None": "none";
342
+ readonly "Gzip": "gzip";
343
+ readonly "Zstd": "zstd"
344
+ };
345
+
346
+ export declare const AccountSettingName: {
347
+ readonly "Theme": "Theme";
348
+ readonly "Density": "Density";
349
+ readonly "DefaultComposerFormat": "DefaultComposerFormat";
350
+ readonly "PinnedFolders": "PinnedFolders";
351
+ readonly "AccountSignaturePlainText": "AccountSignaturePlainText";
352
+ readonly "AccountSignatureHtml": "AccountSignatureHtml";
353
+ readonly "AccountDisplayName": "AccountDisplayName";
354
+ readonly "AccountMuted": "AccountMuted";
355
+ readonly "MailboxDisplayName": "MailboxDisplayName";
356
+ readonly "MailboxMuted": "MailboxMuted";
357
+ readonly "FolderRoleAppointment": "FolderRoleAppointment";
358
+ readonly "MailboxRole": "MailboxRole"
359
+ };
360
+
361
+ export declare const LabelColor: {
362
+ readonly "Default": "Default";
363
+ readonly "Red": "Red";
364
+ readonly "Orange": "Orange";
365
+ readonly "Yellow": "Yellow";
366
+ readonly "Green": "Green";
367
+ readonly "Teal": "Teal";
368
+ readonly "Blue": "Blue";
369
+ readonly "Purple": "Purple";
370
+ readonly "Gray": "Gray"
371
+ };
372
+
373
+ export declare const MessagePlacementMoveState: {
374
+ readonly "pending": "pending";
375
+ readonly "queued": "queued";
376
+ readonly "processing": "processing";
377
+ readonly "processed": "processed"
378
+ };
379
+
380
+ export declare const FlagPushOperation: {
381
+ readonly "add": "add";
382
+ readonly "remove": "remove"
383
+ };
384
+
385
+ export declare const MessageFlagPushState: {
386
+ readonly "pending": "pending";
387
+ readonly "queued": "queued";
388
+ readonly "processing": "processing";
389
+ readonly "processed": "processed"
390
+ };
package/enums.js ADDED
@@ -0,0 +1,390 @@
1
+ export const IndexType = {
2
+ "clustered": "clustered",
3
+ "isolated": "isolated"
4
+ };
5
+
6
+ export const DateTimeKnownEncoding = {
7
+ "rfc3339": "rfc3339",
8
+ "rfc7231": "rfc7231",
9
+ "unixTimestamp": "unixTimestamp"
10
+ };
11
+
12
+ export const DurationKnownEncoding = {
13
+ "ISO8601": "ISO8601",
14
+ "seconds": "seconds",
15
+ "milliseconds": "milliseconds"
16
+ };
17
+
18
+ export const BytesKnownEncoding = {
19
+ "base64": "base64",
20
+ "base64url": "base64url"
21
+ };
22
+
23
+ export const ArrayEncoding = {
24
+ "pipeDelimited": "pipeDelimited",
25
+ "spaceDelimited": "spaceDelimited",
26
+ "commaDelimited": "commaDelimited",
27
+ "newlineDelimited": "newlineDelimited"
28
+ };
29
+
30
+ export const Lifecycle = {
31
+ "Create": "Create",
32
+ "Read": "Read",
33
+ "Update": "Update",
34
+ "Delete": "Delete",
35
+ "Query": "Query"
36
+ };
37
+
38
+ export const ApiKeyLocation = {
39
+ "header": "header",
40
+ "query": "query",
41
+ "cookie": "cookie"
42
+ };
43
+
44
+ export const AuthType = {
45
+ "http": "http",
46
+ "apiKey": "apiKey",
47
+ "oauth2": "oauth2",
48
+ "openIdConnect": "openIdConnect",
49
+ "noAuth": "noAuth"
50
+ };
51
+
52
+ export const OAuth2FlowType = {
53
+ "authorizationCode": "authorizationCode",
54
+ "implicit": "implicit",
55
+ "password": "password",
56
+ "clientCredentials": "clientCredentials"
57
+ };
58
+
59
+ export const MergePatchVisibilityMode = {
60
+ "Update": "Update",
61
+ "CreateOrUpdate": "CreateOrUpdate"
62
+ };
63
+
64
+ export const AccountExportState = {
65
+ "Pending": "Pending",
66
+ "Processing": "Processing",
67
+ "Ready": "Ready",
68
+ "Failed": "Failed"
69
+ };
70
+
71
+ export const AccountConfigState = {
72
+ "Active": "active",
73
+ "Deleting": "deleting"
74
+ };
75
+
76
+ export const AccountAuthType = {
77
+ "Password": "password",
78
+ "OauthMicrosoft": "oauthMicrosoft"
79
+ };
80
+
81
+ export const ConnectionState = {
82
+ "NotAuthenticated": "not_authenticated",
83
+ "Authenticated": "authenticated",
84
+ "Selected": "selected",
85
+ "Logout": "logout",
86
+ "ReauthRequired": "reauth_required"
87
+ };
88
+
89
+ export const SyncPhase = {
90
+ "idle": "idle",
91
+ "discovering_mailboxes": "discovering_mailboxes",
92
+ "syncing_inbox": "syncing_inbox",
93
+ "syncing_others": "syncing_others",
94
+ "complete": "complete",
95
+ "error": "error"
96
+ };
97
+
98
+ export const CanonicalMailboxRole = {
99
+ "Inbox": "Inbox",
100
+ "Drafts": "Drafts",
101
+ "Sent": "Sent",
102
+ "Archive": "Archive",
103
+ "Junk": "Junk",
104
+ "Trash": "Trash",
105
+ "All": "All",
106
+ "Flagged": "Flagged"
107
+ };
108
+
109
+ export const NamespaceType = {
110
+ "Personal": "personal",
111
+ "OtherUsers": "other_users",
112
+ "Shared": "shared"
113
+ };
114
+
115
+ export const MailboxSyncStatus = {
116
+ "synced": "synced",
117
+ "pending": "pending",
118
+ "failed": "failed",
119
+ "deleting": "deleting"
120
+ };
121
+
122
+ export const MailboxCursorState = {
123
+ "normal": "normal",
124
+ "cursor_invalid": "cursor_invalid",
125
+ "rebuilding": "rebuilding"
126
+ };
127
+
128
+ export const MailboxSpecialUse = {
129
+ "All": "All",
130
+ "Archive": "Archive",
131
+ "Drafts": "Drafts",
132
+ "Flagged": "Flagged",
133
+ "Junk": "Junk",
134
+ "Sent": "Sent",
135
+ "Trash": "Trash",
136
+ "Important": "Important"
137
+ };
138
+
139
+ export const FilterScope = {
140
+ "Standing": "Standing",
141
+ "Temporary": "Temporary"
142
+ };
143
+
144
+ export const FilterState = {
145
+ "Active": "Active",
146
+ "Expired": "Expired"
147
+ };
148
+
149
+ export const FilterMatchOperator = {
150
+ "And": "And",
151
+ "Or": "Or"
152
+ };
153
+
154
+ export const FilterClauseField = {
155
+ "From": "From",
156
+ "Subject": "Subject",
157
+ "HasWords": "HasWords"
158
+ };
159
+
160
+ export const OrganizeJobState = {
161
+ "Pending": "Pending",
162
+ "Running": "Running",
163
+ "Complete": "Complete",
164
+ "Failed": "Failed"
165
+ };
166
+
167
+ export const SortOrder = {
168
+ "asc": "asc",
169
+ "desc": "desc"
170
+ };
171
+
172
+ export const StarColor = {
173
+ "None": "none",
174
+ "Yellow": "yellow",
175
+ "Orange": "orange",
176
+ "Red": "red",
177
+ "Purple": "purple",
178
+ "Blue": "blue",
179
+ "Teal": "teal",
180
+ "Green": "green",
181
+ "YellowBang": "yellow_bang",
182
+ "RedBang": "red_bang",
183
+ "PurpleQuestion": "purple_question",
184
+ "BlueInfo": "blue_info",
185
+ "OrangeGuillemet": "orange_guillemet",
186
+ "GreenCheck": "green_check",
187
+ "YellowCheck": "yellow_check",
188
+ "BlueStar": "blue_star"
189
+ };
190
+
191
+ export const MessageCategory = {
192
+ "uncategorized": "uncategorized",
193
+ "personal": "personal",
194
+ "newsletter": "newsletter",
195
+ "marketing": "marketing",
196
+ "automated": "automated",
197
+ "transactional": "transactional",
198
+ "social": "social"
199
+ };
200
+
201
+ export const SenderTrust = {
202
+ "Unknown": "unknown",
203
+ "Wellknown": "wellknown",
204
+ "Vip": "vip"
205
+ };
206
+
207
+ export const PlacementAction = {
208
+ "MoveToInbox": "MoveToInbox",
209
+ "MoveToJunk": "MoveToJunk"
210
+ };
211
+
212
+ export const SemanticSearchChunkType = {
213
+ "sender": "sender",
214
+ "recipient": "recipient",
215
+ "subject": "subject",
216
+ "attachment": "attachment",
217
+ "body": "body",
218
+ "entities": "entities"
219
+ };
220
+
221
+ export const OutboxMessageStatus = {
222
+ "draft": "draft",
223
+ "queued": "queued",
224
+ "sending": "sending",
225
+ "sent": "sent",
226
+ "failed": "failed",
227
+ "blocked": "blocked"
228
+ };
229
+
230
+ export const MessageStatus = {
231
+ "active": "active",
232
+ "deleting": "deleting",
233
+ "deleted": "deleted",
234
+ "moving": "moving"
235
+ };
236
+
237
+ export const MessageSyncStatus = {
238
+ "synced": "synced",
239
+ "pending": "pending",
240
+ "failed": "failed"
241
+ };
242
+
243
+ export const AuthResultVerdict = {
244
+ "Pass": "Pass",
245
+ "Fail": "Fail",
246
+ "None": "None",
247
+ "Neutral": "Neutral",
248
+ "Softfail": "Softfail"
249
+ };
250
+
251
+ export const PlacementConfidence = {
252
+ "Confident": "Confident",
253
+ "Unsure": "Unsure"
254
+ };
255
+
256
+ export const AddressRole = {
257
+ "From": "from",
258
+ "Sender": "sender",
259
+ "ReplyTo": "reply_to",
260
+ "To": "to",
261
+ "Cc": "cc",
262
+ "Bcc": "bcc"
263
+ };
264
+
265
+ export const MediaType = {
266
+ "Text": "TEXT",
267
+ "Image": "IMAGE",
268
+ "Audio": "AUDIO",
269
+ "Video": "VIDEO",
270
+ "Application": "APPLICATION",
271
+ "Multipart": "MULTIPART",
272
+ "Message": "MESSAGE"
273
+ };
274
+
275
+ export const TransferEncoding = {
276
+ "SevenBit": "7BIT",
277
+ "EightBit": "8BIT",
278
+ "Binary": "BINARY",
279
+ "Base64": "BASE64",
280
+ "QuotedPrintable": "QUOTED-PRINTABLE"
281
+ };
282
+
283
+ export const ContentDisposition = {
284
+ "Inline": "inline",
285
+ "Attachment": "attachment"
286
+ };
287
+
288
+ export const MultipartSubtype = {
289
+ "Mixed": "mixed",
290
+ "Alternative": "alternative",
291
+ "Digest": "digest",
292
+ "Parallel": "parallel",
293
+ "Related": "related",
294
+ "Signed": "signed",
295
+ "Encrypted": "encrypted",
296
+ "FormData": "form-data",
297
+ "Report": "report"
298
+ };
299
+
300
+ export const ReferenceType = {
301
+ "InReplyTo": "in_reply_to",
302
+ "References": "references"
303
+ };
304
+
305
+ export const MessageSystemFlag = {
306
+ "Seen": "\Seen",
307
+ "Answered": "\Answered",
308
+ "Flagged": "\Flagged",
309
+ "Deleted": "\Deleted",
310
+ "Draft": "\Draft"
311
+ };
312
+
313
+ export const MessageKeywordFlag = {
314
+ "Forwarded": "$Forwarded",
315
+ "MDNSent": "$MDNSent",
316
+ "Junk": "$Junk",
317
+ "NotJunk": "$NotJunk",
318
+ "Phishing": "$Phishing"
319
+ };
320
+
321
+ export const MailboxAttribute = {
322
+ "NonExistent": "\NonExistent",
323
+ "NoInferiors": "\Noinferiors",
324
+ "NoSelect": "\Noselect",
325
+ "HasChildren": "\HasChildren",
326
+ "HasNoChildren": "\HasNoChildren",
327
+ "Marked": "\Marked",
328
+ "Unmarked": "\Unmarked",
329
+ "Subscribed": "\Subscribed",
330
+ "Remote": "\Remote"
331
+ };
332
+
333
+ export const StorageType = {
334
+ "S3": "s3",
335
+ "Filesystem": "filesystem",
336
+ "Inline": "inline",
337
+ "Database": "database"
338
+ };
339
+
340
+ export const ContentEncoding = {
341
+ "None": "none",
342
+ "Gzip": "gzip",
343
+ "Zstd": "zstd"
344
+ };
345
+
346
+ export const AccountSettingName = {
347
+ "Theme": "Theme",
348
+ "Density": "Density",
349
+ "DefaultComposerFormat": "DefaultComposerFormat",
350
+ "PinnedFolders": "PinnedFolders",
351
+ "AccountSignaturePlainText": "AccountSignaturePlainText",
352
+ "AccountSignatureHtml": "AccountSignatureHtml",
353
+ "AccountDisplayName": "AccountDisplayName",
354
+ "AccountMuted": "AccountMuted",
355
+ "MailboxDisplayName": "MailboxDisplayName",
356
+ "MailboxMuted": "MailboxMuted",
357
+ "FolderRoleAppointment": "FolderRoleAppointment",
358
+ "MailboxRole": "MailboxRole"
359
+ };
360
+
361
+ export const LabelColor = {
362
+ "Default": "Default",
363
+ "Red": "Red",
364
+ "Orange": "Orange",
365
+ "Yellow": "Yellow",
366
+ "Green": "Green",
367
+ "Teal": "Teal",
368
+ "Blue": "Blue",
369
+ "Purple": "Purple",
370
+ "Gray": "Gray"
371
+ };
372
+
373
+ export const MessagePlacementMoveState = {
374
+ "pending": "pending",
375
+ "queued": "queued",
376
+ "processing": "processing",
377
+ "processed": "processed"
378
+ };
379
+
380
+ export const FlagPushOperation = {
381
+ "add": "add",
382
+ "remove": "remove"
383
+ };
384
+
385
+ export const MessageFlagPushState = {
386
+ "pending": "pending",
387
+ "queued": "queued",
388
+ "processing": "processing",
389
+ "processed": "processed"
390
+ };
package/package.json ADDED
@@ -0,0 +1,15 @@
1
+ {
2
+ "name": "@remit/domain-enums",
3
+ "version": "0.0.1",
4
+ "type": "module",
5
+ "main": "enums.js",
6
+ "types": "enums.d.ts",
7
+ "license": "MIT",
8
+ "publishConfig": {
9
+ "access": "public"
10
+ },
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "git+https://github.com/remit-mail/reader.git"
14
+ }
15
+ }