@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,92 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* HostAfricaApi
|
|
5
|
+
* HostAfrica API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.1.0 - 2026-07-16
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime.js';
|
|
16
|
+
import type { ListDnssecRecordsData } from './ListDnssecRecordsData.js';
|
|
17
|
+
import {
|
|
18
|
+
ListDnssecRecordsDataFromJSON,
|
|
19
|
+
ListDnssecRecordsDataFromJSONTyped,
|
|
20
|
+
ListDnssecRecordsDataToJSON,
|
|
21
|
+
ListDnssecRecordsDataToJSONTyped,
|
|
22
|
+
} from './ListDnssecRecordsData.js';
|
|
23
|
+
import type { OperationStatus } from './OperationStatus.js';
|
|
24
|
+
import {
|
|
25
|
+
OperationStatusFromJSON,
|
|
26
|
+
OperationStatusFromJSONTyped,
|
|
27
|
+
OperationStatusToJSON,
|
|
28
|
+
OperationStatusToJSONTyped,
|
|
29
|
+
} from './OperationStatus.js';
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
* @interface ListDnssecRecordsResponseContent
|
|
35
|
+
*/
|
|
36
|
+
export interface ListDnssecRecordsResponseContent {
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {OperationStatus}
|
|
40
|
+
* @memberof ListDnssecRecordsResponseContent
|
|
41
|
+
*/
|
|
42
|
+
status: OperationStatus;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {ListDnssecRecordsData}
|
|
46
|
+
* @memberof ListDnssecRecordsResponseContent
|
|
47
|
+
*/
|
|
48
|
+
data: ListDnssecRecordsData;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Check if a given object implements the ListDnssecRecordsResponseContent interface.
|
|
55
|
+
*/
|
|
56
|
+
export function instanceOfListDnssecRecordsResponseContent(value: object): value is ListDnssecRecordsResponseContent {
|
|
57
|
+
if (!('status' in value) || value['status'] === undefined) return false;
|
|
58
|
+
if (!('data' in value) || value['data'] === undefined) return false;
|
|
59
|
+
return true;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function ListDnssecRecordsResponseContentFromJSON(json: any): ListDnssecRecordsResponseContent {
|
|
63
|
+
return ListDnssecRecordsResponseContentFromJSONTyped(json, false);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export function ListDnssecRecordsResponseContentFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListDnssecRecordsResponseContent {
|
|
67
|
+
if (json == null) {
|
|
68
|
+
return json;
|
|
69
|
+
}
|
|
70
|
+
return {
|
|
71
|
+
|
|
72
|
+
'status': OperationStatusFromJSON(json['status']),
|
|
73
|
+
'data': ListDnssecRecordsDataFromJSON(json['data']),
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export function ListDnssecRecordsResponseContentToJSON(json: any): ListDnssecRecordsResponseContent {
|
|
78
|
+
return ListDnssecRecordsResponseContentToJSONTyped(json, false);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export function ListDnssecRecordsResponseContentToJSONTyped(value?: ListDnssecRecordsResponseContent | null, ignoreDiscriminator: boolean = false): any {
|
|
82
|
+
if (value == null) {
|
|
83
|
+
return value;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
return {
|
|
87
|
+
|
|
88
|
+
'status': OperationStatusToJSON(value['status']),
|
|
89
|
+
'data': ListDnssecRecordsDataToJSON(value['data']),
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
|
|
@@ -24,14 +24,31 @@ export interface NoVncConsoleDetails {
|
|
|
24
24
|
* @type {string}
|
|
25
25
|
* @memberof NoVncConsoleDetails
|
|
26
26
|
*/
|
|
27
|
-
novncRedirectUrl
|
|
27
|
+
novncRedirectUrl?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Console connection mode
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof NoVncConsoleDetails
|
|
32
|
+
*/
|
|
33
|
+
mode?: string;
|
|
34
|
+
/**
|
|
35
|
+
* WebSocket URL for proxied console access
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof NoVncConsoleDetails
|
|
38
|
+
*/
|
|
39
|
+
websocketUrl?: string;
|
|
40
|
+
/**
|
|
41
|
+
* Password for proxied console access
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof NoVncConsoleDetails
|
|
44
|
+
*/
|
|
45
|
+
password?: string;
|
|
28
46
|
}
|
|
29
47
|
|
|
30
48
|
/**
|
|
31
49
|
* Check if a given object implements the NoVncConsoleDetails interface.
|
|
32
50
|
*/
|
|
33
51
|
export function instanceOfNoVncConsoleDetails(value: object): value is NoVncConsoleDetails {
|
|
34
|
-
if (!('novncRedirectUrl' in value) || value['novncRedirectUrl'] === undefined) return false;
|
|
35
52
|
return true;
|
|
36
53
|
}
|
|
37
54
|
|
|
@@ -45,7 +62,10 @@ export function NoVncConsoleDetailsFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
45
62
|
}
|
|
46
63
|
return {
|
|
47
64
|
|
|
48
|
-
'novncRedirectUrl': json['novnc_redirect_url'],
|
|
65
|
+
'novncRedirectUrl': json['novnc_redirect_url'] == null ? undefined : json['novnc_redirect_url'],
|
|
66
|
+
'mode': json['mode'] == null ? undefined : json['mode'],
|
|
67
|
+
'websocketUrl': json['websocket_url'] == null ? undefined : json['websocket_url'],
|
|
68
|
+
'password': json['password'] == null ? undefined : json['password'],
|
|
49
69
|
};
|
|
50
70
|
}
|
|
51
71
|
|
|
@@ -61,6 +81,9 @@ export function NoVncConsoleDetailsToJSONTyped(value?: NoVncConsoleDetails | nul
|
|
|
61
81
|
return {
|
|
62
82
|
|
|
63
83
|
'novnc_redirect_url': value['novncRedirectUrl'],
|
|
84
|
+
'mode': value['mode'],
|
|
85
|
+
'websocket_url': value['websocketUrl'],
|
|
86
|
+
'password': value['password'],
|
|
64
87
|
};
|
|
65
88
|
}
|
|
66
89
|
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* HostAfricaApi
|
|
5
|
+
* HostAfrica API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.1.0 - 2026-07-16
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime.js';
|
|
16
|
+
/**
|
|
17
|
+
* Encryption metadata for an RSA-OAEP encrypted password
|
|
18
|
+
* @export
|
|
19
|
+
* @interface PasswordEncryptionInfo
|
|
20
|
+
*/
|
|
21
|
+
export interface PasswordEncryptionInfo {
|
|
22
|
+
/**
|
|
23
|
+
* Asymmetric encryption algorithm. Always "RSA-OAEP".
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof PasswordEncryptionInfo
|
|
26
|
+
*/
|
|
27
|
+
algorithm: string;
|
|
28
|
+
/**
|
|
29
|
+
* OAEP hash / MGF1 hash function. Always "SHA-256".
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof PasswordEncryptionInfo
|
|
32
|
+
*/
|
|
33
|
+
hash: string;
|
|
34
|
+
/**
|
|
35
|
+
* RSA modulus size in bits. Always 4096.
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof PasswordEncryptionInfo
|
|
38
|
+
*/
|
|
39
|
+
keySize: number;
|
|
40
|
+
/**
|
|
41
|
+
* Encoding of the password ciphertext field. Always "base64" (standard alphabet, not URL-safe).
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof PasswordEncryptionInfo
|
|
44
|
+
*/
|
|
45
|
+
encoding: string;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the PasswordEncryptionInfo interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfPasswordEncryptionInfo(value: object): value is PasswordEncryptionInfo {
|
|
52
|
+
if (!('algorithm' in value) || value['algorithm'] === undefined) return false;
|
|
53
|
+
if (!('hash' in value) || value['hash'] === undefined) return false;
|
|
54
|
+
if (!('keySize' in value) || value['keySize'] === undefined) return false;
|
|
55
|
+
if (!('encoding' in value) || value['encoding'] === undefined) return false;
|
|
56
|
+
return true;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function PasswordEncryptionInfoFromJSON(json: any): PasswordEncryptionInfo {
|
|
60
|
+
return PasswordEncryptionInfoFromJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function PasswordEncryptionInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): PasswordEncryptionInfo {
|
|
64
|
+
if (json == null) {
|
|
65
|
+
return json;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'algorithm': json['algorithm'],
|
|
70
|
+
'hash': json['hash'],
|
|
71
|
+
'keySize': json['keySize'],
|
|
72
|
+
'encoding': json['encoding'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function PasswordEncryptionInfoToJSON(json: any): PasswordEncryptionInfo {
|
|
77
|
+
return PasswordEncryptionInfoToJSONTyped(json, false);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export function PasswordEncryptionInfoToJSONTyped(value?: PasswordEncryptionInfo | null, ignoreDiscriminator: boolean = false): any {
|
|
81
|
+
if (value == null) {
|
|
82
|
+
return value;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
return {
|
|
86
|
+
|
|
87
|
+
'algorithm': value['algorithm'],
|
|
88
|
+
'hash': value['hash'],
|
|
89
|
+
'keySize': value['keySize'],
|
|
90
|
+
'encoding': value['encoding'],
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* HostAfricaApi
|
|
5
|
+
* HostAfrica API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.1.0 - 2026-07-16
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime.js';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface UpdateDomainContactsData
|
|
20
|
+
*/
|
|
21
|
+
export interface UpdateDomainContactsData {
|
|
22
|
+
/**
|
|
23
|
+
* Status message indicating the result
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof UpdateDomainContactsData
|
|
26
|
+
*/
|
|
27
|
+
message: string;
|
|
28
|
+
/**
|
|
29
|
+
* Domain service id when returned by upstream
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof UpdateDomainContactsData
|
|
32
|
+
*/
|
|
33
|
+
domainId?: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the UpdateDomainContactsData interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfUpdateDomainContactsData(value: object): value is UpdateDomainContactsData {
|
|
40
|
+
if (!('message' in value) || value['message'] === undefined) return false;
|
|
41
|
+
return true;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export function UpdateDomainContactsDataFromJSON(json: any): UpdateDomainContactsData {
|
|
45
|
+
return UpdateDomainContactsDataFromJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export function UpdateDomainContactsDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateDomainContactsData {
|
|
49
|
+
if (json == null) {
|
|
50
|
+
return json;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
|
|
54
|
+
'message': json['message'],
|
|
55
|
+
'domainId': json['domain_id'] == null ? undefined : json['domain_id'],
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function UpdateDomainContactsDataToJSON(json: any): UpdateDomainContactsData {
|
|
60
|
+
return UpdateDomainContactsDataToJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function UpdateDomainContactsDataToJSONTyped(value?: UpdateDomainContactsData | null, ignoreDiscriminator: boolean = false): any {
|
|
64
|
+
if (value == null) {
|
|
65
|
+
return value;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
return {
|
|
69
|
+
|
|
70
|
+
'message': value['message'],
|
|
71
|
+
'domain_id': value['domainId'],
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* HostAfricaApi
|
|
5
|
+
* HostAfrica API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.1.0 - 2026-07-16
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime.js';
|
|
16
|
+
import type { DomainContactUpdates } from './DomainContactUpdates.js';
|
|
17
|
+
import {
|
|
18
|
+
DomainContactUpdatesFromJSON,
|
|
19
|
+
DomainContactUpdatesFromJSONTyped,
|
|
20
|
+
DomainContactUpdatesToJSON,
|
|
21
|
+
DomainContactUpdatesToJSONTyped,
|
|
22
|
+
} from './DomainContactUpdates.js';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface UpdateDomainContactsRequestContent
|
|
28
|
+
*/
|
|
29
|
+
export interface UpdateDomainContactsRequestContent {
|
|
30
|
+
/**
|
|
31
|
+
* Domain service id - must be sent as a string
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UpdateDomainContactsRequestContent
|
|
34
|
+
*/
|
|
35
|
+
domainId: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {DomainContactUpdates}
|
|
39
|
+
* @memberof UpdateDomainContactsRequestContent
|
|
40
|
+
*/
|
|
41
|
+
contacts: DomainContactUpdates;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the UpdateDomainContactsRequestContent interface.
|
|
46
|
+
*/
|
|
47
|
+
export function instanceOfUpdateDomainContactsRequestContent(value: object): value is UpdateDomainContactsRequestContent {
|
|
48
|
+
if (!('domainId' in value) || value['domainId'] === undefined) return false;
|
|
49
|
+
if (!('contacts' in value) || value['contacts'] === undefined) return false;
|
|
50
|
+
return true;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function UpdateDomainContactsRequestContentFromJSON(json: any): UpdateDomainContactsRequestContent {
|
|
54
|
+
return UpdateDomainContactsRequestContentFromJSONTyped(json, false);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export function UpdateDomainContactsRequestContentFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateDomainContactsRequestContent {
|
|
58
|
+
if (json == null) {
|
|
59
|
+
return json;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'domainId': json['domain_id'],
|
|
64
|
+
'contacts': DomainContactUpdatesFromJSON(json['contacts']),
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function UpdateDomainContactsRequestContentToJSON(json: any): UpdateDomainContactsRequestContent {
|
|
69
|
+
return UpdateDomainContactsRequestContentToJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function UpdateDomainContactsRequestContentToJSONTyped(value?: UpdateDomainContactsRequestContent | null, ignoreDiscriminator: boolean = false): any {
|
|
73
|
+
if (value == null) {
|
|
74
|
+
return value;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
return {
|
|
78
|
+
|
|
79
|
+
'domain_id': value['domainId'],
|
|
80
|
+
'contacts': DomainContactUpdatesToJSON(value['contacts']),
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* HostAfricaApi
|
|
5
|
+
* HostAfrica API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.1.0 - 2026-07-16
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime.js';
|
|
16
|
+
import type { UpdateDomainContactsData } from './UpdateDomainContactsData.js';
|
|
17
|
+
import {
|
|
18
|
+
UpdateDomainContactsDataFromJSON,
|
|
19
|
+
UpdateDomainContactsDataFromJSONTyped,
|
|
20
|
+
UpdateDomainContactsDataToJSON,
|
|
21
|
+
UpdateDomainContactsDataToJSONTyped,
|
|
22
|
+
} from './UpdateDomainContactsData.js';
|
|
23
|
+
import type { OperationStatus } from './OperationStatus.js';
|
|
24
|
+
import {
|
|
25
|
+
OperationStatusFromJSON,
|
|
26
|
+
OperationStatusFromJSONTyped,
|
|
27
|
+
OperationStatusToJSON,
|
|
28
|
+
OperationStatusToJSONTyped,
|
|
29
|
+
} from './OperationStatus.js';
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
* @interface UpdateDomainContactsResponseContent
|
|
35
|
+
*/
|
|
36
|
+
export interface UpdateDomainContactsResponseContent {
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {OperationStatus}
|
|
40
|
+
* @memberof UpdateDomainContactsResponseContent
|
|
41
|
+
*/
|
|
42
|
+
status: OperationStatus;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {UpdateDomainContactsData}
|
|
46
|
+
* @memberof UpdateDomainContactsResponseContent
|
|
47
|
+
*/
|
|
48
|
+
data: UpdateDomainContactsData;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Check if a given object implements the UpdateDomainContactsResponseContent interface.
|
|
55
|
+
*/
|
|
56
|
+
export function instanceOfUpdateDomainContactsResponseContent(value: object): value is UpdateDomainContactsResponseContent {
|
|
57
|
+
if (!('status' in value) || value['status'] === undefined) return false;
|
|
58
|
+
if (!('data' in value) || value['data'] === undefined) return false;
|
|
59
|
+
return true;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function UpdateDomainContactsResponseContentFromJSON(json: any): UpdateDomainContactsResponseContent {
|
|
63
|
+
return UpdateDomainContactsResponseContentFromJSONTyped(json, false);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export function UpdateDomainContactsResponseContentFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateDomainContactsResponseContent {
|
|
67
|
+
if (json == null) {
|
|
68
|
+
return json;
|
|
69
|
+
}
|
|
70
|
+
return {
|
|
71
|
+
|
|
72
|
+
'status': OperationStatusFromJSON(json['status']),
|
|
73
|
+
'data': UpdateDomainContactsDataFromJSON(json['data']),
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export function UpdateDomainContactsResponseContentToJSON(json: any): UpdateDomainContactsResponseContent {
|
|
78
|
+
return UpdateDomainContactsResponseContentToJSONTyped(json, false);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export function UpdateDomainContactsResponseContentToJSONTyped(value?: UpdateDomainContactsResponseContent | null, ignoreDiscriminator: boolean = false): any {
|
|
82
|
+
if (value == null) {
|
|
83
|
+
return value;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
return {
|
|
87
|
+
|
|
88
|
+
'status': OperationStatusToJSON(value['status']),
|
|
89
|
+
'data': UpdateDomainContactsDataToJSON(value['data']),
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* HostAfricaApi
|
|
5
|
+
* HostAfrica API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.1.0 - 2026-07-16
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime.js';
|
|
16
|
+
import type { DomainNameservers } from './DomainNameservers.js';
|
|
17
|
+
import {
|
|
18
|
+
DomainNameserversFromJSON,
|
|
19
|
+
DomainNameserversFromJSONTyped,
|
|
20
|
+
DomainNameserversToJSON,
|
|
21
|
+
DomainNameserversToJSONTyped,
|
|
22
|
+
} from './DomainNameservers.js';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface UpdateDomainNameserversData
|
|
28
|
+
*/
|
|
29
|
+
export interface UpdateDomainNameserversData {
|
|
30
|
+
/**
|
|
31
|
+
* Status message indicating the result
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UpdateDomainNameserversData
|
|
34
|
+
*/
|
|
35
|
+
message: string;
|
|
36
|
+
/**
|
|
37
|
+
* Domain name (FQDN)
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof UpdateDomainNameserversData
|
|
40
|
+
*/
|
|
41
|
+
domain?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {DomainNameservers}
|
|
45
|
+
* @memberof UpdateDomainNameserversData
|
|
46
|
+
*/
|
|
47
|
+
nameservers?: DomainNameservers;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the UpdateDomainNameserversData interface.
|
|
52
|
+
*/
|
|
53
|
+
export function instanceOfUpdateDomainNameserversData(value: object): value is UpdateDomainNameserversData {
|
|
54
|
+
if (!('message' in value) || value['message'] === undefined) return false;
|
|
55
|
+
return true;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export function UpdateDomainNameserversDataFromJSON(json: any): UpdateDomainNameserversData {
|
|
59
|
+
return UpdateDomainNameserversDataFromJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function UpdateDomainNameserversDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateDomainNameserversData {
|
|
63
|
+
if (json == null) {
|
|
64
|
+
return json;
|
|
65
|
+
}
|
|
66
|
+
return {
|
|
67
|
+
|
|
68
|
+
'message': json['message'],
|
|
69
|
+
'domain': json['domain'] == null ? undefined : json['domain'],
|
|
70
|
+
'nameservers': json['nameservers'] == null ? undefined : DomainNameserversFromJSON(json['nameservers']),
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export function UpdateDomainNameserversDataToJSON(json: any): UpdateDomainNameserversData {
|
|
75
|
+
return UpdateDomainNameserversDataToJSONTyped(json, false);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export function UpdateDomainNameserversDataToJSONTyped(value?: UpdateDomainNameserversData | null, ignoreDiscriminator: boolean = false): any {
|
|
79
|
+
if (value == null) {
|
|
80
|
+
return value;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
return {
|
|
84
|
+
|
|
85
|
+
'message': value['message'],
|
|
86
|
+
'domain': value['domain'],
|
|
87
|
+
'nameservers': DomainNameserversToJSON(value['nameservers']),
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* HostAfricaApi
|
|
5
|
+
* HostAfrica API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.1.0 - 2026-07-16
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime.js';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface UpdateDomainNameserversRequestContent
|
|
20
|
+
*/
|
|
21
|
+
export interface UpdateDomainNameserversRequestContent {
|
|
22
|
+
/**
|
|
23
|
+
* Domain service id - must be sent as a string
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof UpdateDomainNameserversRequestContent
|
|
26
|
+
*/
|
|
27
|
+
domainId: string;
|
|
28
|
+
/**
|
|
29
|
+
* Primary nameserver hostname
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof UpdateDomainNameserversRequestContent
|
|
32
|
+
*/
|
|
33
|
+
ns1: string;
|
|
34
|
+
/**
|
|
35
|
+
* Secondary nameserver hostname
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof UpdateDomainNameserversRequestContent
|
|
38
|
+
*/
|
|
39
|
+
ns2: string;
|
|
40
|
+
/**
|
|
41
|
+
* Optional tertiary nameserver hostname
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof UpdateDomainNameserversRequestContent
|
|
44
|
+
*/
|
|
45
|
+
ns3?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Optional quaternary nameserver hostname
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof UpdateDomainNameserversRequestContent
|
|
50
|
+
*/
|
|
51
|
+
ns4?: string;
|
|
52
|
+
/**
|
|
53
|
+
* Optional fifth nameserver hostname
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof UpdateDomainNameserversRequestContent
|
|
56
|
+
*/
|
|
57
|
+
ns5?: string;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Check if a given object implements the UpdateDomainNameserversRequestContent interface.
|
|
62
|
+
*/
|
|
63
|
+
export function instanceOfUpdateDomainNameserversRequestContent(value: object): value is UpdateDomainNameserversRequestContent {
|
|
64
|
+
if (!('domainId' in value) || value['domainId'] === undefined) return false;
|
|
65
|
+
if (!('ns1' in value) || value['ns1'] === undefined) return false;
|
|
66
|
+
if (!('ns2' in value) || value['ns2'] === undefined) return false;
|
|
67
|
+
return true;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export function UpdateDomainNameserversRequestContentFromJSON(json: any): UpdateDomainNameserversRequestContent {
|
|
71
|
+
return UpdateDomainNameserversRequestContentFromJSONTyped(json, false);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export function UpdateDomainNameserversRequestContentFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateDomainNameserversRequestContent {
|
|
75
|
+
if (json == null) {
|
|
76
|
+
return json;
|
|
77
|
+
}
|
|
78
|
+
return {
|
|
79
|
+
|
|
80
|
+
'domainId': json['domain_id'],
|
|
81
|
+
'ns1': json['ns1'],
|
|
82
|
+
'ns2': json['ns2'],
|
|
83
|
+
'ns3': json['ns3'] == null ? undefined : json['ns3'],
|
|
84
|
+
'ns4': json['ns4'] == null ? undefined : json['ns4'],
|
|
85
|
+
'ns5': json['ns5'] == null ? undefined : json['ns5'],
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export function UpdateDomainNameserversRequestContentToJSON(json: any): UpdateDomainNameserversRequestContent {
|
|
90
|
+
return UpdateDomainNameserversRequestContentToJSONTyped(json, false);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
export function UpdateDomainNameserversRequestContentToJSONTyped(value?: UpdateDomainNameserversRequestContent | null, ignoreDiscriminator: boolean = false): any {
|
|
94
|
+
if (value == null) {
|
|
95
|
+
return value;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
return {
|
|
99
|
+
|
|
100
|
+
'domain_id': value['domainId'],
|
|
101
|
+
'ns1': value['ns1'],
|
|
102
|
+
'ns2': value['ns2'],
|
|
103
|
+
'ns3': value['ns3'],
|
|
104
|
+
'ns4': value['ns4'],
|
|
105
|
+
'ns5': value['ns5'],
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
|