@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,45 @@
|
|
|
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 { DnsRecordMutationRecord } from './DnsRecordMutationRecord.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface EditDnsRecordRequestContent
|
|
17
|
+
*/
|
|
18
|
+
export interface EditDnsRecordRequestContent {
|
|
19
|
+
/**
|
|
20
|
+
* DNS zone domain name (FQDN); optional when zone_id is provided
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof EditDnsRecordRequestContent
|
|
23
|
+
*/
|
|
24
|
+
domainName?: string;
|
|
25
|
+
/**
|
|
26
|
+
* DNS zone identifier from list-dns-zones or get-dns-zone-details
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof EditDnsRecordRequestContent
|
|
29
|
+
*/
|
|
30
|
+
zoneId: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {DnsRecordMutationRecord}
|
|
34
|
+
* @memberof EditDnsRecordRequestContent
|
|
35
|
+
*/
|
|
36
|
+
record: DnsRecordMutationRecord;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the EditDnsRecordRequestContent interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfEditDnsRecordRequestContent(value: object): value is EditDnsRecordRequestContent;
|
|
42
|
+
export declare function EditDnsRecordRequestContentFromJSON(json: any): EditDnsRecordRequestContent;
|
|
43
|
+
export declare function EditDnsRecordRequestContentFromJSONTyped(json: any, ignoreDiscriminator: boolean): EditDnsRecordRequestContent;
|
|
44
|
+
export declare function EditDnsRecordRequestContentToJSON(json: any): EditDnsRecordRequestContent;
|
|
45
|
+
export declare function EditDnsRecordRequestContentToJSONTyped(value?: EditDnsRecordRequestContent | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
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.instanceOfEditDnsRecordRequestContent = instanceOfEditDnsRecordRequestContent;
|
|
17
|
+
exports.EditDnsRecordRequestContentFromJSON = EditDnsRecordRequestContentFromJSON;
|
|
18
|
+
exports.EditDnsRecordRequestContentFromJSONTyped = EditDnsRecordRequestContentFromJSONTyped;
|
|
19
|
+
exports.EditDnsRecordRequestContentToJSON = EditDnsRecordRequestContentToJSON;
|
|
20
|
+
exports.EditDnsRecordRequestContentToJSONTyped = EditDnsRecordRequestContentToJSONTyped;
|
|
21
|
+
const DnsRecordMutationRecord_js_1 = require("./DnsRecordMutationRecord.js");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the EditDnsRecordRequestContent interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfEditDnsRecordRequestContent(value) {
|
|
26
|
+
if (!('zoneId' in value) || value['zoneId'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('record' in value) || value['record'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function EditDnsRecordRequestContentFromJSON(json) {
|
|
33
|
+
return EditDnsRecordRequestContentFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function EditDnsRecordRequestContentFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'domainName': json['domain_name'] == null ? undefined : json['domain_name'],
|
|
41
|
+
'zoneId': json['zone_id'],
|
|
42
|
+
'record': (0, DnsRecordMutationRecord_js_1.DnsRecordMutationRecordFromJSON)(json['record']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function EditDnsRecordRequestContentToJSON(json) {
|
|
46
|
+
return EditDnsRecordRequestContentToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function EditDnsRecordRequestContentToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'domain_name': value['domainName'],
|
|
54
|
+
'zone_id': value['zoneId'],
|
|
55
|
+
'record': (0, DnsRecordMutationRecord_js_1.DnsRecordMutationRecordToJSON)(value['record']),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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 { DnsRecordMutationData } from './DnsRecordMutationData.js';
|
|
13
|
+
import type { OperationStatus } from './OperationStatus.js';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface EditDnsRecordResponseContent
|
|
18
|
+
*/
|
|
19
|
+
export interface EditDnsRecordResponseContent {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {OperationStatus}
|
|
23
|
+
* @memberof EditDnsRecordResponseContent
|
|
24
|
+
*/
|
|
25
|
+
status: OperationStatus;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {DnsRecordMutationData}
|
|
29
|
+
* @memberof EditDnsRecordResponseContent
|
|
30
|
+
*/
|
|
31
|
+
data: DnsRecordMutationData;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the EditDnsRecordResponseContent interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfEditDnsRecordResponseContent(value: object): value is EditDnsRecordResponseContent;
|
|
37
|
+
export declare function EditDnsRecordResponseContentFromJSON(json: any): EditDnsRecordResponseContent;
|
|
38
|
+
export declare function EditDnsRecordResponseContentFromJSONTyped(json: any, ignoreDiscriminator: boolean): EditDnsRecordResponseContent;
|
|
39
|
+
export declare function EditDnsRecordResponseContentToJSON(json: any): EditDnsRecordResponseContent;
|
|
40
|
+
export declare function EditDnsRecordResponseContentToJSONTyped(value?: EditDnsRecordResponseContent | 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.instanceOfEditDnsRecordResponseContent = instanceOfEditDnsRecordResponseContent;
|
|
17
|
+
exports.EditDnsRecordResponseContentFromJSON = EditDnsRecordResponseContentFromJSON;
|
|
18
|
+
exports.EditDnsRecordResponseContentFromJSONTyped = EditDnsRecordResponseContentFromJSONTyped;
|
|
19
|
+
exports.EditDnsRecordResponseContentToJSON = EditDnsRecordResponseContentToJSON;
|
|
20
|
+
exports.EditDnsRecordResponseContentToJSONTyped = EditDnsRecordResponseContentToJSONTyped;
|
|
21
|
+
const DnsRecordMutationData_js_1 = require("./DnsRecordMutationData.js");
|
|
22
|
+
const OperationStatus_js_1 = require("./OperationStatus.js");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the EditDnsRecordResponseContent interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfEditDnsRecordResponseContent(value) {
|
|
27
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function EditDnsRecordResponseContentFromJSON(json) {
|
|
34
|
+
return EditDnsRecordResponseContentFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function EditDnsRecordResponseContentFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'status': (0, OperationStatus_js_1.OperationStatusFromJSON)(json['status']),
|
|
42
|
+
'data': (0, DnsRecordMutationData_js_1.DnsRecordMutationDataFromJSON)(json['data']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function EditDnsRecordResponseContentToJSON(json) {
|
|
46
|
+
return EditDnsRecordResponseContentToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function EditDnsRecordResponseContentToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'status': (0, OperationStatus_js_1.OperationStatusToJSON)(value['status']),
|
|
54
|
+
'data': (0, DnsRecordMutationData_js_1.DnsRecordMutationDataToJSON)(value['data']),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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 { PasswordEncryptionInfo } from './PasswordEncryptionInfo.js';
|
|
13
|
+
/**
|
|
14
|
+
* Response data for get-encrypted-password
|
|
15
|
+
* @export
|
|
16
|
+
* @interface EncryptedPasswordResponseData
|
|
17
|
+
*/
|
|
18
|
+
export interface EncryptedPasswordResponseData {
|
|
19
|
+
/**
|
|
20
|
+
* Username for VPS access (plaintext)
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof EncryptedPasswordResponseData
|
|
23
|
+
*/
|
|
24
|
+
username: string;
|
|
25
|
+
/**
|
|
26
|
+
* Base64-encoded ciphertext of the VPS password. Produced with RSA-OAEP (SHA-256) and the request public_key. Decode from base64, then decrypt with the matching private key via openssl pkeyutl -decrypt -pkeyopt rsa_padding_mode:oaep -pkeyopt rsa_oaep_md:sha256 -pkeyopt rsa_mgf1_md:sha256.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof EncryptedPasswordResponseData
|
|
29
|
+
*/
|
|
30
|
+
password: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {PasswordEncryptionInfo}
|
|
34
|
+
* @memberof EncryptedPasswordResponseData
|
|
35
|
+
*/
|
|
36
|
+
encryption: PasswordEncryptionInfo;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the EncryptedPasswordResponseData interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfEncryptedPasswordResponseData(value: object): value is EncryptedPasswordResponseData;
|
|
42
|
+
export declare function EncryptedPasswordResponseDataFromJSON(json: any): EncryptedPasswordResponseData;
|
|
43
|
+
export declare function EncryptedPasswordResponseDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): EncryptedPasswordResponseData;
|
|
44
|
+
export declare function EncryptedPasswordResponseDataToJSON(json: any): EncryptedPasswordResponseData;
|
|
45
|
+
export declare function EncryptedPasswordResponseDataToJSONTyped(value?: EncryptedPasswordResponseData | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
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.instanceOfEncryptedPasswordResponseData = instanceOfEncryptedPasswordResponseData;
|
|
17
|
+
exports.EncryptedPasswordResponseDataFromJSON = EncryptedPasswordResponseDataFromJSON;
|
|
18
|
+
exports.EncryptedPasswordResponseDataFromJSONTyped = EncryptedPasswordResponseDataFromJSONTyped;
|
|
19
|
+
exports.EncryptedPasswordResponseDataToJSON = EncryptedPasswordResponseDataToJSON;
|
|
20
|
+
exports.EncryptedPasswordResponseDataToJSONTyped = EncryptedPasswordResponseDataToJSONTyped;
|
|
21
|
+
const PasswordEncryptionInfo_js_1 = require("./PasswordEncryptionInfo.js");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the EncryptedPasswordResponseData interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfEncryptedPasswordResponseData(value) {
|
|
26
|
+
if (!('username' in value) || value['username'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('password' in value) || value['password'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('encryption' in value) || value['encryption'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
function EncryptedPasswordResponseDataFromJSON(json) {
|
|
35
|
+
return EncryptedPasswordResponseDataFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
function EncryptedPasswordResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'username': json['username'],
|
|
43
|
+
'password': json['password'],
|
|
44
|
+
'encryption': (0, PasswordEncryptionInfo_js_1.PasswordEncryptionInfoFromJSON)(json['encryption']),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function EncryptedPasswordResponseDataToJSON(json) {
|
|
48
|
+
return EncryptedPasswordResponseDataToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function EncryptedPasswordResponseDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'username': value['username'],
|
|
56
|
+
'password': value['password'],
|
|
57
|
+
'encryption': (0, PasswordEncryptionInfo_js_1.PasswordEncryptionInfoToJSON)(value['encryption']),
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
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 { DnsRecordInfo } from './DnsRecordInfo.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GetDnsZoneDetailsData
|
|
17
|
+
*/
|
|
18
|
+
export interface GetDnsZoneDetailsData {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof GetDnsZoneDetailsData
|
|
23
|
+
*/
|
|
24
|
+
message: string;
|
|
25
|
+
/**
|
|
26
|
+
* Domain service id
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof GetDnsZoneDetailsData
|
|
29
|
+
*/
|
|
30
|
+
domainId?: string;
|
|
31
|
+
/**
|
|
32
|
+
* DNS zone identifier
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof GetDnsZoneDetailsData
|
|
35
|
+
*/
|
|
36
|
+
zoneId?: string;
|
|
37
|
+
/**
|
|
38
|
+
* True when a DNS zone exists for this domain
|
|
39
|
+
* @type {boolean}
|
|
40
|
+
* @memberof GetDnsZoneDetailsData
|
|
41
|
+
*/
|
|
42
|
+
zoneExists?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* True when DNS management is available for this domain
|
|
45
|
+
* @type {boolean}
|
|
46
|
+
* @memberof GetDnsZoneDetailsData
|
|
47
|
+
*/
|
|
48
|
+
managementAvailable?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* Configured domain nameservers
|
|
51
|
+
* @type {Array<string>}
|
|
52
|
+
* @memberof GetDnsZoneDetailsData
|
|
53
|
+
*/
|
|
54
|
+
domainNameservers?: Array<string>;
|
|
55
|
+
/**
|
|
56
|
+
* Nameserver change state (e.g. own, pending)
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof GetDnsZoneDetailsData
|
|
59
|
+
*/
|
|
60
|
+
nsChanging?: string;
|
|
61
|
+
/**
|
|
62
|
+
* Package quotas and allowed record types from upstream
|
|
63
|
+
* @type {any}
|
|
64
|
+
* @memberof GetDnsZoneDetailsData
|
|
65
|
+
*/
|
|
66
|
+
packageSettings?: any | null;
|
|
67
|
+
/**
|
|
68
|
+
* DNS records in the zone
|
|
69
|
+
* @type {Array<DnsRecordInfo>}
|
|
70
|
+
* @memberof GetDnsZoneDetailsData
|
|
71
|
+
*/
|
|
72
|
+
records?: Array<DnsRecordInfo>;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Check if a given object implements the GetDnsZoneDetailsData interface.
|
|
76
|
+
*/
|
|
77
|
+
export declare function instanceOfGetDnsZoneDetailsData(value: object): value is GetDnsZoneDetailsData;
|
|
78
|
+
export declare function GetDnsZoneDetailsDataFromJSON(json: any): GetDnsZoneDetailsData;
|
|
79
|
+
export declare function GetDnsZoneDetailsDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetDnsZoneDetailsData;
|
|
80
|
+
export declare function GetDnsZoneDetailsDataToJSON(json: any): GetDnsZoneDetailsData;
|
|
81
|
+
export declare function GetDnsZoneDetailsDataToJSONTyped(value?: GetDnsZoneDetailsData | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,67 @@
|
|
|
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.instanceOfGetDnsZoneDetailsData = instanceOfGetDnsZoneDetailsData;
|
|
17
|
+
exports.GetDnsZoneDetailsDataFromJSON = GetDnsZoneDetailsDataFromJSON;
|
|
18
|
+
exports.GetDnsZoneDetailsDataFromJSONTyped = GetDnsZoneDetailsDataFromJSONTyped;
|
|
19
|
+
exports.GetDnsZoneDetailsDataToJSON = GetDnsZoneDetailsDataToJSON;
|
|
20
|
+
exports.GetDnsZoneDetailsDataToJSONTyped = GetDnsZoneDetailsDataToJSONTyped;
|
|
21
|
+
const DnsRecordInfo_js_1 = require("./DnsRecordInfo.js");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the GetDnsZoneDetailsData interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfGetDnsZoneDetailsData(value) {
|
|
26
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function GetDnsZoneDetailsDataFromJSON(json) {
|
|
31
|
+
return GetDnsZoneDetailsDataFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function GetDnsZoneDetailsDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'message': json['message'],
|
|
39
|
+
'domainId': json['domain_id'] == null ? undefined : json['domain_id'],
|
|
40
|
+
'zoneId': json['zone_id'] == null ? undefined : json['zone_id'],
|
|
41
|
+
'zoneExists': json['zone_exists'] == null ? undefined : json['zone_exists'],
|
|
42
|
+
'managementAvailable': json['management_available'] == null ? undefined : json['management_available'],
|
|
43
|
+
'domainNameservers': json['domain_nameservers'] == null ? undefined : json['domain_nameservers'],
|
|
44
|
+
'nsChanging': json['ns_changing'] == null ? undefined : json['ns_changing'],
|
|
45
|
+
'packageSettings': json['package_settings'] == null ? undefined : json['package_settings'],
|
|
46
|
+
'records': json['records'] == null ? undefined : (json['records'].map(DnsRecordInfo_js_1.DnsRecordInfoFromJSON)),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function GetDnsZoneDetailsDataToJSON(json) {
|
|
50
|
+
return GetDnsZoneDetailsDataToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function GetDnsZoneDetailsDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'message': value['message'],
|
|
58
|
+
'domain_id': value['domainId'],
|
|
59
|
+
'zone_id': value['zoneId'],
|
|
60
|
+
'zone_exists': value['zoneExists'],
|
|
61
|
+
'management_available': value['managementAvailable'],
|
|
62
|
+
'domain_nameservers': value['domainNameservers'],
|
|
63
|
+
'ns_changing': value['nsChanging'],
|
|
64
|
+
'package_settings': value['packageSettings'],
|
|
65
|
+
'records': value['records'] == null ? undefined : (value['records'].map(DnsRecordInfo_js_1.DnsRecordInfoToJSON)),
|
|
66
|
+
};
|
|
67
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface GetDnsZoneDetailsRequestContent
|
|
16
|
+
*/
|
|
17
|
+
export interface GetDnsZoneDetailsRequestContent {
|
|
18
|
+
/**
|
|
19
|
+
* Domain service id - must be sent as a string
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GetDnsZoneDetailsRequestContent
|
|
22
|
+
*/
|
|
23
|
+
domainId: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the GetDnsZoneDetailsRequestContent interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfGetDnsZoneDetailsRequestContent(value: object): value is GetDnsZoneDetailsRequestContent;
|
|
29
|
+
export declare function GetDnsZoneDetailsRequestContentFromJSON(json: any): GetDnsZoneDetailsRequestContent;
|
|
30
|
+
export declare function GetDnsZoneDetailsRequestContentFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetDnsZoneDetailsRequestContent;
|
|
31
|
+
export declare function GetDnsZoneDetailsRequestContentToJSON(json: any): GetDnsZoneDetailsRequestContent;
|
|
32
|
+
export declare function GetDnsZoneDetailsRequestContentToJSONTyped(value?: GetDnsZoneDetailsRequestContent | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
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.instanceOfGetDnsZoneDetailsRequestContent = instanceOfGetDnsZoneDetailsRequestContent;
|
|
17
|
+
exports.GetDnsZoneDetailsRequestContentFromJSON = GetDnsZoneDetailsRequestContentFromJSON;
|
|
18
|
+
exports.GetDnsZoneDetailsRequestContentFromJSONTyped = GetDnsZoneDetailsRequestContentFromJSONTyped;
|
|
19
|
+
exports.GetDnsZoneDetailsRequestContentToJSON = GetDnsZoneDetailsRequestContentToJSON;
|
|
20
|
+
exports.GetDnsZoneDetailsRequestContentToJSONTyped = GetDnsZoneDetailsRequestContentToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GetDnsZoneDetailsRequestContent interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfGetDnsZoneDetailsRequestContent(value) {
|
|
25
|
+
if (!('domainId' in value) || value['domainId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function GetDnsZoneDetailsRequestContentFromJSON(json) {
|
|
30
|
+
return GetDnsZoneDetailsRequestContentFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function GetDnsZoneDetailsRequestContentFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'domainId': json['domain_id'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function GetDnsZoneDetailsRequestContentToJSON(json) {
|
|
41
|
+
return GetDnsZoneDetailsRequestContentToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function GetDnsZoneDetailsRequestContentToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'domain_id': value['domainId'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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 { GetDnsZoneDetailsData } from './GetDnsZoneDetailsData.js';
|
|
13
|
+
import type { OperationStatus } from './OperationStatus.js';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface GetDnsZoneDetailsResponseContent
|
|
18
|
+
*/
|
|
19
|
+
export interface GetDnsZoneDetailsResponseContent {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {OperationStatus}
|
|
23
|
+
* @memberof GetDnsZoneDetailsResponseContent
|
|
24
|
+
*/
|
|
25
|
+
status: OperationStatus;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {GetDnsZoneDetailsData}
|
|
29
|
+
* @memberof GetDnsZoneDetailsResponseContent
|
|
30
|
+
*/
|
|
31
|
+
data: GetDnsZoneDetailsData;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the GetDnsZoneDetailsResponseContent interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfGetDnsZoneDetailsResponseContent(value: object): value is GetDnsZoneDetailsResponseContent;
|
|
37
|
+
export declare function GetDnsZoneDetailsResponseContentFromJSON(json: any): GetDnsZoneDetailsResponseContent;
|
|
38
|
+
export declare function GetDnsZoneDetailsResponseContentFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetDnsZoneDetailsResponseContent;
|
|
39
|
+
export declare function GetDnsZoneDetailsResponseContentToJSON(json: any): GetDnsZoneDetailsResponseContent;
|
|
40
|
+
export declare function GetDnsZoneDetailsResponseContentToJSONTyped(value?: GetDnsZoneDetailsResponseContent | 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.instanceOfGetDnsZoneDetailsResponseContent = instanceOfGetDnsZoneDetailsResponseContent;
|
|
17
|
+
exports.GetDnsZoneDetailsResponseContentFromJSON = GetDnsZoneDetailsResponseContentFromJSON;
|
|
18
|
+
exports.GetDnsZoneDetailsResponseContentFromJSONTyped = GetDnsZoneDetailsResponseContentFromJSONTyped;
|
|
19
|
+
exports.GetDnsZoneDetailsResponseContentToJSON = GetDnsZoneDetailsResponseContentToJSON;
|
|
20
|
+
exports.GetDnsZoneDetailsResponseContentToJSONTyped = GetDnsZoneDetailsResponseContentToJSONTyped;
|
|
21
|
+
const GetDnsZoneDetailsData_js_1 = require("./GetDnsZoneDetailsData.js");
|
|
22
|
+
const OperationStatus_js_1 = require("./OperationStatus.js");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the GetDnsZoneDetailsResponseContent interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfGetDnsZoneDetailsResponseContent(value) {
|
|
27
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function GetDnsZoneDetailsResponseContentFromJSON(json) {
|
|
34
|
+
return GetDnsZoneDetailsResponseContentFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function GetDnsZoneDetailsResponseContentFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'status': (0, OperationStatus_js_1.OperationStatusFromJSON)(json['status']),
|
|
42
|
+
'data': (0, GetDnsZoneDetailsData_js_1.GetDnsZoneDetailsDataFromJSON)(json['data']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function GetDnsZoneDetailsResponseContentToJSON(json) {
|
|
46
|
+
return GetDnsZoneDetailsResponseContentToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function GetDnsZoneDetailsResponseContentToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'status': (0, OperationStatus_js_1.OperationStatusToJSON)(value['status']),
|
|
54
|
+
'data': (0, GetDnsZoneDetailsData_js_1.GetDnsZoneDetailsDataToJSON)(value['data']),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { DomainContacts } from './DomainContacts.js';
|
|
12
13
|
/**
|
|
13
14
|
* Domain contact information returned by get-domain-contacts
|
|
14
15
|
* @export
|
|
@@ -34,11 +35,11 @@ export interface GetDomainContactsData {
|
|
|
34
35
|
*/
|
|
35
36
|
domain: string;
|
|
36
37
|
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {
|
|
38
|
+
*
|
|
39
|
+
* @type {DomainContacts}
|
|
39
40
|
* @memberof GetDomainContactsData
|
|
40
41
|
*/
|
|
41
|
-
contacts:
|
|
42
|
+
contacts: DomainContacts;
|
|
42
43
|
}
|
|
43
44
|
/**
|
|
44
45
|
* Check if a given object implements the GetDomainContactsData interface.
|