|
2 | 2 | // If you have any remark or suggestion do not hesitate to open an issue. |
3 | 3 | import type { Region } from '../../../bridge' |
4 | 4 |
|
| 5 | +export type DomainLastStatusAutoconfigStateReason = |
| 6 | + | 'unknown_reason' |
| 7 | + | 'permission_denied' |
| 8 | + | 'domain_not_found' |
| 9 | + |
5 | 10 | export type DomainLastStatusRecordStatus = |
6 | 11 | | 'unknown_record_status' |
7 | 12 | | 'valid' |
@@ -198,6 +203,15 @@ export interface Email { |
198 | 203 | flags: EmailFlag[] |
199 | 204 | } |
200 | 205 |
|
| 206 | +export interface DomainLastStatusAutoconfigState { |
| 207 | + /** Enable or disable the auto-configuration of domain DNS records. */ |
| 208 | + enabled: boolean |
| 209 | + /** Whether the domain can be auto-configured or not. */ |
| 210 | + autoconfigurable: boolean |
| 211 | + /** The reason that the domain cannot be auto-configurable. */ |
| 212 | + reason?: DomainLastStatusAutoconfigStateReason |
| 213 | +} |
| 214 | + |
201 | 215 | export interface DomainLastStatusDkimRecord { |
202 | 216 | /** Status of the DKIM record's configuration. */ |
203 | 217 | status: DomainLastStatusRecordStatus |
@@ -331,9 +345,9 @@ export interface ProjectSettingsPeriodicReport { |
331 | 345 | export interface UpdateProjectSettingsRequestUpdatePeriodicReport { |
332 | 346 | /** (Optional) Enable or disable periodic report notifications. */ |
333 | 347 | enabled?: boolean |
334 | | - /** (Optional) At which frequency you receive periodic report notifications. */ |
| 348 | + /** (Optional) Frequency at which you receive periodic report notifications. */ |
335 | 349 | frequency?: ProjectSettingsPeriodicReportFrequency |
336 | | - /** (Optional) At which hour you receive periodic report notifications. */ |
| 350 | + /** (Optional) Hour at which you receive periodic report notifications. */ |
337 | 351 | sendingHour?: number |
338 | 352 | /** |
339 | 353 | * (Optional) On which day you receive periodic report notifications (1-7 |
@@ -452,6 +466,8 @@ export interface DomainLastStatus { |
452 | 466 | dkimRecord?: DomainLastStatusDkimRecord |
453 | 467 | /** The DMARC record verification data. */ |
454 | 468 | dmarcRecord?: DomainLastStatusDmarcRecord |
| 469 | + /** The verification state of domain auto-configuration. */ |
| 470 | + autoconfigState?: DomainLastStatusAutoconfigState |
455 | 471 | } |
456 | 472 |
|
457 | 473 | export type GetDomainLastStatusRequest = { |
|
0 commit comments