@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
|
@@ -102,7 +102,7 @@ export class SnapshotsApi extends runtime.BaseAPI {
|
|
|
102
102
|
});
|
|
103
103
|
}
|
|
104
104
|
/**
|
|
105
|
-
*
|
|
105
|
+
* Creates a new snapshot job for a VPS service. Use period=\'hourly\' with run_every, or period=\'daily\' with days and start_time.
|
|
106
106
|
*/
|
|
107
107
|
createSnapshotJobRaw(requestParameters, initOverrides) {
|
|
108
108
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -112,7 +112,7 @@ export class SnapshotsApi extends runtime.BaseAPI {
|
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
114
|
/**
|
|
115
|
-
*
|
|
115
|
+
* Creates a new snapshot job for a VPS service. Use period=\'hourly\' with run_every, or period=\'daily\' with days and start_time.
|
|
116
116
|
*/
|
|
117
117
|
createSnapshotJob(requestParameters, initOverrides) {
|
|
118
118
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -196,7 +196,7 @@ export class SnapshotsApi extends runtime.BaseAPI {
|
|
|
196
196
|
});
|
|
197
197
|
}
|
|
198
198
|
/**
|
|
199
|
-
*
|
|
199
|
+
* Deletes a snapshot job from a VPS service
|
|
200
200
|
*/
|
|
201
201
|
deleteSnapshotJobRaw(requestParameters, initOverrides) {
|
|
202
202
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -206,7 +206,7 @@ export class SnapshotsApi extends runtime.BaseAPI {
|
|
|
206
206
|
});
|
|
207
207
|
}
|
|
208
208
|
/**
|
|
209
|
-
*
|
|
209
|
+
* Deletes a snapshot job from a VPS service
|
|
210
210
|
*/
|
|
211
211
|
deleteSnapshotJob(requestParameters, initOverrides) {
|
|
212
212
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -243,7 +243,7 @@ export class SnapshotsApi extends runtime.BaseAPI {
|
|
|
243
243
|
});
|
|
244
244
|
}
|
|
245
245
|
/**
|
|
246
|
-
*
|
|
246
|
+
* Retrieves the list of snapshot jobs for a VPS service
|
|
247
247
|
*/
|
|
248
248
|
listSnapshotJobsRaw(requestParameters, initOverrides) {
|
|
249
249
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -253,7 +253,7 @@ export class SnapshotsApi extends runtime.BaseAPI {
|
|
|
253
253
|
});
|
|
254
254
|
}
|
|
255
255
|
/**
|
|
256
|
-
*
|
|
256
|
+
* Retrieves the list of snapshot jobs for a VPS service
|
|
257
257
|
*/
|
|
258
258
|
listSnapshotJobs(requestParameters, initOverrides) {
|
|
259
259
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -431,7 +431,7 @@ export class SnapshotsApi extends runtime.BaseAPI {
|
|
|
431
431
|
});
|
|
432
432
|
}
|
|
433
433
|
/**
|
|
434
|
-
*
|
|
434
|
+
* Updates an existing snapshot job. Only provide fields you want to change.
|
|
435
435
|
*/
|
|
436
436
|
updateSnapshotJobRaw(requestParameters, initOverrides) {
|
|
437
437
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -441,7 +441,7 @@ export class SnapshotsApi extends runtime.BaseAPI {
|
|
|
441
441
|
});
|
|
442
442
|
}
|
|
443
443
|
/**
|
|
444
|
-
*
|
|
444
|
+
* Updates an existing snapshot job. Only provide fields you want to change.
|
|
445
445
|
*/
|
|
446
446
|
updateSnapshotJob(requestParameters, initOverrides) {
|
|
447
447
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -10,7 +10,10 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime.js';
|
|
13
|
-
import type { GetVpsConfigRequestContent, GetVpsConfigResponseContent, GetVpsDetailsRequestContent, GetVpsDetailsResponseContent, ListIsosRequestContent, ListIsosResponseContent, ListReinstallOsRequestContent, ListReinstallOsResponseContent, ListVpsServicesResponseContent, MountIsoRequestContent, MountIsoResponseContent, TriggerReinstallRequestContent, TriggerReinstallResponseContent, UpdateVpsConfigRequestContent, UpdateVpsConfigResponseContent } from '../models/index.js';
|
|
13
|
+
import type { GetEncryptedPasswordRequestContent, GetEncryptedPasswordResponseContent, GetVpsConfigRequestContent, GetVpsConfigResponseContent, GetVpsDetailsRequestContent, GetVpsDetailsResponseContent, ListIsosRequestContent, ListIsosResponseContent, ListReinstallOsRequestContent, ListReinstallOsResponseContent, ListVpsServicesResponseContent, MountIsoRequestContent, MountIsoResponseContent, TriggerReinstallRequestContent, TriggerReinstallResponseContent, UpdateVpsConfigRequestContent, UpdateVpsConfigResponseContent } from '../models/index.js';
|
|
14
|
+
export interface GetEncryptedPasswordRequest {
|
|
15
|
+
getEncryptedPasswordRequestContent: GetEncryptedPasswordRequestContent;
|
|
16
|
+
}
|
|
14
17
|
export interface GetVpsConfigRequest {
|
|
15
18
|
getVpsConfigRequestContent: GetVpsConfigRequestContent;
|
|
16
19
|
}
|
|
@@ -36,6 +39,18 @@ export interface UpdateVpsConfigRequest {
|
|
|
36
39
|
*
|
|
37
40
|
*/
|
|
38
41
|
export declare class VPSManagementApi extends runtime.BaseAPI {
|
|
42
|
+
/**
|
|
43
|
+
* Creates request options for getEncryptedPassword without sending the request
|
|
44
|
+
*/
|
|
45
|
+
getEncryptedPasswordRequestOpts(requestParameters: GetEncryptedPasswordRequest): Promise<runtime.RequestOpts>;
|
|
46
|
+
/**
|
|
47
|
+
* Retrieves the VPS username and root password without exposing plaintext over the API. Send a PEM-encoded RSA 4096-bit public key; the API encrypts the password with RSA-OAEP (SHA-256), and returns base64 ciphertext plus encryption metadata. Never send the private key. Invalid or non-4096-bit keys return HTTP 422 ValidationError. Generate a key with: openssl genrsa -out private.pem 4096 && openssl rsa -in private.pem -pubout -out public.pem. Decrypt with: echo CIPHERTEXT | base64 -d | openssl pkeyutl -decrypt -inkey private.pem -pkeyopt rsa_padding_mode:oaep -pkeyopt rsa_oaep_md:sha256 -pkeyopt rsa_mgf1_md:sha256 (macOS: base64 -D).
|
|
48
|
+
*/
|
|
49
|
+
getEncryptedPasswordRaw(requestParameters: GetEncryptedPasswordRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetEncryptedPasswordResponseContent>>;
|
|
50
|
+
/**
|
|
51
|
+
* Retrieves the VPS username and root password without exposing plaintext over the API. Send a PEM-encoded RSA 4096-bit public key; the API encrypts the password with RSA-OAEP (SHA-256), and returns base64 ciphertext plus encryption metadata. Never send the private key. Invalid or non-4096-bit keys return HTTP 422 ValidationError. Generate a key with: openssl genrsa -out private.pem 4096 && openssl rsa -in private.pem -pubout -out public.pem. Decrypt with: echo CIPHERTEXT | base64 -d | openssl pkeyutl -decrypt -inkey private.pem -pkeyopt rsa_padding_mode:oaep -pkeyopt rsa_oaep_md:sha256 -pkeyopt rsa_mgf1_md:sha256 (macOS: base64 -D).
|
|
52
|
+
*/
|
|
53
|
+
getEncryptedPassword(requestParameters: GetEncryptedPasswordRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetEncryptedPasswordResponseContent>;
|
|
39
54
|
/**
|
|
40
55
|
* Creates request options for getVpsConfig without sending the request
|
|
41
56
|
*/
|
|
@@ -53,11 +68,11 @@ export declare class VPSManagementApi extends runtime.BaseAPI {
|
|
|
53
68
|
*/
|
|
54
69
|
getVpsDetailsRequestOpts(requestParameters: GetVpsDetailsRequest): Promise<runtime.RequestOpts>;
|
|
55
70
|
/**
|
|
56
|
-
* Gets detailed information about a VPS service including configuration, network settings, and statistics
|
|
71
|
+
* Gets detailed information about a VPS service including configuration, network settings, and statistics. Credentials.password is always \"<redacted>\"; plaintext passwords are never returned. To retrieve the password securely, use GetEncryptedPassword (/vps/get-encrypted-password).
|
|
57
72
|
*/
|
|
58
73
|
getVpsDetailsRaw(requestParameters: GetVpsDetailsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetVpsDetailsResponseContent>>;
|
|
59
74
|
/**
|
|
60
|
-
* Gets detailed information about a VPS service including configuration, network settings, and statistics
|
|
75
|
+
* Gets detailed information about a VPS service including configuration, network settings, and statistics. Credentials.password is always \"<redacted>\"; plaintext passwords are never returned. To retrieve the password securely, use GetEncryptedPassword (/vps/get-encrypted-password).
|
|
61
76
|
*/
|
|
62
77
|
getVpsDetails(requestParameters: GetVpsDetailsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetVpsDetailsResponseContent>;
|
|
63
78
|
/**
|
|
@@ -21,11 +21,58 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
import * as runtime from '../runtime.js';
|
|
24
|
-
import { GetVpsConfigRequestContentToJSON, GetVpsConfigResponseContentFromJSON, GetVpsDetailsRequestContentToJSON, GetVpsDetailsResponseContentFromJSON, ListIsosRequestContentToJSON, ListIsosResponseContentFromJSON, ListReinstallOsRequestContentToJSON, ListReinstallOsResponseContentFromJSON, ListVpsServicesResponseContentFromJSON, MountIsoRequestContentToJSON, MountIsoResponseContentFromJSON, TriggerReinstallRequestContentToJSON, TriggerReinstallResponseContentFromJSON, UpdateVpsConfigRequestContentToJSON, UpdateVpsConfigResponseContentFromJSON, } from '../models/index.js';
|
|
24
|
+
import { GetEncryptedPasswordRequestContentToJSON, GetEncryptedPasswordResponseContentFromJSON, GetVpsConfigRequestContentToJSON, GetVpsConfigResponseContentFromJSON, GetVpsDetailsRequestContentToJSON, GetVpsDetailsResponseContentFromJSON, ListIsosRequestContentToJSON, ListIsosResponseContentFromJSON, ListReinstallOsRequestContentToJSON, ListReinstallOsResponseContentFromJSON, ListVpsServicesResponseContentFromJSON, MountIsoRequestContentToJSON, MountIsoResponseContentFromJSON, TriggerReinstallRequestContentToJSON, TriggerReinstallResponseContentFromJSON, UpdateVpsConfigRequestContentToJSON, UpdateVpsConfigResponseContentFromJSON, } from '../models/index.js';
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
28
28
|
export class VPSManagementApi extends runtime.BaseAPI {
|
|
29
|
+
/**
|
|
30
|
+
* Creates request options for getEncryptedPassword without sending the request
|
|
31
|
+
*/
|
|
32
|
+
getEncryptedPasswordRequestOpts(requestParameters) {
|
|
33
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
34
|
+
if (requestParameters['getEncryptedPasswordRequestContent'] == null) {
|
|
35
|
+
throw new runtime.RequiredError('getEncryptedPasswordRequestContent', 'Required parameter "getEncryptedPasswordRequestContent" was null or undefined when calling getEncryptedPassword().');
|
|
36
|
+
}
|
|
37
|
+
const queryParameters = {};
|
|
38
|
+
const headerParameters = {};
|
|
39
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
40
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
41
|
+
const token = this.configuration.accessToken;
|
|
42
|
+
const tokenString = yield token("BearerAuth", []);
|
|
43
|
+
if (tokenString) {
|
|
44
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
let urlPath = `/vps/get-encrypted-password`;
|
|
48
|
+
return {
|
|
49
|
+
path: urlPath,
|
|
50
|
+
method: 'POST',
|
|
51
|
+
headers: headerParameters,
|
|
52
|
+
query: queryParameters,
|
|
53
|
+
body: GetEncryptedPasswordRequestContentToJSON(requestParameters['getEncryptedPasswordRequestContent']),
|
|
54
|
+
};
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Retrieves the VPS username and root password without exposing plaintext over the API. Send a PEM-encoded RSA 4096-bit public key; the API encrypts the password with RSA-OAEP (SHA-256), and returns base64 ciphertext plus encryption metadata. Never send the private key. Invalid or non-4096-bit keys return HTTP 422 ValidationError. Generate a key with: openssl genrsa -out private.pem 4096 && openssl rsa -in private.pem -pubout -out public.pem. Decrypt with: echo CIPHERTEXT | base64 -d | openssl pkeyutl -decrypt -inkey private.pem -pkeyopt rsa_padding_mode:oaep -pkeyopt rsa_oaep_md:sha256 -pkeyopt rsa_mgf1_md:sha256 (macOS: base64 -D).
|
|
59
|
+
*/
|
|
60
|
+
getEncryptedPasswordRaw(requestParameters, initOverrides) {
|
|
61
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
62
|
+
const requestOptions = yield this.getEncryptedPasswordRequestOpts(requestParameters);
|
|
63
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
64
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => GetEncryptedPasswordResponseContentFromJSON(jsonValue));
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Retrieves the VPS username and root password without exposing plaintext over the API. Send a PEM-encoded RSA 4096-bit public key; the API encrypts the password with RSA-OAEP (SHA-256), and returns base64 ciphertext plus encryption metadata. Never send the private key. Invalid or non-4096-bit keys return HTTP 422 ValidationError. Generate a key with: openssl genrsa -out private.pem 4096 && openssl rsa -in private.pem -pubout -out public.pem. Decrypt with: echo CIPHERTEXT | base64 -d | openssl pkeyutl -decrypt -inkey private.pem -pkeyopt rsa_padding_mode:oaep -pkeyopt rsa_oaep_md:sha256 -pkeyopt rsa_mgf1_md:sha256 (macOS: base64 -D).
|
|
69
|
+
*/
|
|
70
|
+
getEncryptedPassword(requestParameters, initOverrides) {
|
|
71
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
72
|
+
const response = yield this.getEncryptedPasswordRaw(requestParameters, initOverrides);
|
|
73
|
+
return yield response.value();
|
|
74
|
+
});
|
|
75
|
+
}
|
|
29
76
|
/**
|
|
30
77
|
* Creates request options for getVpsConfig without sending the request
|
|
31
78
|
*/
|
|
@@ -102,7 +149,7 @@ export class VPSManagementApi extends runtime.BaseAPI {
|
|
|
102
149
|
});
|
|
103
150
|
}
|
|
104
151
|
/**
|
|
105
|
-
* Gets detailed information about a VPS service including configuration, network settings, and statistics
|
|
152
|
+
* Gets detailed information about a VPS service including configuration, network settings, and statistics. Credentials.password is always \"<redacted>\"; plaintext passwords are never returned. To retrieve the password securely, use GetEncryptedPassword (/vps/get-encrypted-password).
|
|
106
153
|
*/
|
|
107
154
|
getVpsDetailsRaw(requestParameters, initOverrides) {
|
|
108
155
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -112,7 +159,7 @@ export class VPSManagementApi extends runtime.BaseAPI {
|
|
|
112
159
|
});
|
|
113
160
|
}
|
|
114
161
|
/**
|
|
115
|
-
* Gets detailed information about a VPS service including configuration, network settings, and statistics
|
|
162
|
+
* Gets detailed information about a VPS service including configuration, network settings, and statistics. Credentials.password is always \"<redacted>\"; plaintext passwords are never returned. To retrieve the password securely, use GetEncryptedPassword (/vps/get-encrypted-password).
|
|
116
163
|
*/
|
|
117
164
|
getVpsDetails(requestParameters, initOverrides) {
|
|
118
165
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* HostAfricaApi
|
|
3
|
+
* HostAfrica API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.1.0 - 2026-07-16
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { DnsRecordMutationRecord } from './DnsRecordMutationRecord.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AddDnsRecordRequestContent
|
|
17
|
+
*/
|
|
18
|
+
export interface AddDnsRecordRequestContent {
|
|
19
|
+
/**
|
|
20
|
+
* DNS zone domain name (FQDN); optional when zone_id is provided
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof AddDnsRecordRequestContent
|
|
23
|
+
*/
|
|
24
|
+
domainName?: string;
|
|
25
|
+
/**
|
|
26
|
+
* DNS zone identifier from list-dns-zones or get-dns-zone-details
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof AddDnsRecordRequestContent
|
|
29
|
+
*/
|
|
30
|
+
zoneId: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {DnsRecordMutationRecord}
|
|
34
|
+
* @memberof AddDnsRecordRequestContent
|
|
35
|
+
*/
|
|
36
|
+
record: DnsRecordMutationRecord;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the AddDnsRecordRequestContent interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfAddDnsRecordRequestContent(value: object): value is AddDnsRecordRequestContent;
|
|
42
|
+
export declare function AddDnsRecordRequestContentFromJSON(json: any): AddDnsRecordRequestContent;
|
|
43
|
+
export declare function AddDnsRecordRequestContentFromJSONTyped(json: any, ignoreDiscriminator: boolean): AddDnsRecordRequestContent;
|
|
44
|
+
export declare function AddDnsRecordRequestContentToJSON(json: any): AddDnsRecordRequestContent;
|
|
45
|
+
export declare function AddDnsRecordRequestContentToJSONTyped(value?: AddDnsRecordRequestContent | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* HostAfricaApi
|
|
5
|
+
* HostAfrica API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.1.0 - 2026-07-16
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { DnsRecordMutationRecordFromJSON, DnsRecordMutationRecordToJSON, } from './DnsRecordMutationRecord.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the AddDnsRecordRequestContent interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfAddDnsRecordRequestContent(value) {
|
|
19
|
+
if (!('zoneId' in value) || value['zoneId'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('record' in value) || value['record'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
return true;
|
|
24
|
+
}
|
|
25
|
+
export function AddDnsRecordRequestContentFromJSON(json) {
|
|
26
|
+
return AddDnsRecordRequestContentFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
export function AddDnsRecordRequestContentFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if (json == null) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'domainName': json['domain_name'] == null ? undefined : json['domain_name'],
|
|
34
|
+
'zoneId': json['zone_id'],
|
|
35
|
+
'record': DnsRecordMutationRecordFromJSON(json['record']),
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export function AddDnsRecordRequestContentToJSON(json) {
|
|
39
|
+
return AddDnsRecordRequestContentToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
export function AddDnsRecordRequestContentToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'domain_name': value['domainName'],
|
|
47
|
+
'zone_id': value['zoneId'],
|
|
48
|
+
'record': DnsRecordMutationRecordToJSON(value['record']),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* HostAfricaApi
|
|
3
|
+
* HostAfrica API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.1.0 - 2026-07-16
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { DnsRecordMutationData } from './DnsRecordMutationData.js';
|
|
13
|
+
import type { OperationStatus } from './OperationStatus.js';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface AddDnsRecordResponseContent
|
|
18
|
+
*/
|
|
19
|
+
export interface AddDnsRecordResponseContent {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {OperationStatus}
|
|
23
|
+
* @memberof AddDnsRecordResponseContent
|
|
24
|
+
*/
|
|
25
|
+
status: OperationStatus;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {DnsRecordMutationData}
|
|
29
|
+
* @memberof AddDnsRecordResponseContent
|
|
30
|
+
*/
|
|
31
|
+
data: DnsRecordMutationData;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the AddDnsRecordResponseContent interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfAddDnsRecordResponseContent(value: object): value is AddDnsRecordResponseContent;
|
|
37
|
+
export declare function AddDnsRecordResponseContentFromJSON(json: any): AddDnsRecordResponseContent;
|
|
38
|
+
export declare function AddDnsRecordResponseContentFromJSONTyped(json: any, ignoreDiscriminator: boolean): AddDnsRecordResponseContent;
|
|
39
|
+
export declare function AddDnsRecordResponseContentToJSON(json: any): AddDnsRecordResponseContent;
|
|
40
|
+
export declare function AddDnsRecordResponseContentToJSONTyped(value?: AddDnsRecordResponseContent | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* HostAfricaApi
|
|
5
|
+
* HostAfrica API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.1.0 - 2026-07-16
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { DnsRecordMutationDataFromJSON, DnsRecordMutationDataToJSON, } from './DnsRecordMutationData.js';
|
|
15
|
+
import { OperationStatusFromJSON, OperationStatusToJSON, } from './OperationStatus.js';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the AddDnsRecordResponseContent interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfAddDnsRecordResponseContent(value) {
|
|
20
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function AddDnsRecordResponseContentFromJSON(json) {
|
|
27
|
+
return AddDnsRecordResponseContentFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function AddDnsRecordResponseContentFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'status': OperationStatusFromJSON(json['status']),
|
|
35
|
+
'data': DnsRecordMutationDataFromJSON(json['data']),
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export function AddDnsRecordResponseContentToJSON(json) {
|
|
39
|
+
return AddDnsRecordResponseContentToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
export function AddDnsRecordResponseContentToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'status': OperationStatusToJSON(value['status']),
|
|
47
|
+
'data': DnsRecordMutationDataToJSON(value['data']),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* HostAfricaApi
|
|
3
|
+
* HostAfrica API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.1.0 - 2026-07-16
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { DnsRecordMutationRecord } from './DnsRecordMutationRecord.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface DeleteDnsRecordRequestContent
|
|
17
|
+
*/
|
|
18
|
+
export interface DeleteDnsRecordRequestContent {
|
|
19
|
+
/**
|
|
20
|
+
* DNS zone domain name (FQDN); optional when zone_id is provided
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof DeleteDnsRecordRequestContent
|
|
23
|
+
*/
|
|
24
|
+
domainName?: string;
|
|
25
|
+
/**
|
|
26
|
+
* DNS zone identifier from list-dns-zones or get-dns-zone-details
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof DeleteDnsRecordRequestContent
|
|
29
|
+
*/
|
|
30
|
+
zoneId: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {DnsRecordMutationRecord}
|
|
34
|
+
* @memberof DeleteDnsRecordRequestContent
|
|
35
|
+
*/
|
|
36
|
+
record: DnsRecordMutationRecord;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the DeleteDnsRecordRequestContent interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfDeleteDnsRecordRequestContent(value: object): value is DeleteDnsRecordRequestContent;
|
|
42
|
+
export declare function DeleteDnsRecordRequestContentFromJSON(json: any): DeleteDnsRecordRequestContent;
|
|
43
|
+
export declare function DeleteDnsRecordRequestContentFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeleteDnsRecordRequestContent;
|
|
44
|
+
export declare function DeleteDnsRecordRequestContentToJSON(json: any): DeleteDnsRecordRequestContent;
|
|
45
|
+
export declare function DeleteDnsRecordRequestContentToJSONTyped(value?: DeleteDnsRecordRequestContent | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* HostAfricaApi
|
|
5
|
+
* HostAfrica API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.1.0 - 2026-07-16
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { DnsRecordMutationRecordFromJSON, DnsRecordMutationRecordToJSON, } from './DnsRecordMutationRecord.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the DeleteDnsRecordRequestContent interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfDeleteDnsRecordRequestContent(value) {
|
|
19
|
+
if (!('zoneId' in value) || value['zoneId'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('record' in value) || value['record'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
return true;
|
|
24
|
+
}
|
|
25
|
+
export function DeleteDnsRecordRequestContentFromJSON(json) {
|
|
26
|
+
return DeleteDnsRecordRequestContentFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
export function DeleteDnsRecordRequestContentFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if (json == null) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'domainName': json['domain_name'] == null ? undefined : json['domain_name'],
|
|
34
|
+
'zoneId': json['zone_id'],
|
|
35
|
+
'record': DnsRecordMutationRecordFromJSON(json['record']),
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export function DeleteDnsRecordRequestContentToJSON(json) {
|
|
39
|
+
return DeleteDnsRecordRequestContentToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
export function DeleteDnsRecordRequestContentToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'domain_name': value['domainName'],
|
|
47
|
+
'zone_id': value['zoneId'],
|
|
48
|
+
'record': DnsRecordMutationRecordToJSON(value['record']),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* HostAfricaApi
|
|
3
|
+
* HostAfrica API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.1.0 - 2026-07-16
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { DnsRecordMutationData } from './DnsRecordMutationData.js';
|
|
13
|
+
import type { OperationStatus } from './OperationStatus.js';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface DeleteDnsRecordResponseContent
|
|
18
|
+
*/
|
|
19
|
+
export interface DeleteDnsRecordResponseContent {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {OperationStatus}
|
|
23
|
+
* @memberof DeleteDnsRecordResponseContent
|
|
24
|
+
*/
|
|
25
|
+
status: OperationStatus;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {DnsRecordMutationData}
|
|
29
|
+
* @memberof DeleteDnsRecordResponseContent
|
|
30
|
+
*/
|
|
31
|
+
data: DnsRecordMutationData;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the DeleteDnsRecordResponseContent interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfDeleteDnsRecordResponseContent(value: object): value is DeleteDnsRecordResponseContent;
|
|
37
|
+
export declare function DeleteDnsRecordResponseContentFromJSON(json: any): DeleteDnsRecordResponseContent;
|
|
38
|
+
export declare function DeleteDnsRecordResponseContentFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeleteDnsRecordResponseContent;
|
|
39
|
+
export declare function DeleteDnsRecordResponseContentToJSON(json: any): DeleteDnsRecordResponseContent;
|
|
40
|
+
export declare function DeleteDnsRecordResponseContentToJSONTyped(value?: DeleteDnsRecordResponseContent | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* HostAfricaApi
|
|
5
|
+
* HostAfrica API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.1.0 - 2026-07-16
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { DnsRecordMutationDataFromJSON, DnsRecordMutationDataToJSON, } from './DnsRecordMutationData.js';
|
|
15
|
+
import { OperationStatusFromJSON, OperationStatusToJSON, } from './OperationStatus.js';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the DeleteDnsRecordResponseContent interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfDeleteDnsRecordResponseContent(value) {
|
|
20
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function DeleteDnsRecordResponseContentFromJSON(json) {
|
|
27
|
+
return DeleteDnsRecordResponseContentFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function DeleteDnsRecordResponseContentFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'status': OperationStatusFromJSON(json['status']),
|
|
35
|
+
'data': DnsRecordMutationDataFromJSON(json['data']),
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export function DeleteDnsRecordResponseContentToJSON(json) {
|
|
39
|
+
return DeleteDnsRecordResponseContentToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
export function DeleteDnsRecordResponseContentToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'status': OperationStatusToJSON(value['status']),
|
|
47
|
+
'data': DnsRecordMutationDataToJSON(value['data']),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* HostAfricaApi
|
|
3
|
+
* HostAfrica API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.1.0 - 2026-07-16
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* A domain or service eligible for DNS zone creation
|
|
14
|
+
* @export
|
|
15
|
+
* @interface DnsCreateCandidateInfo
|
|
16
|
+
*/
|
|
17
|
+
export interface DnsCreateCandidateInfo {
|
|
18
|
+
/**
|
|
19
|
+
* Domain name when the candidate is a domain
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof DnsCreateCandidateInfo
|
|
22
|
+
*/
|
|
23
|
+
domainName?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Domain service id when the candidate is a domain
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof DnsCreateCandidateInfo
|
|
28
|
+
*/
|
|
29
|
+
domainId?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Related service id when the candidate is a hosting or addon service
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof DnsCreateCandidateInfo
|
|
34
|
+
*/
|
|
35
|
+
relid?: number;
|
|
36
|
+
/**
|
|
37
|
+
* Zone type: 0=OTHER, 1=DOMAIN, 2=HOSTING, 3=ADDON
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof DnsCreateCandidateInfo
|
|
40
|
+
*/
|
|
41
|
+
type?: number;
|
|
42
|
+
/**
|
|
43
|
+
* Display name for the candidate
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof DnsCreateCandidateInfo
|
|
46
|
+
*/
|
|
47
|
+
name?: string;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the DnsCreateCandidateInfo interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfDnsCreateCandidateInfo(value: object): value is DnsCreateCandidateInfo;
|
|
53
|
+
export declare function DnsCreateCandidateInfoFromJSON(json: any): DnsCreateCandidateInfo;
|
|
54
|
+
export declare function DnsCreateCandidateInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DnsCreateCandidateInfo;
|
|
55
|
+
export declare function DnsCreateCandidateInfoToJSON(json: any): DnsCreateCandidateInfo;
|
|
56
|
+
export declare function DnsCreateCandidateInfoToJSONTyped(value?: DnsCreateCandidateInfo | null, ignoreDiscriminator?: boolean): any;
|