@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.
Files changed (334) 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/apis/VPSManagementApi.d.ts +18 -3
  10. package/dist/apis/VPSManagementApi.js +49 -2
  11. package/dist/esm/apis/DNSApi.d.ts +85 -1
  12. package/dist/esm/apis/DNSApi.js +273 -1
  13. package/dist/esm/apis/DomainsApi.d.ts +46 -1
  14. package/dist/esm/apis/DomainsApi.js +142 -1
  15. package/dist/esm/apis/ServiceManagementApi.d.ts +4 -4
  16. package/dist/esm/apis/ServiceManagementApi.js +4 -4
  17. package/dist/esm/apis/SnapshotsApi.d.ts +8 -8
  18. package/dist/esm/apis/SnapshotsApi.js +8 -8
  19. package/dist/esm/apis/VPSManagementApi.d.ts +18 -3
  20. package/dist/esm/apis/VPSManagementApi.js +50 -3
  21. package/dist/esm/models/AddDnsRecordRequestContent.d.ts +45 -0
  22. package/dist/esm/models/AddDnsRecordRequestContent.js +50 -0
  23. package/dist/esm/models/AddDnsRecordResponseContent.d.ts +40 -0
  24. package/dist/esm/models/AddDnsRecordResponseContent.js +49 -0
  25. package/dist/esm/models/DeleteDnsRecordRequestContent.d.ts +45 -0
  26. package/dist/esm/models/DeleteDnsRecordRequestContent.js +50 -0
  27. package/dist/esm/models/DeleteDnsRecordResponseContent.d.ts +40 -0
  28. package/dist/esm/models/DeleteDnsRecordResponseContent.js +49 -0
  29. package/dist/esm/models/DnsCreateCandidateInfo.d.ts +56 -0
  30. package/dist/esm/models/DnsCreateCandidateInfo.js +49 -0
  31. package/dist/esm/models/DnsRecordInfo.d.ts +89 -0
  32. package/dist/esm/models/DnsRecordInfo.js +55 -0
  33. package/dist/esm/models/DnsRecordMutationData.d.ts +39 -0
  34. package/dist/esm/models/DnsRecordMutationData.js +46 -0
  35. package/dist/esm/models/DnsRecordMutationRecord.d.ts +77 -0
  36. package/dist/esm/models/DnsRecordMutationRecord.js +55 -0
  37. package/dist/esm/models/DnsZoneInfo.d.ts +81 -0
  38. package/dist/esm/models/DnsZoneInfo.js +60 -0
  39. package/dist/esm/models/DnssecRecordInfo.d.ts +50 -0
  40. package/dist/esm/models/DnssecRecordInfo.js +55 -0
  41. package/dist/esm/models/DomainAddonFeature.d.ts +56 -0
  42. package/dist/esm/models/DomainAddonFeature.js +57 -0
  43. package/dist/esm/models/DomainAvailableFeatures.d.ts +69 -0
  44. package/dist/esm/models/DomainAvailableFeatures.js +54 -0
  45. package/dist/esm/models/DomainContactSourceType.d.ts +26 -0
  46. package/dist/esm/models/DomainContactSourceType.js +44 -0
  47. package/dist/esm/models/DomainContactUpdate.d.ts +47 -0
  48. package/dist/esm/models/DomainContactUpdate.js +48 -0
  49. package/dist/esm/models/DomainContactUpdates.d.ts +51 -0
  50. package/dist/esm/models/DomainContactUpdates.js +48 -0
  51. package/dist/esm/models/DomainContacts.d.ts +58 -0
  52. package/dist/esm/models/DomainContacts.js +47 -0
  53. package/dist/esm/models/DomainDetail.d.ts +251 -0
  54. package/dist/esm/models/DomainDetail.js +136 -0
  55. package/dist/esm/models/DomainExpiryCountdown.d.ts +44 -0
  56. package/dist/esm/models/DomainExpiryCountdown.js +51 -0
  57. package/dist/esm/models/DomainHostingLink.d.ts +4 -4
  58. package/dist/esm/models/DomainHostingLink.js +2 -6
  59. package/dist/esm/models/DomainInfo.d.ts +6 -0
  60. package/dist/esm/models/DomainInfo.js +2 -0
  61. package/dist/esm/models/DomainNameservers.d.ts +56 -0
  62. package/dist/esm/models/DomainNameservers.js +49 -0
  63. package/dist/esm/models/EditDnsRecordRequestContent.d.ts +45 -0
  64. package/dist/esm/models/EditDnsRecordRequestContent.js +50 -0
  65. package/dist/esm/models/EditDnsRecordResponseContent.d.ts +40 -0
  66. package/dist/esm/models/EditDnsRecordResponseContent.js +49 -0
  67. package/dist/esm/models/EncryptedPasswordResponseData.d.ts +45 -0
  68. package/dist/esm/models/EncryptedPasswordResponseData.js +52 -0
  69. package/dist/esm/models/GetDnsZoneDetailsData.d.ts +81 -0
  70. package/dist/esm/models/GetDnsZoneDetailsData.js +60 -0
  71. package/dist/esm/models/GetDnsZoneDetailsRequestContent.d.ts +32 -0
  72. package/dist/esm/models/GetDnsZoneDetailsRequestContent.js +43 -0
  73. package/dist/esm/models/GetDnsZoneDetailsResponseContent.d.ts +40 -0
  74. package/dist/esm/models/GetDnsZoneDetailsResponseContent.js +49 -0
  75. package/dist/esm/models/GetDomainContactsData.d.ts +4 -3
  76. package/dist/esm/models/GetDomainContactsData.js +3 -2
  77. package/dist/esm/models/GetDomainData.d.ts +3 -3
  78. package/dist/esm/models/GetDomainData.js +3 -3
  79. package/dist/esm/models/GetEncryptedPasswordRequestContent.d.ts +38 -0
  80. package/dist/esm/models/GetEncryptedPasswordRequestContent.js +47 -0
  81. package/dist/esm/models/GetEncryptedPasswordResponseContent.d.ts +40 -0
  82. package/dist/esm/models/GetEncryptedPasswordResponseContent.js +49 -0
  83. package/dist/esm/models/ListDnsCreateCandidatesData.d.ts +45 -0
  84. package/dist/esm/models/ListDnsCreateCandidatesData.js +52 -0
  85. package/dist/esm/models/ListDnsCreateCandidatesResponseContent.d.ts +40 -0
  86. package/dist/esm/models/ListDnsCreateCandidatesResponseContent.js +49 -0
  87. package/dist/esm/models/ListDnsZonesData.d.ts +45 -0
  88. package/dist/esm/models/ListDnsZonesData.js +52 -0
  89. package/dist/esm/models/ListDnsZonesResponseContent.d.ts +40 -0
  90. package/dist/esm/models/ListDnsZonesResponseContent.js +49 -0
  91. package/dist/esm/models/ListDnssecRecordsData.d.ts +39 -0
  92. package/dist/esm/models/ListDnssecRecordsData.js +48 -0
  93. package/dist/esm/models/ListDnssecRecordsRequestContent.d.ts +32 -0
  94. package/dist/esm/models/ListDnssecRecordsRequestContent.js +43 -0
  95. package/dist/esm/models/ListDnssecRecordsResponseContent.d.ts +40 -0
  96. package/dist/esm/models/ListDnssecRecordsResponseContent.js +49 -0
  97. package/dist/esm/models/NoVncConsoleDetails.d.ts +19 -1
  98. package/dist/esm/models/NoVncConsoleDetails.js +7 -3
  99. package/dist/esm/models/PasswordEncryptionInfo.d.ts +50 -0
  100. package/dist/esm/models/PasswordEncryptionInfo.js +55 -0
  101. package/dist/esm/models/UpdateDomainContactsData.d.ts +38 -0
  102. package/dist/esm/models/UpdateDomainContactsData.js +45 -0
  103. package/dist/esm/models/UpdateDomainContactsRequestContent.d.ts +39 -0
  104. package/dist/esm/models/UpdateDomainContactsRequestContent.js +48 -0
  105. package/dist/esm/models/UpdateDomainContactsResponseContent.d.ts +40 -0
  106. package/dist/esm/models/UpdateDomainContactsResponseContent.js +49 -0
  107. package/dist/esm/models/UpdateDomainNameserversData.d.ts +45 -0
  108. package/dist/esm/models/UpdateDomainNameserversData.js +48 -0
  109. package/dist/esm/models/UpdateDomainNameserversRequestContent.d.ts +62 -0
  110. package/dist/esm/models/UpdateDomainNameserversRequestContent.js +57 -0
  111. package/dist/esm/models/UpdateDomainNameserversResponseContent.d.ts +40 -0
  112. package/dist/esm/models/UpdateDomainNameserversResponseContent.js +49 -0
  113. package/dist/esm/models/VpsCredentials.d.ts +1 -1
  114. package/dist/esm/models/VpsDetailsResponse.d.ts +4 -3
  115. package/dist/esm/models/VpsDetailsResponse.js +3 -2
  116. package/dist/esm/models/VpsIpAddressDetail.d.ts +56 -0
  117. package/dist/esm/models/VpsIpAddressDetail.js +51 -0
  118. package/dist/esm/models/VpsVmInfo.d.ts +3 -3
  119. package/dist/esm/models/index.d.ts +42 -0
  120. package/dist/esm/models/index.js +42 -0
  121. package/dist/esm/retryablePaths.js +5 -0
  122. package/dist/models/AddDnsRecordRequestContent.d.ts +45 -0
  123. package/dist/models/AddDnsRecordRequestContent.js +57 -0
  124. package/dist/models/AddDnsRecordResponseContent.d.ts +40 -0
  125. package/dist/models/AddDnsRecordResponseContent.js +56 -0
  126. package/dist/models/DeleteDnsRecordRequestContent.d.ts +45 -0
  127. package/dist/models/DeleteDnsRecordRequestContent.js +57 -0
  128. package/dist/models/DeleteDnsRecordResponseContent.d.ts +40 -0
  129. package/dist/models/DeleteDnsRecordResponseContent.js +56 -0
  130. package/dist/models/DnsCreateCandidateInfo.d.ts +56 -0
  131. package/dist/models/DnsCreateCandidateInfo.js +56 -0
  132. package/dist/models/DnsRecordInfo.d.ts +89 -0
  133. package/dist/models/DnsRecordInfo.js +62 -0
  134. package/dist/models/DnsRecordMutationData.d.ts +39 -0
  135. package/dist/models/DnsRecordMutationData.js +53 -0
  136. package/dist/models/DnsRecordMutationRecord.d.ts +77 -0
  137. package/dist/models/DnsRecordMutationRecord.js +62 -0
  138. package/dist/models/DnsZoneInfo.d.ts +81 -0
  139. package/dist/models/DnsZoneInfo.js +67 -0
  140. package/dist/models/DnssecRecordInfo.d.ts +50 -0
  141. package/dist/models/DnssecRecordInfo.js +62 -0
  142. package/dist/models/DomainAddonFeature.d.ts +56 -0
  143. package/dist/models/DomainAddonFeature.js +64 -0
  144. package/dist/models/DomainAvailableFeatures.d.ts +69 -0
  145. package/dist/models/DomainAvailableFeatures.js +61 -0
  146. package/dist/models/DomainContactSourceType.d.ts +26 -0
  147. package/dist/models/DomainContactSourceType.js +52 -0
  148. package/dist/models/DomainContactUpdate.d.ts +47 -0
  149. package/dist/models/DomainContactUpdate.js +55 -0
  150. package/dist/models/DomainContactUpdates.d.ts +51 -0
  151. package/dist/models/DomainContactUpdates.js +55 -0
  152. package/dist/models/DomainContacts.d.ts +58 -0
  153. package/dist/models/DomainContacts.js +54 -0
  154. package/dist/models/DomainDetail.d.ts +251 -0
  155. package/dist/models/DomainDetail.js +143 -0
  156. package/dist/models/DomainExpiryCountdown.d.ts +44 -0
  157. package/dist/models/DomainExpiryCountdown.js +58 -0
  158. package/dist/models/DomainHostingLink.d.ts +4 -4
  159. package/dist/models/DomainHostingLink.js +2 -6
  160. package/dist/models/DomainInfo.d.ts +6 -0
  161. package/dist/models/DomainInfo.js +2 -0
  162. package/dist/models/DomainNameservers.d.ts +56 -0
  163. package/dist/models/DomainNameservers.js +56 -0
  164. package/dist/models/EditDnsRecordRequestContent.d.ts +45 -0
  165. package/dist/models/EditDnsRecordRequestContent.js +57 -0
  166. package/dist/models/EditDnsRecordResponseContent.d.ts +40 -0
  167. package/dist/models/EditDnsRecordResponseContent.js +56 -0
  168. package/dist/models/EncryptedPasswordResponseData.d.ts +45 -0
  169. package/dist/models/EncryptedPasswordResponseData.js +59 -0
  170. package/dist/models/GetDnsZoneDetailsData.d.ts +81 -0
  171. package/dist/models/GetDnsZoneDetailsData.js +67 -0
  172. package/dist/models/GetDnsZoneDetailsRequestContent.d.ts +32 -0
  173. package/dist/models/GetDnsZoneDetailsRequestContent.js +50 -0
  174. package/dist/models/GetDnsZoneDetailsResponseContent.d.ts +40 -0
  175. package/dist/models/GetDnsZoneDetailsResponseContent.js +56 -0
  176. package/dist/models/GetDomainContactsData.d.ts +4 -3
  177. package/dist/models/GetDomainContactsData.js +3 -2
  178. package/dist/models/GetDomainData.d.ts +3 -3
  179. package/dist/models/GetDomainData.js +3 -3
  180. package/dist/models/GetEncryptedPasswordRequestContent.d.ts +38 -0
  181. package/dist/models/GetEncryptedPasswordRequestContent.js +54 -0
  182. package/dist/models/GetEncryptedPasswordResponseContent.d.ts +40 -0
  183. package/dist/models/GetEncryptedPasswordResponseContent.js +56 -0
  184. package/dist/models/ListDnsCreateCandidatesData.d.ts +45 -0
  185. package/dist/models/ListDnsCreateCandidatesData.js +59 -0
  186. package/dist/models/ListDnsCreateCandidatesResponseContent.d.ts +40 -0
  187. package/dist/models/ListDnsCreateCandidatesResponseContent.js +56 -0
  188. package/dist/models/ListDnsZonesData.d.ts +45 -0
  189. package/dist/models/ListDnsZonesData.js +59 -0
  190. package/dist/models/ListDnsZonesResponseContent.d.ts +40 -0
  191. package/dist/models/ListDnsZonesResponseContent.js +56 -0
  192. package/dist/models/ListDnssecRecordsData.d.ts +39 -0
  193. package/dist/models/ListDnssecRecordsData.js +55 -0
  194. package/dist/models/ListDnssecRecordsRequestContent.d.ts +32 -0
  195. package/dist/models/ListDnssecRecordsRequestContent.js +50 -0
  196. package/dist/models/ListDnssecRecordsResponseContent.d.ts +40 -0
  197. package/dist/models/ListDnssecRecordsResponseContent.js +56 -0
  198. package/dist/models/NoVncConsoleDetails.d.ts +19 -1
  199. package/dist/models/NoVncConsoleDetails.js +7 -3
  200. package/dist/models/PasswordEncryptionInfo.d.ts +50 -0
  201. package/dist/models/PasswordEncryptionInfo.js +62 -0
  202. package/dist/models/UpdateDomainContactsData.d.ts +38 -0
  203. package/dist/models/UpdateDomainContactsData.js +52 -0
  204. package/dist/models/UpdateDomainContactsRequestContent.d.ts +39 -0
  205. package/dist/models/UpdateDomainContactsRequestContent.js +55 -0
  206. package/dist/models/UpdateDomainContactsResponseContent.d.ts +40 -0
  207. package/dist/models/UpdateDomainContactsResponseContent.js +56 -0
  208. package/dist/models/UpdateDomainNameserversData.d.ts +45 -0
  209. package/dist/models/UpdateDomainNameserversData.js +55 -0
  210. package/dist/models/UpdateDomainNameserversRequestContent.d.ts +62 -0
  211. package/dist/models/UpdateDomainNameserversRequestContent.js +64 -0
  212. package/dist/models/UpdateDomainNameserversResponseContent.d.ts +40 -0
  213. package/dist/models/UpdateDomainNameserversResponseContent.js +56 -0
  214. package/dist/models/VpsCredentials.d.ts +1 -1
  215. package/dist/models/VpsDetailsResponse.d.ts +4 -3
  216. package/dist/models/VpsDetailsResponse.js +3 -2
  217. package/dist/models/VpsIpAddressDetail.d.ts +56 -0
  218. package/dist/models/VpsIpAddressDetail.js +58 -0
  219. package/dist/models/VpsVmInfo.d.ts +3 -3
  220. package/dist/models/index.d.ts +42 -0
  221. package/dist/models/index.js +42 -0
  222. package/dist/retryablePaths.js +5 -0
  223. package/dist.zip +0 -0
  224. package/docs/AddDnsRecordRequestContent.md +38 -0
  225. package/docs/AddDnsRecordResponseContent.md +36 -0
  226. package/docs/DNSApi.md +462 -0
  227. package/docs/DeleteDnsRecordRequestContent.md +38 -0
  228. package/docs/DeleteDnsRecordResponseContent.md +36 -0
  229. package/docs/DnsCreateCandidateInfo.md +43 -0
  230. package/docs/DnsRecordInfo.md +49 -0
  231. package/docs/DnsRecordMutationData.md +36 -0
  232. package/docs/DnsRecordMutationRecord.md +49 -0
  233. package/docs/DnsZoneInfo.md +51 -0
  234. package/docs/DnssecRecordInfo.md +41 -0
  235. package/docs/DomainAddonFeature.md +43 -0
  236. package/docs/DomainAvailableFeatures.md +47 -0
  237. package/docs/DomainContactSourceType.md +32 -0
  238. package/docs/DomainContactUpdate.md +39 -0
  239. package/docs/DomainContactUpdates.md +41 -0
  240. package/docs/DomainContacts.md +41 -0
  241. package/docs/DomainDetail.md +107 -0
  242. package/docs/DomainExpiryCountdown.md +39 -0
  243. package/docs/DomainInfo.md +2 -0
  244. package/docs/DomainNameservers.md +43 -0
  245. package/docs/DomainsApi.md +240 -0
  246. package/docs/EditDnsRecordRequestContent.md +38 -0
  247. package/docs/EditDnsRecordResponseContent.md +36 -0
  248. package/docs/EncryptedPasswordResponseData.md +39 -0
  249. package/docs/GetDnsZoneDetailsData.md +50 -0
  250. package/docs/GetDnsZoneDetailsRequestContent.md +34 -0
  251. package/docs/GetDnsZoneDetailsResponseContent.md +36 -0
  252. package/docs/GetDomainContactsData.md +1 -1
  253. package/docs/GetDomainData.md +1 -1
  254. package/docs/GetEncryptedPasswordRequestContent.md +36 -0
  255. package/docs/GetEncryptedPasswordResponseContent.md +36 -0
  256. package/docs/ListDnsCreateCandidatesData.md +38 -0
  257. package/docs/ListDnsCreateCandidatesResponseContent.md +36 -0
  258. package/docs/ListDnsZonesData.md +38 -0
  259. package/docs/ListDnsZonesResponseContent.md +36 -0
  260. package/docs/ListDnssecRecordsData.md +36 -0
  261. package/docs/ListDnssecRecordsRequestContent.md +34 -0
  262. package/docs/ListDnssecRecordsResponseContent.md +36 -0
  263. package/docs/NoVncConsoleDetails.md +6 -0
  264. package/docs/PasswordEncryptionInfo.md +41 -0
  265. package/docs/ServiceManagementApi.md +2 -2
  266. package/docs/SnapshotsApi.md +4 -4
  267. package/docs/UpdateDomainContactsData.md +36 -0
  268. package/docs/UpdateDomainContactsRequestContent.md +36 -0
  269. package/docs/UpdateDomainContactsResponseContent.md +36 -0
  270. package/docs/UpdateDomainNameserversData.md +38 -0
  271. package/docs/UpdateDomainNameserversRequestContent.md +44 -0
  272. package/docs/UpdateDomainNameserversResponseContent.md +36 -0
  273. package/docs/VPSManagementApi.md +81 -1
  274. package/docs/VpsDetailsResponse.md +1 -1
  275. package/docs/VpsIpAddressDetail.md +43 -0
  276. package/docs/VpsVmInfo.md +1 -1
  277. package/package.json +1 -1
  278. package/src/apis/DNSApi.ts +356 -0
  279. package/src/apis/DomainsApi.ts +195 -0
  280. package/src/apis/ServiceManagementApi.ts +4 -4
  281. package/src/apis/SnapshotsApi.ts +8 -8
  282. package/src/apis/VPSManagementApi.ts +67 -2
  283. package/src/models/AddDnsRecordRequestContent.ts +91 -0
  284. package/src/models/AddDnsRecordResponseContent.ts +92 -0
  285. package/src/models/DeleteDnsRecordRequestContent.ts +91 -0
  286. package/src/models/DeleteDnsRecordResponseContent.ts +92 -0
  287. package/src/models/DnsCreateCandidateInfo.ts +97 -0
  288. package/src/models/DnsRecordInfo.ts +136 -0
  289. package/src/models/DnsRecordMutationData.ts +82 -0
  290. package/src/models/DnsRecordMutationRecord.ts +124 -0
  291. package/src/models/DnsZoneInfo.ts +138 -0
  292. package/src/models/DnssecRecordInfo.ts +93 -0
  293. package/src/models/DomainAddonFeature.ts +101 -0
  294. package/src/models/DomainAvailableFeatures.ts +121 -0
  295. package/src/models/DomainContactSourceType.ts +54 -0
  296. package/src/models/DomainContactUpdate.ts +92 -0
  297. package/src/models/DomainContactUpdates.ts +97 -0
  298. package/src/models/DomainContacts.ts +89 -0
  299. package/src/models/DomainDetail.ts +385 -0
  300. package/src/models/DomainExpiryCountdown.ts +84 -0
  301. package/src/models/DomainHostingLink.ts +6 -8
  302. package/src/models/DomainInfo.ts +8 -0
  303. package/src/models/DomainNameservers.ts +97 -0
  304. package/src/models/EditDnsRecordRequestContent.ts +91 -0
  305. package/src/models/EditDnsRecordResponseContent.ts +92 -0
  306. package/src/models/EncryptedPasswordResponseData.ts +92 -0
  307. package/src/models/GetDnsZoneDetailsData.ts +138 -0
  308. package/src/models/GetDnsZoneDetailsRequestContent.ts +66 -0
  309. package/src/models/GetDnsZoneDetailsResponseContent.ts +92 -0
  310. package/src/models/GetDomainContactsData.ts +13 -5
  311. package/src/models/GetDomainData.ts +10 -10
  312. package/src/models/GetEncryptedPasswordRequestContent.ts +75 -0
  313. package/src/models/GetEncryptedPasswordResponseContent.ts +92 -0
  314. package/src/models/ListDnsCreateCandidatesData.ts +92 -0
  315. package/src/models/ListDnsCreateCandidatesResponseContent.ts +92 -0
  316. package/src/models/ListDnsZonesData.ts +92 -0
  317. package/src/models/ListDnsZonesResponseContent.ts +92 -0
  318. package/src/models/ListDnssecRecordsData.ts +83 -0
  319. package/src/models/ListDnssecRecordsRequestContent.ts +66 -0
  320. package/src/models/ListDnssecRecordsResponseContent.ts +92 -0
  321. package/src/models/NoVncConsoleDetails.ts +26 -3
  322. package/src/models/PasswordEncryptionInfo.ts +93 -0
  323. package/src/models/UpdateDomainContactsData.ts +74 -0
  324. package/src/models/UpdateDomainContactsRequestContent.ts +83 -0
  325. package/src/models/UpdateDomainContactsResponseContent.ts +92 -0
  326. package/src/models/UpdateDomainNameserversData.ts +90 -0
  327. package/src/models/UpdateDomainNameserversRequestContent.ts +108 -0
  328. package/src/models/UpdateDomainNameserversResponseContent.ts +92 -0
  329. package/src/models/VpsCredentials.ts +1 -1
  330. package/src/models/VpsDetailsResponse.ts +12 -5
  331. package/src/models/VpsIpAddressDetail.ts +98 -0
  332. package/src/models/VpsVmInfo.ts +3 -3
  333. package/src/models/index.ts +42 -0
  334. package/src/retryablePaths.ts +5 -0
