-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #434 from mailgun/update-domains-type
breaking: Update domains client to use v4 of API
- Loading branch information
Showing
15 changed files
with
2,134 additions
and
613 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,23 @@ | ||
import { DNSRecord, DomainData, DomainShortData, TDomain } from '../../Types/Domains'; | ||
import { DNSRecord, DomainData, TDomain } from '../../Types/Domains'; | ||
export default class Domain implements TDomain { | ||
name: string; | ||
require_tls: boolean; | ||
skip_verification: boolean; | ||
state: string; | ||
wildcard: boolean; | ||
spam_action: string; | ||
created_at: string; | ||
created_at: Date; | ||
smtp_password: string; | ||
smtp_login: string; | ||
type: string; | ||
receiving_dns_records: DNSRecord[] | null; | ||
sending_dns_records: DNSRecord[] | null; | ||
id?: string; | ||
is_disabled?: boolean; | ||
web_prefix?: string; | ||
web_scheme?: string; | ||
constructor(data: DomainShortData | DomainData, receiving?: DNSRecord[] | null, sending?: DNSRecord[] | null); | ||
id: string; | ||
is_disabled: boolean; | ||
web_prefix: string; | ||
web_scheme: string; | ||
use_automatic_sender_security: boolean; | ||
dkim_host?: string; | ||
mailfrom_host?: string; | ||
constructor(data: DomainData, receiving?: DNSRecord[] | null, sending?: DNSRecord[] | null); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.