@hostafrica/ha-sdk-typescript 1.1.2 → 1.1.3

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.
Files changed (279) hide show
  1. package/dist/apis/DNSApi.d.ts +85 -1
  2. package/dist/apis/DNSApi.js +272 -0
  3. package/dist/apis/DomainsApi.d.ts +46 -1
  4. package/dist/apis/DomainsApi.js +141 -0
  5. package/dist/apis/ServiceManagementApi.d.ts +4 -4
  6. package/dist/apis/ServiceManagementApi.js +4 -4
  7. package/dist/apis/SnapshotsApi.d.ts +8 -8
  8. package/dist/apis/SnapshotsApi.js +8 -8
  9. package/dist/esm/apis/DNSApi.d.ts +85 -1
  10. package/dist/esm/apis/DNSApi.js +273 -1
  11. package/dist/esm/apis/DomainsApi.d.ts +46 -1
  12. package/dist/esm/apis/DomainsApi.js +142 -1
  13. package/dist/esm/apis/ServiceManagementApi.d.ts +4 -4
  14. package/dist/esm/apis/ServiceManagementApi.js +4 -4
  15. package/dist/esm/apis/SnapshotsApi.d.ts +8 -8
  16. package/dist/esm/apis/SnapshotsApi.js +8 -8
  17. package/dist/esm/models/AddDnsRecordRequestContent.d.ts +45 -0
  18. package/dist/esm/models/AddDnsRecordRequestContent.js +50 -0
  19. package/dist/esm/models/AddDnsRecordResponseContent.d.ts +40 -0
  20. package/dist/esm/models/AddDnsRecordResponseContent.js +49 -0
  21. package/dist/esm/models/DeleteDnsRecordRequestContent.d.ts +45 -0
  22. package/dist/esm/models/DeleteDnsRecordRequestContent.js +50 -0
  23. package/dist/esm/models/DeleteDnsRecordResponseContent.d.ts +40 -0
  24. package/dist/esm/models/DeleteDnsRecordResponseContent.js +49 -0
  25. package/dist/esm/models/DnsCreateCandidateInfo.d.ts +56 -0
  26. package/dist/esm/models/DnsCreateCandidateInfo.js +49 -0
  27. package/dist/esm/models/DnsRecordInfo.d.ts +89 -0
  28. package/dist/esm/models/DnsRecordInfo.js +55 -0
  29. package/dist/esm/models/DnsRecordMutationData.d.ts +39 -0
  30. package/dist/esm/models/DnsRecordMutationData.js +46 -0
  31. package/dist/esm/models/DnsRecordMutationRecord.d.ts +77 -0
  32. package/dist/esm/models/DnsRecordMutationRecord.js +55 -0
  33. package/dist/esm/models/DnsZoneInfo.d.ts +81 -0
  34. package/dist/esm/models/DnsZoneInfo.js +60 -0
  35. package/dist/esm/models/DnssecRecordInfo.d.ts +50 -0
  36. package/dist/esm/models/DnssecRecordInfo.js +55 -0
  37. package/dist/esm/models/DomainAddonFeature.d.ts +56 -0
  38. package/dist/esm/models/DomainAddonFeature.js +57 -0
  39. package/dist/esm/models/DomainAvailableFeatures.d.ts +69 -0
  40. package/dist/esm/models/DomainAvailableFeatures.js +54 -0
  41. package/dist/esm/models/DomainContactSourceType.d.ts +26 -0
  42. package/dist/esm/models/DomainContactSourceType.js +44 -0
  43. package/dist/esm/models/DomainContactUpdate.d.ts +47 -0
  44. package/dist/esm/models/DomainContactUpdate.js +48 -0
  45. package/dist/esm/models/DomainContactUpdates.d.ts +51 -0
  46. package/dist/esm/models/DomainContactUpdates.js +48 -0
  47. package/dist/esm/models/DomainContacts.d.ts +58 -0
  48. package/dist/esm/models/DomainContacts.js +47 -0
  49. package/dist/esm/models/DomainDetail.d.ts +251 -0
  50. package/dist/esm/models/DomainDetail.js +136 -0
  51. package/dist/esm/models/DomainExpiryCountdown.d.ts +44 -0
  52. package/dist/esm/models/DomainExpiryCountdown.js +51 -0
  53. package/dist/esm/models/DomainHostingLink.d.ts +4 -4
  54. package/dist/esm/models/DomainHostingLink.js +2 -6
  55. package/dist/esm/models/DomainInfo.d.ts +6 -0
  56. package/dist/esm/models/DomainInfo.js +2 -0
  57. package/dist/esm/models/DomainNameservers.d.ts +56 -0
  58. package/dist/esm/models/DomainNameservers.js +49 -0
  59. package/dist/esm/models/EditDnsRecordRequestContent.d.ts +45 -0
  60. package/dist/esm/models/EditDnsRecordRequestContent.js +50 -0
  61. package/dist/esm/models/EditDnsRecordResponseContent.d.ts +40 -0
  62. package/dist/esm/models/EditDnsRecordResponseContent.js +49 -0
  63. package/dist/esm/models/GetDnsZoneDetailsData.d.ts +81 -0
  64. package/dist/esm/models/GetDnsZoneDetailsData.js +60 -0
  65. package/dist/esm/models/GetDnsZoneDetailsRequestContent.d.ts +32 -0
  66. package/dist/esm/models/GetDnsZoneDetailsRequestContent.js +43 -0
  67. package/dist/esm/models/GetDnsZoneDetailsResponseContent.d.ts +40 -0
  68. package/dist/esm/models/GetDnsZoneDetailsResponseContent.js +49 -0
  69. package/dist/esm/models/GetDomainContactsData.d.ts +4 -3
  70. package/dist/esm/models/GetDomainContactsData.js +3 -2
  71. package/dist/esm/models/GetDomainData.d.ts +3 -3
  72. package/dist/esm/models/GetDomainData.js +3 -3
  73. package/dist/esm/models/ListDnsCreateCandidatesData.d.ts +45 -0
  74. package/dist/esm/models/ListDnsCreateCandidatesData.js +52 -0
  75. package/dist/esm/models/ListDnsCreateCandidatesResponseContent.d.ts +40 -0
  76. package/dist/esm/models/ListDnsCreateCandidatesResponseContent.js +49 -0
  77. package/dist/esm/models/ListDnsZonesData.d.ts +45 -0
  78. package/dist/esm/models/ListDnsZonesData.js +52 -0
  79. package/dist/esm/models/ListDnsZonesResponseContent.d.ts +40 -0
  80. package/dist/esm/models/ListDnsZonesResponseContent.js +49 -0
  81. package/dist/esm/models/ListDnssecRecordsData.d.ts +39 -0
  82. package/dist/esm/models/ListDnssecRecordsData.js +48 -0
  83. package/dist/esm/models/ListDnssecRecordsRequestContent.d.ts +32 -0
  84. package/dist/esm/models/ListDnssecRecordsRequestContent.js +43 -0
  85. package/dist/esm/models/ListDnssecRecordsResponseContent.d.ts +40 -0
  86. package/dist/esm/models/ListDnssecRecordsResponseContent.js +49 -0
  87. package/dist/esm/models/UpdateDomainContactsData.d.ts +38 -0
  88. package/dist/esm/models/UpdateDomainContactsData.js +45 -0
  89. package/dist/esm/models/UpdateDomainContactsRequestContent.d.ts +39 -0
  90. package/dist/esm/models/UpdateDomainContactsRequestContent.js +48 -0
  91. package/dist/esm/models/UpdateDomainContactsResponseContent.d.ts +40 -0
  92. package/dist/esm/models/UpdateDomainContactsResponseContent.js +49 -0
  93. package/dist/esm/models/UpdateDomainNameserversData.d.ts +45 -0
  94. package/dist/esm/models/UpdateDomainNameserversData.js +48 -0
  95. package/dist/esm/models/UpdateDomainNameserversRequestContent.d.ts +62 -0
  96. package/dist/esm/models/UpdateDomainNameserversRequestContent.js +57 -0
  97. package/dist/esm/models/UpdateDomainNameserversResponseContent.d.ts +40 -0
  98. package/dist/esm/models/UpdateDomainNameserversResponseContent.js +49 -0
  99. package/dist/esm/models/index.d.ts +37 -0
  100. package/dist/esm/models/index.js +37 -0
  101. package/dist/esm/retryablePaths.js +4 -0
  102. package/dist/models/AddDnsRecordRequestContent.d.ts +45 -0
  103. package/dist/models/AddDnsRecordRequestContent.js +57 -0
  104. package/dist/models/AddDnsRecordResponseContent.d.ts +40 -0
  105. package/dist/models/AddDnsRecordResponseContent.js +56 -0
  106. package/dist/models/DeleteDnsRecordRequestContent.d.ts +45 -0
  107. package/dist/models/DeleteDnsRecordRequestContent.js +57 -0
  108. package/dist/models/DeleteDnsRecordResponseContent.d.ts +40 -0
  109. package/dist/models/DeleteDnsRecordResponseContent.js +56 -0
  110. package/dist/models/DnsCreateCandidateInfo.d.ts +56 -0
  111. package/dist/models/DnsCreateCandidateInfo.js +56 -0
  112. package/dist/models/DnsRecordInfo.d.ts +89 -0
  113. package/dist/models/DnsRecordInfo.js +62 -0
  114. package/dist/models/DnsRecordMutationData.d.ts +39 -0
  115. package/dist/models/DnsRecordMutationData.js +53 -0
  116. package/dist/models/DnsRecordMutationRecord.d.ts +77 -0
  117. package/dist/models/DnsRecordMutationRecord.js +62 -0
  118. package/dist/models/DnsZoneInfo.d.ts +81 -0
  119. package/dist/models/DnsZoneInfo.js +67 -0
  120. package/dist/models/DnssecRecordInfo.d.ts +50 -0
  121. package/dist/models/DnssecRecordInfo.js +62 -0
  122. package/dist/models/DomainAddonFeature.d.ts +56 -0
  123. package/dist/models/DomainAddonFeature.js +64 -0
  124. package/dist/models/DomainAvailableFeatures.d.ts +69 -0
  125. package/dist/models/DomainAvailableFeatures.js +61 -0
  126. package/dist/models/DomainContactSourceType.d.ts +26 -0
  127. package/dist/models/DomainContactSourceType.js +52 -0
  128. package/dist/models/DomainContactUpdate.d.ts +47 -0
  129. package/dist/models/DomainContactUpdate.js +55 -0
  130. package/dist/models/DomainContactUpdates.d.ts +51 -0
  131. package/dist/models/DomainContactUpdates.js +55 -0
  132. package/dist/models/DomainContacts.d.ts +58 -0
  133. package/dist/models/DomainContacts.js +54 -0
  134. package/dist/models/DomainDetail.d.ts +251 -0
  135. package/dist/models/DomainDetail.js +143 -0
  136. package/dist/models/DomainExpiryCountdown.d.ts +44 -0
  137. package/dist/models/DomainExpiryCountdown.js +58 -0
  138. package/dist/models/DomainHostingLink.d.ts +4 -4
  139. package/dist/models/DomainHostingLink.js +2 -6
  140. package/dist/models/DomainInfo.d.ts +6 -0
  141. package/dist/models/DomainInfo.js +2 -0
  142. package/dist/models/DomainNameservers.d.ts +56 -0
  143. package/dist/models/DomainNameservers.js +56 -0
  144. package/dist/models/EditDnsRecordRequestContent.d.ts +45 -0
  145. package/dist/models/EditDnsRecordRequestContent.js +57 -0
  146. package/dist/models/EditDnsRecordResponseContent.d.ts +40 -0
  147. package/dist/models/EditDnsRecordResponseContent.js +56 -0
  148. package/dist/models/GetDnsZoneDetailsData.d.ts +81 -0
  149. package/dist/models/GetDnsZoneDetailsData.js +67 -0
  150. package/dist/models/GetDnsZoneDetailsRequestContent.d.ts +32 -0
  151. package/dist/models/GetDnsZoneDetailsRequestContent.js +50 -0
  152. package/dist/models/GetDnsZoneDetailsResponseContent.d.ts +40 -0
  153. package/dist/models/GetDnsZoneDetailsResponseContent.js +56 -0
  154. package/dist/models/GetDomainContactsData.d.ts +4 -3
  155. package/dist/models/GetDomainContactsData.js +3 -2
  156. package/dist/models/GetDomainData.d.ts +3 -3
  157. package/dist/models/GetDomainData.js +3 -3
  158. package/dist/models/ListDnsCreateCandidatesData.d.ts +45 -0
  159. package/dist/models/ListDnsCreateCandidatesData.js +59 -0
  160. package/dist/models/ListDnsCreateCandidatesResponseContent.d.ts +40 -0
  161. package/dist/models/ListDnsCreateCandidatesResponseContent.js +56 -0
  162. package/dist/models/ListDnsZonesData.d.ts +45 -0
  163. package/dist/models/ListDnsZonesData.js +59 -0
  164. package/dist/models/ListDnsZonesResponseContent.d.ts +40 -0
  165. package/dist/models/ListDnsZonesResponseContent.js +56 -0
  166. package/dist/models/ListDnssecRecordsData.d.ts +39 -0
  167. package/dist/models/ListDnssecRecordsData.js +55 -0
  168. package/dist/models/ListDnssecRecordsRequestContent.d.ts +32 -0
  169. package/dist/models/ListDnssecRecordsRequestContent.js +50 -0
  170. package/dist/models/ListDnssecRecordsResponseContent.d.ts +40 -0
  171. package/dist/models/ListDnssecRecordsResponseContent.js +56 -0
  172. package/dist/models/UpdateDomainContactsData.d.ts +38 -0
  173. package/dist/models/UpdateDomainContactsData.js +52 -0
  174. package/dist/models/UpdateDomainContactsRequestContent.d.ts +39 -0
  175. package/dist/models/UpdateDomainContactsRequestContent.js +55 -0
  176. package/dist/models/UpdateDomainContactsResponseContent.d.ts +40 -0
  177. package/dist/models/UpdateDomainContactsResponseContent.js +56 -0
  178. package/dist/models/UpdateDomainNameserversData.d.ts +45 -0
  179. package/dist/models/UpdateDomainNameserversData.js +55 -0
  180. package/dist/models/UpdateDomainNameserversRequestContent.d.ts +62 -0
  181. package/dist/models/UpdateDomainNameserversRequestContent.js +64 -0
  182. package/dist/models/UpdateDomainNameserversResponseContent.d.ts +40 -0
  183. package/dist/models/UpdateDomainNameserversResponseContent.js +56 -0
  184. package/dist/models/index.d.ts +37 -0
  185. package/dist/models/index.js +37 -0
  186. package/dist/retryablePaths.js +4 -0
  187. package/dist.zip +0 -0
  188. package/docs/AddDnsRecordRequestContent.md +38 -0
  189. package/docs/AddDnsRecordResponseContent.md +36 -0
  190. package/docs/DNSApi.md +462 -0
  191. package/docs/DeleteDnsRecordRequestContent.md +38 -0
  192. package/docs/DeleteDnsRecordResponseContent.md +36 -0
  193. package/docs/DnsCreateCandidateInfo.md +43 -0
  194. package/docs/DnsRecordInfo.md +49 -0
  195. package/docs/DnsRecordMutationData.md +36 -0
  196. package/docs/DnsRecordMutationRecord.md +49 -0
  197. package/docs/DnsZoneInfo.md +51 -0
  198. package/docs/DnssecRecordInfo.md +41 -0
  199. package/docs/DomainAddonFeature.md +43 -0
  200. package/docs/DomainAvailableFeatures.md +47 -0
  201. package/docs/DomainContactSourceType.md +32 -0
  202. package/docs/DomainContactUpdate.md +39 -0
  203. package/docs/DomainContactUpdates.md +41 -0
  204. package/docs/DomainContacts.md +41 -0
  205. package/docs/DomainDetail.md +107 -0
  206. package/docs/DomainExpiryCountdown.md +39 -0
  207. package/docs/DomainInfo.md +2 -0
  208. package/docs/DomainNameservers.md +43 -0
  209. package/docs/DomainsApi.md +240 -0
  210. package/docs/EditDnsRecordRequestContent.md +38 -0
  211. package/docs/EditDnsRecordResponseContent.md +36 -0
  212. package/docs/GetDnsZoneDetailsData.md +50 -0
  213. package/docs/GetDnsZoneDetailsRequestContent.md +34 -0
  214. package/docs/GetDnsZoneDetailsResponseContent.md +36 -0
  215. package/docs/GetDomainContactsData.md +1 -1
  216. package/docs/GetDomainData.md +1 -1
  217. package/docs/ListDnsCreateCandidatesData.md +38 -0
  218. package/docs/ListDnsCreateCandidatesResponseContent.md +36 -0
  219. package/docs/ListDnsZonesData.md +38 -0
  220. package/docs/ListDnsZonesResponseContent.md +36 -0
  221. package/docs/ListDnssecRecordsData.md +36 -0
  222. package/docs/ListDnssecRecordsRequestContent.md +34 -0
  223. package/docs/ListDnssecRecordsResponseContent.md +36 -0
  224. package/docs/ServiceManagementApi.md +2 -2
  225. package/docs/SnapshotsApi.md +4 -4
  226. package/docs/UpdateDomainContactsData.md +36 -0
  227. package/docs/UpdateDomainContactsRequestContent.md +36 -0
  228. package/docs/UpdateDomainContactsResponseContent.md +36 -0
  229. package/docs/UpdateDomainNameserversData.md +38 -0
  230. package/docs/UpdateDomainNameserversRequestContent.md +44 -0
  231. package/docs/UpdateDomainNameserversResponseContent.md +36 -0
  232. package/package.json +1 -1
  233. package/src/apis/DNSApi.ts +356 -0
  234. package/src/apis/DomainsApi.ts +195 -0
  235. package/src/apis/ServiceManagementApi.ts +4 -4
  236. package/src/apis/SnapshotsApi.ts +8 -8
  237. package/src/models/AddDnsRecordRequestContent.ts +91 -0
  238. package/src/models/AddDnsRecordResponseContent.ts +92 -0
  239. package/src/models/DeleteDnsRecordRequestContent.ts +91 -0
  240. package/src/models/DeleteDnsRecordResponseContent.ts +92 -0
  241. package/src/models/DnsCreateCandidateInfo.ts +97 -0
  242. package/src/models/DnsRecordInfo.ts +136 -0
  243. package/src/models/DnsRecordMutationData.ts +82 -0
  244. package/src/models/DnsRecordMutationRecord.ts +124 -0
  245. package/src/models/DnsZoneInfo.ts +138 -0
  246. package/src/models/DnssecRecordInfo.ts +93 -0
  247. package/src/models/DomainAddonFeature.ts +101 -0
  248. package/src/models/DomainAvailableFeatures.ts +121 -0
  249. package/src/models/DomainContactSourceType.ts +54 -0
  250. package/src/models/DomainContactUpdate.ts +92 -0
  251. package/src/models/DomainContactUpdates.ts +97 -0
  252. package/src/models/DomainContacts.ts +89 -0
  253. package/src/models/DomainDetail.ts +385 -0
  254. package/src/models/DomainExpiryCountdown.ts +84 -0
  255. package/src/models/DomainHostingLink.ts +6 -8
  256. package/src/models/DomainInfo.ts +8 -0
  257. package/src/models/DomainNameservers.ts +97 -0
  258. package/src/models/EditDnsRecordRequestContent.ts +91 -0
  259. package/src/models/EditDnsRecordResponseContent.ts +92 -0
  260. package/src/models/GetDnsZoneDetailsData.ts +138 -0
  261. package/src/models/GetDnsZoneDetailsRequestContent.ts +66 -0
  262. package/src/models/GetDnsZoneDetailsResponseContent.ts +92 -0
  263. package/src/models/GetDomainContactsData.ts +13 -5
  264. package/src/models/GetDomainData.ts +10 -10
  265. package/src/models/ListDnsCreateCandidatesData.ts +92 -0
  266. package/src/models/ListDnsCreateCandidatesResponseContent.ts +92 -0
  267. package/src/models/ListDnsZonesData.ts +92 -0
  268. package/src/models/ListDnsZonesResponseContent.ts +92 -0
  269. package/src/models/ListDnssecRecordsData.ts +83 -0
  270. package/src/models/ListDnssecRecordsRequestContent.ts +66 -0
  271. package/src/models/ListDnssecRecordsResponseContent.ts +92 -0
  272. package/src/models/UpdateDomainContactsData.ts +74 -0
  273. package/src/models/UpdateDomainContactsRequestContent.ts +83 -0
  274. package/src/models/UpdateDomainContactsResponseContent.ts +92 -0
  275. package/src/models/UpdateDomainNameserversData.ts +90 -0
  276. package/src/models/UpdateDomainNameserversRequestContent.ts +108 -0
  277. package/src/models/UpdateDomainNameserversResponseContent.ts +92 -0
  278. package/src/models/index.ts +37 -0
  279. package/src/retryablePaths.ts +4 -0