@@ -0,0 +1,38 @@
1
+
2
+ # ListDnsZonesData
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `message` | string
10
+ `zones` | [Array<DnsZoneInfo>](DnsZoneInfo.md)
11
+ `total` | number
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import type { ListDnsZonesData } from '@hostafrica/ha-sdk-typescript'
17
+
18
+ // TODO: Update the object below with actual values
19
+ const example = {
20
+ "message": null,
21
+ "zones": null,
22
+ "total": null,
23
+ } satisfies ListDnsZonesData
24
+
25
+ console.log(example)
26
+
27
+ // Convert the instance to a JSON string
28
+ const exampleJSON: string = JSON.stringify(example)
29
+ console.log(exampleJSON)
30
+
31
+ // Parse the JSON string back to an object
32
+ const exampleParsed = JSON.parse(exampleJSON) as ListDnsZonesData
33
+ console.log(exampleParsed)
34
+ ```
35
+
36
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
37
+
38
+
@@ -0,0 +1,36 @@
1
+
2
+ # ListDnsZonesResponseContent
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `status` | [OperationStatus](OperationStatus.md)
10
+ `data` | [ListDnsZonesData](ListDnsZonesData.md)
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { ListDnsZonesResponseContent } 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 ListDnsZonesResponseContent
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 ListDnsZonesResponseContent
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,36 @@
1
+
2
+ # ListDnssecRecordsData
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `message` | string
10
+ `records` | [Array<DnssecRecordInfo>](DnssecRecordInfo.md)
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { ListDnssecRecordsData } 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 ListDnssecRecordsData
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 ListDnssecRecordsData
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,34 @@
1
+
2
+ # ListDnssecRecordsRequestContent
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `domainId` | string
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import type { ListDnssecRecordsRequestContent } from '@hostafrica/ha-sdk-typescript'
15
+
16
+ // TODO: Update the object below with actual values
17
+ const example = {
18
+ "domainId": null,
19
+ } satisfies ListDnssecRecordsRequestContent
20
+
21
+ console.log(example)
22
+
23
+ // Convert the instance to a JSON string
24
+ const exampleJSON: string = JSON.stringify(example)
25
+ console.log(exampleJSON)
26
+
27
+ // Parse the JSON string back to an object
28
+ const exampleParsed = JSON.parse(exampleJSON) as ListDnssecRecordsRequestContent
29
+ console.log(exampleParsed)
30
+ ```
31
+
32
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
33
+
34
+
@@ -0,0 +1,36 @@
1
+
2
+ # ListDnssecRecordsResponseContent
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `status` | [OperationStatus](OperationStatus.md)
10
+ `data` | [ListDnssecRecordsData](ListDnssecRecordsData.md)
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { ListDnssecRecordsResponseContent } 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 ListDnssecRecordsResponseContent
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 ListDnssecRecordsResponseContent
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
+
@@ -8,6 +8,9 @@ noVNC console connection details
8
8
  Name | Type
