@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,136 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * HostAfricaApi
5
+ * HostAfrica API
6
+ *
7
+ * The version of the OpenAPI document: 1.1.0 - 2026-07-16
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime.js';
16
+ /**
17
+ * A DNS record within a zone.
18
+ *
19
+ * Record values are normalized to a flat `content` string. Structured record types use
20
+ * additional top-level fields; the proxy maps these to upstream `data` / `rdata_raw` shapes:
21
+ *
22
+ * - **A / AAAA**: `content` is the IP address (`data.address`).
23
+ * - **CNAME**: `content` is the target hostname (`data.cname`).
24
+ * - **TXT**: `content` is the text value (`data.txtdata`).
25
+ * - **NS**: `content` is the nameserver hostname (`data.nsdname`).
26
+ * - **MX**: `content` is the mail exchange hostname; `priority` is the MX preference
27
+ * (`data.exchange`, `data.preference`).
28
+ * - **SRV**: `content` is the target hostname; `priority`, `weight`, and `port` are the
29
+ * SRV parameters (`data.target`, `data.priority`, `data.weight`, `data.port`).
30
+ *
31
+ * When upstream returns structured `rdata_raw` without a string `rdata` value, `content`
32
+ * and the type-specific fields are derived from `rdata_raw`.
33
+ * @export
34
+ * @interface DnsRecordInfo
35
+ */
36
+ export interface DnsRecordInfo {
37
+ /**
38
+ * Record identifier
39
+ * @type {string}
40
+ * @memberof DnsRecordInfo
41
+ */
42
+ id?: string;
43
+ /**
44
+ * Record host/name (e.g. @, www, mail)
45
+ * @type {string}
46
+ * @memberof DnsRecordInfo
47
+ */
48
+ name?: string;
49
+ /**
50
+ * Record type (e.g. A, AAAA, CNAME, MX, TXT, NS, SRV)
51
+ * @type {string}
52
+ * @memberof DnsRecordInfo
53
+ */
54
+ type?: string;
55
+ /**
56
+ * Primary record value: IP address (A/AAAA), hostname (CNAME/NS/MX/SRV), or text (TXT)
57
+ * @type {string}
58
+ * @memberof DnsRecordInfo
59
+ */
60
+ content?: string;
61
+ /**
62
+ * Time-to-live in seconds
63
+ * @type {number}
64
+ * @memberof DnsRecordInfo
65
+ */
66
+ ttl?: number;
67
+ /**
68
+ * MX preference when type is MX; SRV priority when type is SRV
69
+ * @type {number}
70
+ * @memberof DnsRecordInfo
71
+ */
72
+ priority?: number;
73
+ /**
74
+ * SRV weight when type is SRV
75
+ * @type {number}
76
+ * @memberof DnsRecordInfo
77
+ */
78
+ weight?: number;
79
+ /**
80
+ * SRV port when type is SRV
81
+ * @type {number}
82
+ * @memberof DnsRecordInfo
83
+ */
84
+ port?: number;
85
+ }
86
+
87
+ /**
88
+ * Check if a given object implements the DnsRecordInfo interface.
89
+ */
90
+ export function instanceOfDnsRecordInfo(value: object): value is DnsRecordInfo {
91
+ return true;
92
+ }
93
+
94
+ export function DnsRecordInfoFromJSON(json: any): DnsRecordInfo {
95
+ return DnsRecordInfoFromJSONTyped(json, false);
96
+ }
97
+
98
+ export function DnsRecordInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DnsRecordInfo {
99
+ if (json == null) {
100
+ return json;
101
+ }
102
+ return {
103
+
104
+ 'id': json['id'] == null ? undefined : json['id'],
105
+ 'name': json['name'] == null ? undefined : json['name'],
106
+ 'type': json['type'] == null ? undefined : json['type'],
107
+ 'content': json['content'] == null ? undefined : json['content'],
108
+ 'ttl': json['ttl'] == null ? undefined : json['ttl'],
109
+ 'priority': json['priority'] == null ? undefined : json['priority'],
110
+ 'weight': json['weight'] == null ? undefined : json['weight'],
111
+ 'port': json['port'] == null ? undefined : json['port'],
112
+ };
113
+ }
114
+
115
+ export function DnsRecordInfoToJSON(json: any): DnsRecordInfo {
116
+ return DnsRecordInfoToJSONTyped(json, false);
117
+ }
118
+
119
+ export function DnsRecordInfoToJSONTyped(value?: DnsRecordInfo | null, ignoreDiscriminator: boolean = false): any {
120
+ if (value == null) {
121
+ return value;
122
+ }
123
+
124
+ return {
125
+
126
+ 'id': value['id'],
127
+ 'name': value['name'],
128
+ 'type': value['type'],
129
+ 'content': value['content'],
130
+ 'ttl': value['ttl'],
131
+ 'priority': value['priority'],
132
+ 'weight': value['weight'],
133
+ 'port': value['port'],
134
+ };
135
+ }
136
+
@@ -0,0 +1,82 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * HostAfricaApi
5
+ * HostAfrica API
6
+ *
7
+ * The version of the OpenAPI document: 1.1.0 - 2026-07-16
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime.js';
16
+ import type { DnsRecordInfo } from './DnsRecordInfo.js';
17
+ import {
18
+ DnsRecordInfoFromJSON,
19
+ DnsRecordInfoFromJSONTyped,
20
+ DnsRecordInfoToJSON,
21
+ DnsRecordInfoToJSONTyped,
22
+ } from './DnsRecordInfo.js';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface DnsRecordMutationData
28
+ */
29
+ export interface DnsRecordMutationData {
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof DnsRecordMutationData
34
+ */
35
+ message: string;
36
+ /**
37
+ * Updated DNS records when returned by upstream
38
+ * @type {Array<DnsRecordInfo>}
39
+ * @memberof DnsRecordMutationData
40
+ */
41
+ records?: Array<DnsRecordInfo>;
42
+ }
43
+
44
+ /**
45
+ * Check if a given object implements the DnsRecordMutationData interface.
46
+ */
47
+ export function instanceOfDnsRecordMutationData(value: object): value is DnsRecordMutationData {
48
+ if (!('message' in value) || value['message'] === undefined) return false;
49
+ return true;
50
+ }
51
+
52
+ export function DnsRecordMutationDataFromJSON(json: any): DnsRecordMutationData {
53
+ return DnsRecordMutationDataFromJSONTyped(json, false);
54
+ }
55
+
56
+ export function DnsRecordMutationDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): DnsRecordMutationData {
57
+ if (json == null) {
58
+ return json;
59
+ }
60
+ return {
61
+
62
+ 'message': json['message'],
63
+ 'records': json['records'] == null ? undefined : ((json['records'] as Array<any>).map(DnsRecordInfoFromJSON)),
64
+ };
65
+ }
66
+
67
+ export function DnsRecordMutationDataToJSON(json: any): DnsRecordMutationData {
68
+ return DnsRecordMutationDataToJSONTyped(json, false);
69
+ }
70
+
71
+ export function DnsRecordMutationDataToJSONTyped(value?: DnsRecordMutationData | null, ignoreDiscriminator: boolean = false): any {
72
+ if (value == null) {
73
+ return value;
74
+ }
75
+
76
+ return {
77
+
78
+ 'message': value['message'],
79
+ 'records': value['records'] == null ? undefined : ((value['records'] as Array<any>).map(DnsRecordInfoToJSON)),
80
+ };
81
+ }
82
+
@@ -0,0 +1,124 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * HostAfricaApi
5
+ * HostAfrica API
6
+ *
7
+ * The version of the OpenAPI document: 1.1.0 - 2026-07-16
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime.js';
16
+ /**
17
+ * DNS record fields for add, edit, or delete via DNSManager.
18
+ *
19
+ * See `DnsRecordInfo` for how `content` and structured fields map to upstream record data.
20
+ * Delete requires only `id`, `name`, and `type`.
21
+ * @export
22
+ * @interface DnsRecordMutationRecord
23
+ */
24
+ export interface DnsRecordMutationRecord {
25
+ /**
26
+ * Record line/id from get-dns-zone-details; required for edit and delete
27
+ * @type {string}
28
+ * @memberof DnsRecordMutationRecord
29
+ */
30
+ id?: string;
31
+ /**
32
+ * Record host/name (e.g. @, www, mail); required for add
33
+ * @type {string}
34
+ * @memberof DnsRecordMutationRecord
35
+ */
36
+ name?: string;
37
+ /**
38
+ * Record type (e.g. A, AAAA, CNAME, MX, TXT, NS, SRV); required for add
39
+ * @type {string}
40
+ * @memberof DnsRecordMutationRecord
41
+ */
42
+ type?: string;
43
+ /**
44
+ * Primary record value; required for add and edit. Meaning depends on type — see DnsRecordInfo
45
+ * @type {string}
46
+ * @memberof DnsRecordMutationRecord
47
+ */
48
+ content?: string;
49
+ /**
50
+ * Time-to-live in seconds; defaults to 3600 on add when omitted
51
+ * @type {number}
52
+ * @memberof DnsRecordMutationRecord
53
+ */
54
+ ttl?: number;
55
+ /**
56
+ * MX preference when type is MX; SRV priority when type is SRV
57
+ * @type {number}
58
+ * @memberof DnsRecordMutationRecord
59
+ */
60
+ priority?: number;
61
+ /**
62
+ * SRV weight when type is SRV
63
+ * @type {number}
64
+ * @memberof DnsRecordMutationRecord
65
+ */
66
+ weight?: number;
67
+ /**
68
+ * SRV port when type is SRV; required for add and edit when type is SRV
69
+ * @type {number}
70
+ * @memberof DnsRecordMutationRecord
71
+ */
72
+ port?: number;
73
+ }
74
+
75
+ /**
76
+ * Check if a given object implements the DnsRecordMutationRecord interface.
77
+ */
78
+ export function instanceOfDnsRecordMutationRecord(value: object): value is DnsRecordMutationRecord {
79
+ return true;
80
+ }
81
+
82
+ export function DnsRecordMutationRecordFromJSON(json: any): DnsRecordMutationRecord {
83
+ return DnsRecordMutationRecordFromJSONTyped(json, false);
84
+ }
85
+
86
+ export function DnsRecordMutationRecordFromJSONTyped(json: any, ignoreDiscriminator: boolean): DnsRecordMutationRecord {
87
+ if (json == null) {
88
+ return json;
89
+ }
90
+ return {
91
+
92
+ 'id': json['id'] == null ? undefined : json['id'],
93
+ 'name': json['name'] == null ? undefined : json['name'],
94
+ 'type': json['type'] == null ? undefined : json['type'],
95
+ 'content': json['content'] == null ? undefined : json['content'],
96
+ 'ttl': json['ttl'] == null ? undefined : json['ttl'],
97
+ 'priority': json['priority'] == null ? undefined : json['priority'],
98
+ 'weight': json['weight'] == null ? undefined : json['weight'],
99
+ 'port': json['port'] == null ? undefined : json['port'],
100
+ };
101
+ }
102
+
103
+ export function DnsRecordMutationRecordToJSON(json: any): DnsRecordMutationRecord {
104
+ return DnsRecordMutationRecordToJSONTyped(json, false);
105
+ }
106
+
107
+ export function DnsRecordMutationRecordToJSONTyped(value?: DnsRecordMutationRecord | null, ignoreDiscriminator: boolean = false): any {
108
+ if (value == null) {
109
+ return value;
110
+ }
111
+
112
+ return {
113
+
114
+ 'id': value['id'],
115
+ 'name': value['name'],
116
+ 'type': value['type'],
117
+ 'content': value['content'],
118
+ 'ttl': value['ttl'],
119
+ 'priority': value['priority'],
120
+ 'weight': value['weight'],
121
+ 'port': value['port'],
122
+ };
123
+ }
124
+
@@ -0,0 +1,138 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * HostAfricaApi
5
+ * HostAfrica API
6
+ *
7
+ * The version of the OpenAPI document: 1.1.0 - 2026-07-16
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime.js';
16
+ import type { DomainHostingLink } from './DomainHostingLink.js';
17
+ import {
18
+ DomainHostingLinkFromJSON,
19
+ DomainHostingLinkFromJSONTyped,
20
+ DomainHostingLinkToJSON,
21
+ DomainHostingLinkToJSONTyped,
22
+ } from './DomainHostingLink.js';
23
+
24
+ /**
25
+ * A DNS zone owned by the authenticated client
26
+ * @export
27
+ * @interface DnsZoneInfo
28
+ */
29
+ export interface DnsZoneInfo {
30
+ /**
31
+ * DNS zone identifier
32
+ * @type {string}
33
+ * @memberof DnsZoneInfo
34
+ */
35
+ zoneId?: string;
36
+ /**
37
+ * Domain service id when the zone is tied to a domain
38
+ * @type {string}
39
+ * @memberof DnsZoneInfo
40
+ */
41
+ domainId?: string;
42
+ /**
43
+ * Zone domain name (FQDN)
44
+ * @type {string}
45
+ * @memberof DnsZoneInfo
46
+ */
47
+ domainName?: string;
48
+ /**
49
+ * Linked hosting service id; omitted when no hosting is linked
50
+ * @type {number}
51
+ * @memberof DnsZoneInfo
52
+ */
53
+ hostingId?: number;
54
+ /**
55
+ * Zone type: 0=OTHER, 1=DOMAIN, 2=HOSTING, 3=ADDON
56
+ * @type {number}
57
+ * @memberof DnsZoneInfo
58
+ */
59
+ type?: number;
60
+ /**
61
+ * Zone type key (e.g. other, domain, hosting, addon)
62
+ * @type {string}
63
+ * @memberof DnsZoneInfo
64
+ */
65
+ typeKey?: string;
66
+ /**
67
+ * Product or package name for the zone
68
+ * @type {string}
69
+ * @memberof DnsZoneInfo
70
+ */
71
+ packageName?: string;
72
+ /**
73
+ *
74
+ * @type {DomainHostingLink}
75
+ * @memberof DnsZoneInfo
76
+ */
77
+ hasHosting?: DomainHostingLink;
78
+ /**
79
+ * Whether a DNS Manager zone exists for this domain name
80
+ * @type {boolean}
81
+ * @memberof DnsZoneInfo
82
+ */
83
+ hasDnsManagerZone: boolean;
84
+ }
85
+
86
+ /**
87
+ * Check if a given object implements the DnsZoneInfo interface.
88
+ */
89
+ export function instanceOfDnsZoneInfo(value: object): value is DnsZoneInfo {
90
+ if (!('hasDnsManagerZone' in value) || value['hasDnsManagerZone'] === undefined) return false;
91
+ return true;
92
+ }
93
+
94
+ export function DnsZoneInfoFromJSON(json: any): DnsZoneInfo {
95
+ return DnsZoneInfoFromJSONTyped(json, false);
96
+ }
97
+
98
+ export function DnsZoneInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DnsZoneInfo {
99
+ if (json == null) {
100
+ return json;
101
+ }
102
+ return {
103
+
104
+ 'zoneId': json['zone_id'] == null ? undefined : json['zone_id'],
105
+ 'domainId': json['domain_id'] == null ? undefined : json['domain_id'],
106
+ 'domainName': json['domain_name'] == null ? undefined : json['domain_name'],
107
+ 'hostingId': json['hosting_id'] == null ? undefined : json['hosting_id'],
108
+ 'type': json['type'] == null ? undefined : json['type'],
109
+ 'typeKey': json['type_key'] == null ? undefined : json['type_key'],
110
+ 'packageName': json['package_name'] == null ? undefined : json['package_name'],
111
+ 'hasHosting': json['has_hosting'] == null ? undefined : DomainHostingLinkFromJSON(json['has_hosting']),
112
+ 'hasDnsManagerZone': json['has_dns_manager_zone'],
113
+ };
114
+ }
115
+
116
+ export function DnsZoneInfoToJSON(json: any): DnsZoneInfo {
117
+ return DnsZoneInfoToJSONTyped(json, false);
118
+ }
119
+
120
+ export function DnsZoneInfoToJSONTyped(value?: DnsZoneInfo | null, ignoreDiscriminator: boolean = false): any {
121
+ if (value == null) {
122
+ return value;
123
+ }
124
+
125
+ return {
126
+
127
+ 'zone_id': value['zoneId'],
128
+ 'domain_id': value['domainId'],
129
+ 'domain_name': value['domainName'],
130
+ 'hosting_id': value['hostingId'],
131
+ 'type': value['type'],
132
+ 'type_key': value['typeKey'],
133
+ 'package_name': value['packageName'],
134
+ 'has_hosting': DomainHostingLinkToJSON(value['hasHosting']),
135
+ 'has_dns_manager_zone': value['hasDnsManagerZone'],
136
+ };
137
+ }
138
+
@@ -0,0 +1,93 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * HostAfricaApi
5
+ * HostAfrica API
6
+ *
7
+ * The version of the OpenAPI document: 1.1.0 - 2026-07-16
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime.js';
16
+ /**
17
+ * A DNSSEC DS record
18
+ * @export
19
+ * @interface DnssecRecordInfo
20
+ */
21
+ export interface DnssecRecordInfo {
22
+ /**
23
+ * DNSSEC key tag (0-65535)
24
+ * @type {number}
25
+ * @memberof DnssecRecordInfo
26
+ */
27
+ keyTag: number;
28
+ /**
29
+ * DNSSEC algorithm (1-255)
30
+ * @type {number}
31
+ * @memberof DnssecRecordInfo
32
+ */
33
+ alg: number;
34
+ /**
35
+ * DNSSEC digest type (1-255)
36
+ * @type {number}
37
+ * @memberof DnssecRecordInfo
38
+ */
39
+ digestType: number;
40
+ /**
41
+ * Hex digest
42
+ * @type {string}
43
+ * @memberof DnssecRecordInfo
44
+ */
45
+ digest: string;
46
+ }
47
+
48
+ /**
49
+ * Check if a given object implements the DnssecRecordInfo interface.
50
+ */
51
+ export function instanceOfDnssecRecordInfo(value: object): value is DnssecRecordInfo {
52
+ if (!('keyTag' in value) || value['keyTag'] === undefined) return false;
53
+ if (!('alg' in value) || value['alg'] === undefined) return false;
54
+ if (!('digestType' in value) || value['digestType'] === undefined) return false;
55
+ if (!('digest' in value) || value['digest'] === undefined) return false;
56
+ return true;
57
+ }
58
+
59
+ export function DnssecRecordInfoFromJSON(json: any): DnssecRecordInfo {
60
+ return DnssecRecordInfoFromJSONTyped(json, false);
61
+ }
62
+
63
+ export function DnssecRecordInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DnssecRecordInfo {
64
+ if (json == null) {
65
+ return json;
66
+ }
67
+ return {
68
+
69
+ 'keyTag': json['key_tag'],
70
+ 'alg': json['alg'],
71
+ 'digestType': json['digest_type'],
72
+ 'digest': json['digest'],
73
+ };
74
+ }
75
+
76
+ export function DnssecRecordInfoToJSON(json: any): DnssecRecordInfo {
77
+ return DnssecRecordInfoToJSONTyped(json, false);
78
+ }
79
+
80
+ export function DnssecRecordInfoToJSONTyped(value?: DnssecRecordInfo | null, ignoreDiscriminator: boolean = false): any {
81
+ if (value == null) {
82
+ return value;
83
+ }
84
+
85
+ return {
86
+
87
+ 'key_tag': value['keyTag'],
88
+ 'alg': value['alg'],
89
+ 'digest_type': value['digestType'],
90
+ 'digest': value['digest'],
91
+ };
92
+ }
93
+
@@ -0,0 +1,101 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * HostAfricaApi
5
+ * HostAfrica API
6
+ *
7
+ * The version of the OpenAPI document: 1.1.0 - 2026-07-16
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime.js';
16
+ /**
17
+ * Priced addon/feature block returned under available_features
18
+ * @export
19
+ * @interface DomainAddonFeature
20
+ */
21
+ export interface DomainAddonFeature {
22
+ /**
23
+ *
24
+ * @type {boolean}
25
+ * @memberof DomainAddonFeature
26
+ */
27
+ enabled: boolean;
28
+ /**
29
+ *
30
+ * @type {number}
31
+ * @memberof DomainAddonFeature
32
+ */
33
+ price: number;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof DomainAddonFeature
38
+ */
39
+ title: string;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof DomainAddonFeature
44
+ */
45
+ description: string;
46
+ /**
47
+ * Optional HTML product description from upstream
48
+ * @type {string}
49
+ * @memberof DomainAddonFeature
50
+ */
51
+ productDesc?: string;
52
+ }
53
+
54
+ /**
55
+ * Check if a given object implements the DomainAddonFeature interface.
56
+ */
57
+ export function instanceOfDomainAddonFeature(value: object): value is DomainAddonFeature {
58
+ if (!('enabled' in value) || value['enabled'] === undefined) return false;
59
+ if (!('price' in value) || value['price'] === undefined) return false;
60
+ if (!('title' in value) || value['title'] === undefined) return false;
61
+ if (!('description' in value) || value['description'] === undefined) return false;
62
+ return true;
63
+ }
64
+
65
+ export function DomainAddonFeatureFromJSON(json: any): DomainAddonFeature {
66
+ return DomainAddonFeatureFromJSONTyped(json, false);
67
+ }
68
+
69
+ export function DomainAddonFeatureFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainAddonFeature {
70
+ if (json == null) {
71
+ return json;
72
+ }
73
+ return {
74
+
75
+ 'enabled': json['enabled'],
76
+ 'price': json['price'],
77
+ 'title': json['title'],
78
+ 'description': json['description'],
79
+ 'productDesc': json['product_desc'] == null ? undefined : json['product_desc'],
80
+ };
81
+ }
82
+
83
+ export function DomainAddonFeatureToJSON(json: any): DomainAddonFeature {
84
+ return DomainAddonFeatureToJSONTyped(json, false);
85
+ }
86
+
87
+ export function DomainAddonFeatureToJSONTyped(value?: DomainAddonFeature | null, ignoreDiscriminator: boolean = false): any {
88
+ if (value == null) {
89
+ return value;
90
+ }
91
+
92
+ return {
93
+
94
+ 'enabled': value['enabled'],
95
+ 'price': value['price'],
96
+ 'title': value['title'],
97
+ 'description': value['description'],
98
+ 'product_desc': value['productDesc'],
99
+ };
100
+ }
101
+