@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,143 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* HostAfricaApi
|
|
6
|
+
* HostAfrica API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.1.0 - 2026-07-16
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfDomainDetail = instanceOfDomainDetail;
|
|
17
|
+
exports.DomainDetailFromJSON = DomainDetailFromJSON;
|
|
18
|
+
exports.DomainDetailFromJSONTyped = DomainDetailFromJSONTyped;
|
|
19
|
+
exports.DomainDetailToJSON = DomainDetailToJSON;
|
|
20
|
+
exports.DomainDetailToJSONTyped = DomainDetailToJSONTyped;
|
|
21
|
+
const DomainExpiryCountdown_js_1 = require("./DomainExpiryCountdown.js");
|
|
22
|
+
const DomainAvailableFeatures_js_1 = require("./DomainAvailableFeatures.js");
|
|
23
|
+
const DomainHostingLink_js_1 = require("./DomainHostingLink.js");
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the DomainDetail interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfDomainDetail(value) {
|
|
28
|
+
if (!('domainId' in value) || value['domainId'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('domain' in value) || value['domain'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('period' in value) || value['period'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('donotrenew' in value) || value['donotrenew'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('idProtection' in value) || value['idProtection'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('idProtectionSupported' in value) || value['idProtectionSupported'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('recurringamount' in value) || value['recurringamount'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
if (!('hasDnsManagerZone' in value) || value['hasDnsManagerZone'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
return true;
|
|
49
|
+
}
|
|
50
|
+
function DomainDetailFromJSON(json) {
|
|
51
|
+
return DomainDetailFromJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function DomainDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
54
|
+
if (json == null) {
|
|
55
|
+
return json;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'domainId': json['domain_id'],
|
|
59
|
+
'type': json['type'],
|
|
60
|
+
'domain': json['domain'],
|
|
61
|
+
'sld': json['sld'] == null ? undefined : json['sld'],
|
|
62
|
+
'tld': json['tld'] == null ? undefined : json['tld'],
|
|
63
|
+
'status': json['status'],
|
|
64
|
+
'period': json['period'],
|
|
65
|
+
'registrationdate': json['registrationdate'] == null ? undefined : json['registrationdate'],
|
|
66
|
+
'donotrenew': json['donotrenew'],
|
|
67
|
+
'idProtection': json['id_protection'],
|
|
68
|
+
'idProtectionSupported': json['id_protection_supported'],
|
|
69
|
+
'firstpaymentamount': json['firstpaymentamount'] == null ? undefined : json['firstpaymentamount'],
|
|
70
|
+
'recurringamount': json['recurringamount'],
|
|
71
|
+
'dnsmanagement': json['dnsmanagement'] == null ? undefined : json['dnsmanagement'],
|
|
72
|
+
'emailforwarding': json['emailforwarding'] == null ? undefined : json['emailforwarding'],
|
|
73
|
+
'isPremium': json['is_premium'] == null ? undefined : json['is_premium'],
|
|
74
|
+
'lockStatus': json['lock_status'] == null ? undefined : json['lock_status'],
|
|
75
|
+
'gracePeriod': json['grace_period'] == null ? undefined : json['grace_period'],
|
|
76
|
+
'redemptionPeriod': json['redemption_period'] == null ? undefined : json['redemption_period'],
|
|
77
|
+
'gracePeriodFee': json['grace_period_fee'] == null ? undefined : json['grace_period_fee'],
|
|
78
|
+
'redemptionPeriodFee': json['redemption_period_fee'] == null ? undefined : json['redemption_period_fee'],
|
|
79
|
+
'inGrace': json['in_grace'] == null ? undefined : json['in_grace'],
|
|
80
|
+
'inRedemption': json['in_redemption'] == null ? undefined : json['in_redemption'],
|
|
81
|
+
'expirydate': json['expirydate'] == null ? undefined : json['expirydate'],
|
|
82
|
+
'nextinvoicedate': json['nextinvoicedate'] == null ? undefined : json['nextinvoicedate'],
|
|
83
|
+
'nextduedate': json['nextduedate'] == null ? undefined : json['nextduedate'],
|
|
84
|
+
'availableFeatures': json['available_features'] == null ? undefined : (0, DomainAvailableFeatures_js_1.DomainAvailableFeaturesFromJSON)(json['available_features']),
|
|
85
|
+
'domainNameservers': json['domain_nameservers'] == null ? undefined : json['domain_nameservers'],
|
|
86
|
+
'defaultNameservers': json['default_nameservers'] == null ? undefined : json['default_nameservers'],
|
|
87
|
+
'nsChanging': json['ns_changing'] == null ? undefined : json['ns_changing'],
|
|
88
|
+
'hasHosting': json['has_hosting'] == null ? undefined : (0, DomainHostingLink_js_1.DomainHostingLinkFromJSON)(json['has_hosting']),
|
|
89
|
+
'hasDnsManagerZone': json['has_dns_manager_zone'],
|
|
90
|
+
'expiryCountdown': json['expiry_countdown'] == null ? undefined : (0, DomainExpiryCountdown_js_1.DomainExpiryCountdownFromJSON)(json['expiry_countdown']),
|
|
91
|
+
'evaluation': json['evaluation'] == null ? undefined : json['evaluation'],
|
|
92
|
+
'domainEvaluationAvailable': json['domain_evaluation_available'] == null ? undefined : json['domain_evaluation_available'],
|
|
93
|
+
'hasRedirect': json['has_redirect'] == null ? undefined : json['has_redirect'],
|
|
94
|
+
'noEpp': json['no_epp'] == null ? undefined : json['no_epp'],
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
function DomainDetailToJSON(json) {
|
|
98
|
+
return DomainDetailToJSONTyped(json, false);
|
|
99
|
+
}
|
|
100
|
+
function DomainDetailToJSONTyped(value, ignoreDiscriminator = false) {
|
|
101
|
+
if (value == null) {
|
|
102
|
+
return value;
|
|
103
|
+
}
|
|
104
|
+
return {
|
|
105
|
+
'domain_id': value['domainId'],
|
|
106
|
+
'type': value['type'],
|
|
107
|
+
'domain': value['domain'],
|
|
108
|
+
'sld': value['sld'],
|
|
109
|
+
'tld': value['tld'],
|
|
110
|
+
'status': value['status'],
|
|
111
|
+
'period': value['period'],
|
|
112
|
+
'registrationdate': value['registrationdate'],
|
|
113
|
+
'donotrenew': value['donotrenew'],
|
|
114
|
+
'id_protection': value['idProtection'],
|
|
115
|
+
'id_protection_supported': value['idProtectionSupported'],
|
|
116
|
+
'firstpaymentamount': value['firstpaymentamount'],
|
|
117
|
+
'recurringamount': value['recurringamount'],
|
|
118
|
+
'dnsmanagement': value['dnsmanagement'],
|
|
119
|
+
'emailforwarding': value['emailforwarding'],
|
|
120
|
+
'is_premium': value['isPremium'],
|
|
121
|
+
'lock_status': value['lockStatus'],
|
|
122
|
+
'grace_period': value['gracePeriod'],
|
|
123
|
+
'redemption_period': value['redemptionPeriod'],
|
|
124
|
+
'grace_period_fee': value['gracePeriodFee'],
|
|
125
|
+
'redemption_period_fee': value['redemptionPeriodFee'],
|
|
126
|
+
'in_grace': value['inGrace'],
|
|
127
|
+
'in_redemption': value['inRedemption'],
|
|
128
|
+
'expirydate': value['expirydate'],
|
|
129
|
+
'nextinvoicedate': value['nextinvoicedate'],
|
|
130
|
+
'nextduedate': value['nextduedate'],
|
|
131
|
+
'available_features': (0, DomainAvailableFeatures_js_1.DomainAvailableFeaturesToJSON)(value['availableFeatures']),
|
|
132
|
+
'domain_nameservers': value['domainNameservers'],
|
|
133
|
+
'default_nameservers': value['defaultNameservers'],
|
|
134
|
+
'ns_changing': value['nsChanging'],
|
|
135
|
+
'has_hosting': (0, DomainHostingLink_js_1.DomainHostingLinkToJSON)(value['hasHosting']),
|
|
136
|
+
'has_dns_manager_zone': value['hasDnsManagerZone'],
|
|
137
|
+
'expiry_countdown': (0, DomainExpiryCountdown_js_1.DomainExpiryCountdownToJSON)(value['expiryCountdown']),
|
|
138
|
+
'evaluation': value['evaluation'],
|
|
139
|
+
'domain_evaluation_available': value['domainEvaluationAvailable'],
|
|
140
|
+
'has_redirect': value['hasRedirect'],
|
|
141
|
+
'no_epp': value['noEpp'],
|
|
142
|
+
};
|
|
143
|
+
}
|
|
@@ -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,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* HostAfricaApi
|
|
6
|
+
* HostAfrica API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.1.0 - 2026-07-16
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfDomainExpiryCountdown = instanceOfDomainExpiryCountdown;
|
|
17
|
+
exports.DomainExpiryCountdownFromJSON = DomainExpiryCountdownFromJSON;
|
|
18
|
+
exports.DomainExpiryCountdownFromJSONTyped = DomainExpiryCountdownFromJSONTyped;
|
|
19
|
+
exports.DomainExpiryCountdownToJSON = DomainExpiryCountdownToJSON;
|
|
20
|
+
exports.DomainExpiryCountdownToJSONTyped = DomainExpiryCountdownToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the DomainExpiryCountdown interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfDomainExpiryCountdown(value) {
|
|
25
|
+
if (!('years' in value) || value['years'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('months' in value) || value['months'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('days' in value) || value['days'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function DomainExpiryCountdownFromJSON(json) {
|
|
34
|
+
return DomainExpiryCountdownFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function DomainExpiryCountdownFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'years': json['years'],
|
|
42
|
+
'months': json['months'],
|
|
43
|
+
'days': json['days'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function DomainExpiryCountdownToJSON(json) {
|
|
47
|
+
return DomainExpiryCountdownToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function DomainExpiryCountdownToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'years': value['years'],
|
|
55
|
+
'months': value['months'],
|
|
56
|
+
'days': value['days'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -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.
|
|
@@ -22,10 +22,6 @@ exports.DomainHostingLinkToJSONTyped = DomainHostingLinkToJSONTyped;
|
|
|
22
22
|
* Check if a given object implements the DomainHostingLink interface.
|
|
23
23
|
*/
|
|
24
24
|
function instanceOfDomainHostingLink(value) {
|
|
25
|
-
if (!('hostingId' in value) || value['hostingId'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('module' in value) || value['module'] === undefined)
|
|
28
|
-
return false;
|
|
29
25
|
return true;
|
|
30
26
|
}
|
|
31
27
|
function DomainHostingLinkFromJSON(json) {
|
|
@@ -36,8 +32,8 @@ function DomainHostingLinkFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
32
|
return json;
|
|
37
33
|
}
|
|
38
34
|
return {
|
|
39
|
-
'hostingId': json['hosting_id'],
|
|
40
|
-
'module': json['module'],
|
|
35
|
+
'hostingId': json['hosting_id'] == null ? undefined : json['hosting_id'],
|
|
36
|
+
'module': json['module'] == null ? undefined : json['module'],
|
|
41
37
|
};
|
|
42
38
|
}
|
|
43
39
|
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.
|
|
@@ -68,6 +68,7 @@ function DomainInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
68
68
|
'hasHosting': json['has_hosting'] == null ? undefined : (0, DomainHostingLink_js_1.DomainHostingLinkFromJSON)(json['has_hosting']),
|
|
69
69
|
'hasDnsManagerZone': json['has_dns_manager_zone'],
|
|
70
70
|
'evaluation': json['evaluation'] == null ? undefined : json['evaluation'],
|
|
71
|
+
'noEpp': json['no_epp'] == null ? undefined : json['no_epp'],
|
|
71
72
|
};
|
|
72
73
|
}
|
|
73
74
|
function DomainInfoToJSON(json) {
|
|
@@ -93,5 +94,6 @@ function DomainInfoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
93
94
|
'has_hosting': (0, DomainHostingLink_js_1.DomainHostingLinkToJSON)(value['hasHosting']),
|
|
94
95
|
'has_dns_manager_zone': value['hasDnsManagerZone'],
|
|
95
96
|
'evaluation': value['evaluation'],
|
|
97
|
+
'no_epp': value['noEpp'],
|
|
96
98
|
};
|
|
97
99
|
}
|
|
@@ -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,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* HostAfricaApi
|
|
6
|
+
* HostAfrica API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.1.0 - 2026-07-16
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfDomainNameservers = instanceOfDomainNameservers;
|
|
17
|
+
exports.DomainNameserversFromJSON = DomainNameserversFromJSON;
|
|
18
|
+
exports.DomainNameserversFromJSONTyped = DomainNameserversFromJSONTyped;
|
|
19
|
+
exports.DomainNameserversToJSON = DomainNameserversToJSON;
|
|
20
|
+
exports.DomainNameserversToJSONTyped = DomainNameserversToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the DomainNameservers interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfDomainNameservers(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function DomainNameserversFromJSON(json) {
|
|
28
|
+
return DomainNameserversFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function DomainNameserversFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'ns1': json['ns1'] == null ? undefined : json['ns1'],
|
|
36
|
+
'ns2': json['ns2'] == null ? undefined : json['ns2'],
|
|
37
|
+
'ns3': json['ns3'] == null ? undefined : json['ns3'],
|
|
38
|
+
'ns4': json['ns4'] == null ? undefined : json['ns4'],
|
|
39
|
+
'ns5': json['ns5'] == null ? undefined : json['ns5'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function DomainNameserversToJSON(json) {
|
|
43
|
+
return DomainNameserversToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function DomainNameserversToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'ns1': value['ns1'],
|
|
51
|
+
'ns2': value['ns2'],
|
|
52
|
+
'ns3': value['ns3'],
|
|
53
|
+
'ns4': value['ns4'],
|
|
54
|
+
'ns5': value['ns5'],
|
|
55
|
+
};
|
|
56
|
+
}
|