@@ -12,19 +12,19 @@ export interface BaseDomainAttributes {
1212 * The language code associated with this domain.
1313 */
1414 lang :
15- | "sk"
16- | "cs"
17- | "de"
18- | "en"
19- | "es"
20- | "fr"
21- | "lv"
22- | "nl"
23- | "pl"
24- | "pt"
25- | "ru"
26- | "it"
27- | "ca" ;
15+ | 'sk'
16+ | 'cs'
17+ | 'de'
18+ | 'en'
19+ | 'es'
20+ | 'fr'
21+ | 'lv'
22+ | 'nl'
23+ | 'pl'
24+ | 'pt'
25+ | 'ru'
26+ | 'it'
27+ | 'ca' ;
2828 /**
2929 * Boolean if the domain is active.
3030 */
@@ -66,7 +66,7 @@ export interface BaseDomainAttributes {
6666/**
6767 * Relay interval settings.
6868 */
69- type RelayFrame = "s" | "m" | "h" | "d" ;
69+ type RelayFrame = 's' | 'm' | 'h' | 'd' ;
7070
7171/**
7272 * Domain creation payload.
@@ -269,7 +269,7 @@ export interface SpamPolicyPostRequest {
269269 /**
270270 * Use 'wl' for whitelist and 'bl' for blacklist.
271271 */
272- object_list : "wl" | "bl" ;
272+ object_list : 'wl' | 'bl' ;
273273}
274274
275275/**
@@ -289,7 +289,7 @@ export interface SpamPolicyGetRequest {
289289 /**
290290 * Use 'wl' to get whitelist policies and use 'bl' to get blacklist policies.
291291 */
292- type : "wl" | "bl" ;
292+ type : 'wl' | 'bl' ;
293293 /**
294294 * The exact address or use wildcard to match whole domain.
295295 */
@@ -407,12 +407,12 @@ export interface MailboxEditRequest {
407407/**
408408 * Possible options for the Quarantine time frames.
409409 */
410- type QuarantineSchedule = " hourly" | " daily" | " weekly" | " never" ;
410+ type QuarantineSchedule = ' hourly' | ' daily' | ' weekly' | ' never' ;
411411
412412/**
413413 * Options of what should happen if email is quarantined.
414414 */
415- type QuarantineCategory = " reject" | " add_header" | " all" ;
415+ type QuarantineCategory = ' reject' | ' add_header' | ' all' ;
416416
417417/**
418418 * Interface of the Mailbox as returned by Mailcow.
@@ -534,7 +534,7 @@ export interface Mailbox {
534534 /**
535535 * Class representation of quota usage.
536536 */
537- percent_class : " success" | " warning" | " danger" ;
537+ percent_class : ' success' | ' warning' | ' danger' ;
538538 /**
539539 * Maximum possible quota.
540540 */
@@ -643,19 +643,19 @@ export interface SpamScoreEditRequest {
643643 * List of possible userACL.
644644 */
645645type userAcl =
646- | " spam_alias"
647- | " tls_policy"
648- | " spam_score"
649- | " spam_policy"
650- | " delimiter_action"
651- | " syncjobs"
652- | " eas_reset"
653- | " quarantine"
654- | " sogo_profile_reset"
655- | " quarantine_attachments"
656- | " quarantine_notification"
657- | " app_passwds"
658- | " pushover" ;
646+ | ' spam_alias'
647+ | ' tls_policy'
648+ | ' spam_score'
649+ | ' spam_policy'
650+ | ' delimiter_action'
651+ | ' syncjobs'
652+ | ' eas_reset'
653+ | ' quarantine'
654+ | ' sogo_profile_reset'
655+ | ' quarantine_attachments'
656+ | ' quarantine_notification'
657+ | ' app_passwds'
658+ | ' pushover' ;
659659
660660/**
661661 * ACL Edit payload.
@@ -823,7 +823,7 @@ export interface SyncjobAttributes {
823823 /**
824824 * The encryption method used to connect to the mailserver.
825825 */
826- enc1 : " TLS" | " SSL" | " PLAIN" ;
826+ enc1 : ' TLS' | ' SSL' | ' PLAIN' ;
827827 /**
828828 * The interval in which messages should be synced.
829829 */
@@ -932,7 +932,7 @@ export interface Syncjob {
932932 /**
933933 * Authentication mechanism.
934934 */
935- authmech1 : " TLS" | " SSL" | " PLAIN" ;
935+ authmech1 : ' TLS' | ' SSL' | ' PLAIN' ;
936936 /**
937937 * Try to automap folders ("sent items", "sent" => "sent" etc.) (--automap).
938938 */
@@ -964,7 +964,7 @@ export interface Syncjob {
964964 /**
965965 * The encryption method used to connect to the mailserver.
966966 */
967- enc1 : " TLS" | " SSL" | " PLAIN" ;
967+ enc1 : ' TLS' | ' SSL' | ' PLAIN' ;
968968 /**
969969 * Exclude objects (regex).
970970 */
@@ -1079,7 +1079,7 @@ export interface ForwardingHost {
10791079 /**
10801080 * If the host keeps or discards spam.
10811081 */
1082- keep_spam : " yes" | "no" ;
1082+ keep_spam : ' yes' | 'no' ;
10831083 /**
10841084 * Hostname.
10851085 */
@@ -1114,7 +1114,7 @@ export interface APILog extends Log {
11141114 /**
11151115 * Request method.
11161116 */
1117- method : " GET" | " POST" ;
1117+ method : ' GET' | ' POST' ;
11181118 /**
11191119 * IP that did the call.
11201120 */
@@ -1274,7 +1274,7 @@ export interface RSLog extends Log {
12741274 /**
12751275 * Message ID
12761276 */
1277- " message-id" : string ;
1277+ ' message-id' : string ;
12781278 /**
12791279 * IP of the sender
12801280 */
@@ -1326,7 +1326,7 @@ export interface SGLog extends Log {
13261326 */
13271327 priority : string ;
13281328
1329- program : " sogod" ;
1329+ program : ' sogod' ;
13301330}
13311331
13321332/**
@@ -1377,7 +1377,7 @@ export class MailcowException extends Error {
13771377export interface BaseResponse {
13781378 log ?: ( string | Payload ) [ ] ;
13791379 msg : string [ ] | string ;
1380- type : " succes" | " danger" | " error" ;
1380+ type : ' succes' | ' danger' | ' error' ;
13811381}
13821382
13831383/**
0 commit comments