9
9
  ------------ | -------------
10
10
  `novncRedirectUrl` | string
11
+ `mode` | string
12
+ `websocketUrl` | string
13
+ `password` | string
11
14
 
12
15
  ## Example
13
16
 
@@ -17,6 +20,9 @@ import type { NoVncConsoleDetails } from '@hostafrica/ha-sdk-typescript'
17
20
  // TODO: Update the object below with actual values
18
21
  const example = {
19
22
  "novncRedirectUrl": null,
23
+ "mode": null,
24
+ "websocketUrl": null,
25
+ "password": null,
20
26
  } satisfies NoVncConsoleDetails
21
27
 
22
28
  console.log(example)
@@ -0,0 +1,41 @@
1
+
2
+ # PasswordEncryptionInfo
3
+
4
+ Encryption metadata for an RSA-OAEP encrypted password
5
+
6
+ ## Properties
7
+
8
+ Name | Type
9
+ ------------ | -------------
10
+ `algorithm` | string
11
+ `hash` | string
12
+ `keySize` | number
13
+ `encoding` | string
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import type { PasswordEncryptionInfo } from '@hostafrica/ha-sdk-typescript'
19
+
20
+ // TODO: Update the object below with actual values
21
+ const example = {
22
+ "algorithm": null,
23
+ "hash": null,
24
+ "keySize": null,
25
+ "encoding": null,
26
+ } satisfies PasswordEncryptionInfo
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 PasswordEncryptionInfo
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
+
@@ -99,7 +99,7 @@ example().catch(console.error);
99
99
 