@@ -0,0 +1,36 @@
1
+
2
+ # DeleteDnsRecordResponseContent
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `status` | [OperationStatus](OperationStatus.md)
10
+ `data` | [DnsRecordMutationData](DnsRecordMutationData.md)
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { DeleteDnsRecordResponseContent } from '@hostafrica/ha-sdk-typescript'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "status": null,
20
+ "data": null,
21
+ } satisfies DeleteDnsRecordResponseContent
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as DeleteDnsRecordResponseContent
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
@@ -0,0 +1,43 @@
1
+
2
+ # DnsCreateCandidateInfo
3
+
4
+ A domain or service eligible for DNS zone creation
5
+
6
+ ## Properties
7
+
8
+ Name | Type
9
+ ------------ | -------------
10
+ `domainName` | string
11
+ `domainId` | string
12
+ `relid` | number
13
+ `type` | number
14
+ `name` | string
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import type { DnsCreateCandidateInfo } from '@hostafrica/ha-sdk-typescript'
20
+
21
+ // TODO: Update the object below with actual values
22
+ const example = {
23
+ "domainName": null,
24
+ "domainId": null,
25
+ "relid": null,
26
+ "type": null,
27
+ "name": null,
28
+ } satisfies DnsCreateCandidateInfo
29
+
30
+ console.log(example)
31
+
32
+ // Convert the instance to a JSON string
33
+ const exampleJSON: string = JSON.stringify(example)
34
+ console.log(exampleJSON)
35
+
36
+ // Parse the JSON string back to an object
37
+ const exampleParsed = JSON.parse(exampleJSON) as DnsCreateCandidateInfo
38
+ console.log(exampleParsed)
39
+ ```
40
+
41
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
42
+
43
+
@@ -0,0 +1,49 @@
1
+
2
+ # DnsRecordInfo
3
+
4
+ A DNS record within a zone. Record values are normalized to a flat `content` string. Structured record types use additional top-level fields; the proxy maps these to upstream `data` / `rdata_raw` shapes: - **A / AAAA**: `content` is the IP address (`data.address`). - **CNAME**: `content` is the target hostname (`data.cname`). - **TXT**: `content` is the text value (`data.txtdata`). - **NS**: `content` is the nameserver hostname (`data.nsdname`). - **MX**: `content` is the mail exchange hostname; `priority` is the MX preference (`data.exchange`, `data.preference`). - **SRV**: `content` is the target hostname; `priority`, `weight`, and `port` are the SRV parameters (`data.target`, `data.priority`, `data.weight`, `data.port`). When upstream returns structured `rdata_raw` without a string `rdata` value, `content` and the type-specific fields are derived from `rdata_raw`.
5
+
6
+ ## Properties
7
+
8
+ Name | Type
9
+ ------------ | -------------
10
+ `id` | string
11
+ `name` | string
12
+ `type` | string
13
+ `content` | string
14
+ `ttl` | number
15
+ `priority` | number
16
+ `weight` | number
17
+ `port` | number
18
+
19
+ ## Example
20
+
21
+ ```typescript
22
+ import type { DnsRecordInfo } from '@hostafrica/ha-sdk-typescript'
23
+
24
+ // TODO: Update the object below with actual values
25
+ const example = {
26
+ "id": null,
27
+ "name": null,
28
+ "type": null,
29
+ "content": null,
30
+ "ttl": null,
31
+ "priority": null,
32
+ "weight": null,
33
+ "port": null,
34
+ } satisfies DnsRecordInfo
35
+
36
+ console.log(example)
37
+
38
+ // Convert the instance to a JSON string
39
+ const exampleJSON: string = JSON.stringify(example)
40
+ console.log(exampleJSON)
41
+
42
+ // Parse the JSON string back to an object
43
+ const exampleParsed = JSON.parse(exampleJSON) as DnsRecordInfo
44
+ console.log(exampleParsed)
45
+ ```
46
+
47
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
48
+
49
+
@@ -0,0 +1,36 @@
1
+
2
+ # DnsRecordMutationData
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `message` | string
10
+ `records` | [Array<DnsRecordInfo>](DnsRecordInfo.md)
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { DnsRecordMutationData } from '@hostafrica/ha-sdk-typescript'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "message": null,
20
+ "records": null,
21
+ } satisfies DnsRecordMutationData
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as DnsRecordMutationData
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
@@ -0,0 +1,49 @@
1
+
2
+ # DnsRecordMutationRecord
3
+
4
+ DNS record fields for add, edit, or delete via DNSManager. See `DnsRecordInfo` for how `content` and structured fields map to upstream record data. Delete requires only `id`, `name`, and `type`.
5
+
6
+ ## Properties
7
+
8
+ Name | Type
9
+ ------------ | -------------
10
+ `id` | string
11
+ `name` | string
12
+ `type` | string
13
+ `content` | string
14
+ `ttl` | number
15
+ `priority` | number
16
+ `weight` | number
17
+ `port` | number
18
+
19
+ ## Example
20
+
21
+ ```typescript
22
+ import type { DnsRecordMutationRecord } from '@hostafrica/ha-sdk-typescript'
23
+
24
+ // TODO: Update the object below with actual values
25
+ const example = {
26
+ "id": null,
27
+ "name": null,
28
+ "type": null,
29
+ "content": null,
30
+ "ttl": null,
31
+ "priority": null,
32
+ "weight": null,
33
+ "port": null,
34
+ } satisfies DnsRecordMutationRecord
35
+
36
+ console.log(example)
37
+
38
+ // Convert the instance to a JSON string
39
+ const exampleJSON: string = JSON.stringify(example)
40
+ console.log(exampleJSON)
41
+
42
+ // Parse the JSON string back to an object
43
+ const exampleParsed = JSON.parse(exampleJSON) as DnsRecordMutationRecord
44
+ console.log(exampleParsed)
45
+ ```
46
+
47
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
48
+
49
+
@@ -0,0 +1,51 @@
1
+
2
+ # DnsZoneInfo
3
+
4
+ A DNS zone owned by the authenticated client
5
+
6
+ ## Properties
7
+
8
+ Name | Type
9
+ ------------ | -------------
10
+ `zoneId` | string
11
+ `domainId` | string
12
+ `domainName` | string
13
+ `hostingId` | number
14
+ `type` | number
15
+ `typeKey` | string
16
+ `packageName` | string
17
+ `hasHosting` | [DomainHostingLink](DomainHostingLink.md)
18
+ `hasDnsManagerZone` | boolean
19
+
20
+ ## Example
21
+
22
+ ```typescript
23
+ import type { DnsZoneInfo } from '@hostafrica/ha-sdk-typescript'
24
+
25
+ // TODO: Update the object below with actual values
26
+ const example = {
27
+ "zoneId": null,
28
+ "domainId": null,
29
+ "domainName": null,
30
+ "hostingId": null,
31
+ "type": null,
32
+ "typeKey": null,
33
+ "packageName": null,
34
+ "hasHosting": null,
35
+ "hasDnsManagerZone": null,
36
+ } satisfies DnsZoneInfo
37
+
38
+ console.log(example)
39
+
40
+ // Convert the instance to a JSON string
41
+ const exampleJSON: string = JSON.stringify(example)
42
+ console.log(exampleJSON)
43
+
44
+ // Parse the JSON string back to an object
45
+ const exampleParsed = JSON.parse(exampleJSON) as DnsZoneInfo
46
+ console.log(exampleParsed)
47
+ ```
48
+
49
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
50
+
51
+
@@ -0,0 +1,41 @@
1
+
2
+ # DnssecRecordInfo
3
+
4
+ A DNSSEC DS record
5
+
6
+ ## Properties
7
+
8
+ Name | Type
9
+ ------------ | -------------
10
+ `keyTag` | number
11
+ `alg` | number
12
+ `digestType` | number
13
+ `digest` | string
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import type { DnssecRecordInfo } from '@hostafrica/ha-sdk-typescript'
19
+
20
+ // TODO: Update the object below with actual values
21
+ const example = {
22
+ "keyTag": null,
23
+ "alg": null,
24
+ "digestType": null,
25
+ "digest": null,
26
+ } satisfies DnssecRecordInfo
27
+
28
+ console.log(example)
29
+
30
+ // Convert the instance to a JSON string
31
+ const exampleJSON: string = JSON.stringify(example)
32
+ console.log(exampleJSON)
33
+
34
+ // Parse the JSON string back to an object
35
+ const exampleParsed = JSON.parse(exampleJSON) as DnssecRecordInfo
36
+ console.log(exampleParsed)
37
+ ```
38
+
39
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
40
+
41
+
@@ -0,0 +1,43 @@
1
+
2
+ # DomainAddonFeature
3
+
4
+ Priced addon/feature block returned under available_features
5
+
6
+ ## Properties
7
+
8
+ Name | Type
9
+ ------------ | -------------
10
+ `enabled` | boolean
11
+ `price` | number
12
+ `title` | string
13
+ `description` | string
14
+ `productDesc` | string
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import type { DomainAddonFeature } from '@hostafrica/ha-sdk-typescript'
20
+
21
+ // TODO: Update the object below with actual values
22
+ const example = {
23
+ "enabled": null,
24
+ "price": null,
25
+ "title": null,
26
+ "description": null,
27
+ "productDesc": null,
28
+ } satisfies DomainAddonFeature
29
+
30
+ console.log(example)
31
+
32
+ // Convert the instance to a JSON string
33
+ const exampleJSON: string = JSON.stringify(example)
34
+ console.log(exampleJSON)
35
+
36
+ // Parse the JSON string back to an object
37
+ const exampleParsed = JSON.parse(exampleJSON) as DomainAddonFeature
38
+ console.log(exampleParsed)
39
+ ```
40
+
41
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
42
+
43
+
@@ -0,0 +1,47 @@
1
+
2
+ # DomainAvailableFeatures
3
+
4
+ Feature flags and priced addons available for a domain
5
+
6
+ ## Properties
7
+
8
+ Name | Type
9
+ ------------ | -------------
10
+ `eppcode` | boolean
11
+ `dnssec` | boolean
12
+ `privateNameservers` | boolean
13
+ `redirector` | boolean
14
+ `dnsmanagement` | [DomainAddonFeature](DomainAddonFeature.md)
15
+ `emailforwarding` | [DomainAddonFeature](DomainAddonFeature.md)
16
+ `idprotection` | [DomainAddonFeature](DomainAddonFeature.md)
17
+
18
+ ## Example
19
+
20
+ ```typescript
21
+ import type { DomainAvailableFeatures } from '@hostafrica/ha-sdk-typescript'
22
+
23
+ // TODO: Update the object below with actual values
24
+ const example = {
25
+ "eppcode": null,
26
+ "dnssec": null,
27
+ "privateNameservers": null,
28
+ "redirector": null,
29
+ "dnsmanagement": null,
30
+ "emailforwarding": null,
31
+ "idprotection": null,
32
+ } satisfies DomainAvailableFeatures
33
+
34
+ console.log(example)
35
+
36
+ // Convert the instance to a JSON string
37
+ const exampleJSON: string = JSON.stringify(example)
38
+ console.log(exampleJSON)
39
+
40
+ // Parse the JSON string back to an object
41
+ const exampleParsed = JSON.parse(exampleJSON) as DomainAvailableFeatures
42
+ console.log(exampleParsed)
43
+ ```
44
+
45
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
46
+
47
+
@@ -0,0 +1,32 @@
1
+
2
+ # DomainContactSourceType
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import type { DomainContactSourceType } from '@hostafrica/ha-sdk-typescript'
14
+
15
+ // TODO: Update the object below with actual values
16
+ const example = {
17
+ } satisfies DomainContactSourceType
18
+
19
+ console.log(example)
20
+
21
+ // Convert the instance to a JSON string
22
+ const exampleJSON: string = JSON.stringify(example)
23
+ console.log(exampleJSON)
24
+
25
+ // Parse the JSON string back to an object
26
+ const exampleParsed = JSON.parse(exampleJSON) as DomainContactSourceType
27
+ console.log(exampleParsed)
28
+ ```
29
+
30
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
31
+
32
+
@@ -0,0 +1,39 @@
1
+
2
+ # DomainContactUpdate
3
+
4
+ Update payload for one WHOIS contact role
5
+
6
+ ## Properties
7
+
8
+ Name | Type
9
+ ------------ | -------------
10
+ `type` | [DomainContactSourceType](DomainContactSourceType.md)
11
+ `id` | number
12
+ `fields` | { [key: string]: string; }
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import type { DomainContactUpdate } from '@hostafrica/ha-sdk-typescript'
18
+
19
+ // TODO: Update the object below with actual values
20
+ const example = {
21
+ "type": null,
22
+ "id": null,
23
+ "fields": null,
24
+ } satisfies DomainContactUpdate
25
+
26
+ console.log(example)
27
+
28
+ // Convert the instance to a JSON string
29
+ const exampleJSON: string = JSON.stringify(example)
30
+ console.log(exampleJSON)
31
+
32
+ // Parse the JSON string back to an object
33
+ const exampleParsed = JSON.parse(exampleJSON) as DomainContactUpdate
34
+ console.log(exampleParsed)
35
+ ```
36
+
37
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
38
+
39
+
@@ -0,0 +1,41 @@
1
+
2
+ # DomainContactUpdates
3
+
4
+ WHOIS contact updates keyed by Registrant, Admin, Tech, and Billing
5
+
6
+ ## Properties
7
+
8
+ Name | Type
9
+ ------------ | -------------
10
+ `registrant` | [DomainContactUpdate](DomainContactUpdate.md)
11
+ `admin` | [DomainContactUpdate](DomainContactUpdate.md)
12
+ `tech` | [DomainContactUpdate](DomainContactUpdate.md)
13
+ `billing` | [DomainContactUpdate](DomainContactUpdate.md)
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import type { DomainContactUpdates } from '@hostafrica/ha-sdk-typescript'
19
+
20
+ // TODO: Update the object below with actual values
21
+ const example = {
22
+ "registrant": null,
23
+ "admin": null,
24
+ "tech": null,
25
+ "billing": null,
26
+ } satisfies DomainContactUpdates
27
+
28
+ console.log(example)
29
+
30
+ // Convert the instance to a JSON string
31
+ const exampleJSON: string = JSON.stringify(example)
32
+ console.log(exampleJSON)
33
+
34
+ // Parse the JSON string back to an object
35
+ const exampleParsed = JSON.parse(exampleJSON) as DomainContactUpdates
36
+ console.log(exampleParsed)
37
+ ```
38
+
39
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
40
+
41
+
@@ -0,0 +1,41 @@
1
+
2
+ # DomainContacts
3
+
4
+ WHOIS contacts keyed by contact role
5
+
6
+ ## Properties
7
+
8
+ Name | Type
9
+ ------------ | -------------
10
+ `registrant` | { [key: string]: string; }
11
+ `admin` | { [key: string]: string; }
12
+ `tech` | { [key: string]: string; }
13
+ `billing` | { [key: string]: string; }
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import type { DomainContacts } from '@hostafrica/ha-sdk-typescript'
19
+
20
+ // TODO: Update the object below with actual values
21
+ const example = {
22
+ "registrant": null,
23
+ "admin": null,
24
+ "tech": null,
25
+ "billing": null,
26
+ } satisfies DomainContacts
27
+
28
+ console.log(example)
29
+
30
+ // Convert the instance to a JSON string
31
+ const exampleJSON: string = JSON.stringify(example)
32
+ console.log(exampleJSON)
33
+
34
+ // Parse the JSON string back to an object
35
+ const exampleParsed = JSON.parse(exampleJSON) as DomainContacts
36
+ console.log(exampleParsed)
37
+ ```
38
+
39
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
40
+
41
+
@@ -0,0 +1,107 @@
1
+
2
+ # DomainDetail
3
+
4
+ Full domain details returned by get-domain
5
+
6
+ ## Properties
7
+
8
+ Name | Type
9
+ ------------ | -------------
10
+ `domainId` | string
11
+ `type` | string
12
+ `domain` | string
13
+ `sld` | string
14
+ `tld` | string
15
+ `status` | string
16
+ `period` | number
17
+ `registrationdate` | string
18
+ `donotrenew` | number
19
+ `idProtection` | number
20
+ `idProtectionSupported` | boolean
21
+ `firstpaymentamount` | string
22
+ `recurringamount` | string
23
+ `dnsmanagement` | boolean
24
+ `emailforwarding` | boolean
25
+ `isPremium` | boolean
26
+ `lockStatus` | string
27
+ `gracePeriod` | number
28
+ `redemptionPeriod` | number
29
+ `gracePeriodFee` | number
30
+ `redemptionPeriodFee` | number
31
+ `inGrace` | boolean
32
+ `inRedemption` | boolean
33
+ `expirydate` | string
34
+ `nextinvoicedate` | string
35
+ `nextduedate` | string
36
+ `availableFeatures` | [DomainAvailableFeatures](DomainAvailableFeatures.md)
37
+ `domainNameservers` | Array<string>
38
+ `defaultNameservers` | Array<string>
39
+ `nsChanging` | string
40
+ `hasHosting` | [DomainHostingLink](DomainHostingLink.md)
41
+ `hasDnsManagerZone` | boolean
42
+ `expiryCountdown` | [DomainExpiryCountdown](DomainExpiryCountdown.md)
43
+ `evaluation` | any
44
+ `domainEvaluationAvailable` | boolean
45
+ `hasRedirect` | any
46
+ `noEpp` | boolean
47
+
48
+ ## Example
49
+
50
+ ```typescript
51
+ import type { DomainDetail } from '@hostafrica/ha-sdk-typescript'
52
+
53
+ // TODO: Update the object below with actual values
54
+ const example = {
55
+ "domainId": null,
56
+ "type": null,
57
+ "domain": null,
58
+ "sld": null,
59
+ "tld": null,
60
+ "status": null,
61
+ "period": null,
62
+ "registrationdate": null,
63
+ "donotrenew": null,
64
+ "idProtection": null,
65
+ "idProtectionSupported": null,
66
+ "firstpaymentamount": null,
67
+ "recurringamount": null,
68
+ "dnsmanagement": null,
69
+ "emailforwarding": null,
70
+ "isPremium": null,
71
+ "lockStatus": null,
72
+ "gracePeriod": null,
73
+ "redemptionPeriod": null,
74
+ "gracePeriodFee": null,
75
+ "redemptionPeriodFee": null,
76
+ "inGrace": null,
77
+ "inRedemption": null,
78
+ "expirydate": null,
79
+ "nextinvoicedate": null,
80
+ "nextduedate": null,
81
+ "availableFeatures": null,
82
+ "domainNameservers": null,
83
+ "defaultNameservers": null,
84
+ "nsChanging": null,
85
+ "hasHosting": null,
86
+ "hasDnsManagerZone": null,
87
+ "expiryCountdown": null,
88
+ "evaluation": null,
89
+ "domainEvaluationAvailable": null,
90
+ "hasRedirect": null,
91
+ "noEpp": null,
92
+ } satisfies DomainDetail
93
+
94
+ console.log(example)
95
+
96
+ // Convert the instance to a JSON string
97
+ const exampleJSON: string = JSON.stringify(example)
98
+ console.log(exampleJSON)
99
+
100
+ // Parse the JSON string back to an object
101
+ const exampleParsed = JSON.parse(exampleJSON) as DomainDetail
102
+ console.log(exampleParsed)
103
+ ```
104
+
105
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
106
+
107
+