@hostafrica/ha-sdk-typescript 1.1.2 → 1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/apis/DNSApi.d.ts +85 -1
- package/dist/apis/DNSApi.js +272 -0
- package/dist/apis/DomainsApi.d.ts +46 -1
- package/dist/apis/DomainsApi.js +141 -0
- package/dist/apis/ServiceManagementApi.d.ts +4 -4
- package/dist/apis/ServiceManagementApi.js +4 -4
- package/dist/apis/SnapshotsApi.d.ts +8 -8
- package/dist/apis/SnapshotsApi.js +8 -8
- package/dist/apis/VPSManagementApi.d.ts +18 -3
- package/dist/apis/VPSManagementApi.js +49 -2
- package/dist/esm/apis/DNSApi.d.ts +85 -1
- package/dist/esm/apis/DNSApi.js +273 -1
- package/dist/esm/apis/DomainsApi.d.ts +46 -1
- package/dist/esm/apis/DomainsApi.js +142 -1
- package/dist/esm/apis/ServiceManagementApi.d.ts +4 -4
- package/dist/esm/apis/ServiceManagementApi.js +4 -4
- package/dist/esm/apis/SnapshotsApi.d.ts +8 -8
- package/dist/esm/apis/SnapshotsApi.js +8 -8
- package/dist/esm/apis/VPSManagementApi.d.ts +18 -3
- package/dist/esm/apis/VPSManagementApi.js +50 -3
- package/dist/esm/models/AddDnsRecordRequestContent.d.ts +45 -0
- package/dist/esm/models/AddDnsRecordRequestContent.js +50 -0
- package/dist/esm/models/AddDnsRecordResponseContent.d.ts +40 -0
- package/dist/esm/models/AddDnsRecordResponseContent.js +49 -0
- package/dist/esm/models/DeleteDnsRecordRequestContent.d.ts +45 -0
- package/dist/esm/models/DeleteDnsRecordRequestContent.js +50 -0
- package/dist/esm/models/DeleteDnsRecordResponseContent.d.ts +40 -0
- package/dist/esm/models/DeleteDnsRecordResponseContent.js +49 -0
- package/dist/esm/models/DnsCreateCandidateInfo.d.ts +56 -0
- package/dist/esm/models/DnsCreateCandidateInfo.js +49 -0
- package/dist/esm/models/DnsRecordInfo.d.ts +89 -0
- package/dist/esm/models/DnsRecordInfo.js +55 -0
- package/dist/esm/models/DnsRecordMutationData.d.ts +39 -0
- package/dist/esm/models/DnsRecordMutationData.js +46 -0
- package/dist/esm/models/DnsRecordMutationRecord.d.ts +77 -0
- package/dist/esm/models/DnsRecordMutationRecord.js +55 -0
- package/dist/esm/models/DnsZoneInfo.d.ts +81 -0
- package/dist/esm/models/DnsZoneInfo.js +60 -0
- package/dist/esm/models/DnssecRecordInfo.d.ts +50 -0
- package/dist/esm/models/DnssecRecordInfo.js +55 -0
- package/dist/esm/models/DomainAddonFeature.d.ts +56 -0
- package/dist/esm/models/DomainAddonFeature.js +57 -0
- package/dist/esm/models/DomainAvailableFeatures.d.ts +69 -0
- package/dist/esm/models/DomainAvailableFeatures.js +54 -0
- package/dist/esm/models/DomainContactSourceType.d.ts +26 -0
- package/dist/esm/models/DomainContactSourceType.js +44 -0
- package/dist/esm/models/DomainContactUpdate.d.ts +47 -0
- package/dist/esm/models/DomainContactUpdate.js +48 -0
- package/dist/esm/models/DomainContactUpdates.d.ts +51 -0
- package/dist/esm/models/DomainContactUpdates.js +48 -0
- package/dist/esm/models/DomainContacts.d.ts +58 -0
- package/dist/esm/models/DomainContacts.js +47 -0
- package/dist/esm/models/DomainDetail.d.ts +251 -0
- package/dist/esm/models/DomainDetail.js +136 -0
- package/dist/esm/models/DomainExpiryCountdown.d.ts +44 -0
- package/dist/esm/models/DomainExpiryCountdown.js +51 -0
- package/dist/esm/models/DomainHostingLink.d.ts +4 -4
- package/dist/esm/models/DomainHostingLink.js +2 -6
- package/dist/esm/models/DomainInfo.d.ts +6 -0
- package/dist/esm/models/DomainInfo.js +2 -0
- package/dist/esm/models/DomainNameservers.d.ts +56 -0
- package/dist/esm/models/DomainNameservers.js +49 -0
- package/dist/esm/models/EditDnsRecordRequestContent.d.ts +45 -0
- package/dist/esm/models/EditDnsRecordRequestContent.js +50 -0
- package/dist/esm/models/EditDnsRecordResponseContent.d.ts +40 -0
- package/dist/esm/models/EditDnsRecordResponseContent.js +49 -0
- package/dist/esm/models/EncryptedPasswordResponseData.d.ts +45 -0
- package/dist/esm/models/EncryptedPasswordResponseData.js +52 -0
- package/dist/esm/models/GetDnsZoneDetailsData.d.ts +81 -0
- package/dist/esm/models/GetDnsZoneDetailsData.js +60 -0
- package/dist/esm/models/GetDnsZoneDetailsRequestContent.d.ts +32 -0
- package/dist/esm/models/GetDnsZoneDetailsRequestContent.js +43 -0
- package/dist/esm/models/GetDnsZoneDetailsResponseContent.d.ts +40 -0
- package/dist/esm/models/GetDnsZoneDetailsResponseContent.js +49 -0
- package/dist/esm/models/GetDomainContactsData.d.ts +4 -3
- package/dist/esm/models/GetDomainContactsData.js +3 -2
- package/dist/esm/models/GetDomainData.d.ts +3 -3
- package/dist/esm/models/GetDomainData.js +3 -3
- package/dist/esm/models/GetEncryptedPasswordRequestContent.d.ts +38 -0
- package/dist/esm/models/GetEncryptedPasswordRequestContent.js +47 -0
- package/dist/esm/models/GetEncryptedPasswordResponseContent.d.ts +40 -0
- package/dist/esm/models/GetEncryptedPasswordResponseContent.js +49 -0
- package/dist/esm/models/ListDnsCreateCandidatesData.d.ts +45 -0
- package/dist/esm/models/ListDnsCreateCandidatesData.js +52 -0
- package/dist/esm/models/ListDnsCreateCandidatesResponseContent.d.ts +40 -0
- package/dist/esm/models/ListDnsCreateCandidatesResponseContent.js +49 -0
- package/dist/esm/models/ListDnsZonesData.d.ts +45 -0
- package/dist/esm/models/ListDnsZonesData.js +52 -0
- package/dist/esm/models/ListDnsZonesResponseContent.d.ts +40 -0
- package/dist/esm/models/ListDnsZonesResponseContent.js +49 -0
- package/dist/esm/models/ListDnssecRecordsData.d.ts +39 -0
- package/dist/esm/models/ListDnssecRecordsData.js +48 -0
- package/dist/esm/models/ListDnssecRecordsRequestContent.d.ts +32 -0
- package/dist/esm/models/ListDnssecRecordsRequestContent.js +43 -0
- package/dist/esm/models/ListDnssecRecordsResponseContent.d.ts +40 -0
- package/dist/esm/models/ListDnssecRecordsResponseContent.js +49 -0
- package/dist/esm/models/NoVncConsoleDetails.d.ts +19 -1
- package/dist/esm/models/NoVncConsoleDetails.js +7 -3
- package/dist/esm/models/PasswordEncryptionInfo.d.ts +50 -0
- package/dist/esm/models/PasswordEncryptionInfo.js +55 -0
- package/dist/esm/models/UpdateDomainContactsData.d.ts +38 -0
- package/dist/esm/models/UpdateDomainContactsData.js +45 -0
- package/dist/esm/models/UpdateDomainContactsRequestContent.d.ts +39 -0
- package/dist/esm/models/UpdateDomainContactsRequestContent.js +48 -0
- package/dist/esm/models/UpdateDomainContactsResponseContent.d.ts +40 -0
- package/dist/esm/models/UpdateDomainContactsResponseContent.js +49 -0
- package/dist/esm/models/UpdateDomainNameserversData.d.ts +45 -0
- package/dist/esm/models/UpdateDomainNameserversData.js +48 -0
- package/dist/esm/models/UpdateDomainNameserversRequestContent.d.ts +62 -0
- package/dist/esm/models/UpdateDomainNameserversRequestContent.js +57 -0
- package/dist/esm/models/UpdateDomainNameserversResponseContent.d.ts +40 -0
- package/dist/esm/models/UpdateDomainNameserversResponseContent.js +49 -0
- package/dist/esm/models/VpsCredentials.d.ts +1 -1
- package/dist/esm/models/VpsDetailsResponse.d.ts +4 -3
- package/dist/esm/models/VpsDetailsResponse.js +3 -2
- package/dist/esm/models/VpsIpAddressDetail.d.ts +56 -0
- package/dist/esm/models/VpsIpAddressDetail.js +51 -0
- package/dist/esm/models/VpsVmInfo.d.ts +3 -3
- package/dist/esm/models/index.d.ts +42 -0
- package/dist/esm/models/index.js +42 -0
- package/dist/esm/retryablePaths.js +5 -0
- package/dist/models/AddDnsRecordRequestContent.d.ts +45 -0
- package/dist/models/AddDnsRecordRequestContent.js +57 -0
- package/dist/models/AddDnsRecordResponseContent.d.ts +40 -0
- package/dist/models/AddDnsRecordResponseContent.js +56 -0
- package/dist/models/DeleteDnsRecordRequestContent.d.ts +45 -0
- package/dist/models/DeleteDnsRecordRequestContent.js +57 -0
- package/dist/models/DeleteDnsRecordResponseContent.d.ts +40 -0
- package/dist/models/DeleteDnsRecordResponseContent.js +56 -0
- package/dist/models/DnsCreateCandidateInfo.d.ts +56 -0
- package/dist/models/DnsCreateCandidateInfo.js +56 -0
- package/dist/models/DnsRecordInfo.d.ts +89 -0
- package/dist/models/DnsRecordInfo.js +62 -0
- package/dist/models/DnsRecordMutationData.d.ts +39 -0
- package/dist/models/DnsRecordMutationData.js +53 -0
- package/dist/models/DnsRecordMutationRecord.d.ts +77 -0
- package/dist/models/DnsRecordMutationRecord.js +62 -0
- package/dist/models/DnsZoneInfo.d.ts +81 -0
- package/dist/models/DnsZoneInfo.js +67 -0
- package/dist/models/DnssecRecordInfo.d.ts +50 -0
- package/dist/models/DnssecRecordInfo.js +62 -0
- package/dist/models/DomainAddonFeature.d.ts +56 -0
- package/dist/models/DomainAddonFeature.js +64 -0
- package/dist/models/DomainAvailableFeatures.d.ts +69 -0
- package/dist/models/DomainAvailableFeatures.js +61 -0
- package/dist/models/DomainContactSourceType.d.ts +26 -0
- package/dist/models/DomainContactSourceType.js +52 -0
- package/dist/models/DomainContactUpdate.d.ts +47 -0
- package/dist/models/DomainContactUpdate.js +55 -0
- package/dist/models/DomainContactUpdates.d.ts +51 -0
- package/dist/models/DomainContactUpdates.js +55 -0
- package/dist/models/DomainContacts.d.ts +58 -0
- package/dist/models/DomainContacts.js +54 -0
- package/dist/models/DomainDetail.d.ts +251 -0
- package/dist/models/DomainDetail.js +143 -0
- package/dist/models/DomainExpiryCountdown.d.ts +44 -0
- package/dist/models/DomainExpiryCountdown.js +58 -0
- package/dist/models/DomainHostingLink.d.ts +4 -4
- package/dist/models/DomainHostingLink.js +2 -6
- package/dist/models/DomainInfo.d.ts +6 -0
- package/dist/models/DomainInfo.js +2 -0
- package/dist/models/DomainNameservers.d.ts +56 -0
- package/dist/models/DomainNameservers.js +56 -0
- package/dist/models/EditDnsRecordRequestContent.d.ts +45 -0
- package/dist/models/EditDnsRecordRequestContent.js +57 -0
- package/dist/models/EditDnsRecordResponseContent.d.ts +40 -0
- package/dist/models/EditDnsRecordResponseContent.js +56 -0
- package/dist/models/EncryptedPasswordResponseData.d.ts +45 -0
- package/dist/models/EncryptedPasswordResponseData.js +59 -0
- package/dist/models/GetDnsZoneDetailsData.d.ts +81 -0
- package/dist/models/GetDnsZoneDetailsData.js +67 -0
- package/dist/models/GetDnsZoneDetailsRequestContent.d.ts +32 -0
- package/dist/models/GetDnsZoneDetailsRequestContent.js +50 -0
- package/dist/models/GetDnsZoneDetailsResponseContent.d.ts +40 -0
- package/dist/models/GetDnsZoneDetailsResponseContent.js +56 -0
- package/dist/models/GetDomainContactsData.d.ts +4 -3
- package/dist/models/GetDomainContactsData.js +3 -2
- package/dist/models/GetDomainData.d.ts +3 -3
- package/dist/models/GetDomainData.js +3 -3
- package/dist/models/GetEncryptedPasswordRequestContent.d.ts +38 -0
- package/dist/models/GetEncryptedPasswordRequestContent.js +54 -0
- package/dist/models/GetEncryptedPasswordResponseContent.d.ts +40 -0
- package/dist/models/GetEncryptedPasswordResponseContent.js +56 -0
- package/dist/models/ListDnsCreateCandidatesData.d.ts +45 -0
- package/dist/models/ListDnsCreateCandidatesData.js +59 -0
- package/dist/models/ListDnsCreateCandidatesResponseContent.d.ts +40 -0
- package/dist/models/ListDnsCreateCandidatesResponseContent.js +56 -0
- package/dist/models/ListDnsZonesData.d.ts +45 -0
- package/dist/models/ListDnsZonesData.js +59 -0
- package/dist/models/ListDnsZonesResponseContent.d.ts +40 -0
- package/dist/models/ListDnsZonesResponseContent.js +56 -0
- package/dist/models/ListDnssecRecordsData.d.ts +39 -0
- package/dist/models/ListDnssecRecordsData.js +55 -0
- package/dist/models/ListDnssecRecordsRequestContent.d.ts +32 -0
- package/dist/models/ListDnssecRecordsRequestContent.js +50 -0
- package/dist/models/ListDnssecRecordsResponseContent.d.ts +40 -0
- package/dist/models/ListDnssecRecordsResponseContent.js +56 -0
- package/dist/models/NoVncConsoleDetails.d.ts +19 -1
- package/dist/models/NoVncConsoleDetails.js +7 -3
- package/dist/models/PasswordEncryptionInfo.d.ts +50 -0
- package/dist/models/PasswordEncryptionInfo.js +62 -0
- package/dist/models/UpdateDomainContactsData.d.ts +38 -0
- package/dist/models/UpdateDomainContactsData.js +52 -0
- package/dist/models/UpdateDomainContactsRequestContent.d.ts +39 -0
- package/dist/models/UpdateDomainContactsRequestContent.js +55 -0
- package/dist/models/UpdateDomainContactsResponseContent.d.ts +40 -0
- package/dist/models/UpdateDomainContactsResponseContent.js +56 -0
- package/dist/models/UpdateDomainNameserversData.d.ts +45 -0
- package/dist/models/UpdateDomainNameserversData.js +55 -0
- package/dist/models/UpdateDomainNameserversRequestContent.d.ts +62 -0
- package/dist/models/UpdateDomainNameserversRequestContent.js +64 -0
- package/dist/models/UpdateDomainNameserversResponseContent.d.ts +40 -0
- package/dist/models/UpdateDomainNameserversResponseContent.js +56 -0
- package/dist/models/VpsCredentials.d.ts +1 -1
- package/dist/models/VpsDetailsResponse.d.ts +4 -3
- package/dist/models/VpsDetailsResponse.js +3 -2
- package/dist/models/VpsIpAddressDetail.d.ts +56 -0
- package/dist/models/VpsIpAddressDetail.js +58 -0
- package/dist/models/VpsVmInfo.d.ts +3 -3
- package/dist/models/index.d.ts +42 -0
- package/dist/models/index.js +42 -0
- package/dist/retryablePaths.js +5 -0
- package/dist.zip +0 -0
- package/docs/AddDnsRecordRequestContent.md +38 -0
- package/docs/AddDnsRecordResponseContent.md +36 -0
- package/docs/DNSApi.md +462 -0
- package/docs/DeleteDnsRecordRequestContent.md +38 -0
- package/docs/DeleteDnsRecordResponseContent.md +36 -0
- package/docs/DnsCreateCandidateInfo.md +43 -0
- package/docs/DnsRecordInfo.md +49 -0
- package/docs/DnsRecordMutationData.md +36 -0
- package/docs/DnsRecordMutationRecord.md +49 -0
- package/docs/DnsZoneInfo.md +51 -0
- package/docs/DnssecRecordInfo.md +41 -0
- package/docs/DomainAddonFeature.md +43 -0
- package/docs/DomainAvailableFeatures.md +47 -0
- package/docs/DomainContactSourceType.md +32 -0
- package/docs/DomainContactUpdate.md +39 -0
- package/docs/DomainContactUpdates.md +41 -0
- package/docs/DomainContacts.md +41 -0
- package/docs/DomainDetail.md +107 -0
- package/docs/DomainExpiryCountdown.md +39 -0
- package/docs/DomainInfo.md +2 -0
- package/docs/DomainNameservers.md +43 -0
- package/docs/DomainsApi.md +240 -0
- package/docs/EditDnsRecordRequestContent.md +38 -0
- package/docs/EditDnsRecordResponseContent.md +36 -0
- package/docs/EncryptedPasswordResponseData.md +39 -0
- package/docs/GetDnsZoneDetailsData.md +50 -0
- package/docs/GetDnsZoneDetailsRequestContent.md +34 -0
- package/docs/GetDnsZoneDetailsResponseContent.md +36 -0
- package/docs/GetDomainContactsData.md +1 -1
- package/docs/GetDomainData.md +1 -1
- package/docs/GetEncryptedPasswordRequestContent.md +36 -0
- package/docs/GetEncryptedPasswordResponseContent.md +36 -0
- package/docs/ListDnsCreateCandidatesData.md +38 -0
- package/docs/ListDnsCreateCandidatesResponseContent.md +36 -0
- package/docs/ListDnsZonesData.md +38 -0
- package/docs/ListDnsZonesResponseContent.md +36 -0
- package/docs/ListDnssecRecordsData.md +36 -0
- package/docs/ListDnssecRecordsRequestContent.md +34 -0
- package/docs/ListDnssecRecordsResponseContent.md +36 -0
- package/docs/NoVncConsoleDetails.md +6 -0
- package/docs/PasswordEncryptionInfo.md +41 -0
- package/docs/ServiceManagementApi.md +2 -2
- package/docs/SnapshotsApi.md +4 -4
- package/docs/UpdateDomainContactsData.md +36 -0
- package/docs/UpdateDomainContactsRequestContent.md +36 -0
- package/docs/UpdateDomainContactsResponseContent.md +36 -0
- package/docs/UpdateDomainNameserversData.md +38 -0
- package/docs/UpdateDomainNameserversRequestContent.md +44 -0
- package/docs/UpdateDomainNameserversResponseContent.md +36 -0
- package/docs/VPSManagementApi.md +81 -1
- package/docs/VpsDetailsResponse.md +1 -1
- package/docs/VpsIpAddressDetail.md +43 -0
- package/docs/VpsVmInfo.md +1 -1
- package/package.json +1 -1
- package/src/apis/DNSApi.ts +356 -0
- package/src/apis/DomainsApi.ts +195 -0
- package/src/apis/ServiceManagementApi.ts +4 -4
- package/src/apis/SnapshotsApi.ts +8 -8
- package/src/apis/VPSManagementApi.ts +67 -2
- package/src/models/AddDnsRecordRequestContent.ts +91 -0
- package/src/models/AddDnsRecordResponseContent.ts +92 -0
- package/src/models/DeleteDnsRecordRequestContent.ts +91 -0
- package/src/models/DeleteDnsRecordResponseContent.ts +92 -0
- package/src/models/DnsCreateCandidateInfo.ts +97 -0
- package/src/models/DnsRecordInfo.ts +136 -0
- package/src/models/DnsRecordMutationData.ts +82 -0
- package/src/models/DnsRecordMutationRecord.ts +124 -0
- package/src/models/DnsZoneInfo.ts +138 -0
- package/src/models/DnssecRecordInfo.ts +93 -0
- package/src/models/DomainAddonFeature.ts +101 -0
- package/src/models/DomainAvailableFeatures.ts +121 -0
- package/src/models/DomainContactSourceType.ts +54 -0
- package/src/models/DomainContactUpdate.ts +92 -0
- package/src/models/DomainContactUpdates.ts +97 -0
- package/src/models/DomainContacts.ts +89 -0
- package/src/models/DomainDetail.ts +385 -0
- package/src/models/DomainExpiryCountdown.ts +84 -0
- package/src/models/DomainHostingLink.ts +6 -8
- package/src/models/DomainInfo.ts +8 -0
- package/src/models/DomainNameservers.ts +97 -0
- package/src/models/EditDnsRecordRequestContent.ts +91 -0
- package/src/models/EditDnsRecordResponseContent.ts +92 -0
- package/src/models/EncryptedPasswordResponseData.ts +92 -0
- package/src/models/GetDnsZoneDetailsData.ts +138 -0
- package/src/models/GetDnsZoneDetailsRequestContent.ts +66 -0
- package/src/models/GetDnsZoneDetailsResponseContent.ts +92 -0
- package/src/models/GetDomainContactsData.ts +13 -5
- package/src/models/GetDomainData.ts +10 -10
- package/src/models/GetEncryptedPasswordRequestContent.ts +75 -0
- package/src/models/GetEncryptedPasswordResponseContent.ts +92 -0
- package/src/models/ListDnsCreateCandidatesData.ts +92 -0
- package/src/models/ListDnsCreateCandidatesResponseContent.ts +92 -0
- package/src/models/ListDnsZonesData.ts +92 -0
- package/src/models/ListDnsZonesResponseContent.ts +92 -0
- package/src/models/ListDnssecRecordsData.ts +83 -0
- package/src/models/ListDnssecRecordsRequestContent.ts +66 -0
- package/src/models/ListDnssecRecordsResponseContent.ts +92 -0
- package/src/models/NoVncConsoleDetails.ts +26 -3
- package/src/models/PasswordEncryptionInfo.ts +93 -0
- package/src/models/UpdateDomainContactsData.ts +74 -0
- package/src/models/UpdateDomainContactsRequestContent.ts +83 -0
- package/src/models/UpdateDomainContactsResponseContent.ts +92 -0
- package/src/models/UpdateDomainNameserversData.ts +90 -0
- package/src/models/UpdateDomainNameserversRequestContent.ts +108 -0
- package/src/models/UpdateDomainNameserversResponseContent.ts +92 -0
- package/src/models/VpsCredentials.ts +1 -1
- package/src/models/VpsDetailsResponse.ts +12 -5
- package/src/models/VpsIpAddressDetail.ts +98 -0
- package/src/models/VpsVmInfo.ts +3 -3
- package/src/models/index.ts +42 -0
- package/src/retryablePaths.ts +5 -0
|
@@ -0,0 +1,251 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* HostAfricaApi
|
|
3
|
+
* HostAfrica API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.1.0 - 2026-07-16
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { DomainExpiryCountdown } from './DomainExpiryCountdown.js';
|
|
13
|
+
import type { DomainAvailableFeatures } from './DomainAvailableFeatures.js';
|
|
14
|
+
import type { DomainHostingLink } from './DomainHostingLink.js';
|
|
15
|
+
/**
|
|
16
|
+
* Full domain details returned by get-domain
|
|
17
|
+
* @export
|
|
18
|
+
* @interface DomainDetail
|
|
19
|
+
*/
|
|
20
|
+
export interface DomainDetail {
|
|
21
|
+
/**
|
|
22
|
+
* Domain service id
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof DomainDetail
|
|
25
|
+
*/
|
|
26
|
+
domainId: string;
|
|
27
|
+
/**
|
|
28
|
+
* Domain operation type (e.g. Register, Transfer)
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof DomainDetail
|
|
31
|
+
*/
|
|
32
|
+
type: string;
|
|
33
|
+
/**
|
|
34
|
+
* Fully qualified domain name
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof DomainDetail
|
|
37
|
+
*/
|
|
38
|
+
domain: string;
|
|
39
|
+
/**
|
|
40
|
+
* Second-level domain label (e.g. dandelyn)
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof DomainDetail
|
|
43
|
+
*/
|
|
44
|
+
sld?: string;
|
|
45
|
+
/**
|
|
46
|
+
* Top-level domain including dot (e.g. .co.za)
|
|
47
|
+
* @type {string}
|
|
48
|
+
* @memberof DomainDetail
|
|
49
|
+
*/
|
|
50
|
+
tld?: string;
|
|
51
|
+
/**
|
|
52
|
+
* Domain status (e.g. Active, Expired, Cancelled)
|
|
53
|
+
* @type {string}
|
|
54
|
+
* @memberof DomainDetail
|
|
55
|
+
*/
|
|
56
|
+
status: string;
|
|
57
|
+
/**
|
|
58
|
+
* Registration or billing period in years
|
|
59
|
+
* @type {number}
|
|
60
|
+
* @memberof DomainDetail
|
|
61
|
+
*/
|
|
62
|
+
period: number;
|
|
63
|
+
/**
|
|
64
|
+
* Registration timestamp from upstream (ISO 8601)
|
|
65
|
+
* @type {string}
|
|
66
|
+
* @memberof DomainDetail
|
|
67
|
+
*/
|
|
68
|
+
registrationdate?: string;
|
|
69
|
+
/**
|
|
70
|
+
* Renewal flag: 0 = renew, 1 = do not renew
|
|
71
|
+
* @type {number}
|
|
72
|
+
* @memberof DomainDetail
|
|
73
|
+
*/
|
|
74
|
+
donotrenew: number;
|
|
75
|
+
/**
|
|
76
|
+
* WHOIS privacy enabled: 0 = off, 1 = on
|
|
77
|
+
* @type {number}
|
|
78
|
+
* @memberof DomainDetail
|
|
79
|
+
*/
|
|
80
|
+
idProtection: number;
|
|
81
|
+
/**
|
|
82
|
+
* Whether the TLD supports ID protection
|
|
83
|
+
* @type {boolean}
|
|
84
|
+
* @memberof DomainDetail
|
|
85
|
+
*/
|
|
86
|
+
idProtectionSupported: boolean;
|
|
87
|
+
/**
|
|
88
|
+
* First payment amount as a decimal string
|
|
89
|
+
* @type {string}
|
|
90
|
+
* @memberof DomainDetail
|
|
91
|
+
*/
|
|
92
|
+
firstpaymentamount?: string;
|
|
93
|
+
/**
|
|
94
|
+
* Recurring amount as a decimal string (e.g. "149.99")
|
|
95
|
+
* @type {string}
|
|
96
|
+
* @memberof DomainDetail
|
|
97
|
+
*/
|
|
98
|
+
recurringamount: string;
|
|
99
|
+
/**
|
|
100
|
+
* Whether DNS management addon is currently enabled
|
|
101
|
+
* @type {boolean}
|
|
102
|
+
* @memberof DomainDetail
|
|
103
|
+
*/
|
|
104
|
+
dnsmanagement?: boolean;
|
|
105
|
+
/**
|
|
106
|
+
* Whether email forwarding addon is currently enabled
|
|
107
|
+
* @type {boolean}
|
|
108
|
+
* @memberof DomainDetail
|
|
109
|
+
*/
|
|
110
|
+
emailforwarding?: boolean;
|
|
111
|
+
/**
|
|
112
|
+
* Whether the domain is premium
|
|
113
|
+
* @type {boolean}
|
|
114
|
+
* @memberof DomainDetail
|
|
115
|
+
*/
|
|
116
|
+
isPremium?: boolean;
|
|
117
|
+
/**
|
|
118
|
+
* Registrar lock status (e.g. locked, unlocked, unavailable)
|
|
119
|
+
* @type {string}
|
|
120
|
+
* @memberof DomainDetail
|
|
121
|
+
*/
|
|
122
|
+
lockStatus?: string;
|
|
123
|
+
/**
|
|
124
|
+
* Grace period length in days
|
|
125
|
+
* @type {number}
|
|
126
|
+
* @memberof DomainDetail
|
|
127
|
+
*/
|
|
128
|
+
gracePeriod?: number;
|
|
129
|
+
/**
|
|
130
|
+
* Redemption period length in days
|
|
131
|
+
* @type {number}
|
|
132
|
+
* @memberof DomainDetail
|
|
133
|
+
*/
|
|
134
|
+
redemptionPeriod?: number;
|
|
135
|
+
/**
|
|
136
|
+
* Grace period renewal fee
|
|
137
|
+
* @type {number}
|
|
138
|
+
* @memberof DomainDetail
|
|
139
|
+
*/
|
|
140
|
+
gracePeriodFee?: number;
|
|
141
|
+
/**
|
|
142
|
+
* Redemption period renewal fee
|
|
143
|
+
* @type {number}
|
|
144
|
+
* @memberof DomainDetail
|
|
145
|
+
*/
|
|
146
|
+
redemptionPeriodFee?: number;
|
|
147
|
+
/**
|
|
148
|
+
* Whether the domain is currently in grace period
|
|
149
|
+
* @type {boolean}
|
|
150
|
+
* @memberof DomainDetail
|
|
151
|
+
*/
|
|
152
|
+
inGrace?: boolean;
|
|
153
|
+
/**
|
|
154
|
+
* Whether the domain is currently in redemption period
|
|
155
|
+
* @type {boolean}
|
|
156
|
+
* @memberof DomainDetail
|
|
157
|
+
*/
|
|
158
|
+
inRedemption?: boolean;
|
|
159
|
+
/**
|
|
160
|
+
* Domain expiry date (YYYY-MM-DD or ISO 8601 from upstream)
|
|
161
|
+
* @type {string}
|
|
162
|
+
* @memberof DomainDetail
|
|
163
|
+
*/
|
|
164
|
+
expirydate?: string;
|
|
165
|
+
/**
|
|
166
|
+
* Next invoice date (YYYY-MM-DD or ISO 8601 from upstream)
|
|
167
|
+
* @type {string}
|
|
168
|
+
* @memberof DomainDetail
|
|
169
|
+
*/
|
|
170
|
+
nextinvoicedate?: string;
|
|
171
|
+
/**
|
|
172
|
+
* Next due date (YYYY-MM-DD or ISO 8601 from upstream)
|
|
173
|
+
* @type {string}
|
|
174
|
+
* @memberof DomainDetail
|
|
175
|
+
*/
|
|
176
|
+
nextduedate?: string;
|
|
177
|
+
/**
|
|
178
|
+
*
|
|
179
|
+
* @type {DomainAvailableFeatures}
|
|
180
|
+
* @memberof DomainDetail
|
|
181
|
+
*/
|
|
182
|
+
availableFeatures?: DomainAvailableFeatures;
|
|
183
|
+
/**
|
|
184
|
+
* Currently applied nameserver hostnames
|
|
185
|
+
* @type {Array<string>}
|
|
186
|
+
* @memberof DomainDetail
|
|
187
|
+
*/
|
|
188
|
+
domainNameservers?: Array<string>;
|
|
189
|
+
/**
|
|
190
|
+
* Default nameserver hostnames for this domain/product
|
|
191
|
+
* @type {Array<string>}
|
|
192
|
+
* @memberof DomainDetail
|
|
193
|
+
*/
|
|
194
|
+
defaultNameservers?: Array<string>;
|
|
195
|
+
/**
|
|
196
|
+
* Nameserver change state (e.g. own, pending)
|
|
197
|
+
* @type {string}
|
|
198
|
+
* @memberof DomainDetail
|
|
199
|
+
*/
|
|
200
|
+
nsChanging?: string;
|
|
201
|
+
/**
|
|
202
|
+
*
|
|
203
|
+
* @type {DomainHostingLink}
|
|
204
|
+
* @memberof DomainDetail
|
|
205
|
+
*/
|
|
206
|
+
hasHosting?: DomainHostingLink;
|
|
207
|
+
/**
|
|
208
|
+
* Whether a DNS Manager zone exists for this domain name
|
|
209
|
+
* @type {boolean}
|
|
210
|
+
* @memberof DomainDetail
|
|
211
|
+
*/
|
|
212
|
+
hasDnsManagerZone: boolean;
|
|
213
|
+
/**
|
|
214
|
+
*
|
|
215
|
+
* @type {DomainExpiryCountdown}
|
|
216
|
+
* @memberof DomainDetail
|
|
217
|
+
*/
|
|
218
|
+
expiryCountdown?: DomainExpiryCountdown;
|
|
219
|
+
/**
|
|
220
|
+
* Domain evaluator result when enabled; null when unavailable
|
|
221
|
+
* @type {any}
|
|
222
|
+
* @memberof DomainDetail
|
|
223
|
+
*/
|
|
224
|
+
evaluation?: any | null;
|
|
225
|
+
/**
|
|
226
|
+
* Whether domain evaluation is available for this domain/account
|
|
227
|
+
* @type {boolean}
|
|
228
|
+
* @memberof DomainDetail
|
|
229
|
+
*/
|
|
230
|
+
domainEvaluationAvailable?: boolean;
|
|
231
|
+
/**
|
|
232
|
+
* Configured redirect details when present; null when none
|
|
233
|
+
* @type {any}
|
|
234
|
+
* @memberof DomainDetail
|
|
235
|
+
*/
|
|
236
|
+
hasRedirect?: any | null;
|
|
237
|
+
/**
|
|
238
|
+
* True when EPP/auth code retrieval is disabled for this domain
|
|
239
|
+
* @type {boolean}
|
|
240
|
+
* @memberof DomainDetail
|
|
241
|
+
*/
|
|
242
|
+
noEpp?: boolean;
|
|
243
|
+
}
|
|
244
|
+
/**
|
|
245
|
+
* Check if a given object implements the DomainDetail interface.
|
|
246
|
+
*/
|
|
247
|
+
export declare function instanceOfDomainDetail(value: object): value is DomainDetail;
|
|
248
|
+
export declare function DomainDetailFromJSON(json: any): DomainDetail;
|
|
249
|
+
export declare function DomainDetailFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainDetail;
|
|
250
|
+
export declare function DomainDetailToJSON(json: any): DomainDetail;
|
|
251
|
+
export declare function DomainDetailToJSONTyped(value?: DomainDetail | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* HostAfricaApi
|
|
5
|
+
* HostAfrica API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.1.0 - 2026-07-16
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { DomainExpiryCountdownFromJSON, DomainExpiryCountdownToJSON, } from './DomainExpiryCountdown.js';
|
|
15
|
+
import { DomainAvailableFeaturesFromJSON, DomainAvailableFeaturesToJSON, } from './DomainAvailableFeatures.js';
|
|
16
|
+
import { DomainHostingLinkFromJSON, DomainHostingLinkToJSON, } from './DomainHostingLink.js';
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the DomainDetail interface.
|
|
19
|
+
*/
|
|
20
|
+
export function instanceOfDomainDetail(value) {
|
|
21
|
+
if (!('domainId' in value) || value['domainId'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('domain' in value) || value['domain'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('period' in value) || value['period'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('donotrenew' in value) || value['donotrenew'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('idProtection' in value) || value['idProtection'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('idProtectionSupported' in value) || value['idProtectionSupported'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('recurringamount' in value) || value['recurringamount'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('hasDnsManagerZone' in value) || value['hasDnsManagerZone'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
return true;
|
|
42
|
+
}
|
|
43
|
+
export function DomainDetailFromJSON(json) {
|
|
44
|
+
return DomainDetailFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
export function DomainDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
|
+
if (json == null) {
|
|
48
|
+
return json;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'domainId': json['domain_id'],
|
|
52
|
+
'type': json['type'],
|
|
53
|
+
'domain': json['domain'],
|
|
54
|
+
'sld': json['sld'] == null ? undefined : json['sld'],
|
|
55
|
+
'tld': json['tld'] == null ? undefined : json['tld'],
|
|
56
|
+
'status': json['status'],
|
|
57
|
+
'period': json['period'],
|
|
58
|
+
'registrationdate': json['registrationdate'] == null ? undefined : json['registrationdate'],
|
|
59
|
+
'donotrenew': json['donotrenew'],
|
|
60
|
+
'idProtection': json['id_protection'],
|
|
61
|
+
'idProtectionSupported': json['id_protection_supported'],
|
|
62
|
+
'firstpaymentamount': json['firstpaymentamount'] == null ? undefined : json['firstpaymentamount'],
|
|
63
|
+
'recurringamount': json['recurringamount'],
|
|
64
|
+
'dnsmanagement': json['dnsmanagement'] == null ? undefined : json['dnsmanagement'],
|
|
65
|
+
'emailforwarding': json['emailforwarding'] == null ? undefined : json['emailforwarding'],
|
|
66
|
+
'isPremium': json['is_premium'] == null ? undefined : json['is_premium'],
|
|
67
|
+
'lockStatus': json['lock_status'] == null ? undefined : json['lock_status'],
|
|
68
|
+
'gracePeriod': json['grace_period'] == null ? undefined : json['grace_period'],
|
|
69
|
+
'redemptionPeriod': json['redemption_period'] == null ? undefined : json['redemption_period'],
|
|
70
|
+
'gracePeriodFee': json['grace_period_fee'] == null ? undefined : json['grace_period_fee'],
|
|
71
|
+
'redemptionPeriodFee': json['redemption_period_fee'] == null ? undefined : json['redemption_period_fee'],
|
|
72
|
+
'inGrace': json['in_grace'] == null ? undefined : json['in_grace'],
|
|
73
|
+
'inRedemption': json['in_redemption'] == null ? undefined : json['in_redemption'],
|
|
74
|
+
'expirydate': json['expirydate'] == null ? undefined : json['expirydate'],
|
|
75
|
+
'nextinvoicedate': json['nextinvoicedate'] == null ? undefined : json['nextinvoicedate'],
|
|
76
|
+
'nextduedate': json['nextduedate'] == null ? undefined : json['nextduedate'],
|
|
77
|
+
'availableFeatures': json['available_features'] == null ? undefined : DomainAvailableFeaturesFromJSON(json['available_features']),
|
|
78
|
+
'domainNameservers': json['domain_nameservers'] == null ? undefined : json['domain_nameservers'],
|
|
79
|
+
'defaultNameservers': json['default_nameservers'] == null ? undefined : json['default_nameservers'],
|
|
80
|
+
'nsChanging': json['ns_changing'] == null ? undefined : json['ns_changing'],
|
|
81
|
+
'hasHosting': json['has_hosting'] == null ? undefined : DomainHostingLinkFromJSON(json['has_hosting']),
|
|
82
|
+
'hasDnsManagerZone': json['has_dns_manager_zone'],
|
|
83
|
+
'expiryCountdown': json['expiry_countdown'] == null ? undefined : DomainExpiryCountdownFromJSON(json['expiry_countdown']),
|
|
84
|
+
'evaluation': json['evaluation'] == null ? undefined : json['evaluation'],
|
|
85
|
+
'domainEvaluationAvailable': json['domain_evaluation_available'] == null ? undefined : json['domain_evaluation_available'],
|
|
86
|
+
'hasRedirect': json['has_redirect'] == null ? undefined : json['has_redirect'],
|
|
87
|
+
'noEpp': json['no_epp'] == null ? undefined : json['no_epp'],
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
export function DomainDetailToJSON(json) {
|
|
91
|
+
return DomainDetailToJSONTyped(json, false);
|
|
92
|
+
}
|
|
93
|
+
export function DomainDetailToJSONTyped(value, ignoreDiscriminator = false) {
|
|
94
|
+
if (value == null) {
|
|
95
|
+
return value;
|
|
96
|
+
}
|
|
97
|
+
return {
|
|
98
|
+
'domain_id': value['domainId'],
|
|
99
|
+
'type': value['type'],
|
|
100
|
+
'domain': value['domain'],
|
|
101
|
+
'sld': value['sld'],
|
|
102
|
+
'tld': value['tld'],
|
|
103
|
+
'status': value['status'],
|
|
104
|
+
'period': value['period'],
|
|
105
|
+
'registrationdate': value['registrationdate'],
|
|
106
|
+
'donotrenew': value['donotrenew'],
|
|
107
|
+
'id_protection': value['idProtection'],
|
|
108
|
+
'id_protection_supported': value['idProtectionSupported'],
|
|
109
|
+
'firstpaymentamount': value['firstpaymentamount'],
|
|
110
|
+
'recurringamount': value['recurringamount'],
|
|
111
|
+
'dnsmanagement': value['dnsmanagement'],
|
|
112
|
+
'emailforwarding': value['emailforwarding'],
|
|
113
|
+
'is_premium': value['isPremium'],
|
|
114
|
+
'lock_status': value['lockStatus'],
|
|
115
|
+
'grace_period': value['gracePeriod'],
|
|
116
|
+
'redemption_period': value['redemptionPeriod'],
|
|
117
|
+
'grace_period_fee': value['gracePeriodFee'],
|
|
118
|
+
'redemption_period_fee': value['redemptionPeriodFee'],
|
|
119
|
+
'in_grace': value['inGrace'],
|
|
120
|
+
'in_redemption': value['inRedemption'],
|
|
121
|
+
'expirydate': value['expirydate'],
|
|
122
|
+
'nextinvoicedate': value['nextinvoicedate'],
|
|
123
|
+
'nextduedate': value['nextduedate'],
|
|
124
|
+
'available_features': DomainAvailableFeaturesToJSON(value['availableFeatures']),
|
|
125
|
+
'domain_nameservers': value['domainNameservers'],
|
|
126
|
+
'default_nameservers': value['defaultNameservers'],
|
|
127
|
+
'ns_changing': value['nsChanging'],
|
|
128
|
+
'has_hosting': DomainHostingLinkToJSON(value['hasHosting']),
|
|
129
|
+
'has_dns_manager_zone': value['hasDnsManagerZone'],
|
|
130
|
+
'expiry_countdown': DomainExpiryCountdownToJSON(value['expiryCountdown']),
|
|
131
|
+
'evaluation': value['evaluation'],
|
|
132
|
+
'domain_evaluation_available': value['domainEvaluationAvailable'],
|
|
133
|
+
'has_redirect': value['hasRedirect'],
|
|
134
|
+
'no_epp': value['noEpp'],
|
|
135
|
+
};
|
|
136
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* HostAfricaApi
|
|
3
|
+
* HostAfrica API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.1.0 - 2026-07-16
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Countdown until domain expiry
|
|
14
|
+
* @export
|
|
15
|
+
* @interface DomainExpiryCountdown
|
|
16
|
+
*/
|
|
17
|
+
export interface DomainExpiryCountdown {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof DomainExpiryCountdown
|
|
22
|
+
*/
|
|
23
|
+
years: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof DomainExpiryCountdown
|
|
28
|
+
*/
|
|
29
|
+
months: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof DomainExpiryCountdown
|
|
34
|
+
*/
|
|
35
|
+
days: number;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the DomainExpiryCountdown interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfDomainExpiryCountdown(value: object): value is DomainExpiryCountdown;
|
|
41
|
+
export declare function DomainExpiryCountdownFromJSON(json: any): DomainExpiryCountdown;
|
|
42
|
+
export declare function DomainExpiryCountdownFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainExpiryCountdown;
|
|
43
|
+
export declare function DomainExpiryCountdownToJSON(json: any): DomainExpiryCountdown;
|
|
44
|
+
export declare function DomainExpiryCountdownToJSONTyped(value?: DomainExpiryCountdown | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* HostAfricaApi
|
|
5
|
+
* HostAfrica API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.1.0 - 2026-07-16
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the DomainExpiryCountdown interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfDomainExpiryCountdown(value) {
|
|
18
|
+
if (!('years' in value) || value['years'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('months' in value) || value['months'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('days' in value) || value['days'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function DomainExpiryCountdownFromJSON(json) {
|
|
27
|
+
return DomainExpiryCountdownFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function DomainExpiryCountdownFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'years': json['years'],
|
|
35
|
+
'months': json['months'],
|
|
36
|
+
'days': json['days'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export function DomainExpiryCountdownToJSON(json) {
|
|
40
|
+
return DomainExpiryCountdownToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function DomainExpiryCountdownToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'years': value['years'],
|
|
48
|
+
'months': value['months'],
|
|
49
|
+
'days': value['days'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -16,17 +16,17 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface DomainHostingLink {
|
|
18
18
|
/**
|
|
19
|
-
* Linked hosting service id
|
|
19
|
+
* Linked hosting service id; omitted when no hosting is linked
|
|
20
20
|
* @type {number}
|
|
21
21
|
* @memberof DomainHostingLink
|
|
22
22
|
*/
|
|
23
|
-
hostingId
|
|
23
|
+
hostingId?: number;
|
|
24
24
|
/**
|
|
25
|
-
* Hosting module name (e.g. cpanel)
|
|
25
|
+
* Hosting module name (e.g. cpanel); omitted when no hosting is linked
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof DomainHostingLink
|
|
28
28
|
*/
|
|
29
|
-
module
|
|
29
|
+
module?: string;
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
32
|
* Check if a given object implements the DomainHostingLink interface.
|
|
@@ -15,10 +15,6 @@
|
|
|
15
15
|
* Check if a given object implements the DomainHostingLink interface.
|
|
16
16
|
*/
|
|
17
17
|
export function instanceOfDomainHostingLink(value) {
|
|
18
|
-
if (!('hostingId' in value) || value['hostingId'] === undefined)
|
|
19
|
-
return false;
|
|
20
|
-
if (!('module' in value) || value['module'] === undefined)
|
|
21
|
-
return false;
|
|
22
18
|
return true;
|
|
23
19
|
}
|
|
24
20
|
export function DomainHostingLinkFromJSON(json) {
|
|
@@ -29,8 +25,8 @@ export function DomainHostingLinkFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
29
25
|
return json;
|
|
30
26
|
}
|
|
31
27
|
return {
|
|
32
|
-
'hostingId': json['hosting_id'],
|
|
33
|
-
'module': json['module'],
|
|
28
|
+
'hostingId': json['hosting_id'] == null ? undefined : json['hosting_id'],
|
|
29
|
+
'module': json['module'] == null ? undefined : json['module'],
|
|
34
30
|
};
|
|
35
31
|
}
|
|
36
32
|
export function DomainHostingLinkToJSON(json) {
|
|
@@ -106,6 +106,12 @@ export interface DomainInfo {
|
|
|
106
106
|
* @memberof DomainInfo
|
|
107
107
|
*/
|
|
108
108
|
evaluation?: any | null;
|
|
109
|
+
/**
|
|
110
|
+
* True when EPP/auth code retrieval is disabled for this domain
|
|
111
|
+
* @type {boolean}
|
|
112
|
+
* @memberof DomainInfo
|
|
113
|
+
*/
|
|
114
|
+
noEpp?: boolean;
|
|
109
115
|
}
|
|
110
116
|
/**
|
|
111
117
|
* Check if a given object implements the DomainInfo interface.
|
|
@@ -61,6 +61,7 @@ export function DomainInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
61
61
|
'hasHosting': json['has_hosting'] == null ? undefined : DomainHostingLinkFromJSON(json['has_hosting']),
|
|
62
62
|
'hasDnsManagerZone': json['has_dns_manager_zone'],
|
|
63
63
|
'evaluation': json['evaluation'] == null ? undefined : json['evaluation'],
|
|
64
|
+
'noEpp': json['no_epp'] == null ? undefined : json['no_epp'],
|
|
64
65
|
};
|
|
65
66
|
}
|
|
66
67
|
export function DomainInfoToJSON(json) {
|
|
@@ -86,5 +87,6 @@ export function DomainInfoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
86
87
|
'has_hosting': DomainHostingLinkToJSON(value['hasHosting']),
|
|
87
88
|
'has_dns_manager_zone': value['hasDnsManagerZone'],
|
|
88
89
|
'evaluation': value['evaluation'],
|
|
90
|
+
'no_epp': value['noEpp'],
|
|
89
91
|
};
|
|
90
92
|
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* HostAfricaApi
|
|
3
|
+
* HostAfrica API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.1.0 - 2026-07-16
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Nameserver hostnames applied to a domain
|
|
14
|
+
* @export
|
|
15
|
+
* @interface DomainNameservers
|
|
16
|
+
*/
|
|
17
|
+
export interface DomainNameservers {
|
|
18
|
+
/**
|
|
19
|
+
* Primary nameserver hostname
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof DomainNameservers
|
|
22
|
+
*/
|
|
23
|
+
ns1?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Secondary nameserver hostname
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof DomainNameservers
|
|
28
|
+
*/
|
|
29
|
+
ns2?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Optional tertiary nameserver hostname
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof DomainNameservers
|
|
34
|
+
*/
|
|
35
|
+
ns3?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Optional quaternary nameserver hostname
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof DomainNameservers
|
|
40
|
+
*/
|
|
41
|
+
ns4?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Optional fifth nameserver hostname
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof DomainNameservers
|
|
46
|
+
*/
|
|
47
|
+
ns5?: string;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the DomainNameservers interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfDomainNameservers(value: object): value is DomainNameservers;
|
|
53
|
+
export declare function DomainNameserversFromJSON(json: any): DomainNameservers;
|
|
54
|
+
export declare function DomainNameserversFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainNameservers;
|
|
55
|
+
export declare function DomainNameserversToJSON(json: any): DomainNameservers;
|
|
56
|
+
export declare function DomainNameserversToJSONTyped(value?: DomainNameservers | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* HostAfricaApi
|
|
5
|
+
* HostAfrica API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.1.0 - 2026-07-16
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the DomainNameservers interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfDomainNameservers(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function DomainNameserversFromJSON(json) {
|
|
21
|
+
return DomainNameserversFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function DomainNameserversFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'ns1': json['ns1'] == null ? undefined : json['ns1'],
|
|
29
|
+
'ns2': json['ns2'] == null ? undefined : json['ns2'],
|
|
30
|
+
'ns3': json['ns3'] == null ? undefined : json['ns3'],
|
|
31
|
+
'ns4': json['ns4'] == null ? undefined : json['ns4'],
|
|
32
|
+
'ns5': json['ns5'] == null ? undefined : json['ns5'],
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export function DomainNameserversToJSON(json) {
|
|
36
|
+
return DomainNameserversToJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function DomainNameserversToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'ns1': value['ns1'],
|
|
44
|
+
'ns2': value['ns2'],
|
|
45
|
+
'ns3': value['ns3'],
|
|
46
|
+
'ns4': value['ns4'],
|
|
47
|
+
'ns5': value['ns5'],
|
|
48
|
+
};
|
|
49
|
+
}
|