100
100
 
101
101
 
102
- Creates an order through checkout. Returns payment status; on failure also includes payment_error with code and message.
102
+ Creates an order for a VPS service. Returns payment status; on failure also includes payment_error with code and message.
103
103
 
104
104
  ### Example
105
105
 
@@ -406,7 +406,7 @@ example().catch(console.error);
406
406
 
407
407
 
408
408
 
409
- Validates pricing for one or more products, returning per-product breakdown and order summary
409
+ Validates pricing for one or more VPC service products, returning per-product breakdown and order summary
410
410
 
411
411
  ### Example
412
412
 
@@ -101,7 +101,7 @@ example().catch(console.error);
101
101
 
102
102
 
103
103
 
104
- [Under development] Creates a new snapshot job for a VPS service. Use period=\'hourly\' with run_every, or period=\'daily\' with days and start_time.
104
+ Creates a new snapshot job for a VPS service. Use period=\'hourly\' with run_every, or period=\'daily\' with days and start_time.
105
105
 
106
106
  ### Example
107
107
 
@@ -259,7 +259,7 @@ example().catch(console.error);
259
259
 
260
260
 
261
261
 
262
- [Under development]Deletes a snapshot job from a VPS service
262
+ Deletes a snapshot job from a VPS service
263
263
 
