@hostafrica/ha-sdk-typescript 1.1.3 → 1.1.5

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 (194) hide show
  1. package/dist/apis/BillingApi.d.ts +45 -0
  2. package/dist/apis/BillingApi.js +122 -0
  3. package/dist/apis/DNSApi.d.ts +8 -8
  4. package/dist/apis/DNSApi.js +8 -8
  5. package/dist/apis/VPSManagementApi.d.ts +18 -3
  6. package/dist/apis/VPSManagementApi.js +49 -2
  7. package/dist/apis/index.d.ts +1 -0
  8. package/dist/apis/index.js +1 -0
  9. package/dist/esm/apis/BillingApi.d.ts +45 -0
  10. package/dist/esm/apis/BillingApi.js +118 -0
  11. package/dist/esm/apis/DNSApi.d.ts +8 -8
  12. package/dist/esm/apis/DNSApi.js +8 -8
  13. package/dist/esm/apis/VPSManagementApi.d.ts +18 -3
  14. package/dist/esm/apis/VPSManagementApi.js +50 -3
  15. package/dist/esm/apis/index.d.ts +1 -0
  16. package/dist/esm/apis/index.js +1 -0
  17. package/dist/esm/models/AddDnsRecordRequestContent.d.ts +22 -3
  18. package/dist/esm/models/AddDnsRecordRequestContent.js +8 -3
  19. package/dist/esm/models/DeleteDnsRecordRequestContent.d.ts +22 -3
  20. package/dist/esm/models/DeleteDnsRecordRequestContent.js +8 -3
  21. package/dist/esm/models/DnsBackend.d.ts +28 -0
  22. package/dist/esm/models/DnsBackend.js +46 -0
  23. package/dist/esm/models/DnsRecordMutationRecord.d.ts +3 -2
  24. package/dist/esm/models/DnsZoneInfo.d.ts +7 -0
  25. package/dist/esm/models/DnsZoneInfo.js +3 -0
  26. package/dist/esm/models/EditDnsRecordRequestContent.d.ts +22 -3
  27. package/dist/esm/models/EditDnsRecordRequestContent.js +8 -3
  28. package/dist/esm/models/EncryptedPasswordResponseData.d.ts +45 -0
  29. package/dist/esm/models/EncryptedPasswordResponseData.js +52 -0
  30. package/dist/esm/models/GetDnsZoneDetailsRequestContent.d.ts +7 -0
  31. package/dist/esm/models/GetDnsZoneDetailsRequestContent.js +3 -0
  32. package/dist/esm/models/GetEncryptedPasswordRequestContent.d.ts +38 -0
  33. package/dist/esm/models/GetEncryptedPasswordRequestContent.js +47 -0
  34. package/dist/esm/models/GetEncryptedPasswordResponseContent.d.ts +40 -0
  35. package/dist/esm/models/GetEncryptedPasswordResponseContent.js +49 -0
  36. package/dist/esm/models/GetInvoiceDetailsRequestContent.d.ts +32 -0
  37. package/dist/esm/models/GetInvoiceDetailsRequestContent.js +43 -0
  38. package/dist/esm/models/GetInvoiceDetailsResponseContent.d.ts +40 -0
  39. package/dist/esm/models/GetInvoiceDetailsResponseContent.js +49 -0
  40. package/dist/esm/models/GetInvoiceDetailsResponseData.d.ts +40 -0
  41. package/dist/esm/models/GetInvoiceDetailsResponseData.js +47 -0
  42. package/dist/esm/models/InvoiceDetails.d.ts +143 -0
  43. package/dist/esm/models/InvoiceDetails.js +112 -0
  44. package/dist/esm/models/InvoiceIssuedTo.d.ts +69 -0
  45. package/dist/esm/models/InvoiceIssuedTo.js +66 -0
  46. package/dist/esm/models/InvoiceIssuedToTax.d.ts +44 -0
  47. package/dist/esm/models/InvoiceIssuedToTax.js +51 -0
  48. package/dist/esm/models/InvoiceItem.d.ts +56 -0
  49. package/dist/esm/models/InvoiceItem.js +59 -0
  50. package/dist/esm/models/InvoiceSummary.d.ts +98 -0
  51. package/dist/esm/models/InvoiceSummary.js +83 -0
  52. package/dist/esm/models/InvoiceTransaction.d.ts +74 -0
  53. package/dist/esm/models/InvoiceTransaction.js +57 -0
  54. package/dist/esm/models/ListInvoicesResponseContent.d.ts +40 -0
  55. package/dist/esm/models/ListInvoicesResponseContent.js +49 -0
  56. package/dist/esm/models/ListInvoicesResponseData.d.ts +39 -0
  57. package/dist/esm/models/ListInvoicesResponseData.js +48 -0
  58. package/dist/esm/models/NoVncConsoleDetails.d.ts +19 -1
  59. package/dist/esm/models/NoVncConsoleDetails.js +7 -3
  60. package/dist/esm/models/PasswordEncryptionInfo.d.ts +50 -0
  61. package/dist/esm/models/PasswordEncryptionInfo.js +55 -0
  62. package/dist/esm/models/SelcomMetadata.d.ts +56 -0
  63. package/dist/esm/models/SelcomMetadata.js +59 -0
  64. package/dist/esm/models/VpsCredentials.d.ts +1 -1
  65. package/dist/esm/models/VpsDetailsResponse.d.ts +4 -3
  66. package/dist/esm/models/VpsDetailsResponse.js +3 -2
  67. package/dist/esm/models/VpsIpAddressDetail.d.ts +56 -0
  68. package/dist/esm/models/VpsIpAddressDetail.js +51 -0
  69. package/dist/esm/models/VpsVmInfo.d.ts +3 -3
  70. package/dist/esm/models/index.d.ts +18 -0
  71. package/dist/esm/models/index.js +18 -0
  72. package/dist/esm/retryablePaths.js +3 -0
  73. package/dist/models/AddDnsRecordRequestContent.d.ts +22 -3
  74. package/dist/models/AddDnsRecordRequestContent.js +8 -3
  75. package/dist/models/DeleteDnsRecordRequestContent.d.ts +22 -3
  76. package/dist/models/DeleteDnsRecordRequestContent.js +8 -3
  77. package/dist/models/DnsBackend.d.ts +28 -0
  78. package/dist/models/DnsBackend.js +54 -0
  79. package/dist/models/DnsRecordMutationRecord.d.ts +3 -2
  80. package/dist/models/DnsZoneInfo.d.ts +7 -0
  81. package/dist/models/DnsZoneInfo.js +3 -0
  82. package/dist/models/EditDnsRecordRequestContent.d.ts +22 -3
  83. package/dist/models/EditDnsRecordRequestContent.js +8 -3
  84. package/dist/models/EncryptedPasswordResponseData.d.ts +45 -0
  85. package/dist/models/EncryptedPasswordResponseData.js +59 -0
  86. package/dist/models/GetDnsZoneDetailsRequestContent.d.ts +7 -0
  87. package/dist/models/GetDnsZoneDetailsRequestContent.js +3 -0
  88. package/dist/models/GetEncryptedPasswordRequestContent.d.ts +38 -0
  89. package/dist/models/GetEncryptedPasswordRequestContent.js +54 -0
  90. package/dist/models/GetEncryptedPasswordResponseContent.d.ts +40 -0
  91. package/dist/models/GetEncryptedPasswordResponseContent.js +56 -0
  92. package/dist/models/GetInvoiceDetailsRequestContent.d.ts +32 -0
  93. package/dist/models/GetInvoiceDetailsRequestContent.js +50 -0
  94. package/dist/models/GetInvoiceDetailsResponseContent.d.ts +40 -0
  95. package/dist/models/GetInvoiceDetailsResponseContent.js +56 -0
  96. package/dist/models/GetInvoiceDetailsResponseData.d.ts +40 -0
  97. package/dist/models/GetInvoiceDetailsResponseData.js +54 -0
  98. package/dist/models/InvoiceDetails.d.ts +143 -0
  99. package/dist/models/InvoiceDetails.js +119 -0
  100. package/dist/models/InvoiceIssuedTo.d.ts +69 -0
  101. package/dist/models/InvoiceIssuedTo.js +73 -0
  102. package/dist/models/InvoiceIssuedToTax.d.ts +44 -0
  103. package/dist/models/InvoiceIssuedToTax.js +58 -0
  104. package/dist/models/InvoiceItem.d.ts +56 -0
  105. package/dist/models/InvoiceItem.js +66 -0
  106. package/dist/models/InvoiceSummary.d.ts +98 -0
  107. package/dist/models/InvoiceSummary.js +90 -0
  108. package/dist/models/InvoiceTransaction.d.ts +74 -0
  109. package/dist/models/InvoiceTransaction.js +64 -0
  110. package/dist/models/ListInvoicesResponseContent.d.ts +40 -0
  111. package/dist/models/ListInvoicesResponseContent.js +56 -0
  112. package/dist/models/ListInvoicesResponseData.d.ts +39 -0
  113. package/dist/models/ListInvoicesResponseData.js +55 -0
  114. package/dist/models/NoVncConsoleDetails.d.ts +19 -1
  115. package/dist/models/NoVncConsoleDetails.js +7 -3
  116. package/dist/models/PasswordEncryptionInfo.d.ts +50 -0
  117. package/dist/models/PasswordEncryptionInfo.js +62 -0
  118. package/dist/models/SelcomMetadata.d.ts +56 -0
  119. package/dist/models/SelcomMetadata.js +66 -0
  120. package/dist/models/VpsCredentials.d.ts +1 -1
  121. package/dist/models/VpsDetailsResponse.d.ts +4 -3
  122. package/dist/models/VpsDetailsResponse.js +3 -2
  123. package/dist/models/VpsIpAddressDetail.d.ts +56 -0
  124. package/dist/models/VpsIpAddressDetail.js +58 -0
  125. package/dist/models/VpsVmInfo.d.ts +3 -3
  126. package/dist/models/index.d.ts +18 -0
  127. package/dist/models/index.js +18 -0
  128. package/dist/retryablePaths.js +3 -0
  129. package/dist.zip +0 -0
  130. package/docs/AddDnsRecordRequestContent.md +6 -0
  131. package/docs/BillingApi.md +159 -0
  132. package/docs/DNSApi.md +4 -4
  133. package/docs/DeleteDnsRecordRequestContent.md +6 -0
  134. package/docs/DnsBackend.md +33 -0
  135. package/docs/DnsRecordMutationRecord.md +1 -1
  136. package/docs/DnsZoneInfo.md +2 -0
  137. package/docs/EditDnsRecordRequestContent.md +6 -0
  138. package/docs/EncryptedPasswordResponseData.md +39 -0
  139. package/docs/GetDnsZoneDetailsRequestContent.md +2 -0
  140. package/docs/GetEncryptedPasswordRequestContent.md +36 -0
  141. package/docs/GetEncryptedPasswordResponseContent.md +36 -0
  142. package/docs/GetInvoiceDetailsRequestContent.md +34 -0
  143. package/docs/GetInvoiceDetailsResponseContent.md +36 -0
  144. package/docs/GetInvoiceDetailsResponseData.md +37 -0
  145. package/docs/InvoiceDetails.md +71 -0
  146. package/docs/InvoiceIssuedTo.md +47 -0
  147. package/docs/InvoiceIssuedToTax.md +39 -0
  148. package/docs/InvoiceItem.md +43 -0
  149. package/docs/InvoiceSummary.md +57 -0
  150. package/docs/InvoiceTransaction.md +49 -0
  151. package/docs/ListInvoicesResponseContent.md +36 -0
  152. package/docs/ListInvoicesResponseData.md +37 -0
  153. package/docs/NoVncConsoleDetails.md +6 -0
  154. package/docs/PasswordEncryptionInfo.md +41 -0
  155. package/docs/SelcomMetadata.md +43 -0
  156. package/docs/VPSManagementApi.md +81 -1
  157. package/docs/VpsDetailsResponse.md +1 -1
  158. package/docs/VpsIpAddressDetail.md +43 -0
  159. package/docs/VpsVmInfo.md +1 -1
  160. package/package.json +1 -1
  161. package/src/apis/BillingApi.ts +164 -0
  162. package/src/apis/DNSApi.ts +8 -8
  163. package/src/apis/VPSManagementApi.ts +67 -2
  164. package/src/apis/index.ts +1 -0
  165. package/src/models/AddDnsRecordRequestContent.ts +37 -5
  166. package/src/models/DeleteDnsRecordRequestContent.ts +37 -5
  167. package/src/models/DnsBackend.ts +56 -0
  168. package/src/models/DnsRecordMutationRecord.ts +3 -2
  169. package/src/models/DnsZoneInfo.ts +17 -0
  170. package/src/models/EditDnsRecordRequestContent.ts +37 -5
  171. package/src/models/EncryptedPasswordResponseData.ts +92 -0
  172. package/src/models/GetDnsZoneDetailsRequestContent.ts +18 -0
  173. package/src/models/GetEncryptedPasswordRequestContent.ts +75 -0
  174. package/src/models/GetEncryptedPasswordResponseContent.ts +92 -0
  175. package/src/models/GetInvoiceDetailsRequestContent.ts +66 -0
  176. package/src/models/GetInvoiceDetailsResponseContent.ts +92 -0
  177. package/src/models/GetInvoiceDetailsResponseData.ts +89 -0
  178. package/src/models/InvoiceDetails.ts +247 -0
  179. package/src/models/InvoiceIssuedTo.ts +127 -0
  180. package/src/models/InvoiceIssuedToTax.ts +84 -0
  181. package/src/models/InvoiceItem.ts +102 -0
  182. package/src/models/InvoiceSummary.ts +163 -0
  183. package/src/models/InvoiceTransaction.ts +122 -0
  184. package/src/models/ListInvoicesResponseContent.ts +92 -0
  185. package/src/models/ListInvoicesResponseData.ts +83 -0
  186. package/src/models/NoVncConsoleDetails.ts +26 -3
  187. package/src/models/PasswordEncryptionInfo.ts +93 -0
  188. package/src/models/SelcomMetadata.ts +102 -0
  189. package/src/models/VpsCredentials.ts +1 -1
  190. package/src/models/VpsDetailsResponse.ts +12 -5
  191. package/src/models/VpsIpAddressDetail.ts +98 -0
  192. package/src/models/VpsVmInfo.ts +3 -3
  193. package/src/models/index.ts +18 -0
  194. package/src/retryablePaths.ts +3 -0
