File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { PostOptions } from '../../common/interfaces';
33export type DomainRegion = 'us-east-1' | 'eu-west-1' | 'sa-east-1' ;
44
55export interface CreateDomainOptions {
6- domain : string ;
6+ name : string ;
77 region ?: DomainRegion ;
88}
99
@@ -33,9 +33,9 @@ export interface DomainSpfRecord {
3333 type : 'MX' | 'TXT' ;
3434 ttl : string ;
3535 status : DomainStatus ;
36- routingPolicy ?: string ;
36+ routing_policy ?: string ;
3737 priority ?: number ;
38- proxStatus ?: 'enable' | 'disable' ;
38+ proxy_status ?: 'enable' | 'disable' ;
3939}
4040
4141export interface DomainDkimRecord {
@@ -45,17 +45,16 @@ export interface DomainDkimRecord {
4545 type : 'CNAME' ;
4646 ttl : string ;
4747 status : DomainStatus ;
48- routingPolicy ?: string ;
48+ routing_policy ?: string ;
4949 priority ?: number ;
50- proxStatus ?: 'enable' | 'disable' ;
50+ proxy_status ?: 'enable' | 'disable' ;
5151}
5252
5353export type CreateDomainResponse = {
5454 name : string ;
5555 id : string ;
56- dnsProvider : DomainNameservers ;
5756 status : DomainStatus ;
58- createdAt : string ;
57+ created_at : string ;
5958 records : ( DomainSpfRecord | DomainDkimRecord ) [ ] ;
6059 region : DomainRegion ;
6160} ;
You can’t perform that action at this time.
0 commit comments