264
264
  ### Example
265
265
 
@@ -338,7 +338,7 @@ example().catch(console.error);
338
338
 
339
339
 
340
340
 
341
- [Under development]Retrieves the list of snapshot jobs for a VPS service
341
+ Retrieves the list of snapshot jobs for a VPS service
342
342
 
343
343
  ### Example
344
344
 
@@ -654,7 +654,7 @@ example().catch(console.error);
654
654
 
655
655
 
656
656
 
657
- [Under development] Updates an existing snapshot job. Only provide fields you want to change.
657
+ Updates an existing snapshot job. Only provide fields you want to change.
658
658
 
659
659
  ### Example
660
660
 
@@ -0,0 +1,36 @@
1
+
2
+ # UpdateDomainContactsData
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `message` | string
10
+ `domainId` | string
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { UpdateDomainContactsData } from '@hostafrica/ha-sdk-typescript'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "message": null,
20
+ "domainId": null,
21
+ } satisfies UpdateDomainContactsData
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 UpdateDomainContactsData
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,36 @@
1
+
2
+ # UpdateDomainContactsRequestContent
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `domainId` | string
10
+ `contacts` | [DomainContactUpdates](DomainContactUpdates.md)
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { UpdateDomainContactsRequestContent } from '@hostafrica/ha-sdk-typescript'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "domainId": null,
20
+ "contacts": null,
21
+ } satisfies UpdateDomainContactsRequestContent
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 UpdateDomainContactsRequestContent
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,36 @@
1
+
2
+ # UpdateDomainContactsResponseContent
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `status` | [OperationStatus](OperationStatus.md)
10
+ `data` | [UpdateDomainContactsData](UpdateDomainContactsData.md)
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { UpdateDomainContactsResponseContent } 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 UpdateDomainContactsResponseContent
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 UpdateDomainContactsResponseContent
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,38 @@
1
+
2
+ # UpdateDomainNameserversData
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `message` | string
10
+ `domain` | string
11
+ `nameservers` | [DomainNameservers](DomainNameservers.md)
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import type { UpdateDomainNameserversData } from '@hostafrica/ha-sdk-typescript'
17
+
18
+ // TODO: Update the object below with actual values
19
+ const example = {
20
+ "message": null,
21
+ "domain": null,
22
+ "nameservers": null,
23
+ } satisfies UpdateDomainNameserversData
24
+
25
+ console.log(example)
26
+
27
+ // Convert the instance to a JSON string
28
+ const exampleJSON: string = JSON.stringify(example)
29
+ console.log(exampleJSON)
30
+
31
+ // Parse the JSON string back to an object
32
+ const exampleParsed = JSON.parse(exampleJSON) as UpdateDomainNameserversData
33
+ console.log(exampleParsed)
34
+ ```
35
+
36
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
37
+
38
+
@@ -0,0 +1,44 @@
1
+
2
+ # UpdateDomainNameserversRequestContent
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `domainId` | string
10
+ `ns1` | string
11
+ `ns2` | string
12
+ `ns3` | string
13
+ `ns4` | string
14
+ `ns5` | string
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import type { UpdateDomainNameserversRequestContent } from '@hostafrica/ha-sdk-typescript'
20
+
21
+ // TODO: Update the object below with actual values
22
+ const example = {
23
+ "domainId": null,
24
+ "ns1": null,
25
+ "ns2": null,
26
+ "ns3": null,
27
+ "ns4": null,
28
+ "ns5": null,
29
+ } satisfies UpdateDomainNameserversRequestContent
30
+
31
+ console.log(example)
32
+
33
+ // Convert the instance to a JSON string
34
+ const exampleJSON: string = JSON.stringify(example)
35
+ console.log(exampleJSON)
36
+
37
+ // Parse the JSON string back to an object
38
+ const exampleParsed = JSON.parse(exampleJSON) as UpdateDomainNameserversRequestContent
39
+ console.log(exampleParsed)
40
+ ```
41
+
42
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
43
+
44
+
@@ -0,0 +1,36 @@
1
+
2
+ # UpdateDomainNameserversResponseContent
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `status` | [OperationStatus](OperationStatus.md)
10
+ `data` | [UpdateDomainNameserversData](UpdateDomainNameserversData.md)
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { UpdateDomainNameserversResponseContent } 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 UpdateDomainNameserversResponseContent
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 UpdateDomainNameserversResponseContent
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
+
@@ -4,6 +4,7 @@ All URIs are relative to *https://api.hostafrica.com*
4
4
 
