@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
|
@@ -18,6 +18,7 @@ exports.GetDomainContactsDataFromJSON = GetDomainContactsDataFromJSON;
|
|
|
18
18
|
exports.GetDomainContactsDataFromJSONTyped = GetDomainContactsDataFromJSONTyped;
|
|
19
19
|
exports.GetDomainContactsDataToJSON = GetDomainContactsDataToJSON;
|
|
20
20
|
exports.GetDomainContactsDataToJSONTyped = GetDomainContactsDataToJSONTyped;
|
|
21
|
+
const DomainContacts_js_1 = require("./DomainContacts.js");
|
|
21
22
|
/**
|
|
22
23
|
* Check if a given object implements the GetDomainContactsData interface.
|
|
23
24
|
*/
|
|
@@ -43,7 +44,7 @@ function GetDomainContactsDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
43
44
|
'message': json['message'],
|
|
44
45
|
'domainId': json['domain_id'],
|
|
45
46
|
'domain': json['domain'],
|
|
46
|
-
'contacts': json['contacts'],
|
|
47
|
+
'contacts': (0, DomainContacts_js_1.DomainContactsFromJSON)(json['contacts']),
|
|
47
48
|
};
|
|
48
49
|
}
|
|
49
50
|
function GetDomainContactsDataToJSON(json) {
|
|
@@ -57,6 +58,6 @@ function GetDomainContactsDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
57
58
|
'message': value['message'],
|
|
58
59
|
'domain_id': value['domainId'],
|
|
59
60
|
'domain': value['domain'],
|
|
60
|
-
'contacts': value['contacts'],
|
|
61
|
+
'contacts': (0, DomainContacts_js_1.DomainContactsToJSON)(value['contacts']),
|
|
61
62
|
};
|
|
62
63
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { DomainDetail } from './DomainDetail.js';
|
|
13
13
|
/**
|
|
14
14
|
* Response data for get-domain
|
|
15
15
|
* @export
|
|
@@ -24,10 +24,10 @@ export interface GetDomainData {
|
|
|
24
24
|
message: string;
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
|
-
* @type {
|
|
27
|
+
* @type {DomainDetail}
|
|
28
28
|
* @memberof GetDomainData
|
|
29
29
|
*/
|
|
30
|
-
domain:
|
|
30
|
+
domain: DomainDetail;
|
|
31
31
|
}
|
|
32
32
|
/**
|
|
33
33
|
* Check if a given object implements the GetDomainData interface.
|
|
@@ -18,7 +18,7 @@ exports.GetDomainDataFromJSON = GetDomainDataFromJSON;
|
|
|
18
18
|
exports.GetDomainDataFromJSONTyped = GetDomainDataFromJSONTyped;
|
|
19
19
|
exports.GetDomainDataToJSON = GetDomainDataToJSON;
|
|
20
20
|
exports.GetDomainDataToJSONTyped = GetDomainDataToJSONTyped;
|
|
21
|
-
const
|
|
21
|
+
const DomainDetail_js_1 = require("./DomainDetail.js");
|
|
22
22
|
/**
|
|
23
23
|
* Check if a given object implements the GetDomainData interface.
|
|
24
24
|
*/
|
|
@@ -38,7 +38,7 @@ function GetDomainDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
38
|
}
|
|
39
39
|
return {
|
|
40
40
|
'message': json['message'],
|
|
41
|
-
'domain': (0,
|
|
41
|
+
'domain': (0, DomainDetail_js_1.DomainDetailFromJSON)(json['domain']),
|
|
42
42
|
};
|
|
43
43
|
}
|
|
44
44
|
function GetDomainDataToJSON(json) {
|
|
@@ -50,6 +50,6 @@ function GetDomainDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
50
50
|
}
|
|
51
51
|
return {
|
|
52
52
|
'message': value['message'],
|
|
53
|
-
'domain': (0,
|
|
53
|
+
'domain': (0, DomainDetail_js_1.DomainDetailToJSON)(value['domain']),
|
|
54
54
|
};
|
|
55
55
|
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 GetEncryptedPasswordRequestContent
|
|
16
|
+
*/
|
|
17
|
+
export interface GetEncryptedPasswordRequestContent {
|
|
18
|
+
/**
|
|
19
|
+
* Service ID - must be sent as a string
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GetEncryptedPasswordRequestContent
|
|
22
|
+
*/
|
|
23
|
+
serviceId: string;
|
|
24
|
+
/**
|
|
25
|
+
* PEM-encoded RSA public key only (never the private key). Accepts SPKI (`-----BEGIN PUBLIC KEY-----`) or PKCS#1 (`-----BEGIN RSA PUBLIC KEY-----`). Must be exactly 4096-bit. Used with RSA-OAEP and SHA-256 to encrypt the password.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GetEncryptedPasswordRequestContent
|
|
28
|
+
*/
|
|
29
|
+
publicKey: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the GetEncryptedPasswordRequestContent interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfGetEncryptedPasswordRequestContent(value: object): value is GetEncryptedPasswordRequestContent;
|
|
35
|
+
export declare function GetEncryptedPasswordRequestContentFromJSON(json: any): GetEncryptedPasswordRequestContent;
|
|
36
|
+
export declare function GetEncryptedPasswordRequestContentFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetEncryptedPasswordRequestContent;
|
|
37
|
+
export declare function GetEncryptedPasswordRequestContentToJSON(json: any): GetEncryptedPasswordRequestContent;
|
|
38
|
+
export declare function GetEncryptedPasswordRequestContentToJSONTyped(value?: GetEncryptedPasswordRequestContent | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
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.instanceOfGetEncryptedPasswordRequestContent = instanceOfGetEncryptedPasswordRequestContent;
|
|
17
|
+
exports.GetEncryptedPasswordRequestContentFromJSON = GetEncryptedPasswordRequestContentFromJSON;
|
|
18
|
+
exports.GetEncryptedPasswordRequestContentFromJSONTyped = GetEncryptedPasswordRequestContentFromJSONTyped;
|
|
19
|
+
exports.GetEncryptedPasswordRequestContentToJSON = GetEncryptedPasswordRequestContentToJSON;
|
|
20
|
+
exports.GetEncryptedPasswordRequestContentToJSONTyped = GetEncryptedPasswordRequestContentToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GetEncryptedPasswordRequestContent interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfGetEncryptedPasswordRequestContent(value) {
|
|
25
|
+
if (!('serviceId' in value) || value['serviceId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('publicKey' in value) || value['publicKey'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function GetEncryptedPasswordRequestContentFromJSON(json) {
|
|
32
|
+
return GetEncryptedPasswordRequestContentFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function GetEncryptedPasswordRequestContentFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'serviceId': json['service_id'],
|
|
40
|
+
'publicKey': json['public_key'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function GetEncryptedPasswordRequestContentToJSON(json) {
|
|
44
|
+
return GetEncryptedPasswordRequestContentToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function GetEncryptedPasswordRequestContentToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'service_id': value['serviceId'],
|
|
52
|
+
'public_key': value['publicKey'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -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 { OperationStatus } from './OperationStatus.js';
|
|
13
|
+
import type { EncryptedPasswordResponseData } from './EncryptedPasswordResponseData.js';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface GetEncryptedPasswordResponseContent
|
|
18
|
+
*/
|
|
19
|
+
export interface GetEncryptedPasswordResponseContent {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {OperationStatus}
|
|
23
|
+
* @memberof GetEncryptedPasswordResponseContent
|
|
24
|
+
*/
|
|
25
|
+
status: OperationStatus;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {EncryptedPasswordResponseData}
|
|
29
|
+
* @memberof GetEncryptedPasswordResponseContent
|
|
30
|
+
*/
|
|
31
|
+
data: EncryptedPasswordResponseData;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the GetEncryptedPasswordResponseContent interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfGetEncryptedPasswordResponseContent(value: object): value is GetEncryptedPasswordResponseContent;
|
|
37
|
+
export declare function GetEncryptedPasswordResponseContentFromJSON(json: any): GetEncryptedPasswordResponseContent;
|
|
38
|
+
export declare function GetEncryptedPasswordResponseContentFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetEncryptedPasswordResponseContent;
|
|
39
|
+
export declare function GetEncryptedPasswordResponseContentToJSON(json: any): GetEncryptedPasswordResponseContent;
|
|
40
|
+
export declare function GetEncryptedPasswordResponseContentToJSONTyped(value?: GetEncryptedPasswordResponseContent | 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.instanceOfGetEncryptedPasswordResponseContent = instanceOfGetEncryptedPasswordResponseContent;
|
|
17
|
+
exports.GetEncryptedPasswordResponseContentFromJSON = GetEncryptedPasswordResponseContentFromJSON;
|
|
18
|
+
exports.GetEncryptedPasswordResponseContentFromJSONTyped = GetEncryptedPasswordResponseContentFromJSONTyped;
|
|
19
|
+
exports.GetEncryptedPasswordResponseContentToJSON = GetEncryptedPasswordResponseContentToJSON;
|
|
20
|
+
exports.GetEncryptedPasswordResponseContentToJSONTyped = GetEncryptedPasswordResponseContentToJSONTyped;
|
|
21
|
+
const OperationStatus_js_1 = require("./OperationStatus.js");
|
|
22
|
+
const EncryptedPasswordResponseData_js_1 = require("./EncryptedPasswordResponseData.js");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the GetEncryptedPasswordResponseContent interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfGetEncryptedPasswordResponseContent(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 GetEncryptedPasswordResponseContentFromJSON(json) {
|
|
34
|
+
return GetEncryptedPasswordResponseContentFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function GetEncryptedPasswordResponseContentFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'status': (0, OperationStatus_js_1.OperationStatusFromJSON)(json['status']),
|
|
42
|
+
'data': (0, EncryptedPasswordResponseData_js_1.EncryptedPasswordResponseDataFromJSON)(json['data']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function GetEncryptedPasswordResponseContentToJSON(json) {
|
|
46
|
+
return GetEncryptedPasswordResponseContentToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function GetEncryptedPasswordResponseContentToJSONTyped(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, EncryptedPasswordResponseData_js_1.EncryptedPasswordResponseDataToJSON)(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 { DnsCreateCandidateInfo } from './DnsCreateCandidateInfo.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListDnsCreateCandidatesData
|
|
17
|
+
*/
|
|
18
|
+
export interface ListDnsCreateCandidatesData {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof ListDnsCreateCandidatesData
|
|
23
|
+
*/
|
|
24
|
+
message: string;
|
|
25
|
+
/**
|
|
26
|
+
* Domains and services eligible for new DNS zones
|
|
27
|
+
* @type {Array<DnsCreateCandidateInfo>}
|
|
28
|
+
* @memberof ListDnsCreateCandidatesData
|
|
29
|
+
*/
|
|
30
|
+
candidates: Array<DnsCreateCandidateInfo>;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof ListDnsCreateCandidatesData
|
|
35
|
+
*/
|
|
36
|
+
total: number;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the ListDnsCreateCandidatesData interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfListDnsCreateCandidatesData(value: object): value is ListDnsCreateCandidatesData;
|
|
42
|
+
export declare function ListDnsCreateCandidatesDataFromJSON(json: any): ListDnsCreateCandidatesData;
|
|
43
|
+
export declare function ListDnsCreateCandidatesDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListDnsCreateCandidatesData;
|
|
44
|
+
export declare function ListDnsCreateCandidatesDataToJSON(json: any): ListDnsCreateCandidatesData;
|
|
45
|
+
export declare function ListDnsCreateCandidatesDataToJSONTyped(value?: ListDnsCreateCandidatesData | 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.instanceOfListDnsCreateCandidatesData = instanceOfListDnsCreateCandidatesData;
|
|
17
|
+
exports.ListDnsCreateCandidatesDataFromJSON = ListDnsCreateCandidatesDataFromJSON;
|
|
18
|
+
exports.ListDnsCreateCandidatesDataFromJSONTyped = ListDnsCreateCandidatesDataFromJSONTyped;
|
|
19
|
+
exports.ListDnsCreateCandidatesDataToJSON = ListDnsCreateCandidatesDataToJSON;
|
|
20
|
+
exports.ListDnsCreateCandidatesDataToJSONTyped = ListDnsCreateCandidatesDataToJSONTyped;
|
|
21
|
+
const DnsCreateCandidateInfo_js_1 = require("./DnsCreateCandidateInfo.js");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ListDnsCreateCandidatesData interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfListDnsCreateCandidatesData(value) {
|
|
26
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('candidates' in value) || value['candidates'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('total' in value) || value['total'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
function ListDnsCreateCandidatesDataFromJSON(json) {
|
|
35
|
+
return ListDnsCreateCandidatesDataFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
function ListDnsCreateCandidatesDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'message': json['message'],
|
|
43
|
+
'candidates': (json['candidates'].map(DnsCreateCandidateInfo_js_1.DnsCreateCandidateInfoFromJSON)),
|
|
44
|
+
'total': json['total'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function ListDnsCreateCandidatesDataToJSON(json) {
|
|
48
|
+
return ListDnsCreateCandidatesDataToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function ListDnsCreateCandidatesDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'message': value['message'],
|
|
56
|
+
'candidates': (value['candidates'].map(DnsCreateCandidateInfo_js_1.DnsCreateCandidateInfoToJSON)),
|
|
57
|
+
'total': value['total'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -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 { OperationStatus } from './OperationStatus.js';
|
|
13
|
+
import type { ListDnsCreateCandidatesData } from './ListDnsCreateCandidatesData.js';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ListDnsCreateCandidatesResponseContent
|
|
18
|
+
*/
|
|
19
|
+
export interface ListDnsCreateCandidatesResponseContent {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {OperationStatus}
|
|
23
|
+
* @memberof ListDnsCreateCandidatesResponseContent
|
|
24
|
+
*/
|
|
25
|
+
status: OperationStatus;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {ListDnsCreateCandidatesData}
|
|
29
|
+
* @memberof ListDnsCreateCandidatesResponseContent
|
|
30
|
+
*/
|
|
31
|
+
data: ListDnsCreateCandidatesData;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the ListDnsCreateCandidatesResponseContent interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfListDnsCreateCandidatesResponseContent(value: object): value is ListDnsCreateCandidatesResponseContent;
|
|
37
|
+
export declare function ListDnsCreateCandidatesResponseContentFromJSON(json: any): ListDnsCreateCandidatesResponseContent;
|
|
38
|
+
export declare function ListDnsCreateCandidatesResponseContentFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListDnsCreateCandidatesResponseContent;
|
|
39
|
+
export declare function ListDnsCreateCandidatesResponseContentToJSON(json: any): ListDnsCreateCandidatesResponseContent;
|
|
40
|
+
export declare function ListDnsCreateCandidatesResponseContentToJSONTyped(value?: ListDnsCreateCandidatesResponseContent | 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.instanceOfListDnsCreateCandidatesResponseContent = instanceOfListDnsCreateCandidatesResponseContent;
|
|
17
|
+
exports.ListDnsCreateCandidatesResponseContentFromJSON = ListDnsCreateCandidatesResponseContentFromJSON;
|
|
18
|
+
exports.ListDnsCreateCandidatesResponseContentFromJSONTyped = ListDnsCreateCandidatesResponseContentFromJSONTyped;
|
|
19
|
+
exports.ListDnsCreateCandidatesResponseContentToJSON = ListDnsCreateCandidatesResponseContentToJSON;
|
|
20
|
+
exports.ListDnsCreateCandidatesResponseContentToJSONTyped = ListDnsCreateCandidatesResponseContentToJSONTyped;
|
|
21
|
+
const OperationStatus_js_1 = require("./OperationStatus.js");
|
|
22
|
+
const ListDnsCreateCandidatesData_js_1 = require("./ListDnsCreateCandidatesData.js");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the ListDnsCreateCandidatesResponseContent interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfListDnsCreateCandidatesResponseContent(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 ListDnsCreateCandidatesResponseContentFromJSON(json) {
|
|
34
|
+
return ListDnsCreateCandidatesResponseContentFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function ListDnsCreateCandidatesResponseContentFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'status': (0, OperationStatus_js_1.OperationStatusFromJSON)(json['status']),
|
|
42
|
+
'data': (0, ListDnsCreateCandidatesData_js_1.ListDnsCreateCandidatesDataFromJSON)(json['data']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function ListDnsCreateCandidatesResponseContentToJSON(json) {
|
|
46
|
+
return ListDnsCreateCandidatesResponseContentToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function ListDnsCreateCandidatesResponseContentToJSONTyped(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, ListDnsCreateCandidatesData_js_1.ListDnsCreateCandidatesDataToJSON)(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 { DnsZoneInfo } from './DnsZoneInfo.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListDnsZonesData
|
|
17
|
+
*/
|
|
18
|
+
export interface ListDnsZonesData {
|
|
19
|
+
/**
|
|
20
|
+
* Status message indicating the result
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof ListDnsZonesData
|
|
23
|
+
*/
|
|
24
|
+
message: string;
|
|
25
|
+
/**
|
|
26
|
+
* DNS zones owned by the authenticated client
|
|
27
|
+
* @type {Array<DnsZoneInfo>}
|
|
28
|
+
* @memberof ListDnsZonesData
|
|
29
|
+
*/
|
|
30
|
+
zones: Array<DnsZoneInfo>;
|
|
31
|
+
/**
|
|
32
|
+
* Total number of zones
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof ListDnsZonesData
|
|
35
|
+
*/
|
|
36
|
+
total: number;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the ListDnsZonesData interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfListDnsZonesData(value: object): value is ListDnsZonesData;
|
|
42
|
+
export declare function ListDnsZonesDataFromJSON(json: any): ListDnsZonesData;
|
|
43
|
+
export declare function ListDnsZonesDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListDnsZonesData;
|
|
44
|
+
export declare function ListDnsZonesDataToJSON(json: any): ListDnsZonesData;
|
|
45
|
+
export declare function ListDnsZonesDataToJSONTyped(value?: ListDnsZonesData | 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.instanceOfListDnsZonesData = instanceOfListDnsZonesData;
|
|
17
|
+
exports.ListDnsZonesDataFromJSON = ListDnsZonesDataFromJSON;
|
|
18
|
+
exports.ListDnsZonesDataFromJSONTyped = ListDnsZonesDataFromJSONTyped;
|
|
19
|
+
exports.ListDnsZonesDataToJSON = ListDnsZonesDataToJSON;
|
|
20
|
+
exports.ListDnsZonesDataToJSONTyped = ListDnsZonesDataToJSONTyped;
|
|
21
|
+
const DnsZoneInfo_js_1 = require("./DnsZoneInfo.js");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ListDnsZonesData interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfListDnsZonesData(value) {
|
|
26
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('zones' in value) || value['zones'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('total' in value) || value['total'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
function ListDnsZonesDataFromJSON(json) {
|
|
35
|
+
return ListDnsZonesDataFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
function ListDnsZonesDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'message': json['message'],
|
|
43
|
+
'zones': (json['zones'].map(DnsZoneInfo_js_1.DnsZoneInfoFromJSON)),
|
|
44
|
+
'total': json['total'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function ListDnsZonesDataToJSON(json) {
|
|
48
|
+
return ListDnsZonesDataToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function ListDnsZonesDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'message': value['message'],
|
|
56
|
+
'zones': (value['zones'].map(DnsZoneInfo_js_1.DnsZoneInfoToJSON)),
|
|
57
|
+
'total': value['total'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -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 { OperationStatus } from './OperationStatus.js';
|
|
13
|
+
import type { ListDnsZonesData } from './ListDnsZonesData.js';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ListDnsZonesResponseContent
|
|
18
|
+
*/
|
|
19
|
+
export interface ListDnsZonesResponseContent {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {OperationStatus}
|
|
23
|
+
* @memberof ListDnsZonesResponseContent
|
|
24
|
+
*/
|
|
25
|
+
status: OperationStatus;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {ListDnsZonesData}
|
|
29
|
+
* @memberof ListDnsZonesResponseContent
|
|
30
|
+
*/
|
|
31
|
+
data: ListDnsZonesData;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the ListDnsZonesResponseContent interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfListDnsZonesResponseContent(value: object): value is ListDnsZonesResponseContent;
|
|
37
|
+
export declare function ListDnsZonesResponseContentFromJSON(json: any): ListDnsZonesResponseContent;
|
|
38
|
+
export declare function ListDnsZonesResponseContentFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListDnsZonesResponseContent;
|
|
39
|
+
export declare function ListDnsZonesResponseContentToJSON(json: any): ListDnsZonesResponseContent;
|
|
40
|
+
export declare function ListDnsZonesResponseContentToJSONTyped(value?: ListDnsZonesResponseContent | 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.instanceOfListDnsZonesResponseContent = instanceOfListDnsZonesResponseContent;
|
|
17
|
+
exports.ListDnsZonesResponseContentFromJSON = ListDnsZonesResponseContentFromJSON;
|
|
18
|
+
exports.ListDnsZonesResponseContentFromJSONTyped = ListDnsZonesResponseContentFromJSONTyped;
|
|
19
|
+
exports.ListDnsZonesResponseContentToJSON = ListDnsZonesResponseContentToJSON;
|
|
20
|
+
exports.ListDnsZonesResponseContentToJSONTyped = ListDnsZonesResponseContentToJSONTyped;
|
|
21
|
+
const OperationStatus_js_1 = require("./OperationStatus.js");
|
|
22
|
+
const ListDnsZonesData_js_1 = require("./ListDnsZonesData.js");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the ListDnsZonesResponseContent interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfListDnsZonesResponseContent(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 ListDnsZonesResponseContentFromJSON(json) {
|
|
34
|
+
return ListDnsZonesResponseContentFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function ListDnsZonesResponseContentFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'status': (0, OperationStatus_js_1.OperationStatusFromJSON)(json['status']),
|
|
42
|
+
'data': (0, ListDnsZonesData_js_1.ListDnsZonesDataFromJSON)(json['data']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function ListDnsZonesResponseContentToJSON(json) {
|
|
46
|
+
return ListDnsZonesResponseContentToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function ListDnsZonesResponseContentToJSONTyped(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, ListDnsZonesData_js_1.ListDnsZonesDataToJSON)(value['data']),
|
|
55
|
+
};
|
|
56
|
+
}
|