|
15 | 15 | ) |
16 | 16 |
|
17 | 17 |
|
| 18 | +class DomainLastStatusAutoconfigStateReason(str, Enum, metaclass=StrEnumMeta): |
| 19 | + UNKNOWN_REASON = "unknown_reason" |
| 20 | + PERMISSION_DENIED = "permission_denied" |
| 21 | + DOMAIN_NOT_FOUND = "domain_not_found" |
| 22 | + |
| 23 | + def __str__(self) -> str: |
| 24 | + return str(self.value) |
| 25 | + |
| 26 | + |
18 | 27 | class DomainLastStatusRecordStatus(str, Enum, metaclass=StrEnumMeta): |
19 | 28 | UNKNOWN_RECORD_STATUS = "unknown_record_status" |
20 | 29 | VALID = "valid" |
@@ -358,6 +367,24 @@ class Email: |
358 | 367 | """ |
359 | 368 |
|
360 | 369 |
|
| 370 | +@dataclass |
| 371 | +class DomainLastStatusAutoconfigState: |
| 372 | + enabled: bool |
| 373 | + """ |
| 374 | + Enable or disable the auto-configuration of domain DNS records. |
| 375 | + """ |
| 376 | + |
| 377 | + autoconfigurable: bool |
| 378 | + """ |
| 379 | + Whether the domain can be auto-configured or not. |
| 380 | + """ |
| 381 | + |
| 382 | + reason: Optional[DomainLastStatusAutoconfigStateReason] |
| 383 | + """ |
| 384 | + The reason that the domain cannot be auto-configurable. |
| 385 | + """ |
| 386 | + |
| 387 | + |
361 | 388 | @dataclass |
362 | 389 | class DomainLastStatusDkimRecord: |
363 | 390 | status: DomainLastStatusRecordStatus |
@@ -638,12 +665,12 @@ class UpdateProjectSettingsRequestUpdatePeriodicReport: |
638 | 665 |
|
639 | 666 | frequency: Optional[ProjectSettingsPeriodicReportFrequency] |
640 | 667 | """ |
641 | | - (Optional) At which frequency you receive periodic report notifications. |
| 668 | + (Optional) Frequency at which you receive periodic report notifications. |
642 | 669 | """ |
643 | 670 |
|
644 | 671 | sending_hour: Optional[int] |
645 | 672 | """ |
646 | | - (Optional) At which hour you receive periodic report notifications. |
| 673 | + (Optional) Hour at which you receive periodic report notifications. |
647 | 674 | """ |
648 | 675 |
|
649 | 676 | sending_day: Optional[int] |
@@ -850,6 +877,11 @@ class DomainLastStatus: |
850 | 877 | The DMARC record verification data. |
851 | 878 | """ |
852 | 879 |
|
| 880 | + autoconfig_state: Optional[DomainLastStatusAutoconfigState] |
| 881 | + """ |
| 882 | + The verification state of domain auto-configuration. |
| 883 | + """ |
| 884 | + |
853 | 885 |
|
854 | 886 | @dataclass |
855 | 887 | class GetDomainLastStatusRequest: |
|
0 commit comments