@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.
- package/dist/apis/BillingApi.d.ts +45 -0
- package/dist/apis/BillingApi.js +122 -0
- package/dist/apis/DNSApi.d.ts +8 -8
- package/dist/apis/DNSApi.js +8 -8
- package/dist/apis/VPSManagementApi.d.ts +18 -3
- package/dist/apis/VPSManagementApi.js +49 -2
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/BillingApi.d.ts +45 -0
- package/dist/esm/apis/BillingApi.js +118 -0
- package/dist/esm/apis/DNSApi.d.ts +8 -8
- package/dist/esm/apis/DNSApi.js +8 -8
- package/dist/esm/apis/VPSManagementApi.d.ts +18 -3
- package/dist/esm/apis/VPSManagementApi.js +50 -3
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/AddDnsRecordRequestContent.d.ts +22 -3
- package/dist/esm/models/AddDnsRecordRequestContent.js +8 -3
- package/dist/esm/models/DeleteDnsRecordRequestContent.d.ts +22 -3
- package/dist/esm/models/DeleteDnsRecordRequestContent.js +8 -3
- package/dist/esm/models/DnsBackend.d.ts +28 -0
- package/dist/esm/models/DnsBackend.js +46 -0
- package/dist/esm/models/DnsRecordMutationRecord.d.ts +3 -2
- package/dist/esm/models/DnsZoneInfo.d.ts +7 -0
- package/dist/esm/models/DnsZoneInfo.js +3 -0
- package/dist/esm/models/EditDnsRecordRequestContent.d.ts +22 -3
- package/dist/esm/models/EditDnsRecordRequestContent.js +8 -3
- package/dist/esm/models/EncryptedPasswordResponseData.d.ts +45 -0
- package/dist/esm/models/EncryptedPasswordResponseData.js +52 -0
- package/dist/esm/models/GetDnsZoneDetailsRequestContent.d.ts +7 -0
- package/dist/esm/models/GetDnsZoneDetailsRequestContent.js +3 -0
- package/dist/esm/models/GetEncryptedPasswordRequestContent.d.ts +38 -0
- package/dist/esm/models/GetEncryptedPasswordRequestContent.js +47 -0
- package/dist/esm/models/GetEncryptedPasswordResponseContent.d.ts +40 -0
- package/dist/esm/models/GetEncryptedPasswordResponseContent.js +49 -0
- package/dist/esm/models/GetInvoiceDetailsRequestContent.d.ts +32 -0
- package/dist/esm/models/GetInvoiceDetailsRequestContent.js +43 -0
- package/dist/esm/models/GetInvoiceDetailsResponseContent.d.ts +40 -0
- package/dist/esm/models/GetInvoiceDetailsResponseContent.js +49 -0
- package/dist/esm/models/GetInvoiceDetailsResponseData.d.ts +40 -0
- package/dist/esm/models/GetInvoiceDetailsResponseData.js +47 -0
- package/dist/esm/models/InvoiceDetails.d.ts +143 -0
- package/dist/esm/models/InvoiceDetails.js +112 -0
- package/dist/esm/models/InvoiceIssuedTo.d.ts +69 -0
- package/dist/esm/models/InvoiceIssuedTo.js +66 -0
- package/dist/esm/models/InvoiceIssuedToTax.d.ts +44 -0
- package/dist/esm/models/InvoiceIssuedToTax.js +51 -0
- package/dist/esm/models/InvoiceItem.d.ts +56 -0
- package/dist/esm/models/InvoiceItem.js +59 -0
- package/dist/esm/models/InvoiceSummary.d.ts +98 -0
- package/dist/esm/models/InvoiceSummary.js +83 -0
- package/dist/esm/models/InvoiceTransaction.d.ts +74 -0
- package/dist/esm/models/InvoiceTransaction.js +57 -0
- package/dist/esm/models/ListInvoicesResponseContent.d.ts +40 -0
- package/dist/esm/models/ListInvoicesResponseContent.js +49 -0
- package/dist/esm/models/ListInvoicesResponseData.d.ts +39 -0
- package/dist/esm/models/ListInvoicesResponseData.js +48 -0
- package/dist/esm/models/NoVncConsoleDetails.d.ts +19 -1
- package/dist/esm/models/NoVncConsoleDetails.js +7 -3
- package/dist/esm/models/PasswordEncryptionInfo.d.ts +50 -0
- package/dist/esm/models/PasswordEncryptionInfo.js +55 -0
- package/dist/esm/models/SelcomMetadata.d.ts +56 -0
- package/dist/esm/models/SelcomMetadata.js +59 -0
- package/dist/esm/models/VpsCredentials.d.ts +1 -1
- package/dist/esm/models/VpsDetailsResponse.d.ts +4 -3
- package/dist/esm/models/VpsDetailsResponse.js +3 -2
- package/dist/esm/models/VpsIpAddressDetail.d.ts +56 -0
- package/dist/esm/models/VpsIpAddressDetail.js +51 -0
- package/dist/esm/models/VpsVmInfo.d.ts +3 -3
- package/dist/esm/models/index.d.ts +18 -0
- package/dist/esm/models/index.js +18 -0
- package/dist/esm/retryablePaths.js +3 -0
- package/dist/models/AddDnsRecordRequestContent.d.ts +22 -3
- package/dist/models/AddDnsRecordRequestContent.js +8 -3
- package/dist/models/DeleteDnsRecordRequestContent.d.ts +22 -3
- package/dist/models/DeleteDnsRecordRequestContent.js +8 -3
- package/dist/models/DnsBackend.d.ts +28 -0
- package/dist/models/DnsBackend.js +54 -0
- package/dist/models/DnsRecordMutationRecord.d.ts +3 -2
- package/dist/models/DnsZoneInfo.d.ts +7 -0
- package/dist/models/DnsZoneInfo.js +3 -0
- package/dist/models/EditDnsRecordRequestContent.d.ts +22 -3
- package/dist/models/EditDnsRecordRequestContent.js +8 -3
- package/dist/models/EncryptedPasswordResponseData.d.ts +45 -0
- package/dist/models/EncryptedPasswordResponseData.js +59 -0
- package/dist/models/GetDnsZoneDetailsRequestContent.d.ts +7 -0
- package/dist/models/GetDnsZoneDetailsRequestContent.js +3 -0
- package/dist/models/GetEncryptedPasswordRequestContent.d.ts +38 -0
- package/dist/models/GetEncryptedPasswordRequestContent.js +54 -0
- package/dist/models/GetEncryptedPasswordResponseContent.d.ts +40 -0
- package/dist/models/GetEncryptedPasswordResponseContent.js +56 -0
- package/dist/models/GetInvoiceDetailsRequestContent.d.ts +32 -0
- package/dist/models/GetInvoiceDetailsRequestContent.js +50 -0
- package/dist/models/GetInvoiceDetailsResponseContent.d.ts +40 -0
- package/dist/models/GetInvoiceDetailsResponseContent.js +56 -0
- package/dist/models/GetInvoiceDetailsResponseData.d.ts +40 -0
- package/dist/models/GetInvoiceDetailsResponseData.js +54 -0
- package/dist/models/InvoiceDetails.d.ts +143 -0
- package/dist/models/InvoiceDetails.js +119 -0
- package/dist/models/InvoiceIssuedTo.d.ts +69 -0
- package/dist/models/InvoiceIssuedTo.js +73 -0
- package/dist/models/InvoiceIssuedToTax.d.ts +44 -0
- package/dist/models/InvoiceIssuedToTax.js +58 -0
- package/dist/models/InvoiceItem.d.ts +56 -0
- package/dist/models/InvoiceItem.js +66 -0
- package/dist/models/InvoiceSummary.d.ts +98 -0
- package/dist/models/InvoiceSummary.js +90 -0
- package/dist/models/InvoiceTransaction.d.ts +74 -0
- package/dist/models/InvoiceTransaction.js +64 -0
- package/dist/models/ListInvoicesResponseContent.d.ts +40 -0
- package/dist/models/ListInvoicesResponseContent.js +56 -0
- package/dist/models/ListInvoicesResponseData.d.ts +39 -0
- package/dist/models/ListInvoicesResponseData.js +55 -0
- package/dist/models/NoVncConsoleDetails.d.ts +19 -1
- package/dist/models/NoVncConsoleDetails.js +7 -3
- package/dist/models/PasswordEncryptionInfo.d.ts +50 -0
- package/dist/models/PasswordEncryptionInfo.js +62 -0
- package/dist/models/SelcomMetadata.d.ts +56 -0
- package/dist/models/SelcomMetadata.js +66 -0
- package/dist/models/VpsCredentials.d.ts +1 -1
- package/dist/models/VpsDetailsResponse.d.ts +4 -3
- package/dist/models/VpsDetailsResponse.js +3 -2
- package/dist/models/VpsIpAddressDetail.d.ts +56 -0
- package/dist/models/VpsIpAddressDetail.js +58 -0
- package/dist/models/VpsVmInfo.d.ts +3 -3
- package/dist/models/index.d.ts +18 -0
- package/dist/models/index.js +18 -0
- package/dist/retryablePaths.js +3 -0
- package/dist.zip +0 -0
- package/docs/AddDnsRecordRequestContent.md +6 -0
- package/docs/BillingApi.md +159 -0
- package/docs/DNSApi.md +4 -4
- package/docs/DeleteDnsRecordRequestContent.md +6 -0
- package/docs/DnsBackend.md +33 -0
- package/docs/DnsRecordMutationRecord.md +1 -1
- package/docs/DnsZoneInfo.md +2 -0
- package/docs/EditDnsRecordRequestContent.md +6 -0
- package/docs/EncryptedPasswordResponseData.md +39 -0
- package/docs/GetDnsZoneDetailsRequestContent.md +2 -0
- package/docs/GetEncryptedPasswordRequestContent.md +36 -0
- package/docs/GetEncryptedPasswordResponseContent.md +36 -0
- package/docs/GetInvoiceDetailsRequestContent.md +34 -0
- package/docs/GetInvoiceDetailsResponseContent.md +36 -0
- package/docs/GetInvoiceDetailsResponseData.md +37 -0
- package/docs/InvoiceDetails.md +71 -0
- package/docs/InvoiceIssuedTo.md +47 -0
- package/docs/InvoiceIssuedToTax.md +39 -0
- package/docs/InvoiceItem.md +43 -0
- package/docs/InvoiceSummary.md +57 -0
- package/docs/InvoiceTransaction.md +49 -0
- package/docs/ListInvoicesResponseContent.md +36 -0
- package/docs/ListInvoicesResponseData.md +37 -0
- package/docs/NoVncConsoleDetails.md +6 -0
- package/docs/PasswordEncryptionInfo.md +41 -0
- package/docs/SelcomMetadata.md +43 -0
- package/docs/VPSManagementApi.md +81 -1
- package/docs/VpsDetailsResponse.md +1 -1
- package/docs/VpsIpAddressDetail.md +43 -0
- package/docs/VpsVmInfo.md +1 -1
- package/package.json +1 -1
- package/src/apis/BillingApi.ts +164 -0
- package/src/apis/DNSApi.ts +8 -8
- package/src/apis/VPSManagementApi.ts +67 -2
- package/src/apis/index.ts +1 -0
- package/src/models/AddDnsRecordRequestContent.ts +37 -5
- package/src/models/DeleteDnsRecordRequestContent.ts +37 -5
- package/src/models/DnsBackend.ts +56 -0
- package/src/models/DnsRecordMutationRecord.ts +3 -2
- package/src/models/DnsZoneInfo.ts +17 -0
- package/src/models/EditDnsRecordRequestContent.ts +37 -5
- package/src/models/EncryptedPasswordResponseData.ts +92 -0
- package/src/models/GetDnsZoneDetailsRequestContent.ts +18 -0
- package/src/models/GetEncryptedPasswordRequestContent.ts +75 -0
- package/src/models/GetEncryptedPasswordResponseContent.ts +92 -0
- package/src/models/GetInvoiceDetailsRequestContent.ts +66 -0
- package/src/models/GetInvoiceDetailsResponseContent.ts +92 -0
- package/src/models/GetInvoiceDetailsResponseData.ts +89 -0
- package/src/models/InvoiceDetails.ts +247 -0
- package/src/models/InvoiceIssuedTo.ts +127 -0
- package/src/models/InvoiceIssuedToTax.ts +84 -0
- package/src/models/InvoiceItem.ts +102 -0
- package/src/models/InvoiceSummary.ts +163 -0
- package/src/models/InvoiceTransaction.ts +122 -0
- package/src/models/ListInvoicesResponseContent.ts +92 -0
- package/src/models/ListInvoicesResponseData.ts +83 -0
- package/src/models/NoVncConsoleDetails.ts +26 -3
- package/src/models/PasswordEncryptionInfo.ts +93 -0
- package/src/models/SelcomMetadata.ts +102 -0
- package/src/models/VpsCredentials.ts +1 -1
- package/src/models/VpsDetailsResponse.ts +12 -5
- package/src/models/VpsIpAddressDetail.ts +98 -0
- package/src/models/VpsVmInfo.ts +3 -3
- package/src/models/index.ts +18 -0
- package/src/retryablePaths.ts +3 -0
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* HostAfricaApi
|
|
6
|
+
* HostAfrica API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.1.0 - 2026-07-16
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfPasswordEncryptionInfo = instanceOfPasswordEncryptionInfo;
|
|
17
|
+
exports.PasswordEncryptionInfoFromJSON = PasswordEncryptionInfoFromJSON;
|
|
18
|
+
exports.PasswordEncryptionInfoFromJSONTyped = PasswordEncryptionInfoFromJSONTyped;
|
|
19
|
+
exports.PasswordEncryptionInfoToJSON = PasswordEncryptionInfoToJSON;
|
|
20
|
+
exports.PasswordEncryptionInfoToJSONTyped = PasswordEncryptionInfoToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the PasswordEncryptionInfo interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfPasswordEncryptionInfo(value) {
|
|
25
|
+
if (!('algorithm' in value) || value['algorithm'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('hash' in value) || value['hash'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('keySize' in value) || value['keySize'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('encoding' in value) || value['encoding'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function PasswordEncryptionInfoFromJSON(json) {
|
|
36
|
+
return PasswordEncryptionInfoFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function PasswordEncryptionInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'algorithm': json['algorithm'],
|
|
44
|
+
'hash': json['hash'],
|
|
45
|
+
'keySize': json['keySize'],
|
|
46
|
+
'encoding': json['encoding'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function PasswordEncryptionInfoToJSON(json) {
|
|
50
|
+
return PasswordEncryptionInfoToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function PasswordEncryptionInfoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'algorithm': value['algorithm'],
|
|
58
|
+
'hash': value['hash'],
|
|
59
|
+
'keySize': value['keySize'],
|
|
60
|
+
'encoding': value['encoding'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* HostAfricaApi
|
|
3
|
+
* HostAfrica API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.1.0 - 2026-07-16
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Selcom alt-gateway payment details included on an invoice when configured
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SelcomMetadata
|
|
16
|
+
*/
|
|
17
|
+
export interface SelcomMetadata {
|
|
18
|
+
/**
|
|
19
|
+
* Due amount formatted for display (e.g. "TZS 29,000.00"). Non-TZS amounts are converted using the WHMCS currency rate.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SelcomMetadata
|
|
22
|
+
*/
|
|
23
|
+
amount: string;
|
|
24
|
+
/**
|
|
25
|
+
* Selcom Pesa account: 5-digit padded client id plus 6-digit padded invoice id
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SelcomMetadata
|
|
28
|
+
*/
|
|
29
|
+
pesaAccount: string;
|
|
30
|
+
/**
|
|
31
|
+
* Mobile payment reference: 61107370 plus the same padded client and invoice ids
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SelcomMetadata
|
|
34
|
+
*/
|
|
35
|
+
mobileReference: string;
|
|
36
|
+
/**
|
|
37
|
+
* USSD shortcode for Selcom (always *150*50*1#)
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof SelcomMetadata
|
|
40
|
+
*/
|
|
41
|
+
ussdCode: string;
|
|
42
|
+
/**
|
|
43
|
+
* WHMCS Selcom alt-gateway instructions HTML with placeholders filled
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof SelcomMetadata
|
|
46
|
+
*/
|
|
47
|
+
instructions: string;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the SelcomMetadata interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfSelcomMetadata(value: object): value is SelcomMetadata;
|
|
53
|
+
export declare function SelcomMetadataFromJSON(json: any): SelcomMetadata;
|
|
54
|
+
export declare function SelcomMetadataFromJSONTyped(json: any, ignoreDiscriminator: boolean): SelcomMetadata;
|
|
55
|
+
export declare function SelcomMetadataToJSON(json: any): SelcomMetadata;
|
|
56
|
+
export declare function SelcomMetadataToJSONTyped(value?: SelcomMetadata | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* HostAfricaApi
|
|
6
|
+
* HostAfrica API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.1.0 - 2026-07-16
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfSelcomMetadata = instanceOfSelcomMetadata;
|
|
17
|
+
exports.SelcomMetadataFromJSON = SelcomMetadataFromJSON;
|
|
18
|
+
exports.SelcomMetadataFromJSONTyped = SelcomMetadataFromJSONTyped;
|
|
19
|
+
exports.SelcomMetadataToJSON = SelcomMetadataToJSON;
|
|
20
|
+
exports.SelcomMetadataToJSONTyped = SelcomMetadataToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the SelcomMetadata interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfSelcomMetadata(value) {
|
|
25
|
+
if (!('amount' in value) || value['amount'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('pesaAccount' in value) || value['pesaAccount'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('mobileReference' in value) || value['mobileReference'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('ussdCode' in value) || value['ussdCode'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('instructions' in value) || value['instructions'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
function SelcomMetadataFromJSON(json) {
|
|
38
|
+
return SelcomMetadataFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
function SelcomMetadataFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
if (json == null) {
|
|
42
|
+
return json;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'amount': json['amount'],
|
|
46
|
+
'pesaAccount': json['pesa_account'],
|
|
47
|
+
'mobileReference': json['mobile_reference'],
|
|
48
|
+
'ussdCode': json['ussd_code'],
|
|
49
|
+
'instructions': json['instructions'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
function SelcomMetadataToJSON(json) {
|
|
53
|
+
return SelcomMetadataToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function SelcomMetadataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'amount': value['amount'],
|
|
61
|
+
'pesa_account': value['pesaAccount'],
|
|
62
|
+
'mobile_reference': value['mobileReference'],
|
|
63
|
+
'ussd_code': value['ussdCode'],
|
|
64
|
+
'instructions': value['instructions'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
@@ -22,7 +22,7 @@ export interface VpsCredentials {
|
|
|
22
22
|
*/
|
|
23
23
|
username: string;
|
|
24
24
|
/**
|
|
25
|
-
* Password for VPS access
|
|
25
|
+
* Password for VPS access. Always returned as "<redacted>" from get-details; plaintext passwords are never included in API responses.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof VpsCredentials
|
|
28
28
|
*/
|
|
@@ -15,6 +15,7 @@ import type { VpsCredentials } from './VpsCredentials.js';
|
|
|
15
15
|
import type { VpsOsInfo } from './VpsOsInfo.js';
|
|
16
16
|
import type { VpsCpuInfo } from './VpsCpuInfo.js';
|
|
17
17
|
import type { VpsNetworkRate } from './VpsNetworkRate.js';
|
|
18
|
+
import type { VpsIpAddressDetail } from './VpsIpAddressDetail.js';
|
|
18
19
|
import type { VpsMemoryInfo } from './VpsMemoryInfo.js';
|
|
19
20
|
import type { VpsVmInfo } from './VpsVmInfo.js';
|
|
20
21
|
/**
|
|
@@ -60,11 +61,11 @@ export interface VpsDetailsResponse {
|
|
|
60
61
|
*/
|
|
61
62
|
networkRate?: VpsNetworkRate;
|
|
62
63
|
/**
|
|
63
|
-
* List of IP addresses assigned to the VPS
|
|
64
|
-
* @type {Array<
|
|
64
|
+
* List of IP addresses assigned to the VPS, including subnet, gateway, and MAC
|
|
65
|
+
* @type {Array<VpsIpAddressDetail>}
|
|
65
66
|
* @memberof VpsDetailsResponse
|
|
66
67
|
*/
|
|
67
|
-
ipAddresses: Array<
|
|
68
|
+
ipAddresses: Array<VpsIpAddressDetail>;
|
|
68
69
|
/**
|
|
69
70
|
*
|
|
70
71
|
* @type {VpsCredentials}
|
|
@@ -24,6 +24,7 @@ const VpsCredentials_js_1 = require("./VpsCredentials.js");
|
|
|
24
24
|
const VpsOsInfo_js_1 = require("./VpsOsInfo.js");
|
|
25
25
|
const VpsCpuInfo_js_1 = require("./VpsCpuInfo.js");
|
|
26
26
|
const VpsNetworkRate_js_1 = require("./VpsNetworkRate.js");
|
|
27
|
+
const VpsIpAddressDetail_js_1 = require("./VpsIpAddressDetail.js");
|
|
27
28
|
const VpsMemoryInfo_js_1 = require("./VpsMemoryInfo.js");
|
|
28
29
|
const VpsVmInfo_js_1 = require("./VpsVmInfo.js");
|
|
29
30
|
/**
|
|
@@ -62,7 +63,7 @@ function VpsDetailsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
62
63
|
'memory': (0, VpsMemoryInfo_js_1.VpsMemoryInfoFromJSON)(json['memory']),
|
|
63
64
|
'disk': (0, VpsDiskInfo_js_1.VpsDiskInfoFromJSON)(json['disk']),
|
|
64
65
|
'networkRate': json['network_rate'] == null ? undefined : (0, VpsNetworkRate_js_1.VpsNetworkRateFromJSON)(json['network_rate']),
|
|
65
|
-
'ipAddresses': json['ip_addresses'],
|
|
66
|
+
'ipAddresses': (json['ip_addresses'].map(VpsIpAddressDetail_js_1.VpsIpAddressDetailFromJSON)),
|
|
66
67
|
'credentials': (0, VpsCredentials_js_1.VpsCredentialsFromJSON)(json['credentials']),
|
|
67
68
|
'availableFeatures': (0, VpsAvailableFeatures_js_1.VpsAvailableFeaturesFromJSON)(json['available_features']),
|
|
68
69
|
'osInfo': json['os_info'] == null ? undefined : (0, VpsOsInfo_js_1.VpsOsInfoFromJSON)(json['os_info']),
|
|
@@ -82,7 +83,7 @@ function VpsDetailsResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
82
83
|
'memory': (0, VpsMemoryInfo_js_1.VpsMemoryInfoToJSON)(value['memory']),
|
|
83
84
|
'disk': (0, VpsDiskInfo_js_1.VpsDiskInfoToJSON)(value['disk']),
|
|
84
85
|
'network_rate': (0, VpsNetworkRate_js_1.VpsNetworkRateToJSON)(value['networkRate']),
|
|
85
|
-
'ip_addresses': value['ipAddresses'],
|
|
86
|
+
'ip_addresses': (value['ipAddresses'].map(VpsIpAddressDetail_js_1.VpsIpAddressDetailToJSON)),
|
|
86
87
|
'credentials': (0, VpsCredentials_js_1.VpsCredentialsToJSON)(value['credentials']),
|
|
87
88
|
'available_features': (0, VpsAvailableFeatures_js_1.VpsAvailableFeaturesToJSON)(value['availableFeatures']),
|
|
88
89
|
'os_info': (0, VpsOsInfo_js_1.VpsOsInfoToJSON)(value['osInfo']),
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* HostAfricaApi
|
|
3
|
+
* HostAfrica API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.1.0 - 2026-07-16
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Detailed IP address assignment for a VPS
|
|
14
|
+
* @export
|
|
15
|
+
* @interface VpsIpAddressDetail
|
|
16
|
+
*/
|
|
17
|
+
export interface VpsIpAddressDetail {
|
|
18
|
+
/**
|
|
19
|
+
* Primary IP address
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof VpsIpAddressDetail
|
|
22
|
+
*/
|
|
23
|
+
ip: string;
|
|
24
|
+
/**
|
|
25
|
+
* IP address (may mirror ip)
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof VpsIpAddressDetail
|
|
28
|
+
*/
|
|
29
|
+
address?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Subnet mask
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof VpsIpAddressDetail
|
|
34
|
+
*/
|
|
35
|
+
subnet?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Gateway address
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof VpsIpAddressDetail
|
|
40
|
+
*/
|
|
41
|
+
gateway?: string;
|
|
42
|
+
/**
|
|
43
|
+
* MAC address when available
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof VpsIpAddressDetail
|
|
46
|
+
*/
|
|
47
|
+
mac?: string;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the VpsIpAddressDetail interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfVpsIpAddressDetail(value: object): value is VpsIpAddressDetail;
|
|
53
|
+
export declare function VpsIpAddressDetailFromJSON(json: any): VpsIpAddressDetail;
|
|
54
|
+
export declare function VpsIpAddressDetailFromJSONTyped(json: any, ignoreDiscriminator: boolean): VpsIpAddressDetail;
|
|
55
|
+
export declare function VpsIpAddressDetailToJSON(json: any): VpsIpAddressDetail;
|
|
56
|
+
export declare function VpsIpAddressDetailToJSONTyped(value?: VpsIpAddressDetail | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* HostAfricaApi
|
|
6
|
+
* HostAfrica API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.1.0 - 2026-07-16
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfVpsIpAddressDetail = instanceOfVpsIpAddressDetail;
|
|
17
|
+
exports.VpsIpAddressDetailFromJSON = VpsIpAddressDetailFromJSON;
|
|
18
|
+
exports.VpsIpAddressDetailFromJSONTyped = VpsIpAddressDetailFromJSONTyped;
|
|
19
|
+
exports.VpsIpAddressDetailToJSON = VpsIpAddressDetailToJSON;
|
|
20
|
+
exports.VpsIpAddressDetailToJSONTyped = VpsIpAddressDetailToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the VpsIpAddressDetail interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfVpsIpAddressDetail(value) {
|
|
25
|
+
if (!('ip' in value) || value['ip'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function VpsIpAddressDetailFromJSON(json) {
|
|
30
|
+
return VpsIpAddressDetailFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function VpsIpAddressDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'ip': json['ip'],
|
|
38
|
+
'address': json['address'] == null ? undefined : json['address'],
|
|
39
|
+
'subnet': json['subnet'] == null ? undefined : json['subnet'],
|
|
40
|
+
'gateway': json['gateway'] == null ? undefined : json['gateway'],
|
|
41
|
+
'mac': json['mac'] == null ? undefined : json['mac'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function VpsIpAddressDetailToJSON(json) {
|
|
45
|
+
return VpsIpAddressDetailToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function VpsIpAddressDetailToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'ip': value['ip'],
|
|
53
|
+
'address': value['address'],
|
|
54
|
+
'subnet': value['subnet'],
|
|
55
|
+
'gateway': value['gateway'],
|
|
56
|
+
'mac': value['mac'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -40,11 +40,11 @@ export interface VpsVmInfo {
|
|
|
40
40
|
*/
|
|
41
41
|
hostname?: string;
|
|
42
42
|
/**
|
|
43
|
-
* Boot devices configuration
|
|
44
|
-
* @type {string}
|
|
43
|
+
* Boot devices configuration (e.g., scsi0, scsi1)
|
|
44
|
+
* @type {Array<string>}
|
|
45
45
|
* @memberof VpsVmInfo
|
|
46
46
|
*/
|
|
47
|
-
bootDevices?: string
|
|
47
|
+
bootDevices?: Array<string>;
|
|
48
48
|
/**
|
|
49
49
|
* Proxmox VM ID
|
|
50
50
|
* @type {string}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -66,6 +66,7 @@ export * from './DeleteSnapshotJobRequestContent.js';
|
|
|
66
66
|
export * from './DeleteSnapshotJobResponseContent.js';
|
|
67
67
|
export * from './DeleteSnapshotRequestContent.js';
|
|
68
68
|
export * from './DeleteSnapshotResponseContent.js';
|
|
69
|
+
export * from './DnsBackend.js';
|
|
69
70
|
export * from './DnsCreateCandidateInfo.js';
|
|
70
71
|
export * from './DnsRecordInfo.js';
|
|
71
72
|
export * from './DnsRecordMutationData.js';
|
|
@@ -95,6 +96,7 @@ export * from './EditBackupScheduleRequestContent.js';
|
|
|
95
96
|
export * from './EditBackupScheduleResponseContent.js';
|
|
96
97
|
export * from './EditDnsRecordRequestContent.js';
|
|
97
98
|
export * from './EditDnsRecordResponseContent.js';
|
|
99
|
+
export * from './EncryptedPasswordResponseData.js';
|
|
98
100
|
export * from './FirewallListResponseData.js';
|
|
99
101
|
export * from './FirewallMoveDirection.js';
|
|
100
102
|
export * from './FirewallMoveResponseData.js';
|
|
@@ -114,6 +116,11 @@ export * from './GetDomainContactsResponseContent.js';
|
|
|
114
116
|
export * from './GetDomainData.js';
|
|
115
117
|
export * from './GetDomainRequestContent.js';
|
|
116
118
|
export * from './GetDomainResponseContent.js';
|
|
119
|
+
export * from './GetEncryptedPasswordRequestContent.js';
|
|
120
|
+
export * from './GetEncryptedPasswordResponseContent.js';
|
|
121
|
+
export * from './GetInvoiceDetailsRequestContent.js';
|
|
122
|
+
export * from './GetInvoiceDetailsResponseContent.js';
|
|
123
|
+
export * from './GetInvoiceDetailsResponseData.js';
|
|
117
124
|
export * from './GetNoVncConsoleRequestContent.js';
|
|
118
125
|
export * from './GetNoVncConsoleResponseContent.js';
|
|
119
126
|
export * from './GetVpsConfigRequestContent.js';
|
|
@@ -122,6 +129,12 @@ export * from './GetVpsDetailsRequestContent.js';
|
|
|
122
129
|
export * from './GetVpsDetailsResponseContent.js';
|
|
123
130
|
export * from './InternalServiceErrorResponseContent.js';
|
|
124
131
|
export * from './InvalidStateErrorResponseContent.js';
|
|
132
|
+
export * from './InvoiceDetails.js';
|
|
133
|
+
export * from './InvoiceIssuedTo.js';
|
|
134
|
+
export * from './InvoiceIssuedToTax.js';
|
|
135
|
+
export * from './InvoiceItem.js';
|
|
136
|
+
export * from './InvoiceSummary.js';
|
|
137
|
+
export * from './InvoiceTransaction.js';
|
|
125
138
|
export * from './ListBackupSchedulesRequestContent.js';
|
|
126
139
|
export * from './ListBackupSchedulesResponseContent.js';
|
|
127
140
|
export * from './ListBackupsRequestContent.js';
|
|
@@ -139,6 +152,8 @@ export * from './ListDomainsRequiringDataResponseContent.js';
|
|
|
139
152
|
export * from './ListDomainsResponseContent.js';
|
|
140
153
|
export * from './ListFirewallRulesRequestContent.js';
|
|
141
154
|
export * from './ListFirewallRulesResponseContent.js';
|
|
155
|
+
export * from './ListInvoicesResponseContent.js';
|
|
156
|
+
export * from './ListInvoicesResponseData.js';
|
|
142
157
|
export * from './ListIsosRequestContent.js';
|
|
143
158
|
export * from './ListIsosResponseContent.js';
|
|
144
159
|
export * from './ListIsosResponseData.js';
|
|
@@ -174,6 +189,7 @@ export * from './OperationStatus.js';
|
|
|
174
189
|
export * from './Order.js';
|
|
175
190
|
export * from './OrderLastAttempt.js';
|
|
176
191
|
export * from './OrderWarning.js';
|
|
192
|
+
export * from './PasswordEncryptionInfo.js';
|
|
177
193
|
export * from './PaymentError.js';
|
|
178
194
|
export * from './PaymentStatus.js';
|
|
179
195
|
export * from './PowerTask.js';
|
|
@@ -199,6 +215,7 @@ export * from './RollbackSnapshotResponseContent.js';
|
|
|
199
215
|
export * from './SaveDomainRequiredDataData.js';
|
|
200
216
|
export * from './SaveDomainRequiredDataRequestContent.js';
|
|
201
217
|
export * from './SaveDomainRequiredDataResponseContent.js';
|
|
218
|
+
export * from './SelcomMetadata.js';
|
|
202
219
|
export * from './ServiceBackupsResponseData.js';
|
|
203
220
|
export * from './ServiceSnapshotsResponseData.js';
|
|
204
221
|
export * from './ServiceUnavailableErrorResponseContent.js';
|
|
@@ -270,6 +287,7 @@ export * from './VpsCpuInfo.js';
|
|
|
270
287
|
export * from './VpsCredentials.js';
|
|
271
288
|
export * from './VpsDetailsResponse.js';
|
|
272
289
|
export * from './VpsDiskInfo.js';
|
|
290
|
+
export * from './VpsIpAddressDetail.js';
|
|
273
291
|
export * from './VpsMemoryInfo.js';
|
|
274
292
|
export * from './VpsNetworkRate.js';
|
|
275
293
|
export * from './VpsOsInfo.js';
|
package/dist/models/index.js
CHANGED
|
@@ -84,6 +84,7 @@ __exportStar(require("./DeleteSnapshotJobRequestContent.js"), exports);
|
|
|
84
84
|
__exportStar(require("./DeleteSnapshotJobResponseContent.js"), exports);
|
|
85
85
|
__exportStar(require("./DeleteSnapshotRequestContent.js"), exports);
|
|
86
86
|
__exportStar(require("./DeleteSnapshotResponseContent.js"), exports);
|
|
87
|
+
__exportStar(require("./DnsBackend.js"), exports);
|
|
87
88
|
__exportStar(require("./DnsCreateCandidateInfo.js"), exports);
|
|
88
89
|
__exportStar(require("./DnsRecordInfo.js"), exports);
|
|
89
90
|
__exportStar(require("./DnsRecordMutationData.js"), exports);
|
|
@@ -113,6 +114,7 @@ __exportStar(require("./EditBackupScheduleRequestContent.js"), exports);
|
|
|
113
114
|
__exportStar(require("./EditBackupScheduleResponseContent.js"), exports);
|
|
114
115
|
__exportStar(require("./EditDnsRecordRequestContent.js"), exports);
|
|
115
116
|
__exportStar(require("./EditDnsRecordResponseContent.js"), exports);
|
|
117
|
+
__exportStar(require("./EncryptedPasswordResponseData.js"), exports);
|
|
116
118
|
__exportStar(require("./FirewallListResponseData.js"), exports);
|
|
117
119
|
__exportStar(require("./FirewallMoveDirection.js"), exports);
|
|
118
120
|
__exportStar(require("./FirewallMoveResponseData.js"), exports);
|
|
@@ -132,6 +134,11 @@ __exportStar(require("./GetDomainContactsResponseContent.js"), exports);
|
|
|
132
134
|
__exportStar(require("./GetDomainData.js"), exports);
|
|
133
135
|
__exportStar(require("./GetDomainRequestContent.js"), exports);
|
|
134
136
|
__exportStar(require("./GetDomainResponseContent.js"), exports);
|
|
137
|
+
__exportStar(require("./GetEncryptedPasswordRequestContent.js"), exports);
|
|
138
|
+
__exportStar(require("./GetEncryptedPasswordResponseContent.js"), exports);
|
|
139
|
+
__exportStar(require("./GetInvoiceDetailsRequestContent.js"), exports);
|
|
140
|
+
__exportStar(require("./GetInvoiceDetailsResponseContent.js"), exports);
|
|
141
|
+
__exportStar(require("./GetInvoiceDetailsResponseData.js"), exports);
|
|
135
142
|
__exportStar(require("./GetNoVncConsoleRequestContent.js"), exports);
|
|
136
143
|
__exportStar(require("./GetNoVncConsoleResponseContent.js"), exports);
|
|
137
144
|
__exportStar(require("./GetVpsConfigRequestContent.js"), exports);
|
|
@@ -140,6 +147,12 @@ __exportStar(require("./GetVpsDetailsRequestContent.js"), exports);
|
|
|
140
147
|
__exportStar(require("./GetVpsDetailsResponseContent.js"), exports);
|
|
141
148
|
__exportStar(require("./InternalServiceErrorResponseContent.js"), exports);
|
|
142
149
|
__exportStar(require("./InvalidStateErrorResponseContent.js"), exports);
|
|
150
|
+
__exportStar(require("./InvoiceDetails.js"), exports);
|
|
151
|
+
__exportStar(require("./InvoiceIssuedTo.js"), exports);
|
|
152
|
+
__exportStar(require("./InvoiceIssuedToTax.js"), exports);
|
|
153
|
+
__exportStar(require("./InvoiceItem.js"), exports);
|
|
154
|
+
__exportStar(require("./InvoiceSummary.js"), exports);
|
|
155
|
+
__exportStar(require("./InvoiceTransaction.js"), exports);
|
|
143
156
|
__exportStar(require("./ListBackupSchedulesRequestContent.js"), exports);
|
|
144
157
|
__exportStar(require("./ListBackupSchedulesResponseContent.js"), exports);
|
|
145
158
|
__exportStar(require("./ListBackupsRequestContent.js"), exports);
|
|
@@ -157,6 +170,8 @@ __exportStar(require("./ListDomainsRequiringDataResponseContent.js"), exports);
|
|
|
157
170
|
__exportStar(require("./ListDomainsResponseContent.js"), exports);
|
|
158
171
|
__exportStar(require("./ListFirewallRulesRequestContent.js"), exports);
|
|
159
172
|
__exportStar(require("./ListFirewallRulesResponseContent.js"), exports);
|
|
173
|
+
__exportStar(require("./ListInvoicesResponseContent.js"), exports);
|
|
174
|
+
__exportStar(require("./ListInvoicesResponseData.js"), exports);
|
|
160
175
|
__exportStar(require("./ListIsosRequestContent.js"), exports);
|
|
161
176
|
__exportStar(require("./ListIsosResponseContent.js"), exports);
|
|
162
177
|
__exportStar(require("./ListIsosResponseData.js"), exports);
|
|
@@ -192,6 +207,7 @@ __exportStar(require("./OperationStatus.js"), exports);
|
|
|
192
207
|
__exportStar(require("./Order.js"), exports);
|
|
193
208
|
__exportStar(require("./OrderLastAttempt.js"), exports);
|
|
194
209
|
__exportStar(require("./OrderWarning.js"), exports);
|
|
210
|
+
__exportStar(require("./PasswordEncryptionInfo.js"), exports);
|
|
195
211
|
__exportStar(require("./PaymentError.js"), exports);
|
|
196
212
|
__exportStar(require("./PaymentStatus.js"), exports);
|
|
197
213
|
__exportStar(require("./PowerTask.js"), exports);
|
|
@@ -217,6 +233,7 @@ __exportStar(require("./RollbackSnapshotResponseContent.js"), exports);
|
|
|
217
233
|
__exportStar(require("./SaveDomainRequiredDataData.js"), exports);
|
|
218
234
|
__exportStar(require("./SaveDomainRequiredDataRequestContent.js"), exports);
|
|
219
235
|
__exportStar(require("./SaveDomainRequiredDataResponseContent.js"), exports);
|
|
236
|
+
__exportStar(require("./SelcomMetadata.js"), exports);
|
|
220
237
|
__exportStar(require("./ServiceBackupsResponseData.js"), exports);
|
|
221
238
|
__exportStar(require("./ServiceSnapshotsResponseData.js"), exports);
|
|
222
239
|
__exportStar(require("./ServiceUnavailableErrorResponseContent.js"), exports);
|
|
@@ -288,6 +305,7 @@ __exportStar(require("./VpsCpuInfo.js"), exports);
|
|
|
288
305
|
__exportStar(require("./VpsCredentials.js"), exports);
|
|
289
306
|
__exportStar(require("./VpsDetailsResponse.js"), exports);
|
|
290
307
|
__exportStar(require("./VpsDiskInfo.js"), exports);
|
|
308
|
+
__exportStar(require("./VpsIpAddressDetail.js"), exports);
|
|
291
309
|
__exportStar(require("./VpsMemoryInfo.js"), exports);
|
|
292
310
|
__exportStar(require("./VpsNetworkRate.js"), exports);
|
|
293
311
|
__exportStar(require("./VpsOsInfo.js"), exports);
|
package/dist/retryablePaths.js
CHANGED
|
@@ -9,6 +9,7 @@ exports.RETRYABLE_PATHS = void 0;
|
|
|
9
9
|
exports.RETRYABLE_PATHS = new Set([
|
|
10
10
|
"/vps/list-vps-services",
|
|
11
11
|
"/vps/get-details",
|
|
12
|
+
"/vps/get-encrypted-password",
|
|
12
13
|
"/vps/get-config",
|
|
13
14
|
"/vps/novnc-console",
|
|
14
15
|
"/vps/list-backups",
|
|
@@ -23,6 +24,8 @@ exports.RETRYABLE_PATHS = new Set([
|
|
|
23
24
|
"/vps/get-catalogue",
|
|
24
25
|
"/vps/validate-pricing",
|
|
25
26
|
"/vps/list-orders",
|
|
27
|
+
"/billing/list-invoices",
|
|
28
|
+
"/billing/get-invoice-details",
|
|
26
29
|
"/dns/list-rdns-records",
|
|
27
30
|
"/domain/check-availability",
|
|
28
31
|
"/domain/suggest",
|
package/dist.zip
CHANGED
|
Binary file
|
|
@@ -8,6 +8,9 @@ Name | Type
|
|
|
8
8
|
------------ | -------------
|
|
9
9
|
`domainName` | string
|
|
10
10
|
`zoneId` | string
|
|
11
|
+
`domainId` | string
|
|
12
|
+
`serviceId` | number
|
|
13
|
+
`backend` | [DnsBackend](DnsBackend.md)
|
|
11
14
|
`record` | [DnsRecordMutationRecord](DnsRecordMutationRecord.md)
|
|
12
15
|
|
|
13
16
|
## Example
|
|
@@ -19,6 +22,9 @@ import type { AddDnsRecordRequestContent } from '@hostafrica/ha-sdk-typescript'
|
|
|
19
22
|
const example = {
|
|
20
23
|
"domainName": null,
|
|
21
24
|
"zoneId": null,
|
|
25
|
+
"domainId": null,
|
|
26
|
+
"serviceId": null,
|
|
27
|
+
"backend": null,
|
|
22
28
|
"record": null,
|
|
23
29
|
} satisfies AddDnsRecordRequestContent
|
|
24
30
|
|