5
5
  | Method | HTTP request | Description |
6
6
  |------------- | ------------- | -------------|
7
+ | [**getEncryptedPassword**](VPSManagementApi.md#getencryptedpassword) | **POST** /vps/get-encrypted-password | |
7
8
  | [**getVpsConfig**](VPSManagementApi.md#getvpsconfig) | **POST** /vps/get-config | |
8
9
  | [**getVpsDetails**](VPSManagementApi.md#getvpsdetails) | **POST** /vps/get-details | |
9
10
  | [**listIsos**](VPSManagementApi.md#listisos) | **POST** /vps/list-isos | |
@@ -15,6 +16,85 @@ All URIs are relative to *https://api.hostafrica.com*
15
16
 
16
17
 
17
18
 
19
+ ## getEncryptedPassword
20
+
21
+ > GetEncryptedPasswordResponseContent getEncryptedPassword(getEncryptedPasswordRequestContent)
22
+
23
+
24
+
25
+ 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).
26
+
27
+ ### Example
28
+
29
+ ```ts
30
+ import {
31
+ Configuration,
32
+ VPSManagementApi,
33
+ } from '@hostafrica/ha-sdk-typescript';
34
+ import type { GetEncryptedPasswordRequest } from '@hostafrica/ha-sdk-typescript';
35
+
36
+ async function example() {
37
+ console.log("🚀 Testing @hostafrica/ha-sdk-typescript SDK...");
38
+ const config = new Configuration({
39
+ // Configure HTTP bearer authorization: BearerAuth
40
+ accessToken: "YOUR BEARER TOKEN",
41
+ });
42
+ const api = new VPSManagementApi(config);
43
+
44
+ const body = {
45
+ // GetEncryptedPasswordRequestContent
46
+ getEncryptedPasswordRequestContent: ...,
47
+ } satisfies GetEncryptedPasswordRequest;
48
+
49
+ try {
50
+ const data = await api.getEncryptedPassword(body);
51
+ console.log(data);
52
+ } catch (error) {
53
+ console.error(error);
54
+ }
55
+ }
56
+
57
+ // Run the test
58
+ example().catch(console.error);
59
+ ```
60
+
61
+ ### Parameters
62
+
63
+
64
+ | Name | Type | Description | Notes |
65
+ |------------- | ------------- | ------------- | -------------|
66
+ | **getEncryptedPasswordRequestContent** | [GetEncryptedPasswordRequestContent](GetEncryptedPasswordRequestContent.md) | | |
67
+
68
+ ### Return type
69
+
70
+ [**GetEncryptedPasswordResponseContent**](GetEncryptedPasswordResponseContent.md)
71
+
72
+ ### Authorization
73
+
74
+ [BearerAuth](../README.md#BearerAuth)
75
+
76
+ ### HTTP request headers
77
+
78
+ - **Content-Type**: `application/json`
79
+ - **Accept**: `application/json`
80
+
81
+
82
+ ### HTTP response details
83
+ | Status code | Description | Response headers |
84
+ |-------------|-------------|------------------|
85
+ | **200** | GetEncryptedPassword 200 response | - |
86
+ | **400** | BadRequestError 400 response | - |
87
+ | **401** | UnauthorizedError 401 response | - |
88
+ | **403** | ForbiddenError 403 response | - |
89
+ | **404** | ResourceNotFoundError 404 response | - |
90
+ | **422** | ValidationError 422 response | - |
91
+ | **429** | TooManyRequestsError 429 response | * Retry-After - Number of seconds to wait before retrying <br> |
92
+ | **500** | InternalServiceError 500 response | - |
93
+ | **503** | ServiceUnavailableError 503 response | * Retry-After - Number of seconds to wait before retrying <br> |
94
+
95
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
96
+
97
+
18
98
  ## getVpsConfig
19
99
 
20
100
  > GetVpsConfigResponseContent getVpsConfig(getVpsConfigRequestContent)
@@ -100,7 +180,7 @@ example().catch(console.error);
100
180
 
101
181
 
102
182
 
103
- Gets detailed information about a VPS service including configuration, network settings, and statistics
183
+ Gets detailed information about a VPS service including configuration, network settings, and statistics. Credentials.password is always \&quot;&lt;redacted&gt;\&quot;; plaintext passwords are never returned. To retrieve the password securely, use GetEncryptedPassword (/vps/get-encrypted-password).
104
184
 
105
185
  ### Example
106
186
 
@@ -12,7 +12,7 @@ Name | Type
12
12
  `memory` | [VpsMemoryInfo](VpsMemoryInfo.md)
13
13
  `disk` | [VpsDiskInfo](VpsDiskInfo.md)
14
14
  `networkRate` | [VpsNetworkRate](VpsNetworkRate.md)
15
- `ipAddresses` | Array&lt;string&gt;
15
+ `ipAddresses` | [Array&lt;VpsIpAddressDetail&gt;](VpsIpAddressDetail.md)
16
16
  `credentials` | [VpsCredentials](VpsCredentials.md)
17
17
  `availableFeatures` | [VpsAvailableFeatures](VpsAvailableFeatures.md)
18
18
  `osInfo` | [VpsOsInfo](VpsOsInfo.md)
@@ -0,0 +1,43 @@
1
+
2
+ # VpsIpAddressDetail
3
+
4
+ Detailed IP address assignment for a VPS
5
+
6
+ ## Properties
7
+
8
+ Name | Type
9
+ ------------ | -------------
10
+ `ip` | string
11
+ `address` | string
12
+ `subnet` | string
13
+ `gateway` | string
14
+ `mac` | string
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import type { VpsIpAddressDetail } from '@hostafrica/ha-sdk-typescript'
20
+
21
+ // TODO: Update the object below with actual values
22
+ const example = {
23
+ "ip": null,
24
+ "address": null,
25
+ "subnet": null,
26
+ "gateway": null,
27
+ "mac": null,
28
+ } satisfies VpsIpAddressDetail
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 VpsIpAddressDetail
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
+