@@ -0,0 +1,102 @@
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
+ * Selcom alt-gateway payment details included on an invoice when configured
18
+ * @export
19
+ * @interface SelcomMetadata
20
+ */
21
+ export interface SelcomMetadata {
22
+ /**
23
+ * Due amount formatted for display (e.g. "TZS 29,000.00"). Non-TZS amounts are converted using the WHMCS currency rate.
24
+ * @type {string}
25
+ * @memberof SelcomMetadata
26
+ */
27
+ amount: string;
28
+ /**
29
+ * Selcom Pesa account: 5-digit padded client id plus 6-digit padded invoice id
30
+ * @type {string}
31
+ * @memberof SelcomMetadata
32
+ */
33
+ pesaAccount: string;
34
+ /**
35
+ * Mobile payment reference: 61107370 plus the same padded client and invoice ids
36
+ * @type {string}
37
+ * @memberof SelcomMetadata
38
+ */
39
+ mobileReference: string;
40
+ /**
41
+ * USSD shortcode for Selcom (always *150*50*1#)
42
+ * @type {string}
43
+ * @memberof SelcomMetadata
44
+ */
45
+ ussdCode: string;
46
+ /**
47
+ * WHMCS Selcom alt-gateway instructions HTML with placeholders filled
48
+ * @type {string}
49
+ * @memberof SelcomMetadata
50
+ */
51
+ instructions: string;
52
+ }
53
+
54
+ /**
55
+ * Check if a given object implements the SelcomMetadata interface.
56
+ */
57
+ export function instanceOfSelcomMetadata(value: object): value is SelcomMetadata {
58
+ if (!('amount' in value) || value['amount'] === undefined) return false;
59
+ if (!('pesaAccount' in value) || value['pesaAccount'] === undefined) return false;
60
+ if (!('mobileReference' in value) || value['mobileReference'] === undefined) return false;
61
+ if (!('ussdCode' in value) || value['ussdCode'] === undefined) return false;
62
+ if (!('instructions' in value) || value['instructions'] === undefined) return false;
63
+ return true;
64
+ }
65
+
66
+ export function SelcomMetadataFromJSON(json: any): SelcomMetadata {
67
+ return SelcomMetadataFromJSONTyped(json, false);
68
+ }
69
+
70
+ export function SelcomMetadataFromJSONTyped(json: any, ignoreDiscriminator: boolean): SelcomMetadata {
71
+ if (json == null) {
72
+ return json;
73
+ }
74
+ return {
75
+
76
+ 'amount': json['amount'],
77
+ 'pesaAccount': json['pesa_account'],
78
+ 'mobileReference': json['mobile_reference'],
79
+ 'ussdCode': json['ussd_code'],
80
+ 'instructions': json['instructions'],
81
+ };
82
+ }
83
+
84
+ export function SelcomMetadataToJSON(json: any): SelcomMetadata {
85
+ return SelcomMetadataToJSONTyped(json, false);
86
+ }
87
+
88
+ export function SelcomMetadataToJSONTyped(value?: SelcomMetadata | null, ignoreDiscriminator: boolean = false): any {
89
+ if (value == null) {
90
+ return value;
91
+ }
92
+
93
+ return {
94
+
95
+ 'amount': value['amount'],
96
+ 'pesa_account': value['pesaAccount'],
97
+ 'mobile_reference': value['mobileReference'],
98
+ 'ussd_code': value['ussdCode'],
99
+ 'instructions': value['instructions'],
100
+ };
101
+ }
102
+
@@ -26,7 +26,7 @@ export interface VpsCredentials {
26
26
  */
27
27
  username: string;
28
28
  /**
29
- * Password for VPS access
29
+ * Password for VPS access. Always returned as "<redacted>" from get-details; plaintext passwords are never included in API responses.
30
30
  * @type {string}
31
31
  * @memberof VpsCredentials
32
32
  */
@@ -55,6 +55,13 @@ import {
55
55
  VpsNetworkRateToJSON,
56
56
  VpsNetworkRateToJSONTyped,
57
57
  } from './VpsNetworkRate.js';
58
+ import type { VpsIpAddressDetail } from './VpsIpAddressDetail.js';
59
+ import {
60
+ VpsIpAddressDetailFromJSON,
61
+ VpsIpAddressDetailFromJSONTyped,
62
+ VpsIpAddressDetailToJSON,
63
+ VpsIpAddressDetailToJSONTyped,
64
+ } from './VpsIpAddressDetail.js';
58
65
  import type { VpsMemoryInfo } from './VpsMemoryInfo.js';
59
66
  import {
60
67
  VpsMemoryInfoFromJSON,
@@ -113,11 +120,11 @@ export interface VpsDetailsResponse {
113
120
  */
114
121
  networkRate?: VpsNetworkRate;
115
122
  /**
116
- * List of IP addresses assigned to the VPS
117
- * @type {Array<string>}
123
+ * List of IP addresses assigned to the VPS, including subnet, gateway, and MAC
124
+ * @type {Array<VpsIpAddressDetail>}
118
125
  * @memberof VpsDetailsResponse
119
126
  */
120
- ipAddresses: Array<string>;
127
+ ipAddresses: Array<VpsIpAddressDetail>;
121
128
  /**
122
129
  *
123
130
  * @type {VpsCredentials}
@@ -169,7 +176,7 @@ export function VpsDetailsResponseFromJSONTyped(json: any, ignoreDiscriminator:
169
176
  'memory': VpsMemoryInfoFromJSON(json['memory']),
170
177
  'disk': VpsDiskInfoFromJSON(json['disk']),
171
178
  'networkRate': json['network_rate'] == null ? undefined : VpsNetworkRateFromJSON(json['network_rate']),
172
- 'ipAddresses': json['ip_addresses'],
179
+ 'ipAddresses': ((json['ip_addresses'] as Array<any>).map(VpsIpAddressDetailFromJSON)),
173
180
  'credentials': VpsCredentialsFromJSON(json['credentials']),
174
181
  'availableFeatures': VpsAvailableFeaturesFromJSON(json['available_features']),
175
182
  'osInfo': json['os_info'] == null ? undefined : VpsOsInfoFromJSON(json['os_info']),
@@ -193,7 +200,7 @@ export function VpsDetailsResponseToJSONTyped(value?: VpsDetailsResponse | null,
193
200
  'memory': VpsMemoryInfoToJSON(value['memory']),
194
201
  'disk': VpsDiskInfoToJSON(value['disk']),
195
202
  'network_rate': VpsNetworkRateToJSON(value['networkRate']),
196
- 'ip_addresses': value['ipAddresses'],
203
+ 'ip_addresses': ((value['ipAddresses'] as Array<any>).map(VpsIpAddressDetailToJSON)),
197
204
  'credentials': VpsCredentialsToJSON(value['credentials']),
198
205
  'available_features': VpsAvailableFeaturesToJSON(value['availableFeatures']),
199
206
  'os_info': VpsOsInfoToJSON(value['osInfo']),
@@ -0,0 +1,98 @@
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
+ * Detailed IP address assignment for a VPS
18
+ * @export
19
+ * @interface VpsIpAddressDetail
20
+ */
21
+ export interface VpsIpAddressDetail {
22
+ /**
23
+ * Primary IP address
24
+ * @type {string}
25
+ * @memberof VpsIpAddressDetail
26
+ */
27
+ ip: string;
28
+ /**
29
+ * IP address (may mirror ip)
30
+ * @type {string}
31
+ * @memberof VpsIpAddressDetail
32
+ */
33
+ address?: string;
34
+ /**
35
+ * Subnet mask
36
+ * @type {string}
37
+ * @memberof VpsIpAddressDetail
38
+ */
39
+ subnet?: string;
40
+ /**
41
+ * Gateway address
42
+ * @type {string}
43
+ * @memberof VpsIpAddressDetail
44
+ */
45
+ gateway?: string;
46
+ /**
47
+ * MAC address when available
48
+ * @type {string}
49
+ * @memberof VpsIpAddressDetail
50
+ */
51
+ mac?: string;
52
+ }
53
+
54
+ /**
55
+ * Check if a given object implements the VpsIpAddressDetail interface.
56
+ */
57
+ export function instanceOfVpsIpAddressDetail(value: object): value is VpsIpAddressDetail {
58
+ if (!('ip' in value) || value['ip'] === undefined) return false;
59
+ return true;
60
+ }
61
+
62
+ export function VpsIpAddressDetailFromJSON(json: any): VpsIpAddressDetail {
63
+ return VpsIpAddressDetailFromJSONTyped(json, false);
64
+ }
65
+
66
+ export function VpsIpAddressDetailFromJSONTyped(json: any, ignoreDiscriminator: boolean): VpsIpAddressDetail {
67
+ if (json == null) {
68
+ return json;
69
+ }
70
+ return {
71
+
72
+ 'ip': json['ip'],
73
+ 'address': json['address'] == null ? undefined : json['address'],
74
+ 'subnet': json['subnet'] == null ? undefined : json['subnet'],
75
+ 'gateway': json['gateway'] == null ? undefined : json['gateway'],
76
+ 'mac': json['mac'] == null ? undefined : json['mac'],
77
+ };
78
+ }
79
+
80
+ export function VpsIpAddressDetailToJSON(json: any): VpsIpAddressDetail {
81
+ return VpsIpAddressDetailToJSONTyped(json, false);
82
+ }
83
+
84
+ export function VpsIpAddressDetailToJSONTyped(value?: VpsIpAddressDetail | null, ignoreDiscriminator: boolean = false): any {
85
+ if (value == null) {
86
+ return value;
87
+ }
88
+
89
+ return {
90
+
91
+ 'ip': value['ip'],
92
+ 'address': value['address'],
93
+ 'subnet': value['subnet'],
94
+ 'gateway': value['gateway'],
95
+ 'mac': value['mac'],
96
+ };
97
+ }
98
+
@@ -44,11 +44,11 @@ export interface VpsVmInfo {
44
44
  */
45
45
  hostname?: string;
46
46
  /**
47
- * Boot devices configuration
48
- * @type {string}
47
+ * Boot devices configuration (e.g., scsi0, scsi1)
48
+ * @type {Array<string>}
49
49
  * @memberof VpsVmInfo
50
50
  */
51
- bootDevices?: string;
51
+ bootDevices?: Array<string>;
52
52
  /**
53
53
  * Proxmox VM ID
54
54
  * @type {string}
@@ -68,6 +68,7 @@ export * from './DeleteSnapshotJobRequestContent.js';
68
68
  export * from './DeleteSnapshotJobResponseContent.js';
69
69
  export * from './DeleteSnapshotRequestContent.js';
70
70
  export * from './DeleteSnapshotResponseContent.js';
71
+ export * from './DnsBackend.js';
71
72
  export * from './DnsCreateCandidateInfo.js';
72
73
  export * from './DnsRecordInfo.js';
73
74
  export * from './DnsRecordMutationData.js';
@@ -97,6 +98,7 @@ export * from './EditBackupScheduleRequestContent.js';
97
98
  export * from './EditBackupScheduleResponseContent.js';
98
99
  export * from './EditDnsRecordRequestContent.js';
99
100
  export * from './EditDnsRecordResponseContent.js';
101
+ export * from './EncryptedPasswordResponseData.js';
100
102
  export * from './FirewallListResponseData.js';
101
103
  export * from './FirewallMoveDirection.js';
102
104
  export * from './FirewallMoveResponseData.js';
@@ -116,6 +118,11 @@ export * from './GetDomainContactsResponseContent.js';
116
118
  export * from './GetDomainData.js';
117
119
  export * from './GetDomainRequestContent.js';
118
120
  export * from './GetDomainResponseContent.js';
121
+ export * from './GetEncryptedPasswordRequestContent.js';
122
+ export * from './GetEncryptedPasswordResponseContent.js';
123
+ export * from './GetInvoiceDetailsRequestContent.js';
124
+ export * from './GetInvoiceDetailsResponseContent.js';
125
+ export * from './GetInvoiceDetailsResponseData.js';
119
126
  export * from './GetNoVncConsoleRequestContent.js';
120
127
  export * from './GetNoVncConsoleResponseContent.js';
121
128
  export * from './GetVpsConfigRequestContent.js';
@@ -124,6 +131,12 @@ export * from './GetVpsDetailsRequestContent.js';
124
131
  export * from './GetVpsDetailsResponseContent.js';
125
132
  export * from './InternalServiceErrorResponseContent.js';
126
133
  export * from './InvalidStateErrorResponseContent.js';
134
+ export * from './InvoiceDetails.js';
135
+ export * from './InvoiceIssuedTo.js';
136
+ export * from './InvoiceIssuedToTax.js';
137
+ export * from './InvoiceItem.js';
138
+ export * from './InvoiceSummary.js';
139
+ export * from './InvoiceTransaction.js';
127
140
  export * from './ListBackupSchedulesRequestContent.js';
128
141
  export * from './ListBackupSchedulesResponseContent.js';
129
142
  export * from './ListBackupsRequestContent.js';
@@ -141,6 +154,8 @@ export * from './ListDomainsRequiringDataResponseContent.js';
141
154
  export * from './ListDomainsResponseContent.js';
142
155
  export * from './ListFirewallRulesRequestContent.js';
143
156
  export * from './ListFirewallRulesResponseContent.js';
157
+ export * from './ListInvoicesResponseContent.js';
158
+ export * from './ListInvoicesResponseData.js';
144
159
  export * from './ListIsosRequestContent.js';
145
160
  export * from './ListIsosResponseContent.js';
146
161
  export * from './ListIsosResponseData.js';
@@ -176,6 +191,7 @@ export * from './OperationStatus.js';
176
191
  export * from './Order.js';
177
192
  export * from './OrderLastAttempt.js';
178
193
  export * from './OrderWarning.js';
194
+ export * from './PasswordEncryptionInfo.js';
179
195
  export * from './PaymentError.js';
180
196
  export * from './PaymentStatus.js';
181
197
  export * from './PowerTask.js';
@@ -201,6 +217,7 @@ export * from './RollbackSnapshotResponseContent.js';
201
217
  export * from './SaveDomainRequiredDataData.js';
202
218
  export * from './SaveDomainRequiredDataRequestContent.js';
203
219
  export * from './SaveDomainRequiredDataResponseContent.js';
220
+ export * from './SelcomMetadata.js';
204
221
  export * from './ServiceBackupsResponseData.js';
205
222
  export * from './ServiceSnapshotsResponseData.js';
206
223
  export * from './ServiceUnavailableErrorResponseContent.js';
@@ -272,6 +289,7 @@ export * from './VpsCpuInfo.js';
272
289
  export * from './VpsCredentials.js';
273
290
  export * from './VpsDetailsResponse.js';
274
291
  export * from './VpsDiskInfo.js';
292
+ export * from './VpsIpAddressDetail.js';
275
293
  export * from './VpsMemoryInfo.js';
276
294
  export * from './VpsNetworkRate.js';
277
295
  export * from './VpsOsInfo.js';
@@ -7,6 +7,7 @@
7
7
  export const RETRYABLE_PATHS = new Set<string>([
8
8
  "/vps/list-vps-services",
9
9
  "/vps/get-details",
10
+ "/vps/get-encrypted-password",
10
11
  "/vps/get-config",
11
12
  "/vps/novnc-console",
12
13
  "/vps/list-backups",
@@ -21,6 +22,8 @@ export const RETRYABLE_PATHS = new Set<string>([
21
22
  "/vps/get-catalogue",
22
23
  "/vps/validate-pricing",
23
24
  "/vps/list-orders",
25
+ "/billing/list-invoices",
26
+ "/billing/get-invoice-details",
24
27
  "/dns/list-rdns-records",
25
28
  "/domain/check-availability",
26
29
  "/domain